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

Archive for May, 2016

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 »

TeslaCrypt shuts down and Releases Master Decryption Key

Posted by jpluimers on 2016/05/27

Just found out this happened about a week ago:

In a surprise ending to the TeslaCrypt ransomware, the malware developers have released the master decryption key for their victims. This means that all victims of the TeslaCrypt ransomware can now decrypt their files for free!

Source: TeslaCrypt shuts down and Releases Master Decryption Key

–jeroen

Posted in Power User | Leave a Comment »

Keeping openSuSE Tumbleweed rolling release up to date

Posted by jpluimers on 2016/05/27

openSuSE provides a rolling release called tumbleweed. Given the very different nature, traditional means of updating don’t work (I added some links to the text):

You should use “zypper dup” to keep your system up-to-date, YaST->Online Update is useless on Tumbleweed.

You can use the update applet, YaST->Software Management, or “zypper up” as well most of the time, but those won’t be able to cope with _all_ changes in Tumbleweed, e.g. they might have problems when packages are dropped or renamed.

There are mixed opinions on using rolling releases, for instance Are rolling release Linux distros better than fixed releases? | ITworld.

But I have the feeling that many of them are ready for real primetime, and Windows 10 seems to follow the rolling-release direction too. It’s a matter of the process leading to the rolling updates being very well, and offering customers a choice when to install updates.

Edit 20160527:

Richard Brown (@sysrich), Geek, Linux engineer. openSUSE Chairman, chimed in on Twitter:

I prefer `zypper dup –no-allow-vendor-change`. It is safer when additional repos are present. I alias it as `zypper-twup`

–jeroen

via TUMBLEWEED: Tumbleweed Repos.

Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | 1 Comment »

Vysor is back, new features, paid option – via koush’ stream at G+

Posted by jpluimers on 2016/05/26

Vysor now (again, bug fixed) shows undistorted on my Mac

Vysor now (again, bug fixed) shows undistorted on my Mac

Be sure to read the comments at Vysor is back, new features, paid option… there are a few gems in there including an upcoming Server based Vysor (yes, managing Android Farms!).

  • Pro subscription is just USD 10 (or EUR 7.50) a year.
    • Or USD 2 (EUR 1.50) a month.
  • There is a a troubleshooting page.

The screen resolution still isn’t what it used to be, but I hope that bug gets fixed soon as well.

Anyway: “A window to your Android: Vysor – Chrome Web Store

A lot of people use Vysor, mostly developers. There are nearly 20,000 active users per day. Half of those users are using it for over 4 hours a day.

I spent the weekend trying to figure out how to get the app back online for everyone, and in a sustainable freemium model. To that end:

  • I removed the infringing h264 decoder and switched to the Chrome’s internal (ie, not packaged with Vysor) Pepper VideoDecoder introduced in Chrome 48.
  • Vysor is now a subscription app.

…  this weekend, I put my big boy pants on and implemented billing and some new features to go with it.

Here’s what Pro users get:

  • High quality mirroring (free is 500Kbps, Pro gets you up to 2Mbit). This was made possible due to the new decoder.
  • Fullscreen mode.
  • Drag and drop files and APKs.
  • Vysor Share.
  • Some other features I have in the pipeline but did not make this release.

Vysor’s free version isn’t ad supported, I think that would ruin this sort of app. Your support as paid users is appreciated.

Vysor: https://chrome.google.com/webstore/detail/vysor/gidgenkbbabolejbgbpnhbimgjbffefm

Start-up screen with new upgrade option to go pro and new image quality selection.

Start-up screen with new upgrade option to go pro and new image quality selection.

Source: Vysor is back, new features, paid option…

History: Vysor is no longer available – h264 licensingI voluntarily unpublished the Chrome app just now. Some MPEG-LA folks got in touch with me about licensing… – Koushik Dutta (Koush) – Google+

As Vysor sort of is open source, you can view github history.

–jeroen

Read the rest of this entry »

Posted in Uncategorized | Leave a Comment »

domain name system – How to test DNS glue record? – Server Fault

Posted by jpluimers on 2016/05/26

Thanks Adrian W for providing the below example in your answer about obtaining GLUE record information for a domain.

It is an excellent showcase for the $IFS Internal Field Separator available in any nx shell.

In this case it is used to get the TLD (top-level domain) from the domain name specified at the command-line.

After that, it obtains the name servers for that TLD, and queries the glue records there, both using dig.

Here is a little shell script which implements Alnitak’s answer:

#!/bin/sh
S=${IFS}
IFS=.
for P in $1; do
  TLD=${P}
done
IFS=${S}

echo "TLD: ${TLD}"
DNSLIST=$(dig +short ${TLD}. NS)
for DNS in ${DNSLIST}; do
  echo "Checking ${DNS}"
  dig +norec +nocomments +noquestion +nostats +nocmd @${DNS} $1 NS
done

Pass the name of the domain as parameter:

./checkgluerecords.sh example.org

–jeroen

via domain name system – How to test DNS glue record? – Server Fault.

Posted in *nix, Apple, bash, Development, DNS, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, openSuSE, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Scripting, Software Development, SuSE Linux | Leave a Comment »

Today is the 15th towel day in remembrance of a truly remarkable author.

Posted by jpluimers on 2016/05/25

Today is the 15th towel day in remembrance of a truly remarkable author.

–jeroen

Posted in Opinions | Leave a Comment »