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 April, 2020

Peter Drucker: The Rules of Effectiveness – Personal Growth – Medium

Posted by jpluimers on 2020/04/22

This is so simple and so hard at the same time: [WayBackPeter Drucker: The Rules of Effectiveness – Personal Growth – Medium:

  1. Design the Practice, Not the Person
    This means you have to set schedules when to do things and for how long.
    This is hard in an ever changing, ever interrupting world where tasks are of tough to estimate duration.
  2. Embrace Purposeful Abandonment
    Less+Less==More; which implies you should do a lot less things to be effective. Skip the things you do not really need.
  3. Switch From Exploring to Exploiting
    For me it was hard to understand, especially not being in my 20ies any more for a long time: high reward risky paths are better to be pursued than risk-averse paths.

The cool thing though: Peter Drucker found about all these during his life which was mostly (1909-2005) before computing and social network became ubiquitous.

So yes: the above should be possible in an agile environment.

–jeroen

via: [WayBack] Peter Drucker: The Rules of Effectiveness – Personal Growth – Medium – Marjan Venema – Google+

Posted in Agile, Development, LifeHacker, Software Development | Leave a Comment »

Kelly Sommers on Twitter: “What are some good open ended questions to ask developers or testers in interviews to get them talking?”

Posted by jpluimers on 2020/04/21

Interesting thread: [WayBack] Kelly Sommers on Twitter: “What are some good open ended questions to ask developers or testers in interviews to get them talking?”

–jeroen

Read the rest of this entry »

Posted in Development, Software Development | Leave a Comment »

reStructuredText – document title and subtitle

Posted by jpluimers on 2020/04/21

Always watch how you format your reStructuredText sections: [WayBackDocutils FAQ: 2.6 How can I indicate the document title? Subtitle?

That is why I have these comments at the top of most of my documents:

.. $ %
.. # * = + ^ ~ - : . _ ` ' "

The first two are the document title and subtitle marks, the others the level 1 through 13.

–jeroen

Posted in Development, Lightweight markup language, Power User, reStructuredText | Leave a Comment »

Is there no shortcut in the IDE for Quick Edit?

Posted by jpluimers on 2020/04/21

I hope this feature gets added: [WayBack] Is there no shortcut in the IDE for Quick Edit? – Reinier Sterkenburg – Google+.

The thread evolved into a few posts about failing keyboard handling (including Shift-F10) which has been failing for a long time and known to the development team for almost that time.

Hopefully things like that get fixed one day as well.

–jeroen

Posted in Delphi, Development, Software Development | Leave a Comment »

macOS and Windows Excel Shortcut: Toggle absolute and relative references | Exceljet

Posted by jpluimers on 2020/04/20

Since I tend to forget the Mac shortcut (the Windows one feels like it is in my autonomic nervous system):

  • F4    Windows shortcut
  • ⌘T   Mac shortcut 
While editing a formula, this shortcut toggles cell references from relative to absolute, to partially absolute, back to relative again: A1 –> $A$1 –> A$1— > $A1 — > A1 It’s much faster and easier than typing $ characters manually.
To convert an existing formula, enter cell edit mode, place the cursor in or next to the reference you’d like to convert, then use the shortcut.
Note: in Excel 2016 for the Mac, you can also use fn + F4. 

Source: Excel Shortcut: Toggle absolute and relative references | Exceljet

–jeroen

Posted in Excel, Office, Office 2011 for Mac, Power User | Leave a Comment »

Passing parameters to a Bash function – Stack Overflow

Posted by jpluimers on 2020/04/20

Since I tend to forget this:

  1. you can declare bash functions with parenthesis
  2. you pass parameters to functions space delimited (often people quote each parameter)
  3. within functions you can refer to parameters by number just like the parameters passed to a shell script

More info at:

I think for functions, you can apply what is linked from Some useful links on bash parameters: $1, $*, $@, quotes, etc., so a loop over all parameters in a function is the same as in a script, see [WayBack] shell – how to loop through arguments in a bash script – Unix & Linux Stack Exchange from Gilles:

There’s a special syntax for this:

for i do
  echo "$i"
done

More generally, the list of parameters of the current script or function is available through the special variable $@.

for i in "$@"; do
  echo "$i"
done

Note that you need the double quotes around $@, otherwise the parameters undergo wildcard expansion and field splitting. "$@" is magic: despite the double quotes, it expands into as many fields as there are parameters.

print_arguments () {
  for i in "$@"; do echo "$i"; done
}
print_arguments 'hello world' '*' 'special   !\characters'    # prints 3 lines
print_arguments ''                                            # prints one empty line
print_arguments                                               # prints nothing
 –jeroen

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

How to install patterns in openSUSE and SUSE – TechRepublic

Posted by jpluimers on 2020/04/20

This was much easier than I hoped for: the zypper verbs search and install both support the --type pattern argument.

After that, the names for them are pattern names instead of the normal package names.

So for instance:

zypper search --type pattern
zypper install -type pattern kde kde_plasmaaa

Sources:

–jeroen

 

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

When using a e1000 virtual network adapter under VMware, use the “Intel PRO/1000 MT Server (82545EM)” under Virtual Box

Posted by jpluimers on 2020/04/17

Every now and then I need to run existing VMware based disk under a different virtualisation environment.

In my case, the target was VirtualBox, and the source used a e1000 virtual network adapter.

You find the required settings to migrate to VirtualBox by running this inside the directory of your VMware virtual machine:

grep ethernet *vmx

It gives output like this:

ethernet0.present = "TRUE"
ethernet0.virtualDev = "e1000"
ethernet0.networkName = "VM Network on LAN"
ethernet0.addressType = "generated"
ethernet0.generatedAddress = "00:0c:29:cc:cc:cc"
ethernet0.pciSlotNumber = "32"
ethernet0.generatedAddressOffset = "0"

This is in fact an “Intel 82545EM Gigabit Ethernet NIC” adapter, which VirtualBox calls “Intel PRO/1000 MT Server (82545EM)”.

Another compatible pair is the VMware vlance or “AMD 79C970 PCnet32- LANCE NIC” which VirtualBox calls “AMD PCNet PCI II (Am79C970A)”

First note:

Often the virtual operating system still recognises it as a different adapter. Sometimes you can prevent this by also copying the MAC address (as VirtualBox by default uses a MAC address like 080027CCCCCC.

If it is still wrong, then read [WayBack] PredictableNetworkInterfaceNames: the various ways of assigning network interface names in virtualisation environments tend to mismatch. To fix this, I had to rename /etc/sysconfig/ifcfg-ens32 to the nee interface name I found via if -a.

Second note:

VMware supports two special virtual networks that are accessible from the host: vmnet1 (host-only) and vmnet8(NAT) : both are accessible from the host as VMware installs special network adapters:

  • vmnet1 is the host-only network where the host can talk to the VMs and vice versa, but the hosts cannot talk to the outside world
  • vmnet8 is the NAT network where the host can talk to the VMs and vice versa, but the hosts can talk to the outside world

Some background info at:

Read the rest of this entry »

Posted in Power User, VirtualBox, Virtualization, VMware | Leave a Comment »

.ZIP URLs (or, Why You Should Block Domains on a TLD That Doesn’t Have Any) | Blue Coat

Posted by jpluimers on 2020/04/17

Reminder to self:

Some 5 years after the .zip top-level domain got live, I wonder if there are any domains in it.

Currently, it screws up non-quoted searches in browsers like Chrome, so I wonder if  this still holds: .ZIP URLs (or, Why You Should Block Domains on a TLD That Doesn’t Have Any) | Blue Coat

When writing this, there was one domain (nic.zip) and two registrars.

–jeroen

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

Some quick links on Korian in The Netherlands as they were/are? buying a maze construction of care companies that were on the edge of bankruptcy

Posted by jpluimers on 2020/04/16

A few quick notes, so I at least have some links.

According to the ACM decision PDF, BluePrint Group B.V. and it’s subsidiaries, including de Statenhof in Leiden, were on the verge of bankruptcy in January 2020, and the Korian SA owned structure is supposed to save them.

Edit 20200424

The central phone number of ECR the statenhof (+31883280110) did not get answered for a few days and has now been disconnected by the phone provider. The phone number now listed at Google is +31885057000 which gets you to Ontzorgd Wonen. When being transferred to the Statenhof, you consistently get an “in use” tone.

The old phone number is still listed in many places, like for instance [WayBack] www.latest.facebook.com/DeStatenhof and the email signatures of their personnel. The new phone number is also at [WayBack] De Statenhof Leiden | Wonen met zorg | Ontzorgd Wonen Groep.

Family relations of ECR de Statenhof

These lists are not complete, as I focus on ECR the Statenhof in oder to understand where it will be in a future structure.

CompanyInfo

Drimble

 

Families around the new Korian owner

Companyinfo

Drimble

Information

–jeroen

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