#sysops

canoodle@nerdpol.ch

Telekom - Internet & Telefonie Anschluss aka SpeedLink 5501 Zyxel "plötzlich" defekt - service schlecht & inkompetenz

  • Pro:
    • schneller Techniker vor Ort wenn man Business Kunde ist
  • Con:
    • katastrophaler kompetenz & service
      • egal ob am Telefon oder vor Ort
        • beim ersten Anruf bei der Nicht-Business Hotline, tatsächlich schnell jemand erreicht mit dem Hinweis: Er sei der falsche, da nur für Privat-Kunden, hat dann doch wenigstens bestätigen können, dass der Anschluss noch nicht gekündigt wurde (wird bald erfolgen X-D)
        • die Business-Hotline wollte mich direkt einen Web-Chat (Bot) delegieren - beim zweiten Anruf mit Eingabe der Rufnummer hies es nur noch: sagt der AB-Bot: Sprechen Sie mit ihrem Berater (aber wer ist unser berater? X-D)
    • c.a. 2015 wurde uns von der Telekom ein SpeedLink 5501 aka ZYXEL irgendwas verbaut
      • dieses Gerät macht KEINE Automatischen Firmware Updates wie eine Fritzbox und weisst deswegen vermutlich über die Jahre GRAVIERENDE Sicherheitsprobleme auf
    • seit 2 Tagen möchte sich der ZYXEL nicht mehr mit dem VDSL 100000 der Telekom verbinden, einfach so?
      • (kann gut sein, dass ALLE SpeedLink 5501 Zyxel von aussen das Gerät “defektiert” / gehackt wurde, )
    • Technische INKOMPETENZ:
      • entgegen der Aussage sowohl der Hotline als auch des Vor-Ort-Techniker funktioniert die Fritzbox 6890 LTE SEHR WOHL am Telekom VDSL Anschluss
        • auf Werkseinstellungen, Fritzbox funktioniert am VDSL Anschluss der Telekom (#wtf!?)
      • entgegen der Aussage beider Telekom-Techniker zieht sich die Fritzbox LEIDER nicht die VDSL-Zugangsdaten automatisch
        • hab dann doch noch irgendwo die Zugangsdaten gefunden…
        • Internet geht jetzt wieder
        • Telefonie funktioniert leider immer noch nicht… wen soll ich anrufen? X-D
      • Telekom arbeitet mit immer mal wieder wechselnden Hardware Herstellern zusammen, aber nicht mit AVM (FritzBox)
        • egal wie schlecht die Qualität dieser Hardware ist
    • dem Aktien Kurs getriebenen Konzern Telekom sind die Kunden, die seit JAHRZEHNTEN schlecht anbunden sind, einfach egal
      • ganz ehrlich: Ist das Kunst oder kann das weg?
        • sind jetzt privat bei Starlink und bisher sehr zufrieden - die Telekom konnte uns nicht mal die volle Bandbreite von VDSL 1000 liefern (seit JAHRZEHNTEN)

#linux #gnu #gnulinux #opensource #administration #sysops #telekom #katastrophe #avm #fritz

Originally posted at: https://dwaves.de/2022/07/20/telekom-internet-telefonie-anschluss-aka-speedlink-5501-zyxel-plotzlich-defekt-service-schlecht-inkompetenz/

canoodle@nerdpol.ch
canoodle@nerdpol.ch

GNU Linux Debian 11 - How to setup Brother QL 600 LabelPrinter

it’s a two part process:

1. install the drivers

(thanks all involved great work 🙂

<span style="color: #00ffff;">su - root
apt update
apt install printer-driver-ptouch
</span>

2. install the printer via cups web browser interface

http://localhost:631/

or:

https://localhost:631/

-> Administration -> Add Printer

select the driver for QL-650TD

click on “Add Printer”

stick with the default options.

3. (optional but recommended) get some templates for LibreOffice:

https://download.brother.com/welcome/dlfp100385/officetemplate.tar.gz

4. HAPPY LABELING 🙂

(print some nice sentences… and make ’em stick… e.g. to a traffic light post… )

for example:

it can do pictures fairly fast…

“fascinating” isn’t it?

#linux #gnu #gnulinux #opensource #administration #sysops #debian #print #label #labels #printing #cups #brother

Originally posted at: https://dwaves.de/2022/07/13/gnu-linux-debian-11-how-to-setup-brother-ql-600-labelprinter/

canoodle@nerdpol.ch

GNU Linux Debian 11 - How to setup Brother QL 600 LabelPrinter

it’s a two part process:

1. install the drivers

(thanks all involved great work 🙂

<span style="color: #00ffff;">su - root
apt update
apt install printer-driver-ptouch
</span>

2. install the printer via cups web browser interface

http://localhost:631/

or:

https://localhost:631/

-> Administration -> Add Printer

select the driver for QL-650TD

click on “Add Printer”

stick with the default options.

3. (optional but recommended) get some templates for LibreOffice:

https://download.brother.com/welcome/dlfp100385/officetemplate.tar.gz

4. HAPPY LABELING 🙂

#linux #gnu #gnulinux #opensource #administration #sysops #debian #print #label #labels #printing #cups #brother

Originally posted at: https://dwaves.de/2022/07/13/gnu-linux-debian-11-how-to-setup-brother-ql-600-labelprinter/

canoodle@nerdpol.ch

First Pictures taken by James Webb telescope arrive on Earth

finally… all that wait is over… here come the first images of the $10 Billion telescope of almost 17 years of build time… (first design 1999, redesigned in 2005)

planned / expected mission time 10 / 20 years

GIMP color enhanced and sharpened version of https://webbtelescope.org/contents/media/images/2022/038/01G7JGTH21B5GN9VCYAHBXKSD1

https://www.nasa.gov/image-feature/goddard/2022/nasa-s-webb-reveals-cosmic-cliffs-glittering-landscape-of-star-birth

Carina Nebula: GIMP color enhanced version of https://www.nasa.gov/image-feature/goddard/2022/nasa-s-webb-reveals-cosmic-cliffs-glittering-landscape-of-star-birth

Hubble vs JWST - Carina Nebula https://www.youtube.com/watch?v=ridiA7-i_XU

Hubble vs JWST – Carina Nebula https://www.youtube.com/watch?v=ridiA7-i_XU

JWST combined the capabilities of the telescope’s two cameras to create a never-before-seen view of a star-forming region in the Carina Nebula. Captured in infrared light by the Near-Infrared Camera (NIRCam) and Mid-Infrared Instrument (MIRI), this combined image reveals previously invisible areas of star birth.<br /> What looks much like craggy mountains on a moonlit evening is actually the edge of a nearby, young, star-forming region known as NGC 3324. Called the Cosmic Cliffs, this rim of a gigantic, gaseous cavity is roughly 7,600 light-years away. https://webbtelescope.org/contents/media/images/2022/031/01G781KB7TTZM1YTP855D46C1S

JWST combined the capabilities of the telescope’s two cameras to create a never-before-seen view of a star-forming region in the Carina Nebula. Captured in infrared light by the Near-Infrared Camera (NIRCam) and Mid-Infrared Instrument (MIRI), this combined image reveals previously invisible areas of star birth.

What looks much like craggy mountains on a moonlit evening is actually the edge of a nearby, young, star-forming region known as NGC 3324. Called the Cosmic Cliffs, this rim of a gigantic, gaseous cavity is roughly 7,600 light-years away. https://webbtelescope.org/contents/media/images/2022/031/01G781KB7TTZM1YTP855D46C1S

original here: https://webbtelescope.org/contents/media/images/2022/034/01G7DA5ADA2WDSK1JJPQ0PTG4A, full res jpg (27MBytes) here https://dwaves.de/images/JamesWebbTelescope/2022-07-JamesWebb_Telescope_STScI-01G7DAXJYYTYXCFSB8VQRK5X2F.gimp-color-enhanced.jpg

original here: https://webbtelescope.org/contents/media/images/2022/034/01G7DA5ADA2WDSK1JJPQ0PTG4A, (150MB TIFF), full res jpg (27MBytes) here https://dwaves.de/images/JamesWebbTelescope/2022-07-JamesWebb_Telescope_STScI-01G7DAXJYYTYXCFSB8VQRK5X2F.gimp-color-enhanced.jpg

The bright star at the center of NGC 3132, while prominent when viewed by NASA’s Webb Telescope in near-infrared light, plays a supporting role in sculpting the surrounding nebula. A second star, barely visible at lower left along one of the bright star’s diffraction spikes, is the nebula’s source. It has ejected at least eight layers of gas and dust over thousands of years. https://webbtelescope.org/contents/media/images/2022/033/01G70BGTSYBHS69T7K3N3ASSEB

https://webbtelescope.org/contents/media/images/2022/034/01G7DBCJA1M1SSGKDMH7F5XMBE

more pictures here: https://webbtelescope.org/news/first-images/gallery (<- for whatever reason also Hubble photos are in this gallery? (a bit confusing isn’t it?))

“James Webb Space Telescope hit by micrometeoroid”

Several thousand scientists, engineers, and technicians spanning 15 countries have contributed to the build, test and integration of the JWST.[142] (src: Wiki)

“fly save!”

#linux #gnu #gnulinux #opensource #administration #sysops #space #cosmos #telescope #star #stars #galaxy #universe

Originally posted at: https://dwaves.de/2022/07/12/first-pictures-taken-by-james-webb-telescope-arrive-on-earth/

canoodle@nerdpol.ch

First Pictures taken by James Webb telescope arrive on Earth

finally… all that wait is over… here come the first images of the $10 Billion telescope of almost 17 years of build time… (first design 1999, redesigned in 2005)

planned / expected mission time 10 / 20 years

GIMP color enhanced and sharpened version of https://webbtelescope.org/contents/media/images/2022/038/01G7JGTH21B5GN9VCYAHBXKSD1

https://www.nasa.gov/image-feature/goddard/2022/nasa-s-webb-reveals-cosmic-cliffs-glittering-landscape-of-star-birth

GIMP color enhanced version of https://www.nasa.gov/image-feature/goddard/2022/nasa-s-webb-reveals-cosmic-cliffs-glittering-landscape-of-star-birth

original here: https://webbtelescope.org/contents/media/images/2022/034/01G7DA5ADA2WDSK1JJPQ0PTG4A, full res jpg (27MBytes) here https://dwaves.de/images/JamesWebbTelescope/2022-07-JamesWebb_Telescope_STScI-01G7DAXJYYTYXCFSB8VQRK5X2F.gimp-color-enhanced.jpg

original here: https://webbtelescope.org/contents/media/images/2022/034/01G7DA5ADA2WDSK1JJPQ0PTG4A, (150MB TIFF), full res jpg (27MBytes) here https://dwaves.de/images/JamesWebbTelescope/2022-07-JamesWebb_Telescope_STScI-01G7DAXJYYTYXCFSB8VQRK5X2F.gimp-color-enhanced.jpg

The bright star at the center of NGC 3132, while prominent when viewed by NASA’s Webb Telescope in near-infrared light, plays a supporting role in sculpting the surrounding nebula. A second star, barely visible at lower left along one of the bright star’s diffraction spikes, is the nebula’s source. It has ejected at least eight layers of gas and dust over thousands of years. https://webbtelescope.org/contents/media/images/2022/033/01G70BGTSYBHS69T7K3N3ASSEB

https://webbtelescope.org/contents/media/images/2022/034/01G7DBCJA1M1SSGKDMH7F5XMBE

more pictures here: https://webbtelescope.org/news/first-images/gallery (<- for whatever reason also Hubble photos are in this gallery? (a bit confusing isn’t it?))

“James Webb Space Telescope hit by micrometeoroid”

Several thousand scientists, engineers, and technicians spanning 15 countries have contributed to the build, test and integration of the JWST.[142] (src: Wiki)

“fly save!”

#linux #gnu #gnulinux #opensource #administration #sysops #space #cosmos #telescope #star #stars #galaxy #universe

Originally posted at: https://dwaves.de/2022/07/12/first-pictures-taken-by-james-webb-telescope-arrive-on-earth/

canoodle@nerdpol.ch
canoodle@nerdpol.ch
canoodle@nerdpol.ch

GNU Linux bash - the ultimate (LTE) modem debugging one-liner

currently wrestling with a LTE modem, that used to work under Ubuntu, but refuses to work under Debian 11.

<span style="color: #00ffff;">while true; do echo "=== show modem status:"; mmcli -m 1|grep -e model -e primary -e state -e signal; echo -e "\n=== show routing table:"; route -n; echo -e "\n=== show arp table:"; arp -an; echo -e "\n=== ping a host 3x times:"; ip -c a; ping -c3 1.1.1.1; sleep 1; clear; done</span>


# info about the system
<span style="color: #00ffff;">lsb_release -d</span>
Description:    Debian GNU/Linux 11 (bullseye)

<span style="color: #00ffff;">uname -a</span>
Linux tuxedo 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30) x86_64 GNU/Linux

<span style="color: #00ffff;">lsusb</span>
Bus 003 Device 005: ID 12d1:15bb Huawei Technologies Co., Ltd. ME936 LTE/HSDPA+ 4G modem

# sample output

=== show modem status:
           |                model: ME936
           |         primary port: ttyUSB0
           |                state: connected
           |          power state: on
           |       signal quality: 22% (recent)

=== show routing table:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         37.80.230.59    0.0.0.0         UG    700    0        0 wwx022c80139263
37.0.0.0        0.0.0.0         255.0.0.0       U     700    0        0 wwx022c80139263
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wwx022c80139263

=== show arp table:
? (37.80.230.59) at  on wwx022c80139263

=== ping a host 3x times:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wwx022c80139263: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 02:2c:80:13:92:63 brd ff:ff:ff:ff:ff:ff
    inet 37.80.230.58/8 brd 37.255.255.255 scope global noprefixroute wwx022c80139263
       valid_lft forever preferred_lft forever
3: wlp52s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 36:20:ec:72:3f:66 brd ff:ff:ff:ff:ff:ff permaddr 70:9c:d1:62:10:9c
5: enxa0cec851d79b: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether a0:ce:c8:51:d7:9b brd ff:ff:ff:ff:ff:ff
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
From 37.80.230.58 icmp_seq=1 Destination Host Unreachable
From 37.80.230.58 icmp_seq=2 Destination Host Unreachable
From 37.80.230.58 icmp_seq=3 Destination Host Unreachable

--- 1.1.1.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2046ms

#linux #gnu #gnulinux #opensource #administration #sysops #lte #modem #debugging #debug #bash

Originally posted at: https://dwaves.de/2022/07/12/gnu-linux-bash-the-ultimate-lte-modem-debugging-one-liner/

canoodle@nerdpol.ch

web cms - wordpress still dominating - second comes no cms

https://w3techs.com/technologies/overview/content_management/

https://w3techs.com/technologies/overview/content_management/

What is interesting, that 33% of all website creators, decide to not use any CMS at all (static HTML/manually editing it).

there is even a trend of creating cms inside wordperss, “cms inside the cms” so to speak, with plugins such as Enfold, elementor.com and wpastra.com

#linux #gnu #gnulinux #opensource #administration #sysops #web #html #php #css #javascript #cms #wordpress #wix #joomla #drupal #typo3

Originally posted at: https://dwaves.de/2022/07/12/web-cms-wordpress-still-dominating-second-comes-no-cms/

canoodle@nerdpol.ch

Hardware Review - TUXEDO InfinityBook S 14 Gen6 is the same as System76 Lemur Pro Laptop Notebook and USB-C to LAN dongles benchmark

So Tuxedo sells System76 hardware or has some sort of cooperation to create "dedicated" GNU Linux hardware? pros: great looks good speeds (i7+16GB of RAM + NVMe (upgraded it to 1TB NVMe) outdoor capable screen battery runtime aprox 5h (heavily depending on[...]

#linux #gnu #gnulinux #opensource #administration #sysops #hardware #notebook #laptop #review #tuxedo #system76

Originally posted at: https://dwaves.de/2022/07/06/hardware-review-tuxedo-infinitybook-s-14-gen6-is-the-same-as-system76-lemur-pro-laptop-notebook-and-usb-c-to-lan-dongles-benchmark/

canoodle@nerdpol.ch

GNU Linux bash - notebook laptop test battery runtime script

how long (many hours) will this notebook-laptop battery last? some sensors/softwares report/calculate things like this... 5days on one charge is a very very optimistic estimate for most intel or amd based notebooks (even for RISC/ARM based notebooks-laptops that would be AWESOME, most[...]

#linux #gnu #gnulinux #opensource #administration #sysops #hardware #battery #test #script #bash #scripting #scripts

Originally posted at: https://dwaves.de/2022/07/08/gnu-linux-bash-notebook-laptop-test-battery-runtime-script/

canoodle@nerdpol.ch

Hardware Review - USB to NVMe adapter - Asus USB 3.2 Gen 2 Type-C M.2 NVMe SSD to USB Adapter also known as "Rog Strix Arion" vs Inateck M.2 NVMe 2 USB Adapter

the idea was:

  • the user has computers, that allow for easy harddisk or NVMe swaps
    • installation X is on NVMe1, installation Y is on NVMe2
  • or the user want’s to reinstall on a new harddisk, USB connecting the old harddisk, to restore files to the new harddisk

for this just as USB-SATA adapters an USB-NVMe adapter had to be found.

So gave the “Rog Strix Arion” by ASUS a shot.

  • the pros:
    • makes NVMe work like an USB Stick
      • it says “initialize your blank ssd before use” (the terms NVMe and SSD start to get confusing)
      • but it is also possible to read an already “initialized” (partition table, formatted) NVMe
        • but it might be not the ideal choice for that use, more USB-Stick-NVMe kind of use
    • fast
    • solid heavy metal casing that distributes heat (those NVMe chips can become pretty hot)
    • nice LED light show
  • cons:
    • open and closing it could be less of an effort

how to open this thing?

the user needs a pin.

hm…. and this won an Design Award in 2020?

Imho this makes things too complicated, as if there is no pin, there is no possibility to easily swap NVMes in and out of the NVMe-USB adapter.

benchmark performance:

USB 3.0 connected, it is fast. no doubt about it. ~430MBytes/sec kind of fast.

time <a href="https://dwaves.de/2020/11/13/gnu-linux-basic-harddisks-benchmarks-ssds-kingston-skc600512g-vs-samsung-ssd-850-pro-vs-samsung-ssd-860-evo-vs-samsung-ssd-870-evo-1tb-ntfs-vs-ext4-how-fast-are-virtual-harddisks/">/scripts/bench/bench_harddisk.sh</a>
=== harddisk sequential write and read bench v1 ===
starting test on the device that holds the current directory the user is in
no need to run it as root

========== writing 3GB of zeroes ==========
0+1 records in
0+1 records out
2147479552 bytes (2,1 GB, 2,0 GiB) copied, 5,87549 s, 365 MB/s

real    0m5,919s
user    0m0,000s
sys 0m1,927s
========== reading 6GB of zeroes ==========
0+1 records in
0+1 records out
2147479552 bytes (2,1 GB, 2,0 GiB) copied, 4,94441 s, 434 MB/s

real    0m4,993s
user    0m0,000s
sys 0m2,000s
========== tidy up remove testfile ==========

real    0m10,983s
user    0m0,001s
sys 0m3,997s

So Asus planned for the user to install an NVMe and then use it like a USB Stick (no user will ever change the FlashChips of an USB Stick?)

also closing the device seems to be pretty hard… as the mechanism does not want to snap (again, this actually WON an design award? “The looks are great, who cares if it works” kind of award?)

Ok it is possibly, that the case closes properly with other NMVes, but the KINGSTON SA2000M81000G (some parts of it might be “too high”?) X-D

Inateck M.2 NVMe 2 USB Adapter

so bought the “inateck” adapter for half the price of the ASUS Adapter.

binary comment

  • 10 Gbit/s
  • USB 3.2 Gen 2
  • Type C & Type A Cable included (nice!)
  • while changing NVMes is also not sooo comfortable (detaching/attaching cooling pad and metal plate, but simply with the bush of an button (orange square above) it can be opened)
    • at least this time the NVMe “fit’s in”
  • the speed is 2x twice as fast as the ASUS Adapter…

<span style="color: #00ffff;">
time /scripts/bench/bench_harddisk.sh</span> 
=== harddisk sequential write and read bench v1 ===
starting test on the device that holds the current directory the user is in
no need to run it as root

========== writing 3GB of zeroes ==========
0+1 records in
0+1 records out
2147479552 bytes (2,1 GB, 2,0 GiB) copied, 3,44557 s, 623 MB/s

real    0m3,493s
user    0m0,000s
sys 0m1,885s
========== reading 6GB of zeroes ==========
0+1 records in
0+1 records out
2147479552 bytes (2,1 GB, 2,0 GiB) copied, 2,0635 s, 1,0 GB/s

real    0m2,104s
user    0m0,000s
sys 0m0,787s
========== tidy up remove testfile ==========

real    0m5,676s
user    0m0,002s
sys 0m2,745s

# rerun
real    0m5,406s

#linux #gnu #gnulinux #opensource #administration #sysops #hardware #review #nvme #usb #asus #Inateck

Originally posted at: https://dwaves.de/2022/06/14/hardware-review-usb-to-nvme-adapter-asus-usb-3-2-gen-2-type-c-m-2-nvme-ssd-to-usb-adapter-also-known-as-rog-strix-arion-vs-inateck-m-2-nvme-2-usb-adapter/

canoodle@nerdpol.ch

Hardware Review - USB to NVMe adapter - Asus USB 3.2 Gen 2 Type-C M.2 NVMe SSD to USB Adapter also known as "Rog Strix Arion"

the idea was:

  • the user has computers, that allow for easy harddisk or NVMe swaps
    • installation X is on NVMe1, installation Y is on NVMe2
  • or the user want’s to reinstall on a new harddisk, USB connecting the old harddisk, to restore files to the new harddisk

for this just as USB-SATA adapters an USB-NVMe adapter had to be found.

So gave the “Rog Strix Arion” by ASUS a shot.

  • the pros:
    • makes NVMe work like an USB Stick
      • it says “initialize your blank ssd before use” (the terms NVMe and SSD start to get confusing)
      • but it is also possible to read an already “initialized” (partition table, formatted) NVMe
        • but it might be not the ideal choice for that use, more USB-Stick-NVMe kind of use
    • fast
    • solid heavy metal casing that distributes heat (those NVMe chips can become pretty hot)
    • nice LED light show
  • cons:
    • open and closing it could be less of an effort

how to open this thing?

the user needs a pin.

hm…. and this won an Design Award in 2020?

Imho this makes things too complicated, as if there is no pin, there is no possibility to easily swap NVMes in and out of the NVMe-USB adapter.

benchmark performance:

USB 3.0 connected, it is fast. no doubt about it. ~430MBytes/sec kind of fast.

time <a href="https://dwaves.de/2020/11/13/gnu-linux-basic-harddisks-benchmarks-ssds-kingston-skc600512g-vs-samsung-ssd-850-pro-vs-samsung-ssd-860-evo-vs-samsung-ssd-870-evo-1tb-ntfs-vs-ext4-how-fast-are-virtual-harddisks/">/scripts/bench/bench_harddisk.sh</a>
=== harddisk sequential write and read bench v1 ===
starting test on the device that holds the current directory the user is in
no need to run it as root

========== writing 3GB of zeroes ==========
0+1 records in
0+1 records out
2147479552 bytes (2,1 GB, 2,0 GiB) copied, 5,87549 s, 365 MB/s

real    0m5,919s
user    0m0,000s
sys 0m1,927s
========== reading 6GB of zeroes ==========
0+1 records in
0+1 records out
2147479552 bytes (2,1 GB, 2,0 GiB) copied, 4,94441 s, 434 MB/s

real    0m4,993s
user    0m0,000s
sys 0m2,000s
========== tidy up remove testfile ==========

real    0m10,983s
user    0m0,001s
sys 0m3,997s

So Asus planned for the user to install an NVMe and then use it like a USB Stick (no user will ever change the FlashChips of an USB Stick?)

also closing the device seems to be pretty hard… as the mechanism does not want to snap (again, this actually WON an design award? “The looks are great, who cares if it works” kind of award?)

#linux #gnu #gnulinux #opensource #administration #sysops #hardware #review #nvme #usb #asus

Originally posted at: https://dwaves.de/2022/07/04/hardware-review-usb-to-nvme-adapter-asus-usb-3-2-gen-2-type-c-m-2-nvme-ssd-to-usb-adapter-also-known-as-rog-strix-arion/

canoodle@nerdpol.ch

Rant: PHP & DokuWiki update upgrade problems - too much complexity: fixing one thing, while breaking another - why updates are hated

Nobody likes rants… just as Updates are (sometimes) hated, but (sometimes) necessary.

This is how (probably) the slogan: “never touch a running/working system” originated.

Once a system was fully tested (all used cases worked), an update came along a old functionality was not functioning anymore.

For security reasons: all machines/systems directly or indirectly exchanging messages with the wild west internet need to stay as up to date as possible.

the pros:

(+) First of DokuWiki is a nice software, it’s cool that it can do a lot of fancy stuff such as LDAP (?) if the user needs it.

(-) What is not cool, to have a lot of plugins installed per default, instead of starting with a bare minimum of software needed (software minimalism) and let the user add the software the user absolutely needs, because “too much software” pre-installed tend to make systems fail.

This time it happened in a “complex grown over years software” “tripple” upgrade situation:

  • php8 is out
  • DokuWiki “upgrade plugin” needs updating
  • DokuWiki itself needs updating

… things fell apart at the 1st step already, resulting in a still readable, but pretty ugly (missing CSS) version of what it was before.

culprit: with a stylesheed was not being properly generated:

url: http://localhost/projects/lib/exe/css.php?t=dokuwiki&tseed=djf83jhdfuz38odhfzho3z80ehilf

<br />
<b><span style="color: #ff9900;">Warning</span></b>: Undefined array key "speech" in <b>/path/to/dokuwiki/lib/exe/css.php</b> on line <b>83</b><br />
<br />
<b><span style="color: #ff0000;">Fatal error</span></b>: Array and string offset access syntax with curly braces is no longer supported in <b>/path/to/dokuwiki/vendor/marcusschwarz/lesserphp/lessc.inc.php</b> on line <b>761</b><br />

DokuWiki authors added the work of this author (https://www.maswaba.de/lesserphpdocs/) for whatever reason and { curly brackets } (now deprecated) were not updated in time to [ square brackets ].

As simple as that.

In the beginning: all the user wants is an easy editable file based wiki (it’s even there in the Dokuwiki slogan “it’s better when it is simple”)

Why exactly is this CSS compiler needed/active per default in the first place?

Has DokuWiki grown into unnecessary complex “bloatware” of over 5000 files?

<span style="color: #00ffff;">wget https://download.dokuwiki.org/out/dokuwiki-8186df5bcf8bba07ff8638254a75b094.tgz
tar fxvz dokuwiki-8186df5bcf8bba07ff8638254a75b094.tgz</span>
<span style="color: #00ffff;">find ./dokuwiki |wc -l</span>
<span style="color: #ff6600;">5579 files</span>

(much less than some PHP frameworks… but still a lot of files… with a lot of moving parts… all potential points of failure…)

violating UNIX K.I.S.S and leading to software failures

More complexity = more errors = less maintainability.

DokuWiki has gained functionalities of questionable qualities, such as the very faulty and thus pretty useless and annoying SPAM detection mechanism.

(every Wiki should be login & .htaccess protected, how to activate the DokuWiki (per default disabled) login screen, is the #1 most visited page of this blog X-D, already enough SPAM protection… so completely unnecessary to add such faulty functionality)

Even worse: @the-official-DokuWiki-forum, the forum software triggers admins (that are unable to read and blindly trust this faulty SPAM detection mechanism, that basically detects EVERY URL as spam) to block the user’s (maybe useful) contributions aka “overblocking”.

Be Brave New Web World.

Only solution: write your own tools that respect UNIX K.I.S.S principle and are therefore easy to fix and maintain and actually work, fast 🙂 (using minimal resources)

DokuWiki updates-upgrades: how it is supposed to look and work like:

how to fix this mess:

==== howto fix ====
<b>Warning</b>: Undefined array key "speech" in <b>/path/to/dokuwiki/lib/exe/css.php</b> on line <b>83</b>
(usually php-warnings are disabled, but if warnings are enabled, it will mess up the css's format)

=== in file: /lib/exe/css.php

== in line: 82 to 87

= change, from:
        // load user styles
        if(is_array($config_cascade['userstyle'][$mediatype])) {
            foreach($config_cascade['userstyle'][$mediatype] as $userstyle) {
                $files[$userstyle] = DOKU_BASE;
            }
        }
= change, to:
        // load user styles
        if(array_key_exists($mediatype, $config_cascade['userstyle']))
        {
            if(is_array($config_cascade['userstyle'][$mediatype])) {
                foreach($config_cascade['userstyle'][$mediatype] as $userstyle) {
                    $files[$userstyle] = DOKU_BASE;
                }
            }
        }

==== howto fix ====

<b>Fatal error</b>: Array and string offset access syntax with curly braces is no longer supported in <b>/path/to/dokuwiki/vendor/marcusschwarz/lesserphp/lessc.inc.php</b> on line <b>761</b>

=== in file:
/vendor/marcusschwarz/lesserphp/lessc.inc.php

== line: 761
= change, from:
   $subProp[1]{0} != $this->vPrefix)
= change, to:
   $subProp[1][0] != $this->vPrefix)

== line: 2762
= change, from:
   if (!is_string($tag) || $tag{0} != $this->lessc->mPrefix)
= change, to:
   if (!is_string($tag) || $tag[0] != $this->lessc->mPrefix)

== line: 2816
= change, from:
   if ($tag{0} == $this->lessc->vPrefix)
= change, to:
   if ($tag[0] == $this->lessc->vPrefix)

#linux #gnu #gnulinux #opensource #administration #sysops #dokuwiki #when #upgrades #fail #upgrade #complexity #unix #kiss

Originally posted at: https://dwaves.de/2022/06/30/rant-php-dokuwiki-update-upgrade-problems-too-much-complexity-fixing-one-thing-while-breaking-another-why-updates-are-hated/

canoodle@nerdpol.ch

PHP & DokuWiki update upgrade problems - too much complexity: fixing one thing, while breaking another - why updates are hated

Updates are hated, but sometimes necessary.

This is how (probably) the slogan: “never touch a running/working system” originated.

Once a system was fully tested (all used cases worked), an update came along a old functionality was not functioning anymore.

For security reasons: all machines/systems directly or indirectly exchanging messages with the wild west internet need to stay as up to date as possible.

the pros:

(+) First of DokuWiki is a nice software, it’s cool that it can do a lot of fancy stuff such as LDAP (?) if the user needs it.

(-) What is not cool, to have a lot of plugins installed per default, instead of starting with a bare minimum of software needed (software minimalism) and let the user add the software the user absolutely needs, because “too much software” pre-installed tend to make systems fail.

This time it happened in a “complex grown over years software” “tripple” upgrade situation:

  • php8 is out
  • DokuWiki “upgrade plugin” needs updating
  • DokuWiki itself needs updating

… things fell apart at the 1st step already, resulting in a still readable, but pretty ugly (missing CSS) version of what it was before.

culprit: with a stylesheed was not being properly generated:

url: http://localhost/projects/lib/exe/css.php?t=dokuwiki&tseed=djf83jhdfuz38odhfzho3z80ehilf

<br />
<b><span style="color: #ff9900;">Warning</span></b>: Undefined array key "speech" in <b>/path/to/dokuwiki/lib/exe/css.php</b> on line <b>83</b><br />
<br />
<b><span style="color: #ff0000;">Fatal error</span></b>: Array and string offset access syntax with curly braces is no longer supported in <b>/path/to/dokuwiki/vendor/marcusschwarz/lesserphp/lessc.inc.php</b> on line <b>761</b><br />

DokuWiki authors added the work of this author (https://www.maswaba.de/lesserphpdocs/) for whatever reason and { curly brackets } (now deprecated) were not updated in time to [ square brackets ].

As simple as that.

In the beginning: all the user wants is an easy editable file based wiki (it’s even there in the Dokuwiki slogan “it’s better when it is simple”)

Why exactly is this CSS compiler needed/active per default in the first place?

Has DokuWiki grown into unnecessary complex “bloatware” of over 5000 files?

<span style="color: #00ffff;">wget https://download.dokuwiki.org/out/dokuwiki-8186df5bcf8bba07ff8638254a75b094.tgz
tar fxvz dokuwiki-8186df5bcf8bba07ff8638254a75b094.tgz</span>
<span style="color: #00ffff;">find ./dokuwiki |wc -l</span>
<span style="color: #ff6600;">5579 files</span>

(much less than some PHP frameworks… but still a lot of files… with a lot of moving parts… all potential points of failure…)

violating UNIX K.I.S.S and leading to software failures

More complexity = more errors = less maintainability.

DokuWiki has gained functionalities of questionable qualities, such as the very faulty and thus SPAM detection mechanism.

(every Wiki should be login & .htaccess protected, how to activate the DokuWiki (per default disabled) login screen, is the #1 most visited page of this blog X-D, already enough SPAM protection… so completely unnecessary to add such faulty functionality)

Even worse: @the-official-DokuWiki-forum, the forum software triggers admins (that are unable to read and blindly trust this faulty SPAM detection mechanism, that basically detects EVERY URL as spam) to block the user’s (maybe useful) contributions aka “overblocking”.

Be Brave New Web World.

Only solution: write your own tools that respect UNIX K.I.S.S principle and are therefore easy to fix and maintain and actually work, fast 🙂 (using minimal resources)

how to fix this mess:

==== howto fix ====
<b>Warning</b>: Undefined array key "speech" in <b>/path/to/dokuwiki/lib/exe/css.php</b> on line <b>83</b>
(usually php-warnings are disabled, but if warnings are enabled, it will mess up the css's format)

=== in file: /lib/exe/css.php

== in line: 82 to 87

= change, from:
        // load user styles
        if(is_array($config_cascade['userstyle'][$mediatype])) {
            foreach($config_cascade['userstyle'][$mediatype] as $userstyle) {
                $files[$userstyle] = DOKU_BASE;
            }
        }
= change, to:
        // load user styles
        if(array_key_exists($mediatype, $config_cascade['userstyle']))
        {
            if(is_array($config_cascade['userstyle'][$mediatype])) {
                foreach($config_cascade['userstyle'][$mediatype] as $userstyle) {
                    $files[$userstyle] = DOKU_BASE;
                }
            }
        }

==== howto fix ====

<b>Fatal error</b>: Array and string offset access syntax with curly braces is no longer supported in <b>/path/to/dokuwiki/vendor/marcusschwarz/lesserphp/lessc.inc.php</b> on line <b>761</b>

=== in file:
/vendor/marcusschwarz/lesserphp/lessc.inc.php

== line: 761
= change, from:
   $subProp[1]{0} != $this->vPrefix)
= change, to:
   $subProp[1][0] != $this->vPrefix)

== line: 2762
= change, from:
   if (!is_string($tag) || $tag{0} != $this->lessc->mPrefix)
= change, to:
   if (!is_string($tag) || $tag[0] != $this->lessc->mPrefix)

== line: 2816
= change, from:
   if ($tag{0} == $this->lessc->vPrefix)
= change, to:
   if ($tag[0] == $this->lessc->vPrefix)

#linux #gnu #gnulinux #opensource #administration #sysops #dokuwiki #when #upgrades #fail #upgrade #complexity #unix #kiss

Originally posted at: https://dwaves.de/2022/06/30/php-dokuwiki-update-upgrade-problems-too-much-complexity-fixing-one-thing-while-breaking-another-why-updates-are-hated/

canoodle@nerdpol.ch

gnu linux - bash console - animated ascii art - sl steam locomotive

just one of those programs, that make users smile 🙂

written in C 🙂

compile it from src

or go

<span style="color: #00ffff;">lsb_release -d</span>; # tested on
Description: Debian GNU/Linux 11 (bullseye)
<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update</span>
<span style="color: #00ffff;">apt install sl</span>

#linux #gnu #gnulinux #opensource #administration #sysops #ascii #art #bash #locomotive

Originally posted at: https://dwaves.de/2022/06/28/gnu-linux-bash-console-animated-ascii-art-sl-steam-locomotive/

canoodle@nerdpol.ch

Rant: One day either JavaScript or AutoComplete will start ww3

which pretty much reads like:

it probably has to do with: https://wiki.mozilla.org/ServerJS/Introduction

(used in firefox and/or thunderbird?)

(checkout this search for more javascript rants X-D)

one day either JavaScript or Autocomplete will cause the 3rd world war:

now imagine Biden and Putin are texting:

Biden: Dear Putin, very sorry what happened in the past.

But no worries, we will invade you for dinner.

Putin: Invade?

Biden: Sorry autocomplete. Invite you for dinner.

#linux #gnu #gnulinux #opensource #administration #sysops #javascript #js #argh #wtf #ahoh

Originally posted at: https://dwaves.de/2022/06/25/rant-one-day-either-javascript-or-autocomplete-will-start-ww3/