alex brie . net

bloghez din 2003 despre mine, internet, prieteni si altele.

  • Blog
  • About
  • Contact
  • Articole preferate
  • Publicitate
  • Blogs

10 Ruby programming tips you should already know

July 2nd, 2008 | 2 Comments »

Other blogs about Ruby or Rails have already touched some of the tips I’m going to show, but it never hurts to remind you these small recipes aimed at Ruby novices:
Daca esti nou pe aici, nu uita sa te abonezi la feedul meu RSS . Iti multumesc pentru vizita!


in Rails, Ruby, Tips and Tricks |

Enumerable iterators (why I love Ruby part 2)

January 16th, 2008 | 1 Comment »

Got myself a sleepless night recently and killed some time reading the Rubyisms in Rails book. The chapter about Iterators was particularly pleasant, reminding me the beauty of Ruby’s Enumerable class - feels so Lisp-ish and Scheme-ish to write stuff like col.select{..}.collect{..}.join(”, “)
For the curious, here’s a cool excerpt from the book, with Enumerable’s most […]


in Rails, Ruby |

Ruby Metaprogramming part 2

November 7th, 2007 | 1 Comment »

Last time I discussed Ruby and metaprogramming, I was trying to stay DRY (Don’t Repeat Yourself) while coding some very similar-looking methods. The solution, then was to use class_eval to dynamically add methods into the current class, the way attr_accessor and it’s peers already do.
Today I was having a similar, yet more difficult problem: the […]


in Rails, Ruby, Tips and Tricks |

Ruby: create your code on the fly

September 8th, 2007 | 10 Comments »

Ruby is so powerful it scares me. I’m far from even grasping how powerful it is. Whenever I discover something cool to do with it, I have the urge to tell it to the world.
First, here’s the context:
I’m currently working my way through building a Rails browser game in the style of these ones. For […]


in Ruby, Tips and Tricks |

Ruby for daily chores: Extracting most frequent loto numbers

August 19th, 2007 | No Comments »

Here’s the quick story: I was hoping to win the Romanian lottery (6 winning numbers out of 49). On the website, they were having the list of the winning numbers from 1998 to now. So I copy-pasted them all into a text file, and wrote a quick and dirty script to count their appearances and […]


in Ruby, Tutorials |

Setting up Rails and SQLITE

April 25th, 2007 | 2 Comments »

If you are interested in web, databases and the like then you probably already heard of SQLITE. If not, here’s a quick intro
SQLITE is a database engine that uses just one file per database. It’s tiny, simple to use and, most importantly, very easy to use with Ruby on Rails. All you need is the […]


in Rails, Ruby, Tutorials |

TwitterYM - tiny ruby Yahoo Messenger status Twitter updater

April 4th, 2007 | 20 Comments »

Challenged by a commenter on my website, I spent the last half an hour coding a tiny application that updates your Yahoo Messenger status with your latest Twitter status. It’s Windows only (I’m a Mac user myself, and twitterific does a good job for it).
The reason why it’s a Ruby script and not a self […]


in Ruby |

Grepping in Ruby

April 3rd, 2007 | No Comments »

You can’t call yourself a programmer if you never used Grep (or diff, or wget, or regular expressions for the matter). I couldn’t call myself a programmer till the fourth year of college, btw..
Still, grep has a pretty big manual page, and being a casual grep user I never see the need to memorize […]


