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 March, 2017

Nexus 5 battery replacement

Posted by jpluimers on 2017/03/03

Because the battery was getting very bad:

Note the battery adhesive was so strong that one of my plastic opening tools broke.

–jeroen

Read the rest of this entry »

Posted in Google, Power User | Leave a Comment »

The IDE Fix Pack 5.95 is compatible with Delphi 10.1 Update 2

Posted by jpluimers on 2017/03/03

Yes it is compatible: [WayBackAndreas‏ @AndyHTech: Following More Why is there no #IDEFixPack for #Delphi Berlin 10.1 Update 2 ? Just use the one that was released for the RTM version, it works for Up1&Up2.

via: David Heffernan on [WayBack] Is the IDE Fix Pack 5.95 compatible with Delphi 10.1 Update 2? I mean it’s not explicitly mentioned so I’m assuming not, but I’m asking just in case.I… – Asbjørn Heid – Google+

–jeroen

Posted in Delphi, Delphi 10.1 Berlin (BigBen), Development, Software Development | Leave a Comment »

Factory restoring a 3rd generation Apple TV was more cumbersome, but I learned about BlueTooth keyboard sharing from my Mac

Posted by jpluimers on 2017/03/03

Apple TV needs iTunes

Apple TV needs iTunes

A while ago, my model A1469 3rd generation Apple TV had a slowly blinking white light but nothing displayed over HDMI any more, so I searched for Apple TV slow blinking white and

Reading Restoring your Apple TV (when its white light is flashing) | Comics and gadgets, I opted for the first option: a soft-restart of the Apple TV. To do that you have to press menu+down on the Apple Remote at the same time for 5+ seconds, then wait for the Apple TV to restart. That initially did show an image over HDMI which later disappeared. I didn’t get the image at first as I thought it was looking for iTunes media over USB (like from an iPhone or iPad), so I waited for a time-out to occur.

After a while that image disappeared and the Apple TV white LED started rapidly flashing. Not good.

Later I found the image was portraying a USB cable not having a connection to an iTunes logo and some dark grey text on a black background pointing to support.apple.com/appletv/restore.

I didn’t see that at first as the room was a bit brightly lit since we had a lot of sun that day so this non-descriptive image with grey on black UX worked really well.

Conclusion: I had to restore the Apple TV which I thought would be straight-forward as it had been connected to my iCloud account.

 

Read the rest of this entry »

Posted in Apple, Apple TV, iOS, Keyboards and Keyboard Shortcuts, Power User | Leave a Comment »

The Industrial Internet of Things defined

Posted by jpluimers on 2017/03/02

https://insights.hpe.com/articles/what-is-the-industrial-internet-of-things-1702.html

Posted in Uncategorized | Leave a Comment »

Is this a good TeamViewer replacement? Ammyy Admin – Remote Desktop Sharing – buy.

Posted by jpluimers on 2017/03/02

Anybody of my followers who can provide a good comparison between [WayBackAmmyy Admin – Remote Desktop Sharing and TeamViewer?

–jeroen

Posted in LifeHacker, Power User | 3 Comments »

KPN LoRa om Van Raam fietsen te traceren Zakelijk KPN Forum

Posted by jpluimers on 2017/03/02

Interesting: [Archive.isKPN LoRa om Van Raam fietsen te traceren Zakelijk KPN Forum via [WayBackNederlands bedrijf komt met narrowband-internet-of-things-ontwikkelbordje – Computer – Nieuws – Tweakers

–jeroen

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

How to enable JavaScript in your browser and why

Posted by jpluimers on 2017/03/02

Just in case it’s not enabled yet: How to enable JavaScript in your browser and why

It even has some html to redirect to it, which I’ve replaced with the wayback machine (and put into a gist as WordPress kills noscript tag blocks and everything they contain.


<noscript>
For full functionality of this site it is necessary to enable JavaScript.
Here are the <a href="http://web.archive.org/web/20160402005258/http://www.enable-javascript.com/&quot; target="_blank">
instructions how to enable JavaScript in your web browser</a>.
</noscript>

I needed it as at a client site, one of the embedded devices would show the message “Javascript is required to use this web portal” in various web browsers so I had to check the JavaScript status in each browser.

–jeroen

Posted in Chrome, Chrome, Development, Firefox, Google, Internet Explorer, JavaScript/ECMAScript, Opera, Power User, Safari, Scripting, Software Development, Web Browsers | Leave a Comment »

JavaScript. Sigh. No real RegExp support. Sigh. Google Search results. Sigh.

Posted by jpluimers on 2017/03/01

Prologue

Every time I need to use JavaScript there’s this tiny voice in the back of my head “Please don’t”, for instance because of

JavaScript has two sets of equality operators: === and !==, and their evil twins == and !=.

Verify a URI in JavaScript with a Regular Expression using Google Search examples

This time it did it again: I used JavaScript. My need was to verify a basic URI in JavaScript, so I wrote this function based on RFC 3986 [WayBack] which in Appendix B has a nice regular expression: ^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?

function isValidUri(uri){
    var uriRegExPattern = "^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?";
    var uriRegEx = new RegExp(uriRegExPattern); 

    return (uriRegEx.test(uri));
} 

It would crash. But JavaScript is JavaScript, so even a site like JSFiddle wouldn’t show an error (later I found out that enabling the console on http://jsbin.com/wamavacuco/edit?html,console,output does show the error in the console complete with stack trace).

Read the rest of this entry »

Posted in Development, JavaScript/ECMAScript, JSFiddle, JSON, RegEx, Scripting, Software Development | Leave a Comment »

Finding your way in the maze of Atom settings – awarding and frustrating at the same time

Posted by jpluimers on 2017/03/01

The main Atom menu allows you to change both Config and Stylesheet

The main Atom menu allows you to change both Config and Stylesheet

I’ve been using Atom as a text editor on Mac OS X for quite a while now, but never delved into the detailed settings.

Somehow, that version wasn’t the type of program that auto-updates itself, nor notifies the user of new updates (it only did that for outdated packages). This seems to be fixed for Mac OS X, but not yet for Linux.

So I hadn’t noticed my version was really old version, which meant that showing “Invisible” characters like spaces and tabs had a high opacity.

Since Atom is highly hackable, it wasn’t hard to find a solution for the old version, which involved changing config files (also accessible from the menu, see the screenshot on the right):

What struck me is that searching for this kind of information got me directed to solutions for old Atom versions. Apparently my Google-fu isn’t good enough, or Google has trouble estimating relevancy of Atom information.

What helped was looking at this poart of the config.cson file:

  editor:
    invisibles: {}
    showInvisibles: true

Back when searching,

The latter lead me to these interesting pages:

Read the rest of this entry »

Posted in Development, Software Development | Leave a Comment »