lame audio encoder example

Annexe

This post originally appeared on the Annexe.

lame -h -m m -b 80 –resample 22.05 RubenerdShow231.wav

Leopard sudo isn't as much fun

Annexe

This post originally appeared on the Annexe.

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type “man sudo” for more information.
To proceed, enter your password, or type Ctrl-C to abort.

Rubenerd Show 231: The conspiracy theory episode

Show

Commodore 64 in high definition!

Podcast: Play in new window · Download

35:27 – I would post a description, but it would just be a conspiracy! Warning: heavy ironic and satirical undertones!

Recorded in Singapore. Licence for this track: Creative Commons Attribution-ShareAlike 3.0. Attribution: Ruben Schade.


1920x1200 xorg.conf

Annexe

This post originally appeared on the Annexe.

Modeline “1920x1200” 219.94
1920 2120 2376 2488
1200 1200 1213 1253
Modeline “1920x1200” 193.156
1920 2048 2256 2592
1200 1201 1203 1242
+hsync +vsync
Modeline “1920x1200@60” 210.68
1920 1952 2752 2784
1200 1224 1236 1261

Dave Wares is awake

Annexe

This post originally appeared on the Annexe.

Awake, though my eyes disagree!
Dave Wares: Twitter
Website

Rails pollutes Ruby search results!

Software

ASIDE: Within five minutes of this post going live I received a message from Vannesa Choi in Taiwan saying that I can filter out a lot of Rails related results by specifying eRuby specifically instead. I still get lots of Rails results, but certainly much less than before. Xie Xie :)

I've been learning Ruby for a while now and have started moving from Perl to it in recent months as my primary tool for solving most of my day to day problems (alas, just with computers, real life is the next step!). With all I've picked up I've now decided to use Ruby in web development and replace my PHP powered sites other people have coded over to an eRuby FastCGI powered site I code myself (I got part of the way through a similar project a few months back, but life got in the way again and stalled it!). What was the quote that Google put on it's Google Code adverts? "Computer Scientists don't adapt other people's code, they create their own!"

Anyway the problem I'm having with finding quality documentation online for Ruby web development is the exact opposite problem I had when I first learned about CGI using Perl back in 2004: there's too much of it! But in an ironic twist, just as the sailor stranded at sea in a lifeboat can't drink the water despite it being all around her, all the documentation I'm finding is all about Ruby on Rails! Even the O'Reilly book on Ruby proudly proclaims it to be the language that powers Rails!

Ruby is not just for Rails!

Virtually every search I perform for Ruby development in books, online or even talking to people, whether it's for MySQL connectivity, FastCGI or sessions always brings up Ruby on Rails but not Ruby! I don't want the triple chocolate sundae with nuts and fudge, I want the wholesome Ruby goodness you can only get from eating the plain but smooth vanilla ice cream. From the tub. With a spoon. In my pajamas. That's a funny mental picture.

Now don't get me wrong, there are some good websites on Ruby web development such as Hiveminds in the UK, but I guess what I'm trying to say is that I'm fed up with seeing what appears to be an excellent page detailing an aspect of Ruby web development only to discover that they're talking about Rails! Argh!

I guess one could ask why someone who wants to do web development in Ruby doesn't want to use Rails, and I could spend all day typing here explaining why, but Hiveminds puts it very eloquently:

One of the most troublesome of the Rails drawbacks for me and the reason that I decided to go with eRuby is the that Rails was taking up all my time with Rails problems and troubleshooting. I was learning a lot about using Rails but not much of the Ruby programming language. Someone suggested we go with CGI instead and while researching this we found eRuby.

eRuby is a much easier way of using, learning and getting the power of Ruby on to a website. With eRuby deployment is a easy as uploading your files to your web server. This is to say deploying an application or webpage is no harder in eRuby than it’s counterparts like PHP or ASP. I honestly believe that if Ruby popularity is going to increase that eRuby will be the reason. Unlike Rails eRuby has a very shallow learning curve and does not require a lot of effort by web hosting companies to set up.

Now just in case you've got the wrong idea, I personally don't have anything against Rails and have even used it myself for a few projects, but for most of what I do it's overkill and when I'm looking for just Ruby material it can get tedious when you get superfluous information. But I am weird right?


Deany Martiny Christmas goodness

Media

Christmas with Dino CD cover

If there's any other way to celebrate Christmas, I certainly don't know about it ;-)


Emergency Twitter offline postings

Internet

Twitter scheduled maintenance screenshot

