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


iPhone App Review - Urbanspoon

by Jonathan Mulcahy | 1 day ago | Read more

Urban Spoon is the first fun restaurant locater I have used. It's a great implementation of common idea.

Karl google-caja - Google Code

by Rick Bradley | 1 day ago | Read more

google-caja - Google Code: (posted by drewr)

Bluemtns Death by powerpoint

by Taryn East | 1 day ago | Read more

Check out this amazing powerpoint presentation* on making amazing powerpoint presentations! * no, you don't often get to say that.

Ajay_maurya mephisto sitemap plugin was commented on.

by Ajay Maurya | 1 day ago | Read more

Hi Tom The svn link has been restored now you please check

DropCard Aims To Make Business Cards Obsolete [del.icio.us]

by Brent Sordyl | 1 day ago | Read more

You send a new contact's email address via SMS to DropCard. DropCard then immediately sends the person your contact information including social network profiles, name, email, etc

How GoDaddy stole a domain from .me « Brent Sordyl’s Blog [del.icio.us]

by Brent Sordyl | 1 day ago | Read more

If GoDaddy is diligently deciding which honest customer should get txt.me amongst many orders, then why is it up for auction?

More Horrible Recruiters

by Matthew Katz | 1 day ago | Read more

This morning, my inbox melted into a thin runny gruel due to the amazing incompetence of Prodigus Tech. Also, to feed google a bit, Max Archie is a wankstain.

Jason_150 Developing Typefaces for the Xbox 360 and Other Devices

by Jason Long | 1 day ago | Read more



Developing Typefaces for the Xbox 360 and Other Devices

56229078_4b09373af3_m_d Pradipta's Rolodex

by François Beausoleil | 1 day ago | Read more

Pradipta's Rolodex Logo

Late last night, I had the honor of being mailed a Ruby on Rails offer. See 416 Random People with RoR on their resume + Reply All = Reverse Flash Mob for the full details.

Pretty amusing, really.

Laughs from the Internets

by Craig P Jolicoeur | 1 day ago | Read more

You have to love how a small thing can turn very big and funny on the internet.

Pradipta’s Rolodex: Laughs from the Internets

by Craig P Jolicoeur | 1 day ago | Read more

You have to love how a small thing can turn very big and funny on the internet.

Karl "Trey's 'Time Turns Elastic' With Orchestra Nashville"

by Rick Bradley | 1 day ago | Read more

"Trey's 'Time Turns Elastic' With Orchestra Nashville": (posted by wilkes)

Jason_150 We're all psycho!

by Jason Long | 1 day ago | Read more

Rands has an interesting post on superstitions and strange, unexplainable behaviors that people do. At the end of the post is a list of things other people contributed and I’m somewhat disturbed by how many I totally agree with (but definitely not the putting pants on both legs at the same time one!).

Jason_150 "Of course it’s real, it’s on YouTube."

by Jason Long | 1 day ago | Read more

“Of course it’s real, it’s on YouTube.”

- My seven year old son to his five year old sister.

array x array?

by Jan De Poorter | 1 day ago | Read more

Tom(warning: non-english blog) had a small friday-afternoon problem for me, which they couldn’t easily figure out. The problem:

x = [1, 2, 3]
y = ['a', 'b', 'c']

???
# result should == [[1,'a'],[2,'b'],[3,'c']]

My first guess was a simple * but apparently Array#* only takes strings and numbers:

x * 3      # => [1, 2, 3, 1, 2, 3, 1, 2, 3]
x * '-'   # => "1-2-3"
x * y     # => TypeError: can't convert Array into Integer

So I went through the Array API and found out there was something like transpose. Basically this is what you want:

x = [1, 2, 3]
y = ['a', 'b', 'c']

result = [x,y].transpose
# => [[1, "a"], [2, "b"], [3, "c"]]

埔頂路淹水

by Zhenbang Wei | 1 day ago | Read more

小水溝被堵住,變身大水池。

埔頂路淹水

Upgraded to WordPress 2.6

by James Chan | 1 day ago | Read more

Upgrading with svn was so smooth and fast. Cool.

My120_135 RE: Инициализация масивов

by Ruslan Voloshin | 1 day ago | Read more

Только не забываем что capitalize, downcase и upcase НЕ РАБОТАЮТ с кириллицей!
capitalize, downcase, upcase, кириллица

