Alex Bruns (@AlexHBruns) header
Alex Bruns (@AlexHBruns) profile picture

Software Engineer - building cool stuff with Elixir

🇺🇸
Joined March 2017
A shocking small number of engineers understand how to write good component based UI code, but everybody thinks they do.
100
If my interpreter can magically unroll my loops for me, why can't my db magically build incremental materialized views and indexes for me?
1
138
Like hear me out, WebKit does all sorts of runtime introspection to optimize JS code as it's running, why can't my db see which queries I keep sending and build bespoke optimizations for those queries? I'm not talking about caching but actual runtime optimization.
2
127
We have a query planners that painstakingly optimize our queries for the specific indexes available to them, but nothing that looks at the queries I'm running and optimizes my indexes for them.
64
Yo, @neondatabase, if you want me to love you just a little more, this would be a killer feature. Let me flip a magic switch to make my db self optimize to my unique workload, and when my workload changes have those optimizations change with it.
1
1
83
Replying to @neondatabase
@neondatabase is one of the most impressive pieces of tech I’ve played with in over a year. Imo, the separation of compute and storage is going to look like a no-brainer in retrospect. Let’s them do auto-scaling, scaling compute to zero, and *stateful* branching.
1
2
8
1,095
Also props to them for not marketing themselves are some sort of new database. It’s just Postgres with a radically better underlying architecture, and their marketing materials don’t exaggerate beyond that.
3
87
Oh fuck, now I get why people cultivate friendships. Damn, gunna have to do that, I guess.
94
I'm convinced the "decision" to model WS as an HTTP extension rather than building HTTP on top of WS set the web back decades. Async messaging is becoming, and always should have been, the default.
1
93
Nothing like working on a fledgling component based UI framework, to realize how much React and friends have done. No fragments, no context, no useExternalStore, no cleanup/unmount callbacks, etc. LiveView is the future, but it needs to catch up to the present in many ways.
133
I’m legitimately considering asking my employer to lower my cash compensation in return for more ISOs so I can continue contributing to my Roth IRA. If it’s enough ISOs and the chance of an exit is > 0, this is technically rational. No?
2
228
File system based routing is a mistake.
1
340
That 12 factor thing is BS, and you're all too scared to admit it. Stop lying to yourselves.
1
Twitter having a bunch of famous computer science people on it is hilarious because outside of Twitter they’re titans of their fields, but on Twitter they’re no better than that crazy Trump/Bernie supporter uncle at Thanksgiving. It’s truly beautiful. I’m never leaving.
“No monoids. No category theory.” I wonder why we don’t see any math books teaching repeated addition without calling it multiplication, or OOP books teaching data + behavior collocation without calling it a class. Lol.
Meanwhile I am writing a book on the pragmatics of functional programming. No monads. No monoids. No category theory. Just code and design principles; and comparative analyses. Examples in Clojure, of course.
3
Devs who primarily work in a single language or framework, but don’t know it like the back of their hand confuse the hell out of me. It’s like a carpenter being like, “I know how the band saw works, so I guess I’m good for life.”
Project scaffolds shouldn't ship with excessive comments. They're a crutch for poor documentation, and a time drain for users who know what they're doing because they're just going to delete them. At least add a flag.
Building an e2e encrypted twitter. Each account will have an encrypted feed. You must be a "friend" of the account to get their public key and decrypt their feed. Premise = I want to build The Nets from Ender's Game.
1
Idea: magnetic wall sockets. Just slap a plug near it and it seats itself a la MagSafe. Could even have circuitry to check for shorts/fingers before letting the full power flow.
God, my PRs are so funny. Right?! *crickets*
1
That’s me! I’m the homie. Lol.
This Post is from an account that no longer exists. Learn more