Re: [Dorset] Permissions Quandary with nginx

2021-02-06 Thread Hamish MB
y 2021 13:02:14 GMT Hamish MB wrote: Best to set it up so you can just use git pull I imagine, if possible The problem with that is that I would need to push intermediate versions from my desktop to GitLab or do or my development directly on the Pi. I prefer to do the initial work on the code

Re: [Dorset] Permissions Quandary with nginx

2021-02-06 Thread Hamish MB
Best to set it up so you can just use git pull I imagine, if possible On 6 Feb 2021, at 11:40, Terry Coles mailto:d-...@hadrian-way.co.uk>> wrote: On Saturday, 6 February 2021 10:55:23 GMT Terry Coles wrote: What do I need to do to get this to work? I may have partially solved this. Since in

Re: [Dorset] Online Meeting Tonight at 8 pm

2020-11-03 Thread Hamish MB
I'm gonna be a bit late cos we have a lovely apple crumble to eat :) Catch you all at 8:30 or so. Hamish On Nov 3, 2020, at 12:45 PM, Terry Coles mailto:d-...@hadrian-way.co.uk>> wrote: All, The next Online Meeting is tonight at 8 pm using Jitsi. Simply click on the following link and you

Re: [Dorset] Very high memory usage (ignoring cache) after being powered on for days

2020-09-10 Thread Hamish MB
It would be a problem if I left it on this long regularly, and indeed it is a problem at the moment because I need to leave it on and at this rate I'll be using swap space to do actual work tomorrow just because it's powered on, which will be slow and wear out the SSD that my swap space has to

Re: [Dorset] MultiWii controllers

2020-02-23 Thread Hamish MB
MultiWii is the software, and it does run on an Arduino, but there are also specific sensors (such as accelerometers) you need if you're doing that part the DIY way. There are also pre-built, integrated boards with an Arduino and sensors onboard, which is more what I'm looking for. Hamish On

Re: [Dorset] Moving POP3 Suppliers with Thunderbird.

2020-01-28 Thread Hamish MB
Perhaps I will try again then, it probably just was me being a doofus :) On 21/01/2020 12:18, Terry Coles wrote: > On Tuesday, 21 January 2020 10:15:24 GMT Hamish MB wrote: >> Somehow I've never managed to get email filters to work. I've tried in >> Thunderbird and with my pro

Re: [Dorset] Enigmail can't verify signatures from this list

2020-01-21 Thread Hamish MB
Guess it didn't go through, so I'll copy and paste the test instead: "Enigmail Security Info Unverified signature Public key 87B761FE07F548D6 used to verify signature BAD signature from Hamish T. McIntyre-Bhatty (Key for signing emails) " You're probably right, I believe there was some

[Dorset] Enigmail can't verify signatures from this list

2020-01-21 Thread Hamish MB
Hi all, Just realised after my earlier message this morning, that Enigmail can't verify the digital signature I attached to my email - when I received my own copy, it says "unverified signature" and in the details it says "BAD signature". See attached image. However, when I email myself between

Re: [Dorset] Switching away from Evernote

2020-01-20 Thread Hamish MB
Thanks, Joplin looks like it's done the trick for me. Emacs Org mode looks interesting, but doesn't seem to do file sharing, and also I can't use Emacs, but thanks for the idea anyways. I can sort of use Vim though *hides from Vim vs Emacs debate* :) Hamish On 18/01/2020 10:30, Keith Edmunds

[Dorset] Switching away from Evernote

2020-01-18 Thread Hamish MB
Hi all, I've been thinking about switching away from Evernote as there's no native Linux client, and the upload limit for free accounts is quite restrictive. Has anyone got any suggestions for replacement note-taking and syncing services? Hamish -- Next meeting: BEC, Bournemouth, Tuesday,

Re: [Dorset] How much work is involved in moving away from my current Domain Hosting Provider

