In bases with a lot of messages you will notice a lag in opening the
base. This is because the script reads all messages into memory. I did that in purpose, but i have doubts on keeping it that way. My problem/question is, that if i read the messages one by one as you navigate through them, i have to keep the JAM base file open... if something happens at that time,there is a small chance to corrupt the file. Another way would be to open the JAM base, read the msg and close
it immediately, but also this has a disadvantage of too many read/writes on the disk and if you use a RPi it may limit the life of the sdcard. I
am troubled on how to implement this... how the default Index Reader
does it? Perhaps i should use the same way.
A Simple-Minded persons thought: Instead of reading in the entire base in memory, and instead of 1 message read in at a time causing too many reads. Why not read in a "Block" of messages at a time and maintain a Pointer as where the "Block" resides in the database????
Just a silly idea... May not be possible,
Not silly at all... and it is possible. Probably the best solution, that combines all pros. :)
That's why i asked this in public, cause sometimes when you are stuck
with something, even if the obvious is in front of you, you can't see
it :)
I am building a new message area script/mod for Mystic. I am very close
to finish it, but i would like some beta testing and criticism :) The
look & feel is a bit different than the normal/default one and i would like to know if users like it and perhaps other features they would like to see.
Whoever tests it, gonna get a free copy... the others have to pay... :)
This would be really cool (it already is, but cooler even) if we had more than default 80x25 screen layouts. Maybe a smaller list view, or a way to toggle how many messages you want to see in list view vs in the actual message text box?
Just use the { } keys ;) you can resize the two areas, but for now it doesn't save the setting, so next time you have to re-arrange it. but i will implement this feature also.
The quote function in the message editor is a bit weird, cause there is
no feature/function to import text for quoting in the default editor.
In the editor you should be able to write "msgtmp" in the node's temp directory and it will take that as quote data.
In the editor you should be able to write "msgtmp" in the node's temp directory and it will take that as quote data.
I don't understand this. What do you mean? Can you give an example?
Got some time last evening to set this up & import my setup into ArcaOS. You are a genius! While not everything worked...the parts which did were just like I was in my Windows/RPi versions. Even compiled items in the scripts folder with MPLC under 4OS/2 and the stuff worked. Played Blackjack & goofed around with much everything else...including the
Files section.
it was to test. If you ever get the time to finish this & the FreeBSD versions...there's another option to bring others into the fold. You have
Blackjack & goofed around with much everything else...including the Files section.Thanks for the feedback and I am glad to see at least someone tried to play around with it after the time I put into making that! :)
I will try to spend some more time on it in the future but I don't know when I will get more completed. There is still so much to do and who
I am not opposed to a BSD version next. I suspect it would be a lot easier to do than OS/2!
I am not opposed to a BSD version next.
If you are trying to make quote data available in the message editor, write to a file named "msgtmp" in the node's temp directory that
contains the quote data that you want to be selectable from the quote window. Do this before you call the editor.
garycrunk wrote to xqtr <=-
A Simple-Minded persons thought: Instead of reading in the entire base into memory, and instead of 1 message read in at a time causing too
many reads... Why not read in a "Block" of messages at a time and
maintain a Pointer as to where the "Block" resides in the database????
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 95 |
Nodes: | 16 (0 / 16) |
Uptime: | 01:36:20 |
Calls: | 4,646 |
Calls today: | 9 |
Files: | 8,491 |
Messages: | 348,699 |
Posted today: | 1 |