HNHacker News
TopNewBestAskShowJobs

friend-monoid

190 karma · joined April 2, 2017

submissionscomments
friend-monoid··on Why SQLite Does Not Use Git
Hrm, but a ref is a file containing a hash, right? So if the hash is equivalent to the file, the surely a ref is equivalent to a symlink? A symbolic ref, in turn, should be a symlink to a symlink... Or something like that...
friend-monoid··on Why SQLite Does Not Use Git
But they are also called symbolic refs in git terminology...
friend-monoid··on Why SQLite Does Not Use Git
Because you have the .gitmodules file, the .git/config file, the index, and .git/modules directory, each of which can get out of sync with the others.

If, for example, you add a submodule with the wrong url, then want to change the url, then you instinctively change .gitmodules. But that won't work, and it won't even nearly work.

If you add a submodule, then remove it, but not from all of those places, and try to add the submodule again (say, to a different path), then you also get wierd errors.

If you add a submodule and want to move it to another directory then just no.

Oh and also one time a colleague ran into problems because he had added the repo to the index directly - with git add ..

Oh and let's talk about tracking submodule branches and how you can mess that up by entering the submodule directories and running commands...

friend-monoid··on 'I want to explain arranged marriage to white people'
Eh, who cares.
friend-monoid··on Undocumented Double-Spend Risk in Bitcoin
Yup. When Bitcoin forked into Bitcoin cash, everyone was free to "double spend" - once in Bitcoin and once in Bitcoin cash. Money just up and doubled itself.
friend-monoid··on Why would anyone choose Docker over fat binaries?
* If my colleagues don't have to understand how do deploy applications properly, their work is simplified greatly. If I can just take their work, put it in a container, no matter the language or style, my work is greatly simplified. I don't have to worry about how to handle crashes, infinite loops, or other bad code they write.

* We have a whole lot of HTTP services in a range of languages. Managing them all with fat binaries would be a chore - the author would have to give me a way to set port and listen address, and I have to keep track of every way to set a port. With a net namespace and clever iptables routing, docker can do that for me.

* sometimes, I have to deploy and insecure app. Usually, it's a badly configured memcache or similar. With net namespaces, I can make sure only a certain server has access to that service, and that the service cannot ruin my host server.

* Its possible for me to namespace everything myself with unshare(1) and "ip netns" and cgroups and chroot and iptables... but that would consume all my available time. Docker can do that for me.

* When you reach more then 20 or so services to keep track of, you need tools to help you out.

* load balancing. Luckily, I don't have to deal with extreme network loads which would require hand-made solutions, but just pushing up that number a little to do ad-hoc load balance makes things a lot easier.

friend-monoid··on Ask HN: Where do Adult Websites advertise tech roles?
Yes. It was a joke.
friend-monoid··on Ask HN: What are the big (or buzzworthy) softwares in Microsoft and .NET?
To get the ball rolling here I'll reply to my own thread to mention Azure (https://azure.microsoft.com/). It's a cloud computing platform (and it's practically the only piece of buzzworthy software I know of from Microsoft).
← PreviousPage 3 of 3