in Ruby, Tutorials |

  • Pe vremea asta...

    • 2007: Nice S
    • 2006: Vin nuntile
    • 2005: Singuri
    • 2005: Caut apartament
  • Despre Alex Brie

    View Alexandru Brie's profile on LinkedIn

    Bloger pasionat din septembrie 2003.
    Software engineer; master in cercetare algoritmica la Ecole Polytechnique Paris; a lucrat in Paris in software bursier.

    Inapoi in Romania din 2006, programeaza Ruby on Rails pentru un startup american, este consultant independent, blogger si antreprenor cu diverse proiecte online
    [afla mai multe..]

    Aboneaza-te RSS(Romanian)

      
    Acum te poti abona si prin email.

    Subscribe(English)

  • Urmareste-ma si pe Twitter

    • Recomand

      jurnal de fapte bune cele mai tari stiri de pe blogurile

    • Users Online

      • 26 Users Online
      • Users: 26 Users
    • Comentarii recente

      • Cu ce masini m-am dat in Romania | Cafeina.ro on On/Off road adventure - Concluzii Drive Test SSang Yong Rexton
      • farouk on Beginner’s blogging guide - How to bring traffic to your blog
      • limpede on Berea e placere ?!
      • Alsaru on Patine cu rotile - wishlist 1
      • Ibdreamy.com » Blog Archive » Twitter Apps, Plugins and Tools on TwitterYM - tiny ruby Yahoo Messenger status Twitter updater
      • Alex on Berea e placere ?!
      • Gelu on Berea e placere ?!
      • Skandalouz on Bucurie pura
      • Andrei on Bucurie pura
      • Alex on Cum voi castiga eu la loto :D
      • Alex on 10 Ruby programming tips you should already know
      • Piku on 10 Ruby programming tips you should already know
      • Anca on Caut Crocs
      • Alex on Hai in blogroll si poti fi Blogul saptamanii, pe Alex Brie . net
      • Alex on Capac de canal la Sibiu
    • bloguri care ma citesc

      • Andrei.Voce.ro
      • Avram Seby
      • Blog ul lui Mage - mai acid decat clorhidricul
      • Blogatu
      • Bogdan’s Weblog
      • Costinu Rgbdesigners
      • cotofana.RO
      • dEsign.101
      • Dowel
      • Insemnari.ro
      • Kappacelu
      • LIMPEDE - blog
      • Mihai Nasaudean Blog
      • serban.us
      • www.liveMag.ro
    • Archives

    • TLA

      • party supplies
    • Categories

      • Blog (1320)
        • carcoteli (4)
        • English (14)
        • evenimente (6)
        • FILMS (33)
        • French (3)
        • fun (57)
        • intrebari (5)
        • jocuri (5)
        • masini (1)
        • masini (1)
        • matematica (1)
        • PHOTO (147)
          • desene (12)
          • flori (2)
          • oua rosii (1)
        • Projects (81)
          • business (31)
          • ROSI (12)
        • Promo (3)
        • Romanian (118)
          • aici (49)
          • repat (33)
        • scurte (10)
        • Software (23)
          • .mac (20)
        • stiati ca (4)
        • Stiri IT Media si Internet (51)
          • yahoo (1)
        • Technicalities (66)
        • Web (460)
          • links (150)
          • Memes (54)
          • video (58)
      • dev (21)
        • Open Source (1)
        • Rails (9)
        • Ruby (8)
        • Textpattern (2)
        • Tips and Tricks (9)
        • Tutorials (7)
        • Wordpress (6)
      • iPhone (7)
      • opinii (1)
      • recenzii (9)
      • tutoriale (1)
      • Words (133)
        • essays (32)
        • Politice (44)
        • vss[very short stories] (5)
    .mac aici antreprenoriat Apple Basescu Blog blogger bloggeri blogging blogosfera bloguri blogvertising booq bucuresti business carti ceausescu cleopatra stratan comics concurs conferinte Desktop-TD Digg evenimente feedburner FILMS flash fun ganduri Google internet intrebari iPhone iread IT jocuri Leopard links linkuri Manafu marketing marketonline market online masini mema Memes Microsoft muzica myblog Netcamp netstart olimpiade online oprescu OSX personal PHOTO politica Politice poze presa programare proiecte publicitate Rails repat review rexton roblogfest Romania Romanian ROSI Ruby script seo snippet software spam ssang yong stiri Techmeme testdrive Tips and Tricks triburi triburile tutorial Tutorials twitter Utopia viata viata mea video viral vodafone Web Wordpress Words yahoo yahoo messenger youtube

    Entries (RSS) and Comments (RSS).
    Theme inspired by CrunchNotes, by Alex Brie.

    Copyright © 2005-2008 alex brie . net. Unele articole pot contine tematici sau linkuri sponsorizate. Opiniile si idele sunt intodeauna ale autorului, care le imbratiseaza si le sustine.