IT ramblings

There is going to be an interesting event soon in Lviv both for those who are in IT and those who love to use and improve their english. It’s called IT Ramblings. Follow the link and check it out. I’m definitely coming, join in 😉

06/19/2011 · 1 min · Viktor Halitsyn

New quest from Microsoft

33+k UAH for those lucky to win the lottery among the ones most skilled in MS puzzle solving:) More here

06/04/2011 · 1 min · Viktor Halitsyn

j2ee sdk install hanging fix.

Spent about 3 hours trying to install the latest java ee sdk on my natty narwhal with no luck. It usually hang with 45% and 5seconds left forever. Might be I’m a bad googler but turned out that there is a bug in the installer which prevents the installation from continuing. The workaround is to disable the network connections before the installation begins(disabling while it is hanging did not work for me)....

06/01/2011 · 1 min · Viktor Halitsyn

Avahi and “network service discovery disabled”

Had a real problem with my wifi after moving to Ubuntu from win -> my download speed was dead slow with ~2Mb/s. Tried various things including this this and finally this. The last one did the trick. It was Avahi which spoiled everything. The thing that led me to Avahi was this irritating message popping out each time I connected: Having this changed _AVAHI_DAEMON_DETECT_LOCAL=1 to AVAHI_DAEMON_DETECT_LOCAL=0 in /etc/default/avahi-daemon_ Got me up to 22Mb/s after reboot....

05/20/2011 · 1 min · Viktor Halitsyn

Skype + Microsoft.

I really, really do not know if that’s accidental or on-purpose and whether it’s connected with the fact that Microsoft bought Skype, but this morning I received a wonderful email: Now 3 things about this: I **am **a skype user. Who the hell is Natalia??? And why, and when and WTF?! I love to use skype. It would be sad if this is the** turning point**. 🙁

05/16/2011 · 1 min · Viktor Halitsyn

Tabkit => Vertical tabs

A post for those who, once tried, cannot live without vertical tabs in FF. I used to have TabKit installed but this unfortunately does not support FF 4. So I even was very reluctant to switch to the new version as having my browsing (or should I say _research ) _organized, __is one of the crucial parts of my productivity. But turns out there is Vertical Tabs which does almost the same thing....

05/12/2011 · 1 min · Viktor Halitsyn

Lift + ajax. The “proper” way of doing presentations.

24-th seconds rules… This mostly ru-zone compliant 🙂

04/24/2011 · 1 min · Viktor Halitsyn

Java to BlazeDS NAN in double values.

Internet is basically full of subj but vice-versa(BlazeDS to java). So the problem I had was that when the object is “translated” from java via BlazeDS to flex application it had NAN’s in the double fields. The transfer object was a simple POJO I passed via the interface. First thing I checked were the getters – all present and valid. I took quite a lot of time till we figured out that it was the missing setters which made the code malfunction....

04/22/2011 · 1 min · Viktor Halitsyn

maven-compiler-plugin causing eclipse projects to have j2se 1.4 instead of configured one

Today was investigating the warnings around some of my eclipse maven projects and noticed that I have a few There are no JREs installed in the workspace that are strictly compatible with this environment messages. It took some time to figure out that it was actually the maven-compiler-plugin causing the the J2SE version to be picked up correctly. If I changed the packaging of the maven project to jar everything was generated fine....

04/21/2011 · 1 min · Viktor Halitsyn

String.split() VS String.startsWith() VS Regex simple performance comparison.

Now really, what would be faster/more reliable for a typical not so complicated and not over-simple case? Yes the one we tend to deal with in our day-to-day work? For those impatient benchmarks are here.Reading a 100/1000-line file is not fun and I really think you shouldn’t bother choosing if you’re dealing with such volumes of data. But if you have to parse 320k-500k records lines, which, in fact, is not that large – 320k of CSV data is ~ 12MB performance is considerable....

04/19/2011 · 6 min · Viktor Halitsyn