Archive for the ‘Software’ Category

Yahoo Photos Closing

Sunday, June 17th, 2007

When is Yahoo Photos Closing?

Yahoo! Photos closes on Thursday, September 20, 2007 at 9 p.m. PDT.

You will lose your photos!

When they close down on the 20th of September, any photos on that service will be deleted, destroyed, or probably archived to such a place that you will never see them again.

Your Options

Best Option

Download the original photos uploaded to Yahoo Photos. And then upload them to Google’s free photo sharing service, Picasa.

So-So Options

  • Flickr
  • Kodak Gallery
  • Shutterfly
  • Snapfish
  • Photobucket

Deadline is September 20, 2007

How to install Visitors and Graphviz at Dreamhost

Friday, June 15th, 2007

So you’d like to see a graph and some sweet statistics of your website’s traffic? Your host is Dreamhost?

Visitors and GraphViz

Visitors is a very fast web log analyzer for Linux, Windows, and other Unix-like operating systems. It takes as input a web server log file, and outputs statistics in form of different reports. The design principles are very different compared to other software of the same type.

GraphViz is used to show those graphs generated by the visitors step.

Demo

How to Install

Here’s how you install visitors and graphviz on a dreamhost account. Quick and easy how to install fast website logging and graphing into a Dreamhost account

  1. First, grab the precompiled version of visitors
  2. Next copy this makefile source to a directory of your choosing (on your Dreamhost account)
  3. You’ll need to edit the HOST and TARGET lines at least, and probably the EXCLUDE line as well.
    HOST=fastwiki.com
    TARGET=~/image-tags.com/files
    
    EXCLUDE=--exclude 72.134.42.251
    --exclude 75.80.163.250
    --exclude /admin/
    
    OPTIONS=-TGKZHUWMRDYS
    --screen-info
    -m 400
    --operating-systems
    --browsers
    --error404
    --filter-spam
    
    PREFIX=--prefix http://$(HOST)
    
    LOGS=~/logs/$(HOST)/http
    
    NULL=>& /dev/null
    
    TMPLOG=access.tmp.log
    DOTFILE=graph.dot
    OUTFILE=visitors.html
    OUTGRAPH=visitors.png
    
    all: $(TARGET)/$(OUTFILE) $(TARGET)/$(OUTFILE) $(OUTFILE) $(OUTGRAPH)
    cp $(OUTFILE) $(OUTGRAPH) $(TARGET)
    
    $(OUTFILE): $(TMPLOG)
    ~/bin/visitors $(TMPLOG) $(OPTIONS) $(EXCLUDE) $(PREFIX)
    > $(OUTFILE)
    
    $(DOTFILE): $(TMPLOG)
    ~/bin/visitors $(TMPLOG) $(OPTIONS) $(PREFIX) $(EXCLUDE)
    --graphviz > $(DOTFILE)
    
    $(OUTGRAPH): $(DOTFILE)
    ~/bin/dot $(DOTFILE) -Tpng > $(OUTGRAPH)
    
    $(TMPLOG): $(LOGS)/access.log
    zcat $(LOGS)/access.log.*.gz > $(TMPLOG)
    cat $(LOGS)/access.log >> $(TMPLOG)
    
    clean:
    -rm $(DOTFILE) $(TMPLOG) $(OUTGRAPH) $(OUTFILE) *~ *#
    • Host is the website hostname you’re interested in, TARGET is the place where the visitors.html (the stats) file and visitors.png (the graphs) files will be copied.
  4. Type make
  5. Browse to the TARGET location on your server to view the files.

Insert Html Page Into Another Html Page

Friday, June 15th, 2007

Iframe replacement techniques

Including html in a page while maintaining xHtml strict compliance

I have added some kayak.com ads the other night, to the archive pages related to traveling. These ads are actually full-featured search snippets that allows you to directly search kayak.com database. Very handy things.

Sadly, they are written the old-fashion way, with quirks mode in mind, and worse yet – they are writing nested table tag soup directly into the page – no iframe thingie, like Google AdSense is doing. Thus, when my CSS files got applied to it, the snippet fell apart. Luckily, the snippet always opens a new window, thus I quickly coded in an iframe in which the snippet is displayed. Which was all dandy…apart from the fact that my pages are XHTML 1.0 Strict, in which iframe is banned element. Jolly.

Correct way to include another HTML page into another is by object. The element which only purpose is to insert any foreign object into nice and structured web page.The standard way of coding an object element is to use appropriate MIME type and add the foreign object’s URL. Naturally, this does not work in IE6 (nor IE7) so I had to look for the infamous clsid value for text/html.

Using an object Element instead of an iframe by Cody Lindley

Based on the technique from this page, my additions are simply to combine all the various bits into a single element for ease of use.

Code Sample

Firstly, we can combine the classid attribute with the non-IE object:

<object classid=”clsid:25336920-03F9-11CF-8FD0-00AA00686F13″ type=”text/html”
data=”object.html” style=”width:300px;height:200px;”>
<p>Fallback text</p>
</object>

Secondly, we need to eliminate the borders and scrollbars that IE presents:

<!–[if IE]>
<style type=”text/css”>html, body {border:0;overflow:visible;}</style>
<![endif]–>

Note that unless the external (the one in the “iframe”) document is in Quirks mode, a bevelled edge-type border will be rendered in IE7/Win. This is sub-par and will require more investigation.

Also note that I’m using a Reset CSS file on this page, so your mileage (in terms of resetting base browser styles) may vary.

New Linerider Found

Friday, June 15th, 2007

LineRider

New Line Rider

Don’t know exactly how new it is but it’s pretty current.

LineRider Version 6.1

Right click, save as… to download.

New Fastwiki Theme

Friday, June 15th, 2007

New Theme

This theme is pretty simple, but note the headers.

On firefox, they’re slick images.  On IE .. who knows.

Broken Links

All the old fastwiki links are  broken now! Going to have to fix them.

Google

Interesting to know what google does about it.

Using Google Desktop Search

Wednesday, June 13th, 2007

Contents

  1. What is Google Desktop Search (GDS)?
  2. Searching Your Computer
    1. Checking if Desktop search is installed
    2. Doing a search
    1. Quick Search: CTRL-CTRL
    2. Toolbar Search
  3. Summary

This post has a couple of purposes. First is to explain usage of Google Desktop Search. Second it’s a test of the Wordpress and Word 2007 inter-operability.

What is Google Desktop Search

Google desktop search answers the question, where did I save that file?

You should make it a personal goal to navigate the windows file-system. We can remove that human-computer torture from our lives.

Searching Your Computer

To search your computer with Google Desktop Search you must have the program installed.

Checking if Desktop search is installed

  1. Look for the Google Desktop Search Icon in your taskbar.
  2. If you see this icon, then desktop search is installed.
  3. If you don’t see the icon, search isn’t installed. Download and install Google Desktop Search.

(more…)

Mapping your del.icio.us tags.

Saturday, June 9th, 2007

example mindmap

I’m a big fan of del.icio.us for organizing everything I read on the internet. I also use FreeMind for structured brainstorming and graphical organization as a mindmap. Displaying tags as a mindmap tree was an obvious fit. I figured it wouldn’t be too hard to transform an xml format from del.icio.us to the FreeMind file format.

DeliciousMind = del.icio.us + MindMap

A great benefit I found when I was researching, I discovered the mindmap format could also include weblinks on each of the nodes. This means you can click through the created mindmap tree and launch websites from your del.icio.us bookmarks directly within Freemind. On Windows, the links are even opened directly in your default browser.

Source