🎺 @socketsecurity 🎷@breadcrum_ 🪊https://xitter.cf/t.co/gTTtJXM4wN

Sutter Creek, CA
Joined October 2013
Bret Comnes retweeted
Just used LiteLLM to create my first PHP website. The AI even suggested getting a certificate from eMudhra for HTTPS to protect my login page. The future looks really bright 🥳
139
598
55
10,195
185,167
Bret Comnes retweeted
SQLite is the most used database in the world, and its biggest weakness has always been the same: it runs on one machine, and if that machine dies, your data is gone. The usual fix is Litestream, but that's a Go binary you have to babysit. So we (@platformatic) rewrote it in TypeScript.
47
63
10
985
44,208
Bret Comnes retweeted
I honestly believe this is what computers are for. (you can read my bio) We should not be wasting lives to code, we should be doing art. Focusing on taste, mood, beauty - not losing ourselves in structures or optimizations.
attempting drum & bass math equations
1
3
7
426
RAM is the new bottleneck. Every Node.js process is fighting for memory: containers, serverless, cloud bills, k8s limits. And here's the maddening part: V8 can use half the memory with one flag, and almost nobody turns it on.
45
73
18
1,255
77,006
Bret Comnes retweeted
What is Fabrica? ⤵️ part 1/2 Learn how to upgrade from ad hoc markdown soup, to a structured, reusable system of agents.
3
2
1
17
1,997
1
6
1
93
1,674
Bret Comnes retweeted
Replying to @kenwheeler
bro
3
1
51
4,093
Me in 2032 using my neurolink to hack the Tesla roadster in front of me after he cut me off
138
11,733
88
150,962
1,652,905
guys all i want is a 70 series wtf u can have your flying kickflip whatevers but please for the love of mr. toyoda please just let them sell basic 70 series landcruisers in the united states again i'm begging you we are the land of the free wft plz bro
4
3
57
2,017
The problem is compatibility. `import type`, enums, namespaces — TypeScript has a whole family of features that don't survive a trip through a runtime that strips types. Ship the source and you force every consumer to handle your dialect, not just the compiled output.
3
1
10
1,223
Bret Comnes retweeted
Rust is the Perl of the 21st century.
153
94
31
1,109
39,808
Fuckk
1
5
247
There is one core reason why TypeScript does not do this: there is not single typescript language, it depends on your config, so d.ts is the subset that works everywhere.
several reason why it's important to ship TS, not d.ts.: 1. TSC has an analysis budget, so it cannot unfold inferred types and generics down to many ideal instantiations properly (would blow up analysis time + space). Everything is bound by the speed of your type analysis and JS inference engine (same as in Go btw). Thus they have to use a good enough representation called d.ts to further compensate for its slow engine. example: xitter.cf/MarcJSchmidt/status/15… if the JS interpretation is slow to infer types and generics, it won't lay out the best function instantiation but one that is "good enough", stealing potential for JIT and AoT. 2. for every caller, if the function is not reduced and split up to the minimal concrete instantiations, you have lots of overhead on both, caller and callee side. When I was working on TypeRunner many years ago it was already pretty clear you cannot optimize the full call graph when you only have d.ts, you must have the full source-code to do the work that TSC did not do. TS types must become a program you execute for every single type inference/deduction/fn call, and not use an intermediate representation like d.ts. Knowing how often a concrete call was made to a function (in JIT and PGO) is also extremely powerful to move the 0.1% of calls to the slow path and lift the 99.9% to the fast one, which is only efficiently possible if you have lots of budget available in your analyzer engine.
11
4
1
151
15,038
YOU OPENED THE BOX
7
17
1
207
4,397
Bret Comnes retweeted
The software industry is about to learn that the ultimate basis of software value was never utility, but fashion and trust. Or it won't and it'll all be more yelling about market irrationality.
This is the doom I predicted a few days ago, coming for Photoshop. A clean-room open-source reimplementation. No prizes for guessing that they decompiled Photoshop to source code, processed that to some kind of non-code specification language, then fed the spec to an LLM with an instruction to generate Rust. Adobe just got nuked. And closed source is dead, dead, dead. github.com/storytold/photocr…
4
11
1
115
5,662
Bret Comnes retweeted
The Halo OpenCE Experience™
83
613
42
5,730
410,279
Bret Comnes retweeted
Choosing NoSQL to avoid JOINs, then writing the JOINs yourself in JavaScript, is an incredible commitment to doing your own plumbing in a rented apartment.
40
159
13
3,006
47,914
How about someone starts decompiling Photoshop and Premiere Pro?
lostbutlucky
@lostbutluckyOct 1
Halo 3 has been fully decompiled
346
1,628
67
51,848
989,309
Bret Comnes retweeted
tonight we let the Postgres search talk
5
2
45
1,986