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

Archive for 2016

Encoding is hard… so how did the single quote become a circumflexed a followed by Euro sign and trade mark?

Posted by jpluimers on 2016/10/04

A while ago (in fact more than a year), I posted Encoding is hard…  go G+ with the below picture.

[Wayback] ftfy (“fixes text for you”, a parody on “fixed that for you”) [Wayback] fixes it, but:

How did the single quote become “’“?

Actually, because of a a common “beautification” of many Office suites (Microsoft and Open alike), the single quote was a special one: a Unicode Character ‘RIGHT SINGLE QUOTATION MARK’ (U+2019) which in UTF-8 is encoded as 0xE2 0x80 0x99.

Read the rest of this entry »

Posted in Development, Encoding, ftfy, ISO-8859, ISO8859, Mojibake, Software Development, Unicode, UTF-8, UTF8, Windows-1252 | Leave a Comment »

Fun deciphering thermometers

Posted by jpluimers on 2016/10/03

From a while ago: a Norwegian (left) and German (right) thermometer. In dialect. Because.

Anyone having more of these in other dialects?

Sources:

Read the rest of this entry »

Posted in Fun, LifeHacker, Power User | Leave a Comment »

Viewing an USB camera on Mac OS X without mirroring

Posted by jpluimers on 2016/10/03

Even though Photo Booth has an “Auto Flip New Items” option, but that only works for stills, not videos.

I needed it to see without mirroring the images from a DBPOWER 2 Million Pixels Cmos 7M/23FT USB Waterproof HD 6-led Borescope Endoscope Inspection Tube Visual Camera.

What does work are these:

I forget how I bumped into QCamera, but later I found out he posted on apple.stackexchange.com.

–jeroen

Posted in Uncategorized | Leave a Comment »

Ugh, this new Google+ is killing me. I used to be able to click someone’s name in G+ and start a new hangout …

Posted by jpluimers on 2016/10/03

Ugh, this new Google+ is killing me.I used to be able to click someone’s name in Google+ and then start a hangout with them by clicking the hangout icon… – Koushik Dutta (Koush) – Google+ has this nice comment:

Dan Hirsch: You probably have a Google Apps Account. There’s no switch back to old G+ for Google Apps aka GSuite users anymore.

–jeroen

Posted in G+: GooglePlus, SocialMedia | Leave a Comment »

SSD BareMetal cloud servers, Simple and flexible pricing, enjoy a predictable cloud pricing model | Scaleway

Posted by jpluimers on 2016/09/30

So I won’t forget:

SSD BareMetal cloud servers, Simple and flexible pricing, enjoy a predictable cloud pricing model

Source: Pricing BareMetal | Scaleway

They are based in France and host both ARM and x86 servers at very competitive prices.

At the time of writing the cheapest bare metal x86 server has 8 GB or RAM, 4 cores and 50 gigabyte SSD storage at EUR 12/month. VPS are even more affordable. 50 gigabyte extra is EUR 1/month.

Via: C2: Insanely Affordable x86-64 Servers

And:  Günstige dedicated server – Kristian Köhntopp – Google+

–jeroen

 

Posted in Hosting, Power User | Leave a Comment »

InitialKeyboardIndicators registry setting to fix NumLock in a certain state.

Posted by jpluimers on 2016/09/30

There are odd things with the InitialKeyboardIndicators registry setting. Technet only documents bitflag value 2.

According to the docs it should be a bitflag, but sometimes you encounter InitialKeyboardIndicators value 2147483648 (0x80000000) especially as part of the .DEFAULT profile at HKEY_USERS\.DEFAULT\Control Panel\Keyboard.

The problem I had was having these symptoms:

  1. while logging in locally, I manually turned of the NumLock (as I have a 46W6740 UltraNav keyboard without a numeric keypad)
  2. after logging in locally, it magically turned itself on even with InitialKeyboardIndicators=0 in my local profile at HKEY_CURRENT_USER\Control Panel\Keyboard.
  3. after logging in locally and turning it off, future local logons would keep it off
  4. after logging in remotely, it would magically turn itself on while logged in
  5. after having logged in remotely, the local logon console would have it turned on again

