Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
varajelle
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
varajelle
4y ago
It's like predicting that flying will never be a mode of transportation while laughing about Wright brothers's planes crashing
2.
▲
by
varajelle
4y 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 p
3.
▲
by
varajelle
4y 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
4.
▲
by
varajelle
4y 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
5.
▲
by
varajelle
4y 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.
6.
▲
by
varajelle
4y 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.
7.
▲
by
varajelle
4y 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
8.
▲
by
varajelle
4y 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.
9.
▲
by
varajelle
4y 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.
10.
▲
by
varajelle
4y 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)
11.
▲
by
varajelle
4y 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
12.
▲
by
varajelle
4y 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? Als
13.
▲
by
varajelle
4y 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
14.
▲
by
varajelle
4y 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
15.
▲
by
varajelle
4y 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"?
16.
▲
by
varajelle
4y ago
Yeah, but the compiler need to see through all the functions to find out that there is no const_cast and therefore makes const useless because it could as well see it is not modified. Also it needs to be good at alias analysis.
17.
▲
by
varajelle
4y ago
And event const can't in general be used for optimizations (because there can be another reference to the same location, or one can just const_cast)
18.
▲
by
varajelle
4y ago
> This may come down to how good the language is at capturing desired semantics in a library. Rust still has a long way to go to catch up with C++ on this axis, and C++ is not waiting around. What catch up does Rust need to do? Rust has
19.
▲
by
varajelle
4y ago
Exactly what C++ to C at the beginning https://en.m.wikipedia.org/wiki/Cfront
20.
▲
by
varajelle
4y ago
CppFront is a different project entirely. It's like saying C++ is C's future
21.
▲
by
varajelle
4y ago
Mass is energy
22.
▲
by
varajelle
4y ago
> its rotation will stay at exactly 24 hours. The earth rotate around itself in 23 hours and 56 minutes https://en.m.wikipedia.org/wiki/Sidereal_time
23.
▲
by
varajelle
4y ago
There is also Slint: https://github.com/slint-ui/slint which is written entirely in rust. The UI is fairly similar to Qml. And you can have the logic in Rust or in C++.
24.
▲
by
varajelle
4y ago
Why compiling on the pi, instead of cross compiling?
25.
▲
by
varajelle
4y ago
Easy: just learn Mandarin /s
26.
▲
by
varajelle
4y ago
And plastic is not safe?
27.
▲
by
varajelle
4y ago
Oh no, I'm not using the entire input, just a few functions of interest. And not the copyright headers of course.
28.
▲
by
varajelle
4y ago
I take your code and I compress it in a tar.gz file. Il call that file "the model". Then I ask an algorithm (Gzip) to infer some code using "the model". The algorithm (gzip) just learned how to code by reading your code
29.
▲
by
varajelle
4y ago
Do you have actual technical explanation? (other than argument of authority)
30.
▲
by
varajelle
4y ago
I think Wayland is fairly safe, but any X11 client can take screenshots or listen to the keyboard, or emit keyboard event, without limitations.
More ›