43S News

General discussion about calculators, Swiss Micros or otherwise
User avatar
Over_score
Posts: 86
Joined: Fri May 05, 2017 7:37 pm
Location: France

Re: 43S News

Post by Over_score » Sun Mar 15, 2020 7:14 pm

rprosperi wrote:
Sun Mar 15, 2020 6:35 pm
Alternately, maybe the site owners can disable pdf file render/preview?
I found nothing like that :cry:
A workaround could be to having bigger files!
Image
:mrgreen:
DM42 (SN 00284 & 03835), DM15L, HP41CV, HP42S, HP35s, WP34S, HP Prime

User avatar
Walter
Posts: 1540
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: 43S News

Post by Walter » Sun Mar 15, 2020 8:16 pm

rprosperi wrote:
Sun Mar 15, 2020 6:35 pm
Would you consider uploading new versions of the WP43S manuals to gitlab in .zip format (i.e. put the .pdf file into a zip)?

In order to download the manuals from the site, gitlab insists on downloading and rendering the complete pdf file in it's browser/viewer before enabling the download button, and for manuals this large, it takes many minutes and virtually locks-up the browser (I've tried both Firefox and Edge/Chromium) until it's done.
We suffer from the same gitlab 'feature' - we can't update and replace files before the rendering's finished. Thus, if we had found something to circumvent this, we'd applied it. Alas we didn't so far.

@Jaco: Three kids are a challenge obviously, especially with two bearing so close names ;)
DM42 SN: 00041 Beta
WP 43S running on this device

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

User avatar
akaTB
Posts: 480
Joined: Tue May 02, 2017 11:56 am
Location: Milan, Italy

Re: 43S News

Post by akaTB » Sun Mar 15, 2020 9:11 pm

Walter wrote:
Sun Mar 15, 2020 8:16 pm
@Jaco: Three kids are a challenge obviously, especially with two bearing so close names ;)
It's the father who named them... :mrgreen:
Greetings,
    Massimo
ajcaton
-+×÷ left is right and right is wrong :twisted: Casted in gold

User avatar
Walter
Posts: 1540
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: 43S News

Post by Walter » Sun Mar 15, 2020 9:21 pm

akaTB wrote:
Sun Mar 15, 2020 9:11 pm
Walter wrote:
Sun Mar 15, 2020 8:16 pm
@Jaco: Three kids are a challenge obviously, especially with two bearing so close names ;)
It's the father who named them... :mrgreen:
I knew it's all my fault - but now they are called this way ...
DM42 SN: 00041 Beta
WP 43S running on this device

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

rprosperi
Posts: 842
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: 43S News

Post by rprosperi » Mon Mar 16, 2020 12:36 am

Walter wrote:
Sun Mar 15, 2020 8:16 pm
We suffer from the same gitlab 'feature' - we can't update and replace files before the rendering's finished. Thus, if we had found something to circumvent this, we'd applied it. Alas we didn't so far.
Well, at least I'm relieved to find out that it's not just me...

I don't know much at all about gitlab, WP43S is my only exposure to it, but I would assume if you zipped the .pdf files then you would not have the problem uploading and we wouldn't downloading, right? Or does gitlab not allow .zip files, or (even worse) does it read the contents of a .zip and extract them to make it 'easier' for folks to preview it?

Although your manuals are indeed complex, they are not tremendously huge, and I would not expect that these files would choke gitlab to the point of making it nearly unusable. Perhaps the rich, complex content is a challenge for the rendering/preview tools gitlab uses, which may have assumed most folks would use simple documents or code listings?
--bob p

DM42: β00071 & 00282, DM41X: β00071, DM10L: 071/100

rprosperi
Posts: 842
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: 43S News

Post by rprosperi » Mon Mar 16, 2020 12:41 am

Over_score wrote:
Sun Mar 15, 2020 7:14 pm
rprosperi wrote:
Sun Mar 15, 2020 6:35 pm
Alternately, maybe the site owners can disable pdf file render/preview?
I found nothing like that :cry:
A workaround could be to having bigger files!
Image
:mrgreen:
Thanks Over_score. It's revealing. It means they are aware of the problem, and basically bail out at some cut-off point (10MB) rather than solve the problem properly by letting you choose to download without a preview. Shows limited vision for what I'd otherwise expect to be a bunch of smart folks.
--bob p

DM42: β00071 & 00282, DM41X: β00071, DM10L: 071/100

dlachieze
Posts: 199
Joined: Thu May 04, 2017 10:20 am
Location: France

Re: 43S News

Post by dlachieze » Mon Mar 16, 2020 8:47 am

rprosperi wrote:
Sun Mar 15, 2020 6:35 pm
In order to download the manuals from the site, gitlab insists on downloading and rendering the complete pdf file in it's browser/viewer before enabling the download button, and for manuals this large, it takes many minutes and virtually locks-up the browser (I've tried both Firefox and Edge/Chromium) until it's done.
I've tried to download the latest manuals and while gitlab is loading and waiting for rendering the document, the download button is active under Firefox for me and I was able to download the two manuals without having to wait for the rendering to be completed.

Not ideal but much faster than just waiting for the rendering to be done.
download.png
download.png (18.35 KiB) Viewed 1634 times
DM42: 00425 - DM41X: β00066

User avatar
H2X
Posts: 591
Joined: Tue Apr 25, 2017 6:00 am
Location: Norway

Re: 43S News

Post by H2X » Mon Mar 16, 2020 9:33 am

Code: Select all

git clone https://gitlab.com/Over_score/wp43s.git
is also an option. You'd get all of the code, which you may not need. And you have to install git, but I find git useful for much more than code - it's a really nice way to keep versions of other files as well. :-)
DM42 #40 running WP43C | DM41X #50
The earth is flat. It just appears round because it is massive and curves spacetime.

rprosperi
Posts: 842
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: 43S News

Post by rprosperi » Mon Mar 16, 2020 1:46 pm

dlachieze wrote:
Mon Mar 16, 2020 8:47 am
I've tried to download the latest manuals and while gitlab is loading and waiting for rendering the document, the download button is active under Firefox for me and I was able to download the two manuals without having to wait for the rendering to be completed.

Not ideal but much faster than just waiting for the rendering to be done.
Interesting Didier, thanks for testing and this post. It definitely was NOT available to me until the render was complete (using 100% of available system RAM, slowing the system to a crawl, freezing the mouse cursor for 20-30 secs at a time, close to a full lock-up). I even rebooted and started the full procedure from scratch, same result. As noted, after starting the render, FF noticed the process was taking "a long time" so it offered to either let it continue or abort; if I choose abort, I can then click on download and it works OK.

Are you using FF on Windows? Win-10? I'm still using Win-7 on that machine, but I would not expect this to make a difference.

In any case, it seems using .zip files avoids all these issues.

Installing git is not an option for me, certainly overkill for this relatively small issue, but thanks for suggesting another solution.
--bob p

DM42: β00071 & 00282, DM41X: β00071, DM10L: 071/100

Nigel (UK)
Posts: 18
Joined: Fri Jul 21, 2017 9:08 pm

Re: 43S News

Post by Nigel (UK) » Mon Mar 16, 2020 2:18 pm

Here's another approach that works for me. I go into the Draft Documentation folder and there's a little download icon, just to the left of the Clone button. Clicking this gives me the option to download the directory contents as a zip file.

I can't see how to download individual files this way, but this is possibly better than having to preview each file first.

Nigel (UK)

Post Reply