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 2,915 other followers

Archive for September, 2022

Krapte op de arbeidsmarkt? Kom eens van jullie luie gat, werkgevers! – NRC

Posted by jpluimers on 2022/09/26

Interessant stuk van Japke: [Wayback/Archive] Krapte op de arbeidsmarkt? Kom eens van jullie luie gat, werkgevers! – NRC

Via: [Wayback/Archive] Japke-d. Bouma on Twitter: “Krapte op de arbeidsmarkt? Ontsla je ‘HR’-afdeling.”

Geralateerd:

Read the rest of this entry »

Posted in Awareness | 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 »

Using styles on just html tr to format the borders of table rows

Posted by jpluimers on 2022/09/22

A long time ago, I found out that by default, you could only format td elements in HTML tables: somehow doing that with just tr failed, and I never understood why.

Since I wasn’t doing a lot of html stuff back then, I just lived with the few occurrences and moved on.

A while ago, I needed html tables again, and – since WordPress.com hosted blogs do not allow CSS style sheets – I had to use inline style attributes. That would bloat many td elements, so I did a [Wayback/Archive.is] html table border below row – Google Search, where the first few hits – all on StackOverflow – tremendously helped my to understand why this was the case and how to fix it:

  • In [Wayback/Archive.is] css – Giving a border to an HTML table row, – Stack Overflow, [Wayback/Archive.is] User Jukka K. Korpela – Stack Overflow explains about the various border models, but only shows a a solution having the CSS style sheet in a style element which WordPress.com disallows:
    You can set border properties on a tr element, but according to the CSS 2.1 specification, such properties have no effect in the separated borders model, which tends to be the default in browsers. Ref.: 17.6.1 The separated borders model. (The initial value of border-collapse is separate according to CSS 2.1, and some browsers also set it as default value for table. The net effect anyway is that you get separated border on almost all browsers unless you explicitly specifi collapse.)
    Thus, you need to use collapsing borders. Example:
    <style>
    table { border-collapse: collapse; }
    tr:nth-child(3) { border: solid thin; }
    </style>
    

    From that, I learned about these:

    • [Wayback/Archive.is] Tables: borders
      There are two distinct models for setting borders on table cells in CSS. One is most suitable for so-called separated borders around individual cells, the other is suitable for borders that are continuous from one end of the table to the other. Many border styles can be achieved with either model, so it is often a matter of taste which one is used.
      border-collapse
      Value: collapse | separateinherit
      Initial: separate
      Applies to: table‘ and ‘inline-table’ elements
      Inherited: yes
      Percentages: N/A
      Media: visual
      Computed value: as specified
      This property selects a table’s border model. The value ‘separate‘ selects the separated borders border model. The value ‘collapse‘ selects the collapsing borders model. The models are described below.
    • [Wayback/Archive.is] Tables: separated borders (default)
    • [Wayback/Archive.is] Tables: collapsing borders
  • In [Wayback/Archive.is] Create table with only bottom border in HTML – Stack Overflow, [Wayback/Archive.is] Martin2904 explains how to solve it with CSS style sheets and inline style attributes, but does not link to the “why”:
    Just use the following code-snippet and paste it in you style.css
    table {
      border-collapse: collapse;
    }
    tr{
      border-bottom: 1px solid black;
    }
    <table>
      <tbody>
        <tr>
          <td>Lorem</td>
          <td>Ipsum</td>
        </tr>
      </tbody>
    </table>
    Without using style.css
    <table style="border-collapse: collapse;">
      <tbody>
        <tr style="border-bottom: 1px solid black;">
          <td>Lorem</td>
          <td>Ipsum</td>
        </tr>
      </tbody>
    </table>

–jeroen

Posted in Software Development, Development, Web Development, CSS, HTML | Leave a Comment »

Select matching element/rename HTML tag in Visual Studio Code – Stack Overflow

Posted by jpluimers on 2022/09/21

I totally missed that in 2019, the F2 key was enabled to rename HTML tags, but it does: [Wayback/Archive.is] Select matching element/rename HTML tag in Visual Studio Code – Stack Overflow:

HTML rename tags
You can now use F2 to rename the opening/closing tag pairs in HTML.
F2 when the cursor is over one of the tags and you will get a little input box with the cursor to input the new tag name and the start/end tags will be replaced with whatever you type upon .
demo of HTML rename tags

[Wayback/Archive.is] Another answer indicates that even more recently, Linked Editing can do the same without even pressing F2. Too bad it is not enabled by default:

No need for extension, this is now cooked into VSCode.
"editor.linkedEditing": true

–jeroen

Posted in .NET, Development, HTML, Software Development, Visual Studio and tools, vscode Visual Studio Code, Web Development | Leave a Comment »

 
%d bloggers like this: