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

You should not delete the folder C:\ProgramData\Package Cache\? – Super User

Posted by jpluimers on 2016/06/03

Do NOT delete the folder "C:\ProgramData\Package Cache".

But you can move it to another storage and link to it so when you change/update/remove Visual Studio 2012, you still have access to it.

More details at windows – Can I delete the the folder C:\ProgramData\Package Cache\? – Super User.

–jeroen

Posted in .NET, Development, Software Development, Visual Studio 2012, Visual Studio and tools | Leave a Comment »

Chrome “Developer Tools” to the rescue. Literally: to salvage a pending forum post.

Posted by jpluimers on 2016/06/02

Lessons learned

  1. Don’t trust online text entry.
  2. Always compose answers in an external text editor, preferably one that understands the markup used (Atom often is a good choice).
  3. Post when ready.
  4. Wonder why every forum software seems to have invented their own markup.

The story

A few weeks ago, while composing an extensive answer on the Scooter Software: Home of Beyond Compare (a tool which – like any development tool – I really love, but sometimes hate): Keyboard handling driving me nuts: how to make it work like BC for Windows, I pressed the “Image” button which:

  1. Made all the edited text to dim and non-selectable
  2. Failed an image selection to show

It was more than an hour of work, so I was determined to try obtaining at least the post text.

Read the rest of this entry »

Posted in Uncategorized | Leave a Comment »

SmartBear AQTime links

Posted by jpluimers on 2016/06/02

Since they’re hard to find on-line, and sometimes I need them when not having access to my collective browser or email history:

Notes:

  1. The AQTimeDemo.exe is the same as the latest AQTime###.exe (functionality depends in license).
  2. The installation from Windows Explorer sometimes fails with the below message. Installation from the command-prompt works, but you need to run it from an Administrator command-prompt:

---------------------------
E:\TEMP\AQtime824.exe
---------------------------
Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.
---------------------------
OK
---------------------------

To get going for my special case, I watched some sample videos (which I did get to work in Internet Explorer but not in Chrome forty-something):

I needed it to do some profiling comparisons of services running under different configurations.

Read the rest of this entry »

Posted in .NET, Debugging, Delphi, Development, MAP Symbol Information, Profiling-Performance-Measurement, Software Development, TD32/TDS Symbol information, Visual Studio and tools | Leave a Comment »

BBC – Autos – Lego’s 2,704-piece Porsche is not a toy

Posted by jpluimers on 2016/06/01

Reminder to self: see if lego set 42056 has been released yet:

The Danish brickmaker’s new Technic 911 GT3 RS set is beautiful, desirable and slightly scary — not unlike the actual car.

Source:

–jeroen

Posted in About, LifeHacker, Personal, Power User | 1 Comment »

bash – How do I find all of the symlinks in a directory tree? – Stack Overflow

Posted by jpluimers on 2016/06/01

I needed to find the symlinks in /etc pointing to directories and know both the name and place they point to.

revue:~ # ls -al `find -L /etc/ -xtype l -type d`
find: ‘/etc/ssh/broken/ssh_host_dsa_key’: Too many levels of symbolic links
find: ‘/etc/ssh/broken/ssh_host_ecdsa_key’: Too many levels of symbolic links
find: ‘/etc/ssh/broken/ssh_host_key’: Too many levels of symbolic links
find: ‘/etc/ssh/ssh_host_ecdsa_key’: Too many levels of symbolic links
find: ‘/etc/ssh/ssh_host_dsa_key’: Too many levels of symbolic links
find: ‘/etc/ssh/ssh_host_key’: Too many levels of symbolic links
lrwxrwxrwx 1 root root 19 May  7 15:43 /etc/apparmor.d/cache -> /var/cache/apparmor
lrwxrwxrwx 1 root root  6 Sep 28  2014 /etc/rc.d -> init.d
lrwxrwxrwx 1 root root 26 May 23 13:50 /etc/squid/errors -> /usr/share/squid/errors/de
lrwxrwxrwx 1 root root 28 Mar 25 22:07 /etc/ssl/certs -> /var/lib/ca-certificates/pem
lrwxrwxrwx 1 root root 18 Apr 30 14:20 /etc/xdg/systemd/user -> ../../systemd/user

