1 min read 0 Gist of the Day: Counting Bits 2013-09-16 I’m pretty sure there’s a more efficient way of doing this, but here’s what I’ve quickly typed up in 10 minutes sitting in my hotel.…
1 min read 0 Gist of the Day: C Structs from Binary Files Using Perl 2013-09-15 Hi, did ya miss me? I’m blogging from O’Hare today, it’s going to be a busy week for me with lots of air travel. That…
1 min read 0 Gist of the Day: Find All Paths for an Undirected Graph 2013-09-14 I’ve been doing a lot of stuff lately with data structures and algorithms. This is one that seemed remarkably complicated to me – and still…
1 min read 0 Gist of the Day: Find Which List Items Make Up a Given Sum 2013-09-13 Here’s the scenario: you have two lists of integers, and you have a sum. Write an algorithm – in Perl, of course – to find…
1 min read 0 Gist of the Day: Re-Inventing Hashes… In Perl. 2013-09-12 Before you begin the well-deserved flaming, please understand that I do not intend on submitting this to CPAN. This is purely an academic exercise to demonstrate…
1 min read 0 Gist of the Day: Process Control with fork(), exec(), and kill() 2013-09-11 I feel really bad for leaving you all high and dry yesterday… really bad… okay, you’re right, I don’t really feel all that bad. I…
1 min read 0 Gist of the Day: Simple Tree in Python 2013-09-09 I biked a bunch tonight, and worked a bit late, and then watched Torchwood on Netflix… so, sorry for slacking. Here’s the Gist of the…
1 min read 0 Gist of the Day: Threading in Python with All the Trimmings 2013-09-08 Today I took on a rather ambitious Gist, and as a result the write-up is going to be rather minimal (I still have three miles…
1 min read 0 Gist of the Day: Ends in Four 2013-09-07 Sometimes we have a simple task to do and we over-think it. Such was the case when someone asked me an interview question one time.…
1 min read 0 Gist of the Day: Analyzing Performance with Benchmark.pm 2013-09-06 In my post on Inline::C a few days ago I mentioned The Rules of Optimization Club, and then I ranted a little bit about how if you…