Progress Overview


#1

After being inspired by the wallpaper generator, I sat down and wrote a little tool to generate some kind of progress overview. It generates a picture with one column for each level, and in each column boxes for each srs state (apprentice, guru, …) with all the kanji and vocabulary. I will clean up the code in the next days, fix a few small bugs (box title not appearing for very first box for example), add a few flags and then upload the whole thing.

Edit: repository is now live at https://github.com/Kintaro/wanikanivis
Edit 2: Go to http://think-in-co.de:8080/{your key} and replace {your key} with…well…your key



#2
rootnode said... (box title not appearing for very first box for example)
Indexes start at zero! ;)

#3
piderman said...
rootnode said... (box title not appearing for very first box for example)
Indexes start at zero! ;)
 I know. It's the same code for every column. Still trying to figure out why then the first box in the first column has no title.

#4

Given the abundant and varied programmers that seem to be on WK if you’re having issues with it and you can’t track it down ask for help.
Just post your repo and I’m sure someone will hook you up. :slight_smile:


#5

Cool! Would like to see the madness for those who are level >25!


#6

Ok, issue is resolved (kinda hacky, but resolved). Plus I’ve added flags. And here’s the repository https://github.com/Kintaro/wanikanivis


#7

Written in GO cool !


#8
greedence said... Written in GO cool !
Yeah, I needed a small project to toy around with Go. It's not using any of Go's strong features, but it was nice playing around with it.
 

#9

Installed, works except for one bug that I see.

Burned items don’t seem to show up correctly. http://acals-cave.com/progress.png



#10
acalewin said... Installed, works except for one bug that I see.

Burned items don't seem to show up correctly. http://acals-cave.com/progress.png


 It's fixed now. That's what I get for blindly importing the colors from the wallpaper generator :D

But did you cut off the right end of the picture? Because I only count 16 columns and your profile states that you are level 20. 

#11
rootnode said...
acalewin said... Installed, works except for one bug that I see.

Burned items don't seem to show up correctly. http://acals-cave.com/progress.png


 It's fixed now. That's what I get for blindly importing the colors from the wallpaper generator :D

But did you cut off the right end of the picture? Because I only count 16 columns and your profile states that you are level 20. 
 Err.... no. I didn't do any manipulation to the image.  Just tried again, and probably got the same result.  Updated my copy of the repo just to be safe.
http://acals-cave.com/progress2.png

┌─[acalewin@reimu] - [~/git-repos/wanikanivis] - [2013-04-03 06:24:20]
└─[$] git fetch
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 3 (delta 2), reused 3 (delta 2)
Unpacking objects: 100% (3/3), done.
From git://github.com/Kintaro/wanikanivis
   0a16465..6b658c9  master     -> origin/master
┌─[acalewin@reimu] - [~/git-repos/wanikanivis] - [2013-04-03 06:24:58]
└─[$] go build
┌─[acalewin@reimu] - [~/git-repos/wanikanivis] - [2013-04-03 06:25:04]
└─[$] ./wanikanivis -output="progress.png" -key="282c6cb990d63b36d347e24609157d4f"
┌─[acalewin@reimu] - [~/git-repos/wanikanivis] - [2013-04-03 06:25:35]
└─[$] scp  progress.png acalewin@acals-cave.com:/var/www/servers/acals-cave.com/html/progress2.png
progress.png                                                                                                                                                                                  100% 1496KB   1.5MB/s   00:00



#12

Huh…interesting. Will have to look into it. I hate testing blind, that’s gonna be fun.


#13
rootnode said... Huh...interesting. Will have to look into it. I hate testing blind, that's gonna be fun.
 If you promise to be gentle, use my API key to test.

#14

Ok, should be fixed now


#15

I’d be really interested in using this, but I don’t know how…
I downloaded the repository from Github, do I need to get a particular software to run the main file that’s in the folder ?


#16
Tortugannanas said... I'd be really interested in using this, but I don't know how...
I downloaded the repository from Github, do I need to get a particular software to run the main file that's in the folder ?
 You'll need Go ( http://www.golang.org ), mercurial (to use 'go get') ( http://mercurial.selenic.com/ ),  and freetype-go ( http://code.google.com/p/freetype-go/ ). I think that's all I needed, unless I had a bunch of stuff already installed.



#17

The steps to build and run it are:

go get <a rel="nofollow" target="_blank" href="http://code.google.com/p/freetype-go">http://code.google.com/p/freetype-go</a><br> go build
$ ./wanikanivis --key {your key here}


#18

acalewin: could you test it once more so that I can see if the burned colors are correct now and that the width is now as it should be?


#19

Looks good since the last time I updated the repo (about an hour ago) http://acals-cave.com/progress3.png


#20
acalewin said... Looks good since the last time I updated the repo (about an hour ago) http://acals-cave.com/progress3.png

 Nice. Thank you.

@Tortugannanas: I'm putting together a very small webapp where you can generate the picture soon.