1 | // n = max number of lines to get (from most recent) |
2 | static L<ChatMsg> stefansChat_readArchive_fullMsgs(int n) {
|
3 | int b = stefansChat_n(); |
4 | int a = max(0, b-n); |
5 | L<Map> msgs = (L) safeUnstruct(loadPage("http://ai1.lol/1008998/raw/archive-from-to?a=" + a + "&b=" + b));
|
6 | ret mapsToObjects(msgs, ChatMsg); |
7 | } |
Began life as a copy of #1010816
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1010819 |
| Snippet name: | stefansChat_readArchive_fullMsgs - same as stefansChat_readArchive? |
| Eternal ID of this version: | #1010819/4 |
| Text MD5: | a79742e4c1cf3aa36bd8d77988e1987e |
| Author: | stefan |
| Category: | javax / chat |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-11-18 14:00:43 |
| Source code size: | 315 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 718 / 751 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |