Dave Page

August 17, 2008

EXIFutils to the rescue

Filed under: Computers — Tags: , , — dave @ 1:13 pm

Bette teaches kindergarten. She takes pictures, and as the computer consultant, I have to upload them to the Walgreens website. So I use iTag to review them and add the IPTC keyword tag “printme” to the ones she wants printed. How to convert to Walgreens?

It’s not pretty. I use the wonderful EXIFUtils to extract a list:

S:\pix>exiflist /o l -f file-name,ip-keyword . | grep printme | sort
VVKG_20080811_144431.jpg,Kindergarten; garden; sunflower; printme
VVKG_20080812_155541.jpg,Kindergarten; garden; sunflower; printme
...

Sort it for ease of picking. Grep to filter out the ones with printme. Simple.

Until you start with Walgreens. You can either work with their ActiveX uploader, which truncates the last part of the filename, or add one at a time via a Browse button and the standard file-open dialog, which is slow.

Needed: upload a list, or allow multiple selections in the browse box. Or a new print vendor with a location 1/2 mile away. Still cheaper than printing them on a printer.

Also, I could use ThumbsPlus – you can do queries on a folder based on a keyword, then move those into a temporary folder, then upload the temp folder. Might even be easier.

Walgreens photo processing
EXIFUtils
ThumbsPlus


This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Creative Commons License

August 14, 2008

nLite

Filed under: Computers — Tags: , , , , — dave @ 6:58 pm

I bought an old computer from Steve, dual core, better that I have now. Anyway, I am reinstalling a retail Windows XP onto it, and want to install SP2 fresh, not SP1 and upgrade. Creates a lot of junk. So we slipstream, merge SP2 into SP1 install CD. Can do it with lots of steps. How about easy?

Enter nLite. Pick a folder, with two dvd drives creates a bootable iso. Burn and go. Easy.

Used it many times. Recommended

UPDATE: now, I can try SP3 without upgrading SP2 first. I have heard bad things — this might avoid some of them.

nLiteOS

July 20, 2008

KeePass Merge

Filed under: Computers, Software — Tags: , , , , , , , — dave @ 2:16 pm

I use KeePass to track hundreds of passwords, securely.

I also use Replicator to synchronize the files between my USB flash drive, home and work PCs. Sometimes it gets confused, mostly when I make changes at both ends. Replicator realizes this and stops. It creates a copy of the file, renames it password~1.kdb and replicates the two copies.

How to tell what changed? Cool tools like WinMerge only detect differences of binary files, not what changed. Especially for an encrypted file.

I export each file to an xml file, say password.kdb.xml and password~1.kdb.xml. I uncheck the top two - encode \n and eliminate backup items. Who cares? I include all fields below.

WARNING: these files now have ALL your passwords in cleartext. DELETE them when done — preferably a DOD delete.

Each record has a GUID — so no matter what change you make to the record, the GUID remains the same. So the way to check is to sort the XML by GUID and then compare the two with a diff tool.

I wrote an XSL stylesheet to sort them:


------keepass-exp-sortbyguid.xsl----------
<xsl:stylesheet xmlns:xsl=”http://www.w3.org/1999/XSL/Transform” version=”1.0″>
  <xsl:template match=”pwlist”>
    <xsl:apply-templates>
      <xsl:sort select=”uuid”/>
    </xsl:apply-templates>
  </xsl:template>
  <xsl:template match=”*”>
    <xsl:copy>
      <xsl:apply-templates/>
    </xsl:copy>
  </xsl:template>
</xsl:stylesheet>

I use the msxsl transformer cuz its easy on windows. Use your own, or send me a script for cygwin tools.

iconv is required to convert the output of the XSL transform from UTF-8 into ISO-8859-1 or else bad things happen down the chain.

Here is the batch file to drive them:

------keepass-export-xml-sorter-converter.bat----------
setlocal
rem take the xml output of keepass export, sort them by UUID,
rem export to new file for comparison. CLEARTEXT!!!

set ICONV_HOME=c:\Program Files\GnuWin32\bin
msxsl password~1.kdb.xml keepass-exp-sortbyguid.xsl | “%ICONV_HOME%\iconv”
  -f UTF-16 -t ISO-8859-1 | tidy -xml -i -wrap 99999 > password~1.kdb.sort.xml
msxsl password.kdb.xml keepass-exp-sortbyguid.xsl | “%ICONV_HOME%\iconv” -f UTF-16
 &nbsp-t ISO-8859-1 | tidy -xml -i -wrap 99999 > password.kdb.sort.xml

endlocal

Now it is trivial to compare the two with WinMerge and identify the differences — everything lines up!

I had a problem this last time with characters that do not convert — typographic quotes and em dashes (ala Word Auto-Correcting). If you see
09063 Flaming Moeiconv: x: cannot convert
check the line for the goofy chars.

This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Creative Commons License

June 26, 2008

Course: Edward Tufte, Presenting Data and Information

Filed under: Books, Computers, Postcards, Software — Tags: , , , , , , — dave @ 8:00 am

Karin from work and I attended a one-day course, Presenting Data and Information, by Edward Tufte at the Hyatt Regency Chicago.

I had read some of his stuff a year or two earlier, tried to go to the Chicago course, and our crack clerical staff missed the deadline and it was full. So here we go! Long walk from Metra station to E Wacker Drive. But nice. Good weather. Nice walk.

Showed up, found our way thru the rabbit warren, and registered. We were issued a heavy cardboard box of 4 of ET’s books, and a homework assignment for reading before the class started. I grabbed a Starbucks from the lobby, and off we went.

Big room, lots of people, and not a lot of personal space — typical seminar. We plopped down and read. ET held “office hours” for autograph seekers and questions before, at lunchtime, and afterwards. When does the guy go potty?

The course itself was interesting. The guy is a great speaker, engaging and interesting. The time flew by. He showed 16th century books as examples of books and graphics as timeless art. Neat.

We did the fast 15-minute lunch at Houlihan’s next door. In and out quick, I had a nice chicken wrap, but by the time you walk there, eat, and return it was time to get going again. And the Starbuck’s went away in the PM.

Most of the items listed on the list of items to be covered were indeed covered. The final items were design of information displays in public spaces and design of computer interfaces and manuals. These were the items we were interested in. We got some of the kiosk discussion, but I don’t think we got much of the design of interfaces and manuals. NOTE: I found a review of Visual Explanations with references to Web development, but upon review, it is good stuff, but not a cookbook, more a philosophy.

Tufte manages to get everything important about Web design onto pages 146 through 149 of this book: let the information become the interface, use text rather than icons, don’t let the Web site mimic the bureaucratic structure of the publisher. The most remarkable thing is that he wasn’t even writing about the Web!

On the way home, got some combo cheese-and-caramel corn from the Garrett’s popcorn kiosk in the Metra station. Made a nice snack for us later.

Summary: Good course. Neat to see the 16th century books. If you read and have the books, probably a waste of time and money. If you don’t do technical presentations with lots of tables trying to prove things, (like us) perhaps limited use. But hearing “KISS” once more can be a good thing. And bashing PowerPoint is always fun.

May 10, 2008

Gallery Remote

Filed under: Computers, Software — Tags: , — dave @ 5:12 pm

So when I try to use the latest Gallery Remote 1.5 I get an error message:

Error: http post failed (http 404 not found)

Using Wireshark to sniff the request from GR:

POST /gallery_remote2.php HTTP/1.1
User-Agent: Gallery Remote 1.5
Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress
Content-type: application/x-www-form-urlencoded
Content-length: 59

cmd=login&protocol_version=2.3&uname=XXX&password=XX

The response:
HTTP/1.1 404 Not Found

So it seems to be looking for a file called gallery_remote2.php. I don’t have it.

April 25, 2008

“Seussical” at Wheeling High School, Wheeling, IL

Filed under: Computers, Family, Fun, Music — Tags: , , , , — dave @ 7:30 pm

Went to see Katherine as a bird girl in Seussical at Wheeling High School. The show was good, the costumes were great, and it was fun to see Kat up there. I am constantly amazed at how talented high school kids are.

Note: see the “Horton Hears a Who” movie or read it and “Horton Hatches an Egg” or you won’t know what is going on. We saw Horton in FL on vacation…good thing.

April 24, 2008

Thanks 1&1 Ya Dopes for not including Subversion

Filed under: Computers, Musings, Software — Tags: , , , , , — dave @ 9:50 pm

OK so they warned me. They moved to a new Linux platform, and Subversion stopped working.

I used my own instructions to rebuild. No good. Errors.

After some Googling I found an article by Nick Sergeant and he basically had the same routine. But he dumped 1&1. I can’t afford to now.

So I tried the latest subversion 1.4.6. Looks like it built. Will it update WordPress and Gallery?

WordPress: yes. Gallery: probably. Looks like we are in business.

Why can’t 1&1 at least provide a subversion client?

April 10, 2008

Mouse Wars - Evoluent vs. AirO2bic

Filed under: Computers, Musings — Tags: , , , , , — dave @ 12:44 pm

I just bought another ergonomic mouse, an Air02bic Quill mouse.

I liked the Evoluent mouse, but its biggest problem is that you drag your hand on the surface of the table. Makes it hard to move. I wondered about attaching a base to it to prevent that problem.

The folks at Designer Appliances beat me to it. The AirO2bic mouse nestles your hand so it doesn’t even touch the table. It’s a little weird, because it almost feels like your wrist cannot move — like in a cast. I think it will take some getting used to it. The position of the mouse pad ($10 extra, but huge) seems more critical.

But you know, if my pen pad still worked on Windows XP/64, I would still use that. To me, the pen control is the ultimate controller.

Vendor: aerobicmouse.com

Bought from thehumansolution.com

February 10, 2008

Honey

Filed under: Computers, Dining, Family, Fun, Music, PM586, Postcards — Tags: , , , — dave @ 6:47 pm

Took a break from the TDI Dance Competition in which the Woodstock High Poms — sorry, Dance Team, old habits die hard — did great (to our eyes) in AAA Pom. While in Geneva, we hopped over to pick up Bette’s mom, and headed over to Honey, a new nouveau diner in the Glen Ellyn downtown area.

You walk in the corner door from the -5 wind chill and it feels like a bakery. Case with food in the front, welcoming people behind the counter. A hostess seated us. Ceiling old school tin, very sparse decorating, track lighting. Lots of wait staff in crisp white t-shirts.

We quickly got coffees - bottomless, strong and good. The menu had lots of good looking things. One was a special oatmeal, cooked then fried in a pan. Lots of good salads, sandwiches. Had to pick one.

I ordered the breakfast burrito with sausage ($8.95). Bette had the veggie burger (8.95) with fries on the side ($2.95). Grace had the steak sandwich ($12.95).

After 20 mins and another cup of coffee, the waitress brought out the two orders of fries, explaining the steak was taking a long time. We nibbled on them, they were wonderful, with some crusty salt thing and a hint of rosemary. They were, however, trending toward cold, but not cold enough to complain. They must have been sitting there waiting for the sandwiches. The table next to us spilled a huge hot chocolate and moved over and we watched them clean it up.

In all, a nice place with a good breakfast. A welcome change from the usual.

Honey 499 N Main St, Glen Ellyn, IL‎

Powered by WordPress