738 Matching Annotations
  1. Jan 2024
    1. Ordered list outside a block quote, with numbering that starts from 2:

      1. Foo
      2. Bar

      Ordered list inside a block quote with numbering that starts from 2:

      1. Foo
      2. Bar

      In the Hypothesis client, the start numbering of ordered lists is preserved. In the HTML output in the API and shown at https://hypothes.is/search, it is not.

      Additionally in activity pages, there is a problem that the list bullets for ordered lists are not rendered, although the <ol> tags are present in the HTML.

      Compare the rendering of this annotation in the client vs activity pages - https://hypothes.is/users/robertknight?q=url%3Ahttps%3A%2F%2Fhypothes.is%2Fdocs%2Fhelp%3Felife_test%3D1.

      See https://github.com/hypothesis/support/issues/88

  2. Dec 2023
    1. Blog post on XNNPack / Tensorflow Lite's recently added FP16 support.

    2. When the compatible model is delegated to XNNPack on a hardware with native support for FP16 computations, XNNPack will transparently replace FP32 operators with their FP16 equivalents

      Interesting, so it looks like it is possible to get away with automatically reducing precision of weights for FP32 ops at runtime.

  3. Nov 2023
    1. Computes the absolute values of packed 8-bit integers in a.

      Pre-AVX512 256-bit instructions start here. All the _mm256* items at the top of the page are AVX512.

  4. Jul 2023
  5. Jun 2023
    1. When someone needs something more lightweight, I generally point them to lexopt due to the simpleness of the design.

      lexopt looks useful for minimalist CLI parsing. See https://github.com/blyxxyz/lexopt.

    1. hardware 3d acceleration

      Yet another comment

    2. improve this was to break the polygon

      And another comment

    3. 360 000

      And another comment

    4. 32-bit processor

      Another comment

    5. ridge racer or tekken 2

      A test annotation.

    1. Blog post comparing ASG (Auto Segmentation Criterion - yes, the last letter doesn't match) to CTC (Connectionist Temporal Classification) for aligning speech recognition model outputs with a transcript.

  6. May 2023
  7. Apr 2023
    1. The actual OCR service uses OpenCV and TensorFlow, both written in C++ and with complicated library dependencies; so security exploits are a real concern.

      Aha - something I could address with Rust.

    2. We ended up using a classic computer vision approach named Maximally Stable Extremal Regions (MSERs), using OpenCV’s implementation.

      Interesting that they decided not to go with eg. pixel classification.

    3. An overview of the OCR system that powers Dropbox's document scanner.

  8. Mar 2023
    1. These days if you want to simulate something in the physical world you use a computer.


  9. Feb 2023
  10. Nov 2022
  11. Jul 2022
  12. Jun 2022
    1. COCO-Text: Dataset for Text Detection and Recognition

      • 63K images
      • 145K text instances
      • Feature labels: machine printed / handwritten. Legible / illegible, English / non-English script

      See also the COCO-Text V2 site.

  13. Apr 2022
  14. Mar 2022
  15. Feb 2022

      According to Wikipedia: A sock puppet is an alternative online identity or user account used for purposes of deception.

      See https://en.wikipedia.org/wiki/Sock_puppet_account

    2. Putin’s been accused of using his pet Labrador to frighten Angela Merkel
  16. Jan 2022
    1. Utilities for improving accessibility with screen readers.

      To understand the CSS properties used by the sr-only class, see blog posts from WebAIM and Cloud Four.

    1. Yet another way of categorizing arguments is to consider their status or stasis—that is, the specific kinds of issues they address.

      This works

    1. Given a function of mapping a nnn-dimensional input vector xx\mathbf{x} to a mmm-dimensional output vector, f:ℝn↦ℝmf:Rn↦Rm\mathbf{f}: \mathbb{R}^n \mapsto \mathbb{R}^m, the matrix of all first-order partial derivatives of this function is called the Jacobian matrix, JJ\mathbf{J} where one entry on the i-th row and j-th column is Jij=∂fi∂xjJij=∂fi∂xj\mathbf{J}_{ij} = \frac{\partial f_i}{\partial x_j}

      Quick test

  17. Nov 2021
    1. Change; captains, admirals, the dark “interlopers”5 of the Eastern trade, and the commissioned “generals” of East India fleets

      This works

    2. had good hold, made his way aft and sat down amongst us. We exchanged a few words lazily. Afterwards there was silence on board the yacht. For some reason or other we did not begin that game of dominoes. We felt meditative and fit for nothing but placid staring. The day was ending in a serenity of still and exquisite brilliance. The water shone pacifically; the sky, without a speck, was a benign immen- sity of unstained light; the

      Quick test

    1. The budget constraint clearly shows the tradeoff Alphonso faces in choosing between burgers and bus tickets. Suppose he is currently at point D

      Quick test

    1. The Copenhagen meeting in September of 1979 and the iridium papers of 1980 triggered a storm over the Cretaceous-Tertiary mass extinction that raged through the entire decade of the 1980s

      Quick test

  18. Oct 2021
    1. The German philosopher Immanuel Kant (1724–1804) delved into the critical limits of knowledge in his revolutionary text, The Critique of Pure Reason (1781).

    2. Suggested Further Reading

      Quick test

  19. Sep 2021
  20. Dec 2020
  21. Aug 2020
    1. Now you have the extension up and running. It's time to start annotating some documents.

      Quick test

  22. Jun 2020
  23. May 2020
  24. Apr 2020
    1. As long as expressions typed into the Web Console are side-effect free

      Does anyone know how "side-effect free" is determined?

  25. Mar 2020
  26. Feb 2020
    1. TPG is an accessibility solutions provider offering full-service accessibility consulting and a leading provider of accessibility monitoring and management software solutions.

      This is a test annotation.

    1. How likely are you to pop open the browser developer tools to look for an overzealous aria-label on a <div>-as-button-via-role-sans-keyboard-handler monstrosity to explain that the button you thought said “Submit” is the one the user hears as “Activate this button to submit this form,” all thanks to a well-meaning developer who thought it was necessary?

      Example of a problem caused by mismatched labels for different users.

    1. Safari Settings: Advanced > Accessibility > Press Tab to highlight each item on a webpage

      In Safari 13.0.5 on macOS 10.15:

    2. System Settings: Keyboard > Shortcuts > Full Keyboard Access > All controls

      I think this may be out of date. On macOS 10.15 (Catalina) I see no such option. However there is an option to enable keyboard navigation with a different label ("Use keyboard navigation...").

      System settings in macOS 10.15

  27. Jan 2020
    1. Should only be "Strict" or "Lax".

      What about setting the value to None for a cookie where it is specifically desired for the cookie to be available in a third-party context?

      Third-party cookies are eventually going away so perhaps that is not a viable option long term.

  28. Nov 2019
  29. Oct 2019

      Annotation on the second "RRID:WB-STRAIN" text


      Annotation on the first "RRID:WB-STRAIN" text.

  30. Aug 2019
  31. hypothesis-h5p.s3.us-east-2.amazonaws.com hypothesis-h5p.s3.us-east-2.amazonaws.com
    1. Hypothesis

      This is a demo of an H5P-enabled Hypothesis client. It also shows how OAuth can be used to create customized clients which talk to the Hypothesis backend.

      Go to the Page Notes for more details.

      <iframe src="https://h5p.org/h5p/embed/6725" width="1090" height="387" frameborder="0" allowfullscreen="allowfullscreen"></iframe><script src="https://h5p.org/sites/all/modules/h5p/library/js/h5p-resizer.js" charset="UTF-8"></script>

    1. The online teacher creates, selects, and organizes appropriate assignments and assessments to align curricular content with associated standards-based learning goals

      This is a test to investigate a Hypothesis bug report. See https://github.com/hypothesis/lms/issues/875

  32. May 2019
    1. Try it out!

      Hi Tom!

      Thanks for sharing your feedback on Hypothesis UX at iAnnotate this year.

      If you use the Hypothesis client with the “clean” theme I recommend using the data-hypothesis-trigger attribute to create a button or other affordance to open the sidebar. See https://h-client.readthedocs.io/en/latest/publishers/host-page-integration/ for details. This allows users to see comments without having to find a highlight.

  33. Apr 2019
    1. A caveat here is that the rewriting may add quite a lot of code to your bundle,

      See this GitLab issue for a real-world example of where this became a problem.

  34. Dec 2018
    1. AngularJS

      Since a few candidates have asked this, we're not wedded to Angular as a framework, but it was perceived as a sensible choice back in the early days of the project in 2013-2015. In more recent times we've had higher-priority technical issues to address.

      Setting the future technical direction and helping to implement it is part of the role.

  35. Oct 2018
    1. The simplest way to generate a private key and self-signed certificate for localhost is with this openssl command:

      Keys generated using this command are trusted by browsers (I've tested with Safari, Chrome, Firefox).

      I found that they were not trusted by SSL client libraries (eg. Python's ssl package or requests) which use openssl because the keyUsage setting is missing the keyCertSign flag.

      Changing the keyUsage= section to keyUsage=digitalSignature,keyCertSign resolved the problem.

      See also: https://stackoverflow.com/a/39536777/434243

  36. Jul 2018
  37. Jun 2018
    1. disable DoH

      Should this say enable DoH under all circumstances? Presumably the current default, mode 0, is always off anyway.

  38. May 2018
    1. and agree to them before you start annotating

      We added a link to the privacy policy, terms of service and community guidelines on the sign up page. We added a checkbox that you have to tick before you can sign up.

    2. For the Hypothesis website, we’ve taken new steps to anonymize the information we collect

      In practical terms this means that we turned on Google Analytics' IP anonymization feature which zeroes that last octet of your IP address.

  39. Apr 2018
    1. probably UTF-8

      Almost certainly UTF-8 on macOS and Linux. I'm not sure about Windows.

    2. What encoding are literal byte strings in?

      It wasn't clear to me after reading this, but -*- coding: utf-8 -*- comments are redundant in Python 3 because the default encoding of files is UTF-8.

    1. Before adding a new collaborator, they will need to generate a GPG key. GitHub has good instructions for doing this

      Steps for new developers to create public keys.

  40. biopub.hypothes.is biopub.hypothes.is
    1. Hypothesis admins can manage the members for a group in the admin dashboard at https://hypothes.is/admin/groups/

    1. it has been reported in 2008 but not yet being worked on by anyone.

      This issue has now been fixed.

  41. Mar 2018
    1. For security reasons, after you navigate off the page, you will not be able to see the token again.

      So if you forget your token, you'll need to generate a new one :)

    1. A high-level technical explanation of how Dropbox's PDF annotation interface is implemented.

      Quite interesting for Hypothesis.

  42. Feb 2018
  43. hypothesis-h5p.s3.us-east-2.amazonaws.com hypothesis-h5p.s3.us-east-2.amazonaws.com
    1. About this demo

      This is a test client which shows: 1) how to use OAuth to create customized Hypothesis clients and 2) is a prototype of support for H5P, a system for creating embed-able interactive content such as quizzes etc.

      To add a new annotation with H5P content:

      1. Log in to this client by clicking the Log In link and approve access when prompted.
      2. Go to https://h5p.org/ and find a piece of demo content.
      3. Click the "Embed" button at the bottom of any embed
      4. Copy and paste the embed code into a new annotation or Page Note on this page.

      Next, try creating your own interactive content on H5P.org and pasting embed links here.

      🤠 - H5P content is sandboxed to prevent malicious abuse. Some functionality may not be available. Let me know if you find issues.

      Contact me at robertknight@hypothes.is

  44. biopub.hypothes.is biopub.hypothes.is
    1. Welcome to the BioPub website 🔬.

      This is a demo site designed to show various aspects of how Hypothesis can be integrated by publishers into their articles.

      To learn more, have a look at the project's README on GitHub.

    1. The ULEZ standards are:

      See the table at https://www.rac.co.uk/drive/advice/emissions/euro-emissions-standards/ for a rough guide to what standard a vehicle meets based upon its date of registration.

  45. Jan 2018
    1. Tutorial: OAuth

      This page is about OAuth v1. Most web services, including Google APIs, now use OAuth v2 which is simpler in various respects. The documentation for that is https://developer.chrome.com/apps/app_identity

    1. Unfortunately not every database supports savepoints and SQLite is precisely one of those that doesn’t

      I'm not sure if this is still true, SQLite does have a SAVEPOINT command now. Whether SQLAlchemy supports it and whether there are any limitations with it I don't know.

    1. Transaction objects manage resources for an individual activity.

      For a more detailed introduction to the transaction package, see https://zodb.readthedocs.io/en/latest/transactions.html

  46. Dec 2017
  47. Nov 2017
    1. synchronously with the request

      We are trying to clarify in https://github.com/hypothesis/h/pull/4700#discussion_r153477745 whether search requests made after an index operation with refresh=true are guaranteed to see the change. My understanding from these docs is that this is true in ES 6.

      Anyone know about earlier versions?

    1. Running these queries on a field with many unique terms can be resource intensive indeed. Avoid using a pattern that starts with a wildcard (for example, *foo or, as a regexp, .*foo).
    1. Interesting article on gzip compression. It explains how to apply knowledge about how gzip (and specifically DEFLATE) compression works in order to generate source text that compresses better.

      A shame that the gzthermal tool is not open source at present.

    1. The Lot System is one such idea which has emerged from the movement

      See http://www.carolhanisch.org/CHwritings/Leadership.html for an explanation of how the "lot system" worked.

    2. rushed

      Coming from the UK where sororities / fraternities are not really a thing as far as I know, I had to look this up: https://en.wikipedia.org/wiki/Sorority_recruitment

    3. New Left

      A political movement from the 1960s and 1970s campaigning for social change and reform.


    4. as too threatening to have as close friends

      Why "threatening"?

    5. rap group

      A "consciousness raising group". See this article.

    1. The aforementioned Yelp reviews is already testing these boundaries with its Monocle feature

      The Wired article on the Monocle feature dates back to 2009. In 2017, it is still apparently a hidden feature in the Yelp app.

    2. A new batch of apps that allow users to create hidden graffiti using AR raises an important question about who is legally allowed to “tag” a place.

      So basically all the discussions we have had within Hypothesis about rights to write over web pages will be had, but this time applied to the real world.

  48. Oct 2017
  49. blog.twitter.com blog.twitter.com
    1. This article argues for the benefits of favoring integration ("feature") tests over unit tests. An opposing argument ("integration tests are a scam") is that reliance on integration tests is a bad idea because of the difficulty of covering all possible code paths with integration tests as opposed to unit tests.

      A half-way point between the two views is the concept of a testing pyramid which advocates having end-to-end, integration and unit tests, but with a larger number of the latter and a smaller number of the former.

    1. I actually just figured this out and it seems to be working.  I found this article:

      This might be useful for resolving an issue we have with Google Groups where replies made via Zendesk to support requests originating from emails to a Google Groups forum only go to the original user and do not appear on the Google Groups mailing list.

    1. It is also possible to filter all events for the entire application, by installing an event filter on the QApplication or QCoreApplication object.

      You can use this to observe all user interactions in an application for example.

    1. A list of some simple suggested exercises to do with a foam roller. One notable point was a recommendation that exercises should be done before workouts.

  50. Sep 2017
    1. In New York, however, where some 2016 numbers are available, it seems that every journey only covers 41% of the costs involved in making it.

      Does anyone know a) whether this claim is accurate and b) what more up to date numbers look like?

    1. These general forms allow markup grammars, like HTML5, to be created without element counts in the thousands to address every possible need. A generalized element retains the form of greatest applicability

      Another EPUB annotation.

    1. There

      An annotation created using IE 11 when logged in using OAuth

  51. Aug 2017
    1. The URL that was given to you by Canvas should have had a verifier parameter on it. If so, do not include your Authorization header like you do with all the other API calls that you make.

      So this means that the verifier parameter replaces the Authorization header?

    1. This guide takes a slightly different approach to accessibility because of the feature-rich nature of EPUB 3

      This is a quick test of an annotation made on an EPUB document.

    1. Sometimes the submodule references get slightly out of sync so to ensure you are at the latest develop branch in all submodules you can run this

      I initially tried without running this command but that failed - the plugin configuration had Hypothesis disabled. Presumably that means that the submodule references in the root project don't currently reference the HEAD of the develop branch in some of the submodules?

    1. This fundamental change in J-protein biology during the prokaryote-to-eukaryote transition allows for increased fine-tuning and broadening of Hsp70 function in eukaryotes

      Another test annotation created as part of a project with eLife.

    2. Hsp70 participates in a broad spectrum of protein folding processes extending from nascent chain folding to protein disaggregation

      Test annotation created as part of a project with eLife.

    1. Create the revision script by running alembic revision, for example:

      This appears to be out of date. It looks like alembic commands should be run via the ./bin/hypothesis wrapper script. See https://github.com/hypothesis/h/issues/3863

      ./bin/hypothesis migrate revision -m "Add the foo table"
  52. Jul 2017
    1. It’s a fundamental decision about where the annotation goes which can’t be changed later.

      The "can't be changed later" part is something we could, and probably will want to at some point, address.

      In a groups-first API I imagine that this might be a specific API call though, since there are a number of error conditions that are specific to this operation.

    1. or the browser was holding the storage mutex for a longer time, or for different reasons.

      According to this GitHub issue the storage mutex was never implemented in browsers.

      See the comment from Ian Hickson at the bottom.

      That issue also has some useful details on what modern browsers actually do in a multi-process world.

    1. Think in a chapter of a book, for example: the chapter isPartOf book.

      Should we perhaps use this instead of DC.Source for describing a chapter which is part of a book?

    1. said he most commonly used the app

      Saqib is blind.

    2. As well as recognizing people it’s seen before and guessing strangers’ age and emotion

      I wonder how they try to avoid causing offence if the guess is wrong?

  53. Jun 2017
    1. 2mins 34secs clear of Kenya's Mathew Kimeli.

      This should say 2.34 seconds. Kimeli was ~10 metres behind when Farah crossed the line.

    1. potentially annoying

      It's not just "potentially annoying". I think our users would use somewhat stronger language to describe this hassle!

    2. since it could just re-use the still valid access and refresh token that it got last time.

      It is possible that the user's identity on the website changed since the last time they visited the page, in which case we do need a new access/refresh token.

      I would be inclined not to try and solve this problem until we're sure it is a problem to avoid introducing fun new caching issues that cause confusion for us and users.

    1. One of the important lessons when designing for VR is that you should move your idea or concept as fast as possible to prototyping.

      Presumably this would be true for any novel interaction environment.

    1. The authorization server MAY revoke the old refresh token after issuing a new refresh token to the client

      I assumed that revoking the old token would be mandatory, but on the other hand, not revoking it allows clients to retry a refresh if they fail to receive the response the first time due to a transient network error.

    1. Examples of other similar JavaScript DI frameworks:

      A useful list of dependency injection frameworks for JS. From what I've seen of the packages listed here:

      BottleJS looks like the simplest and least demanding in terms of JS engine features.

      InversifyJS is heavily orientated towards TypeScript and assumes use of decorators, reflect-metadata etc.

      Inverted is unmaintained and the link 404s.

      I haven't yet looked at WireJS or Mocktail.

    1. When you click on the icon you don't know whether the new things went into the annotations, page notes or orphans tab. (I believe the count numbers on the tabs change, but this is easy to miss.)

      A caveat here is that we cannot tell whether annotations are annotations or orphans until after we try anchoring them, so if we go with this approach we'll either have to change how annotations in the "received but not yet presented to the user" state are handled, or optimistically assume that the annotations do anchor.

    2. Tabs (where the number of tabs can change dynamically, tabs opening and closing in response to events or user actions, like in a desktop web browser) are normally left aligned

      That definitely depends on what environments you are familiar with. In Windows (traditionally) and modern MS apps tabs are left-aligned.

    3. It uses HTML <a> elements with href="#", which I don't believe is correct for these controllers, which are really buttons not links

      Strictly speaking yes, although ARIA actually has dedicated roles for tabs. If you use those, I don't think it really matters.

    4. These buttons also look different than other buttons (and links) in the sidebar itself.

      They are tabs rather than buttons. I don't think they should necessarily need to look the same as buttons, as long as it is clear you can hit them.

    1. subresource under number of unique domains, sub frame under number of unique domains, and number of unique domains redirected to.

      I'm not clear on exactly what these three things mean and why they might be strong signals for a tracking domain. Can anyone clarify?

    1. Whitelists are a good idea - not only are they a simple way to protect against parent documents setting config settings that we don't want them to

      In the case of the sidebar, this is true. Do understand though that code in src/annotator fundamentally runs in an untrusted context and a sufficiently determined page could manipulate what that code does in pretty much any way it wanted.

  54. May 2017
  55. citeseerx.ist.psu.edu citeseerx.ist.psu.edu
    1. Faster Approximate String Matching Baeza-Yates and G. Navarro, R. Algorithmica (1999) 23: 127. doi:10.1007/PL00009253

    1. Doesn't manage VPCs, subnets, or other infrastructure that Skyliner manages for us.

      How much of a problem is this for us on the spectrum of major blocker to minor inconvenience?

    1. Specifically, we pad the inputbyk1elements on both the left and right side by zerovectors, and then removekelements from the end of theconvolution output.

      Reproduction of the bug described at https://github.com/hypothesis/client/issues/381

    1. WAI-ARIA provides Web authors with the following:

      This is a summary of the main types of additional information which may need to be added to a page to make it accessible, which can be done by adding ARIA attributes to elements.

    2. For example, with WAI-ARIA, developers can identify regions of pages and enable keyboard users to easily move among regions, rather than having to press Tab many times.
    3. For example, if the content of a Web page changes in response to user actions or time- or event-based updates, that new content may not be available to some people, such as people who are blind or people with cognitive disabilities who use a screen reader.
    1. The text MUST be selected and normalized in the same way as for the Text Quote Selector before counting the number of characters to determine the start and end positions.

      Given the comment above about normalization:

      The selection of the text must be in terms of unicode code points (the "character number"), not in terms of code units (that number expressed using a selected data type).

      My understanding is that the start/end positions need to be expressed in code points, which is a little inconvenient in the browser since the natural way to retrieve the text content for a node and its descendents in the DOM is using the textContent property, which returns a JS string that represents the text in UTF-16 chars.

  56. tinyletter.com