Author Archives: qertoip

Responsibility

After it was revealed he cheated on his wife, Arnold Schwarzenegger said: “After leaving the governor’s office I told my wife about this event, which occurred over a decade ago. I understand and deserve the feelings of anger and disappointment … Continue reading

Posted in english, lifestyle | Leave a comment

Izolacja transakcji w aplikacjach Ruby on Rails

Na WRUG-u miałem przyjemność opowiedzieć o izolacji transakcji w ogóle oraz konkretnie w Railsach. Zareklamowałem też dwa gemy mojej produkcji: transaction_isolation pozwala wygodnie manipulować poziomem izolacji transakcji. Gem jest dosłownie bezkonkurencyjny. Tzn. żadne inne dla ActiveRecorda nie istnieją. Natomiast transaction_retry … Continue reading

Posted in polskie, programowanie, rails, ruby | Leave a comment

DataMapper 2 – nie mogę się doczekać

Jest późno w nocy i nie mam czasu uzasadniać – po prostu zaufaj mi i przeczytaj o DataMapper 2 na blogu Piotrka Solnicy: http://solnic.eu/2012/01/10/ruby-datamapper-status.html.

Posted in polskie, programowanie, rails, ruby, technologia | Leave a comment

Dekorator w Ruby

Dekorator przyjmuje w konstruktorze obiekt i dodaje do niego nowe zachowania. Przykładem dekoratora jest Presenter – klasa dodająca do obiektu możliwość zaprezentowania się, np. w postaci sformatowanego Stringa, XML-a czy JSON-a. Na wroc_lover.rb Piotr Szotkowski pokazał bardzo fajny sposób tworzenia … Continue reading

Posted in polskie, programowanie, rails, ruby, technologia | 8 Comments

Do zobaczenia na wroc_love.rb!

Moi wierni czytelnicy (łudzę się, że są tacy ;)) – do zobaczenia na wroc_love.rb! Patrząc po prezentacjach, konferencja zapowiada się na taki Ruby OO summit i świetnie wpisuje się w ostatnie trendy w railsowym świecie. Żyliśmy The Rails Way przez … Continue reading

Posted in lifestyle, polskie, programowanie, rails, ruby, technologia | 2 Comments

Uncle Bob: decouple your app from Rails

Robert C. Martin in his famous keynote “Architecture: The Lost Years” says we, the proud Rails programmers, are doing it wrong. Uncle Bobs urges us to decouple our applications from frameworks. And Rails is no exception. According to Uncle Bob, … Continue reading

Posted in english, programowanie, rails, ruby, science, technologia | Leave a comment

Default transaction isolation level comparison in MySQL, PostgreSQL, Oracle and MS SQL Server

When building software you should understand what level of transaction isolation your RDBMS guarantees. Do you? I meen, how much of the “I” in the ACID we have? Here are the default transaction isolation levels in a popular relational database … Continue reading

Posted in english, programowanie, rails, ruby, science, technologia | 4 Comments

Opis stosu Racka w Rails 3.2

Właśnie wyszły stabilne Railsy 3.2. Przy tej okazji przyjrzałem się stosowi Racka. Za co odpowiedzialne są poszczególne middleware’y? Stos Rails 3.2 wygląda następująco (kolejność od najwcześniej do najpóźniej uruchamianych middleware’ów, jak przy rake middleware): # Serwuje statyczne pliki use ActionDispatch::Static … Continue reading

Posted in polskie, programowanie, rails, ruby, technologia | 7 Comments

Software Craftsmanship

Załączam prezentację “Software Craftsmanship – od studenta do profesjonalisty”, którą wygłosiłem na Wydziale Elektroniki i Technik Informacyjnych Politechniki Warszawskiej 19 stycznia 2012: Prezentacja: https://github.com/downloads/qertoip/Prezentacja-Software-Craftsmanship/software_craftsmanship.html Źródła: https://github.com/qertoip/Prezentacja-Software-Craftsmanship  

Posted in clojure, git, javascript, lifestyle, polskie, programowanie, rails, ruby, technologia | Leave a comment

[Solved] Nano copy paste

Nano is the closest-to-being-sane, widely available text editor for Linux. While still fucked up, you can get used to it in several hours. One of the biggest headaches seems to be selecting, copying and pasting. Nano help isn’t really helpful … Continue reading

Posted in english, linux, programowanie, rant, technologia | Leave a comment