Blog of Leonid Mamchenkov

40 optical illusions in photos →

spacer

No Replies

Microsoft has failed →

Microsoft is largely irrelevant to computing of late, the only markets they still play in are evaporating with stunning rapidity. Their long history of circling the wagons tighter and tighter works decently as long as there is not a credible alternative, and that strategy has been the entirety of the Microsoft playbook for so long that there is nothing else now. It works, and as the walls grow higher, customer enmity builds while the value of an alternative grows. This cycle repeats as long as there is no alternative. If there is, everything unravels with frightening rapidity.

Read the whole thing – it’s a really good summary of where Microsoft stands today.

No Replies

Comedy Central Presents – Jim Breuer – Hardcore

This is definitely one of the best stand ups I’ve ever saw.  It’s all there – a bit of politics, a bit of fooling around, laughing to tears (child birth and marriage bits), and hard rock music.

No Replies

Categories All

Tags humor, Jim Breuer, YouTube videos

America is not the greatest country in the world

No Replies

Categories All

Tags USA, world, YouTube videos

phing fatal error after upgrade to 2.4.13

By Leonid Mamchenkov

If you are using phing for building and deploying projects (and you should), and using Remi repository for PHP 5.3 and related tools for CentOs and RedHat, be prepared to see a problem with phing and build.xml files that use conditions in If.   Here is a sample snippet from the build.xml:

<!-- Directory separator based on the current file system -->
<property name="ds" value="\" />
<if>
  <equals arg1="${host.fstype}" arg2="UNIX" />
  <then>
    <property name="ds" value="/" override="yes" />
  </then>
</if>

and here is the error:

Error reading project file [wrapped: build.xml:39:20: Error initializing nested element <equals> [wrapped: equals (unknown) doesn't support the 'arg1' attribute.]]

The bug #943 has already been filed in assigned in phing trac, and after a brief chat with devs in IRC channel, it seems like it will be fixed soon (by 2.4.14 release). The best cause of action for now though is reverting back phing 2.4.12.

No Replies

Categories All, Programming, Technology

Tags bugs, deployment, phing, PHP

My favorite regex of all time →

Make sure to read through comments.  Funny stuff, if you know even the basics of the regular expressions.

4 Replies

Initial police investigation

By Leonid Mamchenkov

I love Cyprus Mail dearly, and I do feel for the man in this report:

A CAR belonging to a 35-year-old man in Limassol was torched early yesterday morning, police said. The fire began at 2.30am while the car was parked outside the man’s house. Initial police investigations indicate it is a case of arson. The car was extensively damaged.

But you have to admit it that it’s not the best writing ever.  Once I read it out loud in the office, my co-workers helped out with a few other reports along the same lines.  For example:

A pedestrian was ran over by a car yesterday night in Nicosia.  The driver took off and is being looked for.  The early police report suggests it was a case of hit-and-run.

Or, this one:

A few masked man entered the branch of Hellenic Bank in Aradipou village yesterday.  They were armed with a rifle and a pistol and demanded to give them money.  A few minutes later they took off in what appeared to be a stolen vehicle, carrying over 50,000 EUR with them.  An early police report suggests it was a case of bank robbery.

Crime is not a laughing matter, but the reporting of one can sometimes bring a smile.

3 Replies

Categories All, Cyprus

Tags crime, humor, journalism, writing

Just watched “Life is beautiful” once again.  Truly awesome movie.  One of my all time favorites.

12 Replies

–i-am-a-dummy

By Leonid Mamchenkov

Here is a handy command-line option for MySQL client: –i-am-a-dummy, or, if you don’t have a sense of humor, –safe-updates.  When used, this will prevent updating or deleting rows without explicitly specifying a WHERE clause.  It will also limit the number of SELECT and JOIN results.

No Replies

Categories All, Programming, Sysadmin, Technology

Tags databases, MySQL, security

Fried eggs, coffee and cookies, all while watching UFC – a perfect Sunday, I’d say.

2 Replies

Next Page »
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.