Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kalmar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
31.
▲
by
kalmar
10y ago
Oh this is cool! I should have checked more pointers. On my machine, the single pointer was always null, and I read up on stack being initialized to zero. I didn't realize the things-before-main could mess up the stack so much.
32.
▲
by
kalmar
10y ago
> In my view, for a language that bills itself as safe, there should not exist such things as undefined behaviors. As far as I am concerned, then, based on the advertising of Rust, this is false advertising. The key thing from the refere
33.
▲
by
kalmar
10y ago
I should have made that clearer, thanks! If there were intervening function calls there would be garbage. Then it would only "most likely" segfault instead of always segfault.
34.
▲
Segfaults are our friends and teachers
(kamalmarhubi.com)
60 points
by
kalmar
10y ago
|
50 comments
35.
▲
by
kalmar
10y ago
This project looks really cool! I'm very curious to find out more about how you make sure constants are correct across platforms and architectures. I will be poking around!
36.
▲
by
kalmar
10y ago
Author here. This is a really valid criticism of the post, and I think it'll inform the next post I write on the topic. Thanks!
37.
▲
by
kalmar
10y ago
I was almost excited! From the FAQ on the project you linked [0]: > Q: Why doesn't this project mention distribution? > A: Distribution, for example using HTTP as both Docker v2.2 and AppC do today, is currently out of scope on t
38.
▲
Rust and Nix = easier Unix systems programming
(kamalmarhubi.com)
255 points
by
kalmar
10y ago
|
81 comments
39.
▲
Git rebase --exec: make sure your tests pass at each commit (and other goodies)
(kamalmarhubi.com)
1 points
by
kalmar
11y ago
|
0 comments
40.
▲
My git aliases
(kamalmarhubi.com)
1 points
by
kalmar
11y ago
|
0 comments
41.
▲
Eat your greens and read your man pages
(kamalmarhubi.com)
2 points
by
kalmar
11y ago
|
0 comments
42.
▲
by
kalmar
11y ago
This is pretty great! Looking forward to more service worker support for more offline and push notifications.
43.
▲
Squashing Docker images with Btrfs
(kamalmarhubi.com)
31 points
by
kalmar
11y ago
|
0 comments
44.
▲
by
kalmar
11y ago
I'm not sure of the current status, but I believe the mechanism would be to label nodes with rack information. You'd then be able to specify anti-affinity constraints based on those labels that would be taken into account by the s
45.
▲
by
kalmar
11y ago
I don't really know what the alternatives are. I'm hoping by the end of this series to convince at least myself that it's reasonably to run for personal projects.
46.
▲
by
kalmar
11y ago
My main resource is probably time. I read all the documentation when Kubernetes was first announced, and reread it when they were coming up to 1.0. I've also been following the proposals and issues a little. I've also got a clone
47.
▲
by
kalmar
11y ago
> But, in return for being more low-level, you can run things that are simply impossible in a declarative system like Kubernetes. Can you give an example? I know next to nothing about Mesos, Aurora, or Marathon.
48.
▲
by
kalmar
11y ago
Could you give some examples of places you mean?
49.
▲
by
kalmar
11y ago
The really easy part is it can happily run Docker containers: $ sudo bin/rkt --insecure-skip-verify run --interactive docker://busybox rkt: fetching image from docker://busybox Downloading cf2616975b4a
50.
▲
by
kalmar
11y ago
Thanks for those links. I'll definitely watch the first one to get an idea for organising the later posts. And yeah, pods are a great idea. I came across mtail [0], an awk-like language for tailing logs and turning them into metrics. P
51.
▲
by
kalmar
11y ago
Author here. Yeah, I'm hoping to use rkt instead of Docker when I actually put this all together. Docker wins for familiarity though, plus is the kubelet's default hence using it for this post.
52.
▲
by
kalmar
11y ago
> Google is using a Perforce lookalike that is not actually Perforce, but they're moving to Mercurial. Do you have a source for this move to mercurial? This is the second time I've heard it, but couldn't find a source befo
53.
▲
by
kalmar
11y ago
What is the representation for a type like Box<Reader+Writer>? Is there an extra indirection to get each of the vtables? Is there synthesized combined trait type and just one vtable pointer?
54.
▲
by
kalmar
11y ago
It's from a more recent addition to the series, focused on performance. I reviewed that chapter and it's very well written.
55.
▲
by
kalmar
12y ago
For those interested in this issue, check out JSON API's compound documents [0], and how to specify inclusion [1]. [0] http://jsonapi.org/format/#document-structure-compound-docum... [1] http://jsonapi.
56.
▲
by
kalmar
13y ago
Yeah me too. For those who haven't checked it out yet, here's a screenshot of HN as a ransom note: http://i.imgur.com/Io2bqof.png
57.
▲
Dear-sir-or-madam: a bookmarklet that transforms web pages into ransom notes
(github.com)
28 points
by
kalmar
13y ago
|
10 comments
58.
▲
by
kalmar
13y ago
Yeah, unfortunate. But we'll have sprints...
59.
▲
by
kalmar
13y ago
As they have been for most of the last decade. Here's hoping this time they do. :)
60.
▲
by
kalmar
13y ago
I believe it's a continuation-style server—hence fnid: function id—and the continuations are only kept around in memory for ~5 minutes.
More ›