2020-01-18 Thread Hamish MB
Are you sure these aren't a scam? It kind of sounds like one, so the links might not be genuine, perhaps? I'm sure you've already checked this, but thought it was worth a mention. Hamish On 18 Jan 2020, at 08:01, Terry Coles mailto:d-...@hadrian-way.co.uk>> wrote: On Saturday, 18 January 2020

Re: [Dorset] Next Meeting - Less than One Week Tonight

2019-11-29 Thread Hamish MB
I can go. I think it's my turn to drive this time. Hamish On 27/11/2019 19:06, D-LUG wrote: > Hi, > > The next meeting is less than one week tonight on Tuesday, 2019-12-03 20:00 at > the Bournemouth Electric Club. See: > >

Re: [Dorset] Cannot get into KWallet after copying my Home directory from an old Spinning Rust Drive to a new SSD

2019-11-28 Thread Hamish MB
Glad it's working. If you new drive is bigger than the old one, you could do Clonezilla device-to-device cloning, or use DD to copy directly from the old to the new drive, and then grow the partitions? I'd recommend Clonezilla as I've had good success with it (primarily as a backup tool), and it

Re: [Dorset] Next Meeting - One Week Tonight (and One Day Earlier than Scheduled)

2019-10-29 Thread Hamish MB
Yes, I'm still free. Hamish On 28/10/2019 12:14, Terry Coles wrote: > Hi, > > The next meeting is one week tonight on Monday, 2019-11-04 20:00 at the > Bournemouth Electric Club. See: > > http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub#bournemouth_electric > > NOTE: This Meeting is a

Re: [Dorset] Date of Next Meeting.

2019-10-02 Thread Hamish MB
Seems good to me - I may be doing bonfire night things then as well. Hamish On 02/10/2019 13:55, PeterMerchant via dorset wrote: > On 02/10/2019 12:10, Ralph Corderoy wrote: >> Hi, >> >> Tim W. wrote: >>> Nice catch. I'll be doing Bonfire Night things that night. >> Anyone object to Tuesday 12th

Re: [Dorset] Next Meeting - One Week Tonight

2019-09-25 Thread Hamish MB
I should be able to go as long as I don't get a shift. I think that's pretty unlikely to happen :P Is it my turn to drive this time? Hamish On 24/09/2019 16:57, Terry Coles wrote: > Hi, > > The next meeting is one week tonight on Tuesday, 2019-10-01 20:00 at the > Bournemouth Electric Club.

[Dorset] Free HDMI splitter on offer

2019-09-13 Thread Hamish MB
Would anyone like a free HDMI splitter? If I need to post it for some reason, shipping should be £3 but will check if anyone's interested. One came with something I bought, but I don't need it, so I was wondering if any of you might have a use for it? It's fully working, with power adaptor.

Re: [Dorset] Linker errors cross-compiling NSS

2019-09-10 Thread Hamish MB
Hi Ralph, There are definitely more enjoyable hobbies -_- I've had a look, and I don't think that's what's happening here, but thanks for the help anyway. Terry has pointed out to me that this is probably not strictly required for our use case, so I think I may move on the other hobbies now :)

Re: [Dorset] ECDSA Host keys.

2019-09-06 Thread Hamish MB
I'm sure there are other people who can give a fuller explanation, but: Q1: The software creates this key. Each key is unique for each pi. Q2 & Q3: I don't know, but you probably don't want to do this for security reasons - the check is used to determine if the host is who it says it is. The

[Dorset] Linker errors cross-compiling NSS

2019-09-06 Thread Hamish MB
Hello, I've been trying to cross-compile NSS for the NAS box (needed to add and verify SSL certificates), but I keep running into linker errors. A particular file tries to link against pthread_atfork, but fails. I've checked that the linker is finding the correct libpthread.so, and that the

Re: [Dorset] Next Meeting - One Week Tonight

2019-09-02 Thread Hamish MB
Hello, Unfortunately, due to me attaining one of those near-mythical shifts, I won't make it to the pub on Tuesday. I hope you all have a good time though, and I will hopefully make it to the next one. Hamish On 27/08/2019 17:06, Terry Coles wrote: > Hi, > > The next meeting is one week tonight

