Monday, January 22, 2024

Revamp Unboxing SAP Community 2024

The SAP Community site revamp of 2024 is ongoing and promises to be unveiled Tuesday so here are my predictions on Monday.

At the moment blog reads increment on reload questions do not. Implying more work on the latter.  We'll lose all previous read page counts and start from 0. Links to other community members will be about as correct as a week ago.

Questions may be stricken from the record. I bookmarked 2 to see if they make the cut. Criteria were established in the plan where irrelevant topics get purged, and as the TOC reads, SAP at their sole discretion may delete any content. No takebacks.

Broken links and missing images are likely. Like other platform changes, fix or tape over. I know I missed the chance to tag my hundreds of posts, always expecting some algorithm to do it for me.

Blogs that were planned for demolition has a stay of execution so no one should vanish. The "just JSON plan" faltered in the light of day. I had already planned my own recovery process.

When we thought some posts would vanish, I ran a mini project to archive.org my own posts.





Some had been snapped before, some not. Questions might be archived but I didn't look hard except for a couple test samples and a review of the answer thon.




Bio pages were to be revamped, but before the read-only phase started were skeletal or minimal.

Messages and inboxes are a mess, as are contacts given prior art. Remains to be seen how much previous net connections need to be renewed.

What to expect?

Community members will begin to engage in the new space, or decide to skip town. Leader boards and gamiification only go so far.

Search engine optimization will be improved. After the "deadwood" gets flushed from the search caches, which takes time.

Blogs posts will be slower than before given potential permission changes, and the tool belt shuffle going from Word Press to Not Word Press. I am particularly interested in the finer points of code and text snippet displays once I saw a bit of the HTML differences.






Friday, December 29, 2023

Bengies Top 10 for 2023, Barely

O, 2023, what happened?

Besides getting older and slower, the Bengies drive-in movie theatre had bad weather (fog, in December?) and a slew of R-rated flicks we skipped and a few kiddie flicks also given the slip. Still, the Scout Camp-In continues despite the usual suspect challenges (high staff turnover, slow tech progress).

Here are my annual "10 Best Movies I Watched At The Bengies" where "watched" is at least part of the film, if not the whole thing. 



Yes, let's start at 

Number One,

a Ten in Ten of Ten, including the crowd on a weeknight. For fun, we printed our pre-paid ticket order on pink paper. Plenty of folks dressed up, and the happy crowd made for more fun. The snickering jokes about Ken 


Hocus Pocus, in the rain, a second time on the big screen, is Number Two.





Number Three

Guardians 3

https://chaos.social/@jspath55/110392830400706164

The sequel to the sequel, which seemed almost like the same plot, with ennui for the raccoon that doesn't know it is a raccoon. Self -denial runs deep.

Four, and Counting

Indiana Jones & the Dial of Destiny

Phoned in...



Whatever "The Boogeyman" was. we skipped it. PG-13 or no.

And 5 Through 10

The Flash and the Spider Verse

https://chaos.social/@jspath55/110589657062948842

First time I recall a double feature with DC and Marvel! The Flash didn't bring back sixth-grade memories of science lab as I expected. (5,6)

Wonderful Life / Elf

Of these two, let's say I split the difference arriving late and leaving early. Elf was not as much of a wince as I recalled, though minimal dosing helped. And because I had other plans, did not stay through It's A Wonderful Life once the alternate reality began. Seemed a bit like now, sadly. (7,8)




Rebel Without A Cause / Forbidden Planet
https://chaos.social/@jspath55/110498676821941834

To round out the 10, two movies from the 1950s, around the time the Bengies opened, shown on their Drive-In Anniversary special--"FORBIDDEN PLANET" stars Walter Pidgeon, Anne Francis, Leslie Nielsen AND Robby the Robot.

The Under 11

TMN Turtles, unshelled. All right, the Scouts liked it I guess.

Last, and Twelfth, like Iscariot:

Gran Turismo. I definitely asked for Barbie to play, but instead of a somewhat socially conscious show, we got another salute to burning petroleum and continuing our carbon dioxide emissions.


