Quantcast
Channel: manchicken here…
Browsing latest articles
Browse All 75 View Live

Gist of the Day: Find Which List Items Make Up a Given Sum

Here’s the scenario: you have two lists of integers, and you have a sum. Write an algorithm – in Perl, of course – to find which two items when summed give you a specified number. If no pairing exists,...

View Article



Image may be NSFW.
Clik here to view.

Gist of the Day: Find All Paths for an Undirected Graph

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 kinda does – when I started. It’s not as trivial as a binary...

View Article

Image may be NSFW.
Clik here to view.

Facebook, the Qt5 Web Application

This is a really cool idea, it’s a site-specific browser, similar to Fluid on OS X. This has alerts and such that come up as well, and it’ll sit in your KDE task bar. I’m digging it so far. I suspect...

View Article

Gist of the Day: C Structs from Binary Files Using Perl

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 won’t stop me from polluting the Internet with yet another blog post though, don’t...

View Article

Gist of the Day: Counting Bits

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. It just takes in a number, and then the size (in bits) of the...

View Article


Gist of the Day: Old SL4A Example!

So I’m on very little sleep after a long three days of travel which is not yet done. Nonetheless, the show must go on! Today I have for you a demo program I wrote for CMI.pm a while back (last July I...

View Article

Gist of the Day: Using Mojo, Mongo, and SL4A to send SMS Messages (1 of 2)

I got a little bored with what I had been posting (I suspect you did, too), so I’m doing something neat. I’m going to write a full (though limited) program for you. Here are the user stories (if you...

View Article

Gist of the Day: Using Mojo, Mongo, and SL4A to send SMS Messages (2 of 2)

I am very sorry that I missed posting this yesterday, I kinda got crazy sleepy and went to bed shortly after getting home from work. AS PROMISED, however, this next Gist is the SL4A Android component....

View Article


Gist of the Day: Mojo Merging Hashes

Mojolicious is a fun module/framework/thing for me. How do I love Mojolicious? Let me count the ways (sorry Shakespeare): Mojo has ridiculously few dependencies, especially when compared to other web...

View Article


Gist of the Day: There's More Than One Way to Switch Your Class!

In programming you will commonly see abstraction layers. Say, for instance, you wanted to have a program to take some arbitrary data format and load it into your data. We’ll call it product feeds (just...

View Article
Browsing latest articles
Browse All 75 View Live




Latest Images