News for hackers. Stuff that matters.

thecodedmessage

Re:C can be memory safe on Thursday June 20, 2024 @05:04PM (#40743353)
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!
Re:Rust is not about memory safety on Monday June 03, 2024 @10:34AM (#40563022)
This is a fair defense of C, but C++ is what deserves the heat. C is portable assembly, C++ isn’t.
Re:The Intellectual Obesity Crisis on Monday June 03, 2024 @07:05AM (#40561450)
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.

Re:This Message Does Not Exist on Sunday June 02, 2024 @10:15AM (#40554331)
Math problems are quite similar in this way!
Re:in Rust, methods should be object safe on Saturday June 01, 2024 @11:54PM (#40551193)
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.
Re:The Derivative of a Number on Sunday May 12, 2024 @02:13AM (#40332551)
“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!
Re:The Derivative of a Number on Sunday May 12, 2024 @02:12AM (#40332548)
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.
Re:Opening /proc/self/fd/1 is not the same as dup(1) on Tuesday February 20, 2024 @10:17AM (#39442283)
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.

Re:Pure Bash Web Server on Friday February 16, 2024 @11:05AM (#39398818)
Yeah, I remember reading the code in the kernel that handles shebang a long time ago. ld.so is not involved.
Re:Identifying Rust's collect:<Vec<_>>() memory leak footgun on Saturday January 20, 2024 @12:33AM (#39064992)
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.”
Re:Polars on Tuesday January 09, 2024 @02:57AM (#38923546)
The Rust docs are for some reason much worse than the Python docs, or at least that used to be the case
Re:Polars on Tuesday January 09, 2024 @02:55AM (#38923538)
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.
Re:Run a DOS-based Web Server (seriously) on Wednesday January 03, 2024 @12:32PM (#38856855)
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.

Re:Cross-platform Rust rewrite of the GNU coreutils on Wednesday January 03, 2024 @12:30PM (#38856825)
Writing in Rust when appropriate is improved modern coding practice.
Re:A programming language coding in a grid on Wednesday December 27, 2023 @09:04AM (#38781981)
So what’s the point?
Re:A programming language coding in a grid on Wednesday December 27, 2023 @09:03AM (#38781975)
Naming variables is so good that it should be mandatory in your programming language.
Re:Reforming Unix on Monday December 25, 2023 @12:05PM (#38764191)
If at first you don’t succeed with a big company’s resources, try again as a hobbyist!
Re:Run a DOS-based Web Server (seriously) on Thursday December 21, 2023 @03:25PM (#38726365)
This can’t be actual DOS, can it? It’s running Windows batch files or something?
I am so sad there’s not more LoTR stories. Have written about this before: https://www.thecodedmessage.com/posts/tolkien/
Re:Plan to End E-Vehicle Subsidies Sparks Anger in Germany on Monday December 18, 2023 @02:47PM (#38687235)
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.
“Because profit” is a bad explanation. It’s super incomplete.
Re:The Time Julius Caesar Was Captured by Pirates on Tuesday December 05, 2023 @10:14AM (#38531872)
I think you’re misunderstanding the meaning of “great” in “great man theory.” It means “big” as in “significant,” not “good.”
Re:Nicotine: On the benefits and lack of demerits of nicotine on Saturday November 11, 2023 @10:26AM (#38231119)
These sources do not address the claims made in the article.
Re:Nicotine: On the benefits and lack of demerits of nicotine on Saturday November 11, 2023 @10:23AM (#38231090)
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?
Re:Was Rust Worth It? on Thursday October 26, 2023 @08:51AM (#38024833)
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.

Re:Unix Structured Concurrency on Thursday October 12, 2023 @12:16AM (#37853437)
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.
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.
Re:American Climate Corps on Wednesday September 20, 2023 @05:35PM (#37590541)
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.
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.
Re:C++ Papercuts on Monday August 28, 2023 @08:58PM (#37302261)
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?

Older »