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

Nutribullet does not activate – activators jammed

Posted by jpluimers on 2018/02/09

Even when keeping a Nutribullet clean, the activators can jam. One day the white lids activating the spinning mechanism were just stuck.

So below are some links that helped resolving it. They come down to get some liquid between the white lids and casing to loosen any staining.

Some people use WD-40, oil, water with vinegar or oil and vinegar. We just used some fairly hot water and a blunt knife to carefully push each white lid down.

I found most of the videos before getting the right search terms and bumping into the other links. For ease of reading, the videos are at the end.

–jeroen

Videos:

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

ups.com -> expensive; upstoday.com -> affordable

Posted by jpluimers on 2018/02/09

Reminder to self:

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »

Scott Hanselman on Witter: “Why should I care about Kubernetes, Docker, and Container Orchestration?”

Posted by jpluimers on 2018/02/08

An important question for many people, so if you want to know more or get started: [WayBack] Scott Hanselman on Twitter: “Why should I care about Kubernetes, Docker, and Container Orchestration?” followed by:

Yes, AKS is Azure Container Services (go figure!).

Notes

  • For burning, Scott recommends [WayBack] Etcher: Burn images to SD cards & USB drives, safely and easily (which is now also available as experimental [WayBackEtcher CLI), I tended to use a script like below since I’m a command-line person, but since Etcher does write and verify in one run, I’m considering switching:
    1. find where the SD card is mounted on your Mac: diskutil list
    2. sudo su -
    3. execute this from the directory where you downloaded filling in targetDevice with the value from diskutil list

    targetDevice="disk9"
    imageName="2017-11-29-raspbian-stretch-lite"
    unzip -o ${imageName}.zip
    diskutil umount "/dev/${targetDevice}s1"; \
    dd bs=1m of="/dev/r${targetDevice}" if=${imageName}; \
    sync; \
    diskutil list; \
    diskutil eject "/dev/${targetDevice}"

–jeroen

Posted in Cloud, Containers, Docker, Infrastructure, Kubernetes (k8n), Power User | Leave a Comment »

Iterations Mean Rapid Feedback — Agile Heretic Episode Five

Posted by jpluimers on 2018/02/08

Though sprints help maintaining some rhythm, don’t let them dumb you down:

Have you ever run for real, then run on a treadmill? Running for real means that you have a pace, hopefully sustainable, and off you go. If…

Source: [WayBackIterations Mean Rapid Feedback — Agile Heretic Episode Five

Via: [WayBack] Iterative development does not mean timeboxed or repetitive development. – Marjan Venema – Google+ (who is a great coach)

Which reminded me I should order and read [WayBackPersonal Kanban: Mapping Work | Navigating Life: Jim Benson, Tonianne DeMaria Barry: 9781453802267: Amazon.com: Books

–jeroen

Read the rest of this entry »

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

Stuff on my research list thanks to Martijn Laarman (@Mpdreamz)

Posted by jpluimers on 2018/02/08

Quite some time ago, I attended a great introductory elasticsearch/kibana workshop by Martijn Laarman (@Mpdreamz, github.com/Mpdreamz and SO martijn-laarman) that lead me into researching a lot of interesting new things:

–jeroen

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

api-ai-interface I started playing with API.AI a while ago (because of Googl…

Posted by jpluimers on 2018/02/08

Time to look back to see how this has evolved: [WayBack] api-ai-interface – I started playing with API.AI a while ago (because of Google Actions), and thought it would be nice to have an easy way to include a c… – Gerwin Sturm – Google+

References:

–jeroen

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

Mixing x64 Outlook with x86 Delphi: never a good idea…

Posted by jpluimers on 2018/02/07

Via [WayBack] Hi all,I’m a bit stuck here with a “simple” task.Looks like Outlook 2016 doesn’t supports “MAPISendMail”, at least, if i trigger this, Thunderbird… – Attila Kovacs – Google+:

Basically only MAPISendMail works cross architecture and only if you fill all fields.

This edited [WayBackemail – MAPI Windows 7 64 bit – Stack Overflow answer by [WayBack] epotter is very insightful (thanks [WayBackRik van Kekem – Google+):

Calls to MAPISendMail should work without a problem.

For all other MAPI method and function calls to work in a MAPI application, the bitness (32 or 64) of the MAPI application must be the same as the bitness of the MAPI subsystem on the computer that the application is targeted to run on.

In general, a 32-bit MAPI application must not run on a 64-bit platform (64-bit Outlook on 64-bit Windows) without first being rebuilt as a 64-bit application.

For a more detailed explanation, see the MSDN page on Building MAPI Applications on 32-Bit and 64-Bit Platforms

–jeroen

Posted in Delphi, Delphi x64, Development, Office, Outlook, Power User, Software Development, x86 | Leave a Comment »

pandas/Pandas_Cheat_Sheet.pdf at master · pandas-dev/pandas

Posted by jpluimers on 2018/02/07

pandas – Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more

Pandas is on my research list. Some links to get started:

–jeroen

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

Anti Patterns Catalog

Posted by jpluimers on 2018/02/06

Recommended for any software developer or architect: browse [Archive.isAnti Patterns Catalog and re-read it 6-12 months later, then contemplate if you have improved.

Summary:

This catalog lists AntiPatterns in two ways:

–jeroen (who is re-reading right now).

via:

Posted in Design Patterns, Development, Software Development | Leave a Comment »

Removing double quotes from variables in batch file creates problems with CMD environment – Stack Overflow

Posted by jpluimers on 2018/02/06

Thanks [WayBackMr. Rick for the answer as this is exactly the bit I needed:

Input:

set widget="a very useful item"
set widget
set widget=%widget:"=%
set widget

Output:

widget="a very useful item"
widget=a very useful item

[WayBackRemoving double quotes from variables in batch file creates problems with CMD environment – Stack Overflow

This trick is convenient in cases like this:

set LocalHostsFile="%windir%\System32\drivers\etc\hosts"
set LocalHostsTemplate="%LocalHostsFile:"=%.template"

The above replaces ALL double quotes with nothing.

If you want to smart replace (like done when de-quoting CSV), you need a bit more complex code like described in [WayBack] batch file – Remove quotes from named environment variables in Windows scripts – Stack Overflow, where you basically have two options:

  • assigning inside a for loop
  • assigning inside a subroutine

Both work because parameters used like %~x do get their quotes removed; you cannot use that syntax on plain variables.

–jeroen

Posted in Batch-Files, Development, Scripting, Software Development | 3 Comments »