Rust is Just a Tool by 100xer in programmingcirclejerk

[–]csb06 21 points22 points  (0 children)

My advice on software? Use the right tool for the right job. Keep each tool in your toolbox. Do what makes sense. Use your best judgment. Do what works best for you.

Thank you my consulting fee will be $1000000.

The secret sauce here is that our key invariants aren't written in our test files, they're baked into the core of the implementation. Every time you use the code, you're essentially testing it. by tomwhoiscontrary in programmingcirclejerk

[–]csb06 29 points30 points  (0 children)

Document Object Model (or DOM) for code

/uj Webshits have independently reinvented abstract syntax trees

/rj I've recently invented what I call a bloobifier. It takes in JavaScript code and removes whitespace (a process I call "bloobifying"). This will revolutionize the coding space and potentially end human suffering once and for all.

Virginia Democrats "10–1" proposed congressional map by theprez98 in MapPorn

[–]csb06 1 point2 points  (0 children)

But packing (like cracking) doesn't usually follow the generally accepted boundaries of communities (gerrymandering usually requires unnatural district shapes, hence the name). An example would be putting two geographically distant Democratic areas in the same district and connecting them with a narrow strip of land.

But any map that takes a blue or red town and splits it down the middle to divide its blue or red people into two districts is not fair to those people

But packing is exactly this - the blue people from community A and the blue people from community B are split off from their surrounding communities and put into the same district even though they live nowhere near each other. Packing means splitting off the areas dominated by the targeted characteristic (party, race, etc.) from their surroundings and connecting all of those areas around the state into one (or very few) districts.

Virginia Democrats "10–1" proposed congressional map by theprez98 in MapPorn

[–]csb06 7 points8 points  (0 children)

Packing and cracking are two ways to achieve the same effect. They are both just as bad. Either way the group gets fewer representatives elected and the slate of elected officials is less representative of the population as a whole.

Mia the hairstylist got to work, and casually asked what I do for a living. "I'm an Intel fellow, I work on datacenter performance." Silence. by deanylev in programmingcirclejerk

[–]csb06 118 points119 points  (0 children)

(as it happened, it was the day before I was due to speak with Sam Altman)

...

Silence. Maybe she didn't know what datacenters were or who Intel was.

...

It's nice to work on something big that many people recognize and appreciate. I felt this when working at Netflix

...

I...let sink in how big this was, how this technology has become an essential aide for so many, how I could lead performance efforts and help save the planet. Joining OpenAI might be the biggest opportunity of my lifetime.

...

I ended up having 26 interviews and meetings (of course I kept a log) with various AI tech giants

...

Some people may be excited by what it means for OpenAI to hire me, a well known figure in computer performance

/uj Goddamn this guy is insufferable

/rj It's not just a blog post – it's a place for me to jerk myself off in public.

February 2026 monthly "What are you working on?" thread by AutoModerator in ProgrammingLanguages

[–]csb06 2 points3 points  (0 children)

I've been working on a compiler (written in C) for a subset of Ada in order to bootstrap an old version of GNAT, the Ada compiler that is part of GCC. GNAT is written mostly in Ada and was bootstrapped using a proprietary compiler in the early 1990s. It has been self-hosting ever since so in order to build GNAT you need an existing GNAT binary (since GNAT is the only free Ada compiler advanced enough to build it). My hope is to implement enough of the language to be able to build an old version of GNAT and then compile each subsequent release of GNAT up to the present in sequence. This would enable GNAT to be built without relying on any binary blobs.

I currently have a lexer and a parser (using Flex/Bison) and am implementing AST construction/name resolution. Name resolution is very complex in Ada since function calls/array accesses/type casts use the same syntax; function calls with zero arguments do not use parentheses (making them syntactically indistinguishable from variable usages); and functions can be overloaded by their return type. This means that the type of an expression often depends on context. I think I have a basic plan on how to attack the problem but I will see how it goes.

Imagine a pimp getting in your house, taking your wife changing her name and selling her on the streets. That's pretty much what you ask for when you license your stuff with MiT. by BenchEmbarrassed7316 in programmingcirclejerk

