Loading

OSX inside VirtualBox on AMD64

Finally, I can now installed OSX in VirtualBox on my AMD64 Machine.


This is my new step towards Mac, after iPad. Probably next one would be Macbook Air or Macbook Pro.

Just upgraded iOS 4.2.1 on iPad

Just upgraded iOS 4.2.1 (Build 8C148) on my iPad :-)
Looks nice!

StackOverflow Chat

StackOverflow Chat

http://chat.meta.stackoverflow.com/

You need 20 reputation on meta.stackoverflow.com. If you don't have enough reps on meta yet and you already have 200+ reps on any of stackoverflow, superuser, serverfault sites, you could associate accounts and could get 100 bonus reps on meta.stackoverflow.

details:

iPad & Pocket Wifi

Pocket wifi from emobile
and iPad is

being great collaboration for me, since I don't need 3G version of iPad.

Ruby: autocomplete in irb and colorize with wirble and set as default

$ sudo gem install wirble
...

irb(main):002:0> require 'wirble'
irb(main):003:0>
irb(main):004:0> Wirble.init
irb(main):005:0> Wirble.colorize
irb(main):006:0>
irb(main):008:0> h = {:foo => "foo"}
=> {:foo=>"foo"}

irb(main):017:0> h.each
h.each          h.each_pair    h.each_with_index
h.each_cons     h.each_slice   h.each_with_object
h.each_key      h.each_value


To set Wirble as default for irb

~/.irbrc

require 'rubygems'
require 'wirble'
Wirble.init(:skip_prompt => :DEFAULT)
Wirble.colorize

Compiled mysql python 1.2.3c1 for Python 2.7 for Windows

MySQLdb module does not provide windows binaries for Python 2.6 +

So, here is the one I've compiled for MySQLdb 1.2.3c1 (1.2.3 gamma 1) for Python 2.7 with MySQL 5.1.45 header files

http://soemin.googlecode.com/files/MySQL-python-1.2.3c1.win32-py2.7.exe

and also for Python 2.6 could be find here

http://soemin.googlecode.com/files/MySQL-python-1.2.3c1.win32-py2.6.exe

Its just compiled with built-in setup command bdist_wininst

Update for knowledgebridge.net

Looks like I know the editor of the web site, I got the fair response now.
It was unintended, so, everything should be fine from now. cheers.

Here is the part of his repsonse.

ကြ်န္ေတာ္တို့ ေျပာတာကို website တင္ေပးတဲ့လူေတြ သေဘာမေပါက္ျဖစ္သြားတာဗ်။

ကြ်န္ေတာ္တို့ေျပာလိုက္တာက Credit ေပးဖို့ကို ဆိုလိုတာ။

ေနာက္ ေရးထားတဲ့ အခ်က္အလက္လဲမွားေနတယ္။

- Website တြင္ ေဖာ္ျပထားေသာ သတင္းအခ်က္အလက္မ်ားသည္ Knowledge Bridge Magazine ပိုင္ အခ်က္အလက္မ်ား ျဖစ္သည္။

ဆိုတာလဲမွားေနတယ္။ အမွန္ေတာ့ စာေရးဆရာတစ္ေယာက္ ေရးထားတဲ့ Content ကို စာေရးဆရာပဲပိုင္တယ္ဆိုတာ ဒီက စာေပသမားတိုင္းလဲ သိျကပါတယ္။ သူတို့တင္ျပီးျပီဆိုတုန္းက ကြ်န္ေတာ္ ေသေသခ်ာခ်ာ မစစ္ျဖစ္တာ။ အဲေတာ့ http://www.i-web4u.com/ အျပစ္လဲ မဟုတ္ျပန္ဘူး။ ကြ်န္ေတာ့္အျပစ္ျဖစ္သြားျပီ။ ေလာေလာဆယ္ေတာ့ ကြ်န္ေတာ့္မွာ Editor Account ပဲရွိတာရယ္၊ လိုင္းမေကာင္းတာရယ္ေျကာင့္ ဒီေန့ခ်က္ျခင္းျကီးေတာ့ ျပင္လို့ရမွာမဟုတ္ေတာ့ဘူး။ နက္ျဖန္ ညေနေလာက္ မတိုင္မွီ ျပန္ျပင္ခိုင္းလိုက္ပါ့မယ္။ နက္ျဖန္ ညေလာက္ ျပင္ျပီးရင္ ေမးျပန္ပို့လိုက္မယ္ဗ်ာ။

PS: Basically I don't mind people using it without asking but I don't like claiming me back like that. If you use other's stuff freely, Let people reusing yours freely too. Then it would be fair.

knowledgebridge.net - they mentioned not to copy theirs, but they copied Mine

Update : see my next post please



knowledgebridge.net - they mentioned not to copy theirs, but they copied Mine

http://knowledgebridge.net/index.php?option=com_content&view=article&id=244:2010-01-08-02-33-35&catid=46:it-features&Itemid=112

