In celestial navigation methods with intercept we need to have a dead reckoning assumed point which is – preferably – less than 30 nautical miles from the new fix. Boat is moving a considerable distance, always with some set and drift. Careful navigator gets pretty reasonable methods with graphical vector estimation on a Mercator canvas or on a map. But if one does not have a dedicated navigator to do that, sometimes all you got are the logbook entries. To improve the processing speed of vector adding, and especially to improve the accuracy, I have developed a Python program for my chart table calculator. It is those things which runs with batteries for weeks or even months. I would still use Mercator canvas but only to find the fix, the assumed point I would just drop on it from the program’s results.
(more…)Thursday, December 7, 2023
Averaging Celestial Sights with Casio Calculator having Python
Posted by M.P. under Uncategorized | Tags: casio, python, sextant |Leave a Comment
If you have onboard a Casio Graphics calculator – or any other make with statistical programs, you can do the averaging of your sights using linear regression functions. But since some Casio calculators have Python (a MicroPython fork) in them, I preferred to write to write a program which does the same but in which the data (point) input is much more simple and one gets results faster. Also, to improve the accuracy of my sights taken with a plastic sextant, I integrated a method of averaging where each point’s intercept is calculated with the same slope than that of the reference heights of the celestial body (which you find from the tables or from another program in the same calculator). A generic Python 3 program for computers is also given.
(more…)Monday, March 27, 2023
How To – JupyterLab and Scrivener
Posted by M.P. under jupyter, scrivener | Tags: markup, synchronization |Leave a Comment
If you are interested in synchronizing documents between these two quite different platforms, I have written a short paper about how I did it, see below.
(more…)Sunday, March 26, 2023
Python packages do not install on Windows, directory path too long
Posted by M.P. under annoyances, python, windows | Tags: enable, long, path |Leave a Comment
With paths created by Windows Store, say for Python 3 (yes, I installed it from there), one gets loooong directory paths for the packages installed by pip based on the installed base package location.
In Windows 10 and 11 there is a long path support but it is not enabled by default. Here is an explanation of MS, also how to enable it :
The registry key Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled (Type: REG_DWORD) must exist and be set to 1.
Saturday, March 11, 2023
Ubuntu 22.04LTS box as a hotspot – for Ethernet…
Posted by M.P. under annoyances, linux | Tags: 22.04LTS, ethernet, hotspot, ubuntu, wifi, wlan |Leave a Comment
Oh dear, my beloved corporate laptop lost its WiFi configuration and since I do not have admin rights on it – and I would not touch its configuration with a long stick even if I would, there was not much I can do when back home where only a WiFi router is available.
But since my evil boss (just kidding, she is actually nice, for a boss…) needs a report this evening, I had to invent quickly something: hey, this thingy has an Ethernet port and so does my Ubuntu 22.04LTS box with its 10+ years old hardware (you will find all LTS versions on it elsewhere in this notebook!).
(more…)Saturday, March 11, 2023
Sony Xperia III fingerprint reader – some help
Posted by M.P. under annoyances, hardware, jolla, mobile, sailfish, sfos, sfos | Tags: 10iii, finger, led, mcetool, sensor |Leave a Comment
The below is only applicable if one has a Sailfish OS X on it, from Jolla. Get yourself one.
The fingerprint reader can get on your nerves, for sure. And even more if you have a protective cover or such.
I have found that the best way is to understand does the phone actually sees my finger on the sensor at all.
(more…)Saturday, February 18, 2023
SAS Planet Placemarks with local images and GE
Posted by M.P. under gis, photography, windows | Tags: googleearth, sasplanet |Leave a Comment
GIS application SAS Planet(a)‘s POIs (point of interest) containing <img> tags pointing to a local file system using absolute paths exported in a KMZ (Keyhole Markup Language compressed) so that it can be opened with Google Earth Pro Desktop on the same computer and display the POI with the same images, from the same source folder but using a relative path required by the Google application.
Saturday, February 11, 2023
VPN on SailfishOS – IPv6-only ISP
Posted by M.P. under jolla, linux, mobile, sfos | Tags: ipv4, ipv6, vpn |Leave a Comment
Preamble
This is a very narrow-minded study, or rather a personal note what one can expect in the world where the IPv6 is gaining place – slowly but surely. All type of annoyances follows from that because all of the stakeholders and service provider are not walking the same pace. I was wondering is there anything I can do against my Linux-running (not Android) phone is leaking its IPv6 address despite the two well known Virtual Private Network (VPN)-providers I am using.
Spoiler: yes, in my particular configuration there are some options, but if you do not have exactly the below configuration it is likely not reproducible. It is better that you write to your VPN-providers, like I did and require IPv4/IPv6 -enabled servers for your money.
Configuration:
- Phone: Sony Xperia 10 III ;
- OS: SailfishOS 4.5.0.16 (Struven ketju) (Jolla Oy) ;
- Device adaptation: 1.0.1.12
- VPNs: ProtonVPN and NordVPN
Saturday, December 31, 2022
SailfishOS from Jolla has been rolling out – since some times already – Sailjailing, which is a welcome feature. Unfortunately, the applications are not following, making many of them quite unusable since they can access, basically only $HOME/Document by default. Taking the example of the excellent File Browser, how to make it back to something usable is to un-Sailjail it. Of course, you need to understand that this means that you give access to all files in the file system to it. But this is what you want, right? How else it could work for you? But if you are interested in browsing only the files allowed for it, fine. This is how you can un-Sailjail it – and any other application – by creating the below file with the this content (you need to become devel-su, of course):
[root@Xperia10III applications]# pwd; cat harbour-file-browser.desktop
/etc/sailjail/applications
[X-Sailjail]
Sandboxing=Disabled

You must be logged in to post a comment.