Archive

Archive for June, 2005

World Premier of “War of the Worlds”

June 25th, 2005 michael No comments

Movie
Wednesday, 29 June in Rio Cinema and K-Cineplex will be a world premiere of a Steven Spielberg film “War of the Worlds”. The key role in that movie is played by Tom Cruise. The story is based on H.G. Wells novel of the same name and it’s about war between spiteful aliens and earthlings. The story already was made into a movie in 1953 – “The War of the Worlds“. Its user rating is 7.2/10 (3,715 votes).
I’ve watched a trailer and I was impressed. It’s a great movie (please, don’t kick me if this is not the case :) )! Don’t miss the most considerable premiere of the summer! I’d like to suggest you go to Rio Cinema. It’s not an ad, actually. I really like Rio because there is a good quality of sound and picture. Much better than in K-Cineplex!

Categories: Uncategorized Tags:

Passed LCCI Higher Exam

June 24th, 2005 michael 5 comments

Cap
I’d like to congratulate my dear wife Maria who passed LCCI (London Chamber of Commerce and Industry International Qualifications) Higher Exam with credit! She’s studied for two years and finally she’s got that significant certificate! I’m very very proud of her achievements. And I love her very much!
Now Maria needs to have some rest. Because it’s difficult to study if you also should work at office and home.

Categories: Personal Tags:

Magic Of PHP

June 23rd, 2005 michael 4 comments

When I started to customize SugarCRM I needed to study PHP againg. Because my last PHP project was four years ago. So, I found some strange notation of creation of PHP objects:

$obj = & new SomeObjest();

I asked guys who work with me and have experience with PHP about sign “&“. But unfortunatelly, nobody could to explain me meaning of that construction. Recently, I found explanation. PHP4 creates an object and assign it to some variable by value. Using “&” we can assign the object by reference. In other words, we get a reference to the object instead of object itself.
In PHP5 it’s done automatically. In Perl too :)

Categories: Digital Life Tags:

Measurement of time with change Windows passwords

June 22nd, 2005 michael 2 comments

In our company all employees should change they Windows password every some small period to make a good security. Windows server remember 18(!) previous passwords. So, everybody spend some time to create a new one which shouldn’t similar as old one.
I work under Linux and get to know about my password going to expire or already has expired when I login to Windows terminal server or my email client doesn’t work (yes, it’s Exchange).
Today I’ve seen notice that my password will be expired after two days. I’ve decided to change it and put my the first password in the company. It was changed successful! So, the passwrd cyrcle was locked! I’ve started from the beggining!

Categories: Personal Tags:

The First SuperBingo Prize

June 22nd, 2005 michael No comments

Yesterday I and Maria played in SuperBingo. We ordered four cards (one for each color: green, yellow, blue and pink) by mobile phone . Our favourite color was yellow because we won with yellow card our first SuperBingo prize – 8CYP :) . Remember that the first showball was won exactly on yellow card!
So, it was not bad: we spent 4CYP and won 8CYP. We were in profit! We will spend our prize on new cards and try one’s luck again!

Categories: Personal Tags:

Encoding missunderstanding

June 17th, 2005 michael No comments

Yesterday I was a little bit confused. I needed to do a very simple task: to import data from CSV file to the database. One guy sent me two files with data which were created in MS Excel and than saved as CSV. I stored both files in my Linux machine and imported the first one without any problems using a simple Perl script.
I was very surprised when I started work with second file. My script gave me many errors. I tried to see the file with less and I was surprised more because less found that file as binary! I copied the file to the public share, logged to the Windows terminal and open it with Notepad. It was simple text file! I tried to see it on Linux the effect was the same it was binary! My first thought was Brain overload!
FAR helped me to understand what a problem was. I saw Unicode when open that file in FAR editor. The file was saved in CSV Unicode format. After saving in simple CSV I could finish my task!

Categories: Digital Life Tags:

Play around with ‘wc’

June 17th, 2005 michael 2 comments

Recently I’ve playd aroung with wc which is not a water closet actually :) . This is a Linux utility which can count bytes, words and newlines for some file. And additionally it counts a total lines for more than one file is specified. So, I’ve decided to count lines for Billing System (I work with that project three years!). Billing System is pure Perl application contained Perl modules and scripts and also web interface Embperl scripts. Let’s see results:

  • Perl modules: 102707 rows;
  • Perl scripts: 16320 rows;
  • Embperl scripts: 83494 rows;
  • Grand Total: 202521 rows!

Uh-h-h. At least one third of them is mine (he-he-he)!

Categories: Digital Life Tags:

Star Wars Mania

June 8th, 2005 michael No comments

Micro Trooper
St Petersburg

Personally, I don’t like new parts of Star Wars. Last Suturday I and Maria wen to Rio cinema and watched last part. It was boring exept final. But many people like Star Wars and have a fun !

Categories: Humor Tags:
Get Adobe Flash playerPlugin by wpburn.com wordpress themes