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

Archive for 2020

Since Delphi still does not include a TDateTimeHelper: use the one by colini which has tests

Posted by jpluimers on 2020/11/03

These are quite OK: [WayBack] GitHub – colinj/TDateTimeHelper: Helper record for TDateTime type in [WayBack] DateTimeHelper.pas with DUnitX tests in [WayBackTDateTimeHelper.Tests.pas.

Via: [WayBackDoes Delphi XE 10.2.2 ship with type helpers for TDateTime type? Or do I need to implement my own. – Graeme Geldenhuys – Google+.

It got even promoted at [WayBack] Delphi XE3: Record Helpers for Intrinsic Types.

–jeroen

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

Searching old Twitter posts

Posted by jpluimers on 2020/11/02

I got a bit tired of scrolling back to a known date for posts (as having a couple of 100 tweets visible really makes browsers slooooooooooooooow), so I wondered if you could limit a date range. Yes you can! There are even more options, and there is even a special search page for that:

You can use all these from the regular search as well as per [WayBack] Find Your Old Tweets: How to See Your First Tweet | WordStream.

A was too lazy to find all the possible keywords myself, so used [WayBack] How to use advanced Twitter search queries (with examples!) | Union Metrics (and a few others I found later) to make this list:

keword/prefix meaning/values
include word or phrase
if it is an account: includes tweets from, mentions and retweets of that account
negate: exclude this word or phrase
@ mentions of an account, but not tweets from it
# hashtag
lang: two-letter ISO 639-1 language code from [WayBack] What languages can I limit report results to? – Union Metrics Help Desk;
might actually be any BCP 47 IETF language tag
near: region (country, city)
within: distance around center of region (at least ##mi for miles and ##km for kilometers are supported)
since: date, including the since date
until: date, excluding the until date
to: reply-tweets to an account (which does not allow an @)
from: tweets from an account (which does not allow an @)
filter: at least recognises filter:links to only returns tweets having links
:( searches for negative attitudes (it recognises many negative emoticons)
:) searches for negative attitudes (it recognises many positive emoticons)
? searches for questions
source: at least recognises source:twitterfeed to only return tweets posted via twitterfeed
OR include multiple words or phrases

 

A few tips of things to avoid:

  • same start/finish dates: that makes the range 0 days and not display any tweets at all
  • too long date range: browsers do not like having many tweets visible at the same time

So this does not work: https://twitter.com/search?l=&q=from%3Ajpluimers%20since%3A2020-01-01%20until%3A2020-01-01&src=typd

But this does: https://twitter.com/search?l=&q=from%3Ajpluimers%20since%3A2020-01-01%20until%3A2020-01-02&src=typd

You can even reclaim your time-line on a specific date: just increase the date by one day: https://twitter.com/search?f=tweets&vertical=default&q=filter%3Afollows%20until%3A2020-01-02%20-filter%3Areplies&src=typd

Three really cool things on that last URL

  • it shows as the “old fashioned” (not mangled by Twitter because of popularity/advertisements/etc) way
  • you can apply it for the current date as well (just remember to add one day!)
  • if you do, it automatically shows if there are updates

Hmm, maybe I should make a redirect that always shows your timeline for today in the non-mangled way (:

Some more links I found during this search:

–jeroen

Read the rest of this entry »

Posted in Power User, SocialMedia, Twitter | Leave a Comment »

Do you like/use the Slate font by OnePlus? Do you prefer it over Roboto? – Quora

Posted by jpluimers on 2020/11/02

No, I do not like the OnePlus Slate font, despite the lower x-height.

Background:

The fonts (images from Wikipedia):

Roboto – Wikipedia

Slate (typeface) – Wikipedia

–jeroen

Read the rest of this entry »

Posted in Android Devices, Font, LifeHacker, OnePlus Five, OnePlus Six, Power User | Leave a Comment »

Ik ben wat verward over de @WoonVeilig site. https://t.co/ui8agTkgM9 heeft het bijvoorbeeld over GATE-03 en GATE-02, maar https://t.co/QswkrlsuZY over ALARM-03 en SMARTHOME-01. Ook heeft SMARTHOME-01 meer accessoires dan ALARM-03. Werken die extra (zoals CO-25) niet op ALARM-03?”

Posted by jpluimers on 2020/11/02

[WayBack] “Ik ben wat verward over de @WoonVeilig site. www.woonveilig.nl/juiste-producten- heeft het bijvoorbeeld over GATE-03 en GATE-02, maar www.woonveilig.nl/klantenservice/handleidingen over ALARM-03 en SMARTHOME-01. Ook heeft SMARTHOME-01 meer accessoires dan ALARM-03. Werken die extra (zoals CO-25) niet op ALARM-03?”

Wat linkjes:

Tweakers.net:

Concurrentie: SmartAlarm; ook met beperking IP-only.

Meer domotica dan concurrentie: HomeWizard.

Over het hoe en waarom:

–jeroen

Read the rest of this entry »

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

Thread by @doctorow on the RIAA using DMCA section 1201 to ban youtubedl from GitHub

Posted by jpluimers on 2020/10/31

A very interesting thread by @doctorow:

Late last week, the @RIAA sent a legal threat to @Github, claiming that the popular (and absolutely lawful) tool #youtubedl (which allows users to download Youtube videos for offline viewing, e……

Source: [WayBack] Thread by @doctorow on Thread Reader App – Thread Reader App

More on section 1201: [Wayback] Pluralistic: 24 Oct 2020 – Pluralistic: Daily links from Cory Doctorow: RIAA kills youtubedl

There is also a great technical analysis at [Wayback/Archive.is] Analysis of the RIAA claims against youtube-dl · GitHub

This write-up follows the code paths in youtube-dl that get executed when you try to run it based on the claims of RIAA has put forwardThis is a technical analysis, not a legal one.

via

–jeroen

Read the rest of this entry »

Posted in Development, DVCS - Distributed Version Control, GitHub, Opinions, Power User, Software Development, Source Code Management | Leave a Comment »

Two ways to unsubscribe from Booking Email Marketing. – Google Photos

Posted by jpluimers on 2020/10/30

Album by Kristian Köhntopp: [WayBack/Archive.is] Two ways to unsubscribe from Booking Email Marketing. – Google Photos

Via: [WayBack] Kristian Köhntopp – Google+

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »

Dutch parcel tracers

Posted by jpluimers on 2020/10/30

jeroen

Posted in LifeHacker, Power User | Leave a Comment »

Making Fujitsu ix500 scanner’s CardMinder Viewer not globally steal the Alt-F3 shortcut

Posted by jpluimers on 2020/10/30

I hate applications that globally install Windows shortcut keys without the setup/install either warn about it or make it configurable.

In this case it is about CardMinder Viewer that ships with the Fujitsu ix500 scanner and installs a global shortcut, by default Alt-F3.

CardMinder Viewer is especially bad because the “settings” are not in the application: the settings are part of the Windows notification area (usually on the lower left of your screen; many people call it “the tray” as it was called tray in the Cairo research that led to Windows 95 and Windows NT 3.5).

So here is how to get rid of the AltF3 shortcut to be stolen:

Read the rest of this entry »

Posted in Fujitsu ScanSnap, Hardware, ix500, Power User, Scanners, Windows | Leave a Comment »

Some links on assembling a proper Katalon .gitignore file

Posted by jpluimers on 2020/10/29

I used these links to find out what entries a Katalon .gitignore file should contain:

Combining the above, the .gitignore file needs to at least contain:

/.classpath
/.project
/.settings
bin/lib/
Libs/
/bin
/Libs
.settings
.classpath
settings/internal
/.svn
/bin/lib/Temp*.class
Reports/
.project
/libs/Temp*.groovy
bin/lib/
bin/keyword/

(funny that .svn should be in a .gitignore file and that various combinations of casing are used)

–jeroen

Posted in Development, DVCS - Distributed Version Control, git, Katalon, Software Development, Source Code Management, Testing | Leave a Comment »

Learned about the {$EXTENSION zzz} or {$E zzz} Delphi directive: {$EXTENSION yyy.zzz} fails

Posted by jpluimers on 2020/10/29

I totally missed that this has been added in Delphi a long time ago (at least in Delphi 2007 or maybe even before): the {$EXTENSION zzz} or {$E zzz} Delphi directive that sets the file extension of the output: [WayBack] Executable extension (Delphi 2007)

[WayBack] Executable extension (Delphi 10.3 Rio) – RAD Studio explains this is equivalent to using the -TZ

The documentation explains the zzz to be a string, but in practice, using {$EXTENSION yyy.zzz} and {$E yyy.zzz} fail:

[WayBack] Little funny bug… I wanted to quickly make two x86 EXE builds, with 3GB and normal 2GB of available memory. Just to pass it for heavy testing, as 3rd… – Arioch The – Google+ explains how to use this as a trick to have a different extension for 3GB aware compiled 32-bit executables:

{$DEFINE g3} // or obvious {.$DEFINE g3}
{$IFDEF g3}
  {$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
  {$EXTENSION 3GB.EXE}
{$ENDIF}

This kind of work in XE2 but with two funny bugs:

  1. the IDE ignores it and shows filename.exe in the compile progress dialog
  2. linker partially ignores it and creates filename.4gb instead of filename.3gb.exe

I did know about the various $LIBxxx directives that were introduced in Delphi 2009 when it [WayBack] was released in 2008.

Related:

One day, I might create an overview of which directives are valid in what Delphi versions. That would be a big change of List-Delphi-Installed-Packages.ps1, which would need at least these:

–jeroen

Posted in Conference Topics, Conferences, Delphi, Development, Event, Software Development | Leave a Comment »