Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nemo1618
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
511.
▲
by
nemo1618
8y ago
One approach would be to use the existing Go parser packages and modify them to suit your needs. Unfortunately (last time I checked) the standard library packages for this (go/ast, go/types, etc.) differ from the actual packages u
512.
▲
by
nemo1618
8y ago
Well, it's not quite fair to say it's "plain Go." The compiler converts expressions like x, ok := m["foo"] into function calls. User-level code can't define syntax sugar like that. Also, the hashmap implem
513.
▲
by
nemo1618
8y ago
Hi there! I worked on something similar a while ago: a compile-to-Go superset that adds some generic functions/methods. You may have come across it: https://github.com/lukechampine/ply My perspective was that when
514.
▲
by
nemo1618
8y ago
Personally, the overhead doesn't bother me that much; you can manage it by moving more work into C, cutting down on the number of FFI calls. What steers me away from cgo is that it complicates the build/release process and makes i
515.
▲
by
nemo1618
8y ago
On the other hand, there will be people who have a vested interest in preventing such attacks. If you own a lot of BTC, a successful attack can drastically lower the value of your assets, so it makes sense to deploy some of that capital to
516.
▲
by
nemo1618
8y ago
Ditto. I suffered for a year until a nerve conductivity test revealed nothing abnormal. That made the Sarno diagnosis (TMS) easy to accept, and within a week of reading his book my pain was 90% gone, and within a month it was no longer noti
517.
▲
by
nemo1618
8y ago
>The `vgo` proposal was something like a hundred pages of dense technical details Which document are you referring to? The one linked in https://github.com/golang/go/issues/24301 is only about 600 lines:
518.
▲
by
nemo1618
8y ago
This guy's priorities are backward. He blows a gasket over 1Password not being 100% clear about their feature set (and somehow this offense is great enough to warrant dropping the product entirely), but seems unconcerned that he'
519.
▲
by
nemo1618
8y ago
That is a risk, I admit. You should do your best to rule out any clear structural causes for your pain. The tricky thing is that doctors will often provide structural explanations for your pain that are believable when you actually have TMS
520.
▲
by
nemo1618
8y ago
There's nothing inherently wrong with a low birth rate -- except that modern economies seem to be massive pyramid schemes that require a never-ending stream of fresh blood to remain solvent. It's not like the Japanese are at risk
521.
▲
by
nemo1618
8y ago
If you have chronic pain, especially back pain or RSI, please read up on TMS. I probably would have written it off as new-age garbage if not for this excellent post by Y Combinator's very own Aaron Iba: http://aaroniba.net&
522.
▲
by
nemo1618
8y ago
There's no dignity in lingering after it's time to move on. Certainly most people wish that they could relive their childhood, do things differently, treasure how carefree it is to be a child, without the responsibilities of adult
523.
▲
by
nemo1618
8y ago
> Yes, you can access them; but I don't believe you can link them. I think you can if you use debugfs. I wrote a post here about recovering a running binary after deleting the file on disk: http://lukechampine.com/re
524.
▲
by
nemo1618
8y ago
Warning! Folklore.org link detected! Please be advised that you may lose many hours reading charming stories with a goofy smile plastered on your face. It's happened to me more than once.
525.
▲
by
nemo1618
8y ago
Vivint published a Go package a while back that does both Reed Solomon and Forward Error Correction: https://innovation.vivint.com/introduction-to-reed-solomon-b...
526.
▲
by
nemo1618
9y ago
Can you point me towards the Go implementation? I'd love to contribute.
527.
▲
Building Sustainably with Compressed Earth Blocks
(youtube.com)
2 points
by
nemo1618
9y ago
|
0 comments
528.
▲
by
nemo1618
9y ago
Really neat! Any plans for Linux support? I would love to do some guided optimizations using this tool.
529.
▲
by
nemo1618
9y ago
Should put a disclaimer in the README that this package doesn't validate checksums. Doesn't make it useless, just something to be aware of before deciding to use it. For example, if you want to ensure that a user entered a valid B
530.
▲
by
nemo1618
9y ago
Weird coincidence: this post uses Sputter, an EVM implementation written in Clojure, and there's a Clojure-inspired Lisp named "Sputter" at the top of /r/golang right now. Threw me for a loop. Maybe with some tweaki
531.
▲
by
nemo1618
9y ago
Can you explain the relation of "tit for tat" to Godel's (incompleteness?) theorem? I'm familiar with both but don't see the connection.
532.
▲
by
nemo1618
9y ago
weird, I played for a while and then the game suddenly ended. Maybe there's a time limit? I'm guessing you're supposed to write a Tetris AI in Julia to get a high score, but the scoreboard seems to be just humans so far -- I
533.
▲
by
nemo1618
9y ago
That's a bit uncharitable. The choice is rarely as clear as that. It's often hard to know whether an affliction is serious enough to warrant immediate attention. So the person must weigh the risk of delaying immediate treatment ag
534.
▲
by
nemo1618
9y ago
A while back I tried to create a commenting system that explicitly tied comments to blocks of code. The idea was that if you tried to change the code without also changing the comment, or vis versa, a git pre-commit hook would yell at you.
535.
▲
by
nemo1618
9y ago
I'm excited to see Go trying something new here. Something just feels clunky about the current "manifest+lockfile" approach. There are a couple of ideas in vgo that I really like, e.g. "incompatible versions must have di
536.
▲
by
nemo1618
9y ago
(The late, great) Pieter Hintjens wrote a short book about psychopaths, which I found fascinating. It's available for free on his site: http://hintjens.com/blog:_psychopaths
537.
▲
by
nemo1618
9y ago
The fee improves the health of the network, because it incentivizes siafund holders to do whatever they can to increase the amount of data being stored. So Nebulous Inc. (developer of Sia and the largest holder of siafunds) wants to make Si
538.
▲
by
nemo1618
9y ago
This bit stuck out to me too: I called my doctor and asked him how come the nutritional requirements didn't show a limit on the amount of salt? "Isn't too much salt dangerous?" He replied that it wasn't nece
539.
▲
by
nemo1618
9y ago
There was a post on HN years ago advocating coding on a cruise ship -- it's like a nice hotel, but the internet is so crappy that you'll only use it when you really need it (e.g. finding docs, syncing git), which is great for pr
540.
▲
by
nemo1618
9y ago
I would gladly pay $10/month to read Slate Star Codex. Heck, I'd pay $10/month just to have access to its archived posts. I'd pay $5 for ranprieur.com. Not a ton of content, but he keeps me thinking about interesting que
More ›