Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sivizius
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
sivizius
4y ago
For the record: let squares: Vec<_> = numbers.iter().filter(x => x >= 0).map(x => x * x).collect(); is not valid Rust, but this is: let squares: Vec<_> = numbers.iter().filter(|&&x| x >= 0).map
2.
▲
by
sivizius
4y ago
yes, because watching molecules is easy…right?
3.
▲
by
sivizius
4y ago
Issue with unconstrained template-based approaches: Only static dispatch is possible which means, the compiler has to duplicate the procedure for all actual type-combinations and a procedure cannot return objects of different types, even th
4.
▲
by
sivizius
4y ago
You seem to be the only one here pathologising ADHD.
5.
▲
by
sivizius
4y ago
There is also another term for this: ADHD. Even though ADHD does not really have anything to do with attention, it is more of a motivation-issue, which can led to starting new, promising projects instead of finishing projects, because you f
6.
▲
by
sivizius
4y ago
And he is talking about the diesel effect. This implies the presence of an oxidiser like oxygen. Yes, CH₄ + 2 H₂O does react to CO₂ and 4 H₂, but not under high pressure and it is endothermic, so nope. And this pipeline has an diameter of m
7.
▲
by
sivizius
4y ago
KOH is not soap, it is used in the production of soap and KOH will make your skin to soap. Destroying anything organic by cooking it in strong lye at 120 °C with quite polar solvent is not something unexpected. It might be optimised with cr
8.
▲
by
sivizius
4y ago
Asbestos is a silicate…
9.
▲
by
sivizius
5y ago
RSA is bad, because developers do not implement it as specified and ECC is good, because most developers will not implement it themself, because they do not understand ECC and therefor use libraries? IMHO a huge advantage of RSA over ECC is
10.
▲
by
sivizius
5y ago
So, a RegEx (melody syntax) to RegEx (unspecified syntax) compiler? I mean, the syntax is nice, but 1. please specify which kind of regular expression it compiles to, 2. are those really regular expressions or a language higher in the choms
11.
▲
by
sivizius
5y ago
Do you like teapots? Fine, let us talk about the teapot currently orbiting the sun on the opposite side, so small, we cannot see it, but it is obviously there, ancient books and the elder says so. You do not believe me? Then where is your e
12.
▲
by
sivizius
5y ago
Btw. as you can see in the figure about blood type distributions, »I am more likely to have a common blood type than a rare one"« is actually false. It is more likely to have any other type than A. But fair enough, neither of the blood
13.
▲
by
sivizius
5y ago
Too many predictions with too many assumptions and too little data.
14.
▲
by
sivizius
5y ago
Someone reinvented ResearchGate and aRxiv, but made it worse?
15.
▲
by
sivizius
6y ago
This was actually a somewhat significant reason I shared this article. (^.^)
16.
▲
Speed of Rust vs. C
(kornel.ski)
619 points
by
sivizius
6y ago
|
525 comments
17.
▲
Humans Came from Asgard
(en.wikipedia.org)
2 points
by
sivizius
6y ago
|
1 comments
18.
▲
by
sivizius
6y ago
…and might descend from Loki ( https://en.wikipedia.org/wiki/Lokiarchaeota#Evolutionary_sig... )
19.
▲
by
sivizius
6y ago
The number of CVEs is for the most part a function of how-often-does-someone-look-at-it and only for a tiny part a function of safety. If I remember correctly, sometime ago a lot of CVEs appeared for OpenBSD, because someone seemed to have
20.
▲
by
sivizius
6y ago
And where is the advantage then to have a `call syscall_wrapper` over `mov rax, syscall_number; syscall` if the ROP was able to return just before the call?
21.
▲
by
sivizius
6y ago
https://lwn.net/Articles/806776/ says, system-call-origin verification is for mitigation of ROP. ROP is (always?) a result of stack buffer overflows, which are a result of bad programming in asm/C/C++, b
22.
▲
by
sivizius
6y ago
Except for Baden-Württemberg, which has tuitions for non-EU-students (1.5k€ per semester afaik), it is irrelevant whether you are German, EU-citizen or from somewhere else. The only tuitions you might have is for studying too long.
23.
▲
by
sivizius
6y ago
or Germany, where the only cost you might have is for the public transport ticket or something like that, and even this is often optional…I am actually curious why there are not so many students from the USA in German universities? Or is th
24.
▲
by
sivizius
6y ago
Long time ago, I used PureBasic. It was easy to write simple GUI-applications with a bit of network stuff. But some day I had an issue and had to look at the assembly-output (it uses flat assembler as the backend) and saw something like `pu
25.
▲
by
sivizius
6y ago
»One […] scientist believes so […]« – does not sound that promising
26.
▲
by
sivizius
6y ago
Kali Linux still exists? I thought after it was used in so many more or less good films and series it is not cool any more. :D
27.
▲
by
sivizius
6y ago
I just looked on the translations to my native language and it is hilarious. Need more popcorn.
28.
▲
by
sivizius
6y ago
I first wondered, why there is not an english version of this language, because there was no “en”…apparently citrine things, “us” is a language…
29.
▲
by
sivizius
6y ago
Most of the time, I let my IDE check the code with rls, rust-analyzer or cargo check which invokes the rust-compiler without doing the costly code generation part with LLVM, so it is usually fast enough checking huge projects while writing