NATION

PASSWORD

Factbook Size Limit

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Terra Britania
Chargé d'Affaires
 
Posts: 464
Founded: Jan 02, 2015
Father Knows Best State

Factbook Size Limit

Postby Terra Britania » Wed May 20, 2020 10:54 pm

Hello. I'm not usually in this part of the forum, so I apologise if I posted in the wrong place.

In any case, this is regarding the on-site factbooks. In multiple attempts to update one of them, which admittedly is rather long, I was slapped with this message each and every time:
Image

Was there a character or kilobyte or some other sort of limit in the factbooks I was never told about, or is this some other issue? Thanks.
♔ | ♔ | ♔ KINGRIC of ENGLAND | ♕ | CASERLY GEMEANWEALTH ♔ | ♔ | ♔
MT set in 2024; probably slightly less fucked than RL at this point. NS stats shot with a longbow at Agincourt.
Sooþbooks - Overlook - Ƿorld
The Sunday Post: Stridecrafts begin onwharvingstyge as Crigsministry's "Stridecrafts 2035" plan seeks to forgreaten military's menstrength by more than twofold within 10 years | Kernelcraftework in small thorpe of St Arvans opens, eking 1,200 MW to England's craftgrid; many inwoners "unhappy" with the "eyesore" in their "once still thorpe" | Newspanish regering puts forth clage to the OFN's Worldgerighthove about rights to water flowing through the Colorado; FSA brooks veto to strike it down
Harmonic Empire's bitch♡ | the lads and I | For managed democracy! | Sleep Paralysis Demon™ since 2022 | くたばれVeganの野郎どもよ | Current flag waifu: Jeanne d'Arc (Alter), from Padoru Padoru

User avatar
Merni
Ambassador
 
Posts: 1800
Founded: May 03, 2016
Democratic Socialists

Postby Merni » Wed May 20, 2020 11:37 pm

Last edited by Merni on Wed May 20, 2020 11:38 pm, edited 1 time in total.
2024: the year of democracy. Vote!
The Labyrinth | Donate your free time, help make free ebooks | Admins: Please let us block WACC TGs!
RIP Residency 3.5.16-18.11.21, killed by simplistic calculation
Political Compass: Economic -9.5 (Left) / Social -3.85 (Liberal)
Wrote issue 1523, GA resolutions 532 and 659
meth
When the people are being beaten with a stick, they are not much happier if it is called 'the People’s Stick.' — Mikhail Bakunin (to Karl Marx)
You're supposed to be employing the arts of diplomacy, not the ruddy great thumping sledgehammers of diplomacy. — Ardchoille
The West won the world not by the superiority of its ideas or values or religion [...] but rather by its superiority in applying organised violence. — Samuel P. Huntington (even he said that!)

User avatar
Valentine Z
Postmaster-General
 
Posts: 13013
Founded: Nov 08, 2015
Scandinavian Liberal Paradise

Postby Valentine Z » Wed May 20, 2020 11:43 pm

And of note is that your factbook, as of now, has 79,196 characters, including space, and BBCodes. Excluding title, but even with title, I say around 79250, give or take.

You can view the raw factbook by either editing it, or if you want to, click on the title to "turn" the factbook into a dispatch view, then click on Raw at the bottom.
https://www.nationstates.net/page=dispatch/id=1280256/raw=1

But admittedly, the "Edit" button and selecting all and pasting it in Word is easier to do a word count.
Last edited by Valentine Z on Wed May 20, 2020 11:45 pm, edited 1 time in total.
Val's Stuff. ♡ ^_^ ♡ For You
If you are reading my sig, I want you to have the best day ever ! You are worth it, do not let anyone get you down !
Glory to De Geweldige Sierlijke Katachtige Utopia en Zijne Autonome Machten ov Valentine Z !
(✿◠‿◠) ☆ \(^_^)/ ☆

Issues Thread Photography Stuff Project: Save F7. Stats Analysis

The Sixty! Valentian Stories! Gwen's Adventures!

• Never trouble trouble until trouble troubles you.
• World Map is a cat playing with Australia.
Let Fate sort it out.

User avatar
Terra Britania
Chargé d'Affaires
 
Posts: 464
Founded: Jan 02, 2015
Father Knows Best State

Postby Terra Britania » Thu May 21, 2020 12:04 am


Valentine Z wrote:And of note is that your factbook, as of now, has 79,196 characters, including space, and BBCodes. Excluding title, but even with title, I say around 79250, give or take.

You can view the raw factbook by either editing it, or if you want to, click on the title to "turn" the factbook into a dispatch view, then click on Raw at the bottom.
https://www.nationstates.net/page=dispatch/id=1280256/raw=1

But admittedly, the "Edit" button and selecting all and pasting it in Word is easier to do a word count.

Thank you!

