Saturday, 5 November 2011

Intro

First it hits you with the thrilling sound of the guitar. Those strings set you in a certain rythm. The sweet perils of notes are shaken off the instrument like drops of water from a greenery of maple tree foliage after another pluvial morning. Still there is this split second of anticipation when you are just about to hear it. Then it goes. Tubes appear, extending the background, making it distant, almost bottomless. And in some weird sense even heroic. By that time the roots have been ingrained. And they soothe, relieve the urge. Together with the drums that suddenly kick in a second later. Strong, regular beat marching right into your ears. With such a submerged, deep tone, one of a kind that goes right into the very core of your bones. Now the whole picture is growing, volume slowly climbing up. And the vivid bouquet of intense percussion undertake the role of the saint protagonist. In a moment this crescendo will reach its peak - its most dynamic velocity. Now's the time I usually take to enjoy music. It drives you a bit lower and becomes much calmer, just to prepare you for a hell of a moment... tremendous. And I personally cannot wait for those emotional voices, rather theatrical croon. A multilayered space of interconnecting melodies in this mellifluous harmony. Purely sensational and complete.

Listen, and hear it for yourself. That's just the Intro

I feel so small and insignificant at the end.

Wednesday, 20 April 2011

What if Alice used Java?

There was a cool puzzle posted on xkcd blag not so long ago. Well, it was actually more than a year ago... Anyway, the puzzle goes like this:
Alice secretly picks two different real numbers by an unknown process and puts them in two (abstract) envelopes. Bob chooses one of the two envelopes randomly (with a fair coin toss), and shows you the number in that envelope. You must now guess whether the number in the other, closed envelope is larger or smaller than the one you’ve seen.

Is there a strategy which gives you a better than 50% chance of guessing correctly, no matter what procedure Alice used to pick her numbers?
I decided to check what would happen if the unknown and mysterious process of Alice was in fact Java pseudo-random generator.

Monday, 11 April 2011

[PL] Paradoks Monty'ego Halla

W odpowiedzi na dyskusję, która pojawiła się pod pytaniem o wybór bramki w paradoksie Monty'ego Halla, postanowiłem napisać notkę, która dokładniej tłumaczyłaby ideę paradoksu.

Ale najpierw przedstawię oryginalny problem. Sprawa ma się tak:
Zawodnik stoi przed trzema zasłoniętymi bramkami. Za jedną z nich (za którą – wie to tylko prowadzący program) jest nagroda (umieszczana całkowicie losowo). Gracz wybiera jedną z bramek. Prowadzący program odsłania inną bramkę (co istotne – anonsując, że jest to bramka pusta), po czym proponuje graczowi zmianę wyboru. (źródło: Wikipedia) 
Pytanie brzmi: czy zawodnik zyskuje coś przez zmianę bramki?

Tuesday, 22 March 2011

My Daily WTF: [#1] Singleton Field Pattern.

It was yet another sunny and calm day at work for Jerzy K. For the past couple of hours he was doing some updates to the recommendation application and was now ready to submit the code to the shared repository.

Because there was one more guy from another team working on the project, SVN conflicts were nothing uncommon, and so it came as no surprise when one or two of them occured this time as well. Before blindly updating the code to the latest version Jerzy decided to have a quick look. It was the recently committed Product class that was causing the problem. And this is what he saw:

Monday, 21 March 2011

Monday, 7 March 2011

Fail after fail

America will have to wait for me a bit longer as I found out they are not offering me a place on postgraduate study. I guess I am not as awesome as I thought I am. Well, maybe some research projects on the Old Continent will fill the time in between. Or maye not.

I have absolutely no idea at the moment what I will be doing with my life during next academic year...

Secondly, I was asked to write an article about AI