Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vishvananda
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
vishvananda
8y ago
I've written fairly complex projects in both languages, but have a great deal more experience in go. I think tptacek nails it with this advice: go is much easier to learn. One of the things i really like about it is how easy go code is
62.
▲
by
vishvananda
8y ago
My favorite introspective book is Awareness, By Anthony DeMello[1] It is a small book but it really makes you think about your views on life. [1] https://www.amazon.com/Awareness-Opportunities-Reality-Antho...
63.
▲
by
vishvananda
8y ago
I can see how The courses would be tough to digest without some theory from other sources, but I have found them to be invaluable for tips and tricks. They are loaded with practical information. Much of Deep Learning is still experimental i
64.
▲
by
vishvananda
8y ago
There have been a number of breakthroughs in specific fields recently. In fact it seems like there is a paper every week that pushes the state of the art forward in some branch of AI/ML. I think the big one that triggered the current e
65.
▲
by
vishvananda
8y ago
You might want to read further. He didn't claim that callbacks are not harmful. In fact he suggested that they suffer from the same problems and he is using "go statements" to encompass all of the forms of concurrency handlin
66.
▲
by
vishvananda
9y ago
From the paper: 2. A lucky event intercepts the position of agent Ak: this means that a lucky event has occurred during the last six month; as a consequence, agent Ak doubles her capital/success with a probability proportional to her t
67.
▲
by
vishvananda
9y ago
Interesting. If I read this correctly, they chose to let talent affect lucky events but not unlucky events. I wonder what the rationale is for that and if it changes the results significantly to allow for probabilistically avoiding unlucky
68.
▲
by
vishvananda
9y ago
This looks like a neat feature. Reading up on it briefly, it looks like it changes the mount namespace / chroots when running the binary in order to accomplish this. Unfortunately that defeats the purpose of crashcart, since the whole
69.
▲
by
vishvananda
9y ago
we didn't look at using overlay. Might be possible, although that would introduce a dependency on kernel version and/or module. A custom fuse might be an option here as well but fuse in containers is a bit sketchy at the moment.
70.
▲
by
vishvananda
9y ago
Ok. I will check it out. Thanks.
71.
▲
by
vishvananda
9y ago
we could bind mount over /nix or /nix/store, but that means any existing nix packages from the container would not be available. The whole point is to have the whole container file system available along with the utilities. W
72.
▲
by
vishvananda
9y ago
The point of crashcart is to be able to side load a filesystem with utilities into a running container. It is very important that the location we pick doesn't conflict with any path already in the container. If we used /nix as the
73.
▲
by
vishvananda
9y ago
interesting I wasn't aware of that. I wonder why my builds are not using it.
74.
▲
by
vishvananda
9y ago
Yeah I'm aware of the build mirror, but crashcart builds things under a different prefix so it must build things from source each time. I realize this doesn't affect most users (which is why it takes a while for disappearing sourc
75.
▲
by
vishvananda
9y ago
That solution is not correct. Your boats on the top right are touching. They cannot touch, even diagonally
76.
▲
by
vishvananda
9y ago
A caching http proxy would help me build the same things reliably, but it wouldn't help anyone else who cloned my repository and attempted to do their own build unless I also gave them access to the proxy. And it hides the fact that th
77.
▲
by
vishvananda
9y ago
I have been using nix for a while to build binary packages for crashcart[1] and I really love the premise of isolated source-based builds. Unfortunately, over time I've become quite frustrated with the pull-everything from the internet
78.
▲
by
vishvananda
9y ago
I have been doing the big company thing for a number of years now after exiting successfully as employee number one of a small startup and having to shut down a larger and better funded startup where I was CTO. Since then, I've done qu
79.
▲
by
vishvananda
9y ago
The last point about seed blowing has been debunked. It is listed as myth number 2 here: http://www.npr.org/sections/thesalt/2012/10/18/163034053/top...
80.
▲
by
vishvananda
9y ago
I'm also a fan of minimal images. Cde is an iteresting solution, but for dynamic languages like python packing everything into a virtualenv and shipping that is a reasonable solution. To automatically grab linked libraries you can use
81.
▲
by
vishvananda
9y ago
> Docker is basically the equivalent of a sign which says: "don't walk on the grass" as opposed to an actual wall which FreeBSD jails and Solaris zones have. I think this is dramatically overstating the risks. It is possib
82.
▲
by
vishvananda
9y ago
I agree that more implementations are necessary. My team released an oci-runtime implementation in rust a few weeks ago: https://github.com/oracle/railcar We also released an oci-image builder that uses a different mod
83.
▲
by
vishvananda
9y ago
Author here. I missed that this hit hacker news. Happy to answer any questions if people are still lurking.
84.
▲
by
vishvananda
9y ago
i will update the readme to clarify that, thanks
85.
▲
by
vishvananda
9y ago
Author here. This hit hacker news in the middle of the night for me. I'm happy to answer any questions if anyone is still lurking.
86.
▲
by
vishvananda
9y ago
Well put in every respect. As I mentioned in a couple other comments, that sentence could definitely be clearer.
87.
▲
by
vishvananda
9y ago
Author here. As I mentioned in another comment. I should have clarified that its shortcomings are specific to the container runtime (i.e. the part that creates and enters the namespaces). Go is a great choice for the command line utilities
88.
▲
by
vishvananda
9y ago
Author here. For more discussion on init handling you may find my article on pid namespaces[1] enlightening. In terms of differences from runc, there aren't many. The goals for railcar are threefold: 1: provide an alternative implement
89.
▲
by
vishvananda
9y ago
Author here. This hit hacker news in the middle of the night my time. I think the other replies already answered your question but it is worth mentioning that my point could have been worded better. Note that go works very well for other pa
90.
▲
How to Build a Tiny Httpd Container
(hackernoon.com)
10 points
by
vishvananda
9y ago
|
0 comments
More ›