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


Spock SURFWISE the Film

by Ara T Howard | about 1 hour ago | Read more

SURFWISE the Film

Jerry135x135 Maybe there’s a place to make side bets. Will AAPL hit $200 or $150 first?

by Jerry Richardson | about 1 hour ago | Read more

Maybe there’s a place to make side bets. Will AAPL hit $200 or $150 first?

Jerry135x135 Today looks like the day to take profit on YHOO. Need to find some new action. 90% in cash right...

by Jerry Richardson | about 1 hour ago | Read more

Today looks like the day to take profit on YHOO. Need to find some new action. 90% in cash right now.

N641200498_9496 Nasceu minha sobrinha

by Cristiano Dias | about 1 hour ago | Read more

Depois de vários meses de uma gravidez complicada nasceu e passa bem a primeira filha do meu irmão, Maria Luíza de Menezes Dias. Se no nascimento da Clara eu já agradeci aos médicos por seus verdadeiros milagres imagina nesse caso onde o obstetra original chegou a dizer “desistam dessa gravidez” (uma pessoa de muito tato, [...]

(posted by cardioid)

by Rick Bradley | about 2 hours ago | Read more



(posted by cardioid)

210054790_9fc00d9caf Trouble with gem install ultraviolet on OSX Leopard?

by Adam Bair | about 2 hours ago | Read more

It’s because you neet to install Oniguruma (a regex library).  Macports is easiest:

sudo port install oniguruma5

If you need to compile manually, there are instructions out there. 

Ants swarm over Houston area, fouling electronics - Yahoo! News

by Rick Bradley | about 2 hours ago | Read more

Ants swarm over Houston area, fouling electronics - Yahoo! News: Man am I glad I don’t live in Houston anymore. (posted by cardioid)

SapphireSteel :: The Book Of Ruby - free in-depth Ruby eBook

by Rick Bradley | about 2 hours ago | Read more

SapphireSteel :: The Book Of Ruby - free in-depth Ruby eBook: (posted by cardioid)

Me Pré RailsCamp

by Nicolas Mérouze | about 2 hours ago | Read more

A moins de 48h du RailsCamp, je suis en train de préparer une présentation (vous avez le sujet sur le wiki du RailsCamp) et je me disais que je pourrais vous faire participer à l’amélioration de celle-ci avec une simple question. Que vous évoque le terme “vues modulaires” ?

Por2006-me-150 page de connexion

by Richard Piacentini | about 2 hours ago | Read more

Bonjour,
Je commence a desesperer je n'arrive a rien :(

Je souhaite faire un formulaire de connexion simple .
Les utilisateurs existe deja dans ma table salarie(nom, login, pwd)
quand Quand je lance http://localhost:3000/login je tombe sur le formulaire. A sa validation,j'aimerai etre redirigé sur une autre page qui affiche bonjour e nom de l'utilisateur.

Quand je lance http://localhost:3000/login je tombe sur la page defini par index.rhtml et non sur le formulaire :'( si je clique sur le bouton retour j'ai cette erreur

You have a nil object when you didn't expect it!
The error occurred while evaluating nil.pwd

Merci de votre precieuse aide

voici mon code

mon controlleur login

class LoginController < ApplicationController

def index

end

"oh man, that’s the nicest thing that anyone’s ever said to me"

by Rick Bradley | about 2 hours ago | Read more

“oh man, that’s the nicest thing that anyone’s ever said to me”

- markwise to me, after telling him his blues was as genuine as C. Thomas Howell in “Soul Man” (posted by vinbarnes)

Slow Wave for 2008 May 03

by Rick Bradley | about 2 hours ago | Read more

Slow Wave for 2008 May 03: (posted by vinbarnes)

Big Ass Cow

by Michael Erb | about 3 hours ago | Read more

“There is no evidence that we use steroids on our livestock…”

Snowball Fight

by Michael Erb | about 3 hours ago | Read more

Boy, the nuns at my school weren’t this cool…

556816870_7f21ed0d25_m Egy év távlatából

by László Bácsi | about 3 hours ago | Read more

Észre sem vettem és eltelt egy év a lackac.hu blog életében. Az első bejegyzés tavaly április 29-én keletkezett. Azóta változtak picit a témák, gyakoribbak lettek a bejegyzések, és hát sok minden történt az egy év alatt.

Ebben a visszatekintő bejegyzésben összeválogattam, hogy nekem mi tetszett leginkább a korábbi posztok közül. Nem szempont a bejegyzések forradalmi jellege, még csak az írás minősége sem. Inkább az alapján válogattam, hogy milyen hatással volt rám.

A kezdetek

Az egész a Kitchen Budapesttel indult. Kellett egy hely, ahova felrakom a pályázatomat, és amúgy is mocorgott bennem egy blog gondolata. A következő fél évet nagy mértékben meghatározta a KiBu. Olyan dolgokon dolgoztam ott, mint egy multitouch screen, amiről az első beválogatott bejegyzés is szól. Túl sok időm nem maradt Rubyra és Railsre, és bár több kibus projektben is használtam őket, nem ez volt sajnos a jellemző.

Hobbi projektek

Tavaly december környékén kezdett elegem lenni a médiaművészesdiből és elkezdtem más irányba nézelődni. Ekkor indult be a hobbiprojekt gyártás is talán az egydélutános hat-or-not projekttel. Ez a projekt amúgy a későbbiekben kitűnő talajul szolgált mindenféle Rubys kísérletezésre, bár ezekből nem sok minden látszik. Ide tartozó infó, hogy az egészet lehet hogy újraírom pythonban, hogy legyen mivel Google AppEnginet tesztelnem.

Később építettem domain rss feedet egyik kedvenc ruby gememmel, és a tavaszi konferenciaszezont pedig egy online backchannel szolgáltatással indítottuk. Ehhez kapcsolódó hír, hogy a backchannellel kapcsolatban még nagy terveink vannak. Csak jusson idő rá.

Firefox kiterjesztések

Már nem is tudom hányszor váltottam ide-oda Safari és Firefox között. Talán a második Firefox 3 béta környékén ez újra megtörtént a tűzróka irányába, és végül ott is ragadtam. Az indok, hogy sokkal használhatóbb macen, mint elődei, és egyszerűen kiegészíthető új funkciókkal. Erre kicsit rá is kaptam és ennek hatására született több firefox extension is. A kedvencem ezek közül a rendszerüzenet küldözgetős, de nézzétek meg a többit is.

Növekvő forgalom

A gyakoribb posztolásnak és természetesen a twitter közösségnek köszönhetően a lackac.hu felkeltette “A”-listás blogger Angelday figyelmét is, minek következtében a blog megtapasztalt egy plastik effektet. A látogatási statisztikákat arra a pár napra szépen megdobta a plastik felől jövő forgalom, és jó látni, hogy az új látogatók nagy része megmaradt később is.

Szakmai mozgolódás

A kibus félév után már nagyon hiányzott az aktív webfejlesztés, úgyhogy tavaly év végén megkerestem egy régi francia ismerősömet, Etiennet, aki itt élt Budapesten, és korábban már ajánlott Rubys munkát. Végül becsatlakoztam pár projektjébe, amit a Woa csinál, és nagyon jó volt. Mivel ezt csak kvázi félállásban csináltam, azt kezdtem el tervezgetni, hogy alapítok céget, és bevállalok más közben kirajzolódni látszó projekteket is. El is indultam ennek rögösnek vélt útján, amiről az első cégalapítós bejegyzésben írtam. Később azt beszéltük meg Etiennenel, hogy mivel ő amúgy is meg akarja szüntetni a magyar cégét, és csak a franciát viszi tovább, én átvenném tőle a stafétabotot. Persze ez se lett volna sokkal egyszerűbb, mint egy cégalapítás, de legalább mindketten jobban jövünk ki.

Végül mégsem ezt az utat választottam, mivel kaptam egy jobb ajánlatot a Virgo Systemstől. Sokat töprengtem, hogy elfogadjam-e, de végül úgy döntöttem, hogy jelenleg ez a legjobb számomra. Aztán majd meglátjuk.

Szóval itt tartok most. Aki idáig elolvasta, annak köszönöm. A kommentekben szívesen látnám, hogy nektek melyik bejegyzések tetszettek leginkább, és javaslatokat is szívesen fogadok.

[メモ] AmazonS3とEC2を使う時にはX-REPROXY-URL

by Yuichiro MASUI | about 3 hours ago | Read more

 S3+EC2を使っていると、S3に保存したムービーや画像と言った大きなデータを、クライアントに返したい場合があります。 そのときにリバースプロキシを使う方法もあるけど、権限やユーザによって振り分けたい場合などは、単純なリバースプロキシではうまくいきません。  Rails側でNet::HTTPなどを使ってS3からデータを取ってくる方法もあるのですが、それだとパフォーマンスが悪すぎです。  負荷分散することを考えると、これはApacheモジュールか、リバースプロキシ側でやって欲しい作業です。自分で書こうと思ったけど、調べてみたらやっぱり同じようなのがありました。  リバースプロキシなどの中には、X-REPROXY-URLというヘッダをサポートしているものがあり、これを戻すとリバースプロキシが代わりにこのURLにアクセスしてデータを返してくれます。  Perlbalが始めにサポートしたらしいですが、lightlyやapacheもパッチが出ているようです。Perlbalはリバースプロキシとしても、性能が高いらしいので、これを評価してみようと思います。 メモリンク X-SendFile, X-REPROXY-FILE, X-REPROXY-URLを試してみる - Yet Another Hackadelic X-REPROXY-CACHE-CLEAR もあわせて使いたい人向けショート BK

Wooo Hooo new flash player - maybe with Peer to Peer

by Campbell Anderson | about 3 hours ago | Read more

Today Adobe announced the public pre-release version of the Flash Player 10. Improvements include: Creative Expression Custom Filters and Effects [...]

Ryan_hamilton Google’s Web Development Encyclopedia

by Ryan Hamilton | about 3 hours ago | Read more

Google just introduced Doctype, a new wiki-style encyclopedia by web developers, for web developers. Looks to be a valuable resource, and has been added to my personal bookmarks. I especially like that they list browser compatibility for all of the CSS properties. Check it out » Google Doctype is an open encyclopedia and reference library. Written by [...]

Flash 10 Beta is Available

by Ryan Christensen | about 3 hours ago | Read more

I would say more but it is time to play…

Ce n’è di gente matta eh…

by Maurizio Pedriale | about 3 hours ago | Read more

Oggi parlo in particolare di Mike Stimpson, che con i Lego ha ricostruito alcune delle foto più belle dei maestri della fotografia… La mia preferita è questa di H. Cartier Bresson, praticamente perfetta!: da una segnalazione di Adedip, via clickblog.

My120_135 RE: Переход с php на ruby on rails

by Ruslan Voloshin | about 4 hours ago | Read more

ну давай Ruslan, давайте ребята, качайте: Rails For PHP Developers Feb 2008.pdf ;) я всегда рад помочь вам!!!

