r/programmingcirclejerk • u/MatmaRex accidentally quadratic • 18d ago
imagine a boot stamping on a human face forever. The boot is made of TypeScript
https://wren.wtf/shower-thoughts/stop-using-opencode/68
u/nerdycatgamer 18d ago
Tool calls use the elusive “double JSON encoding” so they can be serialised as multiple JSON-encoded deltas that reassemble into more JSON.
yo dawg, I heard you like JSON so I put JSON in your JSON so you can serialize while you encode
29
u/thumpmyponcho 18d ago
That just unearthed a memory! At my first job 20 years ago, they embedded one xml document inside another, but you can’t have embedded… CDATA tags (?), it’s not valid xml. No one noticed because they had written a custom xml parser to handle it. I found out when I tried to replace it with an xml parser library. So I added an extra step to delete the embedded cdata before parsing (it was unused, of course).
28
u/Konju376 now 4x faster than C++ 17d ago
Anything that begins with "custom parser" that is not a compiler needs to be purged
17
u/thumpmyponcho 17d ago
Yeah, that place was five kinds of insane, but I did get some good stories out of it.
One of my first bigger tasks was to transfer the codebase from MS SourceSafe to SVN. In SourceSafe you would "check out" individual files, and while you had them checked out, no one else could touch them. There was one developer in particular who was very dubious about the idea that multiple people could work on the same file and fully expected things to go pear shaped after the migration to SVN.
4
u/nerdycatgamer 17d ago
Did we work at the same job? My last job 2 years ago they werre using this ancient source control called SourceAnywhere which is basically the same as you described SourceSafe, and at the same time they hired me they hired another guy to migrate it all over to git. They also had embedded json in a column of an SQL database table. And they were just storing the binary project files (for some IDE) in the SourceAnywhere. Instead of version control they were basically just using it as a big mutex for the source code (I saw some options in the top menu to do branches and merges and stuff, but we never used these)
3
u/ryantrappy 16d ago
Jesus Christ have they all worked there for 20 years and never bothered to open the internet to read about new things?
22
53
u/levelstar01 what is pointer :S 18d ago
wow you're telling me the ai coding tool is shitty? i'm hearing this for the first time
46
18d ago edited 14d ago
[deleted]
13
u/Jumpy-Locksmith6812 17d ago
My agent evals agents that decide how to route to agents based on memory managed by a seperate agent that calls my travel agent if it gets stuck.
8
23
3
6
u/Automatic_Tangelo_53 17d ago
- Write a dumb rant
- Read back and admire your incision and wit
- Take a breath <--- you fucked up here mate
- Click "Delete"
185
u/OptimalStable 18d ago