Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teo_zero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
61.
▲
by
teo_zero
3mo ago
Put the "--" in the condition. It's less ugly.
62.
▲
by
teo_zero
3mo ago
Timer should be like in chess tournaments: an initial budget of X, increase by Y for each word you guess.
63.
▲
by
teo_zero
3mo ago
I don't know... I prefer unobfuscated text that you can immediately grok. The other day I saw this on a T-shirt: > May the m×s/t² be with you
64.
▲
by
teo_zero
3mo ago
> You do seem to get more | shaped pieces when you leave those spaces open on the board. I don't think this is correct, nor that it can be evinced from the article. What it does say is that the sequences that led them to achieve th
65.
▲
by
teo_zero
3mo ago
> What a ridiculous comment I wonder if starting a comment by despising the parent is just being gruff or it leans on personal attack...
66.
▲
by
teo_zero
3mo ago
What if I omit the "uniq" keyword? Is it still valid code, just not protected by the compiler from union types changing underneath?
67.
▲
by
teo_zero
3mo ago
> More Authors with DRM-Free Books > On Amazon, look for books that offer EPUB and PDF downloads. Isn't this like saying "to find a needle in a haystack, just look for anything that's metallic"? Technically correct
68.
▲
by
teo_zero
3mo ago
I can't speak for others, but I downvote to recommend other readers that the post is not worth reading. Not because I disagree with it, but because it's off topic in a way or another. If TFA is about a tool, I tend to downvote com
69.
▲
by
teo_zero
3mo ago
Nice idea. I'm just wondering how to debug code written in fusion... probably you must focus on one of outputs, debug that one, and then back-fit the changes to the fusion source. :/
70.
▲
by
teo_zero
3mo ago
The concept is very similar to robin hood. In fact most of the performance charts show that the curves of hopscotch and robin hood are very close. I think I'd prefer robin hood as it's well known.
71.
▲
by
teo_zero
3mo ago
> it's definitely infinite if you play perfectly. Considering that 2 new pieces are spawned for each captured one, if you keep progressing you will exhaust the real estate, sooner or later. The only way to go on infinitely is not c
72.
▲
by
teo_zero
3mo ago
Or you could only flag the inconsistencies, for example if the same digit shows up twice in the same row.
73.
▲
by
teo_zero
3mo ago
> I think you meant to use [400]u6 Of course! I guess it was too early to do the maths correctly... :)
74.
▲
by
teo_zero
3mo ago
Can I convert a 300-byte message to Base64 with a single instruction? Like: in: [300]u8; out: [800]u3; out = @bitCast(in);
75.
▲
by
teo_zero
3mo ago
Getting caught didn't make him a superstar. Telling his techniques in books and public speeches did.
76.
▲
by
teo_zero
3mo ago
I hate that it immediately flags your errors. First, because it doesn't forgive the casual finger slipping or forgetting if you are in pen or pencil mode. And then because it partially gives away the solution.
77.
▲
by
teo_zero
4mo ago
> A lot of pain and suffering to avoid having a string datatype No, a lot of pain and suffering to work around the lack of a string datatype in C.
78.
▲
by
teo_zero
4mo ago
> Maybe I should consider myself as one It depends: do you get its and it's right? :)
79.
▲
by
teo_zero
4mo ago
Oops! I had better revise my theory, then!
80.
▲
by
teo_zero
4mo ago
Reading through the comments, I've noticed you can tell the native speakers by their scores in the word categories. A native speaker will score 20/20 in the first two bands and progressively less in the following ones. For those w
81.
▲
by
teo_zero
4mo ago
The second part, where it says that Rust is faster than Python, is so obvious than doesn't deserve any further comments. What I found interesting, is that idiomatic Python, with generators and all, can be so much worse than "C-sty
82.
▲
by
teo_zero
4mo ago
> People will only get to use and experience these tools through their employer Like in the era of mainframes, before the personal computer was a thing. I wonder if universities will play the same role, though.
83.
▲
by
teo_zero
4mo ago
> understand hash functions less after reading this than I did before. Haha! Same for me ( this being tptacek's comment, not the article). It's like reading an introductory explanation of what an electric vehicle is ("a c
84.
▲
by
teo_zero
4mo ago
Clever! I don't like the use of uintptr_t, though. Why not storing the array begin in v[0] and a pointer to the first free item in v[1]? You avoid casts by defining len as ptrdiff_t and calculating it as v[1]-v[0].
85.
▲
by
teo_zero
4mo ago
> (granted, all AMD for compatibility) I get that you mean that AMD is more compatible than... what? Intel? Arm?
86.
▲
by
teo_zero
4mo ago
Wait! Are you saying that you process new registration attempts without any rate limit, captcha, etc? Because the moment to filter out (or limit) bad actors is before they submit an email address, not through it.
87.
▲
by
teo_zero
4mo ago
> the major email providers will penalize you if you generate too many undeliverable emails. I suspect the rate at which new users may try to create new accounts and type a wrong email address is too low to be noticed by reputation metri
88.
▲
by
teo_zero
4mo ago
The plus sign is a pet peeve of mine, too. But I stopped keeping a list of bad sites when their number has become double digit!
89.
▲
by
teo_zero
4mo ago
> you absolutely can navigate Windows + Office keyboard only Unfortunately in Excel many operations can be done only with the function keys (e.g. F2, Shift-F8). I'd argue that leaving the center of the keyboard to press the function
90.
▲
by
teo_zero
4mo ago
Writing to array[n] and not incrementing n means that the value just written is outside the "useful" range (from 0 to n-1) and will not be considered (it will be overwritten the next iteration).
More ›