Skip to main content

The Dark Tower, Null pointers and Other things

I've done it! Ive read my first Dark Tower book! (For those of you ignorant people out there, Im talking about THE Dark Tower series by Stephen King)
I went to the Book fair the day before the last day - loaded of course - on account of the First Salary (gloats at unemployed ppl) and boy was it crowded! It took 5 bloody minutes to walk 5 metres! And they didnt even hand out maps like earlier times :( So we had to wander aimlessly untill the book stall we wanted appeared in our line of sight...
So anyway while walking around in Expographics I came across Stephen King and the Dark Tower series. Having been introduced to Roland the gunslinger and his Tower in Insomnia & Hearts in Atlantis, I was dying to read it. So I bought this one called "The Dark Tower: The Drawing of The Three" which is really cool. Yeah Roland is a cool guy. Intense but cool.
I did NOT make the mistake of buying any programming books or books that are related to computers this time...The two HUGE j2ee books I bought last year are still sitting glumly on my book shelf. Unread. Unopened. Unloved. Unwanted. Well you get the picture...
The next high(low)light of my life was the NullPointer That Refused To Go Away. The weird thing was it came to all three of us doing the damn thing. And no one could find a cause. So much for cause and effect. Finally by some wonderful cosmic insight I deleted the contents of this particular file. I did not delete the file because that gave an error. So I made it zero length (Well no one could explain why its there) and Surprise Surprise... Nullpointer Hath Gone Away!!
My euphoria was short lived however. Well only three days actually. Now I am plagued by The Proxy file That Refuses To be Built.
Oh well ...

Comments

  1. Well, glad to see im not the only person that has the "HUGE-j2ee-books-I-bought-last-year are-still-sitting-glumly-on-my-book-shelf" problem :P

    Must say thats quite a catch. You'll have a lot of fun if you decide to keep up reading the series. But you know what ALWAYS gets me mad? They NEVER have the first book of the series. I was looking for The Dark Tower 1 - The Gunslinger and The Wheel of Time 1 - The Eye of the World, it wasnt at any of the book stalls

    Bummer. :(

    ReplyDelete
  2. ditto! i couldnt find the first book either :(

    ReplyDelete
  3. Big fan of SK but haven't got around to reading the Dark tower series yet :(. My problem is i need to have series in order otherwise get annoyed :D

    Yep Expographics had some SK books I haven't seen anywhere else. I also went in loaded but came out broke he he

    ReplyDelete

Post a Comment

Popular posts from this blog

Pervert පොසම් සහ හොර පොසම්

ඔස්ට්‍රේලියාවට වසන්ත ඍතුව එළෙඹෙන කාලය යි මේ. අපේ ගෙවත්තේ පිටුපස පීච් ගහම රෝස පාට මල්වලින් පිරිලා. හරියට මේ වගේ .... (img  commons.wikimedia.org ) තව පහු වෙනකොට ඔය පීච් ගහේ ගෙඩි එනවා ය. ඊට පස්සේ එව්වා අපිට රස බලන්න නම් හොර පොසම්ලා ට එරෙහිව යුද්ධ ප්‍රකාශ කරන්න වෙනවා ය! පොසම් කියන්නේ ඕස්ට්‍රේලියාවේ ඉන්න නිසාචර සතෙකි. හරියට ලංකාවේ වඳුරෝ වගේ උන්ගෙන් පලතුරු බේරගන්න බැරි ය. පොසම් එක්ක ඇයි හොඳයි කම් පටන් ගත්තේ ඉස්සර විශ්ව විද්‍යාල  යන කාලේ ඉඳන් ය. ඒ කාලේ මං හිටියේ තව කෙල්ලෝ දෙන්නෙක් එක්ක කාමර තුනේ ෆ්ලැට් එහෙක ය. ඒ ෆ්ලැට් එකේ නාන කාමරේ සිවිලිමට පොඩ්ඩක් යටින් ජනේලයක් විය. ඒ ජනේලේ fly-screen එකක් විය. එතන එළියේ පොඩි පඩියක් විය. අපි එතෙන්ට ගිය දවසේ ඉඳන් ජනේලේ ඇරලා ය. fly-screen එක තිබුණු නිසාත්, අපි හිටියේ උඩ තට්ටුවක නිසාත් අපි ඒ ජනේලේ වැසීම ගැන හිතුවේ නැත. ඔහොම ඉන්න අතරේ ඒ ඇරුණු ජනෙල් පියන සහ fly-screen එක අතර හිඩැසට තව පදිංචිකාරයෙක් ආවේය. ඌ ඇවිල්ලා පොසම් සතෙකි. සමහර විට ඌ ට අතේ ඇති ගානට කුලියට තැනක් හොයා ගන්න බැරි වෙන්න ඇති ය. එහෙම හිතලා අපි අපේ පාඩුවේ නාන කාමරේ වැඩ කටයුතු

Bluetooth support on Android Emulator

I have been playing around with Android lately, and one thing that annoyed me is the emulator does not support Bluetooth (as opposed to J2ME emulator, which does). So if you do not have an actual Android device (like me), and you want to do Bluetooth/WiFi programming, you run in to a problem. Fortunately, there is a way out - Install the Android image on a VM and use your own Bluetooth device. This is what I did: Download Androidx86 from http://www.android-x86.org/ . This is an .iso file, so you'd need something like VMWare or VirtualBox to run it. Me, I use VirtualBox. When creating the virtual machine, you need to set the type of guest OS as Linux instead of Other. After creating the virtual machine, set the network adapter to 'Bridged'. Start the VM and select 'Live CD VESA' at boot. Now you need to find out the ip of this VM. Go to terminal in VM (use Alt+F1 & Alt+F7 to toggle) and use the netcfg command to find this. Now you need open a command

පර්යේෂණ සහ ආචාර ධර්ම අවසරය

පසුගිය සති කීපයකම නිරත වෙලා හිටිය වැඩක ප්‍රතිපල ඊයේ ලැබුණා. ඒ මගේ පර්යේෂණය සඳහා ඕනෑ උන 'ආචාර ධර්ම අවසරය' නැත්නම් ethics clearence එක ලැබීමයි. මගේ පර්යේෂණය මුලික වශයෙන් පරිගණක විද්‍යාව සහ මෘදුකාංග ඉංජිනේරු විෂයන් වලින් කෙරුනත්, මිනිසුන් ද සහභාගී කරවාගෙන කෙරෙන කොටසක් ඇති නිසා තමා මෙහෙම අවසරයක් ගන්ඩ උනේ. ටිකක් පැහැදිලි කරොත්, මේ පර්යේෂණයේ ප්‍රථිපලයක් වන මෘදුකාංග පද්ධතිය නිවැරදිව වැඩ කරනවාද නැද්ද කියන එක තහවුරු කරන්න එක විද්‍යාගාරයක කරලා බලල මදි (සහ කරන්න අමාරුයි). 'හැබෑ ලෝකයේ' එය වැඩ කරන හැටි බලන්ඩ ඕනේ. මගේ පර්යේෂණය 'ස්මාර්ට් තාක්ෂනය' නැත්නම්, කෘතිම බුද්ධිය සහිත ගෘහස්ත පද්ධතියක් (smart home) සම්බන්ධයෙන්. වෙනත් මෘදුකාංග වලට වඩා මේ වගේ පද්ධතියක් හදන කොට ගොඩක්ම සැලකිලිමත් වෙන්න ඕනේ මිනිස්සු මෙහෙම තාක්ෂනෙකට කොහොම ප්‍රතිචාර දක්වයිද කියලා.  හිතන්න, ඔයාලගේ ගෙදරත් කෘතිම බුද්ධියක් නැත්නම් 'ස්මාර්ට්' පද්ධතියක් හයි කරලා කියලා. මේ වගේ පද්ධති වල අරමුණ මිනිසුන්ගේ ජීවිතය පහසු කරන එක. උදාහරණයකට ඔන්න ඔයාගේ 'බුද්ධිමත් ගෙදර' ලව්වා ඔයාට පුළුවන් වෙලාවට ලයිට් දාන