Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nemo1618
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
331.
▲
by
nemo1618
6y ago
This is true on its face for anyone who's spent hours and hours trying to beat a tough level of a video game -- we even call it "grinding" (at least in some contexts, namely RPGs), and to some extent it's not really &quo
332.
▲
by
nemo1618
6y ago
Once a public impassioned plea like this shows up, you know the battle has long since been lost. Sure, we'll convince everyone to stop using "begs the question" incorrectly...right after we convince them to stop using "d
333.
▲
by
nemo1618
6y ago
> I think having something built in is wrong, if it can be a library I'm split on this one. This sort of "axiomatic" philosophy of programming is fairly common, and it's not hard to see why; it just feels right , int
334.
▲
by
nemo1618
6y ago
I'll let Pieter Wuille explain: https://twitter.com/pwuille/status/1297630790713348096?s=19
335.
▲
by
nemo1618
6y ago
> Sia records the data on chain where as filecoin opens up a market for storage and retrieval I think what you're trying to say is that with Sia, you are responsible for choosing which hosts store your data, whereas with Filecoin, y
336.
▲
by
nemo1618
6y ago
Yes, in retrospect Go's push to "make concurrency easy" ended up being one of its worst attributes; Go's real value is in its simplicity, efficiency, and boringness, all of which concurrency runs counter to. On the other
337.
▲
by
nemo1618
6y ago
Basically, yeah, although "insecure" is a bit too broad; unauthenticated encryption is insecure in some contexts, like sending messages to another person. But if you're encrypting your own backups, and all you care about is
338.
▲
by
nemo1618
6y ago
> don't people always say exactly that? This is an understandable reaction, but the security margin on new crypto is way higher than old crypto. Roughly speaking, we went from "I guess if a state-level actor dedicated all the
339.
▲
by
nemo1618
6y ago
Here's a version for Go: https://github.com/lukechampine/geiger
340.
▲
by
nemo1618
6y ago
Less cheesy -- actually one of my favorites: https://www.youtube.com/watch?v=w3Rr4xIUYr4
341.
▲
by
nemo1618
6y ago
The explanation I've heard it's that it's an SEO thing -- if your page isn't "unique" it gets nuked in the rankings, so recipe sites need to add a long preamble to distinguish their otherwise-identical recipe.
342.
▲
by
nemo1618
6y ago
Throwing a bunch of code at godbolt and seeing it spit out a single 'mov' is definitely on my list of Top 10 Most Satisfying Things: https://godbolt.org/z/bdn37q
343.
▲
by
nemo1618
6y ago
Part of Zig's core philosophy is that you can readily assess the "cost" of any particular expression is doing. There are no hidden function calls. If an expression doesn't contain (), you can be completely confident that
344.
▲
by
nemo1618
6y ago
Erasure codes are so cool. This was posted to HN a while back, did you see it? https://www.cberner.com/2019/03/30/raptorq-rfc6330-rust-opti...
345.
▲
by
nemo1618
6y ago
Someone else linked it below: https://github.com/bitcoin/bitcoin/blob/e071a3f6c06f41068ad1... Equivalent check in btcd, an alternative Bitcoin implementation: https://github.com/btcsuite/
346.
▲
by
nemo1618
6y ago
Weird. That doesn't make any sense to me. btw, the whitepaper probably used "number of leading zeros" because that's what Hashcash does.
347.
▲
by
nemo1618
6y ago
> but got changed to a less-than check for performance reasons. Performance as in "it takes less time to verify the PoW," or something else? Because the "leading zeros" and "less than target" approaches woul
348.
▲
by
nemo1618
6y ago
> The PoW is suffice if the hash begins with a certain number of 0s This is a common explanation of PoW, but is actually incorrect. If you think about it, this would mean that the PoW difficulty could only increase (or decrease) by a fac
349.
▲
by
nemo1618
6y ago
Will it really? Old: sum := 0 for _, x := range xs { sum += xs } New: slices.Reduce(xs, 0, func(i, j int) int { return i + j })
350.
▲
by
nemo1618
6y ago
My milkman service has been a godsend during quarantine. They missed a week early on while testing all their drivers, but other than that it's been flawless. I get fresh milk, bread, eggs, even ice cream delivered every week. They don&
351.
▲
by
nemo1618
6y ago
Recently I came across a device that claims it can help you break addictions via voluntary electric shocks: https://pavlok.com It seems plausible that it could work, but it's suspicious that the site doesn't address th
352.
▲
by
nemo1618
6y ago
If you want a line-by-line breakdown of an Urbit app, I wrote one here: https://github.com/lukechampine/rote/blob/master/urbit/app/r... The drawing app is more complicated, so it's split i
353.
▲
by
nemo1618
6y ago
Wow, this is super polished! Really raises the bar for Urbit apps. I love how the demo mirrors the original Urbit CLI demos as well.
354.
▲
by
nemo1618
6y ago
(Int).FillBytes is great, thanks! I had resorted to using Bits and reimplementing the Bytes logic on top of that...not pretty.
355.
▲
by
nemo1618
6y ago
Uppercase exports are great once you get used to them. You can know whether an identifier is exported instantly without having to look up its declaration. Agree that the multiple declaration/assignment syntaxes are unfortunate. Another
356.
▲
by
nemo1618
6y ago
Oh shit, I totally forgot about bash.org. hunter2, DISREGARD THAT, "I put on my robe and wizard hat"... a lotta old memes came from IRC.
357.
▲
by
nemo1618
6y ago
Yep, we fell for the "good products sell themselves" meme. :/ As engineers, we felt uncomfortable promising the moon like so many other ICOs did (and still do). Blockchain-wise, the system we built was actually very conservat
358.
▲
by
nemo1618
6y ago
Neat! I love the model of giving powerful CI tools directly to the user. I ended up with a similar solution for my personal projects: a private bors-style CI GitHub bot, written from scratch, running on my own hardware, that I control via G
359.
▲
by
nemo1618
7y ago
Darwin also suffered from chronic health problems for his entire adult life: https://en.wikipedia.org/wiki/Health_of_Charles_Darwin "For over forty years Darwin suffered intermittently from various combinations of
360.
▲
by
nemo1618
7y ago
I unironically enjoy listening to this 16-second loop on repeat for 50 minutes: https://youtu.be/8snzt-umd0g More recently, Haircuts for Men: https://youtu.be/XZUiPCGjej8
More ›