Startups and the role of capital and investments

by David N. Welton | 1 day ago | Read more

One of the most exciting things about the computer industry these days is the ease with which can get started. Decent computers can be had for well south of $1000, hosting is cheap, services like Amazon EC2 make it ever easier to scale rapidly should the need arise, and the only other things you need are an internet connection and a place to sit. This is leading to more people, like 37 Signals to question the need for investment entirely and others, like YCombinator to successfully make very small investments (thousands of dollars, rather than millions).

Sometimes, however, I wonder - is it just a passing moment in time, a window of opportunity, or is it a long term trend? Historically, to set up something like a factory required a great deal of money, putting it beyond the reach of anyone unable to obtain financing. Even in this day and age, there are plenty of endeavors that require large amounts of capital, and a lot of time, prior to seeing returns: that's how things work in my wife's field, biotech. Some fields have even become more expensive with time. High end computer games are very expensive propositions in this day and age, compared to the low budget stuff typical of, say, the Commodore 64 era, although it's also true that the market has also grown a lot, and that there is still space for smaller-budget operations.

How does all this look historically? Have there been industries in the past where it was so easy to get started? Anything that was able to scale? By which I mean: it might have been relatively easy to start some kind of small business, but it would most likely always stay small, whereas things like Craigslist or 37Signals have the means to grow a great deal without adding lots of people. Will things change in the future so that one or a few programmers can't compete with a big team? Or perhaps things will go in the other direction and more industries will become like computing is today and it will be possible to a biotech startup in your home office?

Headshot2 Heading to work for another lo…

by Damien McKenna | 1 day ago | Read more

Heading to work for another long day. Jason, bring your laptop so we can get everything running.

Headshot2 The Watchmen looks like it’ll …

by Damien McKenna | 1 day ago | Read more

The Watchmen looks like it’ll be a really awesome movie: http://www.apple.com/trailers/wb/watchmen/

Girard_id_bw [OpenMoko] GPS software and hardware solution

by Alexandre Girard | 1 day ago | Read more

The great thing about an open-source phone, like openmoko, is that when there’s a problem, all the community can gather to find a solution. At the beginning of the week, some people complained that they couldn’t get their phone GPS working: Time To First Fix signal (the initial signal that tell the phone where in [...]

Rails Background Processing: Setting up bj properly

by Jörg Battermann | 1 day ago | Read more

Rails Background Processing: Setting up bj properly

keep an eye into your plesk's qmail logs

by Claudio Poli | 1 day ago | Read more

Create a file check_maillog in /usr/local/sbin or where do you prefer, make it executable and wrote in it:

tail -f /usr/local/psa/var/log/maillog /var/spool/qscan/qmail-queue.log /var/spool/qscan/quarantine.log /var/log/clamav/clamd.log /var/log/clamav/freshclam.log

Head7 Dr. Horrible

by Matt Mower | 1 day ago | Read more

Usually I hate musicals but, in Dr. Horrible's sing-along-blog, Joss Whedon manages once again to make something I love (with props to Alan for the link).

Luis New Web Toy: Infinitube.net

by Luis Buenaventura | 1 day ago | Read more

A couple of days ago, a friend and I were lamenting my lack of a proper television in my house. (Seeing as I have 3 laptops and a pretty large LCD monitor, it seemed like a  redundant appliance you know?) The more I thought about it though, the more I came to realize that having [...]

Brando2 Edge Rails: Introduzindo Memoizable para cache de atributos

by Carlos Brando | 1 day ago | Read more

Performance é coisa séria, e um dos métodos mais usados para aumentar a velocidade de execução em códigos é o uso de cache. Quem nunca fez algo assim? class Person < ActiveRecord::Base def age @age ||= um_calculo_muito_complexo end end Na próxima versão do Rails teremos uma forma mais elegante de fazer isto usando [...]

woot. git server is now operational :)

by Mando Escamilla | 1 day ago | Read more

woot. git server is now operational :)

Por2006-me-150 Script commandes rake

by Richard Piacentini | 1 day ago | Read more

Bonjour,

Je souhaiterais automatiser l'exécution de plusieurs taches rake.

Par exemple je voudrais taper la commande
rake monscript

qui ferait :
rake db:fixtures:drop
rake db:fixtures:create
rake db:migrate
rake db:fixtures:load FIXTURES=users

