You are here: Blogsphere Longtail

Rails BlogSphere

BlogSphere

Keep up to date with your favourite Rails bloggers in context.

Read more about how it works


Gnip Launches

by Peter Williams | 2 days ago | Read more

Yesterday Gnip launched! We have a killer service offering. And apparently lots of other people agree. I am totally stoked to be part of the Gnip team. The Gnip blog does a good job describing why we exist and what we do. If you are looking for the quick elevator pitch it goes something like this: If [...]

Spock via mute.rigent.com: A short sequence of shots from last...

by Ara T Howard | 2 days ago | Read more



via mute.rigent.com: A short sequence of shots from last weekend’s Woofstock festival in Toronto. An event called Dock Dogs was set up where dogs run the length of a dock and jump into a 40ft pool of water. This Border Collie, Oban, changed his mind about jumping at the last minute but, to his obvious surprise, momentum would not be denied!

Rails Envy Podcast - Episode #036: 07/02/2008

by Gregg Pollack | 2 days ago | Read more

Episode 036. We're trying something new with the first ever Rails Envy public service announcement. Well, new if you don't count the PSA videos we just put out.

The Rails Envy podcast is sponsored this week by Engine Yard, fully managed hosting for your Rails applications. Learn more at EngineYard.com Sponsored by Engine Yard - Fully-managed Rails hosting

Subscribe via iTunes - iTunes only link.
Download the podcast ~16:00 mins MP3.
Subscribe to feed via RSS by copying the link to your RSS Reader

<script language="javascript" src="http://s3.polldaddy.com/p/746492.js" type="text/javascript"></script><noscript> What should we put on a Rails Envy T-Shirt
( polls)</noscript>

In this episode:


New York City Printmaking Studios Directory

by Dylan Fareed | 2 days ago | Read more

I am setting up a directory for printmaking studios in the city. The focus will be less on “jobbing” printers and more on spaces where workshops, open studio time, education and collaborative projects are happening.

If you run/work at/know of such an organization, hit me up.

Git submodules: corner cases on updating in old branches

by Jörg Battermann | 2 days ago | Read more

Git submodules: corner cases on updating in old branches:

scoop:

I just ran into this. This tip is gold.

Tag! I'm it!

by Paul Pagel | 2 days ago | Read more

David Chelimsky tagged me with this “chain-blog”. I’ve enjoyed reading other peoples’ stories. Here’s mine.

How old were you when you started programming.

Hard to say. I suppose I was legitimately writing code at 9 years old

How did you get started programming.

You might say I was born into programming. At a very young age, maybe 4 years old, my dad (Unclebob) would put me on his shoulders and take on a robot’s personality. He would remain motionless until I ordered a command. For example, if I said “walk” he would start walking. If I said “turn” he would turn. And in a very computer-like-fashion, he would follow my orders to the “T”. After a “walk” command, my dad would not stop walking until I issued a “stop” command. Poor programming on my behalf often led my dad, with me on his shoulders, straight into a wall. I used to laugh with delight as he’d bounce off and walk into the wall again and again until I corrected my programming error.

What was your first language?

At 9 years old my dad taught me Logo. I was drawing circles, squares, spirals, and in general making that turtle dizzy.

What was the first real program you wrote?

In high school I programmed casino games on my TI-81 during physics class. You could play Black Jack, Roulette, Bet on the Horses, play the One Armed Bandit. My friend Jim Maggio even did some pixel art for the slot machine. It was pretty sweet. All the physics students were required to have TI-81’s so my games ended up getting copied over and over. My first open source experience I suppose.

What languages have you used since you started programming?

In chronological order…

Logo, Basic, Fortran, Pascal, Forth, C, C++, Scheme, Java, Python, Ruby, JavaScript, C#, Objective-C, Smalltalk, Assembly.

Whoa! I’m impressing myself with that list. But who am I kidding? I doubt I could remember how to write HelloWorld in half those languages now.

What was your first professional programming gig?

An internship at Object Mentor. I wrote some Java Servlets to automate parts of their website.

