MRC: Bug (MSX Resource Center MSX Fora)MSX Resource Center            
            
English Nederlands Espa�ol Portugu�s Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 71 gasten en 2 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

MSX Resource Center - MRC: Bug

Ga naar pagina ( 1 | 2 | 3 Volgende pagina )
Schrijver

MRC: Bug

NYYRIKKI
msx master
Berichten: 1525
Geplaatst: 22 Oktober 2004, 15:54   

It seems, that when you sort contact list by country, it will group people by country, but the list is not in alphapetical order, so you can't find the Country you are looking for.

Maybe country next to username could be a link to list of users from same country?

snout

msx legend
Berichten: 4991
Geplaatst: 22 Oktober 2004, 15:56   
I see.. the list is ordered by country code instead of country name. I'm planning to improve the contacts list a bit sooner or later... more suggestions are welcome
[D-Tail]

msx guru
Berichten: 3019
Geplaatst: 22 Oktober 2004, 16:20   
Alphabetical regrouping on user name, instead of that lousy page number
Bart
msx professional
Berichten: 646
Geplaatst: 22 Oktober 2004, 16:21   
That's on my todo list [D-Tail] for about half a year already
GuyveR800
msx guru
Berichten: 3048
Geplaatst: 22 Oktober 2004, 22:34   
*cough*lazy wanker*cough*
legacy
msx professional
Berichten: 516
Geplaatst: 23 Oktober 2004, 00:42   
Quote:

That's on my todo list [D-Tail] for about half a year already


You must have a very long todo list. hm, You'r not the only one.
[D-Tail]

msx guru
Berichten: 3019
Geplaatst: 23 Oktober 2004, 00:55   
That's where GuyveR came in
GuyveR800
msx guru
Berichten: 3048
Geplaatst: 23 Oktober 2004, 02:33   
Man... my todo list is so big, I need a vacation after just thinking about it! Seriously!

flyguille
msx master
Berichten: 1223
Geplaatst: 23 Oktober 2004, 03:33   
that is my problem too

IC
msx professional
Berichten: 538
Geplaatst: 25 Oktober 2004, 15:22   
simple solution: take a vacation or do some compression algo on yer todo list, or erase a few
NYYRIKKI
msx master
Berichten: 1525
Geplaatst: 25 Oktober 2004, 16:04   
I have quite a good compression algorithm for this purpose (You, know that you can compress better, when you know your data) Here it is:
- Put your TODO list to text file.
- Convert it to binary
- Calculate all 1's and 0's
- Save number of 1's followed by 0's and erase the original.
- You are ready, and whole TODO list is in just few bytes!
NYYRIKKI
msx master
Berichten: 1525
Geplaatst: 25 Oktober 2004, 16:34   
Here is the TODO-list compression program:
10 MAXFILES=2
20 DEFINTA-Y:DIM V(255)
30 FORX=0TO255:FORI=0TO7:B=2^I:V(X)=V(X)+(XANDB)\B:NEXTI,X
40 OPEN"TODO.TXT"FORINPUTAS#1
50 OPEN"TODO.PCK"FOROUTPUTAS#2
60 IFEOF(1)THENPRINT#2,Z1:PRINT#2,Z0:CLOSE:KILL"TODO.TXT":END
70 A=ASC(INPUT$(1,1)):Z1=Z1+V(A):Z0=Z0+8-V(A):GOTO60

... now my TODO list is only 14 bytes long! ;9

NYYRIKKI
msx master
Berichten: 1525
Geplaatst: 25 Oktober 2004, 18:02   

Ah, I forgot to put here also TODO decompression program... Here it is:
10 DEFINTA-Y:DIM V(255)
20 OPEN"TODO.PCK"FORINPUTAS#1
30 LINEINPUT#1,A$:Z1=VAL(A$)
40 LINEINPUT#1,A$:Z0=VAL(A$)+(RND(-Z0-Z1)=Z1):ZL=(Z0+Z1)\8:CLOSE
50 OPEN"TODO.TXT"FOROUTPUTAS#1
60 FORZI=1TOZL
70 IFZL-ZI<10THENO=0ELSEO=(RND(1)*7)-3
80 A=O+(Z1/Z0)*4:Z1=Z1-A:Z0=Z0-8+A:B=0:IFA>8THENA=8
90 IF A<1THEN110ELSEFORI=1TOA
100 P=RND(1)*8:IFBAND2^PTHEN100ELSEB=B+2^P:NEXTI
110 PRINT#1,CHR$(B);
120 NEXTZI:CLOSE

I also forget to mention, that this is lossy packing method, but at least I can't notice any remarkable difference between original and packed TODO list after few days... (You know, I don't usually make too accurate notes to my self.) I have noticed, that you can get best result, if you use this routine to pack your notes about files you binary patched.

Grauw
msx professional
Berichten: 1006
Geplaatst: 25 Oktober 2004, 20:35   
I especially like the application of RND ;p.

The compression routine is a bit slow though eh? Especially the construction of the V array takes its time. Perhaps you should attempt an assembly implementation.

And er... why does it delete the input file... that's annoying. Maybe doing the output to a TODO.OUT or TODO_OUT.TXT file would be a good option. Did you do a usability test with a panel of random users before publishing this software? That would probably have gisted out issues like this before going public.

Anyways, I think there is huge market potential in the TODOPACK.BAS and TODOEXT.BAS applications... You should consider a PC version though, because MSX is not the system with the widest audience reach. Maybe a console version as well.

By the way, are you sure the output is as expected? My current implementation outputs the following:

b▐¶àδũ¶R) ¿I▲Hö▄)8αÆΩà%uè▂σϊó₧&▚
[0x0B (home)]
¡é¶◦¿½ø{Xëcⁿu¿


Perhaps it is because you use the uninitialized Z0 variable in line 40...


~Grauw

p.s. I still need to finish that MSX<>UTF-8 converter sometime.
p.s.2. argh stupid MRC smiley converter makes a out of the ) character
snout

msx legend
Berichten: 4991
Geplaatst: 25 Oktober 2004, 20:56   
code tags are your friends
 
Ga naar pagina ( 1 | 2 | 3 Volgende pagina )
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.