sans avoir a taper toutes les commandes d'affiler

J'ai pensé à faire un fichier bat et un sh pour windows et linux
mais il faut maintenir 2 fichiers et rails intègre surement une méthode plus élégante !

Manu

Remove every file that a .pkg provides

by Claudio Poli | 1 day ago | Read more

lsbom  -f -l -s /Library/Receipts/package_here.pkg/Contents/Archive.bom  | (cd /; sudo xargs rm)

96x96_huikau_icon_head Interesting… that is all

by Mike McKinney | 1 day ago | Read more

Just read this post… Just saying… it’s interesting.  Seems to be a lot of the benchmarking bug going around these days.

Las nubes de tags, ¿son listas o no?

by Alberto Fortes Sánchez | 1 day ago | Read more

Las nubes de tags se pueden hacer en listas, listas ordenadas, párrafos, span o sencillamente con “aes” flotantes. Yo ya las he hecho de todas las formas y colores posibles, pero muchas veces me encuentro con que el cliente o desarrollador me dan su opinión pensando en que la suya es la manera correcta. Me ha pasado [...]

Socioeconomia 2.0

by Joaquín Salvachúa | 1 day ago | Read more

El evento de socioeconomia 2.0 fue un gran exito.

Aquí teneis mi presentación :






y el vídeo (cortesia de Agora News):

http://noticiasdelagora.wordpress.com/2008/07/14/joaquin-salvachua-lo-que-mola-de-la-web-20-es-que-te-vean/


Duración: 40′



Elige tu formato: IPHONE FLASH AUDIO WMV






My120_135 Валидируем по очереди поле

by Ruslan Voloshin | 1 day ago | Read more

ВОзможно этот кусочек комуто прийдется в пору. Пишу потому что тетсеры меня запарили только закрыл один тикет срау написали другой, так что пришлось подумать и сделать такую валидацию. class Subscription < ActiveRecord::Base validates_presence_of :subscription validates_format_of :subscription, :with => /^[A-F0-9]{8}$/, :message => 'incorrect format.', :if => Proc.new { |record| !record.subscription.nil? } #.... end Как она работает? Есть поле в таблице subscription оно не омжет быть ни пустым ни иметь не правильный формат. РАньше выводилось в процесе валиадции сразц два сообщения об ошибке, но как говорится тестеры очень умный народ. Они захотели чтобы при пустом поле было одно сообщение а при не правильно заполненном другое, по этому пришлось добавить дополнительное условие в валидацию по формату. Тоесть при заполенном поле уже проверять формат записи. Таким образом у нас валидвация происходит как бы по очереди.
validates_format_of, validates_presence_of

What's New In Rails Edge: i18n

by Luca Guidi | 1 day ago | Read more

Ruby on Rails has just integrated a basic support for i18n.

ActiveSupport

ActiveSupport now includes the i18n gem which provides the API and the settings for the default locale: en-US.
The gem abstracts the repository where the translations are stored, so all the plugin authors could write their own mechanism. The bundled repository is called Simple and stores all the settings in memory.

Declaring a locale is quite easy:

I18n.backend.store_translations :'it-IT', {
  :support => {
    :array => {
      :sentence_connector => 'e'
    }
  },
  :date => {
    :formats => {
      :default => "%d/%m/%Y",
      :short => "%d %b",
      :long => "%d %B %Y",
    },
    :day_names => %w(Luned&igrave; Marted&igrave; Mercoled&igrave; Gioved&igrave; Venerd&igrave; Sabato Domenica),
    :abbr_day_names => %w(Lun Mar Mer Gio Ven Sab Dom),
    :month_names => %w(Gennaio Febbraio Marzo Aprile Maggio Giugno Luglio Agosto Settembre Ottobre Novembre Dicembre).unshift(nil),
    :abbr_month_names => %w(Gen Feb Mar Apr Mag Giu Lug Ago Set Ott Nov Dic).unshift(nil),
    :order => [:day, :month, :year]
  },
  :time => {
    :formats => {
      :default => "%a, %d %b %Y %H:%M:%S %z",
      :short => "%d %b %H:%M",
      :long => "%B %d, %Y %H:%M",
    },
    :am => 'am',
    :pm => 'pm'
  }
}

How can I translate or localize?

I18n.locale = 'it-IT'
I18n.t :hello   # => Ciao
I18n.l Time.now # => "Ven, 18 Lug 2008 10:58:14 +0200"

