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

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 »

Page dewarping

Posted by jpluimers on 2017/02/28

Flattening images of curled pages, as an optimization problem.

Source: Page dewarping [WayBack]

Great stuff what some day will be very useful as I’ve a truckload of books that need to be scanned someday.

via:

–jeroen

PS: via [WayBackG+ Joseph Mitzen: [WayBackFlameeyes’s Website — Unpaper (fork) repository at [WayBackFlameeyes/unpaper: Forked unpaper repository

Posted in Algorithms, Development, Software Development | Leave a Comment »

230 V safety on the work bench – Put your power supply in an old tablet container…

Posted by jpluimers on 2017/02/28

Great tip from Nelis Willers:

230 V safety on the work bench.
Put your power supply in an old tablet container. The high voltage is safely encapsulated and will not accidentally touch something. Of course don’t do this for a kW supply, only where low heat is generated, otherwise you might set a fire!

Source: 230 V safety on the work bench. Put your power supply in an old tablet container…

Posted in Development, Hardware Development, LifeHacker, Power User | Leave a Comment »

New book by +Nick Hodges tech preview by +Stefan Glienke – dependency injection in delphi

Posted by jpluimers on 2017/02/28

[WayBack] New book by +Nick Hodges tech preview by +Stefan Glienke https://leanpub.com/dependencyinjectionindelphivia Jeroen Wiert Pluimers – Google+:

This book covers Dependency Injection from A to Z.  In it you’ll learn about Constructor Injection, Property Injection, and Method Injection.  You’ll learn about the right and wrong way to use the Dependency Injection Container.

Source: Dependency Injection In Delphi by Nick Hodges [Leanpub PDF/iPad/Kindle]

This is the Chapter List:

  • What is Dependency Injection
  • Benefits of Dependency Injection
  • Constructor Injection
  • Property Injection
  • Method Injection
  • Using the Container
  • A Simple Migration Example
  • Advanced Uses of the Container
  • Dependency Injection Anti-patterns
  • A Full, Useful Example
  • Final Thoughts

–jeroen

Source: New book by +Nick Hodges tech preview by +Stefan Glienke https://leanpub.com/…

Posted in Delphi, Delphi 10 Seattle, Delphi 10.1 Berlin (BigBen), Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Software Development | Leave a Comment »