Arie’s Blog

Happy towel day!

May25

Douglas Adams

Happy towel day!

Other ‘news’:

Rails on OS X: no such file to load — mysql

March11

Just a quick post to maybe help someone who has a similar problem:

I had the following error whenever I tried to use ’script/console’ (script/server and rake worked fine)

require ‘mysql’

MissingSourceFile: no such file to load — mysql
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require’

Turns out I had multiple versions of RubyGems installed on my Macbook. The error message already spoils it by saying rubygems in /System/Library/Framework/ is being called, while I actually installed rubygems manually in a different folder.

To prevent these kind of problems in the future I simply deleted the entire Ruby.framework directory and use the manually installed versions instead.

Switching from Ubuntu/Windows to Mac OS X

January22

apple-logo

I’ve been using my new Macbook for a whopping two days now, so I think it’s time to share some of my early impressions.

First of all, I’m not a typical computer user. I’m picky, opinionated and totally unreasonable when it comes to my requirements for an Operating System. Before my Macbook my setup consisted of:

  • Desktop PC, Windows XP: Used for gaming mainly, also editting photo’s and as a ‘fat client‘ for Putty
  • Laptop, Ubuntu: Used for work and midnight-coding. Purely a development tool for developing Ruby on Rails webapplications, accessing icanhazcheeseburger.com and other important work stuff.

Read the rest of this entry »

Getting a Macbook

January19

I’ve decided to join the evil empire and buy an Apple Macbook. Expect to see some posts describing why it fails during the coming weeks.

Macbook Pro

posted under Hardware | 4 Comments »

Automatically zipping, sharing, moving demo’s of Source-based games

December20

I run a bunch of gameservers for my TF2 clan. On these servers there’s a Source TV that automatically records demo’s of matches. After a match it’s nice to be able to download such a demo and see where your team can improve.

To make these demo’s available to everyone you have to put them on a website somewhere, and doing this manually is annoying. Also, demo’s are easily to compress, so you would like them to get zipped before offering them for a download.

So I wrote a Ruby script that:

  • Uses 7zip to compress all .dem files in directories you specify
  • Removes the original .dem files
  • Moves all the .7z files to predifined directories
  • Restarts the servers when this is done

The result is a nice download area at our server

Read the rest of this entry »

Switching to XS4all

November10

At the end of the week I’ll be switching from my current ISP, Euronet/Wanadoo/Orange/Online, to XS4all. Over the past few months my DSL connection has been steadily getting worse. Slower speeds, more packetloss and ridiculous routing to some countries.

XS4all is quite a bit more expensive than Online, but it offers some nice extras. Free wifi through KPN Hotspots, a great DSL modem, no datalimit or Fair Use Policy, static ip and configurable hostname.

Hacking Online’s new modem

August28

Online (previously Wanadoo/Orange) is currently testing a new modem to replace the ‘Livebox’. The new modem is a Speedtouch 706 (WL) and to prevent people from accidently breaking it or use the modem on different DSL networks nearly all administrative options are disabled.

Unlike the old Livebox, you only get limited access to forward ports and change the wifi SSID and password. Even DynDNS support, which was perfectly usable in the Livebox, is disabled.

Looking for a way to disable the built-in DHCP server and change the default IP address of the Speedtouch 706 I tried flashing the device with the original firmware instead of the locked one. However, the firmware updater refuses to flash because of incompatibility.

This didn’t stop me and using TFTP I tried forcing the flash, but again, this didn’t work.

After some googling I came across a vulnerability in the Speedtouch 780, that allows you to access any page of the webinterface, even the ones you shouldn’t have access to. Using this vulnerability it’s possible to download the modem’s configuration, change it in a text editor and upload it again.

Thanks to this vulnerability I was able to disable the DHCP server and change the symmetric NAT implementation to cone NAT. The default configuration makes it nearly impossible to play online games based on a player-to-player architecture. C&C3 and Supreme Commander are two games that use this technique to allow players to play against eachother. With the original configuration I was unable to connect to about 80% of players in Supreme Commander, now with the cone NAT configuration I no longer have any issues.

You can find instructions to download/upload the Speedtouch configuration here and you can find/replace these bits in the user.ini to get cone NAT instead of symmetric NAT:

connection bind application=CONE(UDP) port=0

connection appconfig application=CONE(UDP) timeout=0

ids config state disabled

Canon 1D Mark III

July3

http://www.juzaphoto.com/eng/articles/canon_eos_1d_mark3_review.htmI was secretely looking for a replacement for my trusted Canon EOS 30D. The Canon 1D Mark IIn was looking rather good. Not too pricey on the used market, decent specifications, basically the same sensor technology as my 30D.

But then I stumbled upon an ad by someone selling her Canon 1D Mark III to go full-frame. The price was good, and the camera turned out to be in perfect condition. So I spent a little more than expected, but I’m now the proud owner of the Canon EOS 1D Mark III.

This thing should be great for shooting sporting events at the next Campzone, and ISO performance is absolutely amazing for indoor shots.

FUR JUST $1 A DAY

June12

cat

FUR JUST $1 A DAY YOU CANZ MAK SHUR THIS KITTEH HAZ CHEEZBURGERZ

dis kitteh got his cheezburger.

picture: dunno source, via our lolcat builder. lol caption: DMC

ยป Recaption This

Afgestudeerd! Nou ja, bijna dan ;)

May21

Afgelopen maandag heb ik mijn afstudeerpresentatie gehouden over Ruby on Rails voor viral websites. De combinatie verslag/presentatie is beoordeeld met een 8.

Bijna klaar met mijn opleiding Informatica aan de Hogeschool Rotterdam nu, nog even een aantal vakken afronden en dan het papiertje afhalen!

« Older EntriesNewer Entries »