If there is one thing you learned along the way that you would tell new developers, what would it be?

Software is not a spectator sport. ie. Just watching people code won’t make you a good coder. Code as much as possible if you want to master your craft. Code at work. Code at home. Code on vacation (WARNING Your spouse may throw your computer off the balcony). Code for fun. Code to kill time. Code while you’re sleeping (I mean in your dreams).

What’s the most fun you’ve ever had programming?

The project the David Chelimsky referred to was mighty fun. But I’d have to say the most fun I’ve had with my colleagues at 8th Light, Paul Pagel, Jim Suchy, Eric Smith, and Doug Bradbury. I have never worked with a stronger team. When it comes to software, I imagine we could prevail over any challenge. Outside of software, our strengths are less impressive….

  1. We started a basketball league and had a perfect record: 0-10. That’s right, we lost 10 out of 10 games.
  2. We went on a ski trip together an managed to loose some family members in the mountains, during a snowstorm, at night. They lived.
  3. Doing push ups every hour of every working day surely made us stronger and earned us an infamous reputation in the office.

Up Next

Paul Pagel, Jim Suchy, Eric Smith, Doug Bradbury, Matt Segvich, Unclebob, Bob Koss, Michael Feathers, Dean Wampler, Tim Ottinger, Chad Fowler, Jake Scruggs, Mike Clark

Tag! You’re it!

What if Adam Smith was right about poverty?

by Ben Moore | 2 days ago | Read more

What if Adam Smith was right about poverty?

My ego just got a welcome boost :)

by Eleanor McHugh | 2 days ago | Read more

It seems the Skyforce Observer Website has had a bit of an update, including the wonderful opening paragraph:



I wonder how customers would feel to now that yours truly wrote that system all by herself in the comfort of her bedroom between the summers of 1997 and 1998 ;)

links for 2008-07-02

by Brent Sordyl | 2 days ago | Read more

Twitter’s Potential for Business Users Forrester issued a report that estimated, on average, 78 percent of Twitter’s audience is male, 31 years old and draws an annual income of $78,000. (tags: twitter) Adobe: SWF searchability FAQ This solution works with all existing SWF content, across all versions of the SWF file format. (tags: seo flash) Auto-Scaling Web Sites Using Amazon EC2 [...]

About_image Would You Road Trip With A Job Candidate

by Jason Perkins | 2 days ago | Read more

In the past if I found myself on the fence about a job candidate, I’d ask myself, “If I saw this person on the street would I go out of my way to stop and talk to them or would I try to avoid them?” I’ve had decent success with that technique but came across a great blog post this morning and am revising that question to, “Would I be willing to go on an extended road trip with this person?” There isn’t a single one of the solid developers that I’ve interviewed and later worked with that I wouldn’t have been willing to road trip with immediately after interviewing them and a couple of duds that snuck in that I wouldn’t have been willing to road trip with.

I’m also going to make this the first question that I ask myself about a candidate rather than the last and not just for when I’m interviewing, but also for when I’m being interviewed.

Raise your standards. Life’s too short.

Jens Aussagekräftige Html-Titel

by Jens Jäger | 2 days ago | Read more

Aussagekräftige Html-Titel dienen der Suchmaschinenoptimierung und der Usability. Sie können für Ruby on Rails Anwendungen mit dem Plugin Headliner sehr einfach erstellt werden.

Olho biônico?!

by Giovani Elisio | 2 days ago | Read more

Um pouco de divertimento em plena quarta-feira! Olhe o vídeo e tente ver quantos filmes você consegue identificar em apenas 2 minutos. São 100 filmes! Pessoalmente não vi nem metade, fiquei tão perdido que parei de contar no 10º uiaehauseiheiu e SIM … vídeos são um dos meus passatempos preferidos =p [...]

The wrong tail

by Rafe Colburn | 2 days ago | Read more

Harvard marketing professor Anita Elberse has conducted a study which seems to reveal that customer purchasing behavior with regard to hits is the same online as it is offline. In her Harvard Business Review article, she reports: For Chris Anderson, the strategic implications of the digital environment seem clear. “The companies that will prosper,” [...]

