Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ainar-g
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
451.
▲
by
ainar-g
8y ago
This might be an out-of-nowhere question, but seeing how we're discussing Rob Pike and Plan 9 here, why does Plan 9's rc shell need the $path variable, when you could just bind all binary directories onto or behind /bin/
452.
▲
by
ainar-g
8y ago
It is available. At least https://build.golang.org/ lists plan9/arm as one of builders. Interestingly enough, the source code build help page[1] doesn't list plan9/arm as a valid build target. EDIT: There is
453.
▲
by
ainar-g
8y ago
MITRE link: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-1543 . Couldn't find anything about LibreSSL, so I guess it's not affected?
454.
▲
by
ainar-g
8y ago
>Ahm, Rust is much worse than SPARK in case of covering errors, and its runtime overhead is no less than that of Ada. Can you elaborate? It's not often that they see valid critiques of Rust on HN, and it would be interesting (to me
455.
▲
by
ainar-g
8y ago
Since we're talking musl, the author of the library has recently asked[1] the community to support him more actively on Patreon[2]. [1] https://twitter.com/RichFelker/status/1101157783620255744 [2] https:&#x
456.
▲
by
ainar-g
8y ago
>But you can't do it in C. __typeof__ is a GNU extension. Yes you can. You just have to provide the type every time you use the macro yourself. You can even create a macro that creates helper “methods” for you. With that said, I rea
457.
▲
by
ainar-g
8y ago
So, Abavu is basically Amazon?
458.
▲
by
ainar-g
8y ago
>That said, the borrowing/ownership semantics of rust (at the time I looked at it) felt needlessly over complicated. Isn't it just “one mutator at a time”? >Is there a K&R equivalent that an experienced programmer can ge
459.
▲
by
ainar-g
8y ago
dbg! looks neat. It made me wonder if any of the statically typed compiled languages have an equivalent of Ruby's binding.pry or JS's debugger call? That is, something like x = foo(); invoke_debugger(); // An inter
460.
▲
Proposal: Go 2 Number Literal Changes
(github.com)
2 points
by
ainar-g
8y ago
|
0 comments
461.
▲
Planck star
(en.wikipedia.org)
4 points
by
ainar-g
8y ago
|
0 comments
462.
▲
by
ainar-g
8y ago
This is an unpopular choice, but I have recently switched all my terminals to the Go Fonts[1], and I couldn't be happier. Those who say that only sans-serif fonts belong in a terminal have been lying to me this whole time. [1] https:&
463.
▲
by
ainar-g
8y ago
That #4 option hit too close to home. Thanks for bringing it up.
464.
▲
by
ainar-g
8y ago
I agree and will also add that pg seems to have missed some other ingredients of a language's power, especially libraries and tools. Python and Ruby (and Perl before them) got big not just as “easy” languages, but as languages that get
465.
▲
by
ainar-g
8y ago
Thanks for the response and for writing the books. Seriously considering buying both as a present to myself for the Orthodox Christmas.
466.
▲
by
ainar-g
8y ago
I've always wanted to know the answer from someone who actually implemented a VM: Why do people prefer stack-based VMs over register-based? They are obviously a simpler design, but register-based designs are closer to the actual machin
467.
▲
by
ainar-g
8y ago
They show the “type-safe printf” example there, but they don't seem to explain anywhere, if I can write my own type-safe variadic function or not. Is printf a built-in that is built with magic not allowed for mere mortals or do they ju
468.
▲
by
ainar-g
8y ago
You sir/mam have just revolutionised by browsing experience. I now love FF even more.
469.
▲
Difference Between Login Shell and Non-Login Shell
(unix.stackexchange.com)
1 points
by
ainar-g
8y ago
|
0 comments
470.
▲
by
ainar-g
8y ago
An interesting and somewhat related article called “How Unreliable is UDP?”: https://www.openmymind.net/How-Unreliable-Is-UDP/ . Discussion from four years ago: https://news.ycombinator.com/item?id=84659
471.
▲
by
ainar-g
8y ago
* Kubernetes: https://kubernetes.io * Hugo, a static site generator: https://gohugo.io * Gogs, a git service: https://gogs.io * Syncthing: https://github.com/syncthing/syncthing * Co
472.
▲
by
ainar-g
8y ago
The rationale is here: https://github.com/golang/go/issues/25443 . > Now that we have the cmd/go "go doc" CLI for getting documentation, does it make sense for x/tools/cmd/godo
473.
▲
by
ainar-g
8y ago
Plain text version here: https://raw.githubusercontent.com/mvdan/talks/master/2018/go... . Also, it is an issue: https://github.com/golang/go/issues/27026 . Marked as "
474.
▲
by
ainar-g
8y ago
Direct link to the draft release notes: https://tip.golang.org/doc/go1.12 .
475.
▲
by
ainar-g
8y ago
>"We are using [Insert Tech Name] and it doesn't support feature X" >So the entrepreneurs would rush to it's keyboard create a clone of the Tech and add the feature X. Uhm, why is this bad? Haven't we all seen
476.
▲
by
ainar-g
8y ago
A genuine question. What is a highly needed feature that GNU Make have that you can't do with POSIX Make? My personal pet peeve with POSIX Make is that you can't export an environment variable for one target only without calling
477.
▲
by
ainar-g
8y ago
Go doesn't have a stable ABI, AFAIK, so what (probably) actually going to happen is that the same Go 2 compiler will compile both Go 1 and Go 2 packages using the same runtime.
478.
▲
by
ainar-g
8y ago
This was the clearest introduction into types vs kinds in Haskell that I have ever read. Definitely going to recommend to my friends. Are there other good articles by the author?
479.
▲
by
ainar-g
8y ago
It definitely could be at least two times shorter, but it does explain a lot of my anxious behaviours. A lot of people here think the same, so I wouldn't say that it says "little".
480.
▲
by
ainar-g
8y ago
I am as confused as you are. The C version is much slower on my PC. I've added the link to the code above. Please tell me if you see something fishy.
More ›