The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for the ‘Power User’ Category

LPRng: RESOURCES – PostScript, Epson, HP, Xerox, PPD, etc

Posted by jpluimers on 2022/09/28

When writing Some links on PostScript books and online content, back from the days, I archived [Wayback] Index of /RESOURCES from the site hosting the [Wayback/Archive.is] LPRng Web Page (see also LPRng on Wikipedia):

The LPRng software is an enhanced, extended, and portable implementation of the Berkeley LPR print spooler functionality. While providing the same interface and meeting RFC1179 requirements, the implementation is completely new and provides support for the following features: lightweight (no databases needed) lpr, lpc, and lprm programs; dynamic redirection of print queues; automatic job holding; highly verbose diagnostics; multiple printers serving a single queue; client programs do not need to run SUID root; greatly enhanced security checks; and a greatly improved permission and authorization mechanism.

The source software compiles and runs on a wide variety of UNIX systems, and is compatible with other print spoolers and network printers that use the LPR interface and meet RFC1179 requirements.

Subdirectories (the PPD one goes one level deeper with both files and directories; XEROX just has a subdirectory with one file):

–jeroen

Posted in Development, EPS/PostScript, Hardware, HP Printer Drivers, Power User, Printer drivers, Printers, Software Development, Windows | Leave a Comment »

The Hardware Hacking Handbook | No Starch Press

Posted by jpluimers on 2022/09/27

Want: [Wayback] The Hardware Hacking Handbook | No Starch Press

The Hardware Hacking Handbook

Breaking Embedded Security with Hardware Attacks
by Colin O’Flynn and Jasper van Woudenberg
November 2021, 512 pp.
ISBN-13:
9781593278748
Print Book (PREORDER) and FREE Ebook, $49.99
Ebook (PDF, Mobi, and ePub), $39.99
Hardware Hacking Handbook Cover

Via:

Some topics in the book are listed in [Archive.is] Colin O’Flynn on Twitter: “A random thread about a few things that @jzvw and I packed into The Hardware Hacking Handbook (note – this twitter thread is an advertisement, don’t be tricked into thinking this will be some nice useful stand-alone content). Roughly following book order:”.

–jeroen

Read the rest of this entry »

Posted in Development, Hardware, Hardware Development, IoT Internet of Things, Network-and-equipment, Power User | Leave a Comment »

Isotopp’s classic IT book collection

Posted by jpluimers on 2022/09/26

This is too cool!

PSTN, ISDN, data communication, networking, Sendmail, Postfix, Exim, C, C++, Unix, Linux you name ancient but relevant stuff and it is there.

  1. [Archive.is] Kristian Köhntopp on Twitter: “Ich hab hier diese …… “
  2. [Archive.is] Kristian Köhntopp on Twitter: “Exotische Sprachen sind exotisch. Aus dem Postscript-Buch hab ich immerhin noch eine Signature bekommen. … “

Some pictures below the signature.

The isotopp and PostScript explanation is in my post How isotopp became the online handle of Kristian Köhntopp.

Via: [Archive.is] Kristian Köhntopp on Twitter: “Weird Books: … “

–jeroen

Read the rest of this entry »

Posted in History, Retrocomputing | Leave a Comment »

Jan Tessel heeft een handboek geschreven ‘Kiezen van geschikte warmtepomp’; kost inclusief verzendkosten weinig: handig materiaal!

Posted by jpluimers on 2022/09/23

