Winamp in Windows 7 — win7shell

10/4/2009
Olexandr Savchuk

Many users of Windows 7 are aware of the functions of the new taskbar – Aero peek, built-in progress bar, overlay status icons and jumplists. Many stock 7 apps use those, including Windows Media Player 12.

For the ones who dislike WMP and prefer the old good Winamp, there now also is a possibility to make use of these new possibilities. It is granted by a new Winamp plugin, win7shell, available here: http://code.google.com/p/win7shell/.

This plugin implements the following:

Read the rest of this entry »

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Autobahn: 149 km/h through roadworks

09/11/2009
tags:
Olexandr Savchuk

A 42-year old driver has to pay 900 Euro for speeding on the autobahn Thursday morning. The man was going along in a rental car on the A5 near Weiterstadt. A camera has caught him going at 149 km/h in the road works area. Only 80 is allowed there, so the police. Because the driver has no residence in Germany, he has to pay the 900€ as a “security payment”.

Holy crap. I go along there every week a few times, and virtually noone is keeping inside the speed limit… a good thing I’m already out of the probation time, and have never been caught *shudder*.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Autobahn and what it’s all about

06/2/2009
tags:
Olexandr Savchuk

Autobahn

Autobahn (pronounced /ˈɔːtoʊbɑːn/) is the German word for a major high-speed road restricted to motor vehicles [...], similar to a motorway or freeway in English-speaking countries.
© Wikipedia

Autobahn. A word that is familiar to every driver. One of the last accessible places on Earth, where one can take a car to the very limit, without breaking the law.

Yes, two-thirds of all German autobahns do not have a constant speed limit. Half of them do not have any at all. And still, the autobahns are statistically seen the safest roads in the country – less accidents happen there and fewer people die, than on the rural roads and in the cities. How is this possible?

In this article I would like to familiarise the reader with the phenomenon of German autobahns, their history, features and rules. We’ll begin with history.
Read the rest of this entry »

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Tetris is 25!

06/2/2009
Olexandr Savchuk

Tertis

The 25th anniversary of the famous Tetris game will be celebrated in a ceremony on June the 2nd in Los Angeles. The author of the unique game, Russian developer Aleksej Pazhitnov, will visit the celebration himself. According to him the June 1984, as he at age of 29 first got the idea of creating a program for “Tetris”, was “just moments ago”. “I was strongly attracted by different puzzles. It was a sort of distraction from my main work”, said Pazhinov.

In the middle of 80′s Aleksej Pazhitnov, an employee at the Computing Center of the Science Academy of the USSR, decided to write a program for the minicomputers, that would represent a puzzle game.

He expected the new game to be an improvement of a classical game he liked very much, called Pentomino Puzzle. In that game, one had to compose 12 different types of figures, each consisting of 5 small squares, to a pre-defined large figure.

The first version of the new game was a program, that would rotate the displayed figures by 90 degrees around their center.
But at the time the computing resources available in the USSR and worldwide were not enough to run such a program. So Pazhitnov decided to simplify the game by removing one of the squares from each figure, making it four. This change also influenced the name of the game – “Tetris” derives from the Greek “tetra”, meaning “four”.

After the release of “Tetris”, many leading software and game developer companies of that time – Spectrum Holobyte and Mirrorsoft, Bullet-Proof Software and Atari Games, Famicom and his American partner Nintendo Entertainment System – started a long battle for rights to release all variations and console versions of the new game.

In 1988 with support from Hank Rodgers (president of Bullet-Proof Software) Pazhitnov founded a company for game development AnimaTek, and in 1991 Tetris company was founded. In five years Pazhitnov went over to Microsoft, where he worked on the famous puzzle series Pandora’s Box. And later, in 2005, he joined WildSnake software, where he had to start developing a new series of games for PCs and gaming consoles. In March 2007 Pazhitnov was awarded the Game Developers Choice Awards First Penguin Award.

Nowadays Pazhitnov lives in Moscow and Seattle.

P.S. The classic Tetris can be downloaded here, for example.

via habrahabr.ru

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Programmer’s everyday life…

06/2/2009
tags: ,
Olexandr Savchuk

Things you come across in code. Trust me, this happens more than you expect it to…

// Magic. Do not touch.

//When I wrote this, only God and I understood what I was doing
//Now, God only knows

/* This is O(scary), but seems quick enough in practice. */
Followed by four nested for-loops.

doRun.run(); // ... "a doo run run".

/* You are not meant to understand this */

// Replaces with spaces the braces
// in cases where braces in places cause stasis
$str = str_replace(array("\{","\}")," ",$str);

options.BatchSize = 300; //Madness? THIS IS SPARTA!

last = first; /* Biblical reference */

double penetration; // ouch

via stackoverflow.com

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Java Sokoban

05/31/2009
tags: ,
Olexandr Savchuk

At the end of my first semester as a computer science student, we had a project to complete. The project was a game we had to implement in Java. Sokoban is widely known and has many implementations in different languages, and this is what we managed to come up with – we even made it to the course’s “Hall of Fame”.

[nggallery id=2]

http://olex.biz/wp-content/plugins/downloads-manager/img/icons/winzip.gif download: Sokoban (3.86MB)
added: 31/05/2009
clicks: 333

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Under construction

05/31/2009
Olexandr Savchuk

Road works

My new website is under construction here. Many interesting things will appear soon.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)