Handling of blue prints in the forum needs a rework

Discussions related to the forums itself. Call for moderators. Trash Posts area.
Post Reply
Tairon96
Burner Inserter
Burner Inserter
Posts: 16
Joined: Sun Nov 18, 2018 6:38 am

Handling of blue prints in the forum needs a rework

Post by Tairon96 » Thu Dec 06, 2018 4:25 am

Some blue prints are rather large. Loading a thread with such large blue prints slows down the forum and causes much traffic. Since I read the forum sometimes during being on the move my traffic volume is quickly consumed.

Quoting a post with large blue prints is terrible. The complete blue print is loaded into the edit box.

It would be better, to store the blue prints separately like attachments. If you want to copy a blue print, you can access the blue print. If you are not interested in the blue print right now or you have already taken a look at it, you would be able to skip the loading of the blue print.

By the way : The blue print format itself is a bit awkward. A human readable head and footer would be great. In the head the given title and a time stamp or simple ID to identify the blue print would be helpful. In the footer a indicator to show the end of the blue print is reached could prevent accidentally cut short blue prints.
Radar : Damnit, we are surrounded! :o
Artillery : Great, now I can attack in every direction! :D
_
languages

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 1704
Joined: Sat Jun 11, 2016 6:41 am

Re: Handling of blue prints in the forum needs a rework

Post by Optera » Thu Dec 06, 2018 7:26 am

Blueprints are just objects serialized to string. While they could also be exported as xml structure that would make the whole string much larger, which is one of your critique about them.

No idea what kind of traffic volume you have to notice a couple of additional characters. Pictures and banners take up magnitudes more traffic volume than strings.

While it might be an improvement in comfort to not include bp tags in quotes, you can always select a portion of text before pressing quote to only quote the selected text.
My Mods:

Tairon96
Burner Inserter
Burner Inserter
Posts: 16
Joined: Sun Nov 18, 2018 6:38 am

Re: Handling of blue prints in the forum needs a rework

Post by Tairon96 » Thu Dec 06, 2018 8:40 am

A blue print can be several MiB in size. If someone quoted already the post with the BP it is duplicated and therefore loaded several times by just reading the thread.

If you want to post a reply, the BP is loaded again to show the thread while you edit your post. If you need a couple of times to polish your own post... the BP is loaded again and again.

In the case of pictures, these can be identified by your browser to block them and to be loaded only on manual request.

And my mobile traffic volume is 2 GiB per month.
___

I don't want to have the complete BP readable. The data can stay as it is now. I have only asked for a header and a footer to capsule the data. This is only a few additional bytes. I don't know, if there is some kind of escape sequence already implemented in the BP data.

Before / now :
0eNrtm19vozgQwL9KxHNYgf+AqbQrrf......bppHuo9h5PVUQSN7VEIDLo
A possible change
<Factorio blue print="0.16.51"><title="Some example blue print"/><date="2018-12-05 18:45"/><data>0eNrtm19vozgQwL9KxHNYgf+AqbQrrf......bppHuo9h5PVUQSN7VEIDLo</data></Factorio blue print>
The data is not changed. There is only very small additional information : Header, game version, title, time stamp ... and a help to identify the end of the data. ;)
Radar : Damnit, we are surrounded! :o
Artillery : Great, now I can attack in every direction! :D
_
languages

Loewchen
Global Moderator
Global Moderator
Posts: 4670
Joined: Wed Jan 07, 2015 5:53 pm

Re: Handling of blue prints in the forum needs a rework

Post by Loewchen » Thu Dec 06, 2018 3:51 pm

The maximum comment size is 60'000 characters, so transfer volume is a complete non issue.

Post Reply

Return to “This Forum”