Category Archives: Code

GMail app on a Treo 755p

Google does not officially support the GMail app on the Treo 755p and once you visit http://gmail.com/app with your phone on Blazer, you will receive and error message saying “not compatible with Palm OS 5 devices”. That is all true but there is a quick way to get around the problem.

There are two simple steps.

  1. Download JVM for Palm OS 5 from the following link (download to your desktop computer, install through HotSync) and install it on your Treo http://www.palm.com/us/support/jvm/
  2. Once that is done, visit the following URI with Blazer on your Treo, download the jar file to your phone and it will ask to install it. You should to be all set. http://gmail.com/app/v1.0.0/en/gmail-g.jar

Caveats: BUGS! The touch screen does not work very well at all on the Treo 755p with the GMail app. I am hoping that will be solved soon but the application is very navigable with the keypad on the Treo and all functions are much easier than the web version.

Enjoy!

Thanks to a Google Groups post and the helpful people on there. If you know of any other methods of tweaks, please leave a comment.

New version 1.5 now available.

Rootkit Hunter – Cool software!

Rootkit Hunter: This is a very useful tool to make sure your non-windows machine is free of the “rootkits” that hackers love to add to your vulnerable box. Some of the tests include: – MD5 hash compare- Look for default files used by rootkits- Wrong file permissions for binaries- Look for suspected strings in LKM and KLD modules- Look for hidden files- Optional scan within plaintext and binary files

FireFox 0.9 crash

I installed Mozilla FireFox 0.9 (well really an RC) recently. After a power outage I realized to my dismay that the browser would not start and would crash with an “access violation”. I traced the problem back to a preference being set (or not set as the case was). So a simple solution for people running Windows XP and Firefox is to browse to the following folder and delete the pref.js file in that folder. Restarting Firefox after the deletion should fix the issue.

Documents and Settings/computer_name/Application Data/Firefox

Pictorialis II: Ready for download

Pictorialis II is finally polished enough to be ready for download. The example blog can be found here:
http://mindfulmusings.net/testpict

Some of the features of Pictorialis II:
-Album building from the post interface
-Single photo addition, much like a photoblog
-Upload from FTP, point to the album, suggest an album name and description, type of thumbnail and click on publish album
-EXIF support even without PHP-EXIF
-GD and NetPBM support with optional NetPBM binaries
-XHTML compliant code
-Lots of custom fields for versatility and future features
-Picture preview on edit
-Picture Descriptions
-Everything is paged
-Look Ma, no tables!
-Count number of visits per picture (optional)
-Comments, trackbacks etc
-Clean simple design and CSS
-All of WP is included, so all the WP features are available!

Credits:
-Photomatt
-Unteins
-Morydd
-Jesuit
-Skippy_
-NuclearMoose
-Michel_v

Download the zip file from here:
http://weblogtoolscollection.com/b2-img/pictorialisII.zip

Please post bugs and requests on the Pictorialis Support Forums

IRC to blog script

I wanted to tinker with the socket capabilities of PHP and wrote some small scripts to support automatic blogging of IRC conversations. It turned out pretty well after a few changes and issues that needed to be resolved. Here are the results.

The likely suspect is the #wordpress channel on irc.freenode.net where developers, contributors as well as helpful friendly folk hang out often. All of the conversations from that channel are now blogged to http://proc.homeip.net/wordpress/ This is merely an experiment and if there are major objections to this process, this blog will be removed.

Some of the salient features of this include automatic blogging using xmlrpc. The script does not have to reside on the webhost machine. It is extremely fast and very configurable. At this time, every peice of conversation from every user is blogged as a seperate entry with the topic of the entry as the username of the person speaking. This is also turning out to be a test of extreme blogging through WordPress. The blog slows down after a certain size of the entries. All the entries are stripped of harmful tags before they are posted. Once this script has settled down a little and a few more bugs are ironed out, I will make it available for use. For reference, this uses the PHPIRC implementation for callbacks.

Stuff on my plate

Ive finally settled down to a harrowing daily routine of looking for jobs and coding, all the while spending some quality time with family. Here are some of the things on my little Post-It Notes Lite on my desktop:
Fix pinging on 1.2 – passed the buck on 😉
– Checkbox for threaded comments – urgent
– Recent photos pictorialis – somewhat done, needs a little fixing
– Multiple upload pictorialis
– Fix “who is online” on all blogs – goofy time problem on server
– Write XHTMl syndication script, draw some prelim plans
– Apply for jobs – throw enough shit on the wall that something has gotta stick!

Just a note of thanks to NuclearMoose (aka Craig Hartel) for creating a very nice header image for Pictorialis. That image, along with the new theme, is going to become the default distribution. I am thinking of starting another little page for Pictorialis stuff with a space for themes. Craig says that if I am desperate enough, he might come up with the first theme for it. I would also like to start a showcase for Pictorialis. I have seen some superb designs come out of it! 1000 downloads for Pictorialis and counting!! :)

XHTML syndication

I stumbled upon something yesterday that I thought could be really useful, at least to me. Many people have suggested and explored the idea of XHTML syndication. Some have come from big names such as Anil Dash and Tantek. However, there is very little implementation.

If every blog/CMS could have its own link for a file that spits out formatted XHTML code, life would be easier. For example, if I wanted to provide a little feed of my weblogtoolscollection, I would simply include a file from that blog that would spit out pre-formatted, pre determined code. No messing with XML, no tags to worry about or feeds to validate and then parse. The div tags etc could be defined in simple, easy to understand terms and would allow simple CSS formatting as well. A couple of different methods could be used to generate and then serve the file. WordPress could include a synd.php (or anything else) which could be included as a php file inside another weblog which resided on the same server and had real path access. Another file called extern_synd.php (or anything else) could do a document.write to spit out the files in XHTML format inside a script tag.

Would there be any interest in this sort of thing? Here is the little peice of code which led me to this. I was writing a simple recent thumbnails for my Pictorialis and this is what I have so far. This is a simple modification of Alex King’s wp-mobile hack. I got sidetracked before I could finish it! :)

Question about Google searches

Anyone know how to perform a search in Google that produces unique results? In other words, if I search for weblog, is there any way that every result that is returned is from a different site by eliminating multiple results?
This seems like a very simple modification of the search scheme (to someone that does not know how the google database works).