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


1teamalps1cmdejgea7p7okx_400 Idealist volunteer listings for Boston tech professionals

by Dan Croak | 1 day ago | Read more

Looking for a part-time volunteering position in the Boston area where I can contribute my technology expertise, I did some research on Idealist. These are the three most promising I could find:

  • Help build the Citizens Market PHP web app - Citizens Market is a nonprofit developing a user-generated database to gather reliable information on the social and environmental performance of companies. The database will be free, transparent and accessible online.
  • All-purpose technical volunteer at Haley House - Haley House is a food and housing provider in the South End. They’re looking for an Apple-oriented, all-purpose technical person with web development experience.
  • Webmaster for the Jewish-Muslim Relations Center - A few hours a month, make updates and changes to their website. Organization works nationally to move relations between Muslims and Jews beyond political conflict.

Jo_opaulo2 2 ESOL - Palestra: Ruby on Rails colocando a web nos trilhos

by João Paulo Lins | 1 day ago | Read more

<object height="355" width="425" style="margin:0px"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=iiesol-1215270510567222-8" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed allowfullscreen="true" type="application/x-shockwave-flash" src="http://static.slideshare.net/swf/ssplayer2.swf?doc=iiesol-1215270510567222-8" allowscriptaccess="always" height="355" width="425"></embed></object>

Essa semana participei do II ESOL que aconteceu no CEFET-PE. Foi a minha primeira paticipa????o em um evento de software livre. Tentei passar um pouco do mundo Ruby e Rails com o intuito de consquistar alguns adeptos e fortalecer a nossa comunidade local. A palestra foi nos moldes do DHH. Fiz uma breve introdu????o ao Ruby e um hands on com Rails para mostrar as facilidades de utilizar o framework.

O evento estava muito bom e s?? tenho a agradecer ao pessoal da organiza????o pelo apoio e aten????o que me deram durante todo tempo que estive por l??.

O c??digo da aplica????o para quem quizer brincar.

Jo_opaulo2 2º ESOL - Palestra: Ruby on Rails colocando a web nos trilhos

by João Paulo Lins | 1 day ago | Read more

<object height="355" width="425" style="margin:0px"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=iiesol-1215270510567222-8" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed allowfullscreen="true" type="application/x-shockwave-flash" src="http://static.slideshare.net/swf/ssplayer2.swf?doc=iiesol-1215270510567222-8" allowscriptaccess="always" height="355" width="425"></embed></object>

Essa semana participei do II ESOL que aconteceu no CEFET-PE. Foi a minha primeira paticipação em um evento de software livre. Tentei passar um pouco do mundo Ruby e Rails com o intuito de consquistar alguns adeptos e fortalecer a nossa comunidade local. A palestra foi nos moldes do DHH. Fiz uma breve introdução ao Ruby e um hands on com Rails para mostrar as facilidades de utilizar o framework.

O evento estava muito bom e só tenho a agradecer ao pessoal da organização pelo apoio e atenção que me deram durante todo tempo que estive por lá.

O código da aplicação para quem quizer brincar.

Ryan-orange-large Matt - Multi Account Twitter Tweeter - Brought to you by Carsonified!

by Ryan L. Cross | 1 day ago | Read more

Matt - Multi Account Twitter Tweeter - Brought to you by Carsonified!

6 aizatto: His Happy Destiny.

by Ezwan Aizat bin Abdullah Faiz | 1 day ago | Read more

aizatto: His Happy Destiny.

6 aizatto: "'Love' is that condition in which the happiness of another person is essential to your own."

by Ezwan Aizat bin Abdullah Faiz | 1 day ago | Read more

aizatto: "'Love' is that condition in which the happiness of another person is essential to your own."

Instalar Ubuntu sin CDs, DVDs ni dispositivos USB utilizando nicamente la red (PXE)

by Marcos Abel | 1 day ago | Read more

El título ha quedado un poco largo, pero eso es exactamente lo que acabo de hacer hace un rato, y como me parece algo interesante, voy a explicar brevemente cómo conseguirlo.

La base del proceso es PXE, que para definirlo en pocas palabras viene a ser un "modo de arrancar un ordenador" utilizando para ello únicamente el interfáz de red. Como podéis ver en el enlace a la wikipedia, PXE es básicamente una mezcla de DHCP y TFTP.

Paso 1: el ordenador ha de ser capaz de arrancar desde la red

