Search This Blog

Friday, December 11, 2009

Dr, Krugman wants a banana fangus!

In his recent, and as usual far less than brilliant 'blog' he fired another salvo at Austrian school of economics. Because people with any traces of intellect aren't welcome to leave comments there I decided to post my reaction at my own premises:

Dr. Krugman et all.

It is so good to see such a happy family of Keynesian's dogmatics getting together at NYTimes (where else?) website.

Why don't you also try to ridicule Newton's laws or perhaps special theory of relativity, while you are at mocking Austrian school of economics?

Paraphrasing a widely used saying, the sense lies in the mind of a beholder: if a concept doesn't make sense for you it oftentimes happen because one's intellectual power is insufficient for such a laborious task of understanding.

Tagging people with names like right-wing, NRA and such is an old and boring smearing habit. Objective reality is going to protrude from the layers of harmful disinformation Dr. Krugman feeds his followers. It is so pointless to argue with folks like you, Dr. Krugman. And I really feel for the fellas who've tried to confront you in that forum. Next time they will know better and will just ignore you outright.

Tuesday, December 8, 2009

Google - Big Brother's cousin.

Well, holy crap - it happens again: Google's CEO has confirmed in a public speech that the company is an official evil corporation now. What he is saying essentially is that anyone who wants to have private life is almost a criminal.

Well, comrade Schmitt: why don't start with posting your SSN, email exchanges with your wife and mistress (don't you have one? Tell us, don't be like one of those criminal private citizens!) to be available to all Google's users? People have right to know, haven't they? Besides, we all are just one big happy family and don't need to be ashamed of anything, do we? Oh, shall you also upload your last year tax return to your very own Google docs? I'm sure that'd be a lot of fun to read...

Money printing in the nut shell...

Robert Murthy's talk on Fed's "exit strategy" from their downward spiral of destroying US economy. If you aren't sure how "money printing" works, or what is "reserve multiplier" is, and you have no stomac to read brilliant Murray Rothbard's "What Government Done to Our Money?" this video is for you.

And Dr. Murthy is funny and brisk as usual :-) So watch it - you won't have any regret.

Sunday, December 6, 2009

If Climate-gate emails aren't enough, the source sure is...

A recent post on Slashdot which has the link to the analysis of the source code leaked from CRU so-called 'scientific' lab. The blatant mockery should be clear enough even for arrogant bungholes from Global Warming scare camp.

Well, may be I'm too optimistic about that - for some people facts don't worth a damn, anyway...

Laughing my butt off...

Check this out folks - it's amazing....

## 16, 23, and 24 are my all time favorite :-D

Friday, November 13, 2009

Hadoop: code and fault injection

I've put this latest write up about injection framework I've put together into Hadoop.

This page will be getting more details about Hadoop development and testing using AspectJ based Injection Framework.

Introduction

The idea of code injection is fairly simple: it is an infusion of new or modification of existing behavior into a code of a software application. Fault Injection, which will be discussed later, is a similar mechanism for adding errors and exceptions into an application's logic to achieve a higher coverage and fault tolerance of the system. Different implementations of this idea are available today. Hadoop's inject framework is built on top of Aspect Oriented Paradigm (AOP) implemented on top of AspectJ toolkit.

The document below relates to injection technique with regards to code/behavior modifications and to injection of programmatic faults (fault-injection). I'll refer to both injection and fault injection aspects of the framework unless narrower cases are explicitly mentioned...



You can read the rest of it from Apache Hadoop Wiki site

Thursday, November 5, 2009

US national debt is outgrow $12T by 11/10/09

Basically, all people leaving in this country and being mugged by its tax collection, are indebted for an extra $44K each second. Doesn't sounds like much? Well...

According to my calculations the national debt of US will outgrow $12T (yes, it is trillions!) by midnight of 11/10/2009 (Tuesday of coming week). Take a look for yourself - Debt Clock


