Wednesday, July 11, 2012

Seems the FBI is after me

Hello. When you read this, I will be on the run. At least, you didn't find out where my stash is. You can't be charged with aiding and abetting. And my folks are also clueless. I hate to leave like this, but it's better I run off than stay and allow you face the shame of my being arrested by the FBI…

This morning, I was expecting a friend's email and as usual, looked into my spam folder, where I had six emails. Nothing surprising about that. I looked to see what was in it — Google's spam-detection algorithms are excellent but not perfect — and lo and behold, the FBI was out to get me:

Oh my! Was it the time I thought Michelle Obama was hot (I have also thought a younger Halle Berry was. Incredibly. Hot.)? Or the times I said one thing or the other against the Nigerian government or any of its leaders? Or was it one of my exes that was getting revenge for something I said (or did/didn't did, more likely)? Or was it my Twitter account? Was it from church for being waaay to explicit on Twitter? Or the people in the office building for flirting with the ladies? Or, or, or…

Anyway, I needed to know what I was charged with. So I took a look see, so I'd know just how to book that ticket to Brazil…

Would you look at that! I've got the FBI so broke, they can't afford to pay their ISP fees and send emails from their domain anymore. Let's look at the attachment:

Anti-Terrorist and Monetary Crimes Division 
Fbi Headquarters In Washington, D.C. 
Federal Bureau Of Investigation 
J. Edgar Hoover Building 
935 Pennsylvania Avenue, NW Washington, D.C. 20535-0001 Website: 

Attention, this is the final warning you are going to receive from me do you get me? 
I hope youre understand how many times this message has been sent to you?. 
We have warned you so many times and you have decided to ignore our e-mails or because you believe we have not been instructed to get you arrested, and today if you 
fail to respond back to us with the payment then, we would first send a letter to the mayor of the city where you reside and direct them to close your bank account 
until you have been jailed and all your properties will be confiscated by the fbi. We would also send a letter to the company/agency that you are working for so that 
they could get you fired until we are through with our investigations because a suspect is not suppose to be working for the government or any private organization.
Your id which we have in our database been sent to all the crimes agencies in America for them to inset you in their website as an internet fraudsters and to warn 
people from having any deals with you. This would have been solved all this while if you had gotten the certificate signed, endorsed and stamped as you where 
instructed in the e-mail below.this is the federal bureau of investigation (fbi) am writing in response to the e-mail you sent to us and am using this medium to 
inform you that there is no more time left to waste because you have been given from the 3rd of January. As stated earlier to have the document endorsed, signed and 

stamped without failure and you must adhere to this directives to avoid you blaming yourself at last when we must have arrested and jailed you for life and all your 
properties confiscated.
You failed to comply with our directives and that was the reason why we didn't hear from you on the 3rd as our director has already been notified about you get the 
process completed yesterday and right now the warrant of arrest has been signed against you and it will be carried out in the next 48hours as strictly signed by the 
fbi director. We have investigated and found out that you didn't have any idea when the fraudulent deal was committed with your information's/identity and right now if 

you id is placed on our website as a wanted person, i believe you know that it will be a shame to you and your entire family because after then it will be announce in 
all the local channels that you are wanted by the fbi. As a good Christian and a honest man, I decided to see how i could be of help to you because i would not be 

happy to see you end up in jail and all your properties confiscated all because your information's was used to carry out a fraudulent transactions, i called the efcc 

and they directed me to a private attorney who could help you get the process done and he stated that he will endorse, sign and stamp the document at the sum of $98.00 

usd only and i believe this process is cheaper for you. 

You need to do everything possible within today and tomorrow to get this process done because our director has called to inform me that the warrant of arrest has been 
signed against you and once it has been approved, then the arrest will be carried out, and from our investigations we learnt that you were the person that forwarded 
your identity to one impostor/fraudsters in Nigeria when he had a deal with you about the transfer of some illegal funds into your bank account which is valued at the 
sum of $10.500,000.00 usd.
I pleaded on your behalf so that this agency could give you till 7/10/2012 so that you could get this process done because i learnt that you were sent several e-mail 
without getting a response from you, please bear it in mind that this is the only way that i can be able to help you at this moment or you would have to face the law 
and its consequences once it has befall on you. You would make the payment through western union money transfer with the below details.
Senders name====== 
Send the payment details to me which are senders name and address, mtcn number, text question and answer used and the amount sent. Make sure that you didn't hesitate 
making the payment down to the agency by today so that they could have the certificate endorsed, signed and stamped immediately without any further delay. After all 
this process has been carried out, then we would have to proceed to the bank for the transfer of your compensation funds which is valued at the sum of $10.500,000.00 
usd which was suppose to have been transferred to you all this while.
Note/ all the crimes agencies have been contacted on this regards and we shall trace and arrest you if you disregard this instructions. You are given a grace today to 
make the payment for the document after which your failure to do that will attract a maximum arrest and finally you will be appearing in court for act of terrorism, 
money laundering and drug trafficking charges, so be warned not to try any thing funny because you are been watched. 




Anti-Terrorist and Monetary Crimes Division 
Fbi Headquarters In Washington, D.C. 
Federal Bureau Of Investigation 
J. Edgar Hoover Building 
935 Pennsylvania Avenue, NW Washington, D.C. 20535-0001 Website:

I'm off to Brazil…not!

Tuesday, July 10, 2012

Getting monotonic time on OS X since clock_gettime isn't available

tl;dr version:
  1. #include <mach/mach_time.h> into your source file.
  2. replace any calls to clock_gettime(CLOCK_MONOTONIC, &timespec_t) with calls to mach_absolute_time().
One of the great things about OS X is that so many things 'just work', especially as regards open-source software. That's because a lot of open source developers put in the time needed to make their software work on as many platforms as possible. Once in a while, though, you encounter some software written for Linux that doesn't work on OS X. I needed the ability to capture and verify fingerprints, and I had a couple of avenues open to me. Nyimbi Odero (who headed the team that developed the biometric capture software for Nigeria's 2011 elections) recommended the use of libfprint for capturing the fingerprint data. So I went off and grabbed libfprint, unpacked and did the ./configure dance. It complained about not having a dependency, I would look up the dependency in HomeBrew and install it. After about 4 or 5 direct dependencies were installed using HomeBrew, configure completed without errors. make was throwing up errors involving CLOCK_MONOTONIC. Initially, I took one glance and began looking that up (I need to really slow down a lot more and look at things properly). I didn't find anything useful and put the issue aside for a bit. I later ran make distclean, re-ran configure, and then make. Looking at the error closer this time, I saw that clock_gettime() was 'implicitly declared'. So I googled again and found the information at the top. I would normally have directly linked, but I couldn't view the actual page (referenced several times since 2009 when it was actually posted), since there was a database error on the site.

Disclaimer: I still have no idea what monotonic time is.