Close

Category Archives: Tech

Colegio de la Purisima Concepcion website

The Colegio de la Purisima Concepcion website runs on my as-yet-still-in-development CMS: Mazungumzo, which is in turn powered by the truly truly wonderful CodeIgniter PHP framework.
Mazungumzo is a Swahili term meaning conversation, and at its core, the Mazungumzo platform is meant to be an enabler for conversation: between students, between teachers and administrators, between [...]

Storing a CSV text file into a C Struct

I came across a problem where I wanted to grab some data off a CSV text file (see sample below) and plug it into a data structure, but — and there’s always a “but” — I had to do it in ANSI C. Eyeroll. Doing it in Python would be a snap:

1
2
3
4
5
6
7
8
9
10
path = "players.txt"
dbfile = [...]

Using Google’s tools to track the 2010 Elections

Hat tip to this post for the idea to use Google Trends for tracking the more tech-savvy (well, those that use Google search anyway) voter’s interest — I can’t quite be certain when those “padyak” ads came out, but I’m guessing it’s around the time Mar’s search popularity spiked. Interest in Manny Villar seems to [...]

More practice: sorting

I wanted to try my hand at sorting, this time, because it’s something I never got around to doing in the past. So I quickly whipped up around ten thousand random integers, put it in a text file, and went to work. My first idea was to do a bubble sort, but the idea of [...]

Quick and Dirty Test for Primes

Again, just practicing; this time, on how to determine whether a given number is prime or not. This was actually the first C problem I ever encountered waaay back in the day; I remember failing. Miserably. Anyway, a refresher: in mathematics, a prime number (or a prime) is a natural number which has exactly two [...]

No Fun with Roman Numerals

PHP I can do just fine; and I’m still in awe of the possibilities with Python (I always end up thinking: whoa… you can do that in Python?! Is this a noob thing? Because so many things are just darn easy in Python!). But I haven’t even looked sideways at any C code since 1997, never got over my fear of Java, and the last version of Visual Basic I used was VB4. Oh, and I don’t even know what COBOL code looks like. So yeah, SOL.

Unsilenced Theme release

Unsilenced is a clean, advanced Magazine theme for Wordpress 2.7; it comes with built-in functions and widget support. Unsilenced lets you specify a Category to act as a Magazine; sub-categories will act as individual issues, and will be displayed at random, or depending on the order that you set. For a demo, well, it’s what [...]

53 CSS-based techniques

So I never forget about it, I’m posting a link to 53 CSS-based techniques you should always have ready to hand if you develop web-sites.

Technology and Me

SEO, xHTML, CSS and why they shouldn’t matter
Well, to me on a personal level, anyway. I know of people for which it’s their bread and butter. Make no mistake, I think web standards are a good thing. They make a web desinger’s life easier for one thing, and they make surfing the web a more [...]

Gigs Ko To!

… is in beta :) Thanks to Markku for the PHP/MySQL help and patience. If you’re in some way connected to music and have a lot to say, sign up. It’s an online community for musicians and music lovers, by musicians and music lovers.