I18n#t is also useful to fetch locale defaults:
I18n.t :'time.formats.short' # => %d %b %H:%M

ActiveRecord

ActiveRecord now returns localized error messages for validations.

You may wish to declare your messages:

I18n.backend.store_translations :'it-IT', {
  :active_record => {
    :error_messages => {
      :inclusion => "non &egrave; incluso nella lista"
      # ...
    }
  }
}

ActionPack

ActionView now supports translations and localization for time and currency helpers (i.e. distance_of_time_in_words, number_to_currency).

What's New In Rails Edge: i18n

by Luca Guidi | 1 day ago | Read more

Ruby on Rails has just integrated a basic support for i18n.

ActiveSupport

ActiveSupport now includes the i18n gem which provides the API and the settings for the default locale: en-US.
The gem abstracts the repository where the translations are stored, so all the plugin authors could write their own mechanism. The bundled repository is called Simple and stores all the settings in memory.

Declaring a locale is quite easy:

I18n.backend.store_translations :'it-IT', {
  :support => {
    :array => {
      :sentence_connector => 'e'
    }
  },
  :date => {
    :formats => {
      :default => "%d/%m/%Y",
      :short => "%d %b",
      :long => "%d %B %Y",
    },
    :day_names => %w(Luned&igrave; Marted&igrave; Mercoled&igrave; Gioved&igrave; Venerd&igrave; Sabato Domenica),
    :abbr_day_names => %w(Lun Mar Mer Gio Ven Sab Dom),
    :month_names => %w(Gennaio Febbraio Marzo Aprile Maggio Giugno Luglio Agosto Settembre Ottobre Novembre Dicembre).unshift(nil),
    :abbr_month_names => %w(Gen Feb Mar Apr Mag Giu Lug Ago Set Ott Nov Dic).unshift(nil),
    :order => [:day, :month, :year]
  },
  :time => {
    :formats => {
      :default => "%a, %d %b %Y %H:%M:%S %z",
      :short => "%d %b %H:%M",
      :long => "%B %d, %Y %H:%M",
    },
    :am => 'am',
    :pm => 'pm'
  }
}

How can I translate or localize?

I18n.locale = 'it-IT'
I18n.t :hello   # => Ciao
I18n.l Time.now # => "Ven, 18 Lug 2008 10:58:14 +0200"

I18n#t is also useful to fetch locale defaults:
I18n.t :'time.formats.short' # => %d %b %H:%M

ActiveRecord

ActiveRecord now returns localized error messages for validations.

You may wish to declare your messages:

I18n.backend.store_translations :'it-IT', {
  :active_record => {
    :error_messages => {
      :inclusion => "non &egrave; incluso nella lista"
      # ...
    }
  }
}

ActionPack

ActionView now supports translations and localization for time and currency helpers (i.e. distance_of_time_in_words, number_to_currency).

Scrum Talk by Ken Schwaber

by Ingo Weiss | 1 day ago | Read more

Scrum Talk by Ken Schwaber

links for 2008-07-18

by Matthew Katz | 1 day ago | Read more

Bug Shooting (tags: free freeware screencapture screenshot utilities windows image)

My120_135 RE: использование SQL функций

by Ruslan Voloshin | 1 day ago | Read more

Извините добавлю строчечку не по теме. 16131534.81ec7a867543a053607332de6103384c.1216369775.a8e074ca0db950a03fe9edcf49741dfb это для того чтобы яндекс меня запомнил в своей социалке и начал транслировать наши РСС себе в ленту

Lanterns

by Graham Glass | 1 day ago | Read more

I love solar powered lanterns, so I bought two more. Here is the whole quartet:

Cat in a Cage

by Graham Glass | 1 day ago | Read more

Imagine if you had to go to the Doctor in a cage...

How not to return your hire car!!!

by Scott Rutherford | 1 day ago | Read more

So just got back from a great 2 weeks in California, went to Foo camp, Social Media Camp, Mashable and a couple of other meetups – all excellent. One slight hiccup with the hire car…..... I claim it was the taxi’s fault (of course), although its a bit of a blur to be honest.

On the up side I can highly recommend Enterprise (and taking out the full coverage), they were very helpful and polite. Even offered me a new car – which would of seemed like a better idea if I could move properly!! At least no one was badly hurt.

