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

Smart Home review It’s been a few months since I replaced every switch in the…

Posted by jpluimers on 2016/09/23

For next year’s home fiddling project and a Somfy RTS hack that is not so expensive/clunky as the Somfy URTSI II.

Michael Aschenborn8:05 AM+5

I use openHAB and tasker as open source center of my home-automation. Use its bindings to knx, zwave, enocean, philipsTV, fritzbox, ifttt and network-pcs to control rollershutter, lights, multimedia, security etc.

It’s not app vs. wall-switches, thats interesting but the situative automatisation.

  • a wall switch near my bed to switch off everything in the house
  • automated rollershutter-settings if tv is switched on for not to be blinded
  • if it’s ringing at the door i can open it from my Moto 360
  • wheather-dependent automated control of my blinds saved me 500,- electricity-costs
  • led-signaling if any window is opened
  • jalousie and light-scenes instead of tons of wall-switches
  • sunlight dependent control of decorative lights in the house
  • remotecontrollabe per app, partial even per voice (“OK Google, shadow west facade”)
  • combination with nfc-tags: to enable a garden powersocket just hold your phone near to it
  • batteryless wireless enocean-wall-switches are perfect for kids loft bed or to stick it under the terrace-table

and much much more…

–jeroen

via: Smart Home review It’s been a few months since I replaced every switch in the….

Posted in LifeHacker, Power User | Leave a Comment »

Just experienced my first #IRC Netsplit

Posted by jpluimers on 2016/09/22

Just experienced this for the first time: Netsplit – Wikipedia, the free encyclopedia

On Colloquy I had a lot of these:

… left the chat room. (*.net *.split)

Followed a few minutes later by a burst of

… joined the chat room.

–jeroen

Posted in Chat, IRC, SocialMedia | Leave a Comment »

David I becomes an Embarcadero MVP, starts new job at Evans Data Corporation

Posted by jpluimers on 2016/09/22

Just in case you missed it David I becomes an Embarcadero MVP, starts new job at Evans Data Corporation [WayBack]

via +Stefan Glienke and Evans Data Corporation Welcomes Developer Relations Industry Guru David Intersimone (“David I”) to Their Team – News9.com [WayBack]

Which means there are very few seasoned people left at the Delphi team.

–jeroen

Posted in Delphi, Development, Software Development | 4 Comments »

Flybrix | Flybrix Kits Make Your Own Rebuildable Drones using LEGO® bricks

Posted by jpluimers on 2016/09/22

Flybrix kits include all you need to make your own rebuildable, crash-friendly drones using LEGO® bricks. For ages 14+. No tools needed, Arduino compatible.

Source: Flybrix | Flybrix Kits Make Your Own Rebuildable Drones using LEGO® bricks

Posted in Fun, Power User | Leave a Comment »

Jark/FTDISample: Note: As of version 10556.0 the ftdi driver does no longer seem to work. A sample application showcasing the FTDI D2XX driver use in Windows Universal projects (UWP). This sample is tested on the Raspberry PI 2 with Windows IOT installed and a FTDI FT232R usb-to-serial adapter.

Posted by jpluimers on 2016/09/22

Source: Jark/FTDISample: Note: As of version 10556.0 the ftdi driver does no longer seem to work. A sample application showcasing the FTDI D2XX driver use in Windows Universal projects (UWP). This sample is tested on the Raspberry PI 2 with Windows IOT installed and a FTDI FT232R usb-to-serial adapter.

Yeah, I couldn’t get this working either. I’m not sure where ReadTimeout is actually used by the SerialDevice class internally. But I did end up getting something working by copying the timeout to a

Source: c# – Unable to use SerialDevice.ReadTimeout in Windows 10 IoT – Stack Overflow

Source: Raspberry Pi • View topic – Windows 10 IoT Core Simple Serial Example not working

Posted in Development, IoT Internet of Things, Network-and-equipment, Power User, Software Development | Leave a Comment »

grep: searching for pipes, optional characters

Posted by jpluimers on 2016/09/22

For my own reference as RegEx is a write-only language:

Search for pipes means just back-slash escaping them:

grep "\|S\|" products.txt > s-rated-products.txt

Search for optional charactes (in this case searching for both the singular and plural form of a word) can be done by grouping the optional part in parentheses:

grep -i "Movie(s)?" products.txt > movie-products.txt

Search for either OR:

grep -E "foo|bar" products.txt > foo-or-bar-products.txt
egrep "foo|bar" products.txt > foo-or-bar-products.txt

Note that the Borland grep does not support the OR syntax, but egrep does.

–jeroen

via:

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

Moeder na zoveelste zorgaanvraag: huilen staat me nader dan het lachen | NOS

Posted by jpluimers on 2016/09/21

http://nos.nl/artikel/2133703-moeder-na-zoveelste-zorgaanvraag-huilen-staat-me-nader-dan-het-lachen.html

Posted in Uncategorized | Leave a Comment »

com – Delphi [weak] reference attribute produces “Invalid class typecast” when implementation is in more than one library – Stack Overflow

Posted by jpluimers on 2016/09/21

Source: com – Delphi [weak] reference attribute produces “Invalid class typecast” when implementation is in more than one library – Stack Overflow

via: Interesting question and excellent answers about [weak] references (not to be) used with COM interfaces. – Ondrej Kelle – Google+

 

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

Delphi Code Monkey: Delphi Features I Avoid Using And Believe Need to be Gradually Eliminated from Codebases

Posted by jpluimers on 2016/09/21

Hear, hear! Delphi Code Monkey: Delphi Features I Avoid Using And Believe Need to be Gradually Eliminated from Codebases

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

SPAM – Garantiebellen – +31172749040 – ‘Hang op! Klik weg! Bel uw bank!’ – #KVK doe er wat aan!

Posted by jpluimers on 2016/09/21

Onder het mom van ‘Hang op! Klik weg! Bel uw bank!’:

Ik werd net gebeld door +31172749040 die zich bekend maakten als “Garantie Bellen” en onder het mom van “partner van KPN” je proberen een nieuw abonnement met lagere tarieven aan te smeren.

Hun web-site meldt dat ze in Rotterdam zitten:

Hun algemene voorwaarden echter Utrecht:

Garantie Bellen, Churchilllaan 11, 3527 GV in Utrecht

Op de hele site geen informatie van het handelsregister, dus ze plegen sowieso een economisch delict:

Het niet naleven van de verplichting om het KvK-nummer te vermelden is een economisch delict (art. 1 sub 4 WED). Het is een overtreding die wordt gestraft met hechtenis van ten hoogste zes maanden, taakstraf of een geldboete van de vierde categorie (dat wil zeggen ten hoogste €19.000,-).

Die heb ik inmiddels zelf gevonden: 61233927 met als informatie:

Naam:  To the Max Callcenter B.V.
Vestigingsadres:    Westblaak  142  
Vestigingsplaats:   3012KM  Rotterdam
KvK-nummer: 61233927
Vestigingsnummer:   000030351928
Soort Inschrijving: Hoofdvestiging

To the Max Callcenter B.V.Hoofdvestiging
Bestaande handelsnamen
To the Max Callcenter B.V. | Garantiebellen | Garantie-bellen
Statutaire naam
To the Max Callcenter B.V.
KvK 61233927Vestigingsnr. 000030351928Westblaak 142 3012KMRotterdam
61233927 0000 000030351928 To the Max Callcenter BV. To the Max Callcenter BV, Garantiebellen, Garantie-bellen. Callcenters. …

–jeroen

Posted in Power User, SPAM | 3 Comments »