<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cobra's bits (Posts about hardware)</title><link>https://cobra.pdes-net.org</link><description></description><atom:link href="https://cobra.pdes-net.org/categories/hardware.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2024 &lt;a href="mailto:najahannah@gmail.com"&gt;Cobra&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-NC-SA"
style="border-width:0; margin-bottom:12px;"
src="../images/by-nc-sa.svg"&gt;&lt;/a&gt;</copyright><lastBuildDate>Wed, 01 May 2024 12:19:59 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Android file transfer</title><link>https://cobra.pdes-net.org/posts/android-file-transfer.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;My home and office computers are synchronized via the ownCloud server located at my workplace. This synchronization takes place via an TLS encrypted connection with an A+ Qualys rating. In addition, I encrypt files containing sensitive information prior to their transfer on an individual basis. Since all systems accessing this cloud folder are driven by an operating system (OS) that I trust and largely control (Archlinux), I feel very comfortable regarding the security and privacy of my data. To keep this warm and cozy feeling, I wouldn't give devices with an OS beyond my control (such as Windows, MacOS, Android, iOS) access to this folder.&lt;/p&gt;
&lt;p&gt;Now, I fully appreciate that even a hardened desktop Linux would have difficulties to compete with the level of security offered by an up-to-date Android – with “security” being defined here in the conventional context with respect to a potential third-party adversary. But concerning the privacy of my data, and thus mine, the threat of an overly nosy first party is much more palpable. Actually, I shouldn't call it a threat. It's in fact a promise.&lt;/p&gt;
&lt;p&gt;How, then, am I supposed to transfer or even better synchronize data from and with the &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/resistance-is-futile.html"&gt;newest member&lt;/a&gt; of my gadget zoo? Since I've acquired this gadget as a two-factor authentication for my banks, I cannot simply root it and install &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/saving-nexie.html"&gt;LineageOS&lt;/a&gt; without any Google services. Therefore, I won't trust the device beyond its specialized purpose and I won't give it access to my cloud folder.&lt;/p&gt;
&lt;p&gt;But that's actually not a big deal in this case. Because of its specific function as a two-factor authenticator for my banks and several other services, the phone will remain stationary. Hence, I need to synchronize within my LAN, but not outside of it. When looking for apps that would be suitable for this task, I was initially attracted by those appealing to the nerd in me, such as, for example, &lt;a class="reference external" href="https://github.com/schollz/croc"&gt;croc&lt;/a&gt; installed (pkg install croc) and running within &lt;a class="reference external" href="https://termux.com/"&gt;termux,&lt;/a&gt; or &lt;a class="reference external" href="https://juicessh.com/"&gt;juiceSSH&lt;/a&gt;. In the end, these apps turned out to be fun for a limited time, but too tedious for everyday use. I'm very fond of &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/working-on-the-command-line.html"&gt;controlling computers with a keyboard&lt;/a&gt;, but for using termux efficiently, you'd need the eyes of an eagle, the fingers of an elf and the dexterity of a spider monkey.&lt;/p&gt;
&lt;p&gt;For ordinary human beings, &lt;a class="reference external" href="https://syncthing.net/"&gt;syncthing&lt;/a&gt; is the tool of choice. It's available on f-droid, easy to set up on all participating systems, and works reliably without manual intervention. In my case, I've simply created a folder (~/androidshare) on my desktop that automatically receives all files from my phone that may be worth to keep, including the backups of the andOTP and keepassDX databases and all photographs of my cats. 😍&lt;/p&gt;</description><category>backup</category><category>hardware</category><category>linux</category><category>thoughts</category><guid>https://cobra.pdes-net.org/posts/android-file-transfer.html</guid><pubDate>Fri, 24 Dec 2021 10:32:48 GMT</pubDate></item><item><title>Maxi</title><link>https://cobra.pdes-net.org/posts/maxi.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;I've retired my veteran netbook &lt;a class="reference external" href="https://pdes-net.org/cobra/posts/mini.html"&gt;Mini&lt;/a&gt; after 10 years of service and 7 generations of Debian in 2018. The &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/turbo.html"&gt;SSD&lt;/a&gt; was becoming corrupted, and in view of its low performance and advanced age, I decided that it wouldn't be worth the time and money needed to replace it.&lt;/p&gt;
&lt;p&gt;In the meantime, I've been using the &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/chitty-chitty-bang-bang.html"&gt;Fujitsu Lifebook&lt;/a&gt; I acquired in 2011. As a matter of fact, I gradually used this low-end notebook in favor of my desktop until I was basically working exclusively with it. From March 2020, I've used it day in, day out. During this time, it became painfully obvious that the lifebook's performance is no longer adequate for my needs. About a year ago, I've thus started to look for a successor, but considering my recent change in preference, I was looking for a notebook with higher performance and display resolution, as well as a backlit keyboard.&lt;/p&gt;
&lt;p&gt;There were several contenders, all armed with processors of the &lt;a class="reference external" href="https://www.notebookcheck.net/AMD-Cezanne-benchmarks-Ryzen-5000H-45-watt-APUs-with-Zen-3.516895.0.html"&gt;Cezanne&lt;/a&gt; series of AMD. But my favorite was the Ideapad 5 Pro 16 because of its comparatively large screen real estate with a WQHD resolution and 16:10 form factor. When it was offered for €899 by Lenovo in a bargain sale, I didn't hesitate to accept the offer.&lt;/p&gt;
&lt;p&gt;The Ideapad 5 Pro 16 comes with a gun-metal grey (“storm grey”) metal case with an excellent finish. Despite its slightly larger display diagonal, it is significantly smaller, lighter, and, particularly, thinner than my Lifebook. At the same time, it leaves it light years behind in terms of performance:&lt;/p&gt;
&lt;blockquote&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;&lt;th class="head"&gt;&lt;/th&gt;
&lt;th class="head"&gt;&lt;p&gt;Fujitsu Lifebook AH530&lt;/p&gt;&lt;/th&gt;
&lt;th class="head"&gt;&lt;p&gt;Lenovo IdeaPad 5 Pro 16ACH6&lt;/p&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Processor&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;Intel P6200&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;AMD Ryzen 7 5800H&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Lithography (nm)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;32&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;7&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Frequency (GHz)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;2.13&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;3.2–4.4&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;L2/L3 cache (MB)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;0.5/3&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;4/16&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;# cores/threads&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;2/2&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;8/16&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Weight (kg)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;2.5&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;1.9&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Display (inch)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;15.6 (1366×768)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;16 (2560×1600)&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;RAM (GB)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;4 (DDR3-1066)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;16 (DDR4-3200)&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Mass storage (GB)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;500 (SATA HDD)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;1000 (PCIe SSD)&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;TDP (W)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;35&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;45&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Battery life (h)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;3&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;8&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;iperf (Mbit/s)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;40&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;360&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Cinebench R23&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;336/641&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;1445/12969&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;hdparm -t (MB/s)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;70&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;2300&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Price (€)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;299&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;899&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/blockquote&gt;
&lt;p&gt;For comparison, my 9 years old &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/custom-made.html"&gt;desktop&lt;/a&gt; achieves 820/3650 points in the Cinebench R23 single/multi benchmark, and Dell's 17″ high-end notebook XPS 17 in a comparable configuration (processor graphics, 16 GB RAM, 1 TB SSD, 2.2 kg) with an Intel® Core™ i5-11400H for €2098.99 (1920×1200 non-glare) or €2398.99 (3840×2400 glare) scores 1467/9017 points according to c't 21/2021.&lt;/p&gt;
&lt;p&gt;There wasn't any question about the Linux distribution I would install on the Ideapad (Arch, of course), but I debated with myself whether I should install a desktop or stay with Openbox as on all my other systems. In view of the medium-high display resolution of 189 ppi, I finally settled for Budgie, a Gnome-based desktop known for its gracious handling of high-dpi displays. And so far I like what I see: the desktop has an unobtrusive, rational, and no-nonsense quality about it.&lt;/p&gt;
&lt;p&gt;The Ideapad is officially specified to have an Intel AX200 wifi chip, which works perfectly under Linux. But I had been warned by posts in the &lt;a class="reference external" href="https://www.forum-3dcenter.org/vbulletin/showpost.php?p=12748796&amp;amp;postcount=3474"&gt;interwebs&lt;/a&gt; that it may instead be delivered with a Realtek RTL8852AE chipset, which is not yet supported. And that's what happened of course also in my case. I thus installed over a LAN connection (using an USB/ethernet adapter) and installed the &lt;a class="reference external" href="https://aur.archlinux.org/packages/rtw89-dkms-git/"&gt;driver for the 8852&lt;/a&gt; provided on the AUR right after. The driver works fine except when the notebook goes into hibernation, after which there's no wifi device any more – it simply vanishes. I haven't found a solution for this inconvenience, but hope that the official support of the rtw89 driver by the mainline kernel will solve this issue, and will hopefully materialize with Linux 5.15. Alternatively, I could replace the wifi module &lt;a class="reference external" href="https://www.forum-3dcenter.org/vbulletin/showpost.php?p=12753510&amp;amp;postcount=3480"&gt;as others have done&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Other than that, everything works as intended, and lightning fast.😂 Oh, I've replaced pulseaudio by &lt;a class="reference external" href="https://archlinux.org/packages/extra/x86_64/pipewire-pulse/"&gt;pipewire-pulse&lt;/a&gt; to use my bluetooth headset, which would otherwise be without microphone. And I've installed &lt;a class="reference external" href="https://archlinux.org/packages/community/x86_64/rofi/"&gt;rofi&lt;/a&gt;, which I still prefer as a program launcher over anything a desktop can offer...&lt;/p&gt;</description><category>archlinux</category><category>hardware</category><guid>https://cobra.pdes-net.org/posts/maxi.html</guid><pubDate>Sun, 26 Sep 2021 12:45:37 GMT</pubDate></item><item><title>Resistance is futile</title><link>https://cobra.pdes-net.org/posts/resistance-is-futile.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;In my childhood, I lived in conditions that would be considered poverty today, but were not uncommon at the time. For example, our apartment featured neither a toilet nor a bathroom or shower. The toilet was located half a floor down in the stairway, and we shared it with our neighbors. To take a bath instead of a quick wash, we had to visit the public bath. The stove was still coal-powered, and we relied on it for cooking and getting hot water for preparing coffee and tea as well as for washing dishes. In the winter, this stove was also used for heating, but the heat didn't spread far, and we had to put on several layers of clothing in the other rooms. As we had no place for a washing machine, the clothes had to be carried to the next laundromat once per week.&lt;/p&gt;
&lt;p&gt;But we felt very comfortable, even privileged, since we enjoyed a number of household appliances that were not entirely obvious at this time. For example, we had a &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Telephone#/media/File:Alt_Telefon.jpg"&gt;telephone&lt;/a&gt;, a huge &lt;a class="reference external" href="http://www.teenagewasteland.de/technik/rad_roehrenradio.html"&gt;table-top radio&lt;/a&gt;, and even a &lt;a class="reference external" href="https://upload.wikimedia.org/wikipedia/commons/9/97/Family_watching_television_1958.jpg"&gt;black-and-white cathode ray television set&lt;/a&gt; (which, I remember, was smaller than the radio) with three programs that &lt;a class="reference external" href="https://de.wikipedia.org/wiki/Sendeschluss"&gt;signed-off at midnight&lt;/a&gt;. Plenty of entertainment for my parents, but I had lots of toys in addition, of course. And since my parents tried very hard to make me happy, I got the greatest gifts a boy could wish for at that time: a &lt;a class="reference external" href="https://en.wikipedia.org/wiki/M%C3%A4rklin"&gt;Märklin&lt;/a&gt; model railway and a &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Carrera_(slot_car_brand)"&gt;Carrera&lt;/a&gt; slot-car race track.&lt;/p&gt;
&lt;p&gt;Much to their disappointment, these electric gadgets held no fascination for me. I actually spent most of my spare time outside, playing soccer and swimming, and indoors I much preferred classic board games such as &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Nine_men%27s_morris"&gt;Mills&lt;/a&gt; and &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Draughts"&gt;Checkers&lt;/a&gt;, and later &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Chess"&gt;Chess&lt;/a&gt;, which became kind of an obsession and occupied most of my time and attention in solitary concentration. To get me back to a social life, my parents very cleverly introduced me to classic card games, which I then started to study with three equally nerdy friends of mine. We played &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Rummy"&gt;Rummy&lt;/a&gt;, &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Canasta"&gt;Canasta,&lt;/a&gt; &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Whist"&gt;Whist&lt;/a&gt; and &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Contract_bridge"&gt;Bridge,&lt;/a&gt; but also the German classics &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Skat_(card_game)"&gt;Skat&lt;/a&gt;, &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Schafkopf"&gt;Schafkopf&lt;/a&gt;, and &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Doppelkopf"&gt;Doppelkopf&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I've recently googled for these three friends, and found to my great delight that they have all made their way. A surgeon, an attorney, an engineer – and I became a physicist instead of an electrician, as my parents had planned. And I hope that for them the ability to play a variety of board and card games has been proven to be as useful as it has been for me. For example, when I arrived in Japan some 15 years later for my postdoctoral studies, I went to an English pub I knew from a conference after realizing how fundamentaly lonely I was. The time was early, long before it actually opened, but there was a girl behind the counter, waiting for the first guests, playing Backgammon with herself. It was my knowledge of Backgammon acquired 15 years ago that enabled me to play with her, earning me an invitation for a party where I would meet Susie from Kenya. But that's another story.😙&lt;/p&gt;
&lt;p&gt;Nowadays, I keep an average household with regard to technology. It features all of the typical electrical appliances of western civilization, sprinkled with plenty of electronic gadgets, such as desktops, notebooks, tablets, e-book readers, and even a mobile phone, but it's not “smart”. In fact, so far I even didn't bother myself with a smartphone, as I didn't see any compelling reason for using a technology without having the slightest need for it. Worse, it seems that all gadgets with the attribute "smart" are essentially designed to collect as much data as possible about their unsuspecting, dumb users and send that data to various third parties who subsequently profit from it. And last but not least, I feel thoroughly repelled by the pathetic addiction of users to their smartphone, made evident by the innumerable &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Smartphone_zombie"&gt;smombies&lt;/a&gt; and &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Nomophobia"&gt;nomophobes&lt;/a&gt; whose catatonic behavior I have to endure every day.&lt;/p&gt;
&lt;p&gt;The first of these circumstances has changed very recently. In complying to the &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Payment_Services_Directive"&gt;revised payment services directive&lt;/a&gt; of the EU, one of my banks has decided to terminate mTANs as a method of payment authorization. As alternative, they very prominently advertise an app-based authorization, although a photoTAN generator is in principle also available – but of course not compatible with any other bank. Should I pile up photoTAN generators on my desk or go for the smartphone? I pondered this question for a short time, but it was finally decided by unexpected circumstances turning up in an entirely different context: traveling in the age of the pandemic. My wife has important family business in Japan, and for her entry and the subsequent 14 days of quarantine, she will need no fewer than three apps on a smartphone, which can be either her own one, or has to be rented at the airport.&lt;/p&gt;
&lt;p&gt;In view of this development, an attitude of denial would be donquixotesque. I decided that we would instead try to embrace the situation, and make the best out of the gadgets we are forced to acquire by circumstances. That shouldn't be too difficult, since I already knew from my experience with our &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/using-nexie.html"&gt;Nexie&lt;/a&gt; that an Android device with small form factor can be great fun. However, there was no need to spend the obscene amounts of money the smartphone industry has somehow managed to establish, with price tags for the flagship phones having tripled over the last decade. Chapeau to the industry for the masterful creation of a new consumers desire leading to excessive debts particularly for the young generation. I'm quite immune to this attempt of seduction, and we consequently decided to look into the low- rather than the high-end.&lt;/p&gt;
&lt;a class="reference external image-reference" href="https://cobra.pdes-net.org/images/hp48x.png"&gt;
&lt;img alt="../images/hp48x_scaled.webp" class="align-right" src="https://cobra.pdes-net.org/images/hp48x_scaled.webp" style="width: 192px;"&gt;
&lt;/a&gt;
&lt;p&gt;Since I would be using my phone for security-critical tasks, the main criterion was the guaranteed availability of updates, which is the domain of the Google Pixel phones, a few of the top models from other manufacturers, and of phones running &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Android_One"&gt;Android One,&lt;/a&gt; of which only the Nokias are left. After looking through the specifications, I settled on a &lt;a class="reference external" href="https://geizhals.de/nokia-3-4-dual-sim-charcoal-a2379438.html"&gt;Nokia 3.4&lt;/a&gt;, which seemed more than sufficient for the simple tasks I would need it for. For my wife, who will certainly enjoy playing an occasional game on her phone, I looked for a higher-class SoC than on the Nokia, and finally opted for the &lt;a class="reference external" href="https://geizhals.de/motorola-moto-g30-dual-sim-pastel-sky-a2475040.html"&gt;Motorola Moto G30&lt;/a&gt;. Both smartphones together came for less than €300, the maximum amount I had been willing to spend.&lt;/p&gt;
&lt;p&gt;And you know what: I wouldn't have half of the fun with this little gadget if it hadn't been so affordable. I was a bit disappointed that the Android 11 upgrade didn't come earlier, but eventually it came, and the phone is currently running Android 11 with the latest patches (August 5). That's good enough for me to use it for the purpose I bought it for, i.e., as an authentication factor for my banks. But I also set it up as a general two-factor authentication device by installing and configuring &lt;a class="reference external" href="https://f-droid.org/en/packages/org.shadowice.flocke.andotp/"&gt;andOTP&lt;/a&gt; for some of my most important accounts, such as the control panel of the server running this blog. Being thus an integral part of my security measures, it will securely stay at home, where it has already plenty of alternative uses. Here's one of them: I always wanted to have an HP 48, but &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/rpn.html"&gt;never got it&lt;/a&gt;. Now I have one!&lt;/p&gt;</description><category>hardware</category><category>thoughts</category><guid>https://cobra.pdes-net.org/posts/resistance-is-futile.html</guid><pubDate>Sat, 28 Aug 2021 14:37:38 GMT</pubDate></item><item><title>New Neuland</title><link>https://cobra.pdes-net.org/posts/new-neuland.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;In 1994, snafu.de provided my first home connection to the interwebs via a 33.6K (kbits/s) modem. The upgrade to 56K came only a year later, but being a speed freak, I soon abandoned snafu for the German telecom who offered ISDN (128K by channel bonding) and again one year later the first ADSL with 768K. Just two years later again the German telecom managed to piss me off so thoroughly that I quit them right away. I selected QSC as my post-Telekom provider, which was such a lucky choice that I stayed with them almost 20 years, starting with the symmetric 2 Mbit/s SDLS line in 2002 and upgrading to the mainstream &lt;a class="reference external" href="https://de.wikipedia.org/wiki/Asymmetric_Digital_Subscriber_Line_2"&gt;ADSL2+&lt;/a&gt; option in 2008. Compared to where we had been just a decade before, the speed offered by this technology was hardly believable. In 2021, however, the speed is lamentable. The upload of 1 Mbit/s is a liability in the time of daily video conferences, and the download of 16 Mbit/s is sorely testing my wife's patience during the many hours it takes to download an eagerly awaited and freshly purchased video game.&lt;/p&gt;
&lt;p&gt;It's high time to upgrade, I told myself, and consequently looked at the options available to someone living more or less in the center of the western part of Berlin. I had entertained the hope that when upgrading my connection, &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Fiber_to_the_x"&gt;FTTH&lt;/a&gt; would be available, but as the matter stands the only affordable option is still &lt;a class="reference external" href="https://en.wikipedia.org/wiki/VDSL"&gt;VDSL&lt;/a&gt;. After my experiences with the Telekom, I was reluctant to again enter a relation with them, but I'm not too fond of the other big players (Vodafone, 1&amp;amp;1, O2) either. Fortunately, I've talked to my colleague Jonas about my plans, and he recommended &lt;a class="reference external" href="https://en.easybell.de/consumers.html"&gt;easybell&lt;/a&gt;, a small regional provider with a clear focus on customer service. I very much liked what I saw and ordered their super-vectoring VDSL offering 250 Mbit/s down and 40 Mbit/s up. The whole procedure was transparent and very well documented, and the handover went as smoothly as possible: we got disconnected at 15:00, and when I finished setting up the new router at 15:30, it connected right away.&lt;/p&gt;
&lt;img alt="../images/supervectoring.png" class="align-center" src="https://cobra.pdes-net.org/images/supervectoring.png"&gt;
&lt;p&gt;Woohoo! Now we're talking. 😎&lt;/p&gt;
&lt;p&gt;The new router is a Fritz!Box 7590, and since its producer &lt;a class="reference external" href="https://avm.de/"&gt;AVM&lt;/a&gt; is also located in Berlin, my internet connection is now a purely regional one. 😉 The 7590 does not support IEEE 802.11ax or Wi-Fi 6, which doesn't really matter for me since I don't have a single device that would support this standard. However, compared to the Fritz!Box 7170 I had before, the increase in wireless speed is impressive, much larger than I had expected. On my ten years old Fujitsu Lifebook, I never saw anything better than 10 Mbit/s with the 7170, but I'm getting a very stable 40 Mbit/s with the 7590. Makes a huge difference when using Mathematica via &lt;code class="docutils literal"&gt;ssh &lt;span class="pre"&gt;-Y&lt;/span&gt; &lt;span class="pre"&gt;-C&lt;/span&gt;&lt;/code&gt; to my desktop: while the interface reacted sluggishly before, it's now downright snappy.&lt;/p&gt;
&lt;p&gt;Alas, not all of my devices can actually benefit from the new and shiny wifi: my &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/using-nexie.html"&gt;Nexie&lt;/a&gt; won't connect to it, and constitutes the collateral damage of this modernization. Debugging the attempts to connect returned the error message NETWORK_SELECTION_DISABLED_ASSOCIATION_REJECTION, which is caused by the activated “Protected Management Frames” for the login process (on the Fritz!Box: "Unterstützung für geschützte Anmeldungen von WLAN-Geräten (PMF) aktivieren"). Since this feature is required for WPA3 and thus the protection of my entire wireless network, I'm not willing to sacrifice it for one nine years old tablet, even when this tablet happens to be my beloved Nexie. Still, I will miss it, particularly since tablets with this diminutive size have been replaced entirely by phablets, and are not produced any more. And before you're going to argue like 'so-why-not-buying-such-a-phablet': I did exactly that, although for an entirely different reason, which I will disclose in a subsequent post.&lt;/p&gt;</description><category>hardware</category><category>info</category><category>web</category><guid>https://cobra.pdes-net.org/posts/new-neuland.html</guid><pubDate>Sat, 08 May 2021 17:11:15 GMT</pubDate></item><item><title>Fast, faster, M1?</title><link>https://cobra.pdes-net.org/posts/fast-faster-m1.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;I should have created a category called “Modern advertisement techniques” or “How-the-media-manipulate-us-to-help-Apple-selling-its-products”. The &lt;a class="reference external" href="https://pdes-net.org/cobra/posts/the-dawn-of-a-new-age-slightly-hysterical-trembling-voice.html"&gt;crude attempts of the tabloid press&lt;/a&gt; are so glaringly obvious to anybody that they are more amusing than anything else. What I find far more disconcerting is the subtle approach one encounters in media of higher standard. At first the occasional inaccuracy or omission seems innocuous enough, but after a while it becomes clear that all of these apparent oversights and mishaps are invariably in favor of Apple, establishing an act of framing, deliberate or not. Here is &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/messlatte.html"&gt;one&lt;/a&gt; and here is &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/quality-journalism.html"&gt;another&lt;/a&gt; example of what I'm talking about.&lt;/p&gt;
&lt;p&gt;Now, in June Apple announced that they are going to &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Mac_transition_to_Apple_Silicon"&gt;switch from Intel to ARM&lt;/a&gt;, and in November they announced the &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Apple_M1"&gt;Apple M1&lt;/a&gt; system-on-chip with their usual vastly exaggerated grandiose claims (3×, 6×, 15× faster!!!). One doesn't have to be the oracle of Delphi to predict the resulting media circus and the ever higher flying expectations based on nothing but hype.&lt;/p&gt;
&lt;p&gt;Finally, some meaningful benchmarks (Cinebench R23) in c't 26/2020. Before examining and evaluating the numbers, here are two quotes from this issue:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;p. 36 (&lt;em&gt;Bit-Rauschen&lt;/em&gt;)
Beim 15-W-Typ Ryzen 5000U wird es jedenfalls spannend, ob er zumindest bei Multithreading Apples-ARM-Renner M1 einholt und somit die x86-Ehre rettet.&lt;/p&gt;
&lt;p&gt;p. 44 (&lt;em&gt;Alles M1!&lt;/em&gt;)
In der Single-Core-Performance enteilt der aktiv gekühlte M1 [...] allen bisherigen Mobilprozessoren der 15- bis 45-Watt-Klasse [...]. In der Multi-Core-Wertung sortiert er sich zwischen den 45-Watt-Mobil-CPUs Core i7-10750H (6300 Punkte) und Ryzen5 4600H (8370 Punkte) ein [...].&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Now, these statements very clearly imply that the performance of the M1 surpasses that of any currently available 15-W mobile processor, wouldn't you say so?&lt;/p&gt;
&lt;p&gt;Let's compare the single/multithreaded Cinebench R23 scores [1] of Intel's TigerLake top model and three Ryzen 7 4000U with those of the M1:&lt;/p&gt;
&lt;pre class="literal-block"&gt;i7-1185G7               1538/6264
4700U                   1184(1218)/6874(7269)
M1                      1514(1517)/7760(7786)
4750U                   1184/8088
4800U                   1235/10156&lt;/pre&gt;
&lt;p&gt;As you can see, Apple has come up with a highly competitive chip offering a single-core performance on par with the 1185G7, and a multi-core performance just between the 4700U and the 4750U. But neither do we need a 45-W-CPU, nor the upcoming Ryzen 5000U to leave the M1 far behind in terms of multi-core performance: the 4800U does that well enough. And that's what I would have liked to read in an objective summary of the M1 instead of the distorted statements above.&lt;/p&gt;
&lt;p&gt;The M1 is the first ARM-based processor that offers competitive performance for desktop applications. Is that the end of Intel and AMD? The loss of Apple as a major client may seem like an enormous loss for Intel, but actually it's a rather insignificant one, and some even believe it to be &lt;a class="reference external" href="https://www.marketwatch.com/story/in-this-case-losing-apple-as-a-customer-would-be-good-news-2020-06-15"&gt;beneficial for them&lt;/a&gt;. Moreover, the M1 currently only runs on Apple hard- and software, resulting in a correspondingly small market share. More alarming, particularly for AMD with their hopes to break the dominance of Intel processors in data center and high-performance computing applications, is the current development of ARM-based server processors offering &lt;a class="reference external" href="https://www.anandtech.com/show/16315/the-ampere-altra-review"&gt;high performance for an affordable price&lt;/a&gt;. Remember when Linux-based x86 boxes replaced SPARC, MIPS, PA-RISC, and Power PC workstations running Solaris, IRIX, HP-UX, and AIX? That's just &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Workstation"&gt;11 years ago&lt;/a&gt;. Perhaps we are witnessing an analogous transition right now.&lt;/p&gt;
&lt;p&gt;[1] A very similar comparison can be found, by the way, in the current issue of c't (&lt;em&gt;Apfel-Alternativen&lt;/em&gt;, c't 1/2021, p.109). The values here are taken from &lt;a class="reference external" href="https://cpumonkey.com"&gt;cpu-monkey.com,&lt;/a&gt; and the ones in parentheses are from c't. If you have an older processor and would like to compare, chances are good that you find it in the comprehensive, community-compiled list at &lt;a class="reference external" href="https://www.computerbase.de/2020-11/cinebench-r23-community-benchmarks/"&gt;computerbase.de&lt;/a&gt;.&lt;/p&gt;</description><category>hardware</category><category>thoughts</category><guid>https://cobra.pdes-net.org/posts/fast-faster-m1.html</guid><pubDate>Thu, 31 Dec 2020 14:36:24 GMT</pubDate></item><item><title>Using Nexie</title><link>https://cobra.pdes-net.org/posts/using-nexie.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;About a year ago I described the successful reanimation (&lt;a class="reference external" href="https://cobra.pdes-net.org/posts/saving-nexie.html"&gt;Saving Nexie)&lt;/a&gt; of our Nexus 7 from 2012 by installing &lt;a class="reference external" href="https://lineageos.org/"&gt;LineageOS&lt;/a&gt; on it. We were very happy with the result, and the little gadget subsequently accompanied my wife on her &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/wasabia-japonica.html"&gt;trip to Japan last year&lt;/a&gt;. But when she returned, Nexie seemed to disintegrate: the display and the backside started to separate for no apparent reason, and nothing could keep them together.&lt;/p&gt;
&lt;p&gt;We thought that Nexie got somehow damaged during the trip, but I anyway asked our lab McGyver for help. She carefully dissected it and discovered that the culprit is the battery, having turned from a flat sheet to something resembling a &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Fugu"&gt;Fugu&lt;/a&gt;. I purchased a new one, with which the display again connected to the back with a satisfying &amp;gt;click&amp;lt;. 😌&lt;/p&gt;
&lt;p&gt;I brought the fully intact Nexie home and proudly presented it to my wife. She was unusually timid and finally told me that she wouldn't know what she should use it for. In fact, the Nexie doesn't really have a place anymore in her gadget zoo that includes an up-to-date Android tablet as well as a Windows 10 detachable. She thus tried to motivate me to take care of the Nexie, and despite my vow that I won't have anything to do with Android or iOS gadgets, I finally gave in and promised to give it a try.&lt;/p&gt;
&lt;p&gt;My first Android device! A new world to be discovered! 😋&lt;/p&gt;
&lt;p&gt;It turned out to be rather straightforward to switch accounts on an Android device, and to throw out old apps in the favor of new ones. And although I do realize of course that the Nexie is very slow by modern standards, I find it perfectly adequate for the simple things I use it for (mostly checking the weather, the soccer results, and the ticker, as well as reading the books that are too much for my &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/library.html"&gt;old e-book reader&lt;/a&gt; and watching an occasional video). Thanks to &lt;a class="reference external" href="https://blokada.org/index.html"&gt;Blokada&lt;/a&gt; from the &lt;a class="reference external" href="https://f-droid.org"&gt;F-Droid Store&lt;/a&gt;, all apps are free of ads of any kind. And despite the humble hardware, I stand no chance when playing Chess against the Nexie.😶&lt;/p&gt;
&lt;p&gt;I haven't posted any screenshots for ages, so here are two showing Nexie in its full glory:&lt;/p&gt;
&lt;img alt="../images/nexie_screenie_1.webp" class="align-center" src="https://cobra.pdes-net.org/images/nexie_screenie_1.webp" style="width: 800px;"&gt;
&lt;div class="line-block"&gt;
&lt;div class="line"&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;img alt="../images/nexie_screenie_2.webp" class="align-center" src="https://cobra.pdes-net.org/images/nexie_screenie_2.webp" style="width: 800px;"&gt;
&lt;div class="line-block"&gt;
&lt;div class="line"&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;If you don't see anything: these are the first images in this blog in &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/better-graphic-formats.html"&gt;WEBP&lt;/a&gt; format, which results in images of essentially the same quality as the original PNG at a third of the size. I will use this format for all future images and also retroactively, so update your browser (that will &lt;em&gt;probably&lt;/em&gt; work soon even on a &lt;a class="reference external" href="https://9to5mac.com/2020/06/24/apple-adds-webp-hdr-support-and-more-to-safari-with-ios-14-and-macos-big-sur/"&gt;Mac&lt;/a&gt;).&lt;/p&gt;</description><category>hardware</category><category>linux</category><guid>https://cobra.pdes-net.org/posts/using-nexie.html</guid><pubDate>Sat, 27 Jun 2020 16:19:14 GMT</pubDate></item><item><title>Upgrade to Windows 10</title><link>https://cobra.pdes-net.org/posts/upgrade-to-windows-10.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;My &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/easter-egg.html"&gt;wife's gaming rig&lt;/a&gt; is still running on Windows 7, and &lt;a class="reference external" href="https://www.microsoft.com/en-us/microsoft-365/windows/end-of-windows-7-support"&gt;it's about time&lt;/a&gt; to change that. In principle, an upgrade to Windows 10 requires only the download of the Media Creation Tool from Microsoft on the system to be upgraded. However, to save myself the download of several GB of data with my meager DSL connection at home, I've used this tool in my virtual Windows 7 at the office to prepare a USB stick for installation. It took some time to find an active download link for the USB 3.0 drivers compatible with VirtualBox (&lt;a class="reference external" href="https://www.techspot.com/downloads/drivers/essentials/intel-usb3/"&gt;Intel 7 Series C216 Chipset Family&lt;/a&gt;, which Intel has discontinued), but in the end I had my stick.&lt;/p&gt;
&lt;p&gt;After uninstalling the antivirus scanner (Avast), I've plugged in the stick, clicked on setup.exe, and off it went. But after 15% installation progress:&lt;/p&gt;
&lt;pre class="literal-block"&gt;Error: 0x8007025D-0x2000C
The installation failed in the SAFE_OS phase with an error during APPLY_IMAGE operation.&lt;/pre&gt;
&lt;p&gt;Just below the error message is a &lt;a class="reference external" href="https://go.microsoft.com/fwlink/?LINKID=528892"&gt;link&lt;/a&gt; that can neither be clicked nor copied. Now that's usability! In any case, the suggestions on this page aren't helpful at all, but send the users experiencing this error message on the wrong track. Fortunately, third-party pages such as &lt;a class="reference external" href="https://techjourney.net/the-installation-failed-in-the-safe_os-phase-with-an-error-during-apply_image-operation-when-upgrading-windows-10/"&gt;techjourney&lt;/a&gt; and &lt;a class="reference external" href="https://www.thewindowsclub.com/windows-update-error-0x8007025d-0x2000c"&gt;the windows club&lt;/a&gt; do much better in this respect, in that they have the most likely reason on top of their list: corrupted installation media. And in fact, when I simply let the Media Creation Tool download the files, the upgrade works flawlessly. Didn't even take 3 h including the download, which was much faster then I had expected.&lt;/p&gt;
&lt;p&gt;You see how easy the upgrade is – even for someone who hasn't actively used Windows since 15 years. Don't be one of these pathetic figures that are eternally whining and bawling that they have a god-given right to use Windows XYZ until the end of the time, and are very loudly expressing the opinion that Microsoft must be condemned by international (or at least European) law to keep the OS in question alive. Get a grip on yourself, make an update, and deal with it, for Pete's sake. Or switch to &lt;a class="reference external" href="https://en.wikipedia.org/wiki/OpenBSD#/media/File:OpenBSD_5.3_Welcome.png"&gt;OpenBSD&lt;/a&gt; or any other one of these geekish systems. You could also buy a Mac, if you insist. But don't act like a newborn.&lt;/p&gt;
&lt;p&gt;For us, Windows 10 itself is not entirely new, since earlier this year, we purchased a &lt;a class="reference external" href="https://www.lenovo.com/us/en/tablets/windows-tablets/miix-series/Lenovo-Miix-630-12Q35/p/88IPMX60984"&gt;Lenovo Miix 630&lt;/a&gt; for accompanying my wife on her &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/wasabia-japonica.html"&gt;trip to Japan&lt;/a&gt;. We got this 'Windows on ARM' detachable for €444  complete with a back-lit type cover and a pen, 8 GB of RAM, and LTE, allowing her to access the internet from home without the need to search for places offering public wifi. The Miix turned out to be very versatile and fun to use, and it has an almost unbelievable battery life in excess of 20 h thanks to its Snapdragon 835 processor (a mid-range smartphone SOC). What I also like is the rolling-release concept of Windows 10, which guarantees that the device isn't obsolete after at most three years as it's custom for Android gadgets. It's a pity that this interesting concept is so unpopular. Lenovo has already stopped the production of the Miix, and there aren't any others like it (the Surface Pro X from Microsoft comes at more than three times the price).&lt;/p&gt;</description><category>hardware</category><category>thoughts</category><category>windows</category><guid>https://cobra.pdes-net.org/posts/upgrade-to-windows-10.html</guid><pubDate>Fri, 13 Dec 2019 16:47:57 GMT</pubDate></item><item><title>Saving Nexie</title><link>https://cobra.pdes-net.org/posts/saving-nexie.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;We own a first generation &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Nexus_7_(2012)"&gt;Nexus 7&lt;/a&gt; from 2012, which my wife affectionately calls Nexie because of its compact form factor. It impressed me with its high build quality, particularly considering its modest price point of €199. It's performance was more than satisfactory with the stock Android 4.1, but when it got updated to Android 5.1 in 2015, it was reduced to an unresponsive brick, no matter what I've tried (including a factory reset). We finally decided to retire it and to use it as a, well, wall clock. But recently, the time on the Nexus was often running slow by more than an hour. The reason were resource-intensive background processes updating the various Google apps installed by default.&lt;/p&gt;
&lt;p&gt;Can we resurrect the Nexus by flashing it with an alternative ROM such as &lt;a class="reference external" href="https://lineageos.org/"&gt;LineageOS&lt;/a&gt;? That's at least what I'm going to try. Note that I'm fairly ignorant with respect to Android and its devices. But anyway, let's get going.&lt;/p&gt;
&lt;section id="st-step"&gt;
&lt;h2&gt;1st step&lt;/h2&gt;
&lt;p&gt;I search the web for “Nexus 7 (2012) LineageOS”. To my relief, there's general agreement that our Nexus can run LineageOS 14.1, corresponding to Android 7.1. I thus download the image for &lt;a class="reference external" href="https://androidfilehost.com/?fid=817906626617948676"&gt;our (GSM free) version of the Nexus 7.&lt;/a&gt; I also find &lt;a class="reference external" href="https://diarium.usal.es/pmgallardo/2018/10/21/how-to-install-lineageos-14-1-on-nexus-7-2012/"&gt;some&lt;/a&gt; &lt;a class="reference external" href="https://cd-rw.org/t/resurrect-a-nexus-7-2012-to-run-as-good-as-new/141"&gt;instructions&lt;/a&gt; regarding the installation. I learn from them that I have the option to install the Google Apps (particularly the play store) or not.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="nd-step"&gt;
&lt;h2&gt;2nd step&lt;/h2&gt;
&lt;p&gt;I'm in favor of installing a pure LineageOS system free of Google Apps, and to use F-Droid instead of the Google play store, but my wife pleads for the latter. Since she's the primary user, I look at the options on &lt;a class="reference external" href="https://opengapps.org/"&gt;OpenGapps&lt;/a&gt; and download the pico build for ARM 32 bit, Android 7.1.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="rd-step"&gt;
&lt;h2&gt;3rd step&lt;/h2&gt;
&lt;p&gt;To install the custom ROM and the Google Apps, I need a custom recovery image such as the one provided by &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Team_Win_Recovery_Project"&gt;TWRP&lt;/a&gt;. I download the &lt;a class="reference external" href="https://eu.dl.twrp.me/grouper/twrp-3.3.0-0-grouper.img.html"&gt;latest version for my Nexus&lt;/a&gt;.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="th-step"&gt;
&lt;h2&gt;4th step&lt;/h2&gt;
&lt;p&gt;Prepare your device, they say. All right, I tap the 'Build Number' under 'About Phone' in 'Settings' seven times and thus become a developer (not a joke, it really works that way 😲). I then scroll down and enable USB debugging.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="th-step-1"&gt;
&lt;h2&gt;5th step&lt;/h2&gt;
&lt;p&gt;The instructions mention the commands adb and fastboot, which I &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/search-package-providing-a-certain-command.html"&gt;find&lt;/a&gt; to be contained in the package android-tools. I thus install these tools on my Fujitsu Lifebook:&lt;/p&gt;
&lt;pre class="literal-block"&gt;sudo pacman -S android-tools&lt;/pre&gt;
&lt;/section&gt;
&lt;section id="th-step-2"&gt;
&lt;h2&gt;6th step&lt;/h2&gt;
&lt;p&gt;I use the USB cable of my Kobo reader (a conventional microUSB-to-USB cable) to connect the Nexus to my Lifebook, and chose MTP in the USB dialog on the Nexus.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="th-step-3"&gt;
&lt;h2&gt;7th step&lt;/h2&gt;
&lt;p&gt;All right, now it comes. (On hindsight, I could certainly do better when I would try a second time. But anyway: it worked. 😎)&lt;/p&gt;
&lt;pre class="literal-block"&gt;# adb reboot bootloader&lt;/pre&gt;
&lt;p&gt;Yup, the Nexus boots and is now in a kind of repair mode.  😊&lt;/p&gt;
&lt;p&gt;Now as root:&lt;/p&gt;
&lt;pre class="literal-block"&gt;$ fastboot oem unlock
$ fastboot flash recovery twrp-3.3.0-0-grouper.img&lt;/pre&gt;
&lt;p&gt;A subsequent 'adb reboot bootloader' doesn't work (I now believe that 'fastboot reboot' would have). I reboot the Nexus manually by navigating with the volume and power keys. I then switch in the same way to recovery mode, upon which TWRP starts up.&lt;/p&gt;
&lt;pre class="literal-block"&gt;# adb push /home/cobra/Downloads/lineage-14.1-20171122_224807-UNOFFICIAL-aaopt-grouper.zip /sdcard/
# adb push /home/cobra/Downloads/open_gapps-arm-7.1-pico-20190426.zip /sdcard/&lt;/pre&gt;
&lt;p&gt;Next, as found in the instructions, I navigate in TWRP to the Wipe menu. For some reason, wiping fails, and I'm stuck in a boot loop. 😨&lt;/p&gt;
&lt;p&gt;I search the web and find that boot loops are rather common. A recommended solution is to either erase or format the userdata:&lt;/p&gt;
&lt;pre class="literal-block"&gt;$ fastboot erase userdata
$ fastboot format userdata&lt;/pre&gt;
&lt;p&gt;but that doesn't do anything (just telling me that it's &amp;lt;waiting for device&amp;gt;). Only after I hold power/volumedown for 10 s, I see the repair menu, and when going to recovery mode, TWRP seems to finish what it has tried to do. &lt;em&gt;pooh&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I have no idea what went wrong there, nor precisely how it was corrected. But I found one statement in the web that gave me courage: “as long as your device does anything when switching it on, it is NOT bricked.”&lt;/p&gt;
&lt;p&gt;The rest is easy: I go to install, select LineageOS and Google Apps, install and reboot.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="the-result"&gt;
&lt;h2&gt;The result&lt;/h2&gt;
&lt;p&gt;Much better than I had hoped for. The interface reacts instantaneously, animations run smoothly, and apps start fast. It feels as good as new. Well, my wife says: even better. ☺&lt;/p&gt;
&lt;/section&gt;</description><category>hardware</category><category>linux</category><guid>https://cobra.pdes-net.org/posts/saving-nexie.html</guid><pubDate>Sun, 28 Apr 2019 10:01:57 GMT</pubDate></item><item><title>Modern file compression</title><link>https://cobra.pdes-net.org/posts/modern-file-compression.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;Unknown to most users, file compression silently works behind the scene. Updates for any operating system, for example, are compressed. That happens automatically and the user doesn't even need to know about it.&lt;/p&gt;
&lt;p&gt;But sometimes, we have a choice. In Archlinux, for example, we can set the compression we'd like to use for packages created by makepkg (such as those installed over the AUR) – but how to chose between gz, bz2, xz, lrz, lzo, and z? And some backup software adds further options: &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/a-simple-automated-backup-scheme.html"&gt;Borg&lt;/a&gt;, for example, offers zlib, lzma, lz4, and zstd.&lt;/p&gt;
&lt;p&gt;Most surprisingly, some of these algorithms have been developed only very recently: &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Zstandard"&gt;zstd&lt;/a&gt; comes from Facebook (2016), and there's &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Brotli"&gt;brotli&lt;/a&gt; from Google (2015) and &lt;a class="reference external" href="https://en.wikipedia.org/wiki/LZFSE"&gt;lzfse&lt;/a&gt; from Apple (2015). Why do these multi-billion-dollar companies develop compression algorithms? Because of the &lt;a class="reference external" href="https://www.xda-developers.com/google-brotli-compression-faster-ota-updates/"&gt;multi-billion dollars&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Instead of testing each of these algorithms &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/pack-as-pack-can.html"&gt;yourself&lt;/a&gt;, you can use &lt;a class="reference external" href="https://github.com/inikep/lzbench"&gt;lzbench&lt;/a&gt;. It tests all open source algorithms of the lz family with the &lt;em&gt;de facto&lt;/em&gt; standard file package in the compression business, the &lt;a class="reference external" href="http://mattmahoney.net/dc/silesia.html"&gt;silesia suite&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here are three examples geared toward high compression ratio, high speed compression, and high speed decompression:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;High compression ratio (&amp;lt;25%)&lt;/strong&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;➜  lzbench -c -ebrotli,11/xz,6,9/zstd,22 silesia.tar
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio
memcpy                   9814 MB/s  9852 MB/s   211947520 100.00
brotli 2017-12-12 -11    0.48 MB/s   385 MB/s    51136654  24.13
xz 5.2.3 -6              2.30 MB/s    74 MB/s    48745306  23.00
zstd 1.3.3 -22           2.30 MB/s   600 MB/s    52845025  24.93&lt;/pre&gt;
&lt;p&gt;These are single core values. xz compression (but not decompression) profits from multithreading, while brotli and zstd do not.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;High speed compression (for compression ratios &amp;lt;50%)&lt;/strong&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;➜  lzbench -c -elz4/lzo1x silesia.tar
Compressor name         Compress. Decompress. Compr. size  Ratio
memcpy                   9861 MB/s  9768 MB/s   211947520 100.00
lz4 1.8.0                 524 MB/s  2403 MB/s   100880800  47.60
lzo1x 2.09 -12            521 MB/s   738 MB/s   103238859  48.71&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;High speed decompression (&amp;gt; 2000 MB/s)&lt;/strong&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;↪ lzbench -c -elz4/lizard,10/lzsse8,6 silesia.tar
Compressor name         Compress. Decompress. Compr. size  Ratio
memcpy                   9579 MB/s 10185 MB/s   211947520 100.00
lz4 1.8.0                 525 MB/s  2421 MB/s   100880800  47.60
lizard 1.0 -10            421 MB/s  2115 MB/s   103402971  48.79
lzsse8 2016-05-14 -6     8.25 MB/s  3359 MB/s    75469717  35.61&lt;/pre&gt;
&lt;p&gt;What do we learn from these benchmarks?&lt;/p&gt;
&lt;ol class="arabic simple"&gt;
&lt;li&gt;&lt;p&gt;If we want high compression reasonably fast, nothing beats xz. It's just perfect for what it's actually used by some (all?) Linux distributions: to distribute updates with acceptable computational resources over a channel with a very limited band width.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If the distributor commands over virtually unlimited resources, and compression speed is thus not an issue, brotli and zstd are clearly superior to all other choices. That's how we would like to have our updates: small and fast to decompress.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If size is not of primary importance, but compression speed is, lz4 and lzo are the champions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If decompression speed is essential, &lt;a class="reference external" href="https://github.com/ConorStokes/LZSSE"&gt;lzsse8&lt;/a&gt; wins. This is a lesser known member of the lz family and not widely available, in contrast to lz4 which thus scores again.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;</description><category>desktop</category><category>hardware</category><category>linux</category><guid>https://cobra.pdes-net.org/posts/modern-file-compression.html</guid><pubDate>Sun, 10 Feb 2019 13:17:49 GMT</pubDate></item><item><title>Debian 9</title><link>https://cobra.pdes-net.org/posts/debian-9.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;&lt;a class="reference external" href="https://www.debian.org/News/2017/20170617"&gt;Stretch is stable.&lt;/a&gt; Testing is now called &lt;a class="reference external" href="https://wiki.debian.org/DebianBuster"&gt;Buster&lt;/a&gt;.&lt;/p&gt;
&lt;pre class="literal-block"&gt;sed -i 's/stretch/buster/g' /etc/apt/sources.list&lt;/pre&gt;
&lt;p&gt;I could equally well just use 'testing', but for some presumably deeply rooted psychological reasons, I like the codenames better.&lt;/p&gt;
&lt;p&gt;For my veteran netbook &lt;a class="reference external" href="http://pdes-net.org/cobra/posts/mini.html"&gt;mini&lt;/a&gt;, buster is now the 7th incarnation of Debian or Debian-derivatives in its 9 years of operation: Etch, Lenny, Squeeze, Wheezy, Jessie, Stretch, Buster. I'm sure it will also run Bullseye. 😉&lt;/p&gt;</description><category>debian</category><category>hardware</category><guid>https://cobra.pdes-net.org/posts/debian-9.html</guid><pubDate>Mon, 19 Jun 2017 18:53:12 GMT</pubDate></item></channel></rss>