infolock (@infolock) header
infolock (@infolock) profile picture

strategic pragmatic realist - technologist for over 30 years. proud dad/husband/programmer - full time hater of datetime and timezones - Opinions are my own 👈

Joined February 2008
Photo by infolock (@infolock)Photo by infolock (@infolock)Photo by infolock (@infolock)Photo by infolock (@infolock)Photo by infolock (@infolock)Photo by infolock (@infolock)Photo by infolock (@infolock)Photo by infolock (@infolock)Photo by infolock (@infolock)Photo by infolock (@infolock)
Replying to @ravinwashere
actually... using an array and using `includes` is going to have a time complexity of O(n). You could reduce this by using a simple map and get a O(1): const animals = { "dog": true, "fox": true, "bear": true }; if (animals[animal]) console.log("It's an animal");
3
1
19
Never would have thought RockStar Games would try to destroy the GTA series - but clearly GTA 6 is their proof they will.
54
I've made lots of changes to github.com/unclebob/swarm-fo…. I've tightened up the agent handoffs a lot, and I've driven all the queueing and logging into babashka scripts so the agents don't have to worry about all that administrative nonsense. I've added three branches. two-pack, four-pack, and six-pack. Two-pack is for simple jobs where you just want to talk to a coder agent while a backend agent does the simple refactoring and hardening. Four-pack is for when you want gherkin specification and some architectural consideration. Six-pack is for when you want Gherkin, QA, property tests, and intense refactoring and hardening.
11
17
2
209
15,943
Morning bathrobe rant: disengage from the syntax.
50
49
12
640
41,411
Mike Rowe nails it Watch
423
9,868
607
30,806
1,338,040
Cybertruck joy.
10
4
93
8,368
19
13
2
154
11,399
My relationship with #typescript is definitely complicated. Some days I love it. Other days, like today, I find it to be this pedantic little asshole who just makes my life unnecessarily complicated with no real perceived benefit to justify the pain and misery it inflicts.
56
A Sunday afternoon rant on mutable variables.
28
28
8
413
38,256
One of the biggest novice mistakes in software is thinking that everything is different nowadays, and that the past is therefore irrelevant. Guys, whether you are using C, Java, Clojure, Claude or Grok we are still creating recursive structures of sequence, selection, and iteration. The words 'if' and 'while' (or their appropriate synonyms) remain.
33
51
6
520
31,624
It’s so stupid the @MLB is forcing #umpires to make bad calls just to encourage the desire for ABS replay. Pitcher count, Batter count, runner at 2nd and now ABS. Why do the people at @MLB hate our game so much that they have to continue to destroy it with this crap? #baseball
101
Say what you will, but the oven mitt is the dumbest accessory in baseball 🤦‍♂️😂
66
It should be a requirement to watch Office Space before a person can start working in the tech industry .
1
1
123
Angular is the product of Java backend engineers telling front end engineers “they know better”. React is the product of front end engineers telling back end engineers they know Javascript better. #Angular #react #reactjs #javascript #java #frontend #development #developer
80
What you put into your life goals and how much you put into yourself to reach those goals determines the opportunities you get. Nothing else matters.
37
Morning bathrobe rant: vibe coding.
290
390
262
3,854
538,451
UK deserved to lose this game today. There was zero team ball. Williams had 4 chances to hit a wide open teammate at the top of the key and he chose to try to play hero ball instead. He wasn’t the only one though - all of them either walked the court, took their time or just didn’t have the heart to try. What a disappointment of a “team” to watch this year.
44
Hey @Apple Please give us the option to put our devices into Low Battery Mode from Control Center! #iphone #ControlCenter #lowbatterymode
132
VOLPE WITH THE GRAND SLAM! #WorldSeries2024
144
I mean, WHY WOULD YOU SEND HIM HOME ON A SHALLOW HIT BALL WHEN HE IS RUNNING FROM 2ND AND YOU KNOW HE IS SLOW??? Do the Yankees just not want to win this thing? #WorldSeries2024
1
1
1
590