Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pingyong
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
91.
▲
by
pingyong
7y ago
>Although maybe it's pointless, because according to Wikipedia SHAKE128(256) is only 8% faster than SHA3-256 for large inputs. This is mainly due to SHA3's humongous 1600-bit state, which is not very friendly to embedded system
92.
▲
by
pingyong
7y ago
They literally intentionally blocked you... that's kinda what they expect to happen lol.
93.
▲
by
pingyong
7y ago
What I'm wondering about is: If you're not targeting an EU-audience, and you therefore might not even have servers in the EU, and certainly don't have EU-based revenue streams - why do you even care? Can an EU court even do a
94.
▲
by
pingyong
7y ago
The way append allocations work makes me think that you can't have classes on the stack? That seems at odds with the design goals of making the language suitable for high performance applications - I mean sure you can use structs for e
95.
▲
by
pingyong
7y ago
Or a different PC altogether, or you hurt your hand, or you're drunk, or, ... This probably wasn't meant to be practical and only a fun experiment, I hope. :)
96.
▲
by
pingyong
7y ago
While I vastly prefer this workflow wise, for large projects it can increase compile time drastically. https://lwn.net/Articles/744507/ For projects that will never have more than ~1 million LOC it's probably
97.
▲
by
pingyong
7y ago
Hmm, this is certainly interesting, but if I do the calculation for Germany for example, 80,000€ "gross" income comes out to a cost of about 96,600€. https://www.nettolohn.de/rechner/gehaltsrechner-fuer-arbeit
98.
▲
by
pingyong
7y ago
You do have to cull the others, but the culling isn't what is costly. What is costly is the exponential nature of searching the tree, i.e. if you want to evaluate 3 of your moves in advance, with 50 moves being available every time, yo
99.
▲
by
pingyong
7y ago
>It should increase the branching factor considerably Is branching factor actually that relevant? Just from writing some naive AIs for fun I got the impression that the only thing that actually mattered is how well you can evaluate a pos
100.
▲
by
pingyong
7y ago
Just yesterday I read something about the show "White Collar" and checked it out on Amazon Prime Germany. In German language it is available for free. I like to watch shows in their original language though. English costs 4€ per e
101.
▲
by
pingyong
7y ago
>I've learned things after being corrected by a teacher, and then I practised on my own until the next mistake, at which point I was corrected again, and so on. Yeah, that actually makes sense. I suppose with programming (or anythin
102.
▲
by
pingyong
7y ago
Very interesting, I wonder how this "tradition" came to be in the first place. I suppose if you need a large amount of people who you don't expect to bring any special qualification anyway, it's most efficient to just hi
103.
▲
by
pingyong
7y ago
> Anything you learn in school, you can in principle learn on your own, but it can take significantly more time and there's no guarantee of consistency (compared to someone learning with a teacher). So, honest question, did you guys
104.
▲
by
pingyong
7y ago
Steam might be a better example here, as Valve already allows devs to use their private network for game servers. Although it should be noted that all of this effort is only worth it because greedy ISPs are unwilling to peer to certain othe
105.
▲
by
pingyong
7y ago
That's kinda dodging the issue though. Is the market still functioning with the same principles it always has? Yes, absolutely. But where does a market where employers generally have more resources and power than employees (even if it&
106.
▲
by
pingyong
7y ago
>I pretty much never partied and spent my time studying at the library. I wouldn't have been able to usefully work on Rust without a lot of the PL theory that I learned at university Did studying by yourself at the library really re
107.
▲
by
pingyong
7y ago
>You don't want to have your house built by guy who aced some online architecture test but has no degree, do you. That's not really the primary problem I think, I gladly would. But what I would like even more is an entity (prob
108.
▲
by
pingyong
7y ago
I'm not sure what you mean. If you have code like this struct Foo { unique_ptr p; }; Foo is automatically not copyable. That code is about is perfectly good idiomatic C++, with zero boilerplate. And that is how mos
109.
▲
by
pingyong
7y ago
It is also complete BS, in many (if not most) cases Google doesn't even have that information, and Google definitely doesn't give that information to advertisers lol.
110.
▲
by
pingyong
7y ago
If you need a deep copy you also need to write a copy() function for the object without RAII. (Although one could argue that that is still RAII, just without operator overloading.) But in any case, for deep copies, the copy code needs to be
111.
▲
by
pingyong
7y ago
I'm not sure how RAII could ever need more code, when the only difference is that functions get called automatically (instead of through close(), or a close() inside a defer).
112.
▲
by
pingyong
7y ago
>With break, control flow goes out of the loop or out of the switch. You may find function calls there. Yeah but you don't have to look for anything in between. You look for where it goes, and that's it. That there could be a f
113.
▲
by
pingyong
7y ago
>If you read the line "continue;" or "break;", you don't know if that triggers one (or multiple) function calls until you read the surrounding code. Not sure what you mean exactly - you have to read the surroundi
114.
▲
by
pingyong
7y ago
>I think that piece would get too long if it described everything in depth. I don't think one sentence more about a very fundamental operation in a page-long document would really be misplaced. But as far as the language itself goes
115.
▲
by
pingyong
7y ago
I don't mind it not being default - but the section doesn't mention at all how to get wrapping behavior. Just one sentence like "use this different operator to get wrapping behavior" would be fine, but since they didn&#x
116.
▲
by
pingyong
7y ago
Hmm that's certainly an interesting project. But I have to wonder if writing "defer file.close()" everywhere is really superior to RAII. Isn't defer also kind of hidden control flow? At that point I feel like RAII simply
117.
▲
by
pingyong
7y ago
What are you referring to? The only FIPS I know are crypto standards from NIST, and they seem pretty reasonable. (Except for the EC RNG of course lol.) Even the NIST password recommendations are pretty reasonable IIRC, they recommend having
118.
▲
by
pingyong
7y ago
I looked at a couple of pictures from the dataset posted above, and I think for the best effect the holes need to be local (so there's a regular / smooth surface, and only some of it is covered in holes), they need to be large eno
119.
▲
by
pingyong
7y ago
>I'm still trying to get away from Gmail because I know everything I send/receive is parses but the struggle is real. There's the spying, but then there are also the numerous instances where Google simply terminated someon
120.
▲
by
pingyong
7y ago
Just looking at the API "sds" seems to just be a typedef for char* - unfortunately, that means that accidentally passing a char* as an sds into any of the functions will be instant UB and not even a compiler warning. Considering t
More ›