Headshot Best photo

by Niket Patel | 2 days ago | Read more

At oregon zoo, I was able to shoot this, Oregon Zoo Visit

345971987_eae8c8a066_m Simple code versus simple people

by Levent Ali | 2 days ago | Read more

6 aizatto: A first! Being served water at decanters

by Ezwan Aizat bin Abdullah Faiz | 2 days ago | Read more

aizatto: A first! Being served water at decanters

1166_bigger Nested include has major memory leak (Rails 2.0.1).

by Andre Foeken | 2 days ago | Read more

As our mongrels were using up quite a lot of memory, so I tried to figure out what was causing this.

When running the app locally I found out that one certain page caused the mongrel to grow from 60 to 190 megabytes. A whopping 130 megabytes!

After commenting out some of the code, I found out that a single line was causing all this memory usage

contracts = Contract.find( :all, 
  :conditions => ['contracts.employee_id IN (?) ', employees ],
  :include => [:expertise_profile => :qualifications ] )

Auch! The nested include of rails somehow leaks a large amount of memory. The fix was off course a piece of cake.

contracts = Contract.find( :all, 
  :conditions => ['contracts.employee_id IN (?) ', employees ],
  :include => :expertise_profile )

No my mongrel stays a nice 60 megabytes. Don't know it this issue persists in the new Rails, but I'll check that soon!

Por2006-me-150 Incompréhension radio bouton :

by Richard Piacentini | 2 days ago | Read more

Bonjour,
J'aimerais faire deux chose en même temps :

J'ai un formulaire qui permet de télécharger un fichier :


'uploading'}, {:multipart => true}) do %>

J'aimerais en plus rajouter des radios boutons. Est-il possible de les rajouter dans le "form" ou dois-je créer un autre form_tag pour récupérer dans un premier temps la valeur des radios boutons avant de traiter mon fichier. A savoir que le traitement du fichier est lié avec la valeurs des boutons.
De plus est-ce que quelqu'un aurait un exemple d'utilisation de radio bouton parce que je n'arrive pas à récupérer leur valeur, l'affichage était pourtant facile, je n'ai pas trouvé sur le forum et sur le net un exemple ou l'on n'utilise que le bouton (sans base de données) :

Jerry135x135 Looking for Jerry memorabilia? Bid on my 16GB ipod touch: http://tinyurl.com/638e4v

by Jerry Richardson | 2 days ago | Read more

Looking for Jerry memorabilia? Bid on my 16GB ipod touch: http://tinyurl.com/638e4v

Dsc00110e1 Benchmarks entre os mais famosos framework PHP

by Cairo Noleto | 2 days ago | Read more

Olá, acabei de ler um post no site da AVNet Labs um benchmark entre os maiores framework PHP: CodeIgniter Zend Framework CakePHP Quem gosta do CakePHP vai ter uma surpresa (Nada agradável) é que nos testes, dos três frameworks, o CakePHP teve o pior desempenho, seguido pelo Zend Framework e o melhor desemprenho foi do CodeIgniter. No final ele ainda [...]

Head7 Beautiful thoughts

by Matt Mower | 2 days ago | Read more

Tom Taylor gave what sounds like it would have been a very interesting talk 'Delighting with Data' to the Oxford Geek night on Jun 25th last:

But sometimes we geeks forget about all the delightful and beautiful things we can build. The things that aren't necessarily useful or purposeful, but pointless, silly and wonderful. So, I'm talking about building beautiful things out of (sometimes) boring data sources. I'll be talking less about design and visualisation, and more about projects and 'things'.

I've never come across Tom before but he seems an interesting fellow and some of the applications that he's built, simple though they be, are inventive and interesting. It's a lesson to someone like me who is more prone to grand designs that never amount to anything real.

Coincidentally my copy of 'Practical Ruby Projects' by Topher Cyll just dropped through the door this morning. I'd come across Topher's name and the book was reccomended as a Ruby tinkerer's delight.

