74 Matching Annotations
  1. Nov 2022
  2. Oct 2022
    1. Null object doubles

      as_loose_object or as_black_hole or allow_any_message would have been better names.

      "null" makes it sound like nil, which you can't send any (almost) message to! So it sounds like it does the opposite (disallows random messages) of what it does (allows random messages).

  3. Aug 2022
    1. Anthony Costello. (2022, February 24). The risks of cognitive symptoms lasting at least 12 MONTHS were much higher in the infected group. 4.8x higher for fatigue, 3.2x for brain fog, 5.3x for poor memory, and an incredible 51x for altered taste and smell. We need data on children, but it could easily be similar. (17) https://t.co/JC1qYyW2Xc [Tweet]. @globalhlthtwit. https://twitter.com/globalhlthtwit/status/1496957266016313348

  4. Jul 2022
    1. ; until, in 1907, eachclass had come to be dealt with according to principles which wereobviously very different from those of 1834. The report of this investi¬gation was presented to the Poor Law Commission, with the interest¬ing result that we heard no more of the “ principles of 1834 ”! It wassubsequently published as English Poor Law Policy (1910).

      Beatrice Webb studied the effects of the British "principles of 1834" and how they were carried out (differently) from area to area to see the overall effects through 1907. The result of her study apparently showed what a poor policy it had been to the point that no one mentioned the old "principles of 1834" again.

      How might this sort of sociological study be carried out on the effects of laws within the United States now in terms of economics and equality for various movements like redlining, abortion, etc.? Is anyone doing this sort of work?


      There is an example of the Eviction Lab at Princeton has some of this sort of data and analysis. https://evictionlab.org/map

  5. Feb 2022
  6. Jan 2022
    1. Next, let’s say that your ticket is correct (so you made through security just fine!) and the gate number in your ticket says “Gate 24” but you walk to Gate 27. The attendant cannot authorize you to go through that gate because it’s not the right gate for your ticket.

      They have these mixed up! (Which is understandable, because 401 is misnamed "Unauthorized but should be named "Unauthenticated")

      Checking if authenticated (which, if it fails the check, should return 401 for authentication error) comes first,

      and then checking if authorized (which, if it fails the check, should return 403 for authorization error)

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

    2. If the ticket is incorrect or damaged, you cannot even go through the airport security: when they check your ticket, it will be refused. You are Forbidden to enter the boarding area of the airport.

      It depends what we mean by "incorrect"/damaged "credentials ("ticket")...

      A. If they are invalid or incorrect in the sense that we can't authenticate them as anyone (as it sounds like you mean with "incorrect" or "damaged") (they're not a user in our database or the password doesn't match a user in our database), then you should actually use 401, meaning that the client can/should try (again) to authenticate with different credentials.

      B. But if by "incorrect" you mean (as it sounds like you mean with "you cannot even go through the airport security: when they check your ticket, it will be refused") that the credentials were valid enough to authenticate you as someone (a user in our database), but that (known( user has insufficient credentials, then correct, it should be a 403 forbidden.

      It's even easier to explain / think about if you just think of 401 as being used for any missing or failed authentication. See:

    1. Your character feels nigh impossible to control - you move very very fast, but if youre in the air, you dont stop moving the moment you stop holding a direction, so you have to constantly cancel out your momentum to stop, but if you dont do it perfectly you suddenly fly in the other direction
  7. Dec 2021
  8. Oct 2021
  9. Sep 2021
  10. Aug 2021
    1. Some details of my example were originally poorly chosen i.e. the example was constructed in a way that developer would probably have done a null check rather than a typeof comparison. I've addressed that now. My apologies to anyone who read this before-hand and thought the example seemed a bit too "fabricated".
  11. Jul 2021
  12. Jun 2021
    1. In the context of git, the word "master" is not used in the same way as "master/slave". I've never known about branches referred to as "slaves" or anything similar. On existing projects, consider the global effort to change from origin/master to origin/main. The cost of being different than git convention and every book, tutorial, and blog post. Is the cost of change and being different worth it? PS. My 3 projects were using your lib and got broken thanks to the renaming. PS. PS. I'm glad I never got a master's degree in college!
  13. May 2021
    1. Prof. Devi Sridhar on Twitter: “Feel nauseous watching this testimony. It’s what we all could piece together was happening in No.10 & in SAGE, but to hear it directly and to re-live those weeks is just astonishing. How many lives could have been saved? How much of the harsh domestic restrictions were avoidable?” / Twitter. (n.d.). Retrieved May 27, 2021, from https://twitter.com/devisridhar/status/1397507437951922180

    1. But in the dark world of HTML email, where the motto is "code like it's 1996" because Outlook uses the rendering engine from MS Word and Gmail removes almost everything, every method for making two elements overlap that I can think of is unsuitable due to poor client support
  14. Apr 2021
    1. This might be exciting if the photography was better, but as it is, it's a simple concept cheaply implemented.
  15. Mar 2021
    1. In the simple biology example, dog is a hypernym and Fido is one of its hyponyms. A word can be both a hyponym and a hypernym. For example, dog is a hyponym of mammal and also a hypernym of Fido.

      I wish they hadn't used tokens/objects in this example. Wouldn't it be just as clear or clearer if they had stuck to only comparing types/classes?

      It may be okay to mix them like that in some contexts, but in other cases it seems like this would be suffering from ignoring/conflating/[better word?] the Type–token distinction.

      Does linguistics just not make the https://en.wikipedia.org/wiki/Type%E2%80%93token_distinction ?

      This statement seems to reinforce that idea:

      words that are examples of categories are hyponyms

      because an example of a category/class/type could be either a sub-class or an instance of that category/class/type, right?

    1. For instance English has a domain ‘Rain’, which includes words such as rain, drizzle, downpour, raindrop, puddle.

      "rain" seems more like a semantic field — a group of very related or nearly synonymous words — than a semantic field.

      Esp. when you consider the later example of basketball (https://hyp.is/ynKbXI1BEeuEheME3sLYrQ/en.wikipedia.org/wiki/Semantic_domain) and coffee shop, which are more like the sense of "field" that means (academic/scientific/etc.) discipline.

  16. Feb 2021
    1. The press will tell you that "the concept" is great but the execution is bad. What should I tell you? The experience is shallow. The game is mediocre. But listen carefully, when a game is mediocre and can't even make you feel something then it's the worst kind of gaming. I will give it a 4 out of 10. You know, if this was a test in a school then this game should be marked D (someone answered a few questions, but overall missed the point). I understand that many people care about the "concept" of this game, but why if the experience is just... not here. I'm talking about the experience becaus We. The Revolution tried to be an actual experience. And it fails so badly.
  17. Jan 2021
    1. Great, I can use vw to scale text so it doesn't look puny on a desktop! Perfect... Oh. Huh, now the text is too small to read when viewed on a phone. Okay, well I can just use "max(x,y)" to make sure it doesn't get shrunk beyond a minimum size. Perfect... Oh. Hmm. Looks like "max" isn't supported properly by Chrome. Okay, well guess I'll just use "px" again.
  18. Dec 2020
    1. Really sucks if they don't give us our money back for this game.
    2. I am having the same problem... Contacted Nintendo support and they said they cannot guarantee that I will be able to get a refund for this game that doesn't work.
  19. Nov 2020
    1. However, those descriptors gave a bit too much flexibility/dynamism to the class shape in order to be efficiently optimizable.

      I think this:

      However, those descriptors gave a bit too much flexibility/dynamism to the class shape in order to be efficiently optimizable.

      means:

      However, because those descriptors were gave so much too much flexibility/dynamism to the class shape, it could not be be efficiently optimized.

      rather than:

      In order to be efficiently optimizable, those descriptors gave much flexibility/dynamism to the class shape.

      In other words that flexibility/dynamism hindered optimization; it wasn't for the purpose of optimization (as "in order to be" could be interpreted as).

      The "too much" wording also contributed to the confusion for me.

      But maybe just dropping "in order" would have been enough for me:

      However, those descriptors gave a bit too much flexibility/dynamism to the class shape to be efficiently optimizable. or However, those descriptors gave a bit too much flexibility/dynamism to the class shape for them to be efficiently optimizable.

  20. Oct 2020
    1. At some point, a few years ago I even wrote a script to concatenate all source files and erase all import statements. A poor-mans module bundler just to get a grip on the module loading order.
  21. Sep 2020
    1. Svelte offers an immutable way — but it’s just a mask to hide “assignment”, because assignment triggers an update, but not immutability. So it’s enough to write todos=todos, after that Svelte triggers an update.
  22. Aug 2020
  23. Jun 2020
  24. May 2020
    1. of, relating to, or being a grammatical case or form expressing means or agency

      I really need an example of this!

      It seems unusual that they specifically mention "a grammatical case or form". I've never seen a definition before that is anything like this one.

      How is this different from definition 1?

    1. to bypass work

      What does "work" mean here? I think maybe they mean to bypass profiling?

    1. In algebra, for some set S together with an operation ⋆ {\displaystyle \star } to form a group, it is necessary that ⋆ {\displaystyle \star } be associative.

      Seems like a simpler example (of individually necessary and jointly sufficient) that is easier to follow could be found.

  25. Apr 2020
  26. Jul 2019
    1. It is the luxurious and dissipated who set the fashions which the herd so

      This is very true. Celebrities are huge trend-setters and with social media, their influence is more powerful. Why are people so quick to jump on the trends and follow them so diligently? Why do we try to be like the "luxurious and dissipated" and give them authority to influence? Overindulgence does not lead to more happiness. In the end, the rich and poor have the same fate. We do not carry our riches to the grave.

  27. Apr 2019
    1. The Javits Center is often used by urbanists as an example of the perils of inhumane design. The unused and un-policed periphery attracts crime and vagrancy while its one entrance opens upon an eight lane street. This combination means that most conference attendees hire a taxi to ferry them to a more hospitable neighborhood.

      This is an excellent example of creation without context, particularly use by target populations. Walkability was so poor that it negatively affected the area.

    2. The only way to reach the Public Square promenade from the street is to climb three flights of stairs onto the High Line, then cross a fairly narrow bridge connection. The street level features a large cafeteria, but like the 10th avenue perimeter, the sidewalks are so narrow and the road so heavily trafficked with vehicles that it is unlikely the street can thrive as a public space.

      Examples of why this space is not user-friendly and basically unwalkable. Those designing the space did not consider practicalities like access.

  28. Sep 2017
    1. The first cycle (cycle I) is from 1st to 4th and the second cycle (cycle II), from 5th to 8th. The program includes eleven compulsory subjects: Language and communication Indigenous language (compulsory in schools with high density of indigenous students) Foreign languages ​​(compulsory in cycle II) Mathematics natural Sciences History Geography and Social Sciences Technology Art Physical education Orientation and religion, which the school must offer but is optional for students.

      how many classes they offer--- they offer language classes. do they study english? they also study orientation and religion, so how would religion fit in with sexual orientation?

  29. Jan 2017
    1. 'll write comments along the way about new ideas I got or questions I need to explore further. Then, in the future, I’ll only need to read this document instead of re-reading all the individual papers.