stephenbrooks.orgForumMuon1GeneralAutomatic update
Username: Password:
Search site:
Subscribe to thread via RSS
Pascal
2002-07-09 12:01:47
If there is any aoutamic update function it is to be thought about simply getting many more participants in this project. 

Anyone participating in that idea (at least in the idea??)

___________________________
1: Athlon TB-C, 1.2 GC/s, 256 MB DDR-RAM, Erazor x², ADSL-Flatrate, NIC Intel, Win 98 SE Mainboard MSI-6380 Rev.  1
2: Pentium III, 600 MC/s, 256 MB RAM, NIC Intel, Win 98 SE
Stephen Brooks
2002-07-09 14:31:48
Do you mean automatic software update?


"As every 11-year-old kid knows, if you concentrate enough Van-der-Graff generators and expensive special effects in one place, you create a spiral space-time whirly thing, AND an interesting plotline"
Pascal
2002-07-09 22:02:31
Yes, I thought about a software update function for the client.  I know, that there is need in having an internet connection at least sometimes for the update.  But everyone has it or not? 
With that function - as it is already in some ohter DC projects - it's getting simpler to handle and perhaps you may have more participants in the project as now.

___________________________
1: Athlon TB-C, 1.2 GC/s, 256 MB DDR-RAM, Erazor x², ADSL-Flatrate, NIC Intel, Win 98 SE Mainboard MSI-6380 Rev.  1
2: Pentium III, 600 MC/s, 256 MB RAM, NIC Intel, Win 98 SE
Ray Robertson
2002-07-10 06:27:18
I think that if it is easily acheivable an Automatic update funtion would be very beneficial.  As someone who runs the app on several machines (on different networks) updating them all can be a real chore.
Obviously if the application updates itself it will also need to be able to terminate and restart itself.  This becomes more complex still if you are running multiple instances on a SMP machine.
I would imagine this would require a helper app to control it or it would run within a framework like the United Devices software.
Maybe you could do something with the .Net Framework though that will obviouly restrict portability to Linux etc.

On another note, any chance you could make it run as a service on NT/2000/XP/.Net (gotta love the consistant version naming scheme!).

Ray
kruemi [Swissteam.NET]
2002-07-10 06:54:44
Hm... i personally dont like the automatic-update idea!
It opens oute computers to malicous code!  Ok, ther probability is now to, that stephens site gets hacked and the program could be backdored.  but with an automatic-update function, this would be a lot easier and automatically!

no, pleaso no automatic updates!

bye

kruemi

--
Don't read this.  And neither this!
gogomaus
2002-07-10 15:09:14
Stephen,
I share the same feelings like Kruemi.
Another argument by me is that updates often (always?) have a beta-test character and I don´t like to be a guinea-pig that often (I´m not experienced with software trouble and my PC is slow enough, so don´t mix me up).
Anyway it would be worth considering to split the update service on your website like this :
a) full version for newcomers
b) update for users of v4xy (update to v400; date of update)
Thus would avoid to download/handle 1.7 MB of that pi_2G....CSV file again and again.
What´s your comment ?
Stephen Brooks
2002-07-11 09:41:06
If I did put in an automatic update program, I would put it in as optional (and initially turned off in config.txt).  The only potential hassle with it is integrating with WinZip to unzip it for me (or is there a pkunzip DOS command?).  The starting/stopping of the application should be possible by having a second application which is started when the first one notices there is an update on the site.  This would then manage the download and reinstallation (i.e. deletion of everything except itself, then unzipping the new files correctly and running muon1 or muon1_background again).

However, there are more urgent updates I need to do (version 4.2 will have improvements to the calculation accuracy) and those will be uploaded soon after I start work at the lab again on July 22nd.

I never know whether the versions I upload are going to be "betas" or not because I upload them thinking that they are probably correct.


