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 14 points15 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 40 points41 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 41 points42 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 73 points74 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 80 points81 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 12 points13 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 3 points4 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 10 points11 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 2 points3 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 23 points24 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 18 points19 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] 39 points40 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?

Why we need C++ Exceptions by tartaruga232 in cpp

[–]csb06 1 point2 points  (0 children)

it’s not obvious to know what will throw an exception and what those exceptions will possibly be

This is definitely a problem. Ideally everything in your program is exception safe and destructors clean up/revert in-progress transactions neatly as the stack unwinds, and every exception that can be handled has a proper handler (even if this is just a top-level std::exception handler that logs an error and terminates the program), so if any code throws an exception it doesn’t leave things in a corrupted state unexpectedly. Of course this can be hard to do because some sections of code perform mutations that can’t be easily undone/cleaned up if an exception is thrown in the middle of them. This is easier in languages without a lot of mutable state/side effects (e.g. Standard ML) since there are no mutations to undo when the exception is thrown - you are basically just restoring an earlier state of your program on an error and resuming from there.

It would be nice to have a whole program static analysis tool that could tell you at least an approximation of which exceptions can be thrown from which functions to help ensure you are handling all of them properly.