How to get list of all present disc drives? (RISCOSCloverleaf)
David J. Ruck (33) 1635 posts |
An application can just go ahead and do this on behalf of the filer, the beauty of the RISC OS lack of security model. |
Paolo Fabio Zaino (28) 1882 posts |
Yup. |
Rick Murray (539) 13840 posts |
For obvious reasons, involving sanity and llamas, I wasn’t going to go there… |
David J. Ruck (33) 1635 posts |
It’s the one of the things that makes RISC OS fun, in that you can get in there and change the behaviour of just about anything, using vectors, callbacks, filters and plain buggering with someone else’s shit. As other OS’s have become more mature their security models (try to) prevent this type of thing, the alternative being to implement an official API (as Rick suggested), but that of course relies on the authors having the forethought to realise that such a API would be needed. |
Steve Pampling (1551) 8170 posts |
Something in my mind twisted that to “involving salty llamas” and we definitely don’t want to go there… |
Steve Drain (222) 1620 posts | |
Steve Drain (222) 1620 posts |
I have just spent a happy hour or so putting together a tiny little app to access all my disc drives from the ShareFS ‘Discs’ icon. http://www.kappa.me.uk/Miscellaneous/swDiscs001.zipIt is crude and is manualy set up, but it might interest someone. If there were a *command that I could use to remove the real disc icons it would almost do the complete job. ;-) |
Steve Pampling (1551) 8170 posts |
That’s a first, I decided to have a look and Firefox complained about downloading the file from an insecure location. |
Steve Drain (222) 1620 posts |
Edit: to ReInit Anyway, my toy now has access to my drives in one place and no other Iconbar icons.
OK. Hint taken. How much should I pay for essential SSL? My hosting service, Namesco, is asking £66 pa for a good basic DV, but I see that I might get it via RapidSSL, for example, for &6. I am completely lost in this subject. ;-( |
Stuart Swales (8827) 1357 posts |
Pay? Ideally nothing! So long as NetSurf doesn’t care about non-TLS links we are OK. |
Dave Higton (1515) 3526 posts |
I pay about £6 pa for the davehigton.me.uk domain from 123-reg, but last time I looked, there were others offering domains at similar prices. I don’t need much web space, so I get it free. SSL certificates are free from Let’s Encrypt and are valid for 90 days. You can easily obtain and renew them yourself if you have a Linux box. If you pick a helpful web space provider, they’ll handle automatic renewal of certificates for you at no cost. So the only thing that should cost you real money is domain name registration. If you want to host a web site on your own premises, you can get a dynamic DNS name for free, but you’ll have to update it yourself every 30 days or less. I’ve got one of those too, not for a web site but for other purposes (home automation, and SSL experiments). In my case, my BT router automatically communicates with the DNS when my external IP address changes. BT keep forcing the router to restart every few days, which forces an IP address change, because BT want lots of money for providing a static IP address. So, for a web site, it’s possible to do it for free, but I can’t recommend it. |
Rick Murray (539) 13840 posts |
Consider changing your hosting. Once upon a time SSL was a special thing and hosts charged accordingly. For example, this: https://www.ovh.com/world/web-hosting/shared-ssl.xml Adding Let’s Encrypt certificates to a site shouldn’t cost anything extra, and really the host ought to have it automated. |
Rick Murray (539) 13840 posts |
Orange do the same, and I don’t think static IP is even available to normal homes (it’s an expensive “business” thing). |
Paolo Fabio Zaino (28) 1882 posts |
If you have a virtual host or your ISP has an SSL panel, you should be able to use “Let’s Encrypt” it’s totally free and now certificates also last for a long time. If you need help with let’s encrypt large number of options please let me know, I can help. |
Steve Pampling (1551) 8170 posts |
I wasn’t hinting, just commenting on the “feature” that slid in quietly in FF.
and they’ve mostly flushed out the expired Intermediate certificate issue That caught a fair number of well known sites |
Chris Evans (457) 1614 posts |
Sharing a local drive and then accessing it via ShareFS very rarely works at all in my experience, if it does it is hopelessly unreliable. This has been the case from 3.5 to 5.xx / 6.xx |
Chris Mahoney (1684) 2165 posts |
This just seems really strange to my Kiwi mind. I can consciously remember rebooting my router 2-3 times over the past five years, and it doesn’t get auto-rebooted. My static IP was a one-off payment on a residential connection. Like Dave above, I pay for my domain name, and use Let’s Encrypt for HTTPS. |
Steve Drain (222) 1620 posts |
Of course, but that is not what I have done. I just use the ‘Discs’ icon to display the Resources.$.Discs directory. ;-) This is just a toy, but I will upload a slightly more sophisticated version tomorrow. |
Rick Murray (539) 13840 posts |
How long ago was this? Static IP used to be available (like Demon). These days it’s harder as they’ve technically “run out” 1, and dynamic IP lookups exist.
I would say maybe it’s because you have better firmware…but on the other hand…is your firmware ever updated? 1 It didn’t help that in the early days, some of the IP block assignments were crazy. Universities were assigned blocks of 16 million addresses each (in March, Penn State sold a big chunk of addresses). |
Chris Mahoney (1684) 2165 posts |
Early last year, although I’ve just checked my ISP’s site and the pricing hasn’t changed since then.
I think in this part of the world it’s less of an issue as many local providers hoarded them several years ago. I can’t remember how to view the allocations but I’m sure that my ISP has more than a handful :) |
Jon Abbott (1421) 2651 posts |
Back on topic, my suggestion would be to contain all drives under one icon initially, with pinning to add drives to the task bar – ie middle-click on the drive and tick Pin to Task Bar. Possibly pinning the boot drive by default on initial install so it looks a bit normal for people used to the Acorn way. Regarding the Partition bounty, it’s been over a year since it was assigned with no updates what-so-ever. Is it still being actively developed? |
Chris Mahoney (1684) 2165 posts |
There was a “progress review” in April but I don’t know whether it was a ‘success’ or not. |
Rick Murray (539) 13840 posts |
Given what the bounty is, it’s probably going to need a ridiculous amount of testing. So – test, test, and then test a little bit more. And test the tests too. |
Steve Drain (222) 1620 posts |
For amusement only: http://www.kappa.me.uk/Miscellaneous/swDrives004.zipI have changed the name from Discs to Drives. |
Steve Pampling (1551) 8170 posts |
Being a little more accurate, and your reference to “Penn State” gives a clue, “American IP block assignments” were crazy. |