Over my life I've had a lot of periods where I have felt creative but the last few years I have struggled to capture that feeling.

I want it back.

Here's to beautiful thoughts and making them happen.

Headshot2 @mwilliams That explains why I…

by Damien McKenna | 2 days ago | Read more

@mwilliams That explains why I hadn’t heard it before. BTW it’s spelled “Radiohead”, rather than two separate words.

Attention All CEO's - SEO has changed

by Lyle Mullican | 2 days ago | Read more

In fact, Search Engine Optimization has changed beyond belief. Not so long ago, it was all about stuffing content with keywords, and then hoping those web crawlers straight out of The Matrix would be looking for them. Now, of course, it isn't so simple.

And what is infuriating for a lot of people who have a presence on the Internet in a legitimate sense - in other words, your real, honest business concerns who want to market themselves online in a real, honest way - is that the unscrupulous spammers and black hats out there have pushed SEO to new, highly complex levels.

If you are unfortunate enough to own or run a business whose online presence is slipping, chances are you won't even know how to stop the decline. You just don't have the knowledge. And if you don't know how to use good SEO to stand out from the crowd, you my as well not be online.

Some websites use good SEO, some use bad. For years now firms have been enjoying the feeling of having their pages at the top end of Google, apparently with minimum effort. It seems that they know exactly what to do. They know the secret.

The secret to Good SEO

So what is the secret to Good SEO? Easy, don't do it.

Remember that great idea you had at the kitchen table? That is your company. That is what you are in charge of. The vision. Remember that? Savor it once again. Your vision. The thing that gets you up in the morning.

Then, once you have remembered why you started the whole thing (and you're all fired up about helping people again) you'll be eager to think up some new keywords. Don't.

Take a step back, think about the goals and objectives for your website, and give your firm's marketing to the experts.

Give it up because an SEO expert has two things going in their favor, two reasons why you should hire them to make your site noticeable. Reason number one is easy. SEO experts are perfect because they can look at your firm from the outside; they have the commercial perspective, the detached view, whatever you want to call it. In other words, when it comes to your firm and its online marketing, while they weren't present at the birth, they can smooth it over, smarten it up, and get it a date for the prom.

Reason number two is even simpler. An SEO expert knows exactly what to do to make your firm's website shoot up high in the rankings, and then make it stay there. They know about image searches and logos, about linking (the Holy Grail of SEO, and an aspect that will have a whole post dedicated to it soon), about content management, and so on. All things that, while you may well know something about them, you can't honestly say they're your business. They're not what you do.

The Bottom Line

SEO experts need not be expensive. And the job they can do for you and your firm will bring results. There are a lot of cowboys out there, and we'll deal with that in a later post, but get your hands on a company who know online marketing inside out (as well as you know your firm), and you will see business growth. Guaranteed.

We will spend the next few posts exploring the bottom line, looking at aspects of SEO that companies need to be on top of. By the time we're done, you'll know how a good SEO expert can make those web crawlers straight out of The Matrix cling onto your sticky site for dear life.

GrayBit v1.0: Grayscale Conversion Contrast Accessibility Tool

by Logan Koester | 2 days ago | Read more

GrayBit v1.0: Grayscale Conversion Contrast Accessibility Tool

Karl The "Yes is No" Problem

by Rick Bradley | 2 days ago | Read more

The "Yes is No" Problem: (posted by wilkes)

Banjo tip

by Ry Dahl | 2 days ago | Read more

if you use NERDTree with vim, put
au VimEnter * :if argc() == 0|exe 'NERDTree'|endif
into your .vimrc. This will automatically open the NERDTree panel when you start vim without arguments.

My120_135 RE: primary key

by Ruslan Voloshin | 2 days ago | Read more

спасибо Товарисчи!

The victory of version control

by James Stewart | 2 days ago | Read more

It’s always fascinating to see how applying good practice in one area can lead to unforeseen benefits. The article on version control with subversion in the latest issue of A List Apart is a fine example of just that. Not only is the use of version control a good way to manage your own projects, [...]

Benedikt So I gave a talk ...

by Benedikt Deicke | 2 days ago | Read more

... and messed it up.

Last week I’ve been giving a talk (in german) about the project I did during my internship at the Human Computer Interaction Research Center at the university of applied sciences Fulda. This was the first talk I gave (not counting those I had to do in school and for university) and of course it ended up a little awkward. I didn’t intend to do a live demo at the end but somehow I changed my mind during the presentation. Of course nothing worked like expected … ;-) Lessons learned for next time. If you’d like to see the disaster yourself there is a video available.

