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

Archive for October 21st, 2020

LED Chaser with only 4017 – YouTube

Posted by jpluimers on 2020/10/21

Cool:

The triggering in this case is the result of a main power drop and recover. The battery is unable to keep the votage at 9V level at the very moment any led is turned on, the voltage is droped down. That is what makes pin 14 to get the clock pulse so the 4017 shifts to the next led. The moment the led is off and right before the next led is turned on the main power gets recovered. When the next led is on again, the main power drops down, and so on.

Schema but less explanation on: [WayBack] LED Chaser with only 4017 – RevealNew

–jeroen

Read the rest of this entry »

Posted in Development, Electronics Development, Hardware Development | 1 Comment »

Automated testing Windows applications using Katalon and WinAppDriver

Posted by jpluimers on 2020/10/21

[WayBack] Top 45 Best Automation Testing Tools Ultimate List • Test Automation Made Easy: Tools, Tips & Training Awesomeness A few notes, partially related to Enable your device for development – UWP app developer | Microsoft Docs.

One research project I had a while ago, was to see how it was possible to use a generic testing tool like Katalon Studio (that can test many platforms), for testing Windows applications.

Katalon uses a Selenium interface that normally is used for web applications through the [WayBack] WebDriver protocol (formerly [WayBack] JsonWireProtocol) that continues to be updated: [WayBack] draft upcoming WebDriver protocol, which is more generic than just web applications:

Read the rest of this entry »

Posted in .NET, Conference Topics, Conferences, Delphi, Development, Event, Software Development, Windows Development, WinForms, WPF | Leave a Comment »

RDP logon while other user is logged on: no way to automate automatic disconnect/logoff

Posted by jpluimers on 2020/10/21

One of the dreaded things when logging on using RDP is that if another user is logged on, you have to first indicate you want to indeed logon (if you don’t, the RDP connection will close after some 15-30 seconds), then wait for their approval time-out before you can logon.

As of writing there is no way around this.

Some links that helped me conclude this:

–jeroen

Posted in Development, Power User, Software Development, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Development | Leave a Comment »

Delphi: get timestamp as ISO8601 string for use in filenames

Posted by jpluimers on 2020/10/21

On Windows, filenames do not like some characters (including : and +), so this is a quick way to get a timestamp into ISO8601 format that is compatible with filenames.

TimeStamp := Now();
StartIso8601String := DateToISO8601(TimeStamp, False).Replace('-', '').Replace(':', '') // https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators

It Depends on the [WayBackSystem.DateUtils unit which had the [WayBackDateToISO8601 function [Archive.isadded in Delphi XE6.

A poor man’s solution (that skips timezones altogether) is this one:

FormatDateTime('yyyymmdd''T''hhnnss''.''zzz', TimeStamp); // note quoted T and ., as otherwise they will be expanded.

–jeroen

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