I have posted that last year september at here


http://www.soemin.net/2009/09/teach-yourself-programming-in-ten-years.html

In google search,


  1. ပရိုဂရမ္မာျဖစ္ဖို ့ ...

    8 Jan 2010 ... စာအုပ္ဆိုင္ေတြရွိတဲ့ ဘက္ကို သင္လမ္းေလွ်ာက္ ၾကည့္ဖူးမွာပါ။ ...
    knowledgebridge.net/index.php?option=com...it... - Cached

  2. မာ့ခ္၏ ကိုယ္ပိုင္ အတဿတမ်ား: Teach Yourself ..

    14 Sep 2009 ... စာအုပ္ဆိုင္ေတြရွိတဲ့ ဘက္ကို သင္ လမ္းေလ်ွာက္ျကည့္ဖူးမွာပါ။ ...
    www.soemin.net/.../teach-yourself-programming-in-ten-years.html - Cached - Similar 
Check the dates.

their claim in the their web site

Website တြင္ ေဖာ္ျပထားေသာ သတင္းအခ်က္အလက္မ်ားသည္ 
Knowledge Bridge Magazine ပိုင္ အခ်က္အလက္မ်ား ျဖစ္သည္။
Knowledge  Bridge ၏ ခြင့္ျပဳခ်က္မရပဲ ကူယူေဖၚျပျခင္း (သို႕) 
မိမိအက်ိဳးအတြက္  အသံုးခ်ျခင္းမ်ားရွိပါက ဥပေဒအေၾကာင္းအရ 
အေရးယူ ေဆာင္ရြက္မည္ျဖစ္ေၾကာင္း  အသိေပးအပ္ပါသည္။

is FAIL!

#Memo - Bought a Ruby book this morning and Just Realized Today is Ruby Day!

I've got some times this morning and walked around along the street.
I've found a book shop near the station, went there to look around.
After reading some books, I've got one good book, called Ruby Recipe.

And Now,

One of my friend just told me, today is Ruby's day.

Wow! That's Greaaaaaaaaaaaaaaat!

Kind of Serendipity :-)

Ruby is for me too :-)

Paid 420k Yen (approx. 4600 USD) to Embassy for the so-called tax, to extend the passort

Paid 420k Yen (approx. 4600 USD) to Myanmar Embassy for the so-called tax, to extend the passort.

Detail: 10k Yen per month for 3 year and few months => 420k Yen


420 000 Japanese yen = 4 679.22 U.S. dollars


I asked Chinese, Indians, Phillipinos, even Bangladesh, they don't have such things.

So this kind of tax is only for Myanmar Citizens who working in foreign.

NTT Sucks!!!

NTT Sucks!!!

They recently blocked almost everything for internal internet, which includes google search, yahoo search, even stackoverflow. Damn it!

#Memo - Feb 1 ~ Feb 2


Some snow in Tokyo

#Memo - Some Quotes

"When people are lame, they love to blame."


"Inside of every problem lies an opportunity."


"You have to be smart. The easy days are over."

CopyPasted from Ko Ei Maung's Post

Writing Proxy Server for particular site in PHP with one line (HTTP GET only)

I cannot get access to stackoverflow today again.

So here it is tiny proxy server for http get request, I've written today.

<?php echo preg_replace('|"\/|','"/?x=',file_get_contents('http://stackoverflow.com/'.$_GET["x"]));?>

Cheers,

Memo# Couldn't get access to stackoverflow.com

I couldn't get access to stackoverflow.com almost all the days (only about an hour in the evening, its fine)

- downforeveryorjustme says its down there too
- but just-ping says its almost fine from most place
- it could be my company banned it for local machines
- superuser and serverfault got banned page, but stackovflow and meta aren't, just got
The remote server refuses to perform the request. This address is not available.
- I got it works around 1 hours with Opera Turbo.
- It could be my company banned Opera Turbo too, but some others site like whatismyipaddress.com are fine with Opera Turbo
- Or Stackoverflow banned Opera Turbo? may be because of high traffic on same ip (because its shared by many users?)
- I got 1 hour ok, so its mean banning is not permanent, may be just for few hours for high traffic?

still no clue till now. hopes it will be ok later. or I need to tunnel something with my servers.

Memo# Loop with index in Ruby (alternative to enumerate in Python)

irb(main):033:0* d={"a"=>"x","b"=>"y","c"=>"z"}
=> {"a"=>"x", "b"=>"y", "c"=>"z"}

irb(main):052:0> d.each_with_index{|(k,v),i|puts "key: %s, value: %s, index: %i"% [k,v,i]}
key: a, value: x, index: 0
key: b, value: y, index: 1
key: c, value: z, index: 2
=> {"a"=>"x", "b"=>"y", "c"=>"z"}

က်ေနာ္ဖတ္ေသာ အျခား ဘေလာ့ / ဆိုဒ္မ်ား