Re: [Dorset] Next Meeting - one Week Tonight

2019-08-01 Thread Hamish MB
I should be able to go. On 30/07/2019 18:35, Terry Coles wrote: > Hi, > > The next meeting is one week tonight on Tuesday, 2019-08-06 20:00 at the > Bournemouth Electric Club. See: > > http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub#bournemouth_electric > > Paul, Hamish, > > Are you

[Dorset] NAS box follow-up

2019-07-03 Thread Hamish MB
Hi, I did manage to get the setup script to run on boot in the end - there were some scripts on the HDDs used to set up phpMyAdmin that I could modify. Thanks for all your help Ralph :) Hamish -- Next meeting: BEC, Bournemouth, Tuesday, 2019-08-06 20:00 Check to whom you are replying

[Dorset] Sponsored walk to support AIM Community and High Mead Farm

2019-07-03 Thread Hamish MB
Hi everyone. I meant to mention this at the meetup yesterday, but I forgot. On Friday I am taking part in a sponsored walk to raise money for charity, and I was wondering if any of you would like to donate? You can go to https://www.give.net/dusktildawn2019 to support AIM Arts Academy and High

Re: [Dorset] Next Meeting - One Week tonight

2019-06-26 Thread Hamish MB
I should be able to go this time. My turn to drive? On 25/06/2019 18:15, Terry Coles wrote: > Hi, > > The next meeting is one week tonight on Tuesday, 2019-07-02 20:00 at the > Bournemouth Electric Club. See: > > http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub#bournemouth_electric > >

[Dorset] Cross compiler with different binutils and glibc versions

2019-06-21 Thread Hamish MB
Hi all, I thought I would ask here because I'm sure there are a few of you that can answer this :) I have recently been setting up a cross compiler for an old NAS box, as part of the river control system for the model town. The NAS box uses particular outdated versions of glibc/eglibc (2.8) and

Re: [Dorset] Disc Drive Read Errors

2019-06-15 Thread Hamish MB
I have been running badblock's read-only test on the other bad drive (currently in the NAS) today. There have been a total of 292 bad sectors thus far - I don't trust this drive not to randomly fail/degrade rapidly. If gsmartctl is right, the drive has been powered on for a total of around 7

Re: [Dorset] Next Meeting - One Week Tonight

2019-05-28 Thread Hamish MB
Hi, I will be able to come to this one :) Hamish On 28/05/2019 16:51, Terry Coles wrote: > Hi, > > The next meeting is one week tonight on Tuesday, 2019-06-04 20:00 at the > Bournemouth Electric Club. See: > > http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub#bournemouth_electric > >

Re: [Dorset] Python help

2019-05-12 Thread Hamish MB
Hi Ralph, Cheers, that makes a lot of sense, thanks for explaining the use case :) As someone who's mostly worked in Python, I guess I've never seen it used. Hamish On 12/05/2019 09:26, Ralph Corderoy wrote: > Hi Hamish, > >> I've heard bad things about goto :) > Forget all you've heard. :-)

Re: [Dorset] Python help

2019-05-12 Thread Hamish MB
Hi Tim, 1) I've been using Python for a long time and have never seen it fit to use labels - are you sure you don't want to divide it into multiple functions or methods? If labels are similar to goto, I would hesitate to use it - I've heard bad things about goto :) 2) The documentation on

Re: [Dorset] The Linux Solution book

2019-05-01 Thread Hamish MB
This looks cool, I'll buy it as well. Hamish On 01/05/2019 10:03, Keith Edmunds wrote: > Hi everyone! My book, "The Linux Solution", is available on Kindle for 99p > today. All proceeds to Great Ormond Street Children's Charity. > > I'd appreciate it if you were able to support both the book and

Re: [Dorset] Next Meeting - One Week Tonight

2019-04-30 Thread Hamish MB
Hi, I will be at a meetup on that week, so unfortunately I won't be able to come :/ Hamish On 30/04/2019 17:09, Terry Coles wrote: > Hi, > > The next meeting is one week tonight on Tuesday, 2019-05-07 20:00 at the > Bournemouth Electric Club. See: > >

