Articles

Ghosting NTFS/Windows using Knoxppix

I have a USB 1 Gig stick that is on my key ring.
Its really handy, as I have a complete copy of Knoxppix.
Knoxpix is a Linux Distribution designed to boot and run
from CDROM or DVD. It can also run from a handy USB stick.
With the right options it can also in "RAM", which is handly if you want to
run a few parallel operations, and only need one usb stick.

While you can use clonezilla, if you want something more packaged,
but in a shop that is windows centric, ghosting to a windows server
may make more sense.

Trust Through Transparency

Consumer confidence is shaken, and rightly so. Transparency is the key to rebuilding that trust.

Double Shot #472

After a rough start with rubyforge, github, and lighthouse all being down, yesterday saw the release of a batch of software:

On the premature death of Array.to_a

hmm... after finally discovering that Array.to_a doesn't double-array now I'm getting warnings that Array.to_a is being obsoleted (with the unhelpful message: warning: default `to_a' will be obsolete).

Wget on Mac?

Not sure why this isn’t part of MacOS by default, but you can install wget by following the instructions here.

Moving on again

Well the Talkies.de project is wrapping up and I’ll be moving on to other work now. Also my team will be going their own ways. Its easier for me to find projects for one developer (me) than for several. Perhaps Codevader will grow again in the future.

To continue following Maurício’s hugely informative posts, do so at http://codeshooter.wordpress.com/. I’ll continue blogging here, but typically my posts will be short and sweet

Rails Edge Architecture

I’ve talked a bunch about the Rails 3 architecture in various talks, and it’s finally come together enough to do a full blog post on it. With that said, there’s a few things to keep in mind.

Integrate twitter oAuth in your rails application

Now Twitter is using oAuth service to intergrate with your web application. There are the few steps that you need to follow to use it.

First of all you need to get your consumer key and consumer secret. You will get these details by register your application on twitter.

After getting consumer key and consumer secret, you need to install oauth gem.

Ruby on Rails'in Temel Prensipleri

Ruby on Rails'in Temel Prensipleri

Kurulu Yapılar

Rails'te bir web uygulamasının her yönüne göre çok akıllıca hazırlanmış yapılar vardır. Bu yapıları kullanarak diğer web uygulama iskeletlerinden daha az kodlama yaparak bir uygulama hazırlayabilirsiniz. Bu yapıları değiştirmek isterseniz Rails'de bunu yapması da çok kolaydır.

testing:cucumber

Cucumber is designed to allow you to execute feature documentation written in plain text (often known as “stories”).

* Cucumber home:
* Cucumber GitHub project home:

On Rails Testing | Rails Fire

On Rails Testing

One of the things that has both pleasantly surprised and frustrated me over the past six months is the state of Rails’ internal tests. While the tests can sometimes cover the most obscure, important bugs, they can sometimes be heavily mock-based or very coupled to internal implementation.

In large part, this is because of the requirement that patches come with tests, so the test suite has accumulated a lot of knowledge over time, but isn’t always the clearest when it comes time for a major refactor. Just to be clear, without the test suite, I don’t think the work we’ve been doing would have been possible, so I’m not complaining much.

However, I recently became aware that Sam Ruby, one of the authors of Agile Web Development on Rails, has released a test suite that tests each step in the depot application, as well as each of the advanced chapters.

Last week, Carl and I started digging into the Rails initializer, and the tests in the initializer (railties) are more mock-based and less reliable than the tests in ActionPack (which we’ve been working with so far). They’re pretty reasonable unit tests for individual components, but getting all of the tests to pass did not result in an (even close) bootable Rails app. Thanks to Sam’s tests, we were able to work through getting a booting Rails app by the end of last week.

Over the past week or two, Carl and I have been running the tests a few times a day, and while they definitely take a while to get through, they’ve added a new sense of confidence to the work we’re doing.