2022 (last year's write up, and links to past Top Tens)

jspath55.blogspot.com/2022/12/bengies-top-10-2022.html


Saturday, December 23, 2023

NetBSD 10 RC1 Review

 








Upgrades from earlier 10.0 beta images went easily except for the Raspberry Pi systems with the kernel in a different place. 


 WIFI


  • amd – external
  • i386 - none
  • pi4 – no wifi, hard-wire ok
  • pi3 – no wifi; hard-wire ok
  • pi02w – wifi yes; hard-wire added
  • pi0w – wifi yes



 Automated Test Framework

I kicked off periodic user test suite cases, noting the minimum and maximum errors per platform. The Pi4 worked best, and the 0W the worst as I never completed a full run, trying various scratch write media to avoid stall-outs on basic shell command runs.

 When the platform would allow full tests runs more than one a day I set up cron jobs; the fastest tested had 60 or so when I stopped the cron.

    3 failed test cases.

    4 failed test cases.

    3 failed test cases.

    3 failed test cases.

    6 failed test cases.

    4 failed test cases.

    4 failed test cases.

    3 failed test cases.



  • amd – (2/7)
  • i386 - (0/3)
  • pi4 – (1/4)
  • pi3 – none yet
  • pi02w – November 26 last run (16 / 20)
  • pi0w – 30 (one good run)



The variation in failures from phase to phase I've called Heisenbergars, elsewhere.

X11

I had 2 minor regressive behaviors after RC1 tests compared to earlier betas, where the AMD machine had flaky screen text. I need to recheck the cables since it went onto a floor mount instead of desk level. The other slowness was on a new Pi4 install, where I struggled through getting the latest UEFI version on an SD card, and ending up with a working install, and 8GB (don't forget to set that last in the UEFI menus). Comparing the CPU temperature to other Pi 4s, it may work better with a running fan. More tests later; the last straw was launching QGIS (except with a Postgre 14 client for package sanity).

WIFI

I guess the fix for using wifi, at least on the Pi 4, is external dongles. The Pi3 worked for me at one point, but the dmesg tempts with "almost, almost":

[     3.368964] bwfm0: Found Firmware file: brcmfmac43455-sdio.bin

[     3.388965] bwfm0: NVRAM file default:    brcmfmac43455-sdio.txt

[     3.388965] bwfm0: NVRAM file model-spec: brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt

[     3.388965] bwfm0: Found NVRAM file: brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt

[     3.388965] bwfm0: CLM file default:    brcmfmac43455-sdio.clm_blob

[     3.388965] bwfm0: CLM file model-spec: brcmfmac43455-sdio.raspberrypi,3-model-b-plus.clm_blob

[     4.999119] bwfm0: CHIPACTIVE

[     5.099132] bwfm0: address ..:..:..:..:..

[     5.099132] bwfm0: wl0: Mar  1 2015 07:29:38 version 7.45.18 (r538002) FWID 01-6a2c8ad4


The ifconfig shows recognition of the wifi circuit but wpa supplicant stumbles.

bwfm0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500

pi4:

Also, almost

[     2.447895] bwfm0: NVRAM file default:    brcmfmac43455-sdio.txt

[     2.447895] bwfm0: NVRAM file model-spec: brcmfmac43455-sdio.Raspberry Pi 4 Model B.txt

[     2.447895] bwfm0: autoconfiguration error: NVRAM file not available

[     2.447895] bwfm0: CLM file default:    brcmfmac43455-sdio.clm_blob

[     2.447895] bwfm0: CLM file model-spec: brcmfmac43455-sdio.Raspberry Pi 4 Model B.clm_blob



Monday, December 4, 2023

Avenza on the Trail

I got to use the Avenza-hosted Reservation map for the first time onsite in early December 2023 while winter camping with a Scout troop. They needed basic map and compass tutoring, and adding the digital version in sequence reinforces the concepts.

This story is generally chronological for my one-day observations, by site.

Conowingo / Pine Grove

I camped in the field near the "X" shown on this screenshot.  I did a polygon line drawing around the cabin, trying to figure out about the projected skewness. This is my own geoPDF, with a scale of 1:250 and has 150 dpi.

The screenshot was from Friday evening, where I had 95% battery to start.




Flagpole and former memorial sign.

A control point of sorts; someone knows which sign was here, presumably now at RHQ.



Flint Ridge

Latrine surveying. I walked around the pad, taking measurements and images with camera and the Avenza app. In the morning, the power level was at 86% and here shows 81%



Chimney was photographed and geo-tagged. I was definitely *not* inside. Not 9AM yet and 77% power level.





The Dam and the Yellow Trail



Turning on tracking and measuring a few hundred feet left battery at 72%.



I did a track with Avenza, then viewed it later with Google Earth. Interesting.


Frontier

This site has only an official entrance across a bridged stream.





The blue line is a "get there from here" option. Straight line, probably helpful but not guaranteed a safe route! I was not on the bridge here.


Red trail 

Camp entrance








I only posted two screen shots above, from between 10 am and 1PM; the battery level dropped from 70 to under 60%. When I returned to my tent I plugged in an external battery, and by 5PM the phone was back to 100%.

Et cetera

I experimented with a 1:8000 scale, 600 dpi geoPDF with both the official camp map and the unofficial OSM layer.

.



I needed to allow "all the time" location access to Avenza to have the "show a route" function work. Other operations usually work with allowing access "just the once," though often Avenza will claim "not on map" and I needed to stop/start the app. Maybe a bug.

The blue dot can dance around, showing where the app thinks you are, and shows a shrinking diameter as more satellite signals are locked in. My testing was partly the squiggles of the original transformed map image, the delay and aberrations of the Android device (iPhone testers needed too), and the time needed to get a "good enough" spot for a place on the earth.


Tuesday, October 17, 2023

Saga of QGIS Tutorial--NetBSD stumble at the finish line

Previously*, I wrangled QGis version 3.28 or better on Raspberry Pi's trying to complete pertinent tutorial lessons and hitting local software application limits. I had success with OpenSUSE and FreeBSD (on x86 hardware). My next focus was NetBSD on a Pi4 (with the full 8GB), after upgrading the package system (in fits and starts) to the Q3 2023 release. 

https://jspath55.blogspot.com/2023/09/tiling-for-geo-map-referencing-in-qgis.html

https://jspath55.blogspot.com/2023/10/qgis-tutorial-torture-track.html

Just because it says BETA doesn't mean this is a flaky OS. The tiny box just takes everything I can throw at it; my main challenge is getting all the pieces talking nice (and doing a valid GEO PDF at the end).

$ uname -a
NetBSD nb 10.0_BETA NetBSD 10.0_BETA (GENERIC64) #0: Sat Sep  9 15:02:43 UTC 2023  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm

[     1.000000] NetBSD 10.0_BETA (GENERIC64) #0: Sat Sep  9 15:02:43 UTC 2023
[     1.000000]         mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64
[     1.000000] total memory = 8024 MB
[     1.000000] avail memory = 7735 MB

[     1.000000] simplebus0 at armfdt0: Raspberry Pi Foundation Raspberry Pi 4 Model B

[     2.425653] bwfm0: Firmware file model-spec: brcmfmac43455-sdio.Raspberry Pi 4 Model B.bin

The PkgSrc has a current enough version (between Rasbian and Windows), and all the ducks included.

$ ldd /usr/pkg/bin/qgis
/usr/pkg/bin/qgis:
        -lqgis_app.3.28.7 => /usr/pkg/lib/libqgis_app.so.3.28.7
        -lqwt.6 => /usr/pkg/qwt-6.1.5/lib/libqwt.so.6
        -lexecinfo.0 => /usr/lib/libexecinfo.so.0
        -lelf.2 => /usr/lib/libelf.so.2
        -lc.12 => /usr/lib/libc.so.12
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
        -lQt5PrintSupport.5 => /usr/pkg/qt5/lib/libQt5PrintSupport.so.5
        -lQt5Widgets.5 => /usr/pkg/qt5/lib/libQt5Widgets.so.5
        -lQt5Gui.5 => /usr/pkg/qt5/lib/libQt5Gui.so.5
        -lQt5Core.5 => /usr/pkg/qt5/lib/libQt5Core.so.5
        -lz.1 => /usr/lib/libz.so.1
        -ldouble-conversion.3 => /usr/pkg/lib/libdouble-conversion.so.3
        -lstdc++.9 => /usr/lib/libstdc++.so.9


Summing up:

$ qgis --version

QGIS 3.28.7-Firenze 'Firenze' (exported)

Steps for tutorial section 14 (part: "14.3.6. basic Follow Along: Joining the Forest Stand Data")

1. Clicking on the table on the right side lights up the areas on the left. Huzzah. Tiny sliver of badly-drawn border there as I could not (did not) locate the "fix overlaps" routine). Next lesson.

QGIS Attributes table - Pi 4 NetBSD 10

The attributes link is a huge step in correlating pictures to numbers, as it were.

2. Filter on the far left (funnel icon) where I selected by a routine just 2 subsets. Heads above manually clicking to select, and saved for future changes.

QGIS Filter - Pi4 NetBSD 10


3. A tree view of attributes rather than a grid view, 


QGIS attributes / Tutorial document

Zoom

The lessons worked, as far as an academic follow-the-book exercise went. I knew the parts I skipped or didn't complete, learning enough to see applicability to a few real-world projects.

The export to a georeferenced PDF is almost there but the NetBSD packages I installed omitted a GDAL subset.

GDAL PDF driver was not built with PDF read support. A build with PDF read support is required for GeoPDF creation.

Back to the package manual. And the mailing support lists with a reasonable question.

Next lesson: Elevations with topographic or other sources, or a dive into database storage/retrieval.



Monday, October 9, 2023

QGIS tutorial torture track

 I tried to follow the QGIS Forestry tutorial (link below) on a couple Raspberry Pi's (would have liked to use only one but meh). I got up to vector-to-polygon and then stalled on the first day hands-on. In 2 weeks there's a QGIS conference in town I'm attending; consider this my study hall.

Previously: jspath55.blogspot.com/2023/09/tiling-for-geo-map-referencing-in-qgis.html

Wherein I list the QGIS versions within reach. Odd to have this many flavors, so let's do the taste test, starting with the Pi with the newest version, running on OpenSUSE. 


The OS is missing something in the Perl layer which results in error messages and missing menus. Until I can track them down or they reappear with an unrelated app upgrade.

Tutorial link:

The learning here is use the filter (search) field to enter the coordinate reference system (the other CRS, not the can't remember stuff one) with numbers. I missed one of the transformations as the version I used had slightly different field text.

Geo-referencing was easy until I misread something, throwing off the mark. Easily seen by the result, and I skipped to the next lesson by keying in the exact values instead of trying the visual drop the claw-grab protocol.




Very nice to have the answers in the margins, so to speak.
The skewed first version:



Maxwell Smart voice: "missed it by that much."

Gnu Imp

Sigh. Crashed on tutorial section trying to select by color.

Bang, Zoom, to the Moon, or as my Brit friends might say, "Cloud-cuckoo-land."


12:33:55



12:34:01

Fortunately, only the user session/window manager died, not the whole OS as it might look.

Switched over to another PI running Rasbian (but QGIS 3.10) that had Gnu Imp which worked, to a fault.

Gnu Imp - Lower Left of Map



More results in the green goo.



Not the ideal output the tutorial has, but the steps are workable. Later attempts to move to polygonal spaces failed as the Raspbian was missing parts, or I cannot find them yet, and the OpenSUSE needs the python hooks re-hooked to shape up the shape files.

SQL FUN

Something was in the wrong mode.


ERROR 1: sqlite3_exec(DROP TRIGGER rtree_states_provinces_geom_update3) failed: attempt to write a readonly database

ERROR 1: sqlite3_exec(CREATE TRIGGER "rtree_disputed_borders_geom_update3" AFTER UPDATE ON "disputed_borders" WHEN OLD."fid" != NEW."fid" AND (NEW."geom" NOTNULL AND NOT ST_IsEmpty(NEW."geom")) BEGIN DELETE FROM "rtree_disputed_borders_geom" WHERE id = OLD."fid"; INSERT OR REPLACE INTO "rtree_disputed_borders_geom" VALUES (NEW."fid",ST_MinX(NEW."geom"), ST_MaxX(NEW."geom"),ST_MinY(NEW."geom"), ST_MaxY(NEW."geom")); END) failed: trigger "rtree_disputed_borders_geom_update3" already exists


FILE TIFFing


tutorial-pi400/rautjarvi_green_georef.tif: TIFF image data, little-endian, direntries=29, height=4561, bps=362, compression=none, PhotometricIntepretation=RGB, name=U:\Dropbox\GISMOOD_KESKUS_prj2014\0-13004-002-Simosol-online_gis_materials\1-mets\303\244materiaalit\0-mets\303\244materiaalit\ex1-map digi, description=Groovy Green Goo, orientation=upper-left, width=2014



C.R.S.


"Multiple operations are possible for converting coordinates between these two Coordinate Reference Systems. Please select the appropriate conversion operation, given the desired area of use, origins of your data, and any other constraints which may alter the "fit for purpose" for particular transformation operations."


"An alternative, ballpark-only transform was used when transforming coordinates between EPSG:2392 - KKJ / Finland zone 2 and EPSG:3067 - ETRS89 / TM35FIN(E,N). The results may not match those obtained by using the preferred operation:
Possibly an incorrect choice of operation was made for transformations between these reference systems. Check the Project Properties and ensure that the selected transform operations are applicable over the whole extent of the current project."




Friday, September 29, 2023

Tiling for Geo Map Referencing in QGIS

 

Q GIS


JPEG to TIFF to PDF

 QGIS on X11

I needed to convert a JPEG image into a georeferenced PDF, which I was able to do, finding things to fix later along the path.

The issue with starting at the top is the image is too big to share cleanly, so breaking the problem into parts led to tiles showing a fraction of the big picture.

Source of data I used to feed into QGIS were a history file of geo-tagged Panoramio images (such as this one of Oest Chapel; just kidding it's the Marble Hill campsite latrine).



QGIS versions

Turns out the Raspberry Pi 4 (aka 400) factory warranty operating system has an older QGIS release than other systems I tried to use. Windows had 3.32.2-Lima, OpenSUSE had QGIS 3.32.0-Lima, and a couple *BSD were at  qgis-3.28.11 or so. Raspbian had QGIS 3.10.14-A Coruña.

Thus, I worked on OpenSUSE and Windows. Would have like to do more on FreeBSD as that box has the best processors in the house. On the downside, OpenSUSE didn't have Viking, and I couldn't build the venerable XPaint (was able to use screengrab for the docs here in the house).

The "Georeferencer" button is either there or it isn't. I've looked on the older versions and despite the copious documentation pages the function escapes me.



One note I read said you could get away with only 3 control points; the program insisted on at least 4 per run. I used 10 in an earlier projection reference which was tedious but not too complex.

The icons are a little fuzzy to me and I tend to use the pull-down menus. Maybe after doing a few dozen I'll get the shortcuts down.




Georeference and the GCP table



The above image shows a map (loaded from a JPEG file) with 4 control points in the table at the bottom. I've circled those points on the image as there are no text labels in this view.

For this example, I chose the northeast (more or less) corners of a couple buildings - the main warehouse, and Prospect cabin, and the corner of the pool, and about where the water tower is. Even though the spots seem pretty close, there is definite warpage of the trails on different map levels.

After running the referencer code a TIFF image file is produced that contains the geotagging needed to correct use.

Broad_Creek 2023_225dpi-01-OEST-CHAPEL_modified.tif:     
TIFF image data, little-endian, direntries=16, height=477, bps=206, compression=none, PhotometricInterpretation=RGB, width=615

Broad_Creek_2023_225dpi-01-SAFFRAN-QM-TILE_modified.tif: 
TIFF image data, little-endian, direntries=16, height=506, bps=206, compression=none, PhotometricInterpretation=RGB, width=508

The PDF production


I have not set the geo-PDF as a default so must check both of these boxes to get a PDF.




Then it just works.
Loading in Avenza is the best test, even better to run it within the map borders to get the location shown.