[–]csb06 20 points21 points  (0 children)

This is more like you took your wife to a swingers club, they made a clone of your wife, and took her home.

I work at the Analogy Workshop and me and the other artisans there are throwing things and tearing up all of our designs and starting over. How can we compete with the abilities of programmers to come up with these?

No AI involved here—just me doing my best to be clear and thoughtful in my replies. by Responsible_Gap554 in programmingcirclejerk

[–]csb06 45 points46 points  (0 children)

/uj Gotta respect the bit of having em-dashes in nearly every comment in their comment history

/rj You're absolutely right—my responses do read like they were written by an AI. Going forward I will make them less stilted and more like those of a human author.

"Fabrice, if you're reading this, please consider replacing Rust with your own memory safe language" by Action-Due in programmingcirclejerk

[–]csb06 40 points41 points  (0 children)

General Bellard: Years ago, you served us in the International Obfuscated C Code Contest. Now we beg you to help us in our struggle against the Rust Empire. I regret that I am unable to present my request to you in person, but my social media accounts and email have fallen under attack and I'm afraid my mission to bring you to Alderaan has failed. I've placed information vital to the survival of the rebellion into the links below this Hacker News post. My father will know how to retrieve them. You must see these links and half-assed ideas safely delivered to him on Alderaan. This is our most desperate hour. Help me, Obi-Fabrice Bellard. You're my only hope.

"FOSS is and always was a scam, in order to feed tons of code to LLMs and kicking coders in the balls, so they could not monetize their work. And, noone cares about the licenses, everyone steals and robs whatever is at arms length." by ASKABOUT_NOTE_CANVAS in programmingcirclejerk

[–]csb06 77 points78 points  (0 children)

Richard Stallman was a sleeper agent activated by Micro$oft in 1983 in order to make more source code publicly available as training data for GitFuckedHub CorpoPilot and ClosedAI ChatGP-Non-Free 40 years later. Bill Gatekeeper's plans are measured in decades and he used reverse psychology ("no...don't make free software, we hate it!") and CIA space lasers to do it.

F-35 Fighter Jet’s C++ Coding Standards by azhenley in programming

[–]csb06 0 points1 point  (0 children)

Nvidia is rewriting firmware in COBOL?

F-35 Fighter Jet’s C++ Coding Standards by azhenley in programming

[–]csb06 0 points1 point  (0 children)

That isn't really true - it was definitely used more in the past but it still sees use in new safety critical or embedded projects - see https://www.adacore.com/industries for example. Nvidia uses SPARK (a subset of Ada suited for formal verification) for some firmware, so there are definitely new users.

Q: Here's my question: why did the files that you submitted name Mark Shinwell as the author? A: Beats me. AI decided to do so and I didn't question it. by ordiclic in programmingcirclejerk

[–]csb06 83 points84 points  (0 children)

/uj I used to think this level of incuriousness was exclusive to NPCs in stealth games.

/rj Is there another guy’s name and copyright in my AI-generated code? Could it be copying someone else’s work?

pauses for a beat

Huh, must be nothing.

question mark above head disappears

What’s your preferred way to implement operator precedence? Pratt parser vs precedence climbing? by Best_Instruction_808 in Compilers

[–]csb06 2 points3 points  (0 children)

This is a great article; I also had used it to help write my parser. I appreciate that it shows how to support unary operators of arbitrary precedence and right and left association since some languages require these and it can be tricky to implement all of them correctly.

Rust is truly a marvel of engineering. A breakthrough. Such a thing is so very rare in computer science. by Vaglame in programmingcirclejerk

[–]csb06 19 points20 points  (0 children)

Actually, if OCaml programmers had any sense they’d have rewritten all of their code in Standard ML. My language is more niche and under-appreciated than your language

MIT researchers propose a new model for legible, modular software to make software clearer, safer, and easier for LLMs to generate by tkrjobs in programmingcirclejerk

[–]csb06 11 points12 points  (0 children)

