CSH Blog Network

Many of our members and alumni have blogs out there on the internet, and they write about a lot of interesting things. So we gathered up all the CSHer blogs we could find and, with the power of Web 2.0, mashed them all together into one big blogorific mega-feed! Find out what real CSHers are doing with their lives, here on the CSH Blog Network.

» View all the blogs that go into this feed

Members/Alumni: Want to add your voice? Email webmaster@csh.rit.edu.

Game of Life

Chris Lockfort (clockfort.com) - November 5, 2009 - 5:40am

I got very bored in a far-too-easy networking class and ended up coding a very memory efficient version of Conway’s Game of Life.  read more »

grok 20091103 release

Jordan Sissel (semicomplete.com) - November 3, 2009 - 4:54am
Lots of changes since the last announced release. Grok should get some more activity now that I'm actually using it in a few places. If you find bugs or have feature requests, please file them on googlecode issue tracker (see below)

The largest changes are:

  • we ship with Ruby and C API.
  • lots of new testing code.
  • we now use tokyocabinet internally instead of bdb.  read more »

Scott Kuehn Found Near Road

Robert Peaslee (robertpeaslee.com) - October 30, 2009 - 4:16pm
Scott Kuehn (site: http://kuehns.com/scott/ ) was recently found along I-5 outside of Tacoma.  read more »

Bringing test tools to Nagios monitoring

Jordan Sissel (semicomplete.com) - October 30, 2009 - 4:24am
With all the TDD (test-driven design) and BDD (behavior-driven design) going around these days, it'd be a shame not to use these tools on monitoring applications.

You might have a boatload of tests that test your application before you roll a new version, but do you use those tests while the application is in production? Can you? Yes!

Let's take an important example of monitoring some complex interaction, like searching google and checking the results. Simple with a mouse, but perhaps complex in code.  read more »

Bruce Schneier plugin for Hudson

Drew Stephens (dinomite.net) - October 29, 2009 - 12:40am

With the help of Mike Rooney, I created a plugin for Hudson that shows quotes from Bruce Schneier Facts: the  read more »

Net-SNMP and tcp-wrappers verbosity

Jordan Sissel (semicomplete.com) - October 26, 2009 - 10:27pm
I see this in my server logs quiet often: Oct 23 05:37:48 pww-5 snmpd[23946]: Connection from UDP: [XX.XX.XX.XX]:34650 Oct 23 05:37:48 pww-5 last message repeated 16 times Oct 23 05:37:48 pww-5 snmpd[23946]: Connection from UDP: [XX.XX.XX.XX]:34652 Oct 23 05:37:48 pww-5 last message repeated 24 times Googling points out that in snmpd.conf we should use "dontLogTCPWrappersConnects" - but thet top search results claim that it doesn't work (syntax errors, etc). I tried this: dontLogTCPWrappersConnects This makes an error of: /etc/snmp/snmpd.conf: line 29: Err  read more »

Password Composer for iPhone

Jon Parise (indelible.org) - October 25, 2009 - 11:50pm

I often use Password Composer (written by Johannes la Poutré) to generate unique, per-site passwords. It does an excellent job because it’s simple, unobtrusive, and reliable. The one downside is that you need to have it available in order to (re)generate the password for a given web site, and that isn’t always convenient, despite the large number of existing Password Composer implementations.  read more »

GIT Line Totals Per Author

Matt Behrens (asktherelic.com) - October 24, 2009 - 8:58pm

I finally switched all of my projects over to git or git-svn and have never been happier. Everything has so many more options than svn, everything is faster, and the universe of software for git is way better than svn. Switch now!

Awhile back I wrote a command to print the total number of lines contributed per author for my svn repository because I wanted to see how awesome I am. I decided to port this command over to git.  read more »

NFS Blocksize Optimizations

Chris Lockfort (clockfort.com) - October 22, 2009 - 9:16am

I decided to redo the NFS setup I previously had on my ol’ Itanium2 machine.

Standard disclaimer: These tests were run with purposeful cache prevention techniques so that caching would not make all subsequent tests faster, yada yada, I am not retarded.

Specs:
2x 1.5GHz Itanium2 processors
10GB ECC DDR
3x 74GB 15k RPM U320 SCSI drives in RAID5
Gigabit ethernet  read more »

Motorola Droid vs. Apple’s iPhone

Robert Peaslee (robertpeaslee.com) - October 20, 2009 - 6:45am
There has been a lot of hype around the Motorola Droid (release date October 30th, yay!), which I think is well-deserved. A lot of people, myself included, have been waiting for an Android phone on Verizon’s network since HTC came out with the G1 on T-Mobile.  read more »

An Ideal EeePC Firefox Setup

Chris Lockfort (clockfort.com) - October 19, 2009 - 2:13pm

I propose that this is the best Ubuntu Netbook Remix Firefox setup ever.
Uses:  read more »

Stop Tweeting. Stop Emailing.

Robert Peaslee (robertpeaslee.com) - October 18, 2009 - 12:16am
When presented with a means of communicating electronically, some people forget the guidelines of effective communication and turn into retards.  read more »

Bourbon Roadtrip Writeup

Matt Behrens (asktherelic.com) - September 30, 2009 - 1:46pm

After a month of recovery, I’ve managed to write up the experiences from my bourbon roadtrip over the summer. My plans for this trip are here. Overall, it was a great time to drive across America and meet some very unique people. I enjoyed the different perspectives that I gained and the connections that I made. Also the food and drink that I sampled was fantastic.

Some quick stats:  read more »

Ruby: Finding subclasses in your world

Jordan Sissel (semicomplete.com) - September 29, 2009 - 2:54am
Use the ObjectSpace class to find all ancestors of a given class. class Foo; end class Bar < Foo; end class Baz < Foo; end subclasses = ObjectSpace.each_object(Class).select do |klass| klass.ancestors.include?(Foo) and klass != Foo end # prints "[Baz, Bar]" puts subclasses Of course, you could always override Class#inherited instead, but if you don't want to override methods, the above is a reasonable choice.  read more »

Skittles Vodka

Drew Stephens (dinomite.net) - September 29, 2009 - 1:13am

When walking through Ikea one day, I spotted the perfect bottles in which to make Skittles vodka. Starting with these, here is the process for making this infusion.  read more »

MySQL 5.0 'read-only' permits uncommitted writes

Jordan Sissel (semicomplete.com) - September 28, 2009 - 2:41am
I recently had to do a master failover in mysql to bring up a new mysql master to replace an older one.

The switchover went awry shortly after we told the old master to start slaving off of the new master. The output of 'show slave status' indicated a halt of replication due to foreign key constraints: an auto_increment primary key had a duplicate insert attempt. How did this happen? I'm not sure yet, still digging.

This puzzle made me wonder how we got into that state given that I put the old master in 'read only' mode before doing the switch.  read more »

Setuid bind(2) and switch!

Jordan Sissel (semicomplete.com) - September 24, 2009 - 2:20am
Got a program that can't setuid but needs to listen on a priviledged port? I was hacking around with Linux's capabilities(7) tonight and came up empty trying to allow a non-priviledged user to bind to port 80 without having to start as root - after all, not everything is capable of setuid on startup, like many java programs.

Speaking of java, if you do setuid, the java hotspot monitor file thing (/tmp/hsperfdata_<user>/<pid>) is in the original user's directory, not the setuid'd user, so you can't jstack reliably. I might be PEBCAKing it, but this is the behavior I observe.  read more »

DNS Redirection and how it will break things

Jordan Sissel (semicomplete.com) - September 22, 2009 - 10:28pm
There's some hot debate around the implications and rightness of service providers to do things like traffic filtering, session hijacking, etc.

I'm not here to talk about that. The data below aims to focus on the technical failures induced by dns hijacking, or dns redirection. I won't bore you with the moral, political, or philosophical discussion around this topic.

Here's a summary if you don't want to read the details:

  • DNSBLs probably don't work anymore for Comcast users
  • Owned domains (semicomplete.com, google.com, etc) are also subject to hijacking.  read more »

GDB for poking at libc to test random things

Jordan Sissel (semicomplete.com) - September 21, 2009 - 10:22pm
I wanted to test something quickly out in C, but didn't want to write the 5 line of code to do it.  read more »

Adventures in Soekris Land - Part I

Wesley Shields (atarininja.org) - September 18, 2009 - 9:27pm

As I've mentioned before I was recently given a net4501 by Jordan. Now that I'm moved into my new house I'm in the process of getting FreeBSD up and running on it. Since Jordan said he was seeing performance issues with it I figured it couldn't hurt to update the BIOS on the device first before I boot FreeBSD on it. It's actually a pretty simple process. All you need is lrzsz (ports/comms/lrzsz) and a serial cable.  read more »

Syndicate content