While Twitter has its latest scheduled downtime, I'll be posting my random 140 character quips about life and what I'm doing on this site instead. Walkley award material I can assure you!

21:50 SGT, 21:50 GMT
Twitter is back online. And so ends the first installment of the "Emergency Twitter offline postings" ^_^
20:51 SGT, 20:51 GMT
False alarm. Thought Twitter was back, and I was able to post on Snitter, but Twitter site is still down. 105
20:36 SGT, 13:26 GMT
Going to try and finish all my studies this week so I have Christmas and a few days after off. Not sure if I can do it! 119
20:34 SGT, 13:24 GMT
Just came back from dinner. Appears Twitter is still offline. Damn it, been offline nearly all day! 99
18:21 SGT, 11:21 GMT
Reading up on how to tie MySQL to Ruby in a way similar to how I did it with Perl back in 2005. Wow, long time ago! 115
17:23 SGT, 10:23 GMT
"Believing the world is 5000 years old and created in 5 days isn’t a moral issue. It’s just stupid!" – Bill Maher 113
17:21 SGT, 10:21 GMT
My mum just woke up, made her dinner. Her mouth still really hurts, this chemo is nasty stuff 93
16:55 SGT, 09:55 GMT
I used to set my air con to 24/75F, now I set it to 27/80F and it feels the same! Amazing what a bit of tuning can do! 118
16:48 SGT, 09:48 GMT
I like to have clean computer workspaces, I hate having lots of windows open. Tweeting on this blog is very inefficient in that respect! 136
16:38 SGT, 09:38 GMT
And to think I was going to figure out if I could import these posts into Twitter when it came back. Could you imagine?! 120
16:30 SGT, 09:30 GMT
Excellent quote I just read on Slashdot: “Correct spelling is the new 1337″75
16:28 SGT, 09:28 GMT
Aircon people have left. I turned the one in my room on and was nearly blown out the window! Makes HUGE difference! 115
15:54 SGT, 08:54 GMT
This really makes me appreciate how easy it is to use Twitter, and how much time I clearly waste on it! Look at all these! Curse you Felix! 139
15:51 SGT, 08:51 GMT
And I’m still worried about installing Last.fm on Leopard considering how it manages to screw up X11 so much 108
15:49 SGT, 08:49 GMT
Trying to clear out a backlog of emails that have accumulated 61
15:34 SGT, 08:33 GMT
Ah it’s all good. I restarted the VMware Fusion server and all is good again. Whew! 83
15:33 SGT, 08:33 GMT
What the hell? None of my VMware Fusion virtual machines are detecting my keyboard?! 84
15:23 SGT, 08:23 GMT
Somehow posting these entries on my blog just doesn’t feel the same, or as spontaneous 86
15:18 SGT, 08:18 GMT
Aircon servicepeoples just arrived to service our aircons. What a redundant sentence! 85
15:16 SGT, 08:16 GMT
Started Twitterring on my website while Twitter has scheduled maintenance… in the early afternoon! 100

Overcast photos at Raffles Place

Media

I was in the city late yesterday afternoon and I had my camera with me so I thought I'd take a few quick photos. Problem was, no sooner had I got the camera out and set up the sky turned grey and within fifteen minutes it started pouring!

Best I could do under the circs ;).

The Square

Most of the area here is made up of pedestrian walk ways and parks, with two entrances to the Raffles Place MRT station.

Raffles Place, Republic Plaza on right Raffles Place

Raffles Place Raffles Place

Singapore Land Tower

Formally Shell House where my father used to work in 1997. I tried to get the reflection of the other tower all symmetrical but didn't quite work!

Singapore Land Tower

Republic Plaza

My personal favourite, I wonder how much the rent is? ;-)

DSCF1380

OUB Centre

I had to sit in a really contorted and embarrassing position to get this photo right!

OUB Centre

HSBC

And here's my attempt at being all "arty". I call it: "HSBC Urban Jungle". Sometimes I'm so creative with names I could just shoot myself in the face like Dick Cheney.

HSBC Building

Suntec City, Esplanande

Unfortunately by the time I got around to photographing Suntec City and the Esplanade in the distance the rain had already started falling, so the picture is pretty crappy!

Suntec City, Esplanade under ominous skies

You can view the full gallery over at my Flickr page.


Christopher Hitchens on religion

Annexe

This post originally appeared on the Annexe.

Under the cover of religion there is no stupidy that can’t be advocated!
Christopher Hitchens