Friday, July 24, 2009

US Trip is almost over

My US trip is almost over - I fly back in the very early morning on Monday. Final accord would be driving to Hollywood for the weekend, then go back on the Sunday night, grab luggage and go to the airport. This trip was kinda fun and a lot of stuff happened so it wasn't boring by any means, and I feel tired and miss a lot of people I haven't seen for one month. So I look forward the Hollywood trip and getting back home then.

Thursday, July 16, 2009

paramiko vs scp

I had a task to benchmark a server by measuring how much time would it take to downloaded file via ftp. It was boring to script that up in shell since the server to be benchmarked didn't support key-based auth, so I'd had to pass password to ssh and I don't know a clean way to do it. Just for fun I decided to try doing it in Python using Paramiko module, which is a pure-python implementation of SSH protocol. I though it would be slower than native scp tool, but anyway I could use it to track the dynamics of performance changes.

Imagine my surprise when tests results showed that Paramiko performance is nearly equals to native 'scp' performance! I have to say it was a really pleasant surprise and makes Paramiko even more useful in my eyes.

Lenovo X61S

... is just CRAP!!! At least for a *nix user. First of all, it has some clit instead of a touchpad. I don't like the idea to place a clitoris in a middle of laptop's keyboard. OK, since almost all apps I use are command line and I also use stuff like vimperator for non-cli apps, I don't need to use mouse often. BUT BUT BUT. The keyboard is HORRIBLE! It's totally non standard and offset between rows are not usual as well because I always type stuff with offset of 1 symbol to the left or to the right. Moreover, the Escape key is placed in a very strange place, to the top of F1 key, so I often confuse esc with f1. It has function key as a very left button of bottom row, so I confuse it with control key. It has sleep key bound to fn + f4. So if I want to switch to 4th virtual desktop I risk to press fn-f4 instead of ctrl-f4 and suspend the laptop.

I don't know how much time will I need to get used to it and I see no point at all to make such a non traditional controls. I wish I just could throw it into the window...

Wednesday, July 8, 2009

Las Vegas pwnz!

I've been in Las Vegas last weekend. Well, what can I say, it's impressive!

I've attended only two shows: Blue Man Group show and KA Theatre. Both shows are really great. I'd probably visit them both again. Unfortunately, I was kinda short on money and time and haven't had a chance to try out more shows or try girls ;]

By the way, there are really lots of guys who offer girls on the Strip. They stay there any time, though there are less of them in the morning. But in the evening they stay in a row (literally) and there are LOTS of them. I wonder if that's effective, because they seem to give people all the same slides. I guess the efficiency would not change if their could would be reduced 5-10 times.

Anyway, I really liked Las Vegas. That's the first place in US where I'd agree to live. Probably it would get annoying after some time though.