Category Archives: Programming / Web

Various programming / web development related stuff: ruby, php, html, css, bash, batch scripts, dbf, c++, java, etc.

Sane Ruby console on Windows or how to patch IRB to behave like *nix.

This is a post for those poor souls who are like me stuck for whatever reasons developing in Ruby on a Windows system. I don’t know about other people, but I spend a big chunk of my development time in console, particularly in irb or rails console: trying things out & debugging. Do you want [...]
Also posted in Operating Systems, Technology | Tagged , , , , | Leave a comment

MySQL: Selecting all records for the previous month.

I had a to do a report for a client today that would get all the orders placed in the previous month and that report needs to run on the 5-th of the following month. For example, if today was 5th of March it would have to show all the orders for the month of [...]
Posted in Programming / Web | Tagged , | Leave a comment

Why is it essential to know you subject matter, at least sometimes.

I’m not a big fan of higher educaiton, actually I think it’s counter productive for some people. I’ve been arguing for a long time that a determined and eager person can get a better education on their own. Thankfully once in a while I come across some gems that prove my point entirely, thou in [...]
Also posted in Humor, Operating Systems, Technology | Tagged , , , , , , , | Leave a comment

How to read & write to a dbf database file from ruby.

A little history. The company I work for has an old system that was written in house for a period of almost 20 years and it’s done in dBase. Once cool and allmighty, it’s not longer, dare we say, a system that is at the forefront of computer technology. It has a numerous problems, i.e. [...]
Posted in Programming / Web | Tagged , , , , | 6 Comments

Если бы языки програмирования были бы машинами.

Below is my literary translation ( with some small changes and additions ) of a post on Mike Vanier’s website – If programming languages were cars. Translated and posted with author’s permission. Ниже – мой литературный перевод заметки на сайте Майкла Ваниера, с небольшими добавлениями и немного отсебятины. Переведено и напечатано с разрешения автора. Ada – [...]
Also posted in Culture, Humor, Technology | Tagged , , , , , | 3 Comments