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,860 other subscribers

Archive for September, 2019

Linux command shows a list of all subdirectories that contain a least one .xml file – Thomas Mueller

Posted by jpluimers on 2019/09/09

Via [WayBack] So I don’t forget: The following Linux command shows a list of all subdirectories that contain a least one .xml file… – Thomas Mueller (dummzeuch) – Google+:

[WayBack]Find all subdirectories containing xml files on Linux command line

find . -type f -name '*.xml' | sed -r 's|/[^/]+$||' | sort | uniq

The sed bit is explained in [WayBack] Get list of subdirectories which contain a file matching a string:

The sed command consists of a single substitute. It looks for matches to the regular expression /[^/]+$ and replaces anything matching that with nothing. The dollar sign means the end of the line. [^/]+' means one or more characters that are not slashes. Thus, /[^/]+$ means all characters from the final slash to the end of the line. In other words, this matches the file name at the end of the full path. Thus, the sed command removes the file name, leaving unchanged the name of directory that the file was in.

–jeroen

Posted in *nix, *nix-tools, Power User, sed, sort, uniq | Leave a Comment »

xs4all, vaste IP adressen en reverse DNS

Posted by jpluimers on 2019/09/09

Voor mijn link archief: [WayBack] KPN legt voornemen om te stoppen met Xs4All voor aan ondernemingsraad – IT Pro – Nieuws – Tweakers

–jeroen

Posted in Internet, ISP, Power User, xs4all | Leave a Comment »

BMW E46: cleaning out the internal cabin air temperature sensor

Posted by jpluimers on 2019/09/06

When the internal air temperature sensor becomes dirty over time, heating/airconditioning either thinks it is too warm or too cold inside then over-cools or over-heats.

Cleaning the internal air temperature sensor is simple:

It is behind the little slots on the front of the HVAC control, which has a fan that draws air across the sensor. It can clog up with dirt and need to be cleaned with some compressed air.

If more fails, you can replace it with a more modern unit, see the pictures below that are from [WayBack] Guide To Your BMW E46 HVAC Automatic Climate Control Upgrade by delmarco | DIY

Guide To Your BMW E46 HVAC Automatic Climate Control Upgrade Compliments of delmarco @   http://www.bimmerfest.com Starting during the production month/year of 03/2003 BMW Redesigned the Automatic HVAC Climate Control in the E46 cabin.

Via:

–jeroen

Read the rest of this entry »

Posted in cars, E46 320i touring, LifeHacker, Power User | Leave a Comment »

E46 radio Siemens VDO Business CD – aux tutorial, complete description

Posted by jpluimers on 2019/09/06

No AUX possibility:

AUX possibility:

For the Alpine and VDO models, also check the below tables that I copied from those pages:

Siemens VDO:

Date / Model number letters <= 10-2002 > 10-2002 to 07-2004 > 07-2004
PH CD CD CD, AUX
VD n/a CD, AUX, CD MP3 CD, AUX, CD MP3

Alpine:

Last three digits of part number: 241, 711, 072, 963 902, 903, 505, 506 429, 430, 215
  features: CD CD, AUX CD, AUX, CD MP3

Further reading: [WayBack] Guide to Buying E46 BMW Business CD53 Alpine Radios that play MP3 Data CDs!

–jeroen

Read the rest of this entry »

Posted in cars, E46 320i touring, Hardware, Harman Kardon, Home Audio/Video, LifeHacker, Power User | Leave a Comment »

Stack Exchange – stackoverflow OpenID

Posted by jpluimers on 2019/09/06

If you want to log into any stackoverflow/superuser/serverfault/stackexchange related network using their OpenID, then read the following from [WayBackStack Exchange:

Your Stack Exchange account, or StackID, is a reusable form of public identity that can be used to log in to any website that supports OpenID.

To log in to sites in the Stack Exchange network:

  • click the “Log In with Stack Exchange” button

To log in to websites that support OpenID:

  • enter the URL https://openid.stackexchange.com

–jeroen

Posted in Pingback, Power User, Stackoverflow | Leave a Comment »

Money quote: “Reliability is valued far more than new features”

Posted by jpluimers on 2019/09/06

Remember:

  • Money quote: “Reliability is valued far more than new features”
  • Here’s the thing: As soon as your device is on a network, “stasis == reliability” is false.

There’s really no point in attempting to “but” or “what if” this – it’s just wrong. Sadly, while uptake of networking is rapidly approaching 100%, understanding of this point is still hovering near zero.

via:

–jeroen

Background:

Posted in LifeHacker, Power User | Leave a Comment »

Firebird 3.x SQL Language Changes

Posted by jpluimers on 2019/09/05

Since I likely need these [WayBack] SQL Language Changes in the future (some breaking Firebird 2.x habits).

The odd thing is that I got there looking for “no column name specified for column number 1 in derived table” when doing some weird CTE query things in Firebird 2.5x

–jeroen

Posted in Database Development, Development, Firebird | Leave a Comment »

Every time I try, I’m reminded of: You Don’ t Know JavaScript

Posted by jpluimers on 2019/09/05

I forgot how I originally bumped into the book series, but every time I try to program in JavaScript I’m reminded of them: You Don’ t Know JavaScript.

Originally a KickStarter project, they are now on GitHub and there is a Twitter account irregularly posting about them:

Titles

–jeroen

Read the rest of this entry »

Posted in Development, JavaScript/ECMAScript, Scripting, Software Development | Leave a Comment »

Python “NameError: name ‘socket’ is not defined”

Posted by jpluimers on 2019/09/05

I bumped into this a while ago, but could not find back the code example showing it, so below is the SO question to solve it:

NameError: name 'socket' is not defined

[WayBackHow to refer to a standard library in a logging configuration file?

Related: [WayBack[Tutor] Socket error in class

–jeroen

Posted in Development, Python, Scripting, Software Development | Leave a Comment »

Early version of Apple II Logo. · PDP-10/its-vault@4145dea · GitHub

Posted by jpluimers on 2019/09/04

[WayBack] Early version of Apple II Logo. · PDP-10/its-vault@4145dea · GitHub:

Early version of Apple II Logo.

Written by:
- Stephen L. Hain
- Patrick G. Sobalvarro
- Leigh L. Klotz

Brows the source files at [WayBack] its-vault/files/aplogo at master · PDP-10/its-vault · GitHub.

Via Lars Brinkhoff – Google+ commenting at [WayBack] This week, Logo on the 6502, in honour of Seymour Papert who died this week. He did a lot more, but Logo is a lasting and perhaps most visible contribut… – mos6502 – Google+.

Instructions at [WayBack] its-vault/usage.doc at master · PDP-10/its-vault · GitHub

–jeroen

Posted in //e, Apple, Apple ][, Development, Power User, Software Development | Leave a Comment »