mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2019-05-21, 15:15   #243
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

754310 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Re-linking with the latest xcode magically fixed this. Hopefully, it will work for pre-Mojave users too.
Mac OS X users: 29.8 build 4 now available for download
Prime95 is offline   Reply With Quote
Old 2019-05-21, 16:22   #244
rainchill
 
Apr 2005
DFW, tx

3×11 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
3. On a related note: perhaps Prime95 could check for updates and notify the user. This would be especially useful if there is ever a reason to abandon an old version. The version 17 shift bug comes to mind here.
I mentioned this a few years ago too. Don't recall ever hearing much back. Perhaps Prime95 could act as a shell and download the latest executable automatically and alert the user to any manually required updates?
rainchill is offline   Reply With Quote
Old 2019-05-21, 17:27   #245
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

19×397 Posts
Default

Quote:
Originally Posted by rainchill View Post
I mentioned this a few years ago too. Don't recall ever hearing much back. Perhaps Prime95 could act as a shell and download the latest executable automatically and alert the user to any manually required updates?
Fifteen plus years ago, the community felt this was a bad idea. It was 1) viewed as a potential security risk and 2) viewed as a nuisance popping-up an "update now?" dialog box (especially if you've installed prime95 on a friends machine).

Nowadays, this behavior is commonplace. I suspect most people set to auto-update without notification or simply click yes to the numerous you-have-an-update-ready messages they get each week.

Thoughts on whether prime95 should rethink this old decision?
Prime95 is offline   Reply With Quote
Old 2019-05-21, 17:40   #246
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

74 Posts
Default

I think update notifications can be as simple as printing a message in the communication window the next time Prime95 connects to the server. Something like this will do:

Quote:
Prime95 <version number> is now available.
Get it from the GIMPS downloads page: https://mersenne.org/download
A pop-up window is fine but should probably be disabled by default. Users would be able to enable it by editing their local.txt file.

Last fiddled with by ixfd64 on 2019-05-21 at 17:41
ixfd64 is online now   Reply With Quote
Old 2019-05-21, 18:26   #247
GP2
 
GP2's Avatar
 
Sep 2003

A1916 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Thoughts on whether prime95 should rethink this old decision?
Any automated downloads must be encrypted. Unfortunately, the current manual download links all use http instead of https. If you want an https download you have to alter the URL yourself. If Madpoo is unwilling to make https the default even for manual updates, then this idea will go nowhere.

Even if that hurdle is overcome, it's still inadvisable. Although the very largest companies like Google and Microsoft know how to properly secure automatic updates, there are many cases of other companies failing to do so and allowing malware to infiltrate their users' hardware. A recent case in point: ASUS.

Based on that track record, I think it will be impossible to get this right. And implementing this would just be a distraction in any case from continuous improvement of the core functionality.


Edit: in the ASUS case I linked, it seems it was actually the central download server that was hacked. But earlier there were numerous cases where the system software client and protocols that did the automated downloads were themselves insecure.

Last fiddled with by GP2 on 2019-05-21 at 18:39
GP2 is offline   Reply With Quote
Old 2019-05-21, 18:28   #248
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

544010 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Fifteen plus years ago, the community felt this was a bad idea. It was 1) viewed as a potential security risk and 2) viewed as a nuisance popping-up an "update now?" dialog box (especially if you've installed prime95 on a friends machine).

Nowadays, this behavior is commonplace. I suspect most people set to auto-update without notification or simply click yes to the numerous you-have-an-update-ready messages they get each week.

Thoughts on whether prime95 should rethink this old decision?
I don't want prime95/mprime joining in the objectionable behavior of Windows 10, downloading big updates many times, once per system, via my crappy slow unreliable DSL, when once per flavor to my file server for local install will do.

Also, are you ready to assume the responsibility for not performing an update when it will hammer (negate, abandon, start over) work in progress? With multiple worker windows, set to multiple work types, that could get interesting.

Any auto-update-only version will not be installed here.
.

Last fiddled with by kriesel on 2019-05-21 at 18:45
kriesel is online now   Reply With Quote
Old 2019-05-21, 18:34   #249
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

74 Posts
Default

I definitely think that automatic updates are more complicated than what we need. Simply notifying users is enough in my opinion.
ixfd64 is online now   Reply With Quote
Old 2019-05-21, 18:40   #250
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

26·5·17 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
I definitely think that automatic updates are more complicated than what we need. Simply notifying users is enough in my opinion.
A notification per installation, or per user? Imagine curtisc getting one notification, or every U of Central Missouri PC popping up a notification.
kriesel is online now   Reply With Quote
Old 2019-05-21, 18:50   #251
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

23·149 Posts
Default

Actual automated updating is fraught with complexity, and is both unnecessary and probably undesirable in many cases. However, notifying the user with a simple (but prominent) box at the top of the application would be simple and effective (crude sample attached). The link should be clickable; perhaps the notification should include something about the current version and possibly an option to hide the notification until a subsequent version is released (i.e. "skip this version").

And no pop-up notifications. Popups should only happen in response to direct user action, never automated. Simply having the notification in the app if and when the user looks at it is fine. Also offer an option on the website to sign up for email notification of new versions.
Attached Thumbnails
Click image for larger version

Name:	newversion.png
Views:	92
Size:	29.4 KB
ID:	20411  

Last fiddled with by James Heinrich on 2019-05-21 at 18:51
James Heinrich is offline   Reply With Quote
Old 2019-05-22, 07:20   #252
rainchill
 
Apr 2005
DFW, tx

3×11 Posts
Default

I like to mockup James put together. In my opinion there is a case to be made for annoying popups in the case of severely (1 year+) outdated software and/or in the instance of a bug which is severe enough to require an update.
rainchill is offline   Reply With Quote
Old 2019-05-22, 09:02   #253
mackerel
 
mackerel's Avatar
 
Feb 2016
UK

6648 Posts
Default

Suggestions if updating is to be added:
If updating an existing install, assume no checking, no notifications, so it runs as always has.
If a new installation, put a passive indication asking to opt-in to updates. By passive, I mean it should take no user action to ignore it, not even a click to get rid of it. This could be a text message in the main window saying go to options to turn on update notifications for example. Maybe only show it on first run.
If a user opts-in to updates, include an option for notify only. I think most smaller software I use, if they have updates, give you a link to the download page. They don't do the download in client. It may also be those pages are full of adverts they want looking at, but that's another story...
mackerel is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime95 version 29.2 Prime95 Software 71 2017-09-16 16:55
Prime95 version 29.1 Prime95 Software 95 2017-08-22 22:46
Prime95 version 26.5 Prime95 Software 175 2011-04-04 22:35
Prime95 version 25.9 Prime95 Software 143 2010-01-05 22:53
Prime95 version 25.8 Prime95 Software 159 2009-09-21 16:30

All times are UTC. The time now is 23:24.


Fri Aug 6 23:24:23 UTC 2021 up 14 days, 17:53, 1 user, load averages: 4.38, 4.15, 4.07

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.