"As every 11-year-old kid knows, if you concentrate enough Van-der-Graff generators and expensive special effects in one place, you create a spiral space-time whirly thing, AND an interesting plotline"
Orbi-tel
2002-07-13 18:00:07
pkunzip for DOS does exist.  I'll email it to you
Stephen Brooks
2002-07-15 16:06:09
Ah, thanks - I've received it.  That's one more feature for me to worry about putting in...

Right now, it's just after midnight here and way too hot to go to sleep.  I've got Muon1 v4.13 compiled and am currently fiddling with the results viewing program to see if I can upgrade that and add it to the new package.  The new version is primarily because I got given a more accurate initial pion CSV file (the file is also smaller) but I've also made a speed optimisation to the solenoid collision detection - something like a 6% improvement in speed.

I'm also on dialup because NTL is malfunctioning REALLY BADLY and won't access most websites including this one.


"As every 11-year-old kid knows, if you concentrate enough Van-der-Graff generators and expensive special effects in one place, you create a spiral space-time whirly thing, AND an interesting plotline"
Stephen Brooks
2002-07-18 11:27:45
quote:
Originally posted by Ray Robertson:
On another note, any chance you could make it run as a service on NT/2000/XP/.Net (gotta love the consistant version naming scheme!).


Someone else asked me that before.  All I know about services is that they are applications that run on an NT-style OS all the time (i.e. including when the login screen is up and no user is logged in), right?

Well I suppose these things have to be EXEs of some sort, but with a special thing set on them so they carry on running... Hmmm

LocalService
------------

Allows an object to be installed as a Win32 service. 

Registry Entry

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\APPID\
{AppID_value}\LocalService = service_name

Remarks

In addition to running as a local server executable (EXE), a COM object may also choose to package itself to run as a Win32 service when activated by a local or remote client.  Win32 services support numerous useful blah blah blah

------------

Alternatively there seems to be a way to install EXEs as services using an INF file...

[later]

As an experiment, try copying this file into your Muon1 directory, rightclicking it and selecting 'install'.


"As every 11-year-old kid knows, if you concentrate enough Van-der-Graff generators and expensive special effects in one place, you create a spiral space-time whirly thing, AND an interesting plotline"
scottsaxman
2002-07-20 21:51:24
I don't know all that much about it, but I've heard that a program called firedaemon allows you to run programs as services.  At least, if I'm thinking clearly.
HETTATLONGUN
2002-07-23 20:07:33
FireDaemon for WinNT/2K/XP

Ahh, morning....Nothing like a good cigar, a cup of coffee and the sound of hot shell casings hitting the deck....[color=#7FFFD4]H[/color][color=#8FBC8F]E[/color][color=#008000]T[/color][color=#006400]T[/color][color=#ffcc33][TEP][/color]
Stephen Brooks
2002-07-24 14:01:25
Seeing as there's an app that does this for you, I'll just add a link to it on the download page and let those NT HAXX0Rs sort it out for themselves.  big grin

Erm... HETTATLONGUN's signature would look better if he'd used brackets instead of square ones round the HTML tags.  (Also note this mangey board has a truncation-limit on sigs, or at least it did in version 1.2.2).


"As every 11-year-old kid knows, if you concentrate enough Van-der-Graff generators and expensive special effects in one place, you create a spiral space-time whirly thing, AND an interesting plotline"
Pascal
2002-07-29 10:51:47
Another nice kind of update would be to add the date to the downoad link of the client.  I wanted to post somewhere from which day the client v4.2 was, I do NOT know any more when it was... roll eyes

___________________________
1: Athlon TB-C, 1.2 GC/s, 256 MB DDR-RAM, Erazor x², ADSL-Flatrate, NIC Intel, Win 98 SE Mainboard MSI-6380 Rev.  1
2: Pentium III, 600 MC/s, 256 MB RAM, NIC Intel, Win 98 SE
: contact : - - -
E-mail: sbstrudel characterstephenbrooks.orgTwitter: stephenjbrooksMastodon: strudel charactersjbstrudel charactermstdn.io

Site has had 17013264 accesses.