Jacob’s Technical Blog

Software

Skip to body

Pages

Categories:

Archives: [See list]

Links

Meta:


atoi(getenv(”MYVAR”))

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"));

May 28, 2008 at 2:34 pm
Categories: Linux, Software
Comments: 2

GDocsUploader 1.2 released

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:

May 6, 2008 at 8:28 pm
Categories: Mac, Software
Comments: 3

Did Google just change the world again?

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.

April 7, 2008 at 11:19 pm
Categories: Google, Software, Web Development
Comments: 4

Great open source OS X applications

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.

March 17, 2008 at 1:30 pm
Categories: Mac, Software
Comments: None yet

Leapord iCal Server to support Outlook?

With the latest release of OS X Leapord being released soon, I thought I would take another look at some of the features of Leapord server. One of the things I’ve been anticipating is the new calendaring server. Apple says that the new server “works well with others,” but maybe not as well as they were first saying. It seems that Apple who was once touting Microsoft Outlook compatibility is now being quite hush about it. Consider this sentence from their old iCal Server features page:

iCal Server uses open calendaring protocols for intergrating with leading calendar programs, including iCal 3 in Leopard, Mozilla’s Sunbird, OSAF’s Chandler, and Microsoft Outook.

The same sentence recently changed to omit any reference to outlook:

iCal Server uses open calendaring protocols for intergrating with leading calendar programs, including iCal 3 in Leopard, and popular CalDAV clients from Mozilla, Open Source Application Foundation and others.

Continue reading Leapord iCal Server to support Outlook?…

October 16, 2007 at 12:12 pm
Categories: Mac, Software
Comments: None yet

Upgraded to Wordpress 2.2

About 9 or 10 hours ago, Wordpress 2.2 was released and announced. Wordpress is free, open source software which used to create blogs, like this one, but can also be used as a simple content management system, like how I used it to create my mom’s business site.
Continue reading Upgraded to Wordpress 2.2…

May 16, 2007 at 1:53 am
Categories: Open Source, Software
Comments: None yet

Cyberduck

Despite having a pretty cool name, Cyberduck is a pretty cool program.  It is an FTP/SFTP program for Mac OS X.  I like using it to upload files to my webserver using SFTP.  It integrates in with my Mac operating system pretty well, and best of all, it is open source.  Being open source means that I'll never be charged for it, and I can copy and redistribute it as much as I want.  I can even change part of the program if I want.  Anyway, I just wanted to give a shout out and applaud those who have worked on Cyberduck and say, thanks.

Continue reading Cyberduck…

May 14, 2007 at 8:58 pm
Categories: Mac, Open Source, Software
Comments: 2

Thunderbird 2.0

Thunderbird is an email software sibling to Firefox, the excellent web browser from the Mozilla foundation.  Today I found out that version 2.0 was released for Thunderbird.  Among the new features are:

Continue reading Thunderbird 2.0…

April 19, 2007 at 5:46 pm
Categories: Email, Software
Comments: None yet