Un nuevo algoritmo de google aprende a indexar sitios web en flash

by Alberto Fortes Sánchez | 2 days ago | Read more

Dice el blog de google que han desarrollado un nuevo algoritmo capaz de indexar contenidos textuales, tales como textos, menús, botones o banners. Vamos una de cal y otra de arena. Es una magnífica noticia que sitios web en flash puedan indexar, y contenidos antes invisibles empiezen a ser visibles. Todavía hay mucha web en flash y [...]

Yo Herramientas para gestionar MySQL

by Patricio Cañete | 2 days ago | Read more

Como si con phpMyAdmin no fuese suficiente, 7 herramientas para gestionar MySQL.


powered by www.nueveseis.com.ar

유인촌 예언 ㄷㄷㄷ

by Dongkyu Kim | 2 days ago | Read more

이승만, 자유당 => 이명박, 한나라당
씽크로율 장난 아님... ㅋㅋㅋ


Hackergotchi Una cita de Richard Stallman

by Juan Pablo Ortiz Arechiga | 2 days ago | Read more

Al preguntarle si ha pensado en tener hijos: La idea de unirse con otro en amor para crear una mezcla es muy romántica, pero las consecuencias son muchas molestias. Por ejemplo, las peleas arruinan el mismo amor, y hay que dedicar la vida al ganar dinero. El crecimiento de población es también muy malo para el mundo. La población actual parece [...]

My120_135 RE: RE: RE: Вывод каталога в несколько столбцов

by Ruslan Voloshin | 2 days ago | Read more

Если в рельсы я активно учу, то в CSS и AJAX я полный нуб и как написать то вы предлагаете НЭПОНИМАЮ, неплохо бы код или ссылочку на реализацию, ну или хотыбя где посмотреть инфу о том где реализовано похожее Мдя обидно чуствовать себя нубом, помню кодил на флеше, дефлях, никого не спрашивал - форум, книги и фсе проблемы решены, а здесь не тока руби знать надо, а еще много чего сразу все не одолеш

Some wannabe Serbian firm had the nerve to steal my code and present it to a prospective client as a...

by Logan Koester | 2 days ago | Read more

Some wannabe Serbian firm had the nerve to steal my code and present it to a prospective client as a competing offer! Avoid BitsFactory.com

My120_135 RE: primary key

by Ruslan Voloshin | 2 days ago | Read more

В принципе можно указать

class Operator < ActiveRecord::Base
  set_primary_key :operator <--- :sims end has_many>
только такая фича предусмотрена для интеграции унаследованными базами, где не соблюдены стандарты. ИМХО использовать текстовые ключи это моветон :-) или совсем быть новичком в работе с РСУБД

My120_135 как сделать опрос на сайте

by Ruslan Voloshin | 2 days ago | Read more

Вот допустим есть сайт на котором я хочу сделать простое голосование (флажки поставил точку, нажал отправить и всё)плюс к этому должен выводится средний балл. Помогите, скажите, что куда писать.

Subverting Rails Reserved Words

by Bryan Liles | 2 days ago | Read more

I’ve been thinking about Rails reserved words lately, and I’ve come up with a solution that works in theory. Before I share my solution, let me help you understand where my frustration comes from.

ActiveRecord makes database access pretty darn simple. With two lines of code, you can be connected to a database and slurping data. A while back, I was making a template system, and unsurprisingly, I had a ActiveRecord class named Template, and a controller named TemplatesController.

As soon as I did this, I started running into errors:

What is happening here is that Rails is requiring an instance variable named @template, and I’ve stomped all over it by creating my own.

