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 4,227 other subscribers

Archive for December 15th, 2021

Always develop and test your application on multi-core machines

Posted by jpluimers on 2021/12/15

It’s an advice from a very long time ago, but wort to repeat every 20 years or so.

Develop and test your code on multi-threaded machines, not in single threaded VMs.

[Archive.is] Jeroen Wiert Pluimers on Twitter: “This sounds like @danny_thorpe on a BorCon some 20 years ago in the Windows XP era. Thread slices going down from ~10 millisecond to CPU instruction execution magnitude highly increases the chance of race conditions.… “

–jeroen

Read the rest of this entry »

Posted in Development, Software Development | Leave a Comment »

Easiest way to move the C:\MSOCache directory to another drive is to create symbolic link to the new location

Posted by jpluimers on 2021/12/15

I always forget that, when moving a folder, instead of finding all references to that folder and fixing them, you can create an NTFS symlink from the old location to the new one.

[Wayback] how to move MSOCACHE folder from C-drive to D-drive ?? – Microsoft Community (thanks [Wayback] tgunda numbering and casing updates mine):

There are too much entries in the registry to correct them manually one by one.

An easier and quicker solution is to copy the full MSOCache folder to a new place and to make a soft link to it:
  1. Create a new folder, e.g. F:\MSOCache
  2. Copy everything from C:\MSOCache to the new one.
  3. Rename the old folder  C:\xMSOCache  (Don’t delete it, just in case).
  4. Open a command prompt window in administrator mode.
  5. Write:  mklink /d c:\MSOCache f:\MSOCache
Now there is an MSOCache link at C, pointing to the new place.
If everything is OK, you can delete  C:\xMSOCache

This can be very handy when moving around large software development installations, circumventing a full uninstall/install sequence loosing lots of configuration settings.

–jeroen

Posted in Development, LifeHacker, Office, Power User, Software Development, Windows, Windows Development | Leave a Comment »

Operame: Dutch open source CO2 sensor device for indoor usage: shows green/yellow/red for good/okay/bad CO2 ppm levels

Posted by jpluimers on 2021/12/15

Since all information is in Dutch, I keep only the title and this short explanation in English.

[Archive.is] Sebastian Oort on Twitter: “Gaat jouw school binnenkort weer open? Wil je jouw klas veiliger maken? Hang een CO2 sensor op. Ze zijn weer op voorraad bij OperameNL ! We hebben nog ruim 100 stuks op voorraad en maandag komen de volgende 250 binnen! @OperameNL van @revspacenl… “

 

Read the rest of this entry »

Posted in Development, ESP32, Hardware Development, Hardware Interfacing, Software Development | Leave a Comment »

 
%d bloggers like this: