Beauty and the nerd

Posted by Andre Foeken Mon, 04 Jun 2007 16:34:45 GMT

It has recently come to our attention that one person of our team has just been invited to take part in the newest incarnation of beauty and the nerd on dutch television. We wish him the best of luck in his endeavors!

Have fun DJ!

1 comment

Ruby en Rails 2007.

Posted by Bart ten Brinke Sun, 20 May 2007 13:42:27 GMT

We've been placed on the speaker list for Ruby en Rails 2007! See: http://2007.rubyenrails.nl/sprekers

There are only a few tickets left, so be sure to register quickly!

Update: 2007-06-02

You can now download a small and short teaser of whats to come :)

Download the Moves Teaser (Requires Quicktime with H.264)

Posted in ,  | no comments

Reading is bad for you

Posted by Bart ten Brinke Tue, 15 May 2007 20:51:06 GMT

I just bought this book: Hacking Exposed Web Applications (Second Edition) And it got me here.

This proves it: reading is bad for you. But hopefully this Cross Site Scripting Exploit of to_json will get fixed as a dandy side-effect.

Posted in  | no comments

Moves in Zorgmagazine.nl

Posted by Bart ten Brinke Thu, 10 May 2007 06:59:11 GMT

We were asked by Zorgmagazine.nl to express our visions about homecare scheduleing. This resulted in the attached article. At the moment it is only available in Dutch, but an english version will be coming soon.

Moves in Zorgmagazine (Dutch) Download

Posted in  | no comments

Ruby + SOAP + Multiple servers

Posted by Andre Foeken Tue, 08 May 2007 13:02:26 GMT

The tutorials make it sound so easy. Plug and play even. Unfortunately reality (as always) bites hard.

SOAP integration is a piece of cake if you have one server and no authentication, but when you do the trouble starts. Although the problem is easy to solve once you know how, the lack of documentation on the subject is annoying.

Ruby's current SOAP implementation supports basic http authorisation during communication, however it does not support getting the WSDL file trough the same authorisation... (Argh! 1 ) So you have to pre-fetch the WSDL file and store it as a file, since Ruby does not support reading the WSDL file from a string (Argh! 2).

Since we have multiple servers running the same application on different ports the cached WSDL file is never correct...(Argh! 3) We solve this by overriding the WSDL's proxy setting.

The final code is short but it took me a while to find all this stuff out so I thought i'd post it here:


require 'soap/wsdlDriver'

# Connection settings
url   = "http://testingserver:3000/webservice"
usr  = "***"
pw  = "***"

wsdl_file = "wsdl/cached_file.wsdl"

factory = SOAP::WSDLDriverFactory.new(wsdl_file).create_rpc_driver
factory.options["protocol.http.basic_auth"] << [ url, usr, pw ]
factory.options["protocol.http.ssl_config.verify_mode"] = nil
factory.proxy.endpoint_url = url

Posted in , ,  | Tags  | no comments

InnoDB Database Migration

Posted by Bart ten Brinke Tue, 01 May 2007 21:12:50 GMT

I was looking for a migration that could convert my MyISAM tables to InnoDB, as I had mistakenly created some MyISAM tables. This sounds simple, but I wasn't able to find anything that did this. This simple migration I created, does the trick nicely.

class InnodbEngine < ActiveRecord::Migration
def self.up
  tables= [ 'addresses',
           'assets',
           'etcetera']

  for table in tables
    begin
      table_info = select_one "SHOW TABLE STATUS LIKE '" + table + "'"
      if (table_info['Engine'] != 'InnoDB')    
        execute 'ALTER TABLE `' + table + '` ENGINE=InnoDB'
      else
        puts table + ' allready InnoDB, skipping for migration'
      end
    rescue
      puts 'Skipping table ' + table
      puts 'Table not found or InnoDB not supported.'
    end
   end
end

def self.down
 # Not needed
end

end

Posted in  | 2 comments

Holland on Rails

Posted by Bart ten Brinke Tue, 01 May 2007 19:38:00 GMT

We were asked to do a quicky on the Holland On Rails rails conf :)!

We'll be talking about what we are doing, and we'll have a nice surprise for the rails comunity. We'll be posting that on our website around the same date. What it going to be? Just make sure you've got enough money for a big flatschreen....

Haven't you got a clue what i'm talking about? Pay them a visit: http://www.hollandonrails.nl/

Posted in ,  | no comments

Hosting Ruby on Rails

Posted by Dirkjan Bussink Wed, 18 Apr 2007 15:13:00 GMT

After a period of downtime, we are back online and running at a new hoster. The blog is now running on the brand new Ruby on Rails platform created by Byte & Sparks. Byte is a hosting company in the Netherlands (where we are also located) and provides mass virtual hosting using all kinds of fancy stuff such as load-balancing and fail-over .

Who am I then... I'm the guy behind Sparks. I've built the hosting system for Byte, after already working for them for quite a while. I'm also in on the upcoming big thing, doing the technology behind the application.

Because Byte & Sparks want to prove they are good and want to improve their solution using the community, you can try running you're Ruby on Rails application for half a year for... nothing! The only thing you have to do, is provide feedback if you find problems or things to improve.

Posted in  | no comments

Textdrive, slow and unreliable

Posted by Bart ten Brinke Sat, 14 Apr 2007 19:30:00 GMT

Sorry for the link time of nothingness. We found out the hard way that Textdrive is not the best Rails host ever. Especially when you're in Europe.

We have however found a very good replacement. We teamed up with Byte for our application servers, and as a spin off byte now has a full-fledged ruby stack for their customers.

More important: Byte is now giving away free testing accounts on their new rails application server. This server is much more reliable, faster and scalable then Textdrive will ever be!

So, what are you waiting for? Pay them a visit

Posted in  | no comments

Busy busy busy

Posted by Bart ten Brinke Thu, 08 Mar 2007 19:42:27 GMT

Sorry for the fact that we haven't posted a lot. It's because we are quite busy with something. Can't tell you anything more that it is big.. and that it is ruby on rails. Keep an eye on the site for more info. What's comming up? The Act as Owned plugin is nearing it's 1.0RC release and will shortly be added to rubyforge. In the meantime: patience is a virtue!

Posted in  | no comments

Older posts: 1 ... 4 5 6 7