Though, according to MS Word, the factbook (including the updated section that doesn't want to go through) has ~80,578 characters, inlcuding spaces and BBcodes. If the limit is about 97,000, that means I have approximately 16,422 more characters of leeway to put in before reaching the supposed limit. I wonder where they went? :deepthonk:

In any case, I think I'll be dividing and conquering this factbook instead of trying to push it. To be honest, it's become more of an obnoxious wall of text than a mildly interesting bite-sized read.
♔ | ♔ | ♔ KINGRIC of ENGLAND | ♕ | CASERLY GEMEANWEALTH ♔ | ♔ | ♔
MT set in 2024; probably slightly less fucked than RL at this point. NS stats shot with a longbow at Agincourt.
Sooþbooks - Overlook - Ƿorld
The Sunday Post: Stridecrafts begin onwharvingstyge as Crigsministry's "Stridecrafts 2035" plan seeks to forgreaten military's menstrength by more than twofold within 10 years | Kernelcraftework in small thorpe of St Arvans opens, eking 1,200 MW to England's craftgrid; many inwoners "unhappy" with the "eyesore" in their "once still thorpe" | Newspanish regering puts forth clage to the OFN's Worldgerighthove about rights to water flowing through the Colorado; FSA brooks veto to strike it down
Harmonic Empire's bitch♡ | the lads and I | For managed democracy! | Sleep Paralysis Demon™ since 2022 | くたばれVeganの野郎どもよ | Current flag waifu: Jeanne d'Arc (Alter), from Padoru Padoru

User avatar
Merni
Ambassador
 
Posts: 1800
Founded: May 03, 2016
Democratic Socialists

Postby Merni » Thu May 21, 2020 12:08 am

Terra Britania wrote:Though, according to MS Word, the factbook (including the updated section that doesn't want to go through) has ~80,578 characters, inlcuding spaces and BBcodes. If the limit is about 97,000, that means I have approximately 16,422 more characters of leeway to put in before reaching the supposed limit. I wonder where they went? :deepthonk:

Maybe the system counts based on bytes and not characters. Non-ASCII characters require more than 1 byte (up to 4) to store in UTF8.
2024: the year of democracy. Vote!
The Labyrinth | Donate your free time, help make free ebooks | Admins: Please let us block WACC TGs!
RIP Residency 3.5.16-18.11.21, killed by simplistic calculation
Political Compass: Economic -9.5 (Left) / Social -3.85 (Liberal)
Wrote issue 1523, GA resolutions 532 and 659
meth
When the people are being beaten with a stick, they are not much happier if it is called 'the People’s Stick.' — Mikhail Bakunin (to Karl Marx)
You're supposed to be employing the arts of diplomacy, not the ruddy great thumping sledgehammers of diplomacy. — Ardchoille
The West won the world not by the superiority of its ideas or values or religion [...] but rather by its superiority in applying organised violence. — Samuel P. Huntington (even he said that!)

User avatar
All Wild Things
Diplomat
 
Posts: 526
Founded: Apr 24, 2017
Inoffensive Centrist Democracy

Postby All Wild Things » Thu May 21, 2020 7:28 am

Terra Britania wrote:

Valentine Z wrote:And of note is that your factbook, as of now, has 79,196 characters, including space, and BBCodes. Excluding title, but even with title, I say around 79250, give or take.

You can view the raw factbook by either editing it, or if you want to, click on the title to "turn" the factbook into a dispatch view, then click on Raw at the bottom.
https://www.nationstates.net/page=dispatch/id=1280256/raw=1

But admittedly, the "Edit" button and selecting all and pasting it in Word is easier to do a word count.

Thank you!

Though, according to MS Word, the factbook (including the updated section that doesn't want to go through) has ~80,578 characters, inlcuding spaces and BBcodes. If the limit is about 97,000, that means I have approximately 16,422 more characters of leeway to put in before reaching the supposed limit. I wonder where they went? :deepthonk:

In any case, I think I'll be dividing and conquering this factbook instead of trying to push it. To be honest, it's become more of an obnoxious wall of text than a mildly interesting bite-sized read.

I have a habit of using two space characters between a full stop and the next sentence. However, NS displays these as a single space character. I had a long dispatch that hit the limit, so used a search and replace to change my double spacing to single.
Though on consideration, I'd be surprised if that would take up more than around 1000 characters of a dispatch.
Browse The NewsStand
Watch the Wild Life

User avatar
The World Capitalist Confederation
Postmaster-General
 
Posts: 12838
Founded: Dec 07, 2018
Ex-Nation

Postby The World Capitalist Confederation » Fri May 22, 2020 4:45 pm

All Wild Things wrote:
Terra Britania wrote:
Thank you!

Though, according to MS Word, the factbook (including the updated section that doesn't want to go through) has ~80,578 characters, inlcuding spaces and BBcodes. If the limit is about 97,000, that means I have approximately 16,422 more characters of leeway to put in before reaching the supposed limit. I wonder where they went? :deepthonk:

In any case, I think I'll be dividing and conquering this factbook instead of trying to push it. To be honest, it's become more of an obnoxious wall of text than a mildly interesting bite-sized read.

I have a habit of using two space characters between a full stop and the next sentence. However, NS displays these as a single space character. I had a long dispatch that hit the limit, so used a search and replace to change my double spacing to single.
Though on consideration, I'd be surprised if that would take up more than around 1000 characters of a dispatch.

I think - and this isn't fixing the bug, but more working around it, you could have a separate archived news book full of the old headlines, if they are taking up too much space in the raw data.
Please Watch
“We could manage to survive without the money changers and stockbrokers, but we would rather find it difficult to survive without miners, steel workers and those who cultivate the land.” - Nye Bevan, Minister of Health under Clement Attlee

“The mutual-aid tendency in man has so remote an origin, and is so deeply interwoven with all the past evolution of the human race, that is has been maintained by mankind up to the present time, notwithstanding all vicissitudes of history.” - Peter Krotopkin, evolutionary biologist and political writer.


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Armbruster, Cisplatinia, Demyis, Equestria-Atlantia, Hyperwolf, Jewish Partisan Division, Kurp, La Xinga, Noders, North American Imperial State, Red Oazis, Shirahime, Silver Steps, Socialist Mariana, Uvolla, Xoshen

Advertisement

Remove ads