valibuk.net

A place for opinions and notes of a valibuk.

New style, Nový štýl

Tagged with: — ondrej at 10:17 am on Sunday, October 22, 2006

Do you enjoy the new style of this blog? :)

Páči sa vám nový štýl tohto blogu? :)

Podpora slovenčiny i s triedením v PostgreSQL a Ruby on Rails

Tagged with: — ondrej at 5:33 pm on Friday, October 13, 2006

Ruby on RailsAk používate PostgreSQL databázu a radi by ste slovenké písmenká i triedenie mali, nasledujúci návod vám k tomu pomôže.

Keďže používam Gentoo distribúciu, uvediem aj kroky potrebné pre úspešné používanie slovenčiny na tejto distribúcii.

A ako posledné si ukážeme, ako to všetko použiť v Ruby on Rails.
(There is more where this came from … )

Bug in Google Maps

Tagged with: — ondrej at 9:41 pm on Wednesday, October 4, 2006

A bug in Google Maps.

Hehe ;)

Removing constraints in migration

Tagged with: — ondrej at 7:44 pm on Wednesday, October 4, 2006

Ruby on RailsWith a migration you can create a table or insert data to a table, also there is a possibility to modify existing tables; from renaming tables to changing the type of a column. And what about constraint such as default value or not null?

Yeah, you can change them too, but I was only successful with adding them — removing them was not possible with standard Rails methods.
(There is more where this came from … )

Observing more fields with AJAX helper and Unicode

Tagged with: — ondrej at 11:01 pm on Monday, October 2, 2006

Ruby on RailsIn my post about using the observe_field helper for observing more fields I used the escape method (on the client side).

I have found out the code does not work correctly with Unicode characters :(
(There is more where this came from … )

Switching Network Configurations

Tagged with: — ondrej at 10:54 pm on Monday, September 25, 2006

Larry the CowI use my notebook mainly on two places: work and home. Each of this places has different network configurations — at work I have a fixed IP, at home I have a DHCP server.

Actually there is a very nice application for changing network configurations (or, if you like, profiles) — QuickSwitch (emerge quickswitch).
(There is more where this came from … )

Clicking Sound of Hard Drive on Dell Notebook

Tagged with: — ondrej at 1:05 am on Sunday, September 24, 2006

Arrrrgh… It was like a torture! The harddrive in an only-few-days-old notebook (Dell Latitude D820) was producing an annoying clicking sound.

Click… 10 seconds…. CLICK…. 9 seconds…. CLICK
(There is more where this came from … )

Gentoo on Dell Latitude D820

Tagged with: — ondrej at 11:23 pm on Saturday, September 23, 2006

Larry the Cow Hurrah :) This week week I got a new notebook. Yeah, it took one month (meanwhile I was reading the Programming Ruby book, so it was quite short month; it is a nice book, I can only recommend it ;).

But back to the notebook. I installed Gentoo on it and I wrote a short howto.

Optická sieť pre domácnosti v Bratislave II.

Tagged with: — ondrej at 2:01 pm on Friday, September 22, 2006

Keďže už je september a malo sa čosi diať (viď môj predchádzajúcu príspevok), opäť som zavolal na číslo z letáku od Orange.

K pripájaniu by malo prísť ku koncu roka, v decembri; zatiaľ prebieha výstavba siete… Služby ma mali zahŕňať internetové pripojenie, televíziu, video požičovňu a telefonovanie. Ceny či balíky služieb zatiaľ (stále) nie sú k dispozícii.
(There is more where this came from … )

Copy With Exclude

Tagged with: — ondrej at 11:32 am on Tuesday, August 29, 2006