After reading Num Lock problem: Strange number in InitialKeyboardIndicators in Registry, I set both values to 0.

Now that it is 0 in both at HKEY_USERS\.DEFAULT\Control Panel\Keyboard and HKEY_CURRENT_USER\Control Panel\Keyboard, symptoms 4-5 still hold. Strange.

It is not the same problem as Num Lock state not retained after resume from Hybrid Shutdown in Windows 8 and Windows Server 2012.

If it persist, I might just put a script in: [Partially Solved: re-wired keyboard lol] Registry key “InitialKeyboardIndicators” NEVER keeps NumLock ON + ScrollLock ON (6) at startup and reverts back to NumLock ON (2).

–jeroen

Read the rest of this entry »

Posted in Conference Topics, Conferences, Event, Keyboards and Keyboard Shortcuts, KVM keyboard/video/mouse, Power User, ThinkPad, UltraNav keyboards, Windows | Leave a Comment »

Interesting: Homebrew no longer needs to have ownership of /usr/local

Posted by jpluimers on 2016/09/30

Time permitting, I will research more on this later:

Homebrew no longer needs to have ownership of /usr/local. If you wish you can
return /usr/local to its default ownership with:
  sudo chown root:wheel /usr/local

Reason: the log does look funny, see below.

–jeroen

Read the rest of this entry »

Posted in Apple, Home brew / homebrew, Power User | Leave a Comment »

Green great dragons can’t exist 

Posted by jpluimers on 2016/09/30

via

OCR-ed by https://www.newocr.com/:

adjectives in English absolutely have to be in this order: opinion-size-age-shape-colour-origin-material-purpose Noun. So you can have a lovely little old rectangular green French silver whittling knife. But if you mess with that word order in the slightest you’ll sound like a maniac. It’s an odd thing that every English speaker uses that list, but almost none of us could write it out. And as size comes before colour, green great dragons can’t exist.

Then I found some more references:

The indicated this went viral earlier this month and all pointed the actual source: Icon Books » The Elements of Eloquence subtitled “How to Turn the Perfect English Phrase” by Mark Forsyth.

My mother language Dutch probably has a similar rule that I never knew but just subconsciously use.

–jeroen

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

The IoT strikes back: 650 Gigabit/second and 1 Terabit/second attacks by IoT devices within a week

Posted by jpluimers on 2016/09/30

Many people – me included – complain about the sadness of IoT device security.

It seems the hackers found out it’s time to take advantage of that as within a week both these attacks by IoT devices took place:

The first already suspected IoT devices, the latter confirmed it were ~ 150-thousand hijacked cameras and DVRs [WayBack] performing the attack.

Or in short:

The IoT strikes back

Few parties can cope with this kind of traffic (Akamai had to stop their pro bono servicing of Krebs on Security; it took a few days and a lot of effort for Google’s Project Shield to take over).

So I’ve a few questions for anyone running IoT devices:

  1. How secure are your IoT devices?
  2. Have you confined them to a network that’s easily filtered/shut-down in case of emergency?

Edit 20161004:

–jeroen

Source: Da ist einiges neu an dem Fall: 1) Ein bisher unbekanntes Botnetz. a) Das neue…

Posted in IoT Internet of Things, Network-and-equipment, Power User | 1 Comment »

Released: Continua CI v1.8.1.112

Posted by jpluimers on 2016/09/29

Version 1.8.1 History | Continua CI:

v1.8.1.112

September 29th, 2016

Changes

  • Fix: Regression bug: repository branch auto-mapping changes were missing a null check causing triggering builds to be stuck in initialising state.
  • Fix: Branch auto-mapping was not working with all scenarios.
  • Update: Property collector added for .Net Framework 4.6.2.

Posted in Continua CI, Continuous Integration, Development, Software Development | Leave a Comment »