Articles

Lots of new Rails 3 resources

I just wanted to point out to you that I’ve been updating the Rails 3 page daily. There are some great new links & resources added over the past week… including a link to an interview in which Yehuda Katz mentions a new Queuing system that will be baked into Rails 3. I’m getting excited!

New: Load Balancing service

Today, I’m pleased to announce the launch of our new Load Balancing service - which enables customers to distribute requests across multiple Brightbox virtual machines with ease.

It’s always been possible to create virtual load balancers from standard Brightboxes, but our new service now provides a simpler, more reliable and cost effective solution.

I18n translate interface plugin...

I came across a really cool plugin that has a web interface for translating I18n texts.

Download the translate plugin from github written by Peter Marklund.

In the routes.rb file add the following:

now visit /translate and you will have an interface for translating text.

Rails Envy Podcast - Episode #079: 05/21/2009

Episode 79. We mess up a lot but it's funny.

Rails Envy Podcast – Episode #079: 05/21/2009

Episode 79. We mess up a lot but it’s funny.

5 Tips to Scale Your Ruby on Rails Application

There are lots of resources on the web that explain how to scale web applications and how to scale Rails. Here’s a quick summary of just five of the basic strategies for a scalable Ruby on Rails web application. Some of them are specific to Ruby on Rails; others generalize to any shared-nothing application server architecture.

Watir – File upload code

Code

@banner_image=”C:\\raveendran.jpg”
$ie.file_field(:name, “banner”).set(@banner_image)

Watir – Handling FCK Editor

Code:

#Focus the Body
$ie.frame(:index, 1).frame(:name, “eEditorArea”).document.body.focus;
#Select all existing contents and delete it
$ie.send_keys(”{CTRLDOWN} a {CTRLUP}{DEL}”)
#Type the new content
$ie.send_keys(”Raveendran is a member of jazzez.”)
#click update button
$ie.button(:name, ‘update’).click

Nifty at 4300 how much more? Is it an end to the bear market?

Hey all
After a long time I am posting something about stock markets. The reason is everyone was bearish and no one was ready to listen to ne thing negative so I stopped posting. And thats 100% true. Now I am seeing people coming back (especially my friends who were trading aggressively in the last bull [...]

Questions Five Ways - Code Reading

When I came up with the idea of Questions Five Ways, I hoped to create some discussions of lasting value to programmers, posts that would stimulate some meaty discussion. I think this post has fulfilled my vision about as well as anything I could expect.I owe a big 'thank you' to the participants in this discussion: Steve Yegge, James Gray (@JEG2), Rick DeNatale (@RickDeNatale), Diomidis

GitHub Rebase #27 | Rails Fire

GitHub Rebase #27

Send to friend

Rebaaaaaaaase. I’m always looking for great projects to feature, so don’t hesitate to let me know about yours!

Featured Project

redis is a key-value store that just hit 1.0.0. So what? Well, it’s ridiculously fast, can handle sets and lists along with strings as values, it can asynchronously dump its data, supports sharding on the client side, and plenty more that wouldn’t fit here. It’s easier to think of it as a data structures server instead, or as an aptly named ‘REmote DIctionary Server’. The code is all here on GitHub if you’re a C hacker, and its API is well documented. Bindings are already available in Ruby, Python, PHP, and more so you can play around with it today.

Notably New Projects

clevercss is a much less verbose version of CSS that’s Python backed. This means, of course, it obeys the normal Python indentation rules, which ends up being a good thing. It does allow some magic like pseudo-class shortcuts, grouping shortcuts, constants, and even some basic Color and String methods if you’re feeling daring. If you’re a Pythonista and want write CSS easier, definitely give this a look.

TeXorator is a LaTeX viewer that auto-refreshes the document it’s looking at when changes are made. All you need is OSX and LaTeX installed, and you should be set. It also shows errors that may occur during the document’s generation. This definitely seems like a fun and useful project to hack on, and seeing the idea ported to other operating systems would be neat as well.

spde-examples combines two fantastic projects of the Java world: Scala and Processing. Well technically, Spde does the hard stuff, but this repo contains some seriously cool examples of how it can look. You could check out an example applet here, but you’ll be better served by cloning and running it yourself.

philip-rss is the first RSS reader that I can personally stand to use, mostly because it’s integrated deeply into Firefox. The workflow is simple: click Firefox’s built in RSS reader button to subscribe, and then a new RSS icon button in your lower right hand corner gives you a nifty view of your feeds. The UI is minimalist in a good way: it’s simple and doesn’t get in your way. Check out a more visual tutorial and how to install it here.

Images: