Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davvid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
391.
▲
by
davvid
15y ago
If you have bugs join the mailing list. Github issues are great (I use them too) but linux is a very large project with several bug trackers. Kernel issues are tracked through distributions' bug trackers, bugzilla.kernel.org, and ultimatel
392.
▲
by
davvid
15y ago
Another simple solution would be to board from back-to-front. Right now it's front-to-back: the business-class passengers (at the front of the plane) board first. Economy class boards last and each passenger has to walk through the conges
393.
▲
by
davvid
15y ago
If you're already multiplexing ssh connections then you might want to use sshfs/fuse to mount the remote directory over ssh and edit files as if they were remote. Similarly, if you use vim you can edit the remote file directly: vim sc
394.
▲
by
davvid
15y ago
I pointed my finger at him and told him firmly. "If you get up from that couch, I'm going to take the computer away." Really? I would have just slapped the kid ;-) It's quite effective.
395.
▲
by
davvid
15y ago
Having a fan-out directory instead of putting all files at the root would have helped to avoid this problem altogether. Here's an example. The .git/objects/ directory can grow to have up to 256 sub-directories. If an object hashes to 0a1
396.
▲
by
davvid
15y ago
Anyone who links against (or depends on software that links against) libpython*.so cares. Here are two examples of products that ship python. You can't just "swap out the interpreter". http://www.thefoundry.co.uk/products/nuke/ http://u
397.
▲
by
davvid
15y ago
> I question this. I'd like to see an example of something that really is awful, as opposed to just appearing awful, turning into something great later. I think it is likely that the seed of eventual greatness is present from the beginn
398.
▲
by
davvid
15y ago
I've been using mutt with gmail. It drops into vim when it's time to compose a message. I've never heard of vmail. It sounds interesting, but I would personally recommend mutt over vmail. mutt is quite vimish. http://wiki.mutt.org/?Use
399.
▲
by
davvid
15y ago
> Now, you could imagine an interface where you interactively select the pieces of the diff when committing There's no need to imagine -- git-gui and git-cola can do this. http://cola.tuxfamily.org/ Click on a modified file, select sp
400.
▲
by
davvid
15y ago
"git tag --contains" needs to know the generation number of old tags, which is expensive to calculate. "git describe" would be faster for the same reason.
401.
▲
by
davvid
15y ago
git does store "only the minimum amount of information". Here's what Linus had to say about it: > Generation numbers are _completely_ redundant with the actual structure > of history represented by the parent pointers. Not true. Tha
402.
▲
by
davvid
15y ago
QMake can be quite helpful. Unfortunately, it may not be a good long-term choice: http://labs.qt.nokia.com/2009/10/14/to-make-or-not-to-make-q... http://lists.qt.nokia.com/pipermail/qt5-feedback/2011-May/00...
403.
▲
by
davvid
15y ago
After preparing the index with `git add -p` you can use `git stash --keep-index` before committing to help test your changes. This is a good practice to follow for exactly the reason you describe.
404.
▲
by
davvid
15y ago
The article describes a "parse_git_branch" shell function for use in a shell prompt. A much better function is included with git's completion script and is called "__git_ps1". It can be found in /etc/bash_completion.d/git if you installed
405.
▲
by
davvid
15y ago
hell yeah. go is the next C
406.
▲
by
davvid
15y ago
I dunno man.. I really love the weather (and laid-back vibe) in cali
407.
▲
by
davvid
15y ago
They're not fonts... and that's why you have no friends :P
408.
▲
by
davvid
15y ago
We've also been putting stuff up on github: https://github.com/wdas http://ptex.us/
409.
▲
by
davvid
16y ago
He should have also listed "#!" AKA "shebang" / "hashbang"
410.
▲
by
davvid
16y ago
The biggest problem with Python is performance. It doesn't do threads. The GIL is a real bummer. Even when you use the threading module it's very common to load up the system monitor and see only 1 core out of 12 being used. :-/ Performa
411.
▲
by
davvid
16y ago
Here are some more relevant links: http://news.ycombinator.com/item?id=529104 http://metaoptimize.com/blog/2009/03/22/fast-deserialization...
412.
▲
by
davvid
16y ago
Maybe our information is out of date, but here's what we learned: https://github.com/jsonpickle/jsonpickle/commit/0b97652e4102... jsonpickle: Remove cjson support "First, please don't use cjson for anything . It's got multiple bugs and
413.
▲
by
davvid
16y ago
I love git grep: $ git grep foo It's often faster than running regular grep and does nice things like not inspecting ignored files. I also find myself using git shortlog when preparing releases. e.g.: $ git shortlog v1.6.2..
414.
▲
by
davvid
16y ago
> It wasn't hurting anyone by being there I have to respectfully disagree. I'm glad they got rid of this stupid app. It's simply hate sugar-coated with psuedo-science. Apple made the right decision. "app store removes questionable co
415.
▲
by
davvid
16y ago
Just curious, have you ever tried GitCheetah? https://git.wiki.kernel.org/index.php/MSysGit:GitCheetah I've never experienced the crashes you describe but I've never used Tortoise either. YMMV, I suppose.
416.
▲
Principles of Digital Image Synthesis -- now free for download
(realtimerendering.com)
1 points
by
davvid
16y ago
|
0 comments
417.
▲
by
davvid
16y ago
There's a phone number there... hmmm ;)
418.
▲
by
davvid
16y ago
From the article: """ It's a little-known feature of C that if you put two string literals next to each other in the source code, they get concatenated: char *helloworld = "hello, " "world!"; """ That's a good tip that actually wor
419.
▲
by
davvid
16y ago
The community git book will often do things "the old fashioned way" to keep compatibility with older versions of git. Modern versions of git let you do this instead: git checkout --orphan new-branch
420.
▲
by
davvid
16y ago
What about pushing only a subset of your branches? As far as I know, you can't commit to N branches and then push only a subset of them with hg. There's also the whole index/staging area thing that I use everyday in git. That said, I think
More ›