The Wiert Corner – irregular stream of stuff

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

  • My badges

  • Twitter Updates

  • Pages

  • All categories

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

    Join 1,854 other subscribers

Operant Conditioning by Software Bugs – Embedded in Academia

Posted by jpluimers on 2020/07/21

Good to remember both these:

[WayBack] Operant Conditioning by Software Bugs – Embedded in Academia which means when using a system, you subconsciously start behaving around it’s issues. This also happens when you the software you wrote the software for such a system: you hardly test the things that you broke.

The magic SysReq key on Linux systems running on PC-hardware allows you to sync/mount read-only/shutdown a system by keyboard (and many more options – see the Wikipedia list below). Do not forget to enable this as it is disabled by default. And remember that many laptops forego the SysReq key (as do Mac systems).

The order while holding Alt-SysReq down is S,U,B…

Both via [WayBack] Kristian Köhntopp – Google+

–jeroen

Read the rest of this entry »

Posted in *nix, *nix-tools, Development, Keyboards and Keyboard Shortcuts, Power User, Software Development, ThinkPad | Leave a Comment »

🔎Julia Evans🔍 auf Twitter: “an amazing directory: /proc… “

Posted by jpluimers on 2020/07/20

So cool: 🔎Julia Evans🔍 auf Twitter: “an amazing directory: /proc… “:

–jeroen

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

google chrome – How to hide the bookmark bar? – Super User

Posted by jpluimers on 2020/07/20

So I wondered why on some tabs, the bookmark bar would never disappear:

Chrome’s default new tab page (NTP) always shows a bookmark bar, even if you turn it off for other pages. You can however install browser extensions which replace the NTP, and the replacements do not automatically get the bookmarks bar (but can with some extra programming).

So for instance Google’s Earth View extension does not show bookmarks, whereas Pinterest’s now does.

Thanks deltab for answering this at [WayBack] google chrome – How to hide the bookmark bar? – Super User

–jeroen

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

Eject USB drives / eject command – Unix & Linux Stack Exchange

Posted by jpluimers on 2020/07/20

I always thought than an umount /dev/sdX# for all partitions on /dev/sdX was enough for USB devices to be ejected, but there are three commands that (on most systems) actually power down USB drives (or USB to SD card adapters):

  • udisks --detach /dev/sdX (requires the udisks package which is obsolete)
  • eject /dev/sdX seems not to be enough on some systems; it is part of the util-linux package
  • udisksctl power-off -b /dev/sdX is equivalent to the udisks command; it is part of the udisks2 package.

These will ensure that the disk is not part of the fdisk --list output any more.

The opposite of these is sg_start, which is from the sg3_utils package.

Source: [WayBack] Eject USB drives / eject command – Unix & Linux Stack Exchange

On MacOS, you can use  diskutil eject /Volumes/<LABEL> (source: answer by efesaid on [WayBack] Eject USB drives / eject command – Unix & Linux Stack Exchange)

–jeroen

Posted in *nix, *nix-tools, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »

Colorectal Cancer: Stages | Cancer.Net

Posted by jpluimers on 2020/07/18

For my link archive:

These explain the below stagings.

  • cT3N1Mx:
    • c: stage determined before treatment
    • T3: tumor invades through the muscularis propria into the pericolorectal tissues
    • N1: regional lymph node metastasis suspicious in 1-3 lymph nodes
    • Mx: could not be evaluated for distant metastasis
  •  cT3bN1Mx:
    • c: stage determined before treatment
    • T3b: 1-5 mm extension beyond muscularis propria
    • N1: regional lymph node metastasis suspicious in 1-3 lymph nodes
    • Mx: could not be evaluated for distant metastasis
  •  cT3N1M0:
    • c: stage determined before treatment
    • T3: tumor invades through the muscularis propria into the pericolorectal tissues
    • N1: regional lymph node metastasis suspicious in 1-3 lymph nodes
    • M0: no distant metastasis
  • cT3bN1M0:
    • c: stage determined before treatment
    • T3b: 1-5 mm extension beyond muscularis propria
    • N1: regional lymph node metastasis suspicious in 1-3 lymph nodes
    • M0: no distant metastasis
  • cT3bN1:
    • c: stage determined before treatment
    • T3b: 1-5 mm extension beyond muscularis propria
    • N1: regional lymph node metastasis suspicious in 1-3 lymph nodes
  • ypT2N1a:
    • yp: stage determined after chemotherapy (y) and histopathologic (p), in this case also after surgeries of both tumor and metastases
    • T2: size of tumor
    • N1a: regional lymph node metastasis present in 1 lymph node
    • No M means no metastasis detectable

–jeroen

Posted in About, LifeHacker, Personal, Power User, science | Leave a Comment »

EU-Hof haalt streep door Privacy Shield en blokkeert datatransfers naar VS – IT Pro – Nieuws – Tweakers

Posted by jpluimers on 2020/07/18

For my link archive a good article and nice discussion thread:

Privacy Shield, het data-uitwisselingsverdrag tussen de EU en de VS, is van tafel. Volgens het Hof is het strijdig met de GDPR. De ‘standaard contractuele clausules’ blijven wel bestaan, maar door de surveillance in de VS wordt ook dat instrument voor de datadoorgiften een lastig verhaal.