Voor als je je wilt voorbereiden om te zien welke warmtepomp je het beste kunt bestellen: [Wayback Energie-Waterland.nl/ is website van mijn werk on Twitter: “Heb handboek geschreven ‘Kiezen van geschikte warmtepomp’ Met positieve tekst kan lezer kiezen welk type warmtepomp het beste past bij de eigen woning…”

Inclusief verzenden kost 1 exemplaar EUR 12. Bij grotere aantallen korting op het boek en de verzendkosten, zie [Wayback/Archive] energie-waterland.nl: Over ons.

De inhoudsopgave:

Read the rest of this entry »

Posted in Awareness, Climate change, LifeHacker, Power User, Solar Power | Leave a Comment »

Python Breaking Distance calculator (includes the German DIN 1451 font for traffic signage)

Posted by jpluimers on 2022/09/20

If you ever want a good visual representation to compare the breaking distance for a car at two different speeds, and see at what speed you will hit the human “obstacle”, then use the Python script mkbremsweg.py.

Git repository: [Wayback/Archive.is] joschtl / bremsweg · GitLab.

The image is generated in the current directory

It probably won’t work on Windows as it dynamically builds a very long command-line calling ImageMagick tool [Wayback/Archive.is] convert once to do all the drawing.

The text in the picture for now is hardcoded in German, but would be easy to adopt.

The fonts used are and FreeSans and [Wayback/Archive.is] Alte DIN 1451 Mittelschrift Font Family · 1001 Fonts (which the Germans use for Traffic Signage and is very similar to fonts used in other countries).

Calculations are based on [Wayback/Archive.is] Bremsweg-Rechner für Anhalteweg & Bremsweg – Johannes Strommer.

Via:

–jeroen

Posted in *nix, *nix-tools, cars, Development, ImageMagick, LifeHacker, Power User, Python, Scripting, Software Development, Traffic, Windows | Leave a Comment »

Add AirPlay to Your Classic Stereo with an Old Apple TV – TidBITS

Posted by jpluimers on 2022/09/19

[Wayback/Archive.is] Add AirPlay to Your Classic Stereo with an Old Apple TV – TidBITS which has a good description including a list of needed parts:

  • Second- or third-generation Apple TV
  • Power cable
  • TOSLINK Digital-to-Analog (D/A) Converter
  • Pair of RCA Cables

These are only needed the first time to setup the Apple TV 2nd or 3rd generation:

  • HDMI Cable
  • Remote

Note that the Apple TV 4th generation or Apple TV 4K devices won’t work: they lack a TOSLINK interface.

You can work around this by using an HDMI audio extractor [Wayback/Archive.is]. Some can provide S/PDIF / TOSLINK output, others can directly do line out (so you do not need the above TOSLINK D/A converter):

Usually the Apple TV 2nd or 3rd generation solution is way cheaper, as they go for very little money on second hand sites.

–jeroen

Posted in Apple, Apple TV, Hardware, Home Audio/Video, iOS, Power User | Leave a Comment »

Converting an html dl (delimited list) on a page to a table from the Chrome console

Posted by jpluimers on 2022/09/14

A while ago, I wanted to convert the dl delimited list html element on a web page into a regular table so I could more easily reorder the data into cells.

So I ran the below bit of code in the Chrome Console after first putting the mentioned table with id here_table in the place where I wanted the table to be included:


<table id="here_table"></table>

view raw

_table.html

hosted with ❤ by GitHub


var arr = $("#delimitedList").children().map(function () {
return $(this).html();
}).get();
for (var i = 0; i < arr.length; i += 2) {
$('#here_table').append('<tr><td>' + arr[i] + '</td><td>' + arr[i + 1] + '</td></tr>');
}

For this script to work, you need jQuery, so yesterday I wrote Better, Stronger, Safer jQuerify Bookmarklet | Learning jQuery.

The code is based on [Wayback/Archive.is] Rebuild each definition list () as a table using JQuery – Stack Overflow (thanks [Wayback/Archive.is] easy!) with an important adoption instead of calling text() to get the textual dt and dd information, it uses html() so the original innerHTML is being preserved.

Some similar JavaScript pieces of code are at [Wayback/Archive.is] Turning HTML into a nested JavaScript array with jQuery – Stack Overflow.

Related:

–jeroen

Posted in Bookmarklet, Chrome, Development, Google, JavaScript/ECMAScript, jQuery, Pingback, Power User, Scripting, Software Development, Stackoverflow, Web Browsers, Web Development | Leave a Comment »

On my list of things to try: chrome flag: global-media-controls (older article, it’s live in stable now)

Posted by jpluimers on 2022/09/12

[WayBack] Roderick Gadellaa on Twitter: “My new favorite chrome flag: global-media-controls (older article, it’s live in stable now)… “

[WayBack ]Chrome is testing new media playback controls that can even work with background tabs

To enable to controls, head to chrome://flags/#global-media-controlsAfter a browser restart, you’ll see a play button in your toolbar next to the extensions whenever you have media playing in Chrome. Clicking it will show the title of what’s playing, where it’s playing from, and provide play/pause and skip buttons.

–jeroen

Posted in Chrome, Google, Power User | Leave a Comment »

Kristian Köhntopp on Twitter: “The point being: If you work the other way around, and make Remote First work, if you read and follow @xahteiwi’s reasoning, then it is also really easy to make hybrid work.”

Posted by jpluimers on 2022/09/09

By now, it should be quite clear which companies who’s work is suitable for remote work, have adopted a Remote First plan, and taken the employees from the companies that do not have, or have a bad Remote First plan.

Succeeding in setting up an hybrid remote/local situation highly depends on your definition of hybrid, so the whole thread is relevant including these two:

Initiated by [Wayback/Archive.is] Amazon will allow many employees to work remotely indefinitely | Hacker News and [Wayback/Archive.is] Amazon will allow many employees to work remotely indefinitely | The Seattle Times

Basically hybrid you not only need to get Remote First done, but also ensure that Remote First does not give those any better or worse chance for promotion.

–jeroen

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

Avoid writing the deep security layers of your software yourself, as it is hard, even for seasoned security software developers (see CVE-2021-41117 | GitHub Security Lab)

Posted by jpluimers on 2022/09/08

I’ve mentioned this in the past, but not sure I did that on my blog yet, so here it goes:

Avoid writing the deep security layers of your software yourself, as it is hard, even for seasoned security software developers.

Push as much as you can to well tested external libraries.

See for instance [Wayback/Archive.is] GHSL-2021-1012: Poor random number generation in keypair – CVE-2021-41117 | GitHub Security Lab

Three went wrong, leading to easy to guess RSA security keys:

  1. The library has an insecure random number fallback path. Ideally the library would require a strong CSPRNG instead of attempting to use a LCG and Math.random.
  2. The library does not correctly use a strong random number generator when run in NodeJS, even though a strong CSPRNG is available.
  3. The fallback path has an issue in the implementation where a majority of the seed data is going to effectively be zero.

The most important thing that went wrong was seeding the random number generator, cascading

Via:

–jeroen

Posted in Development, Encryption, Hashing, Power User, Security, Software Development | Leave a Comment »