News for hackers. Stuff that matters.

baohaojun

Re:Mg: an Emacs-like editor in 160 kb on Monday March 23, 2015 @02:21AM (#9249702)
I use tramp for minor config file editting, it's not too bad. But when coding remotely, I like to setup 2 copies of code, one local, one remote. I always work on the local copy, then when I need to build, I use rsync to push the local code to the remote server for building remotely (because only the remote server has the os/compiler/cpu resources). It works great😁
Re:Quickly navigate your filesystem from the command line on Tuesday August 20, 2013 @11:15PM (#6247960)
I have developed a very similar scheme for myself independently (haven't heard of z before, but thanks). A further idea is another command <code>e</code>, which is used like: <code>e reg1 reg2...</code>, and it will query z's database to see if there is a file in z's directory which matches the regs, and if found, open that file in Emacs. A similar command <code>f</code> will only print the path, so that <code>firefox $(f reg1 reg2)</code> will open the found file using firefox.
Re:Stripping kernel/uboot source to 10% for code reading on Thursday May 09, 2013 @01:50AM (#5679015)
Thanks for the info, it must be the relatime that I saw this behavior. Were it noatime, this idea won't have worked at all (I think I have seen noatime used on embedded devices).
Re:Stripping kernel/uboot source to 10% for code reading on Wednesday May 08, 2013 @11:13PM (#5678579)
Yes, there is more than one way to do it:-) Had I read the git ls-tree manpage more patiently, I should have wrote:

    git ls-tree HEAD -r --name-only
Re:Stripping kernel/uboot source to 10% for code reading on Wednesday May 08, 2013 @11:11PM (#5678575)
Sorry, and you guessed right, `pn N` is just my shorthand wrapper for `awk '{print $N}'`.
Re:Beagrep: fastest grep on earth on Friday May 03, 2013 @02:05AM (#5649061)
Thank you:-)
Re:Beagrep: grep 2G source code in 0.23s on Thursday May 02, 2013 @09:19PM (#5648298)
Sorry, more detailed post can be found here: http://baohaojun.github.io/beagrep.html

The github project is https://github.com/baohaojun/beagrep

And your guess in very right:-)