[WayBack/Archive.is] EU-Hof haalt streep door Privacy Shield en blokkeert datatransfers naar VS – IT Pro – Nieuws – Tweakers

[WayBack/Archive.is] Wie toestemming onder de AVG vraagt, snapt de AVG niet (of heeft een nieuwsbrief) – Ius Mentis

–jeroen

Posted in GDPR/DS-GVO/AVG, Power User, Privacy, Security | Leave a Comment »

linux – ssh_exchange_identification: Connection closed by remote host (not using hosts.deny) – Unix & Linux Stack Exchange

Posted by jpluimers on 2020/07/17

I had this one day connecting to a guest:

debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
Connection closed by 192.168.71.81 port 22

The cause was indeed a heavily overloaded box that would not respond in time to any actual data sent over network requests, but would accept the initial TCP connection.

Logging on the console also failed, but the memory and CPU usage on the wrapping host was out of the roof.

The only solution was to soft power-cycle the guest.

Very similar to:

You can also have a host who’s memory is so badly fragmented that it can’t allocate a page a contiguous memory to fork the process for hosting an SSH session.

In such a case, you can get either of the messages:

ssh_exchange_identification: read: Connection reset by peer

or:

Connection closed by aaa.bbb.ccc.ddd

depending on how far the host gets before it bails out.

If memory fragmenting is the apparent cause, the solution is to access the server via other means and to restart some of the pertinent services. I have found Apache and MySQL to be the culprit on VM’s since VM’s don’t have a swap partition. Failing that, reboot the host.

Via: [WayBacklinux – ssh_exchange_identification: Connection closed by remote host (not using hosts.deny) – Unix & Linux Stack Exchange

–jeroen

Posted in *nix, *nix-tools, Power User, ssh/sshd | Leave a Comment »

Windows 7 Hosts File Ignored: recreate it and you’re back in business

Posted by jpluimers on 2020/07/17

Wow: I never noticed this before, but thinking back it has happened to me at least a few times years ago: [WayBack] Windows 7 Hosts File Ignored.

The trick is to create a new hosts file as Administrator.

I thought it had to do with proper line endings: Notebad messes those up every now and then. But I was wrong: even with Notepad++ this happens, see [WayBack] I just had to trouble shoot a Windows XP (!) issue where the entries in the hosts file were being ignored. The change that actually worked was: 1. Crea… – Thomas Mueller (dummzeuch) – Google+

–jeroen

Posted in Power User, Windows | Leave a Comment »

openSUSE forums tips

Posted by jpluimers on 2020/07/17

A few tips from posting to the openSUSE forums, learned from banging my head to the wall too often.

  • They are at https://forums.opensuse.org/forum.php
  • The forum software can be very slow at times taking ~tens of seconds for loading a post:
    • loading multiple posts or pages of posts you are interested in multiple tabs speeds up your reading a lot
  • Answers on the post often are along the form “has been answered before” without pointing to the actual link, even if the post is marked with a read icon, for instance in [WayBack] No option to “keep me logged in on this device” with Novell/openSUSE login?
  • Your email is not your username, so do not use it during logon: [WayBack] Lousy log in
  • The search function in the forum is horrible.
  • The forum software is proprietary (vBulletin – Wikipedia) and has a
  • When writing/replying to posts:
    1. Edit your answer off-line, because
      • you will automatically be logged off even if the forum indicates you are still logged on (there is no count down of the activity timer), see
      • when you re-logon, your carefully edited text has been lost from the cache
    2. Never use formatting, either auto-introduced, or introduced while pasting, avoid BB-code
      1. Reasoning
      2. Though the forum supports BB code, NNTP news readers do not, and the added formatting gives quite a mess
      3. Use the text (“Source mode”) version of the editor, by first clicking the left most button: “Source”

        • After this, the third and fourth button get greyed out:
      4. Remove formatting button is the second from the left (in both text and WYSIWIG mode): “Remove format”
      5. If you are in WYSIWIG mode, then always paste using the third button from the left that strips formatting: “Paste as plain text”
      6. NEVER EVER paste with formatting with the fourth button from the left: “Paste from Word”

–jeroen

Posted in *nix, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »

LOW-TECH MAGAZINE

Posted by jpluimers on 2020/07/16

Below is a cool site that I do not just list because I like the site, but also that they have a solar powered server running a low-tech version of it.

[WayBack] LOW-TECH MAGAZINE

Doubts on progress and technology

It actually started as a Dutch site, is ran by a Belgian now living in Barcelona. This means many articles are available in various languages, not just English and Dutch, but many also in French, German, Spanish, and Italian. Some articles are only available in English or Dutch.

Via: [WayBack] The last c’t Magazin +c’t magazin mentioned lowtechmagazine.com and I have already spent hours reading various articles there … – Thomas Mueller (dummzeuch) – Google+

Here are some more links.

Dutch

English

Read the rest of this entry »

Posted in Development, Hardware Development, LifeHacker, Power User, Solar Power | Leave a Comment »