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.

Windows Kernel Audio Piping

Well lately I have been busy working on a small driver for the windows kernel. The point of it from the start was to capture the data sent to the wave out and pipe it in as if it came from the microphone. What for? Well I did not have a microphone back then and I wanted to communicate through Skype and I wanted to write to the text to speech engine and send it as my robotic voice of sort. Unfortunately I did not have enough time or patience to achieve it till now. I have just recently finished it and it works just as intended.


Subscribe to mapleman's Code & Stuff RSS