Sunday, July 21, 2013

Embassy in Morocco

After 3 weeks delay I have gotten my passport via Gambia.

I wonder why will am embassy demand that a visa applicant should send their international passport to their embassy in Morocco, knowing that passport are prohibited by mail/courier.

I just had a bad experience from Bangladesh embassy. Really they cannot be that ignorant. Even if the demand persist the embassy should accept the responsibility of making the the passport is delivered and not wash their hands off.

All embassies in Morocco and more specifically Bangladesh should try and be more helpful

Wednesday, June 12, 2013

Go and Sell Fish!

Something to keep in Mind
...I remember Olorogun Michael Ibru (The original Nigerian business patriarch) watching me as we were doing a dinner/press event when Econet was about to launch and I was proud to be in the initial project team. He called me aside and asked me what my occupation was and I proudly told him "Consultant". He then asked if I think I can ever be as rich as he was by doing what I was doing now? I told him I will try. He said "not here". "If you want to be as rich as I am, go and sell fish. I sold plenty of fish and I am rich" then he fell asleep…. - Victor Asemota vis OONwoye

Saturday, June 1, 2013

Street honor

I am drinking with a friend of mine is a less developed part of Maputo.
A guy knocked down our beer, and immediately apologized and offered to replace.
Feeling that we are probably better off, I told my friend to refuse the offer (since my Portuguese is not good), the guy strongly refused to agree to our decline.
I spent the remaining time thinking of the honor that will make an obviously less resourced person to insist..

Coop PH

I stayed in Bairro da Coop, Maputo for my vacation. Coop contains about 10 ten-storey buildings, labelled PH-1 to PH-10.
However, before I saw the place, I heard the locals calling the house "piaga". I proceeded on research to find out the exact meaning of the word "piaga" in Portuguese. I can't remember why I didn't just ask the guys.
I tried Google translate and Search to no avail. I tried to change to word to "phiaga", "piega", "peagar".. still no results until I just looked at the letters in front of me.
The word, is simply a combination of letter P and H! Which is pronounced as "Pee-agar!" In Portuguese, like an English speaker will say Pee-Etch!
It means that the answer has always been in front of me, or may I say on the building!!

Wednesday, May 15, 2013

1and1 Custom Domain on Blogspot

I decided to use my custom domain for my blog, which looks straight forward according to the instructions in blogger.com, until i went to change the CNAME in the domain host 1and1.
Blogger (google) requires changing 2(two) CNAME on the internet host, but 1and1 only has space for 1 CNAME (one)!

I battled this for a month, and even scoured the internet for any resolution with any definitive solution, until i came up with a solution; after putting all together.

The best way to do it it is by using Google Host Verify Tool. The steps reproduced below.
  • Go to the Blogger and update the information on your Settings | Basic tab. Find the area for "Publishing," and click the link to add a custom domain.
  • Then, click on "Switch to advanced settings." 
  • Enter in the URL for your custom domain in the text box provided, and click Save.
  • You will encounter an error; Error 12.
Figure 1
  • Log in to your 1&1 account at https://admin.1and1.com
  • If it's not already selected, click the Administration tab. Click Domains. The Domain Overview page appears.
  • From the New drop-down menu, select Create Sub-domain. 
  • Check the box next to the subdomain, and type the name of the sub-domain on Figure 1 above
  • From the DNS menu, select Edit DNS Settings.
  • Click the radio button next to CNAME.
  • Include the CNAME record value associated with your use. Use the values in Figure 1 as the CNAME value. (remove the (.) at the end)
  • Click on the Google Verify Webmaster Tool (highlighted on Figure 1). It will open another webpage
Figure 2
  • Select 1and1.com from the Domain name provider box and Click Verify
    Figure 3
  • Congratulations, The site is verified!
  • Go ahead and add the custom domain on Settings|Publishing tab

Who is Satoshi Nakamoto? UPDATE

A this Bitcoin craze goes woldwide, there is still a question now answered... WHO IS SATOSHI NAKAMOTO!!??

Satoshi Nakamoto
Some think...
  • of British Origin
  • ... a world-class programmer, with a deep understanding of the C++ programming language.
  • ... understands economics, cryptography and peer-to-peer networking
  • ... a team of people who worked on this, or this guy is a genius.
  • Last word from him is "moved on to other things"
Quite a handful... But still who is Satoshi Nakamoto!!?
Ted Nelson claims that he is Shinichi Mochizuki, a math professor at Kyoto University. http://m.cnet.com/news/computer-visionary-says-he-knows-who-invented-bitcoin/57585224

Thursday, May 2, 2013

django and virtualenv on Aptana Studio

Create a folder for storing Virtualenv environments

C:\Users\amachefe>mkdir env
C:\Users\amachefe>cd env

Create a virtual environment VCMS by running the virtualenv command.
C:\>powershell
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.
PS C:\>
PS C:\Users\amachefe\env>virtualenv vcms
New python executable in vcms\Scripts\python.exe
Installing setuptools................done.
Installing pip...................done.

In Microsoft Windows, before activating the virtual environment, ensure that the new environment is used by setting the Powershell execution policy
PS C:\> Set-ExecutionPolicy RemoteSigned
PS C:\> exit

Activate the virtualenv environment just created

PS C:\Users\amachefe\env>vcms\Scripts\activate
(vcms) C:\Users\amachefe\env>
(vcms) C:\Users\amachefe\env>pip list

(vcms) C:\Users\amachefe\env>pip show
ERROR: Please provide a package name or names.
(vcms) C:\Users\amachefe\env>pip install django
Downloading/unpacking django
  Downloading Django-1.5.1.tar.gz (8.0MB): 8.0MB downloaded
   Running setup.py egg_info for package django

    warning: no previously-included files matching '__pycache__' found under directory '*'
    warning: no previously-included files matching '*.py[co]' found under directory '*'
Installing collected packages: django
  Running setup.py install for django

    warning: no previously-included files matching '__pycache__' found under directory '*'
    warning: no previously-included files matching '*.py[co]' found under directory '*'
Successfully installed django
Cleaning up...
Storing complete log in C:\Users\amachefe\pip\pip.log