Para poder instalar nuestro sistema utilizando esta tática, es necesario que éste sea capaz de hacer el boot desde un dispositivo de red. La mayoría de los PCs soportan esta característica, por lo que no debería de ser un requisito difícil de satisfacer. Una vez que nos aseguremos de que el PC "sabe arrancar desde la red", ya solo nos falta instalar un servidor que le responda adecuadamente a sus peticiones.

Paso 2: instalar el servidor

En este caso, el ordenador que va a servir los ficheros de arranque es un humilde PC con windows ya instalado, por lo que la herramienta que utilizaremos es TFTPD32. Esta herramienta es una de esas pequeñas joyas que a cambio de muy pocos KB son capaces de hacer un montón de cosas, como podéis observar en la página del autor.

Una vez descargado el programa, ponerlo a funcionar es tan simple como crear una carpeta, digamos que c:\tftp y copiar en ella el fichero tftpd32.exe. Lo ejecutamos y ya tenemos el servidor andando. Así de fácil.

Paso 3: descargarse la imagen de ubuntu peparada para estas labores

El siguiente paso será descargarse la imagen de ubuntu lista para ser servida utilizando PXE. Para conseguir este objetivo tendremos que descargarnos la carpeta ubuntu-installer que podremos encontrar en el respositorio de ubuntu. En mi caso particular, esta carpeta podía descargarse de:

ftp://archive.ubuntu.com/ubuntu/dists/hardy/main/installer-i386/current/images

Paso 4: configurar el servidor

Una vez descargada esta carpeta, deberemos de copiarla en c:\tftp. Además, debemos de asegurarnos de:

  • copiar a c:\tftp la carpeta pxelinux.cfg desde ubuntu-installer/i386/
  • copiar a c:\tftp el fichero pxelinux.0 desde ubuntu-installer/i386/

Ahora ya podemos configurar el tftpd32. En la pestaña DHCP, deberemos poner 'pxelinux.0' en el campo boot file y deberemos rellenar el resto de valores ajustándose a la realidad de nuestra red. Es importante que el valor del campo 'IP pool starting address' sea una IP válida en nuestra red y que se refiera a un rango de IPs no utilizado en la misma. Una vez cubiertos todos los campos, pulsamos save y ya tenemos nuestro servidor configurado. Así de fácil,

Paso 5: arrancar el pc que queremos instalar

Con nuestro servidor perfectamente configurado, ya podemos arrancar el pc en el que queremos instalar ubuntu. Si todo va bien y los cables están bien enchufados, podremos ver que comienzan a aparecer entradas en la pestaña 'Log viewer' de tftpd32. Se establece la comunicación entre el PC que arranca utilizando PXE y nuestro servidor. Al cabo de unos instantes, el PC que está tratando de arrancar acaba recibiendo por TFTP la imagen de instalación basada en red de ubuntu. A partir de ahi sólo nos queda continuar con una instalación basada en red de lo más normal, (lenta), y aburrida.

Green-sm Sinnvolle iPhone-Tariferweiterungen bei T-Mobile

by Michael Nordmeyer | 1 day ago | Read more

Auch bei den iPhone-Tarifen können Tarifoption geschaltet werden, die durchaus Sinn machen. Ich benutze nach dem erneuten Defekt des mit Abstand besten mir bekannten DECT-Funktelefons (gleicher Fehler bei neuem Telefon – Serienfehler?) kein Festnetz-Telefon zu Hause mehr. Daher nutzen mir die Inklusiv-Minuten bei den iPhone-Verträgen nur bedingt etwas, da ich doch mal das eine oder andere [...]

Green-sm Rufnummern-Übernahme bei iPhone-T-Mobile-Verträgen

by Michael Nordmeyer | 1 day ago | Read more

Letzten Herbst wollte ich mir ein iPhone zulegen, hatte aber ein Problem, welches Manuel auch gerade nervt: ein alter noch laufender Vertrag und eine Mobilnummer, die meiner Meinung nach mit Gold nicht aufzuwiegen ist: eine identische Festnetz und Mobilnummer mit einfach wunderbarer Telefon-Nummer. Also, was nun? Das Wesentliche: Du kannst Deine alte Nummer später übernehmen. Voraussetzung: [...]

碎片

by Rui Su | 1 day ago | Read more

