Notes
WIPs, thoughts and early drafts.
build-in-public 1
career 3
- The one with the recruiting gimmicks I’ve been receiving an increasing number of work opportunities over the past twelve months. I always try to reply, even if I know a message was sent through a script scraping Github or Linkedin for developers’ profile. But let’s face it, whether the people reaching out are from HR or CTOs, their messages sometimes feel odd. I’ve compiled a list of gimmicks, ranging from awkward to plain rude, that I’ve encountered lately. I’ll try to be as factual as possible. This is an ongoing list. The one with the young team. The average age is 27. We’re a vibrant, young
- Enough mentoring Here’s a list of things I’m learning while helping people, during 1-1 technical meetings. Start by expliciting interaction rules At the beginning of the session, ask the person how they would like to interact: should you let them search for a while and only be there when they have a question? should you give a few pointers and let them figure out? should you give them the answers then help them work backward? There’s not one valid way of delivering information to someone. The mentor has an obligation to adapt to the mentee. Modalities > Generalities. When defining how you
- Musing about the future of my profession With the rise of LLMs (and even mandatory AI), I’ve been thinking about what could be done, to lay my own path for the future. By “my own path”, I mean “not the path decided by the current zeitgeist” which is “learn to prompt or be left behind”. For me, the bottom line with vibe coding (coding with AI) is: When LLMs are wrong, they are a pain in the back to work with. When LLMs are right, they steal the joy of learning and challenging myself. I’d rather be a 1X engineer and fucking enjoy solving everyday problems, that
design 1
docker 1
editor 2
- Split your IDE (Very) practical tip for reducing cognitive load on a complex file, where you need to make changes and check for a lot of stuff around: Split screen in two with the same file on the two panels. Left panel stays where you’re actually working. Right panel moves around the file to find stuff. Much better than scrolling up and down, and trying to keep what you just saw in your working memory while you’re trying to find the right spot to make changes. Some answers from folks: Very hacky tip: Vertical monitors are _great_ for parsing a massive amount of
- Enough Sublime Text Currently trying to move from pretty good user, to advanced user for Sublime Text. Navigate files cmd-t or cmd-p to open the file catalog. Only type parts of file names or paths. The file catalog saves the previous searches and will get better and better. When you need to open several files, don’t press enter, press right arrow to open the file currently highlighted, and keep the file catalog active. Once you opened all your files, either press return or enter if you’re on the last file you need. To jump to a specific line, prefix your search with :
hotwire 2
- Today I learned a nifty Turbo Frames trick: how to persist scroll depth accross a page refresh. I’m currently working on bundles for cults3D. On the general index of bundles, I have a section displaying 6 bundles manually selected by the Cults’ team. Then, I have my list of bundles sorted by newest to latest. I’m working on adding a component with some filters in it: toggles, sorting, you know, the work. And this poses a problem: when I toggle a filter, the whole page reloads and I’m back at the top of the page. So to see my filtered
- Deferred tab counts with Turbo Frames The problem I’m currently working on adding different types of records to the Cults search page. Instead of being able to query creations only, users can now search for creations, bundles and public collections (with more types of records to come). Right now, the search page has three tabs: creations, bundles and public collections. Each tab has a small counter component which displays how many results it has, so users can see if their query matched before navigating to one of these tabs. To show these counters to the users, the page needs to query a bunch of stuff before
mentoring 1
performance 1
rails 3
- Notes on Rebuilding Rails Currently reading Rebuilding Rails by Noah Gibbs. Notes: Chapter 3 Sometimes, Noah writes methods in the context of a module, sometimes in the context of a class. Why? Modules are collections of methods and constants. They cannot generate instances. Classes may generate instances (objects), and have per-instance state (instance variables). Source Checking rails/active_support_dependencies/autoload.rb and I see this @_at_path. What is the reason for this @_? So, @_instance_var has no special meaning. Rails internally uses it to distinguish private/protected variables that other should not modify/access. source bundler: failed to load command: rackup Couldn't find handler for: puma, thin, falcon, webrick. (LoadError)
- Today I learned a nifty Turbo Frames trick: how to persist scroll depth accross a page refresh. I’m currently working on bundles for cults3D. On the general index of bundles, I have a section displaying 6 bundles manually selected by the Cults’ team. Then, I have my list of bundles sorted by newest to latest. I’m working on adding a component with some filters in it: toggles, sorting, you know, the work. And this poses a problem: when I toggle a filter, the whole page reloads and I’m back at the top of the page. So to see my filtered
- Deferred tab counts with Turbo Frames The problem I’m currently working on adding different types of records to the Cults search page. Instead of being able to query creations only, users can now search for creations, bundles and public collections (with more types of records to come). Right now, the search page has three tabs: creations, bundles and public collections. Each tab has a small counter component which displays how many results it has, so users can see if their query matched before navigating to one of these tabs. To show these counters to the users, the page needs to query a bunch of stuff before
rspec 1
ruby 2
- StringScanner Currently reading Rebuilding Rails by Noah Gibbs. At some point, he writes about checking out Active Support for some pointers on metaprogramming. Currently felt into a rabbit hole on the duration part of the lib. Anyways. Here’s a nifty class in Ruby that facilitates some scanning on strings. StringScanner provides for lexical scanning operations on a String. source Usage: string = StringScanner.new("bob") => #<StringScanner 0/3 @ "bob"> [9] pry(main)> string.eos? => false [10] pry(main)> string.pos => 0 [12] pry(main)> string.peek(5) => "bob" [14] pry(main)> string.getch => "b" [15] pry(main)> string.pos => 1 [16] pry(main)> string.reset => #<StringScanner 0/3 @ "bob">
- Notes on Rebuilding Rails Currently reading Rebuilding Rails by Noah Gibbs. Notes: Chapter 3 Sometimes, Noah writes methods in the context of a module, sometimes in the context of a class. Why? Modules are collections of methods and constants. They cannot generate instances. Classes may generate instances (objects), and have per-instance state (instance variables). Source Checking rails/active_support_dependencies/autoload.rb and I see this @_at_path. What is the reason for this @_? So, @_instance_var has no special meaning. Rails internally uses it to distinguish private/protected variables that other should not modify/access. source bundler: failed to load command: rackup Couldn't find handler for: puma, thin, falcon, webrick. (LoadError)