Posted by tom January 30th, 2007
I’ve recently discovered Twitter and made a small Ruby class for it, to be further extended into the full API. I’ve included the sourcecode in this post, but …
Read the rest of this entryUpgraded TomTom GO700 to TomTom v6
Posted by tom January 29th, 2007
Just upgraded my TomTom GO 700 to version 6 of the software. Mac users are now supported, thank god … so it should be pretty straightforward … you think! Well TomTom Home continuously crashed, only after removing /Library/Application Support/SIMBL/SIMBL.bundle (by temporarily copying it to my Desktop) did TomTom Home work stable. I’ll take it for a ride tomorrow, we’ll see!
XPath: How to get a node with a certain highest or lowest value?
Posted by tom January 28th, 2007
Answer, simple: /bookstore/book[price=max(/bookstore/book/price/text())]
See the example XML document at W3 Schools
Rails development on OSX 10.3.9
Posted by tom January 25th, 2007
TextMate 1.5.4 runs on 10.3.9
Ruby / Rails installation on 10.3.9: We need ruby 1.8.5, rails 1.2.1 & mysql-standard-5.0.27:
- install developer tools (XCode) => from CD
- Install DarwinPorts / MacPorts
- Update MacPorts:
sudo port -d selfupdate - Upgrade autoconf:
sudo port install autoconf(will also install perl) - Install ruby-gems:
sudo port install ruby rb-rubygems - Install rails:
gem install -y rails - Install Mysql from MySQL website
Shameless plug
Posted by tom January 23rd, 2007
Well, it is! Since yesterday Dutch Ruby Forum is officially live! I solemnly swear to keep it up-to-date and post fresh posts frequently. It’s meant as a place to ask questions – in Dutch – for problems you find, but also a place to post tips & tricks.
So: Go ask your questions!
Local RDoc documentation
Posted by tom January 20th, 2007
If you’re using gem to install Rails and other pieces of software, you’ll be happier if you run gem_server on your Terminal and point your browser to RubyGems Documentation Index. This will give you all available gems locally, including their URL’s and RDoc. It’s faster than going to the official API site, saves bandwidth and gives you offline access.
Rails 1.2 released!
Posted by tom January 20th, 2007
Yeah! Rails 1.2 is released! Finally some REST for everyone… run gem install rails --include-dependencies to install the latest version, that is, if you’re using gem. For everyone else use rake rails:freeze:edge TAG=rel_1-2-1 to install the latest version in the vendor folder. Remember to change RAILS_GEM_VERSION in environment.rb, otherwise your application won’t start.
TextMate for Windows?
Posted by tom January 17th, 2007
Well, no! But pretty close: Intype. “Intype is not a TextMate clone or port”, but it does a good job emulating some of it’s features. It’s currently “alpha” software, so you can expect a few quirks AND unfinished bits and pieces. As I understand it does have Save capability, but no Projects & Find/Replace.
DD-WRT on Belkin Wireless USB Print Server
Posted by tom January 14th, 2007
Tonight I’ve installed DD-WRT on a Belkin Wireless USB Print Server (Model: F1UP0001, it says VER. 1000df on the bottom). I’ve downloaded “dd-wrt.v23_sp2_micro” and I’m using “dd-wrt.v23_micro_generic.bin” on the Belkin device.
UPDATE: After writing this article I’ve also tried “dd-wrt.v23_generic.bin” which also ran fine on the Print Server. I did however find out that working with FireFox instead of Safari caused me some problems with the web management interface. So use Safari!
Read the rest of this entryP990 & Mac OSX
Posted by tom January 11th, 2007
Recently I’ve purchased a Sony Ericsson P990 (i) and I’m utterly disappointed! The phone reboots more than once a day. It sometimes gets disconnected from the network (without visual feedback), so I just don’t know it’s disconnected. Later when I reboot it manually, I get messages from voicemail that I missed calls. The phone is slow and most important: It doesn’t Synch with Mac OSX, no iSync, but you can beam your contacts (yeah!).
There’s no information, hints, or suggestions from Sony Ericsson that things will get resolved (by new firmware). It just sucks!
I’m buying myself an Apple iPhone at the FIRST available opportunity and I don’t care what it’s gonna cost me, this was the LAST Sony Ericsson phone I’ve bought.
Get on the Ruby and Ruby on Rails boat!
Posted by tom January 9th, 2007
Just read about the major jump Ruby made in the TIOBE index of programming languages. Ruby jumped eleven (11 !!) places from number 21 to 10 in just one year. Companies & developers, get on the Ruby / Ruby on Rails boat, or you’re going to miss it BIG time!
r4hcp progress
Posted by tom January 8th, 2007
This weekend I spent some more time on r4hcp (my Ruby and Ruby on Rails Hosting Control Panel). It now features a daemon (which of course will go to the background – or why would it be called a daemon?) which can fulfill tasks which require privileged access. As said earlier, you can use it to administer customers, domains, email & forwardings, databases, database users and FTP users. Screenshots are included with this article.
Read the rest of this entryRails Hosting Control Panel
Posted by tom January 2nd, 2007
Last weekend I finally made some progress with the Rails Hosting Control Panel (dubbed r4hcp). Currently it manages Customers, Recipients (Email addresses & Forwardings), Domains, Hosts, Databases & Users (Database users & FTP Users). It currently supports: postfix, courier, proftpd & lighttpd. The DNS entries are still managed on a different database. It automatically creates the databases and database users. Mail me (see about) for more information, once it’s more mature I hopefully can make it into a RubyForge project.
