Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nemo1618
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
by
nemo1618
4y ago
About to get on an AA flight, will report back!
122.
▲
by
nemo1618
4y ago
Curve25519, ChaCha20, and plenty of other cryptographic primitives haven't been comprised (and there's a good chance they never will be). You can absolutely communicate over the internet without others reading your messages. Meta
123.
▲
by
nemo1618
4y ago
I can't understate how valuable it is for a new language's stdlib to be so well written and therefore an excellent reference for style, design, performance, documentation etc. in your own code. Every time you need to lookup how
124.
▲
by
nemo1618
4y ago
This post had a big influence on me back in the day. When I first read it, I think it was discussed here in the context of Go, which was relatively new -- people were complaining about its use of capitalization to indicate visibility, its l
125.
▲
by
nemo1618
4y ago
Another (much more obvious) tip: pictures with people in them are almost always more interesting than pictures of nature/buildings/objects/etc.
126.
▲
by
nemo1618
4y ago
> Theoretically you can have a good candidate that doesn't know e.g. that appending to a slice passed in a function argument is a recipe for disaster. Huh? This is a common pattern. (hash.Hash).Sum, strconv.AppendInt, etc. I think y
127.
▲
by
nemo1618
4y ago
I appreciate that the author implemented OK? in Go -- the language which it is most obviously parodying. Lends a bit more weight to the critique!
128.
▲
by
nemo1618
4y ago
You can't just post a story like that and not link the song! Personally, my main usage of Shazam is for identifying vaporwave samples. Often all you have to do is throw the song in Audacity, tweak the speed a bit, and Shazam it.
129.
▲
by
nemo1618
4y ago
The stdlib is not always the best example of idiomatic Go; encoding/json is particularly infamous for having poor performance and awkward APIs. I'm fairly confident that it it was re-written today, it wouldn't use panic/
130.
▲
by
nemo1618
4y ago
Nitpick: A UTXO-based model does not imply the use of unlock scripts. You can have a UTXO blockchain where the only form of address is a simple pubkey hash, for example.
131.
▲
by
nemo1618
4y ago
I've wondered this too. When my dad was learning to program, this was the culture. When I was learning to program, the culture was no longer fresh and alive, but its spirit was still strongly felt; the torch was being passed to us.
132.
▲
by
nemo1618
4y ago
At around 17:30 John talks about Go in a way that convinces me that he understands the grugbrain mentality. He's definitely a pragmatic person who sees the value of simplicity in language design, particular when programming at scale.
133.
▲
by
nemo1618
4y ago
I checked all of them, and none seem to have actually been born in Antarctica :(
134.
▲
by
nemo1618
4y ago
Am I correct in assuming that "no pointer arithmetic" and "read barrier on every pointer access" are the reasons this approach isn't more widely used?
135.
▲
by
nemo1618
4y ago
It might be easier to think about it as a stack, rather than a tree. Each element of the stack represents a subtree -- a perfect binary tree. If you ever have two subtrees of height k , you merge them together into one subtree of height k
136.
▲
by
nemo1618
4y ago
My contribution: the Binary Numeral Tree: https://eprint.iacr.org/2021/038 This is a tree-like structure where the structure of the tree is fully determined by the number of leaves N. Specifically, each 1-bit in the bi
137.
▲
by
nemo1618
4y ago
I encountered this when I tried implementing a Brainfuck interpreter in Haskell. Representing the memory array using a List + index would be way too slow; but a Zipper is perfect!
138.
▲
by
nemo1618
4y ago
I had an idea for something like this, although it would require a bit more up-front effort. Basically, you provide a list of important people, interests, and events in your life, and then the prompts are generated dynamically based on that
139.
▲
by
nemo1618
4y ago
Yeah, that was my thought -- maybe just keep a separate smartphone in the car, and never bring it in the house? Seems like the only times you really "need" a smartphone are when you're out somewhere.
140.
▲
by
nemo1618
4y ago
I had a strange epiphany around age 16 when I realized that, thanks to 4chan, I had probably seen more ghastly shit within the past few months than my parents had in the entire lives -- and that I was already completely desensitized to it.
141.
▲
by
nemo1618
4y ago
Can you talk more about giving up smartphones? That's a pretty radical move.
142.
▲
by
nemo1618
4y ago
Yeah really, I've listened to the same 11-second loop for over an hour! (William Basinski's "El Camino Real") By the way, for all you loopheads out there, here's a protip: drop the song you're looping into Au
143.
▲
Marion Stokes
(en.wikipedia.org)
1 points
by
nemo1618
4y ago
|
0 comments
144.
▲
by
nemo1618
4y ago
You can! I spent a week co-working at MAPLE ( https://www.monasticacademy.com ) earlier this month, living among monastics and participating in their practice. Honestly, I didn't get a lot of programming done, but that's
145.
▲
by
nemo1618
4y ago
We've had theoretically-unbreakable cryptography for a long time now, particularly hash functions and encryption ciphers. There are still some weaknesses around timing attacks, and of course there's always the "wrench attack,
146.
▲
by
nemo1618
4y ago
Good example of pounding a square peg into a round hole!
147.
▲
by
nemo1618
4y ago
I do think there's value in setting deadlines; even if there aren't any consequences for missing them, just having a deadline helps me stay focused and serves as a check on my natural inclination to procrastinate on problems tha
148.
▲
by
nemo1618
4y ago
I think the idea that a languages ought to cover 100% of possible usecases has done far more harm than good. It's a ridiculously high bar. We should aim for more "Pareto-optimized" languages -- languages that address 80% of t
149.
▲
by
nemo1618
4y ago
Essentially every language provides some form of generics. Even Go 1.0 had `append` (a polymorphic function) and `map[K]V` (a polymorphic type). What Go 1.0 didn't have was user-defined generics. I am still of the (unorthodox) opinio
150.
▲
by
nemo1618
4y ago
https://github.com/spf13/viper/blob/master/go.mod 16 direct dependencies, 39 transitive dependencies, and nearly 7000 lines of code -- for a package that handles flags and config files. I can't help
More ›