Here is another example of an error that had me boggled for way longer than it should have:

This happens be it looks like Rails is depending on another instance variable.

My solution for instance variables simple. In Views, Rails will set an instance variable with a not so common name. I’m leaning towards __variable_name__ or even __rails_instance_hash[:key]__. This way, there isn’t any confusion when it comes to instance variable names.

Another space where there are conflicts are in ActiveRecord models. You can’t have a text field called errors.

Rails assumes the errors method of your ActiveRecord object to be an instance of ActiveRecord::Errors.

In my opinion, this doesn’t make the most since. I believe we could apply the double underscores here as well. Instead of #errors, it would be #__errors__. You should be able to have any attribute name as long as it is legal for the underlying database. Rails should not be polluting your model namespace.

One problem with these changes is Rails has been like this for a few years now. Old code would break, so these types of changes would have to be introduced in a major release. The benefit of these changes could be huge. Lessening the chance that your code will tramp over Rails internals could be a great thing.

Learn from the master

by Tom Klaasen | 2 days ago | Read more

Die ochtend, tijdens de koffie

  • Hehe, heb je het gezien, Twitter lag weer plat gisterenavond!
  • Ja, ‘t is erg he, iedereen spreekt erover.
  • Ja, haha. Ha. Zeg, over ons spreekt eigenlijk niemand, he?
  • Nee, eigenlijk niet. Dat is niet zo goed, zeker?
  • Nee. Misschien moeten we onze strategie eens aanpassen?

En zo geschiedde…

My120_135 RE: RE: primary key

by Ruslan Voloshin | 2 days ago | Read more

да нет просто я сторонник стандартных вещей в этом плане

My120_135 RE: RE: Вывод каталога в несколько столбцов

by Ruslan Voloshin | 2 days ago | Read more

дав принцпе ты можешь сделать кнопочку которая будет дергать RJS в котором будет вызяваться возможно яваскрипт который обойдет все дивы определенного класа и поменяет им ширину в процентах.

My120_135 RE: primary key

by Ruslan Voloshin | 2 days ago | Read more

Вопрос - а что в RoR можно использовать в качестве PK и FK тока id и чтототам_id?

2383157110_27d645aa0e_o_d Porque es malo para la sociedad que España haya ganado en el fútbol

by Fernando Guillén | 2 days ago | Read more

Se está alimentando un monstruo hipnotizador . El pueblo está contento, hinchado de orgullo, satisfecho y feliz. Y qué puede desear más una sociedad que un pueblo feliz. Encontrada un fórmula que funciona para que seguir buscando. Entonces, sigamos alimentándolo: vendamos más banderas, más camisetas, subvencionemos los equipos, abrasemos los medios, ocupemos las calles, regalemos balones a [...]

My120_135 RE: primary key

by Ruslan Voloshin | 2 days ago | Read more

сделай по человечески в таблице Sim sims добавь колонку oprtator_id удали , :foreign_key => 'operator' и для читаемости переименуй колонку operator в таблице operators на name и будешь обрашаться sim.operator.name

IMG_0196.jpg

by Henry Wagner | 2 days ago | Read more

hjw3001 posted a photo:

IMG_0196.jpg

de Young Museum - Golden Gate Park - San Francisco, CA

IMG_0193.jpg

by Henry Wagner | 2 days ago | Read more

hjw3001 posted a photo:

IMG_0193.jpg

de Young Museum - Golden Gate Park - San Francisco, CA

IMG_0190.jpg

by Henry Wagner | 2 days ago | Read more

hjw3001 posted a photo:

IMG_0190.jpg

de Young Museum - Golden Gate Park - San Francisco, CA



Tell us what you think of the new BlogSphere feature. We are continually looking to improve and update the functionality based on your feedback.

Job Board

Job Boards
Find your next Ruby on Rails project or job.
Exclusive content, regularly updated - onsite and tele-working positions listed.

View the opportunities

Latest from the Weblog

Recent Recommendation

Kit Plummer:

Student of forpc101

- Sbubble S.T, India