News for hackers. Stuff that matters.

mrnil

Re:Ask HN: How much screen time do you let your kids have? on Saturday December 13, 2014 @04:14PM (#8746442)
One idea I picked up somewhere: Give kids screen credit, for example 10 coins per week, each worth 30 minutes of screen time. This allows them to freely manage it (e.g. a little bit every day vs. a long Minecraft session on the weekend), while it's a clear rule and limit at the same time.
Re:Docker 1.0 on Monday June 09, 2014 @05:11PM (#7870538)
> Inability to compile Docker from source without using the Docker Project's provided "black box" binary Docker.

I also found this particular annoying.

To build it from source, make sure to install all dependencies (check the provided Dockerfile for details), add both docker and docker/vendor to your GOPATH and then execute `bash hack/make.sh dynbinary`

Re:Git 2.0 on Thursday May 29, 2014 @09:50AM (#7816186)
Yes, Git is maintained very conservative and a lot of effort is put into review and testing even before patches hit the 'pu' or 'next' branch (Git's staging branches), where they usually cook for some time before getting merged (if at all).

I even use pu on my work machine to be able to test and use the latest features and never had a serious problem.

Re:Ask HN: Best books you read in 2012 on Tuesday December 25, 2012 @12:38PM (#4966479)
The Road to Somewhere: An American Memoir

http://bigamericannight.com/the-road-to-somewhere

Re:Git Tips And Workflows on Wednesday December 05, 2012 @03:22PM (#4878337)
> Which turns out isn't right.

Sorry, you lost me; what's not right?

> You can set up a bare repository with no working directory

A bare repository has no working tree per se.

> I wonder if that is a requirement. I always thought that if you clone a repository you can just start using it as a remote without additional hassle

You can use bare and non-bare repositories as remote, but you should use only bare repositories (unless you know what you are doing). Here's a good explanation: http://bare-vs-nonbare.gitrecipes.de/

Re:Git Tips And Workflows on Wednesday December 05, 2012 @01:28PM (#4877698)
No, you are mixing things up here. commit is a local operation.
Re:Git Tips And Workflows on Wednesday December 05, 2012 @12:54PM (#4877487)
Read ProGit: http://git-scm.com/book

> "git commit origin master"

That's not how to do it :)

> I wanted to make it so that they could also commit code into the same repo

No. Each developer works in her private repo, for sharing work you use a bare repo people push to / fetch from.

Re:Git 1.8.0 on Monday October 22, 2012 @08:10AM (#4682762)
You can find it in contrib: https://github.com/gitster/git/tree/master/contrib/credentia...

See man 7 gitcredentials on how to set it up.

Do you plan on releasing the code?