UAE adventure

I moved to the United Arab Emirates for a job opportunity. Learning a lot about the Arab culture, enjoying delicious Indian, Lebanese and Arabian dishes.

Latest projects (off the clock) have involved: React, GraphQL (with Relay or with Redux) and Feathers.

PHP Stata got an update to work on PHP 7

New branch available at

Data collection on Mechanical Turk

I got together with a couple of my co-workers at the RAND Corporation and we did a study on Mechanical Turk. It got accepted on the Society for Research on Nicotine and Tobacco Annual Meeting (2015).

What: Consumer Perceptions of E-cigarettes: A comparison of Smokers and Non-Smokers in a Mechanical Turk Sample

Tools: Custom made data collection tool using PHP Symfony, Doctrine on MySQL, and Python/boto for automating the payments and HIT publishing.

PHP Stata Extension

After a long hiatus and a move to the US I finally had time to update my blog. I created a nice piece of code, a PHP Extension. This extension lets you read and write Stata files directly on your php code and at very good speeds. It still needs optimization but it is a very useful piece of code, specially for sites that deal with economics or social science data sets. You can get the code from my Github repository.

Calling SAS Web Services from C#

Something as trivial as setting a web service client on Visual Studio takes a new meaning when referring to SAS. Don't get me wrong, SAS is a great statistical tool but their implementation of Web Services despite being set on top of JBoss (an excellent app/web container) is disastrous. Add to that the fact that their working examples from using C# were written for Visual Studio 2005.

EVE Corporate Management

The EVE Corporate Management program just got a re-haul. It now is compatible with the new API. Also instead of using that annoying Access Database which caused a lot of problems it uses SQLite. Give it a try! Click here

*You might need to install the .NET System.Data.Sqlite from --- 32 bit version, .NET 3.5 SP1, and install it into the GAC

Mongo is fresh air

These past months I have been working for a client based in NY and we have been developing a CMS platform. The interesting part is the database we have used has been Mongo. What a breath of fresh air! No more having to go to phpmysqladmin to recreate or drop tables, alter them, you just code and change the database as you go along. Your database just works.


Subscribe to mapleman's Code & Stuff RSS