N282401167_986891_7822 SWFUpload, Paperclip and Ruby on Rails

by Jim Neath | about 4 hours ago | Read more

SWFUpload SWFUpload is a small JavaScript/Flash library to get the best of both worlds. It features the great upload capabilities of Flash and the accessibility and ease of HTML/CSS. SWFupload is a brilliant tool built with flash and javascript that allows you to upload multiple files at the same time, allows you to display progress bars and [...]

links for 2008-05-15

by Aitor García Rey | about 4 hours ago | Read more

Dumm gelaufen…

by Oliver Kiessler | about 4 hours ago | Read more

Für die, die sich wundern dass hier keine Beiträge und Fotos auftauchen, ich konnte meine Reise leider krankheitsbedingt nicht antreten. Ich habe meinen Trip praktisch in letzter Minute abbrechen müssen… Sobald ich wieder fit bin (hoffentlich am Wochenende), werde ich versuchen wenigstens einen Teil der Reise nachzuholen. Also schaut mal wieder rein, irgendwann bin [...]

My120_135 RE: RE: Переход с php на ruby on rails

by Ruslan Voloshin | about 4 hours ago | Read more

дело в том что дорелиза этой книжки особо не найдешь так что менять неполучится зато если ты зашаришь для начинающих php зато если ты зашаришь эту книжку для начинающих разработчков многие будут благодарны, и возможно в будующем тебе тоже что то зорошее дадут. К статти я ответил на стоимостьдоставки внижки печатного варианта к вам в Грузию но ты так и не прореагировал на это. Я напряг людей все узнали для тебя.