最早听说这些记忆碎片是在反波对老六的一个采访里,但是在LCD上读这些精彩的青春碎片,实在让我提不起兴趣,前一段逛光合作用发现这些碎片已经凑一块成书了,想都不想,暖住(老六名...

37signals phasing out support for IE 6 across all 37signals products on August 15, 2008 [del.icio.us]

by Brent Sordyl | 1 day ago | Read more

Internet Explorer 7, the replacement, was released nearly two years ago in 2006

Rails: 在MacBook上尝试Passenger(mod_rails)

by Daniel lv | 1 day ago | Read more


作者: lgn21st  链接:http://lgn21st.javaeye.com/blog/211949  发表时间: 2008年07月05日

声明:本文系JavaEye网站发布的原创博客文章,未经作者书面许可,严禁任何网站转载本文,否则必将追究法律责任!

自打换了MacBook以后,安装前端web服务器不在像Ubuntu上那么简单,一个apt-get就轻松搞定,不过最新的Leopard自带了Apache,虽然我不喜欢Apache,不过因为是最容易得到且内置,并且一个非常有前途的项目Passenger(mod_rails)也开始支持Leopard内建的Apache了,所以决定用这一套组合来作开发.

关于Leopard内建的Apache请看这里

安装Passenger的步骤非常简单:
# 安装gems
sudo gem install passenger
# 安装apache module并配置
sudo passenger-install-apache2-module

配置过程中会根据当前系统环境自动生成apache的配置参考信息,根据这个来修改位于/etc/apache2/httpd.conf
比如,在配置文件尾部添加入下几行
LoadModule passenger_module /Library/Ruby/Gems/1.8/gems/passenger-2.0.1/ext/apache2/mod_passenger.so
PassengerRoot /Library/Ruby/Gems/1.8/gems/passenger-2.0.1
PassengerRuby /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

# Turned on Name Based VirtualHosts
NameVirtualHost *

<Directory "/Users/daniel/projects/">
Order allow,deny
Allow from all
</Directory>

<VirtualHost *:80>
ServerName project1.local
DocumentRoot /Users/daniel/projects/project1/trunk/public
RailsEnv development
</VirtualHost>

然后修改/etc/hosts,添加下面这行,将project1.local映射为本机地址即可
127.0.0.1 project1.local

打开浏览器,直接访问地址http://project1.local/即可看到rails应用程序了,不用额外启动mongrel或者其他rails的continer并占用一个console的tab了,并且Apache对静态资源进行缓存,页面速度明显快了不少...

重新启动rails应用程序的方法是touch(创建)一个名为'restart.txt'的文本文件在项目的tmp目录下即可
touch tmp/restart.txt


========== 控制Apache的内存消耗 ==========
在Apache的配置文件中添加入下两行,可以有效的控制Apache的内存消耗:
RailsMaxPoolSize 3 # Never spawn more than three processes
RailsPoolIdleTime 180 # Despawn a process when it has been idle for 180 seconds
本文的讨论也很精彩,浏览讨论>>


JavaEye推荐



Google Under Pressure for basic features as App Engine Requests Rise [del.icio.us]

by Brent Sordyl | 1 day ago | Read more

one popular request: securing application communications via, for example, SSL and HTTPS.

Oracle reveals BEA roadmap [del.icio.us]

by Brent Sordyl | 1 day ago | Read more

The BEA Weblogic Server Java application server "becomes Oracle's strategic J2EE container," Kurian said. It has been integrated with Oracle technologies like Oracle TopLink for Java persistence and Oracle Coherence grid capabilities.

Novidades do curso on-line de Flex + Vídeo

by Carlos Eduardo G. Franco | 1 day ago | Read more

Pessoal, Estamos abrindo uma linha de descontos especiais para empresas e equipes de mais de duas pessoas que estão afim de fazer o curso de Flex + Vídeo da e-Genial. Se você tem interesse em conhecer e criar aplicações web multimídias não deixe de entrar em contato conosco, monte sua equipe e solicite mais informações sobre grandes [...]

Identi.ca, a White Label Microblogging Network [del.icio.us]

by Brent Sordyl | 1 day ago | Read more

The latest micromedia/microblogging network to launch is indenti.ca,

More Paycuts at Gawker Media [del.icio.us]

by Brent Sordyl | 1 day ago | Read more

At the beginning of the year, the pay rate per pageview on Gawker was $7.50, according to Portfolio's Felix Salmon; it went to $6.50 for the next quarter and it is now $5.

MacOSX: leopard上的Apache

by Daniel lv | 1 day ago | Read more


作者: lgn21st  链接:http://lgn21st.javaeye.com/blog/211945  发表时间: 2008年07月05日

声明:本文系JavaEye网站发布的原创博客文章,未经作者书面许可,严禁任何网站转载本文,否则必将追究法律责任!

换用Apple的MacBook已经一个多月了,记录一些使用经验以备查:

软件环境:
MB 402(4G Memory) Leopard 10.5.4

Leopard已经自带了Apache,只要在System Preferences -> Sharing 选择Web Sharing即可开启内置的Apache.

配置文件位置是:
/etc/apache2/httpd.conf

httpd的文档更目录是:
/Library/WebServer/Documents/

user_dir模块默认自动开启,访问地址是:
http://localhost/~username

user_dir的目录路径是:
~/Sites

restart Apache的命令是:
sudo apachectl graceful

你可以在这里放一些常用的资源,比如我放了一份ruby,rails,mysql以及其他的documents,方便查找...
本文的讨论也很精彩,浏览讨论>>


JavaEye推荐



Zed Shaw and Matt Pelletier on Enterprise Mongrel [del.icio.us]

by Brent Sordyl | 1 day ago | Read more

Zed Shaw and Matt Pelletier sat down with InfoQ's Obie Fernandez at RailsConf to explore some of the reasoning behind setting up the mongrel project, getting adoption in enterprise and dealing with developers who just aren't ready. Watch the interview.

Avatar128 What You're Doing is Not New, Not Revolutionary

by Erik Peterson | 1 day ago | Read more

In 1971, Mark Zuckerberg was negative 13 years old. The phrase "social network" would have returned awkward silences and weird stares, even amongst the savviest tech entrepreneurs. If you had said the word "Blog" people would have thought you were coughing something up. Yet, in their own weird little ways, thousands of people were social networking and blogging.

In my post Wednesday, I said:

We tend to live in our own little bubbles and think that somehow, our problems are brand new, and that they've never been solved before. Well, guess what: almost all of them have been solved before, have been solved better, and are included in almost all Unix systems out there.
I've found that this maxim is almost universally applicable to movements in technology. I've there's some big new thing, it has probably been done before, and it has probably been done better, and it was probably included in Unix.

finger is to Friendster as Friendster is to Facebook

The finger Unix program was developed in 1971 by Les Earnest. It provided a way for you to figure out what other people were up to. You'd execute the command "finger user@domain" and you'd get all sorts of useful information back: The user's phone number, how long they've been idle, how long it's been since they've checked their mail, and the contents of their .project and .plan files. Here's what it looks like if you execute "finger erik@subwindow.com":

[subwindow.com]
Login: erik                 Name: 
Directory: /home/erik                 Shell: /bin/bash
On since Sat Jul  5 14:11 (UTC) on pts/0 from c-98-242-74-4.hsd1.ga.comcast.net
   3 minutes 9 seconds idle
No mail.
Project:
Current Projects:
  -Super Secret project.  Relates to http://subwindow.com/articles/14
  -Rails plugin for managing approvals.  Was called acts_as_approved, but I think I'm renaming it.

Projects in Stasis:
  -Aloe: A long-term work in progress. Aloe (or "A-l=o.e": Assets - Liabilities = Owner's Equity) will
    be an easy-to-use online accounting system. It is designed for the small business owner that does
    not specifically have any skills in accounting. It is currently in pre-alpha.  http://aloe-acct.com/
  -Skribit: Formed as part of Startup Weekend Atlanta, I'm an ongoing contributor to this social suggestion
    engine for bloggers.  Contributions are erratic, based on the activity of those in the "Current Projects"
    section.  Others are more active than me, so the entire project is not in stasis, mind you.

Projects in Maintenance:
  -Forecaster.ws A simple and uncluttered weather information service, tailored specifically for mobile
    devices. Currently in late public beta.
  -PropertyBuilder A proposed alternative to Object#andand and the ilk. Available through the
    'gem install propertybuilder' command.
  -Zsff A parser/validator for the ZSFF feed format. Version 1.0 released as a gem and is available on
    Rubyforge or through the 'gem install zsff' command
  -Rhobbler A Last.fm / AudioScrobbler track submission tool for Rhapsody. Currently in public beta.

Plan:
Today, I'm going to have a 4th of July party/Kelly's Birtday party.  But it's on the 5th.  Because even parties
    can be fashionably late.

This week: Super-secret project continues.  On Tuesday I hope to release my approval Rails plugin.

Hmm. That looks awfully similar to some other services I use heavily. It's pretty much the amalgamation of my Facebook page, my blog, and my tweets. And this was available in 1971!

The Trouble With finger

You may be wondering "If finger was so great, how come I've never heard of it, and how come we aren't using it now?" Well, finger had a lot of problems, unfortunately. Here's my understanding of what caused the downfall of finger (Also note that I was negative 12 years old when finger was invented, and about 10 when most people stopped using it):

  • It depended on a doomed computing style. The only way finger really made sense was if everyone at an organization regularly logged into the same physical Unix machine. This made a ton of sense in the mainframe era, but finger's popularity was directly proportional to the popularity of the mainframe.
  • There were no privacy protections. finger was notorious for being used as a tool for crackers and other nefarious characters to gain information. If you fingered the root of a domain (ie: 'finger @gatech.edu'), you'd get a listing of every user in the system- their phone numbers, and what they were up to. This information is kind of sensitive to just be putting out into the ether. Subsequently, fingering was seen has kind of a rude thing to do to someone unless you knew them and had a justification for seeing what they were up to. This didn't sit well with lots of people and contributed greatly to its demise. finger had no privacy features like Facebook now has. If it did (ie: Here's who my friends/coworkers are, let them see this information. Only display this subset to other users), I think it might still be in heavy use today.
  • finger was a protocol, and not a platform. There was no party responsible for carrying it forward or for providing necessary upgrades. When Facebook users complained about too much information being available to the public, they instituted incredibly granular privacy controls. When finger users complained about the exact same thing, there was either nobody to complain to, or they said "Well, turn it off." So they did.

Lessons are for Hares

Of course, there's some valuable lessons to be learned here. The main one is that you should always make more of an effort to see what's been done before you. The makers of Facebook shouldn't have just learned about Friendster, but they should have made more of an effort to learn about the earlier ancestors of social networking. If they had looked for and learned about the reasons for finger's demise, they might have avoided about half of the major confrontations that they've had with their users. With a full understanding of history, you can better realize that you are not a unique butterfly, and that your idea is not really that new. You can better gain perspective and learn the lessons of your forebears. This is something that's not unique to technology. You should apply this maxim everywhere in life- especially politics.

Vista market share surges 256% in one year [del.icio.us]

by Brent Sordyl | 1 day ago | Read more

Mac OS X market share surges 32% in one year. Vista grows by 256% in the same period, but Windows is down overall.

Ben_hughes_c_150 Inverting Permission-Based Filtering with named_scope

by Ben Hughes | 1 day ago | Read more

The addition of named_scope in Rails 2.1 has revealed several elegant approaches for modeling complex problem domains in ActiveRecord.  One I came across recently while working on an app with a somewhat complex permissions system was a permission-based filtering mechanism.  In this case I was dealing with permission for a given user to manage an [...]

Bookmooch helps readers trade old paperbacks and hardcover books [del.icio.us]

by Brent Sordyl | 1 day ago | Read more

Since its launch in 2006, about 785,000 books have been traded on www.bookmooch.com. The site now has 74,000 members across 91 countries.

Rails 2.1

by David Barral | 1 day ago | Read more

About Rails 2.1 I can only say that it is still the same, but much better. You can realize it reading the free book that Carlos Brando has published, which resumes al the changes made to this version.

Avatar What 16 years, getting a haircut and stopping the ‘roids does to you

by Matthew Lambie | 1 day ago | Read more

If you grew up in the '80s then this may well ruin your childhood. Sorry about that. Notice the difference in velocity. Exhibit one: the Ultimate Warriors' Wrestlemania VIII entrance (at about 1:30) : YouTube link Verses exhibit two: his entrance a few weeks ago: YouTube link He looked like he needed a walking frame to get to the ring. [...]

Metrain Oh, by the way — I am in BC

by Yurii Rashkovskii | 1 day ago | Read more

By the way, my time is PST these days and I live in Vancouver’s downtown until September ??? so if anybody wants to meet ??? drop me a comment or email.

Metrain Oh, by the way — I am in BC

by Yurii Rashkovskii | 1 day ago | Read more

By the way, my time is PST these days and I am live in Vancouver’s downtown until September — so if anybody wants to meet — drop me a comment or email.

Metrain Oh, by the way — I am in BC

by Yurii Rashkovskii | 1 day ago | Read more

By the way, my time is PST these days and I live in Vancouver’s downtown until September — so if anybody wants to meet — drop me a comment or email.

Avatar Karaoke singer attacked after starting song

by Mat Schaffer | 1 day ago | Read more

Karaoke singer attacked after starting song: Yet more reason to have private karaoke boxes. See http://www.yakitoriboy-japas.com for more information.

86 Modifying fieldWithErrors

by Surasit Liangpornrattana | 1 day ago | Read more

fieldWithErrors เนี่ย บางทีมันก็มีประโยชน์ดีนะ แต่บางทีก็อยากจะเอาออก หรืออยากจะแก้ไข

เอาแบบนี้ดีกว่า

ใส่ไปใน environment.rb
ใครมีความคิดอะไรก็ใส่ไปให้หมด สำหรับผมการ filter ง่ายๆ ก็ใช้ RegExp ครับ

ไม่มีกะจิตกะใจจะเขียนเท่าไหร่ กำลังทะเลาะกับ Merb อยู่ ทำไมมันติดตั้งยากเยี่ยงนี้ !!

86 Modifying fieldWithErrors

by Surasit Liangpornrattana | 1 day ago | Read more

fieldWithErrors ??????????????? ???????????????????????????????????????????????????????????????????????? ?????????????????????????????????????????????????????????????????? ?????????????????????????????????????????????

?????????????????????????????????????????????

????????????????????? environment.rb
??????????????????????????????????????????????????????????????????????????????????????? ????????????????????????????????? filter ??????????????? ??????????????? RegExp ????????????

??????????????????????????????????????????????????????????????????????????????????????? ?????????????????????????????????????????? Merb ???????????? ?????????????????????????????????????????????????????????????????????????????? !!

Going out stinks

by Wouter de Bie | 1 day ago | Read more

Yesterday, it was the first time I went out in Utrecht since smoking is prohibited in clubs, restaurants and bars. Things were different; some places have separate smoking areas, others are completely empty, because everybody stays outside to smoke. Next to that, going out smells differently. Normally, the smell of going out was a combination [...]

Casual Saturdays: How Important is Science Education?

by Richard Apodaca | 1 day ago | Read more

<center></center>

This must be a hoax, but on the other hand...

Reset

by Elise Huard | 1 day ago | Read more

My week on the Isle of Oleron: great weather, blue skies, sea breezes keeping the temperatures to loveably warm. The aromatic smells of mediterranean vegetation competing with brine and sea weed from the coast. Long trips around the island on rented bikes, swimming in the sea, eating fresh foods in the garden. It’s still [...]

2303952232_6f3273af0f Information radiator screen savers for MacOS X

by Carlos Villela | 1 day ago | Read more

I’ve been experimenting with information radiation and build monitors recently, and have extracted some of that into this tiny new project. There is not a lot to it yet, just a quick hack that displays the current build status in giant NES-like fonts and a little spinning cube (see photo), but it works well as [...]

svn add_new + svn remove_missing

by Michael Grosser | 1 day ago | Read more

I once saw a nice solution which would prompt you with the results of new/missing, but i could not find it again… So for a quick solution i added 2 new aliases: 1: add all new files 2: remove all missing files #~/.bashrc alias svn_add_new="svn st | egrep '^\?[ ]+' | sed -e 's|^?[ ]*||' | xargs -i svn add [...]

Magical Microformat Maker

by Tom Taylor | 1 day ago | Read more

I think I forgot to write this up. Oops. A few weeks ago I made a tool for making geo microformats. You plonk in a location, some text, drag the pin around and it generates you the appropriate HTML. That’s it really. It’s called the Magical Microformat Maker, and you might like it if you [...]

Shaped Test Output

by Thomas Kadauke | 1 day ago | Read more

Last month I had to write some stuff that affected our whole application and therefore I had to run the full test suite several times a day and wait for it to finish every time to find out what the errors are that it displays. The output in the shape of ‘…E..F..FE..’ is usefull to get an overview of the amount of errors but unless you wait til the end you can’t get a clue as to where the error occurred.

That bugged me quite a while and finally i wrote a plugin that shapes the output much better (at least to my mind).

When you use the TestOutputShaper you get this:

AlbumTest:    ....F.F...
AlbumControllerTest:    FF......FF...
PictureTest:    FFFFFFFFFF

At that point – without knowing the actual error – you can stop the suite and run the particular test to see what is broken.

When you work with small test suites that may not be a big win, but when you have a lot of code and have it well covered by tests, it can be a huge time saver. Especially when you test for valid html your test suite can take like hours.

A Grand Day Out With Liam

by Sean McMains | 1 day ago | Read more

Yesterday was the second of the days this summer I took off to spend with one of our kids. Liam and I, after some deliberation, decided on a visit to San Antonio. (The other contender was to take Amtrak up to Austin and spend the day visiting Barton Springs, Peter Pan Mini Golf, and an [...]

StarLogo 1.0

by Rodrigo Sol | 1 day ago | Read more

Quando criança, ficava digitando umas listagens de BASIC no MSX que vinha no seu manual. Não sabia o que cada comando fazia, apenas digitava para ver se acontecia alguma coisa. E nunca acontecia. Demorei uns dois anos para descobrir que depois de digitar eu tinha que dar o comando "Run" que era acionado pela tecla F4. A minha maior graça era quando a listagem digitada desenhava alguma coisa na tela, mas eram muitas horas de frustração para um quadradinho monocromático na tela.

Aos 13 por ironia, a primeira linguagem de programação que eu quase aprendi foi Python. Não foi por escolha, sem querer achei um tutorial na internet e a instalação foi fácil. Digo por ironia porque isso foi em 96 e o Visual Basic e o Delphi reinavam eu fui logo me envolver como uma linguagem dinâmica. Claro que eu não sabia o que era uma linguagem dinâmica.

Fui fazer o segundo grau técnico em informática e nessa época os tutoriais de Python já tinham acabado e eu acabei aprendendo VB. O que de certa forma foi legal porque finalmente eu entendi aqueles comandinhos do BASIC.

No primeiro ano, a disciplina que eu mais gostava era a de programação e a linguagem utilizada era LOGO. A primeira coisa que pensei quando eu vi aqueles comandos para mexer a tartaruga foi que isso era coisa para criança (e era mesmo). Tupetudo como sempre, perguntei para o professora porque é a linguagem que agente ia usar era LOGO? Estava doido para aprender C e eu ia ficar um ano fazendo uma tartaruga andar?
Pacientemente a professora me explicou que apesar da tartaruga, LOGO tinha todos os conceitos que ela gostaria de ensinar nessa disciplina cujo objetivo era apresentar uma linguagem procedural.

Aceitei a tartaruga e me divertir muito com ela. Hoje recebi um e-mail avisando que o StarLogo atingiu a maioridade. Saiu a versão 1.0. O StarLogo é uma evolução dos conceitos do LOGO para um ambiente tridimensional. Você vai ligando os blocos que se comunicam via mensagens (isso te lembra alguma coisa?) para fazer o tartaruga e um monte de outros personagem ganharem vida em um universo 3D. Essa nova versão traz um monte de novidade. Se na época do BASIC eu tivesse o LOGO talvez teria sido uma criança mais feliz! Volte a ser criança. Baixe o StarLogo e divirta-se.


Flex 4 introduction video

by Michał Wyrobek | 1 day ago | Read more

Another really interesting video from Adobe TV demonstrating some of features related to designer/developer workflow that will be coming in Flex 4 and Thermo. There we can see how easy will be creating custom components and generally design of our apps. Like I said some time ago there is no need to use Degrafa (Declarative [...]

6 aizatto: Temporary development environment setup. For how long?

by Ezwan Aizat bin Abdullah Faiz | 1 day ago | Read more

aizatto: Temporary development environment setup. For how long?

On track ?

by Glenn Verhalle | 1 day ago | Read more

I admit, I’m a Rails fan. Not because it’s the best thing since sliced bread, but because it offers me a way to develop my applications in a fast, consistent and reliable way. But Rails is not perfect… Thanks to its plugin structure it’s already a lot better than most large monolithic solutions but it [...]

Me_square Moving a Rails app from 1.2.6 -> 2.0.2

by Greg Donald | 1 day ago | Read more

Recently I was tasked with upgrading a working Rails 1.2.6 application to version 2.0.2. Here are the majority of issues I found and their fixes/workarounds: Old reverse_proxy_plugin = broken functional tests: The units tests were fine, but all the functional tests were broken. Something like this: post :list, { :site_id => site.id }, { :user_id => user.id } w...

http://destiney.com/blog/moving-a-rails-app-from-1-2-6-2-0-2

6 aizatto: Its fun to dream of hardware.

by Ezwan Aizat bin Abdullah Faiz | 1 day ago | Read more

aizatto: Its fun to dream of hardware.

Be cool with DRb, it’s far from “scalable”

by Nicolas Fouché | 1 day ago | Read more

When you begin to learn DRb, you quickly land on the famous Chad Fowler page, entitled “Intro to DRb”. The “Concurrency” chapter is particularly interesting when you want to make a local resource available in the wild, allowing one request at a time on your resource. So, with DRb, a dash of method_missing and a pinch of [...]

6 aizatto: Reading reviews, and rather disappointed.

by Ezwan Aizat bin Abdullah Faiz | 1 day ago | Read more

aizatto: Reading reviews, and rather disappointed.

As I've not done a memefest in a while...

by Eleanor McHugh | 1 day ago | Read more

Your result for The Fetish Clothing Style Test...

Rubber

You scored 820 sexiness!

The most unique of the bunch, you like things to be different.

Take The Fetish Clothing Style Test at HelloQuizzy



Your result for The Would You Have Been a Nazi Test...

The Expatriate

Achtung! You are 31% brainwashworthy, 27% antitolerant, and 38% blindly patriotic

Congratulations! You are not susceptible to brainwashing, your values and cares extend beyond the borders of your own country, and your Blind Patriotism does not reach unhealthy levels. If you had been German in the 30s, you would've left the country.





One bad scenario -- as I hypothetically project you back in time -- is that you just wouldn't have cared one way or the other about Nazism. Maybe politics don't interest you enough. But the fact that you took this test means they probably do. I'm gonna give you the benefit of the doubt.


Did you know that many of the smartest Germans departed prior to the beginning of World War II, because they knew some evil shit was brewing? Brain Drain. Many of them were scientists. It is very possible you could have been one of them.



Conclusion: born and raised in Germany in the early 1930's, you would not have been a Nazi.



<center></center>




<center><font size="4">
The Would You Have Been A Nazi? Test</font>

<font size="1">- it rules - </font></center>

Take The Would You Have Been a Nazi Test at HelloQuizzy



Your result for The Quick & Painless ENNEAGRAM Test...

3 - the Achiever

Thanks for taking the test !

you chose AZ - your Enneagram type is THREE (aka "The Performer").


"I need to succeed"



Achievers are energetic, optimistic, self-assured, and goal oriented.



How to Get Along with Me




  • Leave me alone when I am doing my work.


  • Give me honest, but not unduly critical or judgmental, feedback.


  • Help me keep my environment harmonious and peaceful.


  • Don't burden me with negative emotions.


  • Tell me you like being around me.


  • Tell me when you're proud of me or my accomplishments.



What I Like About Being a THREE




  • being optimistic, friendly, and upbeat


  • providing well for my family


  • being able to recover quickly from setbacks and to charge ahead to
    the next challenge


  • staying informed, knowing what's going on


  • being competent and able to get things to work efficiently


  • being able to motivate people



What's Hard About Being a THREE




  • having to put up with inefficiency and incompetence


  • the fear on not being -- or of not being seen as -- successful


  • comparing myself to people who do things better


  • struggling to hang on to my success


  • putting on facades in order to impress people


  • always being "on." It's exhausting.



THREEs as Children Often





THREEs as Parents




  • are consistent, dependable, and loyal


  • struggle between wanting to spend time with their children and wanting to get more work done


  • expect their children to be responsible and organized





Renee Baron & Elizabeth Wagele

The Enneagram Made Easy

Discover the 9 Types of People

Harper
SanFrancisco, 1994, 161 pages




You liked the test?

so S P R E A D I T ! tell everyone!!!
(use Quick-Paste below)


you wanna know MORE?

so check out, what Wikipedia says about your type...



...even more you'll find in Google


or do you prefer to

<font class="usertext">
</font>







You are not completely happy with the result?!

You chose AZ


Would you rather have chosen:

  • BZ (FIVE)
  • CZ (ONE)
  • AX (SEVEN)
  • AY (EIGHT)
  • Take The Quick & Painless ENNEAGRAM Test at HelloQuizzy



    You'll have to judge for yourselves how accurate any of those are ;)

    2477614714_700a70b2a0 Karen's excellent curry and larb [Flickr]

    by John Wulff | 1 day ago | Read more

    John Wulff posted a photo:

    Karen's excellent curry and larb



    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

    Marshall Sontag:

    My go-to man for rails questions.

    - Sbubble J.Z, United States