Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davvid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
331.
▲
by
davvid
14y ago
You roll version Y yourself and install it into an alternate prefix. If the server uses debian that means make a new deb and deploy it using the standard tools. apt-get/yum/etc. are very solid deployment tools.
332.
▲
by
davvid
14y ago
Check out git's "make rpm" target. https://github.com/gitster/git/blob/master/Makefile Hosting your own apt/yum repo is pretty simple. Does anyone have an example of a similar "make deb" target they could share? I've heard of git-dpm and
333.
▲
by
davvid
15y ago
Unfortunately, the first item is still valid. "Speed" is and continues to be a concern. If python did multithreading then speed could be overlooked as processors grow more and more cores. The GIL prevents python programs from using the fu
334.
▲
by
davvid
15y ago
Another interesting thing I've found is that packagers really prefer tarballs. They can checksum them. They don't need to download your full history, etc. The tarballs automatically produced by github have names that are annoying and make
335.
▲
by
davvid
15y ago
Agreed. The branching model used by the git project itself is quite effective. Introducing an additional tool isn't always needed. http://git.kernel.org/?p=git/git.git;a=blob;f=Documentation/... If there existed a git-next tool to docum
336.
▲
by
davvid
15y ago
Security releases are for old distros/users.
337.
▲
by
davvid
15y ago
git-difftool lets you plug in your own viewer. tkdiff, xxdiff, meld, kdiff3, and many others are built-in. You can also configure your own. http://schacon.github.com/git/git-difftool.html
338.
▲
by
davvid
15y ago
On a related note, Michael Foord's `mock.py` was recently added to the python stdlib. http://www.voidspace.org.uk/python/mock/mock.html
339.
▲
by
davvid
15y ago
The one thing he forgot to say is, "If you have to choose an encoding, use utf-8." Someone who doesn't know the difference between utf-16, utf-8, etc. might not know which to use.
340.
▲
by
davvid
15y ago
I was thinking the same thing. At risk of spoiling it for others -- is it april fools yet?
341.
▲
by
davvid
15y ago
ints are used in the definition of some of the core interfaces. This has implications on how many entries a collection (that implements these interfaces) can contain. For example, sort.Interface: package sort // A type, typically a
342.
▲
by
davvid
15y ago
But recently, the reverse seems to be true I don't believe this is a recent phenomenon.
343.
▲
by
davvid
15y ago
I was helping my friend edit his website yesterday. He's an illustrator/character designer and needed a text editor on Tiger (old laptop) for editing html/css/etc. We tried very hard to find an editor that wasn't vim. I looked around.. te
344.
▲
Linus on kernel management style (2004)
(lwn.net)
60 points
by
davvid
15y ago
|
7 comments
345.
▲
by
davvid
15y ago
Now some love for us Linux guys and I would be so happy. git-cola! It's developed on Linux and written with power-users in mind. That's why it has vim-style navigation (j/k keys for moving up/down lists) and lots of other niceties. It's
346.
▲
by
davvid
15y ago
Linus' rant is grounded in practicality. Portability concerns are huge for git. Read the source code. Git compiles on lots of (arcane and ancient) Unix flavors, and has to deal with the compilers on those platforms. C is still the right
347.
▲
by
davvid
15y ago
Here's a business opportunity: Battery insurance.
348.
▲
by
davvid
15y ago
What a nice guy. I was in elementary school when John Glenn visited our school. He even signed the random shirt I happened to be wearing that day. I think the idea of astronauts really changed my thinking.
349.
▲
by
davvid
15y ago
If you use vim then I highly recommend mapping spacebar to page-down and shift-spacebar to page-up. This key is kinda useless otherwise and super-helpful afterwards. It is also the largest key on your keyboard. usability++ nmap 
350.
▲
by
davvid
15y ago
While this may be a nice idea, I don't know if it improves the situation. Improving the situation means tackling the entire problem, top-to-bottom. http://thread.gmane.org/gmane.comp.version-control.git/18582... http://thread.gmane.org/
351.
▲
by
davvid
15y ago
Does anyone have a link that doesn't require me to login to see this? This is a google groups quirk. If you are logged into a google account it will prompt you. If you sign out of your google accounts then you can read it without being l
352.
▲
by
davvid
15y ago
I'm confused why twitter even has to do anything here. For example: http://chillingeffects.org/dmca512c/notice.cgi?NoticeID=1860... Is it really illegal to link to infringing material? Oh.. that's right. http://www.2600.com/news/112801
353.
▲
by
davvid
15y ago
Another practical consideration: I clicked on the "manual.txt" file and SF redirected me to a download page. I would have preferred to read the file in-place (like on github).
354.
▲
by
davvid
15y ago
I think most gitsters (this is the kernel, afterall) would say: $ git grep foo -- '*.c'
355.
▲
by
davvid
15y ago
Let's not forget GNU parallel, that would be naughty ;-) seq -w 19 | parallel wget http://hackermonthly.com/xmas/hackermonthly-issue0{}.zip ;-)
356.
▲
by
davvid
15y ago
Go is a truly beautiful language; it really feels like a modern C. I hack Python and C++ for a living but would much rather hack go.
357.
▲
by
davvid
15y ago
How did they create these beautiful graphs?
358.
▲
by
davvid
15y ago
One solution is for everyone to simply refuse to implement whatever stupid law is passed. Closes #666 (WONTFIX)
359.
▲
by
davvid
15y ago
Doing a quick [...] is VERY convenient. I agree! If you do this a lot then you might be interested in GNU parallel. It's super handy! seq 1 15 | parallel ssh www{}.website.com reboot http://www.gnu.org/s/parallel/
360.
▲
by
davvid
15y ago
Welcome to linux. Actually, welcome to the world of software. This attitude is not helpful and please don't "blame" it on Linux.
More ›