Viewing profile — arnehormann
arnehormann
HN member- Joined
- Thu, Mar 07, 2013, 10:34 PM UTC
- HN karma
- 83
- Public activity
- 54 items
- HN profile
- View on Hacker News ↗
About arnehormann
No profile information was provided.
Recent public activity
-
comment
Comment #41770411
Try "Best served cold" by Joe Abercrombie. Followed by The Heroes. And to avoid minor spoilers, read the First Law trilogy first. All good books are great, The heroes is probably t…
-
comment
Comment #11151152
you are replying to the original poster.
-
comment
Comment #10968002
A struct tag is just a string literal - according to the spec. The tags can only be accessed by reflect. The reflect api docs mention the convention. https://golang.org/pkg/reflect…
-
comment
Comment #10967730
It is specified - a struct tag is just a string literal after a struct field. See https://golang.org/ref/spec#String_literals If you use backticks, the tag must not contain another…
-
comment
Comment #10662126
Superfish is a root certificate installed by crapware in the preinstalled windows version. It can be uninstalled or removed by a fresh OS install. I guess someone replacing hardwar…
-
comment
Comment #10215276
It's a non-classical example of arbitrage.
-
comment
Comment #9863617
I use "var undef;" at the top of a function and never set it to a value. Comparison with === is the same as with undefined. And it's nice for minification.
-
comment
Comment #9289030
And what about signal jamming or drones being shot down? Not only for package theft, also to strip or steal the drones themselves? I'm really curious how robust this delivery metho…
-
comment
Comment #8996182
you have missed mkdir -p ~/.config/git
-
comment
Comment #8715326
You should use switch v := i.(type) so you can access v as the type in a case.
-
comment
Comment #8597925
MariaDB enabled Cassandra as a storage engine: https://mariadb.com/kb/en/mariadb/documentation/storage-engi...
-
comment
Comment #8589440
My Java is getting rusty... I read about this sometime somewhere but forgot it, thanks! I should have picked something like "String getText()", then.
-
comment
Comment #8589060
Because of the implicit thing! The api designer doesn't have to write the interface, you can do it yourself. As long as naming conventions are kept to and the signature matches, yo…
-
comment
Comment #8159144
There's a great video treating imperial measurement units. I instantly fell in love with it: http://www.youtube.com/watch?v=r7x-RGfd0Yk I landed there after watching one on paper s…
-
comment
Comment #8146926
I really doubt that, where does it say so? AFAIK, he supported the TweetNaCl in C. That does not mean anything concerning this port.
-
comment
Comment #7663442
The costs: allocating the memory, having it set to zero values and keeping the garbage collector a little busier. All of that more than once if you don't keep the conversions down.…
-
comment
Comment #7663422
I believe that's a good thing - I prefer a small api surface to a large one and I don't want to spend time digging through never ending functions to locate what I have to use. For …
-
comment
Comment #7663350
It doesn't need to. You could also write type Runes []rune but the struct variant has the advantage that you can get the array back without any conversions - it's pretty cheap. And…
-
comment
Comment #7663225
The setup needs a little boilerplate, but it's definitely possible. And it can support different sort orders after writing the boilerplate once. For those wanting to test drive it:…
-
comment
Comment #7602874
I wrote a ruby script to help with OpenVPN. https://gist.github.com/arnehormann/9744964 There's a usage howto in the comments and this should be short enough to fully grasp what it…
-
comment
Comment #7573634
Length could be encoded differently, as a varint. As long as the highest bit is set, the next byte is also part of the length - just left-shift the result so far by seven and add t…
-
comment
Comment #7509538
TCP and UDP use the same underlying wire and the same hardware. If UDP would lose a packet or it would arrive late, the same could happen to TCP. TCP will retransmit and you lose a…
-
comment
Comment #7436712
And how about Codemirror? It's mainly used for monospace code editing and it's missing a UI and editing widgets, but the configurability and maturity should blow everything else ou…
-
comment
Comment #7241008
Right now they say replace all occurrences of "upstart" with "Mir" and all occurrences of "systemd" with "Wayland". I can't see how that would work.
-
comment
Comment #7239825
They will continue to provide it. Part of what he wrote: > We’ll certainly complete work to make the new logind work without systemd as pid 1.