70 Matching Annotations
  1. Last 7 days
  2. Oct 2024
    1. To mark Main Headingsyou might have coloured Cards, for instance, blue Cards,or else larger Cards.

      Using larger cards for main headings as Miles suggests (1905/1899) is very similar to using tabbed dividers. When were these invented for separating groups?

      The original tags from antiquity did this sort of functionality as they stuck out from the shelves as a finding aid.

    2. A great help towards Arrangement and Clearnessis to have Cards of different sizes and shapes, and ofdifferent colours, or with different marks on them

      Miles goes against the grain of using "cards of equal size", but does so to emphasize the affordance of using them for "Arrangement and Clearness".

  3. Aug 2024
    1. 954 most common RGB monitor colors

      The 954 most common RGB monitor colors, as defined by several hundred thousand participants in the xkcd color name survey.

      Some boring notes on data handling:

      For the sake of anyone who might use this, I also snapped three of the 954 colors to corners of the color space when they were hovering almost on the corners and the data was fuzzy; e.g. I moved black from #000102 to #000000. But mostly I left it alone.

      There were about 40,000 women and 100,000 men in the main data set used for this, which could in principle skew things (if men are overrepresented and disagree with women over what a particular color is) but when I reran the analysis with the genders separated the results were roughly the same.

      There are a couple of 'again's and 'darker's which are survey artifacts (e.g. 'green again' or 'darker blue') that I missed while cleaning up the table. I can't regen it now, but I've deleted them from rgb.txt.

      The algorithm used the hillclimbing setup when there were enough data points available, but for the lowest ones on this list, it used a simple geometric mean of the color values.

      I've normalized the 'gray' spelling to 'grey' since that was more popular among my users, and when colors varied by punctuation (blue-green vs blue green) I used the most popular version. I left "darkgreen" separate from "dark green", because it wasn't always obvious to me that it was a different color word. I also pulled most of the spam and a few other non-color entries. Following Crayola's lead, I also decided to leave out 'skin' and its derivatives from the final list, since that seems to be a whole can of worms; judging from the RGB values, though, my readership skews white and nerdy.

  4. Apr 2024
  5. Sep 2023
    1. The colors represent categories, you are correct. So, for instance, with the War book, blue cards would be about politics, yellow strictly war, green the arts and entertainment, pink cards on strategy, etc. I could use this in several ways. I could glance at the cards for one chapter and see no blue or green cards and realize a problem. I could also take out all the cards of one color to see which story I liked best, etc. It also made the shoebox look pretty cool.

      Robert Greene used a color code for his index cards which also helped him to realize gaps in certain areas. He also liked them because "It also made the shoebox look pretty cool."

    1. QR Codes can be a great way for teachers to distribute class material. Here are free sites you can use to generate QR codes

      Free QR code sites

    1. Each Everyman's Library book has a colored cloth binding denoting the period of the work: Scarlet - Contemporary Classics Navy - 20th Century Burgundy - Victorian Literature/19th Century Dark Green - Pre-Victorian/Romantic/18th Century Light Blue - 17th Century and Earlier Celadon Green - Non-Western Classics Mauve - Ancient Classics Sand - Poetry The above information relating to the colored cloth binding of Everyman's Library books is 100% resourced from Random House’s Everyman’s Library page, found immediately below:http://www.randomhouse.com/knopf/classics/about.htm
    1. DCloyceSmithEdited: Mar 23, 2010, 12:22 pm It's a closely held secret: There is in fact no scheme to the color scheme. I can't speak for my predecessors, but I've "chosen" the colors for the last ten years, and the primary considerations have been (1) break up the colors for contiguous authors/titles when the volumes are alphabetized on the shelf (and try to keep additional tan volumes away from all those Henry James volumes), and (2) balance the collection as a whole. A couple of times, an author's son or daughter has specifically requested a cloth color, and of course I'll accommodate their decision. (And sometimes, the colors do pick themselves, like green cloth for the American Earth volume.)For the record, here are the color breakdowns through the Emerson volumes (not including the Twain Anthology and the Lincoln Anthology, when we used unique colors):Red -- 52 Blue -- 51 Green -- 48 Tan -- 50 (counting the Franklin as 2 volumes)David

      https://www.librarything.com/topic/87541

      No real rhyme or reason for Library of America book covers.

  6. Jul 2023
    1. Books aren’t commoditiesAdvertisementI despise — viscerally, perhaps irrationally — the people one sometimes sees at used book stores scanning every title with a handheld device to check its online price. They regard books strictly as products and usually don’t know anything about them, only caring about what they can buy low and sell high on Amazon or eBay.
  7. Apr 2023
  8. Mar 2023
    1. Michael Kropat put together a set of decision charts that helps determine the best status code for each situation. See the following for 4xx status codes:
    1. Job 38:31

      Job 38:31 Verse (Click for Chapter) New International Version “Can you bind the chains of the Pleiades? Can you loosen Orion’s belt?

      New Living Translation “Can you direct the movement of the stars— binding the cluster of the Pleiades or loosening the cords of Orion?

      English Standard Version “Can you bind the chains of the Pleiades or loose the cords of Orion?

      Berean Standard Bible Can you bind the chains of the Pleiades or loosen the belt of Orion?

      King James Bible Canst thou bind the sweet influences of Pleiades, or loose the bands of Orion?

      New King James Version “Can you bind the cluster of the Pleiades, Or loose the belt of Orion?

  9. Feb 2023
  10. Oct 2022
    1. Unlike many manuals on note taking, Goutor suggest a few methods of note categorization beyond adding typical headwords. These include adding top or side edge notches using a paper punch, colored cards, or adding colored flags. However he does note some potential problems and limitations of these methods including being cumbersome or limiting (by colors available, for example). (p31-32)

  11. Sep 2022
    1. 400 Bad Request is the status code to return when the form of the client request is not as the API expects.401 Unauthorized is the status code to return when the client provides no credentials or invalid credentials.403 Forbidden is the status code to return when a client has valid credentials but not enough privileges to perform an action on a resource.
  12. Aug 2022
    1. https://occidental.substack.com/p/the-adlernet-guide-part-ii?sd=pf

      Description of a note taking method for reading the Great Books: part commonplace, part zettelkasten.

      I'm curious where she's ultimately placing the cards to know if the color coding means anything in the end other than simply differentiating the card "types" up front? (i.e. does it help to distinguish cards once potentially mixed up?)

    1. Launched in 1924, Penguin paperbacks were designed to be affordable and easy to carry. Penguin founder Allen Lane wanted to make quality literature accessible to everyone. Today, vintage Penguins can be picked up cheaply and are easy to find. They also look impressive on any bookshelf thanks to their color scheme. Orange for fiction, green for crime, pink for travel and adventure, dark blue for biographies and memoirs, red for drama, purple for essays, and yellow for miscellaneous.
    1. level 1averyswellidea · 15 hr. agoI’ve opted for putting quotes on a different colored paper in the main box. This way they appear in the context of topic I related them to. I’m using green slips for Bible quotes and grey slips for everything else (books, websites, videos, etc.). As I come upon them later, it’s clear where they came from so I don’t mistake someone else’s brilliance (or the Word of God) for my own drivel.

      https://www.reddit.com/r/antinet/comments/wuey71/when_taking_bib_notes_what_do_you_do_with_quotes/

      This is a clever use of color in a zettelkasten.

      What other uses of color as indicators or for memory would be useful?


      The use of color to distinguish the word of God over his own drivel is particularly hilarious!

  13. Jul 2022
  14. Jun 2022
    1. After losing the Civil War, Southern states quickly adopted the Black Codes, laws designed to reestablish white supremacy by dictating what the freedmen could and couldn’t do. One common provision barred blacks from possessing firearms. To enforce the gun ban, white men riding in posses began terrorizing black communities. In January 1866, Harper’s Weekly reported that in Mississippi, such groups had “seized every gun and pistol found in the hands of the (so called) freedmen” in parts of the state. The most infamous of these disarmament posses, of course, was the Ku Klux Klan.
  15. May 2022
  16. Apr 2022
  17. Mar 2022
    1. https://www.linkedin.com/pulse/incorrect-use-information-theory-rafael-garc%C3%ADa/

      A fascinating little problem. The bigger question is how can one abstract this problem into a more general theory?

      How many questions can one ask? How many groups could things be broken up into? What is the effect on the number of objects?

  18. Feb 2022
  19. Jan 2022
    1. "The basic principle behind REST status code conventions is that a status code must make the client aware of what is going on and what the server expects the client to do next"
    2. You can fulfill this principle by giving answers to the following questions:Is there a problem or not?If there is a problem, on which side is it? On the client or on the server side?If there is a problem, what should the client do?
    3. Now, assume your client attempts to access a resource that it MUST NOT access at all, for example, because it belongs to another user. What status code should your API return? Should it return a 403 or a 401 status code?You may be tempted to return a 403 status code anyway. But, actually, you can't suggest any missing permission because that client has no way to access that resource. So, the 403 status code gives no actual helpful information. You may think that returning a 401 status code makes sense in this case. After all, the resource belongs to another user, so the request should come from a different user.However, since that resource shouldn't be reached by the current client, the best option is to hide it.
    4. Let's explore a different case now. Assume, for example, that your client sends a request to modify a document and provides a valid access token to the API. However, that token doesn't include or imply any permission or scope that allows the client to perform the desired action.In this case, your API should respond with a 403 Forbidden status code. With this status code, your API tells the client that the credentials it provided (e.g., the access token) are valid, but it needs appropriate privileges to perform the requested action.
    1. The difference is what the server expects the client to do next.
    2. Send a 302 to your login-page

      That's typically what people do, isn't it.

      That answers the question "how do we best instruct the user agent to take the next step that is required". And maybe a redirect is in fact the best answer.

      See https://hyp.is/mDvXsHoxEeyHC0Ol9HE3CA/stackoverflow.com/questions/3297048/403-forbidden-vs-401-unauthorized-http-responses

    3. Checks are usually done in this order: 404 if resource is public and does not exist or 3xx redirection OTHERWISE: 401 if not logged-in or session expired 403 if user does not have permission to access resource (file, json, ...) 404 if resource does not exist or not willing to reveal anything, or 3xx redirection
    4. +----------------------- | RESOURCE EXISTS ? (if private it is often checked AFTER auth check) +----------------------- | | NO | v YES v +----------------------- 404 | IS LOGGED-IN ? (authenticated, aka user session) or +----------------------- 401 | | 403 NO | | YES 3xx v v 401 +----------------------- (404 no reveal) | CAN ACCESS RESOURCE ? (permission, authorized, ...) or +----------------------- redirect | | to login NO | | YES | | v v 403 OK 200, redirect, ... (or 404: no reveal) (or 404: resource does not exist if private) (or 3xx: redirection)
    1. Moving my (web) reading list to sticky notes because I never remember to check it on my computer.

      Wall with stickie note sized print outs taped to it. They contain a QR code, presumably linking to the thing they want to read with a Title and author below it.

  20. Dec 2021
  21. Nov 2021
    1. The censoriousness, the shunning, the ritualized apologies, the public sacrifices—these are rather typical behaviors in illiberal societies with rigid cultural codes, enforced by heavy peer pressure.

      I'd highlighted this from a pull quote earlier, but note that the full context also includes the phrase:

      enforced by heavy peer pressure.

    2. The censoriousness, the shunning, the ritualized apologies, the public sacrifices—these are typical behaviors in illiberal societies with rigid cultural codes.
  22. Sep 2021
    1. By power, I mean the ability to do things to people without their consent or even awareness.

      Avoid using a patronizing tone!

  23. Jun 2021
  24. May 2021
    1. The job of this function is to return a { status, headers, body } object representing the response, where status is an HTTP status code: 2xx — successful response (default is 200) 3xx — redirection (should be accompanied by a location header) 4xx — client error 5xx — server error
  25. Feb 2021
    1. Now this probably won't make difference in the real world (e.g. because the exit codes are not portable and on top of that not always unambiguous as discussed in Default exit code when process is terminated?)
    1. However, because so many shells follow that convention of having 128 + signal_number, programs know to avoid using those values above 128 for their exit code (or when they do exit(130), it's to report the death of a child that dies of a signal 2 like some shells do under some circumstances).
  26. Nov 2020
    1. All browers handle 302 incorrectly. Chrome 30, IE10. It became the de facto incorrect implementation; that cannot be changed because so many web-sites issue mistakenly issue 302. In fact ASP.net MVC incorrectly issues 302, depending on the fact that browsers handle it incorrectly.
  27. Aug 2020
    1. Yeah, so I believe what we want is.. If an action has no templates defined at all, AND it has no respond_to { ... } block, then it should do a 204 If an action has certain templates defined, AND it has no respond_to { ... } block, then it should do a 406 for formats with no templates If an action has a respond_to { ... } block, then it should do a 406 for formats not in the list
  28. Apr 2020
    1. “What other framework has integrated support for 786 TRY IT NOW ?”

      I couldn't find documentation of what this is referring to. Is it a custom HTTP status code?

      https://falcon.readthedocs.io/en/stable/api/status.html mentions

      HTTP status line, e.g. ‘748 Confounded by Ponies’. but not 786.

  29. Dec 2019
    1. I understand that GitHub uses "Not Found" where it means "Forbidden" in some circumstances to prevent inadvertently reveling the existence of a private repository. Requests that require authentication will return 404 Not Found, instead of 403 Forbidden, in some places. This is to prevent the accidental leakage of private repositories to unauthorized users. --GitHub This is a fairly common practice around the web, indeed it is defined: The 404 (Not Found) status code indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists. --6.5.4. 404 Not Found, RFC 7231 HTTP/1.1 Semantics and Content (emphasis mine)
  30. Sep 2019
    1. This slave code shows that this piece of legislation was used to allow slave owners to promote the spread of christianity while still maintaining ownership over their slaves. Also perhaps a select view people were baptizing slaves in order to try to circumvent laws and this was a way to prevent this from happening. This also perpetuates the idea that identity of being slave is passed down via the mother and this cannot be changed.

  31. Sep 2018
  32. Jun 2017
  33. Sep 2016