HNHacker News
TopNewBestAskShowJobs

thecodedmessage

72 karma · joined November 23, 2022

submissionscomments
thecodedmessage··on C can be memory safe
The way they’re using hard-fork and soft-fork, is that based on the blockchain usage of the words? If so, that makes it hard for me to take seriously!
thecodedmessage··on Rust is not about memory safety
This is a fair defense of C, but C++ is what deserves the heat. C is portable assembly, C++ isn’t.
thecodedmessage··on The Intellectual Obesity Crisis (2022)
Scrolling shitty cable is much less fun and therefore less addictive. It’s also not always available.

But both are terrible ways to spend your time and bad for your brain.

thecodedmessage··on This Message Does Not Exist
Math problems are quite similar in this way!
thecodedmessage··on in Rust, methods should be object safe
The word “method” already has a definition in Rust, which includes all intrinsic and trait methods. I feel like ‘dyn’ is relatively rarely useful and defining the term “method” based on what’s compatible with it is a bad idea.
thecodedmessage··on The derivative of a number (2014)
“Ethics” for what is almost certainly an honest mistake with a reasonable diligence of research? Accusing someone of ethics violations should require more research than you’ve done!
thecodedmessage··on The derivative of a number (2014)
Would you have found out about those earlier sources without Wikipedia? I think it really depends on how obscure they actually were. I’d take the fact that neither Wikipedia nor this article knew about these earlier sources in 2014 as evidence that they were pretty obscure.
thecodedmessage··on Opening /proc/self/fd/1 is not the same as dup(1)
This is a surprising take.

Linux as a project is the kernel. Unlike most OSes, the most commonly used libc is maintained separately. As a result, Linux the operating system is the one where it’s the most common and supported to avoid the “standard” libc because the kernel itself has a stable interface.

thecodedmessage··on Pure Bash Web Server
Yeah, I remember reading the code in the kernel that handles shebang a long time ago. ld.so is not involved.
thecodedmessage··on Identifying Rust's collect:<Vec<_>>() memory leak footgun
Clickbait implies a specific intent to mislead for clicks, whereas I think there’s a completely good-faith disagreement here about the meaning of the word “memory leak.”
thecodedmessage··on Polars
The Rust docs are for some reason much worse than the Python docs, or at least that used to be the case
thecodedmessage··on Polars
I mean, pretty high. What if your boss just tells you to learn polars, and you don’t know why? Saying what something is, is just good communication, and can help clarify for people who are confused.
thecodedmessage··on How to run a DOS-based web server
I am literally asking whether this can run on DOS. It’s become clear that it can’t, and words mean things. Given the article is about running web servers literally on DOS, I think we can safely say it’s been brought.

Modern Windows command line is not DOS.

thecodedmessage··on Cross-platform Rust rewrite of the GNU coreutils
Writing in Rust when appropriate is improved modern coding practice.
thecodedmessage··on A programming language coding in a grid
So what’s the point?
thecodedmessage··on A programming language coding in a grid
Naming variables is so good that it should be mandatory in your programming language.
thecodedmessage··on Reforming Unix
If at first you don’t succeed with a big company’s resources, try again as a hobbyist!
thecodedmessage··on How to run a DOS-based web server
This can’t be actual DOS, can it? It’s running Windows batch files or something?
thecodedmessage··on Copyright claim against Tolkien estate backfires on LOTR fanfiction author
I am so sad there’s not more LoTR stories. Have written about this before: https://www.thecodedmessage.com/posts/tolkien/
thecodedmessage··on Plan to End E-Vehicle Subsidies Sparks Anger in Germany
I am in favor of deficit spending. EU countries should be allowed to do more of it. I simply don’t believe that belt-tightening is “good,” both in general and especially as fighting climate is an important cause.
thecodedmessage··on Why it's taking so long for Americans to get payments instantly
“Because profit” is a bad explanation. It’s super incomplete.
thecodedmessage··on According to Plutarch, Julius Caesar was once captured by pirates
I think you’re misunderstanding the meaning of “great” in “great man theory.” It means “big” as in “significant,” not “good.”
thecodedmessage··on Nicotine (2016)
These sources do not address the claims made in the article.
thecodedmessage··on Nicotine (2016)
For the word “dangerous” to be appropriate, it needs to be established (1) that nicotine is bad for you or (2) that this introduction ever leads to smoking. Or are you just taking all the harms of smoking and applying them to nicotine because of cultural reasons?
thecodedmessage··on Was Rust Worth It?
You know what slows me down in Python? The fact that you need to actually go down a code path to make sure you’ve spelled everything right.

But nothing that Rust does slows me down because I’m used to it.

thecodedmessage··on Unix Structured Concurrency
The example is for the child process. The threads in Rust is meant as an implementation detail. This is super unclear and should’ve been explained.
thecodedmessage··on Writing Is Objectively Superior to Speaking as a Communication Method (2020)
Autism is no excuse for this level of confusion about what “objective” means and scorn for others’ ways of communicating that escalated to (checks notes) blatant and explicit misogyny. Plenty of autistic people do not do this.
thecodedmessage··on American Climate Corps
The level of debt we have is fine, and we could have a lot more and still be fine. The idea that the debt is a number worth minimizing is just bad economics.
thecodedmessage··on I built Excel for Uber and they ditched it
When property does not serve its purpose it is no longer morally binding, just legally. And that’s if you convince me proprietary code ownership has any moral standing at all. Sometimes, I follow the law not because it’s particularly the right thing to do but because I don’t want to get in any trouble.
thecodedmessage··on C++ Papercuts
How do you represent state machines, ASTs, or messages of different types? Sum types are great for those! I assume you don’t use std::variant for that? Have you ever written a tagged union when std::variant was available for clarity? Why the tagging boilerplate?
Page 1 of 2Next →