35 Matching Annotations
  1. Jan 2024
    1. A user wants to comment on a single parameter name in a function. It is highlighted as a unique part of the syntax tree, and they're not happy with the particular name the author of the MR chose. Problem: The user can only comment on the entire line, because "lines" are considered the most fundamental building block in our Diffs UI.
  2. Nov 2023
    1. let's assume that the price of oil uh is at least at the uh 75 range which keeps us out of trouble Keith is at least floating in Alberta maybe even 80 bucks 01:00:56 a barrel maybe even 85 so that we've got some extra money so uh we're going to appoint you and you get to look around for a female and uh 01:01:10 the two of you have to then look around for uh people who are uh indigenous male and female and the four of you are going to be a group and we're going to give you 01:01:22 um uh uh a hundred billion dollars to spend over 10 years which means that you've got uh 10 billion 100 million no we're going to do more 01:01:37 we're going to give you a billion dollars so you've got a hundred million a year and you're going to be able to give it away in 10 million dollar tranches
      • for: interesting idea - project to shift consciousness in Alberta

      • comment

      • interesting idea: project to shift consciousness in Alberta
        • When there is a surplus use it to spend a billion dollars over the next 10 years, 100 million each year given away in 10 million dollar tranches
        • communities of approx. 15,000 people can apply for the 10 million dollar grant to raise consciousness and understand the modernity frame they currently unconsciously live within
        • in order to change the system, you have to first be aware of it and how that system is in you
        • This is an evolutionary experiment because nobody has tried to change a complex system like this before
  3. Jul 2023
    1. The distinction doesn't refer to the files _contents_ but how to the file is _treated_ when it is being read or written. In "rb"/"wb" modes files are left how they are, in "r"/"w" modes Windows programmers get line ends "\r\n" translated into "\n" what disturbs file positions and string lengths.
  4. Aug 2022
  5. Mar 2022
  6. May 2021
    1. We haven’t covered this yet, but HEY has another consent-based feature they call the Speakeasy code. When used in the subject line of an email, this code grants the email access straight to the Imbox.
  7. Apr 2021
    1. This gem uses a Rack middleware to clear the store object after every request, but that doesn't translate well to background processing with Sidekiq. A companion library, request_store-sidekiq creates a Sidekiq middleware that will ensure the store is cleared after each job is processed, for security and consistency with how this is done in Rack.
  8. Mar 2021
    1. # Parallel Ruby universes ("Rubyverses") - A proposed interface for # parallel, "semi-private" method or method-and-data spaces via # "closely associated" objects.
    1. All I needed to do was configure my bash so it will always start vim in server mode if it is not already and to always use the --remote-tab switch when opening files.
    1. One thing that would be useful to this debate an analysis of a language ecosystem where there are only "macropackages" and see if the same function shows up over and over again across packages.
    1. Uber::Option implements the pattern of taking an option, such as a proc, instance method name, or static value, and evaluate it at runtime without knowing the option's implementation.
  9. Feb 2021
    1. The Track() function will snap the output to the next task that is “magnetic to” the track’s semantic.
    1. Record filters allow you to require an instance of a particular class (or one of its subclasses) or a value that can be used to locate an instance of the object. If the value does not match, it will call find on the class of the record. This is particularly useful when working with ActiveRecord objects.
  10. Jan 2021
    1. The CardLayout creates a store in context and the Card creates a standardized div container and registers it to the store so that the CardLayout has access to that DOM element. Then in afterUpdate you can move the DOM elements into columns and Svelte will not try to put them back where they go. It's a bit messy but it works.
    2. I think that maybe instead of using the prefixed $$ globals, a more "natural" solution could look something like this: import { slots, props, parent } from '@component';
    1. To explain further what exactly I’m building, the animated background is a pure code equivalent to the old music video, but runs as long as the full length of the album, though without any event triggers to tie it to the music (the animation runs continuously for the full amount of time that the uninterrupted album lasts, but does not pause or jump to a different location in the animation). It’s also extremely slow animation
  11. Dec 2020
    1. Say I have a separate API server that provides content for a Sapper route. I could just query that API in my route's preload function, but if the content changes rarely, I don't want to incur that cost for every page load and would much rather cache responses from the API on the Sapper side.
    1. With the caveat that hero worship can be gross, distorting, and unhelpful to everyone involved, Svelte author Rich Harris (@rich_harris on Twitter) is one of my favorite open source developers. In the JS community he’s well-known among tool authors for spreading interesting ideas. He’s the creator of many open source projects including Rollup, the bundler of choice for many libraries including React and Vue.
  12. Oct 2020
  13. Sep 2020
    1. The @const indicates that the value is read-only (i.e. it cannot be assigned to or mutated in an expression such as an event handler), and communicates, through its similarity to const in JavaScript, that it only applies to the current scope (i.e. the current block or element).
  14. Jul 2020
  15. May 2020
    1. Where I track capacity, appetite, & commitments. A place where I can stay organized while also allowing transparency for my teams & anyone else who is interested in what I’m currently focused on.

      "My Plate"