169 Matching Annotations
  1. Jan 2024
    1. Using an issue tracker without them is, in my opinion, a little like using an outlining program that only supports two levels of nesting, or like using Wiki software that doesn't have the concept of reverse links. Makes me sad!
  2. Dec 2023
    1. because the value isn't there yet. A promise is just a marker that it will be available at some point in the future. You cannot convert asynchronous code to synchronous, though. If you order a pizza, you get a receipt that tells you that you will have a pizza at some point in the future. You cannot treat that receipt as the pizza itself, though. When you get your number called you can "resolve" that receipt to a pizza. But what you're describing is trying to eat the receipt.
    1. we're on the highway to climate hell with our foot on the accelerator and he completely right 00:33:33 apart from one thing right
      • for: climate crisis - analogy

      • climate crisis - analogy

        • We're on a highway to the cliff
        • our foot is on the accelerator
        • the ruling class is driving
        • we are bound and gagged in the boot
        • we have to
          • work together to untie ourselves,
          • break through the front seat,
          • remove the driver,
          • take control of the steering wheel and brakes and
          • avoid driving over the cliff edge
    1. does your scholarship suggest why so many societies do that rather than 00:20:09 saying maybe we start with a Declaration of Human Rights today maybe we write a new one from scratch based on what we know today um because it's very difficult to reach an agreement between a lot of 00:20:21 people and also you know you need to base a a a a real Society is something something extremely complex which you need to base on empirical experience 00:20:34 every time that people try to create a completely new social order just by inventing some Theory it ends very badly you need on yes you do need the ability 00:20:46 to change things a long time but not too quickly and not everything at once so most of the time you have these founding principles and shr find in this 00:20:58 or that text also orally it doesn't have to be written down and at least good societies also have mechanisms to change it but you have to start from some kind 00:21:12 of of of of social consensus and some kind of of social experience if every year we try to invent everything from scratch then Society will just collapse
      • for: insight - creating new social norms is difficult

      • insight

        • creating new social norms is difficult because society is complex
        • society adheres to existing social norms. Adding something new is always a challenge
        • social norms are like the rules of a game. If you change the rules too often, it doesn't work. Society needs stable rules.
      • analogy: changing social norms, sports

        • changing social norms is difficult. Imagine changing the rules off a sports competition each time you play.
  3. Sep 2023
    1. A good analogy for your email reputation is your personal credit score. Obviously, a bad reputation will hurt you. However, not having a reputation will also hurt you. If ESPs don’t know you (or more specifically your IP and domain) they will assume the worst and filter you, at least initially. It’s tough to blame them given all the spam out there. Due to the importance of reputation, a significant portion of our discussion on best practices revolves around building and maintaining your email reputation.
  4. Jun 2023
    1. Certainly you could adapt the code to round rather than truncate should you need to; often I find truncation feels more natural as that is effectively how clocks behave.

      What do you mean exactly? Compared clocks, or at least reading of them. What's a good example of this? If it's 3:55, we would say 3:55, or "5 to 4:00", but wouldn't probably say that it's "3".

  5. Dec 2022
    1. I was thinking this morning how House Church is much like a wagon train going across the wilderness. By the time you get to your destination, you know everything about everyone on that train. You help each other and protect each other and become bonded together. The institutional church is like a high-speed bullet train. It's more comfortable, more efficient and takes you the same distance in a shorter amount of time. Also you have barely enough time to get acquainted with 1 or 2 people.
  6. Nov 2022
    1. The term zombie process derives from the common definition of zombie — an undead person. In the term's metaphor, the child process has "died" but has not yet been "reaped". Also, unlike normal processes, the kill command has no effect on a zombie process.
  7. Sep 2022
    1. I have a simple coding principle: write lines of code as though instructing a real person how to do the job. And that naturally expands to designing and modelling systems like real organisations with their own divisions, departments, branches, and all the various “job positions” that need to be filled. Make the whole system appear as human as possible.
    1. In the article, "The New Normative: Queer Politics in The Outs," author John Sherman, a freelance writer from Brooklyn, implores reader's to give credit to show's casually- revolutionary representation of queer characters. Sherman indicates to reader's that this is a rarely great representation for its time (2012) because it gives gay characters a non-stereotypical story line. It allows it's characters to be people who just happen to be gay. In just the pilot episode, it's not hard to see this truth. With the first four queer male characters being introduced, they all have different characteristics, priorities, and dynamics with eachother that don't center around their gayness. This gives a depth to the queer character being represented without relying on the fact that their gay to do so. I think that the positive reaction to this show bodes very well for the style of queer representation being presented and will hopefully inspire more writing and content making of this kind which non-chalently gives a voice gay to story lines in a relatable- human way instead of a stereotypical and tokenising way.

      I believe that Shitt's Creek also does this fairly well. Although I've only seen a couple episodes myself- I saw the character of David as a complete person and story line not defined by his gayness or partner choices although it is an obvious part of his identity.

  8. Aug 2022
    1. Roots growing along the surface of the soil is equivalent to an exposed nerve: they are not protected from the environment.
  9. Apr 2022
    1. The backslash character does not concatenate any strings. It prevents the line-break from meaning that those two lines are different statements. Think of the backslash as the opposite of the semicolon. The semicolon lets two statements occupy one line; the backslash lets one statement occupy two lines.
    2. Think of the backslash as the opposite of the semicolon. The semicolon lets two statements occupy one line; the backslash lets one statement occupy two lines.
    1. In that line, if two loaders manage files that translate to the same constant in the same namespace, the first one wins, the rest are ignored. Similar to what happens with require and $LOAD_PATH, only the first occurrence matters.
    2. Think the mere existence of a file is effectively like writing a require call for them, which is executed on demand (autoload) or upfront (eager load).
    1. infer is there to say you know you are declaring a new type (in the conditional type's scope) - much like you have to write var, let or const to tell the compiler you know you're declaring a new variable.
  10. 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:

  11. Nov 2021
    1. For example, if we had a room of tall people wearing hats, and another room of Spanish speakers wearing hats, after combining those rooms, the only thing we know about every person is that they must be wearing a hat.
  12. Sep 2021
    1. A plugged vent gives the effect of pouring milk from a jug. Without proper air flow and ventilation, the milk chugs in starts and stops while leaving the jug.
    2. So I told my helper, smart as a whip, if you pour a bottle from slightly above flat, the liquid flows smoothly, but if you tip the bottle up, it glucks.
  13. Jul 2021
  14. Jun 2021
    1. instance_eval is analogous to using tap, yield_self, … when you are dealing with a chain of method calls: do use it whenever it's appropriate and helpful! And in this case, I absolutely believe that it is.
  15. May 2021
  16. Apr 2021
    1. Graceful Explosion Machine is the gaming equivalent of empty calories. It's pretty to look at, super smooth, and has some interesting weapons, but there's no real hook to keep you sustained beyond the act of moving around and blowing up aliens.
    1. A falsey return value from #validate will deviate the flow and go straight to End.fail_fast.

      Similar to: How, in Rails, aborting a before_action causes all later ones to be skipped.

  17. Mar 2021
    1. In computer science, a tree is a widely used abstract data type that simulates a hierarchical tree structure

      a tree (data structure) is the computer science analogue/dual to tree structure in mathematics

    1. Have you ever played the game 20 questions? Most of us have played that game at one point in our lives. One person thinks of something that could be an animal, vegetable, or mineral and then they answer yes/no questions that are asked of them. The point of the game is to ask as few questions as possible in order to accurately guess what the person is thinking.  This is how I think of the unit tests that I write the specified behavior as I’m doing test-first development. I ask what are the fewest tests that I need to write in order to assert the behavior I want to create.
    1. we used `backticks` to jump into native Javascript to use moment.js

      In regular Ruby, `` executes in a shell, but obviously there is no shell of that sort in JS, so it makes sense that they could (and should) repurpose that syntax for something that makes sense in context of JS -- like running native JavaScript -- prefect!

    1. You can't just use arbitrary pseudo selectors and expect it work. It's like me trying to speak Spanish in Japan and expecting japanese people to understand what I'm saying
  18. Feb 2021
  19. www.metacritic.com www.metacritic.com
    1. The cars handling can be best explained as "its like steering a drunk sailor on a boat."
    1. We removed the trailblazer-loader gem just like Apple removed the headphone jack from the iPhone 6. This brings you faster startup and consistency with Rails autoloading.
    1. If ActiveModel deals with your nouns, then ActiveInteraction handles your verbs.

      It's a good analogy, but I think it's misleading/confusing/unclear/incorrect, because parts of ActiveInteraction are ActiveModel, so I guess ActiveInteraction deals with your nouns too?

    1. The central ideas of this design pattern closely mirror the semantics of first-class functions and higher-order functions in functional programming languages. Specifically, the invoker object is a higher-order function of which the command object is a first-class argument.
    1. Proponents theorize that memes are a viral phenomenon that may evolve by natural selection in a manner analogous to that of biological evolution.
    1. the 2 hardest problems in computer science are essentially the 2 hardest problems of life in general, as far as humans and information are concerned.
    2. you began by first finding out if your crush was already in a relationship. If so, you then did what you could in your power to have the most most up-to-date information on their relationship status. The downside of outdated data is self-evident: you want to move in at the first sign of the current relationship dissolving.
    1. the difference is exactly like block and inline-block ... if you use inline-grid with sibling elements they will be placed in the same line unlike grid ... so here you change to grid also since each element is inside a grid area alone
    1. It’s kind of like putting a SIM card in a cell phone – the SIM card tells that phone, “Hey, you work with this particular phone number now.” Just like you can switch out a phone’s SIM card and make the phone work with a different phone number, your domain can be set to work with a different web hosting service.
  20. Jan 2021
    1. Companies have slogans for the same reason they have logos: advertising. While logos are visual representations of a brand, slogans are audible representations of a brand. Both formats grab consumers' attention more readily than the name a company or product might. Plus, they're simpler to understand and remember.
    2. In many ways, they're like mini-mission statements.
    1. It’s something that we’re already used to do naturally with HTML elements. Let’s demonstrate how using the <slot> component works by building a simple Card component
    1. but you're probably better off learning a bit more about APT and resolving the dependency issues "by hand" by installing and removing packages on a case-by-case basis. Think of it like fixing a car... if you have time and are handy with a wrench, you'll get some peace of mind by reading up and doing the repair yourself. If you're feeling lucky, you can drop your car off with your cousin dist-upgrade and hope she knows her stuff.
  21. Dec 2020
    1. The problem with using a custom syntax like {#slot} is that we lose the parallel that already exists with native (custom elements) <slot />, and where slot="name", like Svelte currently, also has to be assigned to an element (e.g. <div slot="name">).
  22. Nov 2020
    1. if the magnetic tape remains tightly wound, you can’t read the information on the cassette. Epigenetics works by unspooling the tape, or not, to control which genetic instructions are carried out. In epigenetic inheritance, the DNA code is not altered, but access to it is.

      An interesting way to describe epigenetics. It is like magnetic tape on a cassette, you have to unwind it to be able to read its content. Epigenetics, by analogy would be controlling the spooling of the DNA for accessibility.

    1. It is hard to appreciate how important really fast (and reliable) hot reload can be during development, unless you have experienced it yourself. Developers report that it changes the way they create their apps, describing it as being like painting their app to life.
    2. (not quite the same as totalitarian leaders in the novel 1984 expunging heretical words from natural language to eliminate thoughtcrimes, but you get the idea)
    1. That is, if Company A owns 80% or more of the stock of Company B, Company A will not pay taxes on dividends paid by Company B to its stockholders, as the payment of dividends from B to A is essentially transferring cash from one company to the other.
    1. Can a pressure washer freeze? It’s easy to think of these as weed wackers instead of plumbing.  Just throw it in the shed  until next spring.  But your weed eater and lawn mower don’t have any water in them.
    1. The rule is written @forward "<url>". It loads the module at the given URL just like @use, but it makes the public members of the loaded module available to users of your module as though they were defined directly in your module. Those members aren’t available in your module, though—if you want that, you’ll need to write a @use rule as well.

      Just like how you have to also import (@use) a JS module if you want to use it locally, even if you export (@forward) it.

  23. Oct 2020
    1. You can think of this as a single speaker talking at a microphone in a room full of people. Their message (the subject) is being delivered to many (multicast) people (the observers) at once.
    1. For years, I’ve shared with friends and clients what I call the bunny theory of code. The theory is that code multiplies when you’re not looking, not unlike bunnies that tend to multiply when you’re not looking.
    1. And if they are a technical debt - how do measure up how much you can borrow so you can afford the repayments?
    2. debt ... which is not a straight bad thing but something that could provide some "short term financing" get us to survive the project (how many of us could afford to buy a house without taking out the mortgage?).
    3. But recently I started to think about default values as some sort of a technical debt ... which is not a straight bad thing but something that could provide some "short term financing" get us to survive the project
    1. Indeed, this simple contract is very close to that of an ob­serv­able, such as those provided by Rxjs. set is basically equiv­a­lent to next in the ob­serv­able world.
    2. $: for watching de­pen­den­cies in ex­pres­sions, a much more concise useEffect, if React is familiar.
  24. Sep 2020
    1. Sodium and salt are not synonymous. Police are usually present at holdups, but they are not the robbers.
    1. Allow creating custom components with the same abilities as native dom. By all means keep the same level of encapsulation, don't push class on components, but allow a component to mark the class property or another as a CSS Class property, in which case you could pass it through the same transformation that native elements go through
    1. you may specify only the form state that you care about for rendering your gorgeous UI. You can think of it a little like GraphQL's feature of only fetching the data your component needs to render, and nothing else.
    1. So a template is just like an each block, except all instances don't have to be in the one spot Pick your reaction
    1. The custom code "fills in the blanks" for the framework, such as supplying a table of menu items and registering a code subroutine for each item
    1. Ignoring React you can think of these two native functions as mounting: replaceChild appendChild Which are likely the most common functions React uses to mount internally.
  25. Aug 2020
    1. Stallman has also stated that considering the practical advantages of free software is like considering the practical advantages of not being handcuffed, in that it is not necessary for an individual to consider practical reasons in order to realize that being handcuffed is undesirable in itself.
  26. Jul 2020
    1. A typical tagline is short -- many are seven words or less – and you can think of it as a linguistic counterpart to your company’s logo.
    1. My own happiness has been trampled under foot; my own love has been torn from me. Shall I live to see a happiness of others, which is of my making–a love renewed, which is of my bringing back? Oh merciful Death, let me see it before your arms enfold me, before your voice whispers to me, “Rest at last!”

      Although this is a very sweet sentiment made by Ezra, it hints to a sadder truth that Ezra just wants to do good but suffers under the judgement of people due to his addiction. Drugs have been just as much (perhaps more) of a curse to Ezra as the Diamond has been for the characters in this story.

    1. it is also coherent with the + operator, which has a similar concat method

      Not the best comparison since concat changes the receiver (as debated in https://bugs.ruby-lang.org/issues/14097). But I guess that's the closest non-operator analogue for + that is available...

  27. Jun 2020
    1. In many ways, though, mathematicians treat the problems they are attempting to solve—problems that require highly specialized background and sophisticated thinking and technique—in much the way that non-mathematicians treat puzzles.
    1. It is as though the Big Bad Wolf, after years of unsuccessfully trying to blow the brick house down, has instead introduced a legal framework that allows him to hold the three little pigs criminally responsible for being delicious and destroy the house anyway. When he is asked about this behavior, the Big Bad Wolf can credibly claim that nothing in the bill mentions “huffing” or “puffing” or “the application of forceful breath to a brick-based domicile” at all, but the end goal is still pretty clear to any outside observer.
  28. May 2020
    1. Related concepts in other fields are: In natural language, the coordinating conjunction "and". In programming languages, the short-circuit and control structure. In set theory, intersection. In predicate logic, universal quantification.

      Strictly speaking, are these examples of dualities (https://en.wikipedia.org/wiki/Duality_(mathematics))? Or can I only, at strongest, say they are analogous (a looser coonection)?

    1. IT operations management (ITOM, partially analogous to Monitor)
    2. IT automation and configuration management (ITACM, analogous to Configure)
    3. automated software quality (ASQ, partially analogous to Verify, Package and Release)
    1. By putting our data in the corporate cloud, we are that kid. We are giving corporations and governments a way to see where we are looking towards, and they can predict our future and decide whether and how to intervene or subvert.
    2. I try to explain it to folks we work with using simple real-world analogies. Imagine you’re in a room with a newly ambulatory toddler who has just locked their sights into something, you can see their eyes, and you know their future and where they are heading in the minutes ahead.
    1. The SVG viewBox is very similar to the viewport, but it can also pan and zoom like a telescope
    2. Building on the “looking through glass” analogy, if the viewport is like a window, the viewBox is like a telescope.
    1. The equivalent practice in the consumer market is that of out-of-warranty appliances, where the customer can pay for repairs as needed (break/fix) or they can buy an extended warranty (managed services).
    1. Much like a retailer giving a customer a cash register receipt as a personal record of a purchase transaction, an organization using CR 1.0 will create a record of a consent transaction and give it to the individual. This transaction record is called a consent receipt.
  29. Apr 2020
    1. Finally, from a practical point of view, we suggest the adoption of "privacy label," food-like notices, that provide the required information in an easily understandable manner, making the privacy policies easier to read.
    1. Now, if we think of the tasks that we perform throughout the day as consuming separate "bands" of time, then the term makes perfect sense. Being "out of bandwidth" would indicate that you do not have enough unallocated "bands of time" in your day to complete the task. Using the term bandwidth to describe time maps more closely (in my opinion) to the original definition, than the current definition describing data capacity does.
    1. This isn't asking about which of the person's 500 doors was left unlocked, rather it's asking me to put the actual keys for over a billion doors up into a publicly accessible location with nothing other than my own personal best efforts to keep them safe.
    1. Traditional annotations are marginalia, errata, and highlights in printed books, maps, picture, and other physical media
    1. Graphemes are often notated within angle brackets: ⟨a⟩, ⟨B⟩, etc.[8] This is analogous to both the slash notation (/a/, /b/) used for phonemes, and the square bracket notation used for phonetic transcriptions ([a], [b]).
    1. Now that he had no work to hold, he laid the knuckles of the right hand in the hollow of the left, and then the knuckles of the left hand in the hollow of the right, and then passed a hand across his bearded chin, and so on in regular changes, without a moment's intermission. The task of recalling him from the vagrancy into which he always sank when he had spoken, was like recalling some very weak person from a swoon, or endeavouring, in the hope of some disclosure, to stay the spirit of a fast-dying man. “Did you ask me for my name?” “Assuredly I did.” “One Hundred and Five, North Tower.” “Is that all?” “One Hundred and Five, North Tower.”

      Maybe the shoemaker had forgotten his name from prison?

  30. Mar 2020
    1. Imagine an associate with a photographic memory and excellent pattern recognition who digested and analyzed millions of cases. Would you want that associate working for you for less than the price of one typical billable hour every month?
    2. Humans can no longer compete with AI in chess. They should not be without AI in litigation either.
    3. Just as chess players marshall their 16 chess pieces in a battle of wits, attorneys must select from millions of cases in order to present the best legal arguments.
    1. we have anxious salarymen asking about the theft of their jobs, in the same way that’s apparently done by immigrants
    2. gave rise to human-powered flying machines, as though all creatures are made of essentially the same organic mechanics
    1. When you visit your favorite online store, you expect the items you add to your shopping cart to still be in your shopping cart when you check out. Cookies make that happen. If you opted out of those cookies, you would, in essence, be opting out of the very reason you went to that site in the first place. Asking a customer if they want to allow cookies to make their shopping cart work would be like asking them if they want the thread to keep their shirt together.