REDUCE CLOUD TRAFFIC BY UP TO 60% - LET ME SHOW YOU HOW..

Rosies Notes highlighting reminded me of a issue which has been unaddressed from the beginning of L4 notes, which now I have a cap on uploads I would like addressed, as its an all round win/win for everyone..
Original imported text from word:: This is a test of how things could be in the future – if only..
All formatting except font size & weight stripped out so this should read:
Stripped: This is a test of how things should be in the future - if only..
However when we look under the hood, the imported text is stored in note database as:
<Paragraph FontFamily="Calibri" FontSize="11" TextAlignment="Left" Margin="0,0,0,13.33" BorderThickness="0,0,0,0"><Span Language="en-GB"><Run Text="This " /></Span><Span Language="en-GB"><Run Text="is" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="a" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="test" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="of" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="how" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="things" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="could" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB"><Run Text="be in" /></Span><Span Language="en-GB"><Run Text=" the " /></Span><Span Language="en-GB"><Run Text="future" /></Span><Span Language="en-GB"><Run Text=" " /></Span><Span Language="en-GB" FontBold="True"><Run Text="– If only.." /></Span></Paragraph>
when it should/could be stored as:
<Paragraph FontFamily="Calibri" FontSize="11" TextAlignment="Left" Margin="0,0,0,13.33" BorderThickness="0,0,0,0"><Span Language="en-GB"><Run Text="This is a test of how things could be in the future " /></Span><Span Language="en-GB" FontBold="True"><Run Text="– If only.." /></Span></Paragraph>
I am sorry but as a developer I find this wasted space criminal, all for a simple additional pass in the import routine to merge identical spans..
Why should you implement it:
it would definitely reduce cloud traffic by up to 60% based on this example alone.. and this note is not unique.. multiply that by your users database and thats a huge saving to be made.
optimised notes may also have a benefit in making the software more responsive
Never Deprive Anyone of Hope.. It Might Be ALL They Have
Comments
-
Yuck!!! As a developer, that HTML code triggers my gag reflex.
I think it could be cleaned up even further:
<Paragraph
FontFamily="Calibri" FontSize="11" TextAlignment="Left"
Margin="0,0,0,13.33" BorderThickness="0,0,0,0"><Span
Language="en-GB"><Run Text="This is a test of how things could be
in the future " /><Span FontBold="True"><Run Text="– If only.."
/></Span></Span></Paragraph>And you could probably do without the <Span
Language="en-GB">, too, and its corresponding </Span>, because that should be the default language for all your notes if you're in Britain. You'd only need the Language span for bits that departed from the default. I think Span can usually be avoided, and should be avoided as much as possible. Otherwise it ends up looking more like Spam, Spam, Spam, Spam, Spam, Spam, Spam, Baked Beans, and Spam.EDIT: Dominic, at first I thought this post was spam, because of your subject line, only I knew you wouldn't likely to be selling something. But you might want to change the subject line to something that looks less commercial/advertisement so that it doesn't deflect Logos employees from reading the thread and picking up your suggestion and getting it looked at by development. EDIT AGAIN: I see you changed it before I had a chance to post this. Thanks!
0 -
Rosie Perera said:
And you could probably do without the <Span Language="en-GB">, too, and its corresponding </Span>, because that should be the default language for all your notes if you're in Britain.
I though so too BUT when we start sharing notes again, I think, they will be needed
MNX pls No spam
if MNX doent mean anything to you its a classic http://www.youtube.com/watch?v=h-mX9T2qyIQ
Never Deprive Anyone of Hope.. It Might Be ALL They Have
0 -
DominicM said:
MNX pls No spam
if MNX doent mean anything to you its a classic http://www.youtube.com/watch?v=h-mX9T2qyIQ
Thx for that edit, too. I had gone to look it up and didn't get anywhere.
I've heard the FUNEX / SVFX line before in other contexts, but they probably got it from them.
0 -
OFF TOPIC
Rosie Perera said:Spam, Spam, Spam, Spam, Spam, Spam, Spam, Baked Beans, and Spam
Thanks Rosie for that (not too obscure) reference. Though on this forum any "M.P." references usually refer to particular training materials rather than to a hilariously funny (mostly British) comedy group.
Regards, SteveF
0 -
We're aware of several problems in some of our data formats and plan to address them when we upgrade sync to fix the bug that causes notes to be duplicated.
There's not much visible progress in this area in Logos 4 right now, but we are working on it: Proclaim is testing our new, completely rewritten implementation of sync; we're going to take what we learn from that project to improve Logos 4 sync.
0 -
Bradley, thats great but this note hasn't been synced yet, was done on an offline machine, its not the sync I am concerned with in reality just the data.. having looked the problem extends to most user created documents, hope you decide to implement the fix it soon, when I manually optimised my note file database offline, and re-vaccumed it its total size reduced by 48%, and I am not a verbose note taker, so expect greater savings for power users
Never Deprive Anyone of Hope.. It Might Be ALL They Have
0 -
Rosie Perera said:
Yuck!!! As a developer, that HTML code triggers my gag reflex.
I think it could be cleaned up even further:
<Paragraph FontFamily="Calibri" FontSize="11" TextAlignment="Left" Margin="0,0,0,13.33" BorderThickness="0,0,0,0"><Span Language="en-GB"><Run Text="This is a test of how things could be in the future " /><Span FontBold="True"><Run Text="– If only.." /></Span></Span></Paragraph>
And you could probably do without the <Span Language="en-GB">, too, and its corresponding </Span>, because that should be the default language for all your notes if you're in Britain. You'd only need the Language span for bits that departed from the default. I think Span can usually be avoided, and should be avoided as much as possible. Otherwise it ends up looking more like Spam, Spam, Spam, Spam, Spam, Spam, Spam, Baked Beans, and Spam.
EDIT: Dominic, at first I thought this post was spam, because of your subject line, only I knew you wouldn't likely to be selling something. But you might want to change the subject line to something that looks less commercial/advertisement so that it doesn't deflect Logos employees from reading the thread and picking up your suggestion and getting it looked at by development. EDIT AGAIN: I see you changed it before I had a chance to post this. Thanks!
Since I'm reading this, I must presume that it has already been edited. I nevertheless still thought it was going to be SPAM.
george
gfsomselיְמֵי־שְׁנוֹתֵינוּ בָהֶם שִׁבְעִים שָׁנָה וְאִם בִּגְבוּרֹת שְׁמוֹנִים שָׁנָה וְרָהְבָּם עָמָל וָאָוֶן
0 -
George Somsel said:
Since I'm reading this, I must presume that it has already been edited. I nevertheless still thought it was going to be SPAM.
And yet you clicked on it anyway. You must like spam. :-)
0 -
Rosie Perera said:George Somsel said:
Since I'm reading this, I must presume that it has already been edited. I nevertheless still thought it was going to be SPAM.
And yet you clicked on it anyway. You must like spam. :-)
It's not bad when fried and on toast though its been absolutely ages since I had it. Maybe I'll get some when I go to the store.
george
gfsomselיְמֵי־שְׁנוֹתֵינוּ בָהֶם שִׁבְעִים שָׁנָה וְאִם בִּגְבוּרֹת שְׁמוֹנִים שָׁנָה וְרָהְבָּם עָמָל וָאָוֶן
0 -
DominicM said:
Rosies Notes highlighting reminded me of a issue which has been unaddressed from the beginning of L4 notes, which now I have a cap on uploads I would like addressed, as its an all round win/win for everyone..
Original imported text from word:: This is a test of how things could be in the future – if only..
All formatting except font size & weight stripped out so this should read:
Stripped: This is a test of how things should be in the future - if only..
As someone how does use a lot of notes, if I pasted "This is a test of how things could be in the future – if only.." into my notes, I want to see "This is a test of how things could be in the future – if only.." in my notes. I do not want to see, "This is a test of how things should be in the future - if only.."
0 -
As a die-hard WordPerfect user, I'm always shocked at how much unnecessary code gets put into material I copy/paste from Logos (WP lets the user see the formatting code). Of course I have the same issue when importing a document written in MSWord. And I expect there's a connection.
That's why I no longer paste anything directly from Logos, and haven't since Libronix was introduced. I always and only paste unformatted text, and then re-format to my liking (which actually takes less time).
All that to say, I'm not surprised by what you're seeing.
Help links: WIKI; Logos 6 FAQ. (Phil. 2:14, NIV)
0 -
Richard DeRuiter said:
As a die-hard WordPerfect user, I'm always shocked at how much unnecessary code gets put into material I copy/paste from Logos (WP lets the user see the formatting code). Of course I have the same issue when importing a document written in MSWord. And I expect there's a connection.
That's why I no longer paste anything directly from Logos, and haven't since Libronix was introduced. I always and only paste unformatted text, and then re-format to my liking (which actually takes less time).
All that to say, I'm not surprised by what you're seeing.
Yes, back in the good old DOS days I was an avid WP user too. I do remember the "reveal codes" option.
george
gfsomselיְמֵי־שְׁנוֹתֵינוּ בָהֶם שִׁבְעִים שָׁנָה וְאִם בִּגְבוּרֹת שְׁמוֹנִים שָׁנָה וְרָהְבָּם עָמָל וָאָוֶן
0 -
Wow... WordPerfect... Loved it back on what version 6.1.... Couldn't stand MsWord, since Office XP I've stuck with Word though
Logos 10 - OpenSuse Tumbleweed, Windows 11, Android 16 & Android 14
0 -
George Somsel said:
It's not bad when fried and on toast though its been absolutely ages since I had it.
Had it for lunch yesterday. It is still delicious. [8-|]
0