[Swlug] Swlug Digest, Vol 302, Issue 6
Jason Pearce
jpearce at etlp.co.uk
Mon Jul 25 08:35:34 UTC 2022
Thanks Rhys. That's very interesting
Jason Pearce
Partner
Direct Dial: 01633 265984
Email: jpearce at etlp.co.uk
IMPORTANT NOTICE: CYBERCRIME ALERT!
Please note that Everett Tomlin Lloyd & Pratt’s bank account details will NOT change during the course of a transaction. Please be vigilant and exercise caution when opening any emails, attachments or links and when responding to any requests for your bank account details. We will not accept responsibility if you transfer money into an incorrect bank account. We will NEVER inform you via email or text message of any change in our firm's bank details. You are advised to telephone our office to confirm our bank details BEFORE you transfer any money to us.
Central Switchboard: 01495 763 333
www.etlp.co.uk
Newport Office 19-20 Gold Tops, Newport, NP20 4PH. Fax: 01633 251840. newport at etlp.co.uk
Pontypool Office, 17 Commercial Street, Pontypool, NP4 6JQ. Fax: 01495 750526. pontypool at etlp.co.uk
Partners: Ashley Harkus, Kirsten Tuck, Jason Pearce, Kay Perrott, Sarah Purnell.
Consultants: Robert Twigg, Jonathan Stephens, Gareth Edwards (Non-practicing) & Chris Pennant (Non-practicing)
This firm is regulated by the Solicitors Regulation Authority.
SRA NO: 00049459
The contents of this email and any attachments are the property of Everett Tomlin Lloyd and Pratt Solicitors and are intended for the confidential use of the named recipient(s) only. If they have been received in error you must maintain confidentiality, notify us of the error, destroy copies and delete them from your system. Everett Tomlin Lloyd and Pratt Solicitors operates an e-mail and internet policy which provides for the monitoring of any or all email transmissions and any e-mail sent from or to Everett Tomlin Lloyd and Pratt may be subject to such monitoring.
From: Swlug <swlug-bounces at mailman.lug.org.uk> On Behalf Of swlug-request at mailman.lug.org.uk
Sent: 24 July 2022 13:00
To: swlug at mailman.lug.org.uk
Subject: Swlug Digest, Vol 302, Issue 6
CAUTION: This email originated from outside of ETLP Solicitors. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Send Swlug mailing list submissions to
swlug at mailman.lug.org.uk<mailto:swlug at mailman.lug.org.uk>
To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/swlug<https://mailman.lug.org.uk/mailman/listinfo/swlug>
or, via email, send a message with subject or body 'help' to
swlug-request at mailman.lug.org.uk<mailto:swlug-request at mailman.lug.org.uk>
You can reach the person managing the list at
swlug-owner at mailman.lug.org.uk<mailto:swlug-owner at mailman.lug.org.uk>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Swlug digest..."
Today's Topics:
1. Re: Re Re Re Maths calculations (Rhys Sage)
----------------------------------------------------------------------
Message: 1
Date: Sat, 23 Jul 2022 18:26:14 +0000 (UTC)
From: Rhys Sage <rhys_sage at yahoo.com<mailto:rhys_sage at yahoo.com>>
To: "swlug at mailman.lug.org.uk<mailto:swlug at mailman.lug.org.uk>" <swlug at mailman.lug.org.uk<mailto:swlug at mailman.lug.org.uk>>
Subject: Re: [Swlug] Re Re Re Maths calculations
Message-ID: <977577799.1288117.1658600774539 at mail.yahoo.com<mailto:977577799.1288117.1658600774539 at mail.yahoo.com>>
Content-Type: text/plain; charset=UTF-8
I had several goes at making the Vincenty formula work before finally giving up and using a Vincenty library (I detest libraries as it makes programs harder to shift between machines).
The end result... The distance between the Tower of London and the Arc De Triomphe...
Haversine distance in miles? 211.2667
Distance in Miles using flat earth calculation? 222.5085
Vincenty miles? 206.9727
If Nigel Farage were to send an air strike at the Arc de Triomphe then the flat Earth calculation would doubtless spoil the day for residents of blocks of flats. If he were to use the Haversine distance then he'd upset the French business community. If he used the Vincenty formula then he'd actually hit the Arc de Triomphe and probably thus ruffle a few French feathers and cause them to reduce police presence at the French border.
Haversine is perfectly fine for calculating directions as the fact the world is a bit testicle shaped rather than round is fully catered for.
The code for the Vincenty distance....
from vincenty import vincenty
TowerOfLondon = (51.5081, 0.0759)
ArcDeTriomph = (48.873756, 2.294946)
print("Vincenty miles ", vincenty(TowerOfLondon, ArcDeTriomph , miles=True))
That's pretty darned simple!
Rhys Sage
------------------------------
Subject: Digest Footer
_______________________________________________
Swlug mailing list
Swlug at mailman.lug.org.uk<mailto:Swlug at mailman.lug.org.uk>
https://mailman.lug.org.uk/mailman/listinfo/swlug<https://mailman.lug.org.uk/mailman/listinfo/swlug>
------------------------------
End of Swlug Digest, Vol 302, Issue 6
*************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/swlug/attachments/20220725/602e8d58/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image792899.gif
Type: image/gif
Size: 4793 bytes
Desc: image792899.gif
URL: <http://mailman.lug.org.uk/pipermail/swlug/attachments/20220725/602e8d58/attachment-0001.gif>
More information about the Swlug
mailing list