Wednesday, September 16, 2009

new WebKit-based browsers

I like new developments in this direction:

Uzbl - a browser that adheres to the unix philosophy (

Firefox' Vimperator inspired:
Vim+Webkit = vimpression( )

Ultimately i'd like to have a tabbed vimperator-like-web-browser + emacs/epsilon-like-editor + Konsole-like terminal + mc all in one, with awesome/xmonad-like window-placement strategies ;-)))))

Friday, August 7, 2009

Archlinux: (IMHO) the best Linux distribution ever!

After a long time spent with all major Linux distributions,
I finally found one that suits me the best: Archlinux.

I really like its minimalist approach and nice pakage management system.
Thr later combines the Debian-like pacman (install binaries)
with an option to install from sources (see ABS&AUR) as if they are natives!

Furthermore it has a huge and friendly community and lots of helpfull wiki.

Recently i made a mistake:
i tried updating pacman without dependencies: "pacman -Sd pacman"
(since i had other staff depending on pacman... and thought it's ok to do like this: PLEASE, DO NOT DO IT!!!). Although i got a newer pacman - its dependency on libfetch become broken,
rendering pacman defunct: "pacman: error while loading shared libraries: cannot open shared object file: No such file or directory" :(((

The solution (due to is simple:
manually build libfetch (from ABS with makepkg -s)
copy into /usr/lib (this will resurrect pacman!!!)
force installation of libfetch (with "pacman -Sf libfetch", to fix the pakage database)

I hope this will help somebody...

Wednesday, March 25, 2009

Last Winclone 1.6.6 for Tiger (Mac OS X 10.4)

It seems that the author of Winclone has switched to Leopard (Mac OS X 10.5)
without giving Tiger users any chances to use even an older version :(((

So here you go: the latest Winclone 1.6.6 for Tiger (Mac OS X 10.4),
is available from:

Es scheint so zu sein als ob der Autor von Winclone hat auf Leopard gewechselt ohne
den Nutzern von Tiger eine Benutzungsmöglichkeit zu gewährleisten :(((

Also, das letztes Winclone 1.6.6 für Tiger (Mac OS X 10.4) ist verfügbar unter:

Thursday, February 5, 2009

HDF5 in Matlab!!!

Behold: last versions of Matlabsupport HDF5!
there are only 3 (!) upper level functions which can do a lot: hdf5 - read/write/info
plus : all the low level functions are also available (via wrappers)! (there are some Matlab-specific as well)


don't forget to wrap read/write in try/catch statements since
they cannot delete/overwrite existingentries in a file and
thus will throw an exception on such an attempt...

moreover, hdf5read can be used to read attributes,
BUT consider the following innocent command: hdf5read(file, '/1');
it either reads the dataset '1' located in the root group OR
the attribute '1' of the root group! It's just tooo ambiguous for me!

% my very ML confusing example:
hdf5write('a.h5', struct('Location', '/', 'Name', '1'), 'What is right?', ...
struct('AttachedTo', '/', 'Name', '1', 'AttachType', 'group'), 'And what is wrong?');

% let's read attribute '1' of the root:

% naiive:
i = hdf5read('a.h5', '/1');

% gives 'What is right?' to me, which is not what i wanted!

% and the attribute must be read as follows:
info = hdf5info('a.h5', 'ReadAttributes', true);

% gives 'And what is wrong?' to me

Saturday, January 31, 2009

Zacinit' muzyku z anime...

Elfen Lied Openning - duzhe klassna muzyka!!!
(tut pravda bagato variantiv razom zkompanovano)

A shcho nagaduje xxxHolic Ending?
Meni - Okean Elzy japons'koju!!!! :)

Number Three Idiot of 2008

A man, wanting to rob a downtown Bank of America, walked into the Branch and wrote this, 'Put all your muny in this bag.'
While standing in line, waiting to give his note to the teller, he began to worry that someone had seen him write the note and might call the police before he reached the teller's window.
So he left the Bank of America and crossed the street to the Wells Fargo Bank.
After waiting a few minutes in line, he handed his note to the Wells Fargo teller. She read it and, surmising from his spelling errors that he wasn't the brightest light in the harbor, told him that she could not accept his stickup note because it was written on a Bank of America deposit slip and that he would either have to fill out a Wells Fargo deposit slip or go back to Bank of America.
Looking somewhat defeated, the man said, 'OK' and left. He was arrested a few minutes later, as he was waiting in line back at Bank of America.


my geek code :)

Version: 3.1
GCS$/CM/M$ d-(+) s: a- C++(+++)$ UL*A(+) P++(--) L++(+++) E(+) W++ N+ !o !K w++(--) M+(++) !PS PE Y PGP t 5 X R tv-- b++(+++) DI++ D G e+++(++++) h--

Sunday, January 11, 2009

MATLAB can get binary data and set Cookies!!!

After an overnight hopeless wandering around with this mad quest in mind i finally managed to read binary data correctly via http connection AND get Cookie at the same time!!! Moreover i can post some data with Cookie via http as well.

Please, if you don't care for Cookie - just DO use urlread!!! I DO mean it!

The only working way was to use Ice(Java) functions in Matlab, which are NOT documented in any way. Therefore one needs to experiment a lot with them!

So if you are not scared yet, here we go:

To read binary data use:

uint8( )

To get cookie use:

CookieString = char(HttpURLConnection.getCookieManager().elements.nextElement.Cookie.toString)

or the following might also work

CookieString = char(HttpURLConnection.getCookieManager().getHeaderField('Set-Cookie') )

To set cookie use:

HttpURLConnection.setRequestProperty('Cookie', CookieString )

Since i am by no means an expert neither in Java nor in Matlab i might have overlooked something. Please do let me know if you know a better way.

ps: of course you start as follows:

URL ='http://example.url');
HttpURLConnection = URL.openConnection();