–jeroen

via: bash – How do I find all of the symlinks in a directory tree? – Stack Overflow.

Posted in *nix, *nix-tools, bash, bash, Development, Linux, openSuSE, Power User, Scripting, Software Development, SuSE Linux | Leave a Comment »

Na de VAR: de voorbeeldovereenkomst ICT

Posted by jpluimers on 2016/05/31

Onder het mom “Leuker kunnen we het niet maken, ook niet makkelijker” even wat linkjes en notities, want het is allemaal verwarrend sinds de VAR is afgeschaft.

Let op: bij het aanpassen van de overeenkomst en bijlage moet je dit in acht nemen:

Gemarkeerde bepalingen

In deze overeenkomst zijn de artikelen met de voorwaarden die van belang zijn bij het bepalen of er sprake is van een dienstbetrekking, gemarkeerd. De niet-gemarkeerde artikelen kunt u aanvullen en aanpassen voor uw eigen situatie, als dat niet in strijd is met de gemarkeerde artikelen.

Verwijzing naar de overeenkomst

Als u deze overeenkomst gaat gebruiken, moet u in uw overeenkomst verwijzen naar het kenmerknummer ervan. Gebruik daarvoor de volgende tekst:
‘Deze overeenkomst is gebaseerd op de door de Belastingdienst op [DATUM] onder nummer [NUMMER] beoordeelde overeenkomst. De in die overeenkomst gemarkeerde bepalingen zijn in deze overeenkomst ongewijzigd overgenomen. Voor zover in deze overeenkomst aanpassingen hebben plaatsgevonden, zijn partijen van mening dat deze aanpassingen geen afbreuk doen aan de in de model- of voorbeeldovereenkomst gemarkeerde bepalingen.’

–jeroen

Posted in About | Leave a Comment »

Microsoft opened the source code of Xamarin.Forms. We couldn’t miss a chance to check it with PVS-Studio

Posted by jpluimers on 2016/05/31

For my link list as one day I will surely need a tool like this:

The project was checked using the PVS-Studio static code analyzer.

Source: Microsoft opened the source code of Xamarin.Forms. We couldn’t miss a chance to check it with PVS-Studio

Posted in .NET, C#, Development, Software Development, Static Code Analysis | Leave a Comment »

git – How to undo the last commit? – Stack Overflow

Posted by jpluimers on 2016/05/31

Always handy to have at hand as the git-reset documentation is toooooo long:

Undo a commit and redo

$ git commit ...              (1)
$ git reset --soft HEAD~1     (2)
<< edit files as necessary >> (3)
$ git add ....                (4)
$ git commit -c ORIG_HEAD     (5)
  1. This is what you want to undo
  2. This is most often done when you remembered what you just committed is incomplete, or you misspelled your commit message1, or both. Leaves working tree as it was before “commit”.
  3. Make corrections to working tree files.
  4. Stage changes for commit.
  5. Commit the changes, reusing the old commit message. reset copied the old head to .git/ORIG_HEADcommit with -c ORIG_HEAD will open an editor, which initially contains the log message from the old commit and allows you to edit it. If you do not need to edit the message, you could use the -C option instead.

–jeroen

via: git – How to undo the last commit? – Stack Overflow.

Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management | Leave a Comment »

Sorting huge files in Windows – via Stack Overflow

Posted by jpluimers on 2016/05/30

use the Windows SORT command. Sort the file and be done with it. It’ll happily sort your 100GB file, and it’s simple to use.

Source: c# – Need a way to sort a 100 GB log file by date – Stack Overflow

It takes a long time, but it gets the job done.

–jeroen

Posted in Power User, Windows | Leave a Comment »

Many Cores per Socket or Single-Core Socket Mystery | VirtualPharaohs

Posted by jpluimers on 2016/05/30

Interesting:

Summary:

  1. It is for virtual NUMA, and it depends.
  2. It is only helpful if the host can do NUMA.
  3. It is only relevant when you allocate more than 8 effective cores for a VM.

When neither apply: just use “number of cores per socket” as “number of virtual sockets” might be limited in the guest operating system licensing.

–jeroen

Posted in ESXi5, ESXi5.1, ESXi5.5, ESXi6, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »