Rubénerd Blog :)

Monday 01st March 2010

Ncurses makes C all warm and fuzzy

CC from Code Geass

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…

Read this post >

Tuesday 16th February 2010

An ncurses virgin installs it and tries it out

http://rubenerd.com/uploads/screenie.ncurses.png

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!

Read this post >

Thursday 17th December 2009

Can’t work Qt4-QtRuby on Snow Leopard

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.

Read this post >

Wednesday 16th December 2009

Choosing between Ruby/Tk or Java Swing

Java Swing code

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!

Read this post >

Monday 14th December 2009

Prevent [Ruby/]Tk window resizing

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.

Read this post >

Sunday 13th December 2009

Messing around with YAML and Ruby

The Ruby Programming Language

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.

Read this post >

Monday 02nd November 2009

We should get ebook versions for free!

Happiness is a stack of new interesting computer books!

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.

Read this post >

Sunday 01st November 2009

TextMate defaulting to the root directory

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.

Wednesday 21st October 2009

Writing code that ends cleanly without breaks

Super detailed diagram!

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.

Read this post >

Thursday 15th October 2009

On Java inner classes and whatnot

Classic Java logo

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 :).

Read this post >

< Older posts
Dedicated to my groovy late mum Debra Schade.