Let's celebrate, folks! It's going to be a true fest in a midst of a plague :-(

Hadoop and ApacheCon'09

I've started working on Hadoop at Yahoo! Great place and very interesting software project. By the way, we are hiring big time! Speak Java concurrently? Can explain how locking on object is different from class' locking? Looking for great place to work? Leave me a comment here w/ your email and I'll get back to you in no time.

That said, I've went to ApacheCon'09 last night (10 years anniversary of Apache Foundation) and happen to a group picture with The elephant - the actual Hadoop :-) - feels me with pride.


Saturday, March 14, 2009

ThinkPad X41 with Ubuntu 8.10

I been having this X41 tablet for some years now, although mine is beefed up with RAM and big disk, etc.

At the day one I had scratched it off Windows crap and put SuSe 9.3 on it. Later on it has been updated to SuSe 10.1. And I loved it that way: everything was working like a chime: WiFi; touch screen capabilities (coming very handy for Gimp jobs); screen rotation to read books or something, on-disk hibernation, and all other stuff. It didn't all worked out of the box and I had to tune it here and there a little bit, but it was a way better than anything coming from Redmond, WA.

What had annoyed me for a long time is the absence of in-memory suspend. It's not like it wasn't available at all, but wasn't very useful for the laptop had to be rebooted every time it was awaken :-( Alas, it wasn't SuSe problem but rather an effect of fairly old Linux kernel (version 2.6.15 or something). SuSe 10.1 quickly became unsupported and an upgrade looked like pain to me. Once I was laid-off from Sun Microsystems and got some quiality time to do whatever I'm pleased to. Despite other things I've decided to reinstall my laptop.

This time I decided to give Ubuntu a spin. I do like Debian and I really think this is the best distro on the market today. But I never was fond of Ubuntu, though. I was arguing with Mark Shuttleworth on a couple of occations about the merit of having and pushing it. Nonetheless, considering from a number of reviews and posts it seemed like worth a try.

