KRITZ

PageType: HomePage    

finally back to 7k... until i'm not

my site: [ext] http://www.hdp.com/attorneys/christopher-eusebi

[ext] http://www.insidecounsel.com/2014/12/16/new-mining-techniques-give-companies-competitive-a

_ Well the graph says it all ....

 http://www.gokgs.com/servlet/graph/kritz-en_US.png

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.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.

<!-- Counter Code START --><a href="[ext] http://www.e-zeeinternet.com/" target="_blank"><img src="[ext] http://www.e-zeeinternet.com/count.php?page=667706&style=blackout&nbdigits=5&reloads=1" alt="HTML Hit Counter" border="0" ></a><br><a href="[ext] http://www.e-zeeinternet.com/" title="HTML Hit Counter" target="_blank" style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; text-decoration: none;">HTML Hit Counter</a><!-- Counter Code END -->


KRITZ last edited by 209.155.152.66 on April 21, 2015 - 01:47
RecentChanges · StartingPoints · About
Edit page ·Search · Related · Page info · Latest diff
[Welcome to Sensei's Library!]
RecentChanges
StartingPoints
About
RandomPage
Search position
Page history
Latest page diff
Partner sites:
Go Teaching Ladder
Goproblems.com
Login / Prefs
Tools
Sensei's Library