KRITZ
Patent Lawyer From Detroit:
http://www.hdp.com/attorneys/attorney_biography.php?attorney_id=31
see me at see: http://usgo.org/index.php?%23_id=3332
blog of my friend: http://womendonthavefriends.wordpress.com/
Inventor of the readybuckle: http://ceerestraintsystems.com/ and
http://www.readybuckle.com
The ready buckle system is a restraint system for Police Cruisers - Ford Crown Vic and Chevrolet Monte Carlo (now Charger and Tahoe too!)
Stuck in an 8-9k rut -
Currently trying Bruce Wilcox's Sector lines program. There is a ton of information in it.
_ Well the graph says it all ....
Kind of like my changing opinion of the economy...
\\LIFE AND DEATH IN THE GRAND CANYON [<a href="http://imageshack.us"><img src="http://img224.imageshack.us/img224/7251/dcfc0045yn4.jpg" border="0" alt="Image Hosted by ImageShack.us"/></a><br/>]
My recent trip - this makes a nice screen background
I figured out how to get the goproblems.com database onto a Palm Pilot or Visor.
This allows for a mobile way to utilize the database. All of the problems fit on my Palm. It is fairly simple and works really well.
Using the SGF viewer PilotGOne, all of the comments are available as are the variations. The key was to find a method to transfer many SGF files into the Palm memopad system. This of course is Martin Schmidt's afore mentioned program!
Steps:
A) Download goproblems in .sgf format. The problems can be found on the download page. Please note that the problems are copyrighted by goproblems.com. (That said, the owner of goproblems.com has posted this information on his web site.)
B) Download PilotGOne SGF viewer from http://minas.ithil.org/pilotgone/pilotgone.html
C) Download a program to transfer the SGF files into a .mpa file which can be imported by the Palm Desktop Application 4.0 using http://www.gomasch.de/programme/sgftompa.html. This program is the key as it allows for copying in SGFs without the slow cutting and pasting which makes using the database impossible.
D) Import the .mpa file into the Palm using the Palm desktop application. That's it! It works great.
The files on the handheld need to be modified slightly to help with file managment. All SGF viewers on Palms appear to use the game name (GN variable in SGF) as a record indicator. For example, PilotGone has a function which modified the first line of the SGF to be the game name, thus making it available as a record name.
It is possible to modify the SGF of your problems to include the genera from the goproblems database. I see on the site that most problems have an associated genera and "hardness value" combined. The people from PilotGOne put this together to do the trick. It runs with CygWin.
#!/bin/bash
# goproblems2sgf.sh by Sylvain Soliman <Sylvain.Soliman@m4x.org> # Version 0.0.1 # # Extract SGFs from goproblems.com HTML files, and add a meaningful GN.
if [ ${#*} != 2 -o ! -d $1 -o ! -d $2 ]; then echo "Usage:" `basename $0` "<input HTML directory> <output SGF directory>" echo " Extracts SGFs from HTML files with Genre and Difficulty in GN." echo " Both directories must already exist." exit 0 fi
for file in $1/prob*.html do genre=`grep -3 "Genre:" $file | tail -1` diff=`grep -2 "Difficulty:" $file | tail -1 | sed -e 's/<\/\?td>//g' -e 's/\//-/g'` begin=`grep -n 'name="sgf"' $file | sed -e 's/:.*$//g'` tail +$begin $file | sed -e "s/^<\/script>[^(]*(;/(;GN[$genre - $diff]/g" -e 's/"><\/applet>.*$//g' \ > $2/`basename $file .html`.sgf done
Just a thought.
KRITZ
Sebastian -- Good idea. The GN property is certainly the best choice among existing properties. In addition, I would add distinct new properties for genre ("GE"?) and difficulty ("DF[20k]"). If MarkD implements my suggestion of variables in SGFOrganizer (or indeed anyone else in their program) then you can easily use these for display, filtering and sorting. -- 2003-09-22
maruseru: I've patched kombilo to do just that, with the proposed problem type (PT) and problem difficulty (PD) tags.