Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nemo1618
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
541.
▲
by
nemo1618
9y ago
I recall there was an article about Arthur Whitney on HN a while back. It contained a small C program that he wrote for a college assignment, which I preserved here: https://gist.github.com/lukechampine/e759098e717e42bc
542.
▲
ALICE – Can your application recover from a power loss event?
(github.com)
1 points
by
nemo1618
9y ago
|
0 comments
543.
▲
by
nemo1618
9y ago
Not at all! This a common impulse among programmers: upon seeing a specific case, you want to make it as abstract and generic as possible. This maximizes the power and flexibility available to the programmer. However, the design philosophy
544.
▲
by
nemo1618
9y ago
I actually do have a real example of this. We use -race during our automated testing. The setup for some of our tests involves CPU mining (rapid blake2b hashing). This code definitely doesn't have any races, and it runs waaaaay slower
545.
▲
by
nemo1618
9y ago
This article missed a great opportunity to mention Piet, an esoteric programming language that you write by creating Mondrian-style paintings: http://www.dangermouse.net/esoteric/piet/samples.html The Pi calculato
546.
▲
by
nemo1618
9y ago
I have to share this testing code I came across yesterday: https://github.com/dgryski/go-tinymap/blob/master/tinymap_te... It uses two neat strategies: - testing/quick is used to generate random tes
547.
▲
by
nemo1618
9y ago
Related: we built a homoglyph linter for Go source code, to help detect potentially malicious homoglyph substitution: https://github.com/NebulousLabs/glyphcheck UTF-8 source code is nice for i18n, but it also opens the
548.
▲
by
nemo1618
9y ago
The example of modifying `ls` struck me as something that ought to be possible in any Linux distribution with minimal effort. Instead, we have a situation where most people use binary packages, so the source isn't even available to m
549.
▲
by
nemo1618
9y ago
Alan Shreve demonstrated a version of this in Go: https://www.youtube.com/watch?v=dSqLt8BgbRQ
550.
▲
by
nemo1618
9y ago
There's a more practical question here. Perhaps it's possible that such biases could be totally overcome, i.e. requiring no conscious effort. But clearly we're not on the verge of doing so. So, if we accept that our society i
551.
▲
by
nemo1618
9y ago
Actually, this is a game itself. I used to play it with friends growing up -- we called it "Mao." It's a card game where you are penalized for breaking the rules (at least one person must know the rules in advance). You are a
552.
▲
by
nemo1618
9y ago
Hey, Sia core dev here. From the beginning, we've prided ourselves writing code instead of pushing PR pieces and designing flashy websites. So I'm glad that you (and others) picked up on those values. By keeping our heads down, we
553.
▲
by
nemo1618
9y ago
Sia addresses both of these. 1) You have full control over which hosts you store data on; if Amazon makes their data centers available on Sia, you can choose to store at 1x redundancy with them. I will note, though, that erasure coding can
554.
▲
by
nemo1618
9y ago
I had lots of fun with AoC in 2015 and 2016. Here are my (Go) solutions: https://github.com/lukechampine/advent There is also a subreddit (/r/adventofcode) if you get stuck and/or need inspiration. Some
555.
▲
by
nemo1618
9y ago
How do you propose one proves that they are (a unique) human?
556.
▲
by
nemo1618
9y ago
Would be really cool to see a generic framework for this, where you can plug in the rules of your discrete-deterministic-game-with-perfect-information and get a superhuman bot. Does something like this already exist?
557.
▲
by
nemo1618
9y ago
I think this is a sort of sleight of hand that preys upon people's inability to wrap their heads around large numbers. I'm reminded of this classic xkcd: https://xkcd.com/505 It feels completely insane that our un
558.
▲
by
nemo1618
9y ago
I noticed that you're an IPFS dev living in Catalunya -- did you have a hand in persuading the government to use IPFS? Pretty cool if so.
559.
▲
Hacking a ProgComp with Side Channels
(lukechampine.com)
2 points
by
nemo1618
9y ago
|
1 comments
560.
▲
by
nemo1618
9y ago
An "AI tutor," of any sort, would be incredible. One-on-one instruction, directly from expert to novice, is leaps and bounds ahead of every other way we commonly learn. It can be so frustrating to research a topic online and find
561.
▲
by
nemo1618
9y ago
These are fun but I found them incredibly hard to aim; for me, the Bug-a-salt was only effective when less than two feet away from the fly. (And the fly had to be stationary -- no dramatic mid-air takedowns.)
562.
▲
by
nemo1618
9y ago
>Starting again from the standard normal, adding 0.10 SD to the male mean would lead to a 1.2 to 1 male to female ratio (at ≥1.5SD); but adding a full SD would give almost 5:1. Remember, a 1 SD shift is a pretty big one (e.g. a differenc
563.
▲
by
nemo1618
9y ago
It's right in line with the commodification of meditation and yoga. They are being marketed as a means of improving productivity instead of ends in themselves. Even scarier is the implication that if your job is stressing you out, the
564.
▲
by
nemo1618
9y ago
neat resource, thanks
565.
▲
by
nemo1618
9y ago
I wonder if the same trick is possible in Go. For starters, you can inspect the guts of a function pointer (and dump them to a []byte, and re-execute the function elsewhere): https://play.golang.org/p/kpSps1GC3e This i
566.
▲
by
nemo1618
9y ago
I did something like this in Go: https://godoc.org/github.com/lukechampine/randmap/perm
567.
▲
by
nemo1618
9y ago
Can anyone hazard a guess as to what the original Atari 2600 game was?
568.
▲
When should you submit your paper?
(lambdaphagy.tumblr.com)
1 points
by
nemo1618
9y ago
|
0 comments
569.
▲
by
nemo1618
9y ago
I'm guessing it's a pun on ProductHunt.
570.
▲
by
nemo1618
9y ago
Most Go programs can benefit a lot from smarter memory management, which puts less strain on the GC and allows for certain optimizations. Things like refactoring your function to write into a pre-allocated buffer instead of returning a newl
More ›