Recent submissions

Comment · 3 years ago
It's like predicting that flying will never be a mode of transportation while laughing about Wright brothers's planes crashing
Comment · 3 years ago
If I'm not mistaken, especially with x11, it is trivial to install a keylogger without root password. Just a process in the background that listen to your keys and send them over the wire. (And you can add that program in the list of program to run while logging in)
Comment · 3 years ago
I was thinking the same. But then I thought about it more and wondered why you need to enter your own password if you're already logged on. If an attacker is already in the system, it can install key logger and whatnot without the root password. And the xn--ts9h program can have the Unix permission so that only the user can run it.
Comment · 3 years ago
I don't understand this website and why it always get linked. It's just a list of a bunch of crates unsorted. Most of them are unmaintained, or just early prototypes. There isn't a good comparison of all these crates
Comment · 3 years ago
> I don't even understand how is that possible, since Qt Creator is GPL3.

Because doing so would be violating the terms of the commercial Qt license you paid for.

Comment · 3 years ago
Regarding the sloc count, the default automated Rust formating tool is very eager to adds lot of lines by basically keeping only one word per line. Something I'm not a fan of, I must say.
Comment · 3 years ago
I mean, there might be effect, but do you have a quantification of these. Like maybe you get 0.1% more likely to catch cancer if you eat these mushroom, but when you compare that to the 300% more likely if you smoke then I think you're safe.

Why do we allow smoking but are scared of low dose radiations?

Comment · 3 years ago
> 150k people had to leave their homes because they were not safe.

The fact that they were not safe is disputed. There are claim that there was some over-reaction and that the evacuation was actually counter-productive.

Comment · 3 years ago
For GUI programming, you can use a toolkit that have a preview extension that updates in real time as you type. For example, Slint does that.
Comment · 3 years ago
Yes that's right. The thing is that people have been using the term OCD as a pejorative term for someone who is "detail oriented" and that need to be avoided. (When not referring to the disorder specifically)
Comment · 3 years ago
I think it's the same reason why we are teaching assembly even if there are compilers. Or teaching Latin even though it's a dead language
Comment · 3 years ago
Nice article, but there are many errors or typo that makes it hard to follow. (Is it a typo or do I not understand that part) For example, his use of 'unsafe': why functions that don't take pointer are declared as unsafe? Also taking a pointer of an array shouldn't need unsafe. Is 4 > 8 ? Missing close ']'. And that's just the one I see.

I haven't tried compiling the code example, but I don't think they do.

Comment · 3 years ago
'comptime' only works if all arguments are known at compile time and the function can be evaluated at compile time. This is not the same as inlining, which puts the body of the function in the caller and remove the call. (And then do further optimisations such as const propagation)
Comment · 3 years ago
With BSD, you're giving every company the right to take your code and use it without returning any favour at all.

With the CLA it's the same. But at least Signal give back by still providing libsignal as free software.

It depends on your motivations for contributing. If you don't like the CLA or any other things, you can still fork. Even if it may not be compatible with your own motivations, it is still in the spirit of free software.

Comment · 3 years ago
I don't really understand this ethical framework. What can be done with these paintings? Must they be destroyed, or anything else is "profiting off victims of Nazis"?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton