[Welcome to Sensei's Library!]

StartingPoints
ReferenceSection
About


Referenced by
KifuCopyrightDisc...
Shunt
FairUse
GoAlbum
EstimatingTheScore
ZhuZhen
BenjaminSDiaryInJ...
FillOutsideLibert...
GoLimericks
JapaneseCopyrightLaw
LadderStrategy
ReferenceGames
Distance
ForceFeeding
HikaruNoGoQuestio...
HoligorsLog
KGSWishlistOld
MessagesToPeopleC...
OffTopicPatentDis...
PalmPilot

Homepages
TrucOfKGS

 

KRITZ
PageType: HomePage    

I am a fairly recent Go student and Patent Attorney from Detroit Michigan who plays on KGS as often as life lets me.

After months frozen at 19-20k, I finally got to 17k (from playing as opposed to drift)- I am currently taking lessons from Mr. Zhu, 7D KGS. His handle is hotdog on KGS. He is very reasonably priced. His English is very good. Mr. Zhu can be reached at mygocoach(at-don't spam me)hotmail.com.

I am currently struggling with invasions and keeping my groups alive.

Contact me at: c_eusebi(at-don't spam me)hotmail.com


I figured out how to get the [ext] 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 [ext] 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 [ext] 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 [ext] http://www.informatik.uni-rostock.de/~masch/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



This is a copy of the living page "KRITZ" at Sensei's Library.
(OC) 2004 the Authors, published under the OpenContent License V1.0.