The process is rather simple:

  • download and burn LiveCD from their website
  • boot from it and make sure your hardware works (most of it worked in my case, although no touch-screen stuff is in place, so I'll need to tune it up myself later)
  • install new OS right from the Live session (make sure you have your data backed up properly or even better keep /home on a separate partition)
  • reboot and have fun
Well, not so fast. First of all, during the installation I've been warned that the installation of GRUB to to my XFS / partition might not work properly. Two choices were offered then: "Ok" and "Cancel". Hmm... I chose "Cancel" then. The installation went on for a little longer and then has finished without any other messages nor warnings. "Sounds like the end of it" I thought and rebooted my laptop. And it failed to boot :-(

Then all the usual drill has been executed: boot from a CD, an attempts to reanimate GRUB installation, etc. None of those worked for a now clear reason: GRUB package installation has never happened or was badly broken so all stage files were incorrect.

I had to reinstall the system from scratch and this time it was Ok. A day later I've realized that I could simply boot from a LiveCD, switch to the chroot environment and reinstall grub/kernel packages to straight everything out. Well, hind-sight is a very powerful mind technique indeed...

Then I've played with Gnome and in fact I think I like it: it's relatively light weight (alas it looks like a monster compare to my all time favorite WindowMaker, but still it is lighter than KDE). It has nice and easy configuration interface for one's desktop. And it supports fonts anti-aliasing which make HUGE difference when it comes to the desktop experience. Liked it a lot!

And then it was the time to go back to my good friend WindowMaker. And there were a coupla surprises I didn't expect:
  • Perhaps for the sake of n00bs all networking is managed by NetworkManager. And NetworkManager is suppose to be represented by an applet of some kind. Otherwise you have to know how to run it manually at the startup. E.g. for WindowMaker you need to put something like this
    service NetworkManager start
    to ~/GNUstep/Library/WindowMaker/autostart
    or you'd have to go through some cumbersome procedure of disabling NetworkManager and configuring your WiFi/Ethernet interface in the old fashioned way with /etc scripts and vim, which I actually prefer.
    It isn't Ubuntu's fault per se. Many other distros do quite similar thing. Suse 10.3 under KDE utilizes the same tactic from scratch. However, SuSe has a simple way of turning NetworkManager completely off and manage your network traditionally. Ubuntu is much trickier in this case.
  • Ubuntu has very interesting ideas about how your computer's hardware suppose to work. For example, if you don't want to use GDM - kinda useless and resourse hungry crap for a single user laptop - then you will have to configure many things manually. E.g. laptop hot buttons events are - surprise - handled by a GDM's subsystem rather than being passed to HAL and processed there accordinly. And so on...
Besides of these kinda minor inconveniences I really like what I see: even generic build of new 2.6.27 kernel is very fast; pretty much everything works out of the box (I can simply close my laptop's lid and not to worry about its getting into sleep, etc.); multimedia experience is pretty slick except that some of the codecs could be found only under *-ugly set it causes troubles once in a while.

Conclusion: if you are noob and need to have a stable and convenient alternative to crappy Windows stuff Ubuntu is the way to go. And you know that Linux is green too, right? It can run on pretty old hardware where contemporary Windows unlikely even to start.

Будда-украинец: круче не бывает

Мне сегодня кинули ссылку на аннотацию статьи из газеты "Голос Украины" (официальная газета украинской Верховной Рады). Статья утверждает - совершенно серьезно, до 1-го апреля еще две недели, - что небезызвестный Будда был украинцем (видимо, древним Укром!)

Вот ссылка на аннотацию, а вот и оригинал (для читающих по-украински).

Судя по количеству и качеству регалий автора статьи (доктор політичних наук, професор, проректор Університету «Україна», голова правління Всеукраїнської асоціації політичних наук), у украинских политиков происходит очередное сезонное обострение национального самосознания (весна, полнолуние недавно прошло).

Если не полениться и поискать упомянутые в статье "работы" гн-а Бебика, то можно воссоздать полную картину вклада украинцев в мировую философию. Вот только не очень понятно как быть с Христом еврейского происхождения? Видимо, в самом ближайшем будущем этот вопрос придется урегулировать министерствам иностранных дел Украины и Израиля :-)

В общем, оттягивайтесь!

Friday, March 13, 2009

How to connect Shure I2C-M to a computer

A few days ago I got myself a total bargain in the form of Shure I2C-M headset (as in mobile phone headset with microphone) which I bought at Amazon for mere $19.99 (!)

I was impatiently waiting to get a hold of my new toy. I'm not going to review it here - one can find a plenty of information in the Inet. I just say that the headphones are good enough and are simply great for 20 bucks :-)

The only ripple I've discovered so far is the fact that I can not use all the features of the headset with my laptop. The reason is that most of the moder computers are equipped with two separate jacks for headphones (out) and microphone (in). The jacks are 3.5mm 2-rings ones, like that below:

However, mobile phone headset jack is different and I'm not talking about the facts that they differ in size, shape, wiring schematics, etc. I'm talkig about particular 3.5mm headset jack which has 3 rings thus provides 4 contacts for headset, mic and ground. Something like this one:

Now, the question is to how to convert one to another? Well, if you good with soldering and have enough time to spare - you can sure and with ease produce an adapter to do the job.

I wanted quick and cheap solution, so I decided to search and find something standard and ready to go. After quite some some time spent on searches I found out two things:
  • it was faster to solder one
  • people are unaware about the fact that 3.5mm mobile headsets aren't exclusive to iPhone. In fact there is vast number of better phones, using this type of connector.
Long story short, after some elaborated googling I've found this adapter or headphone/mic splitter cable, mistakenly called 'iPhone headset adapter'.

Hopefully this little article will help someone to safe a bit of time, when in need to find such an adapter.

Fast forward two weeks

I have received the adapter in the mail. Here how it looks like:





OverviewTail connectors for mic. and stereo out (marked)
3.5mm jack


The cable is clearly handmade, although very professionally and nicely. And the best part of the story that it DOES the job: I can use my new Shure I2C-M with my laptop to listen a music or to make VOIP calls! The quality is good and I can't hear any artifacts neither in the audio nor in my recorder voice.

Conclusion: ordering the cable like this worth the time and money if you aren't capable of soldering a couple of wires and some connectors. Otherwise, you might be much better off going to the local electronic store for some low cost components and making your own one!

Wednesday, March 11, 2009

Watching the National Debt grow... in your terminal

I was watching this little video and came across the idea that it'd be much cooler to see how fast the debt is actually growing at each iteration (I can't subtract numbers in the proximity of 1014 every second or so just in my head).

