Setting up mod_wsgi with XAMPP on a Mac

September 17th, 2009 | 3 Comments | Tagged as ,

For a project at work I needed to create a Python app, accessible via http. I’m using a Mac with XAMPP installed at work. Being used to do this sort of work mostly in PHP, I needed to learn a few things. Here is the summary of how to make it work on the localhost.

Read more

Mac Mini (Intel) memory replacement

August 29th, 2009 | 3 Comments | Tagged as

mac-mini-top-view-120Today I decided to finally upgrade the capacity of RAM of my old trusty Mac Mini from one to two GB. The whole process was a bit more complicated than I anticipated so I decided to write a few comments here coupled with some photos. Be aware that following these steps will void your warranty and might cost you a bit of time.
Read more

Finder: “There is no default application specified …”

February 1st, 2009 | 7 Comments | Tagged as

After creating a disk image (hdiutil create) and subsequently copying the files careleslly from within the bundle folder directly into my home directory, I could not anymore access my home directory from Finder. The error I got was “There is no default application specified to open the document”. Finder was recognizing my home directory as “package”.
Read more

Parsing the command line in Objective-C

January 14th, 2009 | No Comments | Tagged as , ,

Decision into which platform to rewrite the shell script to retrieve the stock quotes using Google API was a simple one – I would like to use Objective-C to be able to run the program on a Mac (and later hopefully on my iPod touch too). I began exploring the Objective-C only recently so I considered to be a good exercise to learn about basic Foundation classes by writing a class to parse command line arguments (instead of using the obvious getopt choice).

Read more

How to get a real-time stock quote using Google API

January 5th, 2009 | 11 Comments | Tagged as , , , ,

After resolving the problem with authentication, I continued playing around with Google Finance API, using HTTP and XML. The API offers some nice functionality to retrieve user portfolio content, but it doesn’t take long to realize that there is no support for retrieving (real-time) stock quotes, probably for some good reason like licensing. But then, there is a way of getting real-time stock quotes on your Google Spreadsheet using the GoogleFinance() formula. Can this fact get us closer to retrieving real-time stock quotes using Google Data API?

Read more