Approximity blog home
792 to 801 of 901 articles

RubyX - a ruby based Linux distro   25 Sep 04
[print link all ]
(Source: ruby-talk, Andrew Walrond, Oct 24, 2003) Rubyx is a ruby based linux distro. It is also the name of the script which creates Rubyx the distro and handles the package management In light of the recent rubyx/lunar threads, I thought it sensible to make the rubyx source available for scrutiny by the ruby community. You can get it using Bitkeeper like this:
bk clone bk://
cd rubyx
bk co
You'll see three files:
rubyx - The man script
init - The ruby based init script
strfile.rb - Some code shared by rubyx and init
Important! The build machine must be capable of running the generated code, How it all works will require further discussion, but if you want to get involved, it would be a good idea to ask rubyx to download the sources. To get everything, you'll need 4Gb and broadband ;) For just the basics, it's a fraction of that but I don't have the figure to hand. Do this as root...
mkdir /my/rubyx/dir  (or something like)
./rubyx --root /my/rubyx/dir --download base net disk (for the basics)
./rubyx --root /my/rubyx/dir --download all (for everything)
If you don't have broadband, you might want to use --dj 1 to reduce the number of parallel downloads. I wrote this in part to learn ruby, so any comments/suggestions on the code or style are welcomed. Although I am writing this in Kmail on my laptop running Rubyx, rubyx is still very much work in progress, so don't expect too much. Lots more to discuss, but this will do for starters :)

Test Version of FreeRIDE with RRB Refactoring Support   25 Sep 04
[print link all ]
(Source: Curt Hibbs) I just put up a test version of FreeRIDE that includes RRB Refactoring support and I would like to ask your help in testing it. For windows user’s there is a complete pre-built binary (it can coexist with your current FreeRIDE installation), and for non-windows users there are instructions for adding RRB refactoring support to your existing FreeRIDE installation. Full details at: []

Sony details PlayStation Portable's chips   25 Sep 04
[print link all ]
(Source: The Register)

The PSP chipset comprises a number of components: the CPU, a media processor, a 3D graphics engine, a security processor and a power manager. The PSP’s MIPS R4000-based CPU will run at up to 333MHz, Sony chip designer Masanobu Okabe revealed at the Hot Chips conference in Stanford University, California. Its frontside bus runs at up to 166MHz, with both frequencies controlled by processor load. It contains a vector processing engine. link

Ruby-talk at BMW   25 Sep 04
[print link all ]
Enjoy the slides of our Ruby-talk presented to BMW.

German English

Test First, by Intention   25 Sep 04
[print link all ]
(Source: rubycentral) A code and culture translation from the original Smalltalk to Ruby.

Original by Ronald Jeffries, translation by Aleksi Niemela and Dave Thomas.

RubyConf 2003 Presentations Posted   25 Sep 04
[print link all ]
(Source: Ryan Davis) In absolute record time (5 days compared to 3 months), rubyconf 2003 presentation materials have been posted.

I’m still waiting for some more, so check back periodically to see updates.

ANN: Lafcadio 0.4.0   25 Sep 04
[print link all ]
Lafcadio is an object-relational mapping layer for Ruby and MySQL. It lets you treat database rows like first-class Ruby objects, minimizing the amount of time you have to spend thinking about MySQL vagaries so you can spend more time thinking about your program’s logic.

Its features include:

  • A test-centric design that allows you extensively unit test any program that runs on top of Lafcadio. It comes with a MockObjectStore, which mimics the database and allows you to test database interactions without all the annoying setup code of a real database-driven test.
  • A block-driven querying language that will cover 99% of the ad-hoc queries you have to do. These queries look like: child_users = object_store.getUsers { |user| 18 ) }

These queries can be run against the MockObjectStore, meaning they can be unit-tested.

  • In-Ruby triggers that can be written per domain class. These triggers can be tested, too!
  • Lafcadio makes very few assumptions of how your database was setup, and comes complete with a lot of hooks to allow you to fit your pre-existing database. Because programming’s a messy job, and we’re always cleaning up after somebody’s mistakes (even if they were our own).

Lafcadio is production-ready and runs a number of websites, including, which more than 3 million hits a month.


Using the right hammer ..   25 Sep 04
[print link all ]
(Source: Robert Martin (UncleBob) in the pragprog-list) As a contractor you must do the best job you can for your client. This includes picking the best language for the situation. I agree that there are situations in which Ruby might be the best technical solution, but the worst political solution. In that case, you cannot use Ruby — you must use a technically inferior, but politically preferable language. There are other situations — more and more of them — in which Ruby is politically acceptable, and technically superior.

YAPV: yet another pickaxe version   25 Sep 04
[print link all ] is ‘done’. Enjoy!

RubyGems, the apt-get for ruby   25 Sep 04
[print link all ]

Why do I love Debian? Coz of the package management system. Now Ruby has the same nice feature, called RubyGems


ruby install.rb
See what is available:
gem --remote --list
Search for the string Doom in descriptions:
gem --remote --search Doom
Install progressbar:
gem --remote --install progressbar

Now relax, have a good milkshake in the sun. A big big thanks to the developers: Rich Kilmer, Chad Fowler, David Black, Paul Brannan, Jim Weirch, Curt Hibbs, Gavin Sinclair, etc.


powered by RubLog
792 to 801 of 901 articles Syndicate: full/short