Please follow me in my new site

May 31st, 2010 Petros No comments

The time has come to move on. If you like what you were reading, please follow me in my new site at http://amiridis.net

The new site is under construction so please be patient as I add more features to it, such as RSS feeds etc.

I use Ruby on Rails to create the site from scratch.

This site will no longer be available starting from tomorrow.

Categories: news Tags:

People don’t buy what you do they buy why you do it

May 11th, 2010 Petros No comments

I really liked the following TED speech by Simon Sinek:

Categories: videos Tags: , , ,

MySQL gem doesn’t work after upgrading Ubuntu

May 6th, 2010 Petros No comments

I upgraded Ubuntu 9.10 to 10.04. Everything was cool. I tried to work on a Rails project I am involved by issuing the command rake db:migrate to update the database.

I was getting the following error:

Error: uninitialized constant MysqlCompat::MysqlRes

Then I uninstalled the mysql gem and tried to install it again only to get the following error:

Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

Then I issued the following command:

sudo apt-get install libmysqlclient-dev

and then installed mysql gem and it installed with no problems. Finally, rake db:migrate worked again.

Categories: tips Tags: , , , , ,

Moving blog to something else

April 6th, 2010 Petros No comments

I was thinking about this for a long time. I want to move my blog to something else that will look like a blog but not exactly. It is going to be on a different URL too. There are four reasons behind this decision:

  1. My current hosting provider stops supporting Wordpress. (my blog runs on a shared hosting account)
  2. 7deeds doesn’t represent what I do or who I am anymore
  3. I want to include more activities that don’t really belong here but I don’t want to start 10 different blogs
  4. I want to promote my personal business(es)

As a programmer, I want to be a wise guy and also break the rule “Don’t reinvent the wheel”. I will not use any blogging or CMS platform. I will rather create it from scratch using Rails. Please feel free to call me names.

More about the move later. When everything is ready, I will notify you through the last post for this blog.

Categories: news Tags: ,

The psychology of instant messaging

March 23rd, 2010 Petros 2 comments

We are using instant messaging a lot (IM). Our team is working remotely and IM helps us communicate. I have realized that communicating using IM can be rather difficult sometimes. One of the reasons is the lack of visual contact. The two (or more) chatting parties cannot show their body language.

Read more…

How to enable VCS infromation in zsh

March 10th, 2010 Petros No comments

If you are using zsh as your terminal in Ubuntu, you can use a built in feature to display version control information at the prompt.

After reading “Zsh Prompt Magic” I created the zsh_vcs_info file which you can download. You place it in your home directory and open .zshrc and add the following line:

source /home/user/.zsh_vcs_info

Notice that I added a . (dot) in the filename because I want it to be hidden. Also, notice that “user” in the path above, is the username of the account you use to log into Ubuntu.

Categories: tips Tags: , , , , ,

Daily scrum meeting for remote teams

March 1st, 2010 Petros 2 comments

As a remote team with dispersed team members, we need to find ways to stay connected, motivated and committed. We thought of borrowing something from Scrum and try it out. It’s the Daily Scrum Meeting or Daily Stand Up and we have decided to try it for 30 days and see if we like it or not.

Read more…

PAbarcode gem

December 30th, 2009 Petros No comments

In a previous post I mentioned that I started maintaining a set of helper Ruby classes for working with barcodes. I have changed the structure of the project to make it a gem and I have published it on GemCutter.

Read more…

Categories: 2-deed Tags: , ,

Ruby helper classes for barcodes

December 23rd, 2009 Petros 3 comments

In my day job, I work a lot with barcodes. We develop Windows Mobile software for devices with barcode readers. From time to time, I need to do file manipulation chores. That is: colleagues give me text files that contain barcodes and ask me to transform these.

Read more…

Categories: 2-deed Tags: , ,

Blog Action Day: Working remotely helps pollute less

October 15th, 2009 Petros No comments

If you follow me, you know by now that me and my team (4 people in total) started working remotely. I was wondering what to write for Blog Action Day. I decided it would be cool if I could calculate some numbers that showed how we affect our environment in a positive way.

Read more…