
Get it? CC cuddling cheese-kun? Warm and fuzzy? C? Get it? When I first started messing around with GNU ncurses I was under the impression it was a simple framework to create interactive, windowed console applications…

Get it? CC cuddling cheese-kun? Warm and fuzzy? C? Get it? When I first started messing around with GNU ncurses I was under the impression it was a simple framework to create interactive, windowed console applications…

Having dabbled in a ton of different languages lately, I felt the overwhelming urge this week just to get back to some good ol’ C, and what better and more productive way to do so that to mess around with ncurses!

Yesterday I wrote a longwinded post about choosing Ruby/Tk or Java Swing to create a silly Monopoly clone for the family. Alex reminded me of Qt which is still just as easy as ever to install on Mac, but I still haven’t got the Qt4-QtRuby bindings working because of a problem with Smoke.

UPDATE: Alex has suggested I try Ruby with Qt. Genius!
My family has always had an obsession with the Monopoly board game, and since my mum died the remaining Schade clan has clung onto it even more as a family tradition. Because I have some spare time over the holidays I thought I’d create a computer version of Monopoly but with the place names and chance cards to do with places and experiences we’ve been to and had. Trouble is, I’m not sure what graphical toolkit and language to use!

I had some trouble finding how to prevent Tk windows from being resized by users at runtime, so now that I’ve found out how I’m putting it here and passing it off as a legitimate post. Clever, right? :). Entirely pointless introductory paragraphs aside, simply set the resizable attribute of the TkRoot to (0, 0). Looks like a guy with a crooked nose.

Having studied Java almost exclusively at uni for a while, I decided while I had a holiday break I’d mess around with some Ruby goodness. Today was all about messing with YAML for a potential project thingy, to use technical terms.

My home is back in Singapore and I’m studying in Adelaide, and in both places over the years I’ve collected huge collections of computer books, like these ones! Computer books are bulky and heavy just by themselves, so carrying a few dozen of them between cities in luggage is completely out of the question. What I need are ebook versions.

I’ve started using TextMate more on my Macs for editing code because It Just Works™ and has some really useful features. It just has one nagging little problem to do with files; every single time I create a file outside a project and go to save it, the Save As dialog box ignores where other open files are located and defaults to the root of my primary hard drive to save the file. Every. Single. Time!
I don’t want to have to create projects for each set of files that I’m working on once and forgetting about, is there any way to modify this default behavior? Even having it default to my home directory would be a start.

You’d think transitioning back to university studies after working would mean I’d be learning more about so called "correct" programming techniques, but I’ve actually found the opposite is true! Apparently I’m also incapable of writing catchy titles for programming posts.

A few weeks ago I discussed the different ways to include multiple classes in one file, and one of the comments questioned my use of a class within a class. Apparently when they tried to do it in earlier versions of Java all they got in return was grief. I could say something there about swearing being the common language of all programmers but I’ll leave it at that :).