35 Matching Annotations
- Jan 2024
-
gitlab.com gitlab.com
-
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.
-
- Nov 2023
-
docdrop.org docdrop.org
-
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
-
-
- Jul 2023
-
-
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.
-
- Aug 2022
-
stackoverflow.com stackoverflow.com
-
It's a great way to test various limits. When you think about this even more, it's a little mind-bending, as we're trying to impose a global clock ("who is the most up to date") on a system that inherently doesn't have a global clock. When we scale time down to nanoseconds, this affects us in the real world of today: a light-nanosecond is not very far.
-
- Mar 2022
-
github.com github.com
-
Define table structure (columns and indexes) inside your ActiveRecord models like you can do in migrations. Also similar to DataMapper inline schema syntax.
-
- May 2021
-
www.campaignmonitor.com www.campaignmonitor.com
-
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.
-
-
hashnode.com hashnode.com
-
that garbage has ZERO damned business in an e-mail which is why a great many places use HTML only e-mail as a trigger for spam detection! (if you send multipart as both text/html and text/plain, you're fine)
-
- Apr 2021
-
github.com github.com
-
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.
-
- Mar 2021
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
data[:users, :[], :name] = 'Matz' # :[] is next index, 0 in this case
Tags
Annotators
URL
-
-
github.com github.com
-
# Parallel Ruby universes ("Rubyverses") - A proposed interface for # parallel, "semi-private" method or method-and-data spaces via # "closely associated" objects.
-
-
en.wikipedia.org en.wikipedia.org
-
Using words with different meanings can help clarify, or can cause real confusion.
-
-
piao-tech.blogspot.com piao-tech.blogspot.com
-
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.
-
-
valme.io valme.io
Tags
Annotators
URL
-
-
news.ycombinator.com news.ycombinator.com
-
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.
-
-
github.com github.com
-
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.
-
- Feb 2021
-
trailblazer.to trailblazer.to
-
The Track() function will snap the output to the next task that is “magnetic to” the track’s semantic.
-
-
github.com github.com
-
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.
-
- Jan 2021
-
-
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.
-
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';
-
-
css-tricks.com css-tricks.com
-
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
-
- Dec 2020
-
github.com github.com
-
With this change, we can re-run preload when the session store changes, e.g. as a result of something like this in a nav bar:
-
-
-
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.
-
-
github.com github.com
-
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.
-
- Oct 2020
-
github.com github.com
-
JSX remains dominant syntax for React. Still, pretty cool. And inspiration for svelte-hyperscript probably?
-
-
gist.github.com gist.github.com
- Sep 2020
-
github.com github.com
-
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).
-
- Jul 2020
-
github.com github.com
Tags
Annotators
URL
-
- May 2020
-
stackoverflow.com stackoverflow.com
-
which ssh-agent || (apt-get update -y && apt-get install openssh-client git -y)
inline install if needed
-
-
gitlab.com gitlab.com
-
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"
-