Hazard's stuff

Comparison of C, C++, Java, Perl, Python, Rexx, and Tcl

— Posted by hazard @ 05-11-28 00:24
I encountered an interesting paper - "An emperical comparison of C, C++, Java, Perl, Python, Rexx, and Tcl for a search/string processing program". Basicly the same task was given to a number of programmers, and then various parameters such as time to analyze the task, write the code, reliability, performance, memory consumption etc were compared. The results are in line of what I would expect for the specific task. Perl got the best score for the time to develop the code, while C/C++ had the best performance and memory footprint. Java performance was lower than I would expect, but that can be explained that the report is circa 2000 and nowadays JVMs should have much better performance.

The Country of Pitcairn

— Posted by hazard @ 05-11-27 23:01
Ever heard of Pitcairn? According to CIA factbook, its an island in Oceania with an area of 4.5 sq. km and population of less than 50 people. Britain's most isolated dependency indeed - vessels visit the island about three times per year, so you should plan your trip ahead. :-)

Visitors are welcome to use Pitcairn's facilities:
  • The General Store, open several times a week. Note that flour, eggs, meat and butter are provided only if ordered several months in advance as they must be imported from New Zealand.
  • The Satellie Earth Station, equipped with a telephone and a fax. Open during business hours.
  • The Health Centre, staffed by Resident Nurse, an Assistant Nurse and a local Dental Officer who also doubles as an X-ray Technician. From time to time, doctors visit Pitcairn, usually as part of their own planned holiday, giving their services to the community. The Resident Nurse is usually the wife of the Island Pastor. Pitcairner, Meralda Warren currently serves as the Assistant Nurse. She is also the Island's Police Officer and Secretary of the local Co-operative Store. Steve Christian, who holds the position of Supervising Engineer, swaps his over-alls for the white Dental Officer's Coat to attend to the dental needs of the islanders. He has recently extended his skills to include the manufacture of dentures and has many satisfied clients. Steve is also the X-ray Technician.
  • The Church. Note that The Seventh Day Adventist Church is the only faith represented on the island.
  • And of course, the cosy Hostel, with enough space for eight people.


  • The island has two generators which provide 240 volt electric power for approximately six hours each evening and for three hours each morning. First paved road was opened on 13th of October 2005.

    In October 2004 the economy of the island was stuck by a crisis due to arrest of 1/4th of the labour force was arrested and ships couldn't be unloaded (the island has a labour force of 12 able-bodied men).


Color Bubbles! Yay!

— Posted by hazard @ 05-11-18 03:52
A toy inventor has spent 11 years of his life to invent color bubbles. :) Very cool story (found through Slashdot).

Sony's DRM rootkit

— Posted by hazard @ 05-11-16 01:20
Just in case you didn't know... Sony is in such despair to stop their customers from ripping audio CDs that they included a rootkit as part of bundled DRM software. You see, as soon as Sony's customer installs the player software from his legitimately purchased CD, he would not only have a player on his system, but also a rootkit hidden deeply inside Windows! Fantastic.

Everything was fine and dandy until Sysinternals discovered and blogged about it.

Following a public outcry, Sony released an "uninstaller" for the rootkit. However, as Sysinternals found, what it does is installation of an updated copy of DRM... Moreover, you have to fill in a couple of forms to get the uninstaller...

Already a few trojans have appeared that utilize cloaking capabilities provided by the rootkit. Obviously writers of these trojans didn't read Sony's press release, in which they would have learned that Sony DRM software does not present any security risk for customer's PC.

So, that's it? Nah. The player software is nice enough to access Sony's website each time you run it. Sure, having some extra information about your customers wouldn't hurt.

Now, imagine that rootkit was developed/distributed not by Sony, but by some teenage guy. Would he still be around?


System of a Down "Mezmerize" review

— Posted by hazard @ 05-11-14 03:24
In "Mezmerize" System of a Down continues performing in the style of "Toxicity", i.e. having fun with instruments and voices. :) From the musical point of view, it is not as good, but is still fun to listen, particularly because of lyrics. Not for audiophiles.

Recommended tracks: B.Y.O.B; Revenga; Radio,Video; Violent Pornography; Sad Statue; Old School Hollywood.

Album rating: 7/10


Madonna "Hung Up" review

— Posted by hazard @ 05-11-14 02:50
Madonna has my respect just for managing to stay in the POP music for so long. She adapts to whatever market currently wants and maintains high quality at the same time. "Hung Up" has proven that again - Madonna has decided to become a disco queen. :) Sound is quite refined and entire album is easy to listen.

My favourites: Hung Up, Future Lovers, Isaac.

Album rating: 6.5/10


ï ÂÅÚÁÌËÏÇÏÌØÎÏÍ "ÐÉ×Å"