Head7 Those 2G iPhones are worth their weight in gold

by Matt Mower | 1 day ago | Read more

I've been watching a lot of 2G iPhones on eBay and the average sale price is £238. I'm watching 8 that haven't ended yet and they average about £180.

That seems crazy to me. Assume you pick one of these up and get a cheap pay&go tariff (say £5/mth) plus a data bolt-on (£10/mth). That makes TCO over 18 months £508.

Now if you're pursuing this strategy you're probably not intending to hold on to the device for 18 months, let's say 8 months. Long enough that you might have an outside shot at an iPhone 3G (as in 3rd generation). That comes to £358.

Now a new iPhone 3G will run you -at a minimum - £99 plus £540 in monthly fees for a total cost of £639.

So your wait & see 2G strategy costs you 56% the cost of a new iPhone for only 44% the total usage (8 mths instead of 18). If this was the same device that'd be okay but you're getting a second hand device, older model, that may well be out of warranty much of that time. Waiting Apple/O2 out is starting to sound like a pretty expensive option.

And this assumes a probably impossible low of £5/mth on pay&go. If we say £10 instead you come out at £398 which is 62% of the cost for 44% of the time. Maybe it's Alan coaxing me but the 3G iPhone is starting to sound like a better deal. All except the 18-month contract part.

Maybe my figures are wrong?

If not it seems to me that people are wayy overpaying for 2G iPhones.

For the record when I set out on this path my gut instinct on the value of a 2G iPhone topped out about £85 which is not a million miles from Kottke's gut instinct that they'd be worth no more than $150. (Thanks Stu for the link). Kottke later realises the same thing I did, our gut instinct is dead wrong.

5275150 Maximal output är svåra grejer

by Svante Adermark | 1 day ago | Read more

[![Rattar](http://fibban.fleecelabs.se//knobs_galore.jpg)](http://flickr.com/photos/chrispercival/57682827/) En av de viktigaste råden i 4-hour workweek för mig är: _Maximera output, minimera input!_ Jag har sett att folk drabbas av "Information Overload" dessa dagar. Visst, det finns fler som skriver om saker du gillar än någonsin förr...

Ubiquitous call recording, finally.

by Justin George | 1 day ago | Read more

https://www.speechtrack.com

I've been wanting a service like this for as long as I can remember. Now they just need to offer inbound phone numbers that auto-record, and maybe a transcription service or speech-to-text.

Alastair-portrait Wee Date Picker Rails Plugin

by Alastair Brunton | 1 day ago | Read more

After a bit of a sabbatical here is another plugin for you to feast on. This is a super simple datepicker for your rails apps. It is essentially just a packaged version of DatePicker v2.9 by frequency-decoder.com with rails helpers for easy integration. Install Currently the contents of the files directory should be copied manually to your public [...]

Phone Article

by Eric Mill | 1 day ago | Read more

My120_135 RE: RE: RE: RE: RE: использование SQL функций

by Ruslan Voloshin | 1 day ago | Read more

Можно и не отказыватся. Писать на чистом ruby через слассы доступа к конкретной БД. ТОгда проще отказаться от Rails :-)

Mw2001 Some GTD criticism

by Martin Wöginger | 1 day ago | Read more

I believe in chaos. Not that I say I love it. We are all in it by nature. For me its not a fight against, its more a dealing with it. You can try to keep its entropy low but you always need creativity to deal with the unforseen. GTD on the other hand is very strict and makes many assumptions. For me its hard to put all my tasks into one big pot and to decide when to write this or that task down for instance. GTD is sometimes too inflexible for certain situations. Sometimes projects need more attention, and they have much shorter cycles than less imortant or long running tasks. They grow bigger and they split or subprojects emerge and so on.
I am sure I did not get everything Allen is saying us so I am misinterpreting one or the other point. But I mean, hey, this book is like a bible, and I dont like the idea you have to read the same book many times to get a simple thing.
Dont get me wrong, I am still using GTD, not too dogmatic, as its fits and I am sattisfied with it. Good tools like Omnifocus are a great help there. I am still experimenting with it but I think dealing with the habits is more important because they are the source when we did a failure. So for me GTD is just a small tool in a complex world ;-)


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

Hampton Catlin:

Had my life changed by haml, figured that was worth at least a couple clicks and a sentence. thanks, hampton!

- Sbubble R.B, United States