kalmar | 9 years ago | on: 2017 Rust Roadmap
kalmar's comments
kalmar | 9 years ago | on: Spying on Android events without modifying source code
kalmar | 9 years ago | on: Linux debugging tools you'll love
Short answer: she did the first zine on paper, and the second one on a tablet.
kalmar | 10 years ago | on: Segfaults are our friends and teachers
kalmar | 10 years ago | on: Segfaults are our friends and teachers
kalmar | 10 years ago | on: Segfaults are our friends and teachers
kalmar | 10 years ago | on: Segfaults are our friends and teachers
The key thing from the reference [0]:
> "Type checking provides the guarantee that these issues are never caused by safe code."
It's subtle, but I think the situation is that "some segfaults are caused by undefined behaviour, and some undefined behaviour causes segfaults". Neither fully contains the other. One thing I was trying to get across is that a segmentation fault has a very specific meaning, and that meaning is not "bad thing was done with pointers".
[0]: http://doc.rust-lang.org/reference.html#behavior-considered-...
kalmar | 10 years ago | on: Segfaults are our friends and teachers
kalmar | 10 years ago | on: Rust and Nix = easier Unix systems programming
kalmar | 10 years ago | on: Rust and Nix = easier Unix systems programming
kalmar | 10 years ago | on: Docker 1.11: The first OCI-compliant runtime, built on containerd
> 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 the OCI Scope Table. There has been some discussion on the TOB mailing list to make distribution an optional layer but this topic is a work in progress.
I really hope CoreOS manage to get distribution into the scope for OCI. We need to move beyond Docker images. Standardizing on-disk layout in OCI is only mildly useful in my opinion.
kalmar | 10 years ago | on: What Web Can Do Today
kalmar | 10 years ago | on: I Want to Run Stateful Containers, Too
Edit: browsing issues briefly, I don't think this functionality is available just yet. Discussion of node selectors: https://github.com/kubernetes/kubernetes/issues/341#issuecom... -
kalmar | 10 years ago | on: Kubernetes from the ground up: the API server
kalmar | 10 years ago | on: Kubernetes from the ground up: the API server
But yeah, it's a really fast moving project with a lot of moving parts, and I'm still not on top of everything!
kalmar | 10 years ago | on: Kubernetes from the ground up: the API server
Can you give an example? I know next to nothing about Mesos, Aurora, or Marathon.
kalmar | 10 years ago | on: What is a kubelet?
kalmar | 10 years ago | on: What is a kubelet?
$ sudo bin/rkt --insecure-skip-verify run --interactive docker://busybox
rkt: fetching image from docker://busybox
Downloading cf2616975b4a: [====================================] 32 B/32 B
Downloading 6ce2e90b0bc7: [====================================] 1.15 MB/1.15 MB
Downloading 8c2e06607696: [====================================] 32 B/32 B
2015/08/28 12:15:24 Preparing stage1
2015/08/28 12:15:25 Writing image manifest
2015/08/28 12:15:25 Loading image sha512-9d710100ce6769569b12a39100318bfed5b6b98115ee6315b724c11658db3751
2015/08/28 12:15:25 Writing pod manifest
2015/08/28 12:15:25 Setting up stage1
2015/08/28 12:15:25 Wrote filesystem to /var/lib/rkt/pods/run/e3cbf309-5f03-4ce4-b098-597b5ec3e040
2015/08/28 12:15:25 Pivoting to filesystem /var/lib/rkt/pods/run/e3cbf309-5f03-4ce4-b098-597b5ec3e040
2015/08/28 12:15:25 Execing /init
/ # ls -l $(which ls)
lrwxrwxrwx 1 root root 7 May 22 2014 /bin/ls -> busybox
/ # exit
Sending SIGTERM to remaining processes...
Sending SIGKILL to remaining processes...
Halting system.
The `--insecure-skip-verify` is to disable the GPG verification that rkt does for its native ACI container format. Beyond that, take a look at `rkt help run` and poke around.kalmar | 10 years ago | on: What is a kubelet?
And yeah, pods are a great idea. I came across mtail [0], an awk-like language for tailing logs and turning them into metrics. Putting that in a pod with uninstrumented serving components will be fun!
kalmar | 10 years ago | on: What is a kubelet?