06.22.08

Geeking out again… :-(

Posted in Geeking Out, Ruby on Rails, Web at 7:08 am by ryan

Got all geeked out about two things today… One was a really strange bug on my Mac’s version of Rails… Had to patch the rails time.rb and conversions.rb to get it all worked out. If get an error that looks something like:

NoMethodError: private method `to_date’ called for Sun Jun 22 21:02:51 +0800 2008:Time

Then, you’ll need to patch Rails (or upgrade) in Rails Changeset 6099.

Second, I’ve been wanting to improve the way online times/dates are handled, and known this can be done via Javascript and storing times in UTC, but hadn’t see how easy this is. Just take a look at TheRailsWay.com’s “scribbish.js” file. The functions you’re interested in are:

  • show_dates_as_local_time
  • get_local_time_for_date
  • distance_of_time_in_words

05.16.08

Photoshop Tutorial Book…

Posted in Geeking Out, Web at 3:49 am by ryan

There’s a great Photoshop book called “The Photoshop Anthology“. I picked it up at Amazon a while back for $26 USD. The publisher sent me an email a few days ago announcing that the book is available for free download for the month of May!

If you’re been meaning to learn Photoshop, save yourself $26 and go download the PDF for free - right from the publisher.

200805161849.jpg

05.04.08

Twitter~你有没有试过?

Posted in Geeking Out, Mac OS X, Web at 4:10 am by ryan

第一次我看过这个“twitter”的网站认为是很土,但是越看越喜欢。twitter 说他的用处是回答常问的问题:“你在干什么?”。对我来说,twitter 最大的有点是发布消息很灵活。自己已经用几个办法发布留言:

  • Twitteriffic:”super lightweight” Mac OS X desktop Twitter Client
  • SMS/Text Message: just text in any language to: +44 7624 801423
  • Twinkle: iPhone geo-localized twitter client - who’s twittering near you.
  • Web (Twitter.com): Of course, you can post directly via the website
  • 也能通过IM留言,但是没有支持QQ或MSN。现在只有:GTalk,LiveJournal,和 Jabber

试试看!

04.21.08

Online Project Management: Revisited

Posted in Geeking Out, Web at 9:20 am by ryan

Back in November I wrote about different Project Management systems that I’ve been experimenting with, primarily Wrike - at the time I noted several areas where Wrike was seriously deficient:

  1. Safari Support
  2. Time Tracking (by Task, by Resource, by Hour)
  3. Chinese and Japanese support in Input Boxes
  4. Homespun looking website with aliased graphics

Not only has the Wrike team provided me with timely courteous responses to all communication, they’ve delivered on each of these issues.

Quote me here: “TODAY, Wrike has become a better Project Management solution than BaseCamp or GoPlan - Wrike’s got everything they’ve got, along with excellent Email integration that they don’t!”

09.23.06

Web Browser Color Management Tutorial

Posted in Geeking Out, Web at 6:25 pm by ryan

Web Browser Color Management Tutorial:
Did you know that Safari, OmniWeb and Mac IE are the only browsers on the planet with “Color Management”. Do you know what color management does?

Basically, you can optionally attach an “ICC Color Profile” to your JPEGS. If your viewing application (usually your web browser) supports Color Profiles, that profile will be used to render the image on your screen.

Unfortunately, none of this matters much because even Apple advises that

Printers using RA-4 will almost always advise working in sRGB IEC61966-2.1, which is also the preferred colorspace for the Internet.

Of course, there’s one more wrinkle to watch out for. Photoshop’s default “Save for the Web” (Image Ready) feature defaults to the AdobeRGB profile, which isn’t really the color space for online. Whether or not you use Save for the Web, in Photoshop:

Photoshop> Image> Mode> Convert To Profile: sRGB IEC61966-2.1 BEFORE Saving for the Web, or going to ImageReady, or posting on the web

Why color changes when Save for Web, ImageReady, and or the internet?

09.10.06

Apache Wordpress Rewrite Rules…

Posted in Linux, Web at 6:29 pm by ryan

Picture 2-1Thanks to the PerishablePress site for helping me with the correct rewrite rules to get my Wordpress configuration running…. The htaccess Rules for all WordPress Permalinks. This will make your Permalinks as well as other content links all function properly. Works great!

[ #1 ] If WordPress installed in the root directory »

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

[ #2 ] If WordPress installed in a subdirectory called “foo” »

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /foo/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /foo/index.php [L]
</IfModule>
# END WordPress