The crazy thing is that US government is piling up about $42,000 of fresh debt every second. It's like a size of annual gross income for many americans :-(

Here I came with the little script below :-)
#!/bin/bash
curr=0;
prev=0;

while true; do
curr=`wget --quiet http://www.brillig.com/debt_clock -O - | \
grep debtiv.gif | \
sed -e 's/.*ALT="//' -e 's/".*//' -e 's/\ //g' -e 's/^\\$//'`;
echo -n `date +%d/%m/%Y-%H:%M:%S`" "
echo -n "$"$curr " "
curr=`echo "$curr" | sed -e 's/,//g' -e 's/\..*$//g'`
if [ $prev != 0 -a $curr != 0 ]; then
echo -n "Grown by: $";
expr $curr - $prev;
else
echo
fi
sleep 1;
prev=$curr
done


All formating for blogger.com has been prepared by this handy tool

Tuesday, March 10, 2009

AT&T is not environmental friendy :-(

Despite all well financed media and political hysteria about climate change - which is always a good sign that something is very fishy - I am nonetheless positive that idling aren't good for anyone's health. The reasons are plenty:
  • CO/CO2 pollution
  • nitrogen oxides sulfur pollution
  • noise
  • what have you
I should, perhaps, point out that I live in a very quite and green suburban community, separated even from out little town: very few cars, pretty much no traffic and all that.

Today I was parking at my house and noticed AT&T truck - one of those gas guzzlers F150 - parked at neighbor place. The engine was idling. About two hours later, I took my dog for a walk. Surprise-surprise: the dude's in the same spot, same crap coming out of his exhaust pipe, poisoning everyone around for no good reason. I went down to ask the chump to turn it off and no one was inside :-( Truck running, headlights are on, a laptop with non-green Windows OS running and all this for no one.

I would love to publish their license plate, but no luck - 10 minutes later when I was back and ready to get my camera to make the picture - the truck was gone.

Looks like AT&T is the evil company. First that now this.

P.S. And about 24 hours later I've read the article about their plans for switching over to alternative fuel vehicles in the next decade. Should I apologize? I don't think so

Saturday, February 28, 2009

Review of Taken (D-)

It's so not in my customs to review movies :-( But this time I couldn't resist the urge.
I went to a movie with friends and we happened to watch Taken. The main reason, I think, was that we all like Liam Neeson.

Here's where the good things end: I should say that the rest of the stuff I've seen in this movie is dreadful at least.

The movie is so based on vulgar Hollywood's templates of bad and good guys; of a teenager girl, acting like an imbecile; of how good guys are being hurt but are grabbing their butts and fighting back. And of course the good guy has to fight bad guys driving all-times-best Jeep SUV.

Also a business is totally inhumane; corrupted Euro-police is so on their side; only US gov's dude (which happens to be a good and carrying father, despite his 'never being there for the family and serving people' job description) is capable of stopping such a shameless cartel. Et cetera.

However something new got on the surface: now good guys are allowed to torture the bad ones. And no wonder where the skills were acquired: the good dude is former spy. What a twist!

A perverted producer/director of the movie doesn't think that simply killing the crooks is enough now: they have to suffer before hand. Is it the vapors of Guantanamo that clouding their brains?

In short: the movie is full of politicized crap, nonsenses, and foul movie stamps.

Thursday, February 5, 2009

Blog's transition

Hello everyone!

Thanks for visiting me here - most likely you've found my transitional message at my old blog place. The main reason behind this move is to be able to discuss not only Java and software related topic, but to be able to talk about different thing: history, economics, photography, and 'course all sorts of technology shall I have anything interesting to share.

Also, this blog is going to be at least bilingual and most likely I won't bother translating whatever I'm gonna post here from one language to another. If you can't read it - use Google's translation service and get totally puzzled about the meaning of the original :-D

I hope that I'd be able and willing to actually transfer some of the old articles I have posted on java.net down here, but dunno when it's gonna happen. At least for now I'll put backlinks there so it won't be missed.

Cheers,
Cos

Followers