Capistrano logging

by John Norman | about 5 hours ago | Read more

The logging in Capistrano could be so much better. Just for example, when a task is initiated, that log item should really pop out. At present, the log line starts with “executing” for both the indication that a task has been started, and for running a remote command. Because the same word is used, it [...]

O cárater Microsoft

by Claudio Torcato | about 5 hours ago | Read more

Deve ser gostoso continuar sendo usuário do sistema operacional Windows mesmo sabendo dos meios sujos de como a Microsoft trabalha. Há muito deixei de lado o Windows e sou um usuário fiel do Linux. Tenho notebook e computador em casa. Rodam com Ubuntu Linux. No computador da casa dos meus pais, também roda Linux. Então, [...]

Receita Federal e a compra do Office 2007

by Claudio Torcato | about 5 hours ago | Read more

Nos dias atuais, um órgão público ainda querer fazer licitação do Office 2007, quando há soluções facilmente mais baratas, é lamentável. O OpenOffice está aí, no mercado, um conjunto de ferramentas muito parecidas com o pacote da Microsoft. Será que vão continuar com esta sandice? Vão comprar cerca de 44 mil licenças que irá custa [...]

Download Free Photoshop E-Book By SitePoint

by Lim Hong Kiat | about 5 hours ago | Read more

Generous souls at Sitepoint is giving out free Photoshop ebook titled ‘The Photoshop Anthology‘ in .PDF format. No strings attach, no payments. All you need to do is, go to the website, enter your email address and start downloading. This awesome giveaway expires 28 days as I’m writing. So without wasting much time considering, I’ve downloaded [...]

Walking on Yellow

by Graham Glass | about 6 hours ago | Read more

I was walking around San Francisco and took a couple of photos on a whim. The theme was "walking on stuff that is yellow". First, a yellow metal plate: Then, a yellow crossing:

Brando2 Edge Rails: action_name

by Carlos Brando | about 6 hours ago | Read more

Agora para saber qual action foi chamada durante a execução de sua view ficou mais fácil, basta usar o método action_name: <%= action_name %> O retorno será o mesmo que pegar o params[:action], mas de uma forma mais elegante.

Biosdkappe 800 on Your Math SAT, Software Development and Bugs

by Dietrich Kappe | about 6 hours ago | Read more

Why don't more people get a perfect score on the math portion of the SAT? I mean its dead simple -- just simple arithmetic. And there are plenty of bright young things that understand the problems cold. I can understand...

Picture%20189 Google Code Blog: Introducing Google Doctype

by Andrew Dedman | about 6 hours ago | Read more

Something pretty neat ... worth checking out


Google Doctype contains dozens of articles written by top Googlers on topics important to all web developers: security, performance, caching, DOM manipulation, CSS styling, and more. It contains over 8,000 lines of JavaScript code: Google's own battle-tested JavaScript library, released today under a liberal open source license. And it contains the beginnings of a test-driven reference of the open web: a reference of every element, every attribute, every DOM method, every CSS property, all backed up by test cases.


If your going to learn about the DOM and CSS and stuff this probably isn't such a bad place to go.

Google Code Blog: Introducing Google Doctype

15 Swiss man soars above Alps with jet-powered wing - Yahoo! News

by Darryl L. Pierce | about 6 hours ago | Read more

BEX, Switzerland - A Swiss pilot strapped on a jet-powered wing and leaped from a plane Wednesday for the first public demonstration of the homemade device, turning figure eights and soaring high above the Alps. Yves Rossy's performance in front of the world press capped five years of training and many more years of dreaming. "This flight was absolutely excellent," the former fighter pilot and extreme sports enthusiast said after touching down on an airfield near the eastern shore of Lake Geneva. Rossy, 48, had stepped out of the Swiss-built Pilatus Porter aircraft at 7,500 feet and unfolded the rigid eight-foot wings strapped to his back before jumping. Passing from free fall to a gentle glide, Rossy then triggered four jet turbines and accelerated to 186 miles per hour, about 65 miles per hour faster than the typical falling skydiver. A plane that flew at some distance beside him measured his speed. The crowd on the mountaintop below gasped and cheered. Rossy's mot...

Me Doit-on tout tester ?

by Nicolas Mérouze | about 6 hours ago | Read more

C’est Railway qui se la pose. Je trouve qu’il a plutôt raison, surtout pour les vues en fait. Vous en dites quoi ?

Green-sm Kick-Off Elevator Pitch at next08

by Michael Nordmeyer | about 7 hours ago | Read more

Witnessing elevator pitches at next08 right now. Some are quite cool, others are a waste of time. Most pitches are well done. But none of the people doing the pitches react well to questions. Except one. Time to improve this.

503713125da81cc5b3d3d60796a2e315 AWS/S3 EOFError / sysread error and Ruby threads

by Karol Hosiawa | about 7 hours ago | Read more

I’ve been playing with Amazon S3 and aws/s3 gem by Marcel Molina recently. I’ve got 2 major gripes as far as aws/s3 library is concerned:

1. It doesn’t handle European buckets (though there are plans to fix it) 2. The upload process breaks far too often with EOFError /sysread errors (at least for my threaded application). The reports about this problem abound here , here , here , here and here

yet it seems nobody’s found a definitive solution (apart from using persistent connections which didn’t work for my app).

