TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: Digital Man
from: deon
date: 2022-04-19 12:02:00
subject: Javascript weirdness

  Re: Javascript weirdness
  By: Digital Man to deon on Mon Apr 18 2022 10:18 am

 >  > Perhaps I send you the msgbase and you see if you get the same result? It'll have some messages tagged, and the 2 that wont.
 >
 > Unless you use call the write() function? Yeah, please send me the message base.

Thanks - I emailed it to you - please let me know if you didnt get it.

 >  > On a related question, if I set a message area to hold 10000 messages, and the 10001 message comes it, message 1 is eligible for deletion - how is that determined? By the lowest "number", the lowest "when_imported_time" (is "when_imported_zone_offset" considered as well?) or some other field(s).
 >
 > The order in the index (.sid file) which is generally the lowest number and the lowest when_imported_time first. The time's stored in UTC, so no, we don't need to worry about the time zone offset when sorting.

Ahh OK, and this is reported by "get_index()"? Is this already in order (ie: I dont need to pre-sort it), so for example, I can assume the "first" record would be the next candidate to be deleted if my message base had a max number of message of 10,000, and the 10,001 message was just stored in it?


...лоеп

---
 ю Synchronet ю Alterant | an SBBS in Docker on Pi!
                                                                                      
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.