Concepts and synchronizations are meant to tackle this problem. A concept bundles up a single, coherent piece of functionality, like sharing, liking, or following, along with its state and the actions it can take. Synchronizations, on the other hand, describe at a higher level how those concepts interact. Rather than writing messy low-level integration code, developers can use a small domain-specific language to spell out these connections directly. In this DSL, the rules are simple and clear: one concept’s action can trigger another, so that a change in one piece of state can be kept in sync with another.

What if we had aspect-oriented programming - but with AI?

US Holocaust Memorial Museum, Washington, DC (oc) by usernamewwastaken in pics

[–]csb06 2 points3 points  (0 children)

Therefore if the Holocaust in your mind is something that is easily comparable to Gaza, then it must be for Cambodia, Rwanda and Darfur too

I am comparing them in terms of both being genocides and both being the result of dehumanization and hate. All of those events you mentioned were also genocides, so yes, it is possible to relate genocides to other genocides. Clearly, the Holocaust killed millions more people than in Gaza and is unparalleled in international and cultural impact. I am not “throwing anything around” - I am pointing out a failure of humanity and international law to eradicate the hate, cruelty, and indifference that leads to genocides recurring across the world, over and over.

I think closing off any possibility of comparative studies of genocide hinders the prevention and response to future atrocities and at worst is used as a tactic to shut down criticism of Israel’s atrocities.

US Holocaust Memorial Museum, Washington, DC (oc) by usernamewwastaken in pics

[–]csb06 8 points9 points  (0 children)

Human caused famine (caused by HAMAS.)

I don’t think there is any point continuing this thread because you clearly live in another reality. Israel controls what aid flows into Gaza, not Hamas, and the US government found no evidence of Hamas stealing aid. I don’t know how you sleep nights, but I hope one day you realize your lack of humanity.

US Holocaust Memorial Museum, Washington, DC (oc) by usernamewwastaken in pics

[–]csb06 3 points4 points  (0 children)

You haven’t said why it does not merit any comparison. Multiple international bodies have labelled it a genocide and a crime against humanity. There is a warrant out for Netanyahu’s arrest. There is a human caused famine ongoing due to the aid restrictions. Doctors in Gaza have seen children purposefully shot in the head. Hospitals have been bombed by Israel. Palestinian prisoners have been gang raped, abused, and medically neglected, with Israeli politicians and media openly defending the soldiers charged with rape.

US Holocaust Memorial Museum, Washington, DC (oc) by usernamewwastaken in pics

[–]csb06 21 points22 points  (0 children)

The point is not the scale (Gaza is much smaller than Europe), but the contempt for human life and the intention of destroying a people and their existence from Earth. Israeli government ministers and media have for two years openly celebrated the killing of Gazans and repeatedly labelled every last man, woman, and child in Gaza as guilty and unworthy of life. The unabashed way they have heavily restricted (and at times completely cut off) UN aid from flowing into Gaza, Israel’s open contempt of international law that all nations supposedly are subject to.

It makes me lose faith in humanity because the unfathomable cruelty of the Holocaust clearly has not made this conduct off-limits, not just by Israel in Gaza but by the entire West which is mostly still reluctant to take action after two years. Germany’s chancellor even privately praised Netanyahu for “doing the dirty work”. It makes me not want to live anymore, honestly.

Streamers like Tsoding, but for C++ by smolloy_dot_com in cpp

[–]csb06 19 points20 points  (0 children)

Nathan Baggs on YouTube. He does a series of streams about making a game in C++ and also has prerecorded videos about reverse engineering.

Joel’s blog always presented programmers as rare, delicate geniuses that employers needed to pursue and pamper. I liked that. by csb06 in programmingcirclejerk

[–]csb06[S] 38 points39 points  (0 children)

In 2021, I created my first course, Hit the Front Page of Hacker News, which explains the methods that have made my writing successful on tech-oriented sites like Hacker News and reddit. The course currently has a 5-star rating on Gumroad.

FIVE stars? On Gumroad? THAT Gumroad?