- Mar 2019
-
ia801306.us.archive.org ia801306.us.archive.org
-
the uttering of the sentence is, or is a part of, the doing of an action, which again would not normally be described as saying something
The action is performed with the uttering of the sentence.
-
Yet they will succumb to their own timorous fiction, that a statement of 'the law' is a statemknt of fact.
When in doubt, defer to authority.
-
disguise'
Is the disguise applied moreso by the reader's bias than the author's intent?
-
parti pris
pre-conceived view or bias
-
Whatever we may think of any particular one of these views and suggestions, and however much we may deplore the initial confusion into which philosophical doctrine and method have been plunged, it cannot be doubted that they are producing a revolution in philosophy.
Makes me think of a generation set in its ways butting up against a younger "less respectful" generation that is "doing it all wrong"; i.e. generational divide between viewpoints; some may think a revolution hardly necessary, that it is fine the way it is and that they are simply being disruptive.
-
Constative'
"denoting a speech act or sentence that is a statement declaring something to be the case"
-
It has come to be seen that many specially perplexing words embedded in apparently descriptive statements do not serve to indi- cate some specially odd additional feature in the reality reported, but to indicate (not to report) the circumstances in which the statement is made or reservations to which it is subject or the way in which it is to be taken and the like.
Qualifying / conditional factors?
-
We very often also use utterances in ways beyond the scope at least of traditional grammar.
And how does the reader know exactly, and to what extent, the boundaries of a definition are being pushed by the use of a word which they think they are familiar with?
-
For how do we decide which is which? What are the limits and definitions of each ?
There is an unaddressed problem which hinders clear communication; there is no standard criteria for the establishment of intent in communication. (Doubt that's what the ultimate argument is, but seems to be the set-up)
-
It is, of course, not reaw correct that a sentence ever is a statement: rather, it is used in making a smmt, and the statement itself' is a 'logical construction' out of the dings of satements.
A sentence remains a sentence; it is just a tool or vehicle for the delivery of something which depends entirely on its configuration.
-
It was for too long the assumption of philosophers that the business of a 'statement' can only be to 'describe' some state of affairs, or to 'state some fact', which it must do either truly or falsely.
The utility of the vehicle used to distinguish truth from falsehood itself rests on an assumption; purports that there is or maybe ought to be a 'purpose' to a statement.
-
discussed
Makes it feel inclusive; a conversation.
-
- Jan 2019
-
blog.acolyer.org blog.acolyer.org
-
For large-scale software systems, Van Roy believes we need to embrace a self-sufficient style of system design in which systems become self-configuring, healing, adapting, etc.. The system has components as first class entities (specified by closures), that can be manipulated through higher-order programming. Components communicate through message-passing. Named state and transactions support system configuration and maintenance. On top of this, the system itself should be designed as a set of interlocking feedback loops.
This is aimed at System Design, from a distributed systems perspective.
-
-
inclusive-components.design inclusive-components.design
-
junit.org junit.org
-
2. Installation
Tags
Annotators
URL
-
-
developers.google.com developers.google.com
-
kenrockwell.com kenrockwell.com
-
Get the Nikon 16-35mm, which is Nikon's sharpest ultrawide ever.
Simple, to the point. I like it!
-
- Nov 2018
-
www.newyorker.com www.newyorker.com
-
Writing is selection. Just to start a piece of writing you have to choose one word and only one from more than a million in the language. Now keep going. What is your next word? Your next sentence, paragraph, section, chapter? Your next ball of fact. You select what goes in and you decide what stays out. At base you have only one criterion: If something interests you, it goes in—if not, it stays out. That’s a crude way to assess things, but it’s all you’ve got. Forget market research. Never market-research your writing. Write on subjects in which you have enough interest on your own to see you through all the stops, starts, hesitations, and other impediments along the way.
This one is reminiscent of W. Zinsser's notes in On Writing Well. He makes the argument that one has to first trim out as much as possible, before considering adding back embellishments.
Tags
Annotators
URL
-
- Sep 2018
-
www.huffingtonpost.com www.huffingtonpost.com
-
For example, Joshua Landy, Professor in French Language, Literature and Civilization at Stanford University finds “a laptop-free zone conducive to more engaged teaching experiences.” Likewise, Dan Edelstein, Professor of French and, by courtesy, of History at Stanford University, has “moved away from distributing readings as PDF’s, or links when available (particularly older primary sources):”
They prefer a more traditional approach to teaching.
-
-
digmedia.lucdh.nl digmedia.lucdh.nl
-
In other words, this tool offers you the possibility to comment, highlight, and annotate text on the web
Like this!
Tags
Annotators
URL
-
- May 2018
-
blackboard.gwu.edu blackboard.gwu.edu
-
The better a designer understands his or her audience and the unique needs of that particular audience, the more efficiently and effectively he or she will be able to develop, design, implement, and evaluate instructional materials in a rapid format.
-
-
hypothes.is hypothes.is
-
Getting started
How to get started with hypothes.is
-
- Feb 2018
-
hypothes.is hypothes.is
-
My daughter will be brought up to understand her true value. That’s a promise. As for all the little girls to be born around the world, the creation of these ads is an effort to show how imagination can change the conversation around their lives.
-
- Jan 2018
-
twitter.com twitter.com
-
Hey Hypothesis Users!
Thanks for checking out the hashtag. If you are interested in learning more, there are multiple places to find Twitter EDU - Your one-stop-all-you-need-to-know-guide to Twitter for FREE. You can find them all here: http://DavidTruss.com/TwitterEDU Happy Tweeting! :)
Tags
Annotators
URL
-
-
hypothes.is hypothes.is
-
Irwin Consulting Services Review - How to make sure of a safer winter road trip
Winter season brings in the beauty of cold and white nature. Many people look forward to this kind of weather because they can stay wrapped in their blankets or jackets the whole day while drinking hot chocolate and watching good movies. This month can be the most exciting month for many families because of the holiday season, and a lot of people are making last minute shopping and getting all their preparations done. With this, many individuals are getting busy using their cars to go to different places to buy things or products they needed for their Christmas and New Year celebrations. Others have been doing outdoor activities with their family members, friends or colleagues.
But no matter what the reason is, using your car during this season requires careful preparation to avoid accidents on the road. Irwin Consulting Services would like to provide some help in this regard through some helpful guidelines elucidated in the next paragraphs.
Consider changing into winter tires. This is often advised by many experts especially during this season, and it is even mandatory on particular places in the United States. Snow or winter tires provide traction that is better than all other tires when temperatures are at or below 7 degrees Celsius. Such allows greater control and shorter stopping distances on road surfaces during the cold and snowy weather. If you notice that some of your family members, relatives or friends don’t own this kind of tire, then you must advise them to buy some for their own safety and for all the people who will be riding with them in their cars. The price of this kind of tire can be higher than others but you can be certain that it is all worth it in the long run.
Put drifts into consideration while you’re on the road. You don’t want to be involved in any risky car spins scenarios right? It would be best to be careful with snow drifts because even if you’re driving on a clear road but with some speed, strong winds of winter can push those drifts on the clear road, which can lead to unwanted accidents if you’re not paying attention.
Make sure to properly cover the lids. In order to prevent moisture from freezing, you must cover the tire valves. Doing this, you can avoid air from escaping with the caps properly covered and also prevent having a flat tire.
Provide sufficient air. Going out of the house and engaging in long trips with your car can be a challenge this winter season because of the change in temperatures and other related aspects. If you wish to face the snowy roads prepared, then often check your tire pressure. Make sure to include this condition on your tire maintenance to have the tires in its best shape even with low temperatures and high air pressure.
Preparation is always the key. You can’t win against wintery roads if you’re not prepared to face its consequences. Bring with you some hats, mitts, and even a shovel organized inside your car trunk. Include in your winter driving kit a kitty litter too because it can provide traction to your car on icy or snowy roads. Bring an extra jug of winter windshield washer fluid as well especially during long trips to ensure visibility.
Pass on the knowledge. Some teenagers usually have a less proper understanding of wintery roads. It is your duty as an adult to remind them about the pivotal matters to consider in facing a snowy road to maintain their safety and their young lives. Irwin Consulting Services wanted you to be their guardian on the road, and if you’re a teen reading this then always remember to be prepared and be careful, and always listen to the advice of your older family members or friends.
Your tires also have its limits. You should have ample knowledge to identify when to replace them for good. You can change winter tires every two to three seasons as per advised by car experts. If you wanted to give new purpose to your old tires, a tire collector knows the best ways, so better get in touch with one within your neighborhood.
Irwin Consulting Services had previously provided some tips and guidelines on how to ensure indoor and outdoor safety during this holiday season, and this article is part of their objective to give helpful information to the public in making sure of their safety during any weather conditions.
-
-
hypothes.is hypothes.is
-
Irwin Consulting Services Review - How to ensure a safe mountain climbing this winter
This holiday season, many people are taking advantage of the cold weather to do some extreme activities like mountain climbing. But with this kind of activity, you are very much required to gather all the necessary items and be well-informed in advance in making sure of your survival and safety. If you are with your close friends, family members and colleagues, you are also responsible for their wellbeing, thus you are really needed to be equipped with proper safety equipment and survival skills.
As one of the groups that are committed to public safety, Irwin Consulting Services would like you to be committed to your own safety and to the people you held close to your heart as well, whether you are inside or outside your home, always bear in mind of that responsibility.
The appearance of snowy mountains can be a lovely and calming sight because of its pure whiteness. And different kinds of activities await you in such mountains where you can choose between snowshoeing, skiing or other related activities. But no matter how beautiful those mountains look like, they can still bring danger to you and other people around you, so protect your safety by having all the crucial equipment and learning all the required survival skills.
Determine the final list of activities you wanted to perform on the mountain and then know if each can be conducted at the place safely. You must also ensure that your planned venture suits your fitness level. With this kind of activity, you must never leave home without informing the people close to your heart about your plan. We can’t erase the possibility of it being dangerous, so tell them about the location of the mountain, the date of your return, and other situations where they really need to call the authorities for help in finding you.
When it comes to climbing a mountain, the local authorities will surely suggest or require you to join a group or form a group composed of two or more people to guarantee the safety of everyone concerned. When a person gets injured, the other group members can take care of him or her. But if you really wanted to be alone and face the challenges by yourself, Irwin Consulting Services reminds you that this involves some risks so better be equipped with every item or product necessary for your survival. Before going to the place, spend an hour or two in front of your laptop or computer learning about the important information about the mountain.
If you’re only planning to stay when there’s still sunlight, you might not bother to carry some light sources with you. But we don’t know the exact things that could happen to you throughout the day where a situation might surface that requires you to camp for the night, thus include this on the scenarios that may occur on your trip and bring light sources with you.
In case of an unfortunate event and you were lost in the woods, never panic and don’t put your mind in disarray. It would be best to collect your thoughts and stay calm and warm. Ensure that you were visible from the sky once you called for help so that rescuers on a helicopter could see you quickly. If ever you needed an urgent help, never hesitate to call the authorities right away so that they could find you before it gets dark.
Majority of countries around the world has their own emergency hotline number that is similar to 9-1-1 of the United States where you can contact for help even without any signal on your phone because such can activate any cell tower. Before you leave your home to begin your adventure, make sure that your phone is fully charged and bring some spare batteries with you or good power banks as well. If you can avail a satellite phone, then have one to get help even in no-cell-service places.
Be prepared with avalanche safety equipment too. Avalanche can be the biggest threat of a serene snowy mountain, so it would be best to be equipped with the proper equipment such as a transceiver, probe, and shovel. You must also have good knowledge about those items to survive this kind of emergency situation. Learn how to navigate through the terrain to help you mitigate an avalanche exposure.
Irwin Consulting Services has been a part of different efforts in the United States in improving public safety, and because of its many years of endeavor in this field, the group had seen many cases proving that accidents were inevitable and sometimes unprecedented, so always be prepared in case of unwanted events and situations to protect yourself and other people.
-
-
hypothes.is hypothes.is
-
Irwin Consulting Services Review - How to deal with holiday decorations safely
It is already the month of December and to those individuals having a weak heart saying it is too late to put holiday decorations at their home, don’t be. Filling your home with pretty and lovely decorations would not take a very long time so gear up and begin beautifying your house right now. Knowing that you’ll apply your personal style and preferences in designing your house will give you an exciting feeling, but together with that sentiment, you need to be very careful in designing especially when it comes to electric materials.
Some don’t have to feel lonely walking at night in their neighborhood because a lot of houses were so bright and even sparkles the night with their decorative lights and other holiday-themed decorations. Irwin Consulting Services agrees that the holiday season can indeed spread love and joy all around the world.
However, the holiday season also calls for a cold weather, which is an unavoidable circumstance leading to every household use a lot of heat sources. You need to be careful in decorating your home since many heat sources are around. You will also have to deal with some electrical connections when putting your holiday decorations like the Christmas lights into place. Double check the extension cords or power strips along with all the wirings if each is safe to use and has no damage at all. Learn how much current is running through the cords and determine if those were the proper and right numbers. Keep the Christmas tree at least 3 feet away from heat sources such as space heaters and fireplaces.
Irwin Consulting Services would like you to choose properly on what kind of Christmas tree you’re going to put in your house. You can settle with a real or live tree or an artificial one, but most importantly, remember to avoid very dry trees because they are weak to fires. Before placing a live tree on its stand, make sure to cut 1-2 inches from the base of the trunk to ensure good water absorption when filling it with water.
Outdoor decorating should be done with proper caution. Each equipment and decoration you’re going to use must be labeled for outdoor use. Follow the careful guidelines provided especially on electrical products. The amperage rating of the extension cords should match the power needs of the electrical items (amperage). Your electric lights and decorations should be plugged into circuits protected by ground fault circuit interrupters or GFCIs. Maintain distance from power lines while doing outdoor decorating as well. Keep electrical outlets organized to prevent overloading. Do not plug a lot of electrical decorations or devices all at once. You must not let overheating to happen and start a fire.
Confirm if there’s also a proper insulation on electrical cords by checking if they were not pinched in windows, doors or under heavy objects. Be careful about installing the decorative lights as well to ensure that there would be no damage to its cord’s insulation. Unplug electrical decorations when replacing bulbs or fuses. In addition, turning off all indoor and outdoor electrical decorations must be practiced before going to bed or leaving the house.
Candles with a good scent can indeed illuminate the night of the holiday season, but these real candles must not be left unattended for a long period of time to avoid fire accidents. Keep them in a spot that is also safe from the reach of little children and was away from combustible objects. Put out its fire if ever you’re going to sleep or going outside your home for a long time.
Irwin Consulting Services promises to remain committed to helping companies, professionals, or individuals in maintaining public safety and would also like to encourage each household to do the same and be dedicated to their own safety this holiday season.
-
- Dec 2017
-
hypothes.is hypothes.is
-
Irwin Consulting Services Review - How to ensure household safety during the holiday season
Many of us are really looking forward to the holiday season because it is the time when people are diligent in filling their houses with holiday decorations, preparing gifts, searching online for more delicious recipes, and a lot more activities related to this season. It is indeed the time of the year for enjoyment, sharing, giving, and loving together with your family and friends.
However, despite all the positive things we’re expecting to this season, accidents could still happen. This season also includes the challenge of the cold weather. And because people would like to experience more warmth, others sometimes misuse heaters and electric blankets and cause accidents on warm fireplaces. Irwin Consulting Services, a consulting company that is committed to public safety, prepared some important thoughts below that could help you maintain the safety of your whole family during this holiday season.
It is necessary to exercise proper care and caution during this season to avoid kitchen fires, electrical fires, and fires caused by flammable objects placed too close to heat sources. You can prevent kitchen fires by being focused and careful while you’re cooking. Cooking requires constant attention so don’t let anything distract you while preparing food for your family to avoid any accidents. Keep everything in order and don’t cook a lot of dishes at the same time since it could lead to disarray. Never bring outdoor grills inside your home because it could be very dangerous.
Live Christmas trees were often the choice for many households because it provides a fresh feeling and of course an enchanting appearance, but this can be the largest fire hazard in a home. Keep it watered every day and ensure that it can absorb water up to its trunk. Decorative lights on the tree must be labeled for indoor use and were approved for its safe use through a UL listing. As said earlier, fire accidents can be a possibility with this kind of tree, so make sure to install it in a spot away from fireplaces and space heaters. Make a clear path leading to exit doors as well. Do not put live candles on live trees to prevent ignition of a fire. Irwin Consulting Services would also like you to make it a habit to turn off and unplug the decorative lights whenever your family goes outside or is going to bed.
Children should not also play with decorative candles, so as much as possible put those in places that are out of reach of your small kids. Organizing decorative lights should be done with a careful process to ensure a proper electrical wiring. Instead of nails, hang decorative lights using plastic clips to prevent accidents of nails penetrating through the wirings and result in shorts. Check the conditions of each string of wire and confirm if all are safe to use to avoid overloads and faulty wirings. You must not plug one extension cord to another extension cord because this can lead to voltage drop and overheat, so be extra careful in using such cords. Both indoor and outdoor lightings are much safer if connected through power strips. Other important things to remember include making sure that the smoke alarms in your house were in good condition and working properly, and that the fire extinguishers were in easy to reach places. It is also advised to buy weather alert radios so consider it as well.
Don’t forget to put a grate or screen in front of the fireplace and see to it that the chimney flue was properly cleaned. Avoid putting stockings and other holiday decorations close to a lit fireplace. The Christmas tree and the pile of gifts should be gathered in one safe place that is away from the fireplace.
Make creating a good escape plan a priority as well and once you’re done with it, discuss it with your family and if you will be having a lot of visitors this holiday season, brief it to them. The path leading to your doors should not be compiled with huge furniture and decorations to avoid hindrance and blockage in case of emergencies. To guarantee a safe use of heat in your house, ensure that your gas lines were checked by professionals. Fire extinguishers should be available in your home and must be charged. Smoke alarms and carbon monoxide detectors were also a necessity to assure the safety of the entire family. Choose space heaters with tip-over switches and put them in a safe spot with no flammable materials near to it. You must not bring outdoor heaters inside for indoor heating; materials meant for outside use should remain there.
Irwin Consulting Services wanted you to spend the holiday season with your friends and loved ones with a big smile on your face and peace in your heart. Enjoy this season with no worries in keeping your whole family safe by making proper preparations and following the instructions of professionals and the local authorities.
-
- Oct 2017
-
www.cyberciti.biz www.cyberciti.biz
-
;
This
semicolon
character is key for the whole thing to work.
-
-
rawgit.com rawgit.com
-
this paper
If you see this highlight, you are reading v0.1 of the draft. The paper still contains unresolved references to sources and secondary literature, cross-references to tables and figures, and CriticMarkup (e.g. strings wrapped in {-- --} or {++ ++}).
-
hypothes.is click here
If you landed on this page following a link I have sent through email, messages etc. and if you see this highlight and right-hand panel, do not follow this link!
-
- Sep 2017
-
eds.a.ebscohost.com eds.a.ebscohost.com
Tags
Annotators
URL
-
- Jul 2017
-
wiki.c2.com wiki.c2.com
-
Other Java Tutorials and Learning Sites
-
-
newliteracies.uconn.edu newliteracies.uconn.edu
-
Teach Source EvaluationSkillsIf you want to teach source evaluation skills, have small groups conduct research to answer a three-part problem such as this:1.How high is Mt. Fuji in feet?2.Find a different answer to this same question.3.Which answer do you trust and why do you trust it?As you observe students begin work on the third part of the problem, you likely will see a student begin to use the strategy that you have tar-geted: locating and evaluating the source of the information. When you see someone use this strategy, perhaps by clicking on a link to “About Us,” interrupt the other groups and have this student teach the strategy to the class, explaining how he or she evaluates a source for expertise and reliability. There are many inconsistent facts online that can also be used, just like this, to teach source evaluation including: “How long is the Mis-sissippi River?” or “What is the population of San Francisco?”
-
-
hypothes.is hypothes.is
-
How Often Can You Take Dayquil
Vicks Dayquil is a common medication to treat cold and flu symptoms in home remedies. How long does it takes and severe dosage of dayquil is works better.
-
- Jun 2017
-
www.ucsusa.org www.ucsusa.org
-
The nucleus of an atom is held together with great force, the "strongest force in nature."
-
- May 2017
-
learn.wsu.edu learn.wsu.edu
-
Is this forum closed for posting? How are students supposed to insert voice thread intros into this forum? I have been playing with Embed Audio, Embed Flash and nothing seems to work.
-
- Apr 2017
-
nationalera.wordpress.com nationalera.wordpress.com
-
sift ye as wheat
When you sift wheat you shake it hard to separate the kernels, so this is saying that the devil was trying to shake her emotions to separate her from Jesus.
-
-
digitalpaxton.org digitalpaxton.org
-
"Trump’s campaign promise to “maximize flexibility for states via block grants so that local leaders can design innovative Medicaid programs that will better serve their low-income citizens.” "
Again, the use of the phrase "will better serve our low income citizens" tried to sound like they are coming from a humanistic basis. They are also trying to frame this in a way that seems to give flexibility and freedom to innovate to local leaders...that by doing this they are facilitating this potentially more innovative and fliexible approach. It "sounds" good framing in this way, but it's not taking some of the realities of how horribly this can effect the states who might be left holding the bag financially and the citizens who may wind up left with out much needed services.
-
- Feb 2017
-
www.nytimes.com www.nytimes.com
-
To engage with the lives of others, white audiences would have to encounter something far more frightening: their irrelevance. They would have to reckon with the fact that the work will not always speak to them, orient them, flatter them with tales of their munificence or infamy, or comfort them with stereotypes.
In order to stop the erasure of the other, white people would have to take themselves out of the spotlight and realize not everything is for them. they would also have to encounter black suffering or something similar amongst themselves.
-
- Dec 2016
-
codkashacabka.files.wordpress.com codkashacabka.files.wordpress.com
-
a moment when we can go a little farther and say something, and there is a moment in which we should listen more to the people.
How nicely he connects the classroom and political gathering. This is how you are both a learning organizer and a community organizer.
-
-
sites.google.com sites.google.com
-
She said I am the one who will dance on the floor in the round
The significance of the "Billie Jean" when it came out was do to the fact that the song was about a person being told that they are some kids father.
-
- Oct 2016
-
school.bighistoryproject.com school.bighistoryproject.com
-
Eventually cells stuck together to form creatures with many cells. Plants and animals came out of the sea onto land and became ever more complex and aware
-
In the beginning, as far as we know, there was nothing. Suddenly, from a single point, all the energy in the Universe burst forth. Since that moment 13.8 billion years ago, the Universe has been expanding — and cooling down as it gets bigger
the universe has been expanding and cooling down as its gets bigger
-
- Aug 2016
-
github.com github.com
-
TWITTER_PAT=/Users/mwk/twitter_tokens
on my machine, I had to set the twitter path in the R console; couldn't quite suss how this text document worked. So, what I used:
Sys.setenv(TWITTER_PAT="/Users/shawngraham/twitter_tokens")
which probably isn't a good place to keep the tokens, but that's where they went when I did the normalize thing above.
-
- Jul 2016
-
www.futurelearn.com www.futurelearn.com
-
learning
Annotation
-
- Mar 2016
-
www.tanadineen.com www.tanadineen.com
-
DR. TANA DINEEN
-
- Jan 2016
-
learning.blogs.nytimes.com learning.blogs.nytimes.com
-
Make connections
I'm connecting this with Sarah's comment (hopefully) https://hypothes.is/a/AVIyDIYO8sFu_DXLVai1 mmmm, nope, that didn't work. What does the "Link" option do then?
-
- Dec 2015
-
mfeldstein.com mfeldstein.com
-
I’m sorry, but this sort of quasi-mystical garbage debases the very notion of education and harms Knewton’s brand in the process.
-
- Aug 2015
-
edu305.networkedlearningcollaborative.com edu305.networkedlearningcollaborative.com
- Jun 2015
-
www.helinurmi.fi www.helinurmi.fi
-
The pattern of these phenomena is the book’s theme. The book is very practical and its intention is far from mine, it helps to sell something to anyone, it gives lists to check if you have tried properly
The book: Effectiveness checklists that you can follow in a selling activity. How to do it properly.
Your aim: Understand authentic events online
-
- Apr 2015
-
github.com github.com
-
hypothesis.js
hypothesis.js
is injected into the page by embed.js using either the browser's plugin API or (in the case of the bookmarklet) the DOM API. (embed.js
was in turn injected by the browser plugin or bookmarklet).hypothesis.js
is the "bootstrap" code that connects up and starts the various components of the Hypothesis app. -
app: jQuery('link[type="application/annotator+html"]').attr('href'),
Here we find the
<link rel="sidebar" ...
thatembed.js
injected into the page. We pass it into the constructor method of Annotator.Host below. -
window.annotator = new Klass(document.body, options);
Calling the Annotator.Host construct, passing an
options
object including our sidebar link. -
Annotator.noConflict().$.noConflict(true);
Having created our
Annotator
instance and added our custom plugins etc to it, we inject Annotator into the page.
-
-
github.com github.com
-
layout.app_inject_urls
app_inject_urls
is the list of scripts and stylesheets that we're going to inject into the page. This comes from layouts.py, which in turn gets it from assets.yaml.Most importantly these URLs to be injected include a minified version of hypothesis.js.
-
var baseUrl = document.createElement('link'); baseUrl.rel = 'sidebar'; baseUrl.href = '{{ app_uri or request.resource_url(context, 'app.html') }}'; baseUrl.type = 'application/annotator+html'; document.head.appendChild(baseUrl);
Finally, we inject a
<link rel="sidebar" type="application/annotator+html" href=".../app.html">
into the<head>
of the document. This is the HTML page for the contents of the sidebar/iframe. This link will be picked up by hypothesis.js later. -
if (resources.length) { var url = resources.shift(); var ext = url.split('?')[0].split('.').pop(); var fn = (ext === 'css' ? injectStylesheet : injectScript); fn(url, next); }
This loop is where we actually call
injectScript()
orinjectStylesheet()
on each of the resource URLs defined above. -
var injectScript = inject.script || function injectScript(src, fn) {
And we do the same thing for injecting scripts as we did for injecting stylesheets - we either use the function passed in by the browser plugin, or when called by the bookmarklet we fall back on the DOM API.
-
var injectStylesheet = inject.stylesheet || function injectStylesheet(href, fn) {
hypothesisInstall()
will use theinject.stylesheet()
function passed in to it to inject stylesheets into the page or, if no function was passed in, it'll fallback on the default function defined inline here.The default method just uses the DOM's
appendChild()
method, but this method may fail if the site we're trying to annotate uses the Content Security Policy.That's why when we're using one of the browser plugins rather than the bookmarklet, we pass in the browser API's method for injecting a stylesheet instead.
This is why the bookmarklet doesn't currently work on GitHub, for example, but the Chrome plugin does.
-
embed.js
embed.js
is responsible for "embedding" the different components of the Hypothesis frontend application into the page.First, either bookmarklet.js or one of the browser plugins injects a
<script>
tag toembed.js
into the page, thenembed.js
runs.This way the code in
embed.js
is shared across all bookmarklets and browser plugins, and the bookmarklets and plugins themselves have very little code.
-
-
github.com github.com
-
app.appendTo(@frame)
And we inject our
<iframe>
into ... the frame? (@frame
is a<div>
that wraps our<iframe>
, it's defined and injected into the page in guest.coffee). -
app = $('<iframe></iframe>') .attr('name', 'hyp_sidebar_frame') .attr('seamless', '') .attr('src', src)
Finally, this is where we create the
<iframe>
element that is the Hypothesis sidebar!
-
-
github.com github.com
-
embed = document.createElement('script'); embed.setAttribute('src', embedUrl); document.body.appendChild(embed);
Here we construct the actual
<script>
element, set itssrc
URL, and inject it into the page using the DOM's appendChild() method. -
var embedUrl = '{{request.resource_url(context, "embed.js")}}';
The whole job of the bookmarket is to inject a
<script src=".../embed.js">
element into the current page. Thesrc
URL of this script element points to embed.js, another Pyramid template rendered by the server-side Hypothesis app. -
bookmarklet.js
bookmarklet.js
is the Pyramid template (rendered by our server-side Pyramid app) for the Hypothesis bookmarklet. This little bit of JavaScript (after being rendered by Pyramid) is what the user actually drags to their bookmarks bar as a bookmarklet.
-
- Apr 2014
-
www.newschallenge.org www.newschallenge.org
-
science will produce improved results and better serve the community.
How will the results be improved and in what way will the community be better served?
I expect you explain how later in the document and provide examples, but to strengthen the intro and capture your readers give the a teaser of what's to come if they continue reading.
-