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

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 »

Happy Towel Day

Posted by jpluimers on 2016/05/25

Happy 15th Towel Day.

In the beginning the universe was created. This made a lot of people very angry and has been widely regarded as a bad move.

In the beginning the universe was created. This made a lot of people very angry and has been widely regarded as a bad move.

–jeroen

via Towel Day – Wikipedia, the free encyclopedia.

Posted in About, Comics, Fun, Personal | Leave a Comment »

Git: See my last commit – the forrest and the trees – Stack Overflow

Posted by jpluimers on 2016/05/25

There are so many ways to view the last Git commit on the command-line.

On the one hand this shows the versatility of Git. On the other hand there are so many trees in the forrest, that it is hard for people to find how to do simple things.

The one I like most is this:

git show --name-status --oneline

Others:

git log --name-status HEAD^..HEAD
git log -1
git show
git diff
git show --name-status
git log --stat -n 1

–jeroen

via: Git: See my last commit – Stack Overflow.

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

Delphi XE8 does not adhere the `$(PROJECTNAME)` in a “Unit Output Directory”, but does recognise `$(SanitizedProjectName)`…

Posted by jpluimers on 2016/05/24

The background here was a quick project at a client where many .dproj files were in the same directory, but they suffered from conditional define differences. Which meant that even if they were all using the  DEBUG configuration, some defines in the .dproj directories were different therefore poisoning shared .DCU files (as Delphi does not automatically rebuild them when the sources have not changed even though the IDE switched to a new project).

There was no quick possibility to reorganise the project structure (a combination of a version system history being problematic and potentially lots of relative path references in the .dproj and .dpr files could still be broken) so I wanted different “Unit Output Directories” for each project preferably using non-hardcoded project name.

So I tried putting $(PROJECTNAME) in a “Unit Output Directory”. But unlike build-events – where that one has a value – in the Directory it hadn’t.

To cut things short, Uwe Raabe did some spelunking in the .dproj file and found that $(SanitizedProjectName) was recognised so I switched to .\$(Platform)\$(Config)\$(SanitizedProjectName).

Putting it in the OutputDirectory (where your .EXE gets emited) fails for most part. Yes, the .EXE gets put in the right directory. No, the debugger cannot find it as it thinks it needs to use %SanitizedProjectName%. No for TestInsight: it cannot find the EXE either because of the % expansion.

Based on SanitizedProjectName, I did some more spelunking coming with the below list. Remember though:

Only tested for Win32 applications for Delphi XE8

I assembled the list by doing a quick sed on a Delphi XE8 Win32 .dproj file transforming all XML element names to $() form then running it through a uniq like script. After that I added each of them in a “Unit Output Directory” prepended with .\_\ (well I cheated a bit, I did them in groups separated by a back-slash and went back to single items in case of failures. A kind of ‘binary search’).

Ensure the ones you use, are defined before you use them. For example: the definition of SanitizedProjectName need to be in the .dproj file before actually using SanitizedProjectName.

These expand to empty strings:

Read the rest of this entry »

Posted in Conference Topics, Conferences, Delphi, Delphi XE8, Development, Event, Software Development | 2 Comments »

How can I get Win10_1511_1_English_x64.iso or Win10_1511_1_EnglishInternational_x64.iso ?

Posted by jpluimers on 2016/05/24

I now officially hate Microsoft download sites.

I’m trying to fix a friends PC where Windows 10 has screwed up (after he installed, it loads, but the screen turns black without a mouse cursor which indicates the video drivers are likely hosed). There is no F8 boot option in Windows 10 any more so I need media.

https://www.microsoft.com/en-us/software-download/windows10ISO redirects to https://www.microsoft.com/en-us/software-download/windows10 which forces you to download a “Media Creation Tool” that complains I don’t have 8 gigabyte free disk space.

I have. Just not on the C: drive freaking morons!

But https://www.microsoft.com/en-us/software-download/windows10 won’t let me download the ISOs.

Searching around, it looks like I need Win10_1511_1_English_x64.iso or Win10_1511_1_EnglishInternational_x64.iso

Does anyone know how to get them?

–jeroen

 

Posted in Power User, Windows 10 | 5 Comments »

Somfy Smoove Origin RTS Protocol | PushStack

Posted by jpluimers on 2016/05/24

Interesting: Somfy Smoove Origin RTS Protocol | PushStack a base to start Hacking Somfy.

The Somfy protocol is tricky as it uses rolling keys.

More interesting links:

These are in Dutch, but very interesting as they show how to do reverse engineering and getting it to work hardware wise:

Read the rest of this entry »

Posted in Arduino, Development, Hardware Development, Hardware Interfacing, Raspberry Pi | Leave a Comment »