I’ve been trying to debug a program I’m working on and have managed to narrow it down to a single not statement. I fail to understand how this could fail. My current suspicion is the fact that I’m using a 16 bit (aka short) register. Should I even be using this?...
It was definitely DDJ… back in the early 90s, right? I once asked Walter Bright (creator of D) if they were related and he told me it was just a naming coincidence.
ah man… that’s a part of the internet I really miss. For those that don’t know, the .plan file was a file you put in your home folder, and anyone on the internet could run finger johnc@idsoftware.com (or your own user@server obviously) which would output your status and your .plan and .project files. Which is why people have a copy of John Carmack’s .plan file.
If the rolling wooden variant still turns out not to be enough, I might need to source a real live duck. 🦆 Not sure how patient that would be at listening to me explaining code though. 🤔
The problem is that if you send a message just blindly, you can be tricked into sending spam to millions of addresses. I do one thing that prevents that, but does violate the standard, I verify there’s only 1 ‘@’ in the address… this technically prevents people with '@'s in their name, but they probably find it impossible to do anything with that address anyway.
State machines always make me think of the Disk II controller on the Apple II. It uses a state machine to implement reading and writing sectors to disk.
it seems ridiculous that we have to embed an entire browser, meant for internet web browsing, just to create a cross-platform UI with moderate ease....
Where he gives plenty of examples of UB resulting in the compiler optimizing away safety and introducing security vulnerabilities silently. In part 3 he discusses the efforts clang has made to improve on this.
He then went on to make Swift and says this: “Undefined behavior is the enemy of safety, and developer mistakes should be caught before software is in production.”
and
“UB is an inseperable part of C programming, […] this is a depressing and faintly terrifying thing. The tooling built around the C family of languages helps make the situation less bad, but it is still pretty bad. The only solution is to move to new programming languages that dont inherit the problem of C.”
Brainfuck is the sixth circle (lemmy.world)
More details in the compete post: tumblr.com/…/every-now-and-then-i-remember-that-m…
C++ Moment (lemmy.world)
Every language has its niche (lemmy.world)
Can someone explain why authors do this? (programming.dev)
`not di` does not seem to perform bitwise negation
I’ve been trying to debug a program I’m working on and have managed to narrow it down to a single not statement. I fail to understand how this could fail. My current suspicion is the fact that I’m using a 16 bit (aka short) register. Should I even be using this?...
“But how much does a PostgreSQL license actually cost?” A Frequently Asked Question from Oracle users considering PostgreSQL (stormatics.tech)
Introducing OpenD (dpldocs.info)
TypeScript is Quantum Ready (programming.dev)
My coding skill V/S My GitHub Repositories (programming.dev)
I wasted my time making this shader! (lemmy.ml)
Knowing when to put the mouse and keyboard down is hard....
Unity Software to lay off 1,800 employees, or 25% of staff (www.cnbc.com)
Unity Software said Monday that it would lay off about 1,800 employees, or 25% of its overall workforce, as part of a corporate restructuring plan....
what the hell is happening in ultramarine linux (lemmy.ml)
For rust maybe
GitUI: Blazing fast terminal-ui for git written in rust (github.com)
“It’s not that hard” (sh.itjust.works)
When rubber duck debugging just doesn't cut it. (lemmy.world)
If the rolling wooden variant still turns out not to be enough, I might need to source a real live duck. 🦆 Not sure how patient that would be at listening to me explaining code though. 🤔
Falsehoods Programmers Believe About Names (www.kalzumeus.com)
Suggestions for personal projects
cross-posted from: sopuli.xyz/post/7432003...
State machines are wonderful tools (nullprogram.com)
Why isn't there a way to make near-native desktop UIs that's similar in ease to browser and electron UIs?
it seems ridiculous that we have to embed an entire browser, meant for internet web browsing, just to create a cross-platform UI with moderate ease....
C++ Should Be C++ (www.open-std.org)
The World Before Git (osshistory.org)