Square Galaxy

Tag: Software

atoi(getenv(”MYVAR”))

by Jacob on May.28, 2008, under Technical

These are mostly personal notes. I’m not sure if they will make sense to others.

I had a problem with a line of code like this:
int x = atoi(getenv("MYVAR"));

If this line was in daemon-ized code started at init level 2, it would segfault. (I’m not sure if these conditions are necessary, but those were my conditions).

getenv("UNKNOWN_VAR") == NULL
atoi(NULL) should == 0

But for some reason, things were segfaulting. I corrected the problem with:
if (getenv("MYVAR") == NULL) int x = 0;
else int x = atoi(getenv("MYVAR"));

2 Comments :c, linux, programming, Software more...

GDocsUploader 1.2 released

by Jacob on May.06, 2008, under Technical

I released version 1.2 (download) of my little GDocsUploader program. After being published on a few websites and having over 4000 downloads, I thought it might be nice to update the app a little.

There are bug fixes, better error dialogs, a new icon (used under a creative commons license) and uploading of photos into Picasa Web Albums. A bulleted list of changes is published in the project wiki.

GDocsUploader is a small Mac OS X program that I wrote to quickly upload documents to Google Docs, simply by dragging and dropping a document icon onto the uploader icon.

I created this project entirely in my spare time. If you would like to support further development, please consider a donation:

3 Comments :gdocsuploader, os x, Software more...

Gdocsuploader

by Jacob on Apr.22, 2008, under Technical

A while ago, I found myself needing to upload many document files into Google Docs. I saw that Google had a new API for doing such, so I decided to write a quick little app for the Mac to do just that. Just drag and drop documents onto the icon, and away their uploaded.

I had never written any sort of real Mac application, so I just kind of glued something together out of Python, applescript, and a couple of helper apps. I threw the source up at Google Project Hosting, which has been good, because otherwise I would have been supporting the thousands of downloads.

Recently, my little droplet app became more famous. It was featured on lifehacker.com as a featured Mac Download. My favorite line from their post was, “Gdocsuploader is still new and a bit unpolished.” I think it should be considered more than just a bit unpolished. They should have said, “this thing might work, and is about as unpolished as lava rock.”

There have been a multitude of other posts about my little project:

Thanks to everyone who wrote something nice about it.

8 Comments :code, gdocsuploader, Google, Google Docs, Open Source, os x, Software more...

Did Google just change the world again?

by Jacob on Apr.07, 2008, under Technical

While Google is perhaps one of the most innovative web development companies out there, sometimes I am slightly disappointed because they fail to meet my exceedingly high expectations. Google has developed and released very few applications that I would consider as world changing. The short list includes Search, Gmail, Maps, Spreadsheets, and Calendar. That isn’t to say that Google hasn’t purchased and developed other emerging technologies which might also been revolutionary–Blogger, Picassa, Writely, Keyhole, and YouTube–but those applications got their start outside of Google. That also isn’t to say that Google hasn’t developed other standards and technologies which have greatly furthered the Internet. I’m simply making the point that Google has developed, from the start, only a few applications that most Internetizens would consider life-changing.

There is perhaps one product which is little known that I consider as having changed the Internet forever. This app has never really seen daylight outside the lab. In fact, its been a part of Google Labs for the last three and a half years. The product of which I’m referring is Google Suggest. If web applications were a family tree, Google Suggest would have been the grandfather of the so-called Web 2.0 apps we have today.

Google Suggest makes use of a web browser feature called XmlHttpRequest. This feature allows the browser to connect back to the web server and download additional content after the web page has already loaded. Today we see this feature used all around the web, but when Google Suggest was first released, few people ever knew that it existed. Post-loading content from the server was so revolutionary, that it has seen incredible adoption all over the net. So although most people never really knew about Google Suggest, it has indeed been the spark that lit the Web 2.0 firestorm.

Today Google released a new product platform which may be listed among the great revolution products from Google. Google App Engine (not to be confused with Google Apps for your Domain) is a service which allows web application developers to host their applications on Google’s servers, using Google technology.

Google App Engine solves the single biggest challenge in web application development: hosting. Having a web host that is well configured, well connected, and well tested is usually expensive, but it seems that Google will be providing at least some level of hosing for free. This really gives developers a whole new level of freedom for creating apps, and I think this will foster a whole new level of web application creativity. Who knows, this might be just the beginning of something called, Web 3.0.

4 Comments :Google, Software, Web Development more...

Great open source OS X applications

by Jacob on Mar.17, 2008, under Technical

Here is a quick list of apps that I frequently use on OS X. I believe all of them are free and open source. many of the applications are development tools that I find useful.

Those are my favorite, most used apps. You should also check out this list of mac apps, some of which I’ve used either on the mac or other platforms, others I plan on trying soon.

Leave a Comment :lists, os x, Software more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

 

November 2008
M T W T F S S
« Oct    
 12
3456789
10111213141516
17181920212223
24252627282930