— Posted by hazard @ 05-11-14 02:48
ëÕÐÉÌ Becks × ÍÁÇÁÚÉÎÅ, É ÎÅ ÚÁÍÅÔÉÌ, ÞÔÏ ÎÁ ÎÅÍ ÎÁÐÉÓÁÎÏ "non-alcohol", ÐÏËÁ ÕÖÅ ÎÅ ÄÏÓÔÁÌ ÄÏÍÁ ÉÚ ÈÏÌÏÄÉÌØÎÉËÁ. ðÏÐÒÏÂÏ×ÁÌ. ôØÆÕ.

Carrefour in Cyprus

— Posted by hazard @ 05-11-09 01:41
There is an intresting article in Financial Mirror about Carrefour acquisition of Chris & Carry and its plans for domination on the island. My feelings are a bit mixed, as for sure Carrefour will purchase everything abroad if it is cheaper and local business will suffer, while on the other hand they will bring more efficiency and lower cost of living, which in general should be positive for the economy.

"Carrefour took over the Management of Chris Cash and Carry on August 18th 2005 after the resignation of the three Directors -- Mr. Christos Vakis, Mr. Andreas Constantinides and Mrs. Vasiliki Andreou -- and the appointment to the Board of Directors of a) Mr. Jerome Loubere, b) Mr. Michael Hrostoff, c) Mr. Alain Goanvec."

"The policy of Carrefour worldwide is to be 3% cheaper than the cheapest retailer operating in the market."

"The giant has already imported 20 private label products under the Carrefour brand and now they are busy unloading containers of non-durable goods such as washing machines, refrigerators, TV screens, and their arsenal will soon be completed."

"Moving on to Limassol, where Carrefour is aiming for the town’s 28% share of the total market value for Cyprus and CYP 182 mln spent in food and drink per year, market rumours claim that Carrefour is busy with a gargantuan 7,500 sq.m. hyperstore at the Old Lanitis Stores, previously bought by Chris Cash and Carry having obtained a town planning permit already."



MTV Europe Music Award 2005 - review

— Posted by hazard @ 05-11-06 22:59
Once again MTV shows how to do a good show. Live sound, partly hosted by Borak (ALI G), awards going out mostly to the right people (considering the public), good staging... What was wrong? Rammstein didn't get the best video.

Show rating: 7/10

ðÏÌÎÏÅ ÛÏÕ É ÉÚÂÒÁÎÎÙÅ ÍÏÍÅÎÔÙ ÍÏÖÎÏ ÓËÁÞÁÔØ Ó ÍÏÅÇÏ æôð.


çÏÒÁ óÁÍÏÃ×ÅÔÏ× - ðÒÏ âÁÒÁÎÁ É ëÏÚÌÁ

— Posted by hazard @ 05-11-06 20:02
îÁ ïòô ÎÁÞÁÌÉ ÐÏËÁÚÙ×ÁÔØ ÎÏ×ÙÊ ÐÒÏÅËÔ - ÃÉËÌ ÍÕÌØÔÆÉÌØÍÏ× "çÏÒÁ óÁÍÏÃ×ÅÔÏ×" ÐÏ ÍÏÔÉ×ÁÍ ÓËÁÚÏË ÎÁÒÏÄÏ× òÏÓÓÉÉ. ÷ÓÅÇÏ × ÃÉËÌÅ 52 ÍÕÌØÔÆÉÌØÍÁ ÐÏ 13 ÍÉÎÕÔ ËÁÖÄÙÊ, ÉÔÏÇÏ 11 ÞÁÓÏ×. ëÁÖÄÁÑ ÓËÁÚËÁ ÐÒÅÄ×ÁÒÑÅÔÓÑ ÓÐÅÃÉÁÌØÎÏÊ ÔÒÅÈÍÉÎÕÔÎÏÊ ÚÁÓÔÁ×ËÏÊ, ÚÎÁËÏÍÑÝÅÊ ÚÒÉÔÅÌÅÊ Ó ÔÒÁÄÉÃÉÑÍÉ É ÉÓÔÏÒÉÅÊ ÎÁÒÏÄÎÏÓÔÉ, ËÏÔÏÒÁÑ ÅÅ ÓÏÚÄÁÌÁ. 4 ÎÏÑÂÒÑ ÐÏËÁÚÙ×ÁÌÉ ÐÅÒ×ÕÀ ÓÅÒÉÀ - "ðÒÏ ÂÁÒÁÎÁ É ËÏÚÌÁ". íÎÅ ÐÏÎÒÁ×ÉÌÏÓØ - ÞÕ×ÓÔ×ÕÅÔÓÑ "ÒÕÓÓËÉÊ ÄÕÈ", ÁÎÉÍÁÃÉÑ ×ÙÐÏÌÎÅÎÁ × ÔÒÁÄÉÃÉÑÈ ÏÔÅÞÅÓÔ×ÅÎÎÏÊ ÛËÏÌÙ, ÈÏÒÏÛÁÑ ÏÚ×ÕÞËÁ.

óËÁÞÁÔØ ÜÔÕ ÓÅÒÉÀ ÍÏÖÎÏ Õ ÍÅÎÑ Ó æôð.





Hazard's stuff is maintained by Vladimir Ivashchenko <hazard -at- hazardous-area.org>
This blog is powered by pLog