Re: [Dorset] KMail "ghost" messages after deleting from IMAP folders

2019-04-12 Thread Hamish MB
Interesting, cos thunderbird does this as well - I'll see if I can find an option for that in there too. Hamish On 12/04/2019 12:05, Patrick Wigmore wrote: > Hi List, > > For many years, I had a problem where, after deleting a message from > an IMAP folder in KMail, or moving a message from one

Re: [Dorset] Knotes and other means of keeping files

2019-03-17 Thread Hamish MB
I use Evernote which sound fairly similar as a solution. There's an unofficial client for Linux called nixnote. Hamish On 17 Mar 2019, at 08:01, t...@ls83.eclipse.co.uk wrote: On 16/03/2019 16:55, Keith Edmunds wrote: On Sat, 16 Mar 2019 16:19:53 +,

Re: [Dorset] How can I list all installed packages from a particular origin (debian)

2019-03-14 Thread Hamish MB
NB: Also the licenses for these can be found inside the packages or in /usr/share/doc//copyright if anyone else would benefit from this information. Hamish On 14/03/2019 16:55, Hamish MB wrote: > Ralph, > > I have come to the same conclusion, but that will do just fine for me. I have

Re: [Dorset] How can I list all installed packages from a particular origin (debian)

2019-03-14 Thread Hamish MB
Ralph, I have come to the same conclusion, but that will do just fine for me. I have posted the script here in case anyone else finds it useful. The script I ended up using is as follows: """ #!/bin/bash RED='\033[0;31m' GREEN='\033[0;32m' YELLOW='\033[1;33m' NC='\033[0m' for pkg in $(dpkg

[Dorset] How can I list all installed packages from a particular origin (debian)

2019-03-14 Thread Hamish MB
Hi all, I was wondering if any of you had found a good way to list all installed packages from a particular source (eg the "restricted" component) on Debian-based systems? Basically I want to do this so I can programmatically check exactly which non-OSS packages are installed w/o there being

[Dorset] Redistributing binary firmware with a custom live disk

2019-03-14 Thread Hamish MB
Hi all, For a custom live disk I'm making for Disk Verifier (commercial program I showed some of you before at the pub), I need to ship some proprietary display drivers (eg amdgpu). All of the ones I've looked at allow redistribution (under some other terms I can comply with eg not

Re: [Dorset] Next Meeting - One Week Tonight

2019-01-31 Thread Hamish MB
Sounds fair :) Nothing is installed, so you should be fine XD. Thanks :) Hamish On 31/01/2019 12:09, Terry Coles wrote: > On Thursday, 31 January 2019 10:11:54 GMT Hamish MB wrote: >> Oops: Previous email sent only to Terry. >> >> Yep, I am going >> >> Is it m

Re: [Dorset] Next Meeting - One Week Tonight

2019-01-31 Thread Hamish MB
Oops: Previous email sent only to Terry. Yep, I am going Is it my turn to drive? I can't remember. By the way, I have been making a Debian-based live disk for my new program over the last week or so. Would any of you be okay with trying it on your laptops so I can make sure the graphics

Re: [Dorset] Next Meeting - One Week Tonight

2018-11-27 Thread Hamish MB
Yep, I shall be going. On 27 Nov 2018, at 20:07, Terry Coles mailto:d-...@hadrian-way.co.uk>> wrote: Hi, The next meeting is one week tonight on Tuesday, 2018-12-04 20:00 at the Bournemouth Electric Club. See: http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub#bournemouth_electric Paul,

Re: [Dorset] The World Turns!

2018-10-11 Thread Hamish MB
Interesting, and probably a good thing too. However, it is worth noting that they are still using sister companies to file patents against Linux and open-source projects the last time I looked - to keep their record clean - but they might have stopped :) On 11/10/18 12:07, Terry Coles wrote:

Re: [Dorset] What Are Folder Subscriptions in Thunderbird All About?

2018-10-10 Thread Hamish MB
Hi Terry, Sounds strange, I've never had to do that before, but I use Google Mail and Live Mail, so it might be a different process for you. Are you using IMAP to connect to your mail server, because given the choice between that and POP, you probably want IMAP? Hamish On 10/10/18 12:33,

Re: [Dorset] Checking IP and MAC connections

2018-10-06 Thread Hamish MB
Hi James, That's really interesting. If you come to one of the meetings soon we should chat about it. I find cyber security interesting, and maybe will start my career in it. There are too many things I find interesting XD. Hamish On 01/10/18 11:59, James Blake wrote: > I’m not a

Re: [Dorset] Checking IP and MAC connections

2018-09-30 Thread Hamish MB
It's interesting as an exercise, but MAC addresses can be spoofed easily, so why would you do that? A static IP is perhaps better. Interestingly, my tplink router does this automatically, as did the BT routers before it - perhaps there's an option. Hamish On 30 Sep 2018, at 13:42, Ralph

Re: [Dorset] Next meeting - One Week Tonight

2018-08-29 Thread Hamish MB
I think it's your turn, if the one with all the police swarming about was the last one we went to, where I had my shift afterwards? Hamish On 29/08/18 09:50, Terry Coles wrote: > On Wednesday, 29 August 2018 08:54:52 BST Hamish MB wrote: >> I should still be going, but it depends on

Re: [Dorset] Thunderbird profiles

2018-08-10 Thread Hamish MB
Ah I see  On 10 Aug 2018, at 22:09, Ralph Corderoy mailto:ra...@inputplus.co.uk>> wrote: Hi Hamish, I thought you were employed by Red Hat? There's at least three Tims on the mailing list. `Thunderbird' Tim isn't the one you saw on Tuesday at the pub. :-) Cheers, Ralph. -- Next meeting:

Re: [Dorset] Thunderbird profiles

2018-08-10 Thread Hamish MB
Yes, I renamed it before and it worked. If it doesn't you can always revert :). I thought you were employed by Red Hat? Hamish On 10 Aug 2018, at 21:45, Tim mailto:t...@xendistar.co.uk>> wrote: On 10/08/18 14:52, Ralph Corderoy wrote: No, Tim should `create a new profile' before

Re: [Dorset] Thunderbird profiles

2018-08-10 Thread Hamish MB
Yes, I renamed it before and it worked. If it doesn't you can always revert :). I thought you were employed by Red Hat? Hamish On 10 Aug 2018, at 21:45, Tim mailto:t...@xendistar.co.uk>> wrote: On 10/08/18 14:52, Ralph Corderoy wrote: No, Tim should `create a new profile' before

Re: [Dorset] Thunderbird profiles

2018-08-10 Thread Hamish MB
Hi Tim, I use a plugin called ImportExportTools to help with this, which is perhaps a better option than copying the files manually. If you export in EML format, you should be able to re-import. You can also save in a nice HTML format (and various others) if you don't need to view them in

Re: [Dorset] Possible IP Conflict

2018-07-31 Thread Hamish MB
I'd agree with Ralph: seems like a coincidence. Hamish On 31 Jul 2018, at 15:19, Ralph Corderoy mailto:ra...@inputplus.co.uk>> wrote: Hi Terry, Initially, I connected the new WiFi Antenna to my laptop and got a weak but usable signal. ... About an hour after those tests, I plugged the new

Re: [Dorset] Problems with The UK Mirror Service https://www.mirrorservice.org/

2018-07-09 Thread Hamish MB
Use archive.raspbian.org in your sources.list for now? That would mean you wouldn't need to stop :) On 09/07/18 15:02, Terry Coles wrote: > On Monday, 9 July 2018 14:56:11 BST Ralph Corderoy wrote: >> So things are afoot and I think you just have to be patient. >>

Re: [Dorset] LUG Meets World Cup.

2018-06-26 Thread Hamish MB
I vote #2 - I think it's likely that any other place will be completely packed too. Hamish On 26/06/18 17:24, Terry Coles wrote: > On Monday, 25 June 2018 14:02:29 BST Ralph Corderoy wrote: >> I'd be happy to ditch the beer on tap, especially if there was the >> option of `BYO'. Meeting rooms

Re: [Dorset] Using a Raspberry Pi as a Network Router

2018-06-19 Thread Hamish MB
Raspbian lite might be a good choice? On 19/06/18 13:41, Terry Coles wrote: > On Tuesday, 19 June 2018 12:00:42 BST Ralph Corderoy wrote: >> You've assembled a system of software parts and it doesn't work. >> Debugging it will be hard because of the possible interactions between >> the parts

Re: [Dorset] Setting up a URL Filter and Cascading Routers

2018-06-14 Thread Hamish MB
Plan D can be don't use DHCP for your client and set a static IP that way - no router configuration needed. Just set it to something outside the DHCP lease range ( often 192.168.1.1 - 100) Hamish On 14 Jun 2018, at 18:01, Terry Coles mailto:d-...@hadrian-way.co.uk>> wrote:

Re: [Dorset] PolKit auth_admin_keep strange behaviour and input sanitising

2018-05-21 Thread Hamish MB
Hi Ralph, Fortunately, that will never happen because of the way the GUI works. The org.freedesktop.policykit.exec.argv1 annotation isn't working but I have a different idea, so no worries, it's all working now. Thanks for all your help :) " Actually, it's probably Tim who should buy for

Re: [Dorset] PolKit auth_admin_keep strange behaviour and input sanitising

2018-05-17 Thread Hamish MB
Hi Ralph, That makes sense. I'll mull this over for a bit longer, but I reckon what you're saying makes sense. I'll just try to find the more restrictive settings that work for my use case then. I reckon I owe you a beer at the next pub-meet :) Hamish On 17/05/18 13:45, Ralph Corderoy

Re: [Dorset] PolKit auth_admin_keep strange behaviour and input sanitising

2018-05-17 Thread Hamish MB
Hi Ralph, Hopefully my quotes work this time. I see, that makes sense. The shebang line will tell it what to use to run the script anyway. I also see what you mean about identifying the parent process - as long as they're authorised, other applications should be able to do it too. even if you

Re: [Dorset] PolKit auth_admin_keep strange behaviour and input sanitising

2018-05-17 Thread Hamish MB
I can actually use pkcheck --revoke-temp to revoke temporary authorisations, which would also be a good idea - something several privileged process have to be executed in a row, and then none for a while. This would probably help. PolicyKit is confusing, and seems a little overcomplicated to

Re: [Dorset] PolKit auth_admin_keep strange behaviour and input sanitising

2018-05-17 Thread Hamish MB
Hi Ralph, Hmm, this is interesting. I was wrong about the sessions - that was a faulty assumption as I didn't know how to check. Yes, I have the same behaviour as you. The second terminal window can see the authorisation, but if I run the command again from there, I have to enter my password,

Re: [Dorset] PolKit auth_admin_keep strange behaviour and input sanitising

2018-05-16 Thread Hamish MB
Hmm, my formatting seems to have disappeared, maybe I did it wrong. The link to the archlinux wiki seems to have more information than the official documentation for policykit, ironically. It's very helpful, thanks for finding that for me :) Hamish On 16/05/18 16:27, Hamish MB wrote: >

Re: [Dorset] PolKit auth_admin_keep strange behaviour and input sanitising

2018-05-16 Thread Hamish MB
Hi Ralph, These sessions are what loginctl(1) lists, and referred to by `allow_any', `allow_active', and `allow_inactive'? What two sessions do you have in mind where it is authorised in one, still needs authorising in the second, and you wonder if it should? Yes, that's right. So long as I

[Dorset] PolKit auth_admin_keep strange behaviour and input sanitising

2018-05-16 Thread Hamish MB
Hello Everyone, I've been having some issues with pol kit and I was hoping some of you might be able to answer some of my questions. What I want to do with it is allow one of my GUIs to execute a script, which in turns executes whatever commands are passed as arguments. I wanted to do this

Re: [Dorset] Links from 2018-05-01's Pub Meet.

2018-05-02 Thread Hamish MB
Oops, sent to wrong address. Hi, We also talked briefly about refactoring, and the various ways of doing it. I think somebody said during that discussion that there wasn't time to do it in industry, and that refactoring was mostly limited to open source software projects. Is that right,

Re: [Dorset] Alternative to Simple Backup Suite

2018-04-30 Thread Hamish MB
I used to use something called Back In Time that might serve your purposes, have you looked at that? It's also a GUI for rsync, but it has some pretty cool features. I now do offline backups with Mondorescue, but I used to find this helpful. Hamish On 30/04/18 08:48, PeterMerchant via dorset

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-04-15 Thread Hamish MB
Hi Ralph, Really interesting! It turns out I read the slow goodbye to C post before! I still like C++, but Python tends to be my goto language, partially because it's what I first learned in 2013, so I'm not quite proficient with it. I quite like Java too, which I've been studying in my Open

Re: [Dorset] Compiling from source?

2018-04-15 Thread Hamish MB
Hi, If you cd into the source and run ./configure it should tell you what you need, if anything. You can use checkinstall (for Debian or Ubuntu) where you would usually run make install to make a Debian package. Then you can easily remove the program with dpkg or apt Hope this helps, Hamish

Re: [Dorset] Can I recover a Hard disk?

2018-04-05 Thread Hamish MB
Sounds perplexing... You could try gparted's create partition table option (in one of the menus). Beyond that, maybe it's better to give up if its being that much of a pain - it may just be broken. Hamish On 05/04/18 17:46, PeterMerchant via dorset wrote: > I was given an old Dell with a

Re: [Dorset] Next Meeting - One Week Tonight

2018-03-31 Thread Hamish MB
I shall be going - would you like me to give you a lift Terry? If anyone else nearby to Wimborne / Cole Hill is going I can give you a lift as well if you like. Hamish On 27/03/18 16:55, Terry Coles wrote: > All, > > The next meeting is one week tonight at The Broadway, Bournemouth on

Re: [Dorset] Using polkit to escalate privieges

2018-03-19 Thread Hamish MB
Thanks :) Hamish On 19/03/18 11:38, Tim Waugh wrote: > That's exactly the idea. :-) > > Tim. > */ > > > On 19 March 2018 at 11:37, Hamish MB <hamis...@live.co.uk> wrote: >> Thanks Tim. >> >> Right, so I should be able to make a script to run proces

Re: [Dorset] Using polkit to escalate privieges

2018-03-19 Thread Hamish MB
be a nicer way of doing this... Hamish On 16/03/18 14:24, Tim Waugh wrote: > On 16 March 2018 at 14:05, Hamish MB <hamis...@live.co.uk> wrote: >> I see, I think. In that case it sounds like the wrong tool for what I'm >> trying to do, though I'm sure that for example synaptic uses

Re: [Dorset] Using polkit to escalate privieges

2018-03-16 Thread Hamish MB
I see, I think. In that case it sounds like the wrong tool for what I'm trying to do, though I'm sure that for example synaptic uses it. I'm thinking specifically of using pkexec, does that work this way too? Hamish On 16 Mar 2018, at 10:11, Tim Waugh

[Dorset] Using polkit to escalate privieges

2018-03-15 Thread Hamish MB
Hi everyone, One of the things I need to get to reasonably soon is sorting out using polkit to escalate privileges rather than running my GUI programs as root. This is because Wayland doesn't allow GUI apps to run as root without a hack. Tim suggested I try using pkexec, but I can confirm

Re: [Dorset] Cross-platform python development for windows.

2018-03-03 Thread Hamish MB
Pyinstaller sounds like a good idea. He's already written it by the sounds of it. Is that Go code? I've heard a lot about Go recently. Hamish On 3 Mar 2018, at 18:10, Ralph Corderoy > wrote: Hi Rafi, I've been looking into things like

Re: [Dorset] Cross-platform python development for windows.

2018-02-25 Thread Hamish MB
Interesting idea using wine. I don't know if that would work but worth a try. I've used py2app before for macOS packaging and its mostly good, if a little buggy at times. Would you have a Windows system to test it on? Hamish On 25 Feb 2018, at 12:19, Maqjor Mrx

Re: [Dorset] Revisited - Accessing a Local Network over a Wireless Router that is NOT Connected to the Internet

2018-02-24 Thread Hamish MB
Hi, It being that I'm studying Java for my Open University course, I'll have a look at it for you. Python is my preferred language, but I'm not bad with Java. I think when we get it working on Android 7 & 8 I should use the VMS to test old versions too. People still use Android versions going

Re: [Dorset] Revisited - Accessing a Local Network over a Wireless Router that is NOT Connected to the Internet

2018-02-18 Thread Hamish MB
Reminds me, I had a load of old android VMS, I could re deploy them and use a packet sniffer on them too see if that will help. Good idea? Hamish On 18 Feb 2018, at 14:51, Terry Coles > wrote: On Sunday, 18 February 2018 14:46:43 GMT

Re: [Dorset] Using shred

2018-02-18 Thread Hamish MB
You could well be being limited by your disks speed then. 100GB per hours is pretty fast for a HDD. Can you connect two at once to speed it up? Hamish On 18 Feb 2018, at 08:45, Terry Coles > wrote: On Sunday, 18 February 2018 07:59:30 GMT

Re: [Dorset] Using shred

2018-02-17 Thread Hamish MB
For modern drives a single pass with zeros is usually just fine. You can use dd if=/dev/zero of=/Dev/sdxy You could copy from /Dev/urandom for a quicker random number pass too. Hamish On 17 Feb 2018, at 18:38, Keith Edmunds > wrote: On Sat, 17

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-21 Thread Hamish MB
I think Ralph's solution is the better on if it works - instead of removing const from that cast, declare the variable as const. Why is it that you dislike C++ Ralph? I admit it is overcomplicated, but I'm quite fond of it :) Hamish On 21 Jan 2018, at 16:30, Terry Coles

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-21 Thread Hamish MB
something that isn't allowed. You could also try using the -fpermissive flag by the looks of it. Hamish On 21 Jan 2018, at 15:41, Terry Coles <d-...@hadrian-way.co.uk<mailto:d-...@hadrian-way.co.uk>> wrote: On Sunday, 21 January 2018 15:31:15 GMT Hamish MB wrote: Try removing the

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-21 Thread Hamish MB
Hi, Try removing the "const" from the cast for the variable k, so it instead reads: char *p = strrchr((char *)k, 'D'); This may or may not fix the problem depending on how the rest of the code works. You can't cast a const type variable to a non-const type because it would potentially have

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Hamish MB
Potential solution: If both speakers are in roughly the same place, does it matter which one each sound is played through? You could just play music though one of them, and do the bells with whichever speaker isn't already in use. Hamish On 14 Jan 2018, at 18:07, Hamish MB <ha

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Hamish MB
Weird that it keeps cutting it off! I've been having email problems with this mailing list too - I've tried to reply to people a few times but it doesn't seem to work. This is sent directly to you as well as the list Terry, so please let me know if you get this message twice :) Hamish On 14

Re: [Dorset] Kubuntu Knotes replacement

2017-10-07 Thread Hamish MB
You could use Evernote with the NixNote client for Linux :) Hamish En 7 oct. 2017, en 14:30, PeterMerchant via dorset > escribió: Hi, I use knotes on my kubuntu 16.04 system and am quite happy with it, but I was looking to see if I

[Dorset] Hi everyone!

2017-09-04 Thread Hamish MB
Hi! I've been meaning to join for a while, but here we go: My name is Hamish and I've been an avid user of Linux for around 6-7 years, and in that time I've enjoyed learning how to program for it in Python and C++, as well as building Linux from scratch. I'm working with Terry Coles on the