Page 1 of 8

little tool for checking your notes

Posted: Tue Nov 23, 2010 8:01 pm
by marty44
Hi all,

if you ever want to know, what notes are the "Suspicious or new combinations" in your NIG Trivia page, try this tool.
See the readme.txt for instructions.

http://www.arbeitsplatzvernichtung-durc ... scheck.zip" onclick="window.open(this.href);return false;

marty

PS: C source code is included, tested with Linux

Re: little tool for checking your notes

Posted: Wed Nov 24, 2010 10:35 am
by R/J
If I understand you correctly, the program gives note-IDs for the suspicious and new combinations listed by (a now old version of) NIG?

Re: little tool for checking your notes

Posted: Wed Nov 24, 2010 10:44 am
by klapotec
R/J wrote:If I understand you correctly, the program gives note-IDs for the suspicious and new combinations listed by (a now old version of) NIG?
no, it gives the value, short code and serial number like this:
unknown combination: 10 Euro note J005A5 N510xxxxxxxx (x'd to protect the innocent) ;)

and from my reading of the source code is current as to which combinations exist (e.g. :note-200: G/X :note-20: G/E), unlike NIG

Re: little tool for checking your notes

Posted: Wed Nov 24, 2010 3:46 pm
by Jes
It sounds interesting.

Re: little tool for checking your notes

Posted: Wed Jan 05, 2011 7:33 pm
by tigerpranke
Hello Marty!

Nice tool, it helped me finding some short code-typos in my EBT-data. :oops:

Two notes are still shown as "printer short code seems to be wrong", although they have valid value/serial/short code-combinations:
:note-20: G001xx / P025xxxxxxxx
:note-5: L024xx / U136xxxxxxxx

After debugging the tool with my own csv-file I found the problem: The atoi-function keeps on reading while there are numerical-characters, because there is no zero terminator ('\0').

This is my suggestion:

Code: Select all

.
.
/*---declaration---*/
 char shortcodewert[4]; /* changed from 3 to 4 */
.
.
/*---in-the-loop---*/
shortcodewert[0]='0';
shortcodewert[1]='0';
shortcodewert[2]='0';
shortcodewert[3]='\0'; /* added zero-terminator for atoi-function */
.
.


Another thing to mention: Maybe the size of 512 characters for the fgets-function is too small. As you can read in the API-description the comment's length can be up to 500 characters. And with the rest of the information in the csv-file it's easy to exceed 512 characters.

Keep up the good work - tigerpranke :wink:

Re: little tool for checking your notes

Posted: Thu Jan 06, 2011 6:19 pm
by marty44
Hi tigerpanke,

thanks for the hint. I added it and it is working. I'm going to release the next version in the next few days (if I have time)

marty44

Re: little tool for checking your notes

Posted: Sun Jan 09, 2011 11:56 am
by marty44
so, version 0.006 is out, now it checks for valid printer codes as listed in http://liste.eurobillets.free.fr/" onclick="window.open(this.href);return false;
the only code i added: r035 for X 50 Euro notes (I had this notes, but did not scaned it :( )

Re: little tool for checking your notes

Posted: Fri Apr 06, 2012 8:18 am
by tigerpranke
marty44 wrote:so, version 0.006 is out, now it checks for valid printer codes as listed in http://liste.eurobillets.free.fr/" onclick="window.open(this.href);return false;
the only code i added: r035 for X 50 Euro notes (I had this notes, but did not scaned it :( )
Latest version is 0.025, so Marty keeps improving his tools (EBT Notes Check, First Notes).

There's even a tool (HTML EBT Notes Check) that makes a html-file for easier correcting wrong entries.

I have to thank him, because with the help of his tools i got rid of some weird shortcodes and typos :wink:

Re: little tool for checking your notes

Posted: Fri Apr 06, 2012 12:44 pm
by sarebt
Cool app!
Also I got rid of a typo (a clicko actually), so thanks for making and sharing!

Just note that where it says: "printer short code seems to be wrong", it actually means "something seems to be wrong". After a bit of research I found that in my case it was the denomination that I misclicked back then. But correcting notes that you don't own anymore is something that needs to be done with a lot of care anyway: before you know you lost the traces of a very special combi that exists for real!

Re: little tool for checking your notes

Posted: Fri Apr 06, 2012 7:07 pm
by jrnsndrs
Nice, the first notes list. I found that the list I created manually here does have mistakes. Going to work on correcting them. Done.

ImageIdea fore improvement: add a list for the first printer/country appearances regardless of value, or give them a special marking.


Results from ebtnotescheck:
0 unknown combinations, maybe 15 typing errors at the printer codes, 2490 notes total

Checking of notes took 0.016 seconds

Re: little tool for checking your notes

Posted: Sat Apr 07, 2012 9:42 am
by marty44
Hi jrnsndrs,

hmm, good idea... Please save your output to a text file and append the things you would like to see (so I'm sure, that I understand correctly what you mean)
I will then check if it is possible to program it (I have only limited knowledge of programming)

marty

Re: little tool for checking your notes

Posted: Sat Apr 07, 2012 12:17 pm
by jrnsndrs
To begin with, I am talking about a list of the notes I marked here with a :flag-eu: flag. (the same list I had to correct yesterday, see earlier messages in this topic)

A possible output could look like this:

Code: Select all

First Notes version 0.007 by marty44 from 09.02.2012


By value/printer/country combination:
      1. note was the first  20 L/U note, entered in Tilburg, Netherlands, EBT notes id: 41555437
      2. note was the first  20 P/X note, entered in Tilburg, Netherlands, EBT notes id: 41555445
      3. note was the first   5 M/V note, entered in Tilburg, Netherlands, EBT notes id: 41588727
      4. note was the first  10 L/U note, entered in Tilburg, Netherlands, EBT notes id: 41588799
      5. note was the first  10 P/X note, entered in Tilburg, Netherlands, EBT notes id: 41588840
      7. note was the first   5 L/U note, entered in Tilburg, Netherlands, EBT notes id: 42144749
      9. note was the first  10 G/P note, entered in Tilburg, Netherlands, EBT notes id: 42144955
     10. note was the first   5 F/N note, entered in Tilburg, Netherlands, EBT notes id: 42187825
     11. note was the first  20 G/P note, entered in Tilburg, Netherlands, EBT notes id: 42226380
     12. note was the first  50 P/X note, entered in Tilburg, Netherlands, EBT notes id: 42226403
     16. note was the first   5 G/P note, entered in Nuenen, Netherlands, EBT notes id: 42321025
     21. note was the first  10 T/Z note, entered in Nuenen, Netherlands, EBT notes id: 42321254
     22. note was the first  20 J/S note, entered in Nuenen, Netherlands, EBT notes id: 42321311
     24. note was the first  50 H/P note, entered in Nuenen, Netherlands, EBT notes id: 42321427
     29. note was the first   5 R/X note, entered in Tilburg, Netherlands, EBT notes id: 42459475
     32. note was the first  50 R/X note, entered in Tilburg, Netherlands, EBT notes id: 42541161
     33. note was the first  50 G/P note, entered in Tilburg, Netherlands, EBT notes id: 42541186
     36. note was the first   5 P/P note, entered in Tilburg, Netherlands, EBT notes id: 42620425
     38. note was the first  20 F/N note, entered in Tilburg, Netherlands, EBT notes id: 42680470
     40. note was the first   5 U/M note, entered in Eindhoven, Netherlands, EBT notes id: 42701787
     43. note was the first  20 M/V note, entered in Tilburg, Netherlands, EBT notes id: 42766306
     52. note was the first  10 F/N note, entered in Tilburg, Netherlands, EBT notes id: 43432269
     73. note was the first 100 P/X note, entered in Tilburg, Netherlands, EBT notes id: 44067184
     74. note was the first 100 J/S note, entered in Tilburg, Netherlands, EBT notes id: 44067299
     81. note was the first   5 T/Z note, entered in Tilburg, Netherlands, EBT notes id: 44270264
     87. note was the first  20 H/T note, entered in Tilburg, Netherlands, EBT notes id: 44436589
     93. note was the first  20 U/M note, entered in Kaatsheuvel, Netherlands, EBT notes id: 44730361
    142. note was the first   5 P/X note, entered in Tilburg, Netherlands, EBT notes id: 46180633
    157. note was the first  50 H/L note, entered in Tilburg, Netherlands, EBT notes id: 46688082
    166. note was the first  10 N/Y note, entered in Tilburg, Netherlands, EBT notes id: 46947001
    184. note was the first  20 E/U note, entered in Tilburg, Netherlands, EBT notes id: 47883176
    193. note was the first  50 H/M note, entered in Tilburg, Netherlands, EBT notes id: 48144891
    202. note was the first  10 R/X note, entered in Tilburg, Netherlands, EBT notes id: 48520409
    206. note was the first  50 T/Z note, entered in Tilburg, Netherlands, EBT notes id: 48801292
    237. note was the first  50 M/V note, entered in Tilburg, Netherlands, EBT notes id: 49891841
    255. note was the first  20 E/L note, entered in Tilburg, Netherlands, EBT notes id: 50400529
    262. note was the first   5 K/T note, entered in Roermond, Netherlands, EBT notes id: 50443753
    354. note was the first  10 K/T note, entered in Geldermalsen, Netherlands, EBT notes id: 51043786
    431. note was the first  10 G/V note, entered in Tilburg, Netherlands, EBT notes id: 54354334
    439. note was the first  50 J/S note, entered in Tilburg, Netherlands, EBT notes id: 55045214
    557. note was the first   5 E/P note, entered in Tilburg, Netherlands, EBT notes id: 59150948
    652. note was the first  20 H/M note, entered in Tilburg, Netherlands, EBT notes id: 61337049
    678. note was the first   5 E/L note, entered in Eindhoven, Netherlands, EBT notes id: 61687360
    725. note was the first  20 E/H note, entered in Tilburg, Netherlands, EBT notes id: 63033379
    947. note was the first  20 P/L note, entered in Best, Netherlands, EBT notes id: 67696567
    991. note was the first  20 K/T note, entered in Tilburg, Netherlands, EBT notes id: 68254837
   1012. note was the first  20 G/L note, entered in Tilburg, Netherlands, EBT notes id: 68590641
   1125. note was the first  20 H/L note, entered in Tilburg, Netherlands, EBT notes id: 71741886
   1171. note was the first  20 R/X note, entered in Tilburg, Netherlands, EBT notes id: 73847270
   1378. note was the first  20 D/L note, entered in Tilburg, Netherlands, EBT notes id: 79785790
   1437. note was the first  20 T/Z note, entered in Middelbeers, Netherlands, EBT notes id: 81039110
   1550. note was the first  50 F/S note, entered in Nuenen, Netherlands, EBT notes id: 84313014
   1614. note was the first  10 M/V note, entered in Wezep, Netherlands, EBT notes id: 85229389
   1649. note was the first  20 G/G note, entered in Tilburg, Netherlands, EBT notes id: 86941280
   1767. note was the first  10 P/P note, entered in Abcoude, Netherlands, EBT notes id: 91069507
   1853. note was the first  10 G/X note, entered in Haren, Netherlands, EBT notes id: 92834203
   1934. note was the first 100 P/U note, entered in Tilburg, Netherlands, EBT notes id: 95594403
   1936. note was the first 100 F/N note, entered in Tilburg, Netherlands, EBT notes id: 95594459
   2059. note was the first  20 G/F note, entered in Tilburg, Netherlands, EBT notes id: 98771331
   2123. note was the first  20 G/E note, entered in Tilburg, Netherlands, EBT notes id: 100330627
   2186. note was the first   5 J/S note, entered in Tilburg, Netherlands, EBT notes id: 102168113
   2203. note was the first  10 J/S note, entered in Tilburg, Netherlands, EBT notes id: 102517959
   2237. note was the first  50 K/T note, entered in Tilburg, Netherlands, EBT notes id: 103703445
   2375. note was the first  10 E/X note, entered in Tilburg, Netherlands, EBT notes id: 107590082
   2384. note was the first  50 G/X note, entered in Tilburg, Netherlands, EBT notes id: 108207486
   2437. note was the first   5 E/H note, entered in Leerdam, Netherlands, EBT notes id: 108400032

2490 notes total, 66 of 116 combinations found

50 missing combinations: 5 D/L, 10 D/L, 50 D/L, 100 D/L, 200 D/L, 500 D/L, 5 E/E, 5 E/F, 5 E/G, 100 E/U, 200 E/X, 50 F/N, 500 F/N, 5 F/P, 500 F/P, 500 F/T, 10 F/Y, 20 G/H, 200 G/N, 100 G/P, 200 G/P, 50 G/Y, 100 G/Y, 100 H/L, 200 J/S, 500 J/S, 100 K/T, 50 L/U, 100 M/V, 5 N/Y, 20 N/Y, 50 N/Y, 100 P/M, 20 P/P, 50 P/V, 5 P/Y, 100 P/Y, 5 R/P, 200 R/X, 500 R/X, 200 R/Y, 500 R/Y, 200 T/U, 500 T/U, 200 T/V, 500 T/V, 100 T/Z, 200 T/Z, 500 T/Z, 10 U/M


By printer/country combination:
      1. note was the first L/U note, entered in Tilburg, Netherlands, EBT notes id: 41555437
      2. note was the first P/X note, entered in Tilburg, Netherlands, EBT notes id: 41555445
      3. note was the first M/V note, entered in Tilburg, Netherlands, EBT notes id: 41588727
      9. note was the first G/P note, entered in Tilburg, Netherlands, EBT notes id: 42144955
     10. note was the first F/N note, entered in Tilburg, Netherlands, EBT notes id: 42187825
     21. note was the first T/Z note, entered in Nuenen, Netherlands, EBT notes id: 42321254
     22. note was the first J/S note, entered in Nuenen, Netherlands, EBT notes id: 42321311
     24. note was the first H/P note, entered in Nuenen, Netherlands, EBT notes id: 42321427
     29. note was the first R/X note, entered in Tilburg, Netherlands, EBT notes id: 42459475
     36. note was the first P/P note, entered in Tilburg, Netherlands, EBT notes id: 42620425
     40. note was the first U/M note, entered in Eindhoven, Netherlands, EBT notes id: 42701787
     87. note was the first H/T note, entered in Tilburg, Netherlands, EBT notes id: 44436589
    157. note was the first H/L note, entered in Tilburg, Netherlands, EBT notes id: 46688082
    166. note was the first N/Y note, entered in Tilburg, Netherlands, EBT notes id: 46947001
    184. note was the first E/U note, entered in Tilburg, Netherlands, EBT notes id: 47883176
    193. note was the first H/M note, entered in Tilburg, Netherlands, EBT notes id: 48144891
    255. note was the first E/L note, entered in Tilburg, Netherlands, EBT notes id: 50400529
    262. note was the first K/T note, entered in Roermond, Netherlands, EBT notes id: 50443753
    431. note was the first G/V note, entered in Tilburg, Netherlands, EBT notes id: 54354334
    557. note was the first E/P note, entered in Tilburg, Netherlands, EBT notes id: 59150948
    725. note was the first E/H note, entered in Tilburg, Netherlands, EBT notes id: 63033379
    947. note was the first P/L note, entered in Best, Netherlands, EBT notes id: 67696567
   1012. note was the first G/L note, entered in Tilburg, Netherlands, EBT notes id: 68590641
   1378. note was the first D/L note, entered in Tilburg, Netherlands, EBT notes id: 79785790
   1550. note was the first F/S note, entered in Nuenen, Netherlands, EBT notes id: 84313014
   1649. note was the first G/G note, entered in Tilburg, Netherlands, EBT notes id: 86941280
   1853. note was the first G/X note, entered in Haren, Netherlands, EBT notes id: 92834203
   1934. note was the first P/U note, entered in Tilburg, Netherlands, EBT notes id: 95594403
   2059. note was the first G/F note, entered in Tilburg, Netherlands, EBT notes id: 98771331
   2123. note was the first G/E note, entered in Tilburg, Netherlands, EBT notes id: 100330627
   2375. note was the first E/X note, entered in Tilburg, Netherlands, EBT notes id: 107590082

2490 notes total, 31 of 47 combinations found

16 missing combinations E/E, E/F, E/G, F/P, F/T, F/Y, G/H, G/N, G/Y, P/M, P/V, P/Y, R/P, R/Y, T/U, T/V



Checking of notes took 0.015 seconds

The list of missing combinations is mostly based on NIG 1.84. Some new combinations may be missing.

Re: little tool for checking your notes

Posted: Sat Apr 07, 2012 5:44 pm
by marty44
no, it isn't based of NIG anymore since NIG is out of date. I use the website http://liste.eurobillets.free.fr/" onclick="window.open(this.href);return false;

Re: little tool for checking your notes

Posted: Sat Apr 07, 2012 6:03 pm
by jrnsndrs
jrnsndrs wrote:The list of missing combinations is mostly based on NIG 1.84. Some new combinations may be missing.
marty44 wrote:no, it isn't based of NIG anymore since NIG is out of date. I use the website http://liste.eurobillets.free.fr/" onclick="window.open(this.href);return false;
I was talking about my own list there. I added a few new combinations that I am aware of, that's why I said mostly based on NIG.

Re: little tool for checking your notes

Posted: Sat Apr 07, 2012 6:32 pm
by yli
I tried you program...

0 unknown combinations, maybe 154 typing errors at the printer codes, 75611 notes total

So, 0.2% have typos :D