Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
darkgray
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
darkgray
3mo ago
There's a new course every day (like Wordle), so we were talking about yesterday's. It's still accessible from the archive / calendar button in the menu! I'm pretty sure Mr Dev Man messed with the power levels after
2.
▲
by
darkgray
3mo ago
Prove you can get in the hole in just 6 putts, damn you.
3.
▲
by
darkgray
4y ago
It's a bit more involved than that. mul rcx, rax ; multiply our result by our base, save into rcx This should probably be using rbx, since that's the designated base, not rax, which is the exponent. In the explanation
4.
▲
by
darkgray
4y ago
Pardon, but the assembly code on the "Loop de Loop" chapter currently seems broken. "rax" is acting as all three variables somehow.
5.
▲
by
darkgray
5y ago
Me too. I have a project suffering pretty badly from the performance hit taken when a regexp doesn't start with a fixed string. Matching against `[ab]cd` is up to 9x slower than against `ab[cd]`.
6.
▲
by
darkgray
8y ago
Japanese forum giant 5ch (formerly 2ch) has also decided to IP block all of EU in order to "comply" with GDPR, as of a few days ago. I've been hoping it wouldn't spread, since it's depressing to be confined to a lit
7.
▲
by
darkgray
13y ago
The far left and right sides are clickable to "turn the page", so to speak. It's an invisible area, though, so it's not very easy to deduce from just looking at the webpage.
8.
▲
by
darkgray
13y ago
While it doesn't remove the gymnastics requirement, a relatively nice alternative to webpage pgup/pgdn is shift-space/space.
9.
▲
by
darkgray
13y ago
I always thought Goo could be a name that sticks.
10.
▲
by
darkgray
13y ago
I'd agree it's dubious, but I was mostly commenting on the "correctness" of the code. It'd work on Go 1.1, so it's technically "correct". Sometimes. :)
11.
▲
by
darkgray
13y ago
Go 1.1 made int default to int64, so it may depend on how up-to-date your particular version is. God knows what the blog poster uses, though.
12.
▲
by
darkgray
14y ago
ST2 can also delete entire words: Ctrl+Del (ahead) Ctrl+Backspace (behind) Ctrl+Del even works in Notepad, if that's your thing.