178 Matching Annotations
  1. Sep 2024
    1. it’s time for a deep-dive into Python brokenness and the pain that is POSIX system programming, using exciting and not very convincing shark-themed metaphors!
  2. Aug 2024
    1. ultimately dissociation doesn't really happen it's um it's a model i think it's a an accurate a very useful model but the best way i can i can describe this is using the analogy of going to a 3d imax cinema

      for - metaphor - analogy - dissociation - Bernardo Kastrup - to - 3D imax cinema - localize Rupert Spira - terminology - dissociate - Bernado Kastrup - terminology - localize and contract - Rupert Spira - universal consciousness contracts to finite human consciousness - question - meaning of dissociate - Bernardo Kastrup

      metaphor - analogy - dissociation - Bernardo Kastrup - to - 3D imax cinema - Rupert Spira - At 3d Imax cinema, we wear a pair of special glasses - that make the otherwise fuzzy image to acquire a 3rd dimension - In the same way, our raw universal consciousness is like the fuzzy pattern we see on the 3d Imax screen when we DON'T have any special glasses on - When we perceive and think, it is like putting on the 3D glasses in the Imax theatre and suddenly we see objects with great clarity - Spira talks about universal consciousness "localizing" within its own activity - in the form of a finite mind of a human being

      question - meaning of dissociate - Bernardo Kastrup - Does Kastrup mean that we infinite / universal consciousness dissociates from itself into the finite human consciousness? - answer - It appears so, as at time 45:50, Spira summarizes Kastrup's views on dissociation

  3. Jul 2024
    1. Some have likened anyone being able to issue a verifiable credential being like a shop clerk deciding if they should accept an out-of-state license as proof of age when purchasing alcohol.

      I don't understand. Shouldn't it be comparing to a verifier deciding if it should trust an issuer?

  4. Jun 2024
    1. It's an interesting position and had me rethinking things a bit, but the way I look at it, the actions themselves are negative; it's their boundary conditions which are different. Take for instance embark/disembark. In pseudo-mathematical terms, I would tend to think they increment or decrement one's embarkedness, with an upper boundary of 1 (aboard), and a lower boundary of 0 (ashore). The non-existence of values >1 (super-aboard) or <0 (anti-aboard) shouldn't affect the relative polarity of the actions themselves. I think. Looking through the rest of the list, there's a variety of different boundary conditions. Prove/disprove would range from 1 to -1 (1=proven, 0=asserted but untested, -1=proven false), entangle/disentangle seems to range from 0 to infinity (because you can always be a little more entangled, can't you?), and please/displease is perhaps wholly unbounded (if we imagine that humanity has an infinite capacity for both suffering and joy).
  5. Apr 2024
    1. Getting hooked on computers is easy—almost anybody can make a program work, just as almost anybody can nail two pieces of wood together in a few tries. The trouble is that the market for two pieces of wood nailed together—inexpertly—is fairly small outside of the "proud grandfather" segment, and getting from there to a decent set of chairs or fitted cupboards takes talent, practice, and education.

      This is a great analogy

  6. Mar 2024
    1. Once you’re aware of the suitcase/handle problem, you’ll see it everywhere. People glomonto words and stories that are often just stand-ins for real action and meaning. Advertiserslook for words that imply a product’s value and use that as a substitute for value itself.Companies constantly tell us about their commitment to excellence, implying that this meansthey will make only top-shelf products. Words like quality and excellence are misapplied sorelentlessly that they border on meaningless.
    2. Imagine an old, heavy suitcase whose well-worn handles are hanging by a few threads. Thehandle is “Trust the Process” or “Story Is King”—a pithy statement that seems, on the face ofit, to stand for so much more. The suitcase represents all that has gone into the formation ofthe phrase: the experience, the deep wisdom, the truths that emerge from struggle. Too often,we grab the handle and—without realizing it—walk off without the suitcase. What’s more, wedon’t even think about what we’ve left behind. After all, the handle is so much easier to carryaround than the suitcase.

      Ed Catmull analogizes the idea of pithy business statements and aphorisms as old, heavy suitcases and their handles. It's easy to grab onto the handle and walk of only with it, particularly when the weight and inconvenience of the suitcase and its actual contents are no longer attached. One needs to make sure that their comfortable old suitcase handle is still attached to the case and the valuable, hard-won wisdom of the contents inside.

    1. It's like someone creating a new List and a new Set, printing their size(), and then asking what's the difference. Of course, there is none: The size is 0 for both.
  7. 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!
  8. 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.
  9. 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.
  10. 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".

  11. 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.
  12. 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.
  13. 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.

  14. Aug 2022
    1. Roots growing along the surface of the soil is equivalent to an exposed nerve: they are not protected from the environment.
  15. 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.
  16. 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:

  17. 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.
  18. 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.
  19. Jul 2021
  20. 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.
  21. May 2021
  22. 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.

  23. 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
  24. Feb 2021
  25. 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.
  26. 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.
  27. 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">).
  28. 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.

  29. 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.
  30. 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.
  31. 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.
  32. 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...

  33. 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.
  34. 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.
  35. developer.mozilla.org developer.mozilla.org
    1. The promises of a chain are nested like Russian dolls, but get popped like the top of a stack.
    2. Similarly, .catch() is really just a .then() without a slot for handleFulfilled.
  36. 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.