Category: Programming
-
[Bryan] Lunduke.com » I got robbed. So I’m going to murder you.
It really sucks when someone breaks into your house. You feel violated. You want revenge…but really, Bryan just needs to be able to get back to work. [Bryan] Lunduke.com » I got robbed. So I’m going to murder you..
-
Deduplication, continued.
OK, so what started out as a bash script grew into a rather finicky Perl script. I used a bunch of parallel hashes, judging things by combinations duplicate names, identical file sizes and actually scoring the path name and taking the highest score. I ended up no using the file hashes, because I decided that […]
-
Standing Workspace, Wrist Ergonomics, Exercise.
Michael and Chris, Re: CR76, on the topic of standing desks, ergonomics. I would encourage you guys to use standing workspaces. Built one for work, I converted a book-shelf into one at home for my home office as well. (Pictures on my blog). I find it really helped me with lower-back pain. There are just […]
-
Make, classpaths and environment variables
Make, Ant and probably any other build language (and/or toolkit, since Ant is not much in the way of a language) are tricky bastards. I’ve been maintaining a parallel set of build scripts for a Java and C++ project for a few years now, and this has been great practice in getting my Make chops […]
-
Forget Foreign Languages and Music. Teach Our Kids to Code | Wired Opinion | Wired.com
Young minds understand coding and logical deduction easily. The fact that young children can manage such elaborate tasks should be no great surprise, given what we know about their knack for acquiring languages. Five-year-olds trump their elders at learning Spanish or Mandarin because young brains are better (so the theory goes) at formulating “procedural” memories—that […]
-
Flash Mobs of Trading Robots Coalescing To Rule Markets – Slashdot
So–ever heard of The Singularity? Ray Kurzweil and Vernor Vinge have written about the creation of artificial intelligences…as our species last creation. Keep a lookout for large scale behaviors that are an expression of the hive intelligence of the Internet. Trading robots are the modern financial weapon that could rule/ruin our retirement savings. Consider that […]
-
Backups: Using `find` Across a Panalopy of Directories
I love using the find command. In DOS, find is like grep. In Linux, find is the most powerful recursive DOS dir /s or Linux ls -r command you could ever put your saddle on. One of the things you can do with find is to avoid directories, using the -prune switch. Like so: find […]
-
Backups: using tar and find
If you are familiar with zip files, they are the DOS version of tar files (tar = Tape Archive). The tar utility is totally intended for storing backups. A quick way to backup your home directory is: cd /home ; tar -cvf home-jed.tar ./jed You might see that command grab a whole lot of stuff […]
-
Building faster with Netbeans and SSDs
The build directories that Netbeans uses are pounded a lot, and chances are you have enough ram to leverage tmpfs. Let do it! Start with our /etc/rc.local file: echo deadline > /sys/block/sda/queue/scheduler echo 1 > /sys/block/sda/queue/iosched/fifo_batch D=/home/jreynolds/.cache/netbeans rm -rf $D/* mount $D chown -R jreynolds:jreynolds $D D=/home/jreynolds/NetBeansProjects/MyProject/build rm -rf $D/* mount $D # dont furgit […]
-
Too Many Linux Distros? And Does Progress Justify Injustice?
Are there too many Linux distros? Michael Dominick, in Episode 23 of Coder Radio clearly says that there are too many distros. This is not a fresh dilema, and I’ve written about it in the past. It is a basic point: in any community where proficiency is valued and lumber is free, you will never […]