Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bspammer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
421.
▲
by
bspammer
5y ago
So not random at all, other people had exactly the same idea as you and picked the same numbers. I would have been more surprised to see zero traffic at those addresses to be honest.
422.
▲
by
bspammer
5y ago
The birthday problem means that the number of values you have to choose to have a 50% chance of a collision scales approximately with the square root of the size of the space. [0] 2^(256/2) is way, way bigger than the number of used bi
423.
▲
by
bspammer
5y ago
Even if we measure the widest distance (width of the known universe) by the smallest unit (planck length), we only get to 10^61, which is still 16 orders of magnitude away.
424.
▲
by
bspammer
5y ago
Thanks for the tip! You weren't kidding... %time df['balance'].apply(lambda x: x * 36902.7 / 100e6).describe() Wall time: 12.6 s %time df["balance"].mul(36902.7).div(100e6).describe() Wall ti
425.
▲
by
bspammer
5y ago
That CSV is actually really interesting. The median wallet holds about $30, the largest holds $10b, and the standard deviation is over $2m. >>> import pandas as pd df = pd.read_csv("btc_balance_sorted.csv")
426.
▲
by
bspammer
5y ago
This is a rare care where "astronomically low" is actually underselling how unlikely something is.
427.
▲
by
bspammer
5y ago
The first address that has never been used is 61. Would be fun to keep track of over time.
428.
▲
by
bspammer
5y ago
Or someone implementing their own bitcoin client and using a predictable key for fun
429.
▲
by
bspammer
5y ago
> A private key is basically just a number between 1 and 2^256 It's like saying "I'm gonna pick a random number between 1 and a trillion", and then picking 999,999,999,995. Probably not a smart idea given that you don
430.
▲
by
bspammer
5y ago
I can see your point, but I’ve been working like this for 3 years and my anecdotal evidence is that kind of thing simply doesn’t happen.
431.
▲
by
bspammer
5y ago
That workflow is exactly what I do, but it's on a small codebase rather than on a big one. The benefits of working on a small repo include: * Faster compilation (only depend on exactly the libraries you need) * Faster testing (only nee
432.
▲
by
bspammer
5y ago
Yeah that doesn’t sound fun at all
433.
▲
by
bspammer
5y ago
> You've optimized for one use case, but you've made everything else more complicated as a consequence. Yes, but that use case happens to be something that I need to do 5 times a day - make a small (<200 line) code change to
434.
▲
by
bspammer
5y ago
> no good reason How about deployment speed? If I’ve got a microservice collecting events off a queue and writing a csv out to S3 on a schedule, it’s really nice to be able to add a column and deploy in minutes without having to rebuild
435.
▲
by
bspammer
5y ago
In the Java world, maven works really well. It’s my personal gold standard, I haven’t found anything in another language which works better.
436.
▲
by
bspammer
5y ago
They're easily on the list of things I would replace immediately if I lost them, without even a second thought. The price is nothing for the amount of use I get out of them.
437.
▲
by
bspammer
5y ago
Presumably the feeling of doing good in the world is reward enough for them, especially if they already have more than enough money to get by (as most devs in the west do).
438.
▲
Micro Live: WIMP on the Amiga (1985)
(facebook.com)
1 points
by
bspammer
5y ago
|
0 comments
439.
▲
by
bspammer
5y ago
The comment you're replying to has an example of using a specific DNS server. As for reverse lookups, it's as simple as host <ip-address>
440.
▲
by
bspammer
5y ago
I highly recommend watching this video, which explains floats in the context of Mario 64: https://www.youtube.com/watch?v=9hdFG2GcNuA Games are a great way to explain floats because they're so visual. Specifically, che
441.
▲
by
bspammer
5y ago
Keep trying. If you’re like me, the first 18 years will be the hardest. It will feel like trying to learn a game where the rules are continually changing. The gap between how a 12 year old communicates and how a 15 year old communicates is
442.
▲
by
bspammer
5y ago
This is a really excellent sales pitch, you answered all my “why not just” questions upfront. The video makes this look very smooth to use, excited to try it out next time I have a need.
443.
▲
by
bspammer
5y ago
> It takes a certain kind of maturity to ship something so unapologetically utilitarian This reminds me of a quote I’ve seen a few times: “When I was younger I thought alcohol was the adult drink. When I got older I realized water was th
444.
▲
by
bspammer
5y ago
I think it would be a shame for every website to look the same. Not all information is textual - we’re visual creatures and a lot of meaning can be conveyed through color, layout, font choices etc.
445.
▲
by
bspammer
5y ago
What makes one chemical cocktail a "veil", but another chemical cocktail is not? There's no true consciousness that is being deceived by chemicals - you are the chemicals.
446.
▲
by
bspammer
5y ago
The only way I can think of do that would be to not make a name field mandatory. That's certainly possible in some applications, but not in others. For example, I work in insurance and we need a name to put on the policy documents.
447.
▲
by
bspammer
5y ago
The included web UI is quite nice (they really should include a screenshot on the website), and setting up backups/remotes is very simple, everything is content addressed so you can just copy stuff without fear. Snapshots I suspect wou
448.
▲
by
bspammer
5y ago
For your second point, you might want to have a look at Perkeep: https://perkeep.org/ It supports the kind of queries you are after, but it’s a bit of a passion project and development is slow. What’s already there works we
449.
▲
by
bspammer
5y ago
If I had a kid, I’d be encouraging them to play Minecraft. I’m 25, and played during the very early days around 2009. I can’t see a way in which Minecraft was anything but good for my brain. I regret the amount of my teens that I spent play
450.
▲
by
bspammer
5y ago
> Pandemic ain't real, they just planned it Sounds like medical misinformation to me.
More ›