I’ve been trying to use the library in production for the past 3 days and it’s been a nightmare: lots of “end of file reached”, timeout and other errors, you end up with hanging threads that eventually stop the whole app. Not the best experience I’ve had. My app is threaded which means I spawn threads and each thread tries to upload stuff to S3 simultaneously.

After 3 days of late night hacking and debugging I had my “Eureka” moment while sitting in a toilet. I have to admit that the toilet has been my definite, favourite place for “Eureka” moments for the past few years :)

I thought to myself: “There must be a shared resource somewhere inside the place where the code tries to send a file to S3 via the HTTP RESTful interface. Why don’t we introduce a mutex lock around the HTTP call ?”

So I did it and it solved 100% of the problems. Here’s the code, open up

aws/lib/aws/s3/connection.rb

and replace:

1
2
3
4
5
6
7

if persistent?
  http.start unless http.started?
  requester.call
else
  http.start(&requester)
end

with:

1
2
3
4
5
6
7
8
9

SEMAPHORE.synchronize {
  if persistent?
    http.start unless http.started?
    requester.call
  else
    http.start(&requester)
  end
}

Define semaphore as:

1
2

SEMAPHORE = Mutex.new

somewhere in your app (on the outside of the threaded code) like in your environment.rb if it’s a Rails app.

You also have to require ‘thread’.

I suspect a lot of the error reports come from people using threads but there’s no description on the aws/s3 website that the library is not thread safe. Hopefully it saves you some time and you don’t have to spend days trying to debug it. If it does please put your comment here. Thanks.

Me Git Magic

by Nicolas Mérouze | about 7 hours ago | Read more

Découvert il y a quelques minutes grâce à github.com, Git Magic est une documentation pour Git assez bien fournie. Je vous conseille de la lire si vous voulez vous y mettre ou si vous vous y êtes mis mais que vous galérez encore un peu.

My120_135 RE: Переход с php на ruby on rails

by Ruslan Voloshin | about 7 hours ago | Read more

У меня есть специальное книга: "Rails For PHP Developers (2008)" 2008 года!!! Если кто-нибудь хочет я обменяю эту книгу на .PDF: Agile Web Development with Rails, 3rd Edition

Deploying with Capistrano via a gateway - some notes

by Cheah Chu Yeow | about 7 hours ago | Read more

Some notes on setting up a gateway server for deploying via Capistrano that I couldn’t find at the source. You can specify the user you want to use to login to your gateway server like so: set :gateway, 'deploy@deploy.example.com'. This logs in to your gateway server as the “deploy” user. You can specify an alternate SSH port [...]

End of the 'Stache

by Abhay Kumar | about 8 hours ago | Read more

As much as I was initially hesitant, I truly enjoyed the last 4 months wearing a mustache as a covenant signifying my support of a great undertaking: taking a closed beta product and turning it into something available to the world. Earlier this evening, I had my mustache shaved by Ritch at Barber Lounge. Although I really do appreciate being able to see my upper lip again, I do miss my mustache, a shape shifter that took the form of a cuban smuggler, a regular goatee and biker handlebars.

Tomorrow I will post pictures, but until then:

Reputation, reputation, reputation! O, I have lost my reputation! I have lost the immortal part of myself, and what remains is bestial.

511979588_19de511f1c_m Rangers Riot-8992 (via James Lester)

by Alan C Francis | about 8 hours ago | Read more



Rangers Riot-8992 (via James Lester)

Een doorsnee dag bij 10to1

by Tom Klaasen | about 8 hours ago | Read more

Met dank aan @litrik.

Mislav Cubescape!

by Mislav Marohnić | about 8 hours ago | Read more

Cubescape is a nifty little toy made by Cameron Adams using jQuery. It’s your own 3D pixel world.

I liked it so much that I’ve recreated the Rails logo inside it. Yeah, it sucks, I know :)
Make something better!

Subimage.com redesign

by Subimage Interactive | about 9 hours ago | Read more

Just dropped a redesign on subimage.com after four years of stagnation.

subimage.com home page


It was time for a change.

My120_135 RE: Импорт контактов из MSN & AOL

by Ruslan Voloshin | about 9 hours ago | Read more

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

6 aizatto: sql query foobarred by missing parenthesis!

by Ezwan Aizat bin Abdullah Faiz | about 9 hours ago | Read more

aizatto: sql query foobarred by missing parenthesis!

Riparte d’oh!

by Maurizio Pedriale | about 9 hours ago | Read more

Piccolo messaggio di servizio: il buon Simone ha riaperto e rinnovato il blog, feedatevi, che ne vale la pena :)


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

Jake Scruggs:

Go jake!

- Sbubble R.B, United States