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

Namespaces in Delphi – Stack Overflow

Posted by jpluimers on 2019/07/23

Blast from the past, but still relevant: [WayBackNamespaces in Delphi – Stack Overflow:

Q

Are there any practical benefits in using long unit file names like MyLib.MyUtils.pas or it is just a kind of unit name prefix?

A

Namespaces, like all identifiers, are meant to organize.

So using them, only benefits if your project gets organized in a better way. This is highly subjective matter (there have been ‘wars’ on even the most simple naming conventions!), so impossible to really answer.

[WayBack] Here is some documentation on how namespaces work in Delphi.

Note that ‘true’ namespaces (where more than one generic DLL can contribute to the same namespace; this is how namespaces function in the .NET world) are not possible in Delphi: you could go the BPL way, but that is not the same as a ‘generic DLL’. This is not a limitation of Delphi itself, but the way that native DLLs in Windows ‘work’.

–jeroen

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

DTW-DanWard/PowerShell-Beautifier: A whitespace reformatter and code cleaner for Windows PowerShell and PowerShell Core

Posted by jpluimers on 2019/07/23

Interesting tool: DTW-DanWard/PowerShell-Beautifier: A whitespace reformatter and code cleaner for Windows PowerShell and PowerShell Core

–jeroen

via: [WayBack] Is there a PowerShell code formatter / pretty printer? – Stack Overflow

Posted in CommandLine, Development, PowerShell, PowerShell, Scripting, Software Development | Leave a Comment »

CAA Mandated by CA/Browser Forum | Qualys Blog

Posted by jpluimers on 2019/07/22

[WayBack] CAA Mandated by CA/Browser Forum | Qualys Blog

Certification Authority Authorization (CAA), specified in RFC 6844 in 2013, is a proposal to improve the strength of the PKI ecosystem with a new control to restrict which CAs can issue certificates…

Related:

–jeroen

Posted in Conference Topics, Conferences, DNS, Encryption, Event, HTTPS/TLS security, Internet, Power User, Security | Leave a Comment »

UPC Cable Modem / Ziggo Connect Box / Compal CH7465LG · Issue #122 · reverse-shell/routersploit

Posted by jpluimers on 2019/07/22

I wonder if this one is still exploitable: UPC Cable Modem / Ziggo Connect Box / Compal CH7465LG · Issue #122 · reverse-shell/routersploit

–jeroen

Posted in Power User, Security | Leave a Comment »

4045348048198 – 500 Sheets A4 80 GSM 4 Hole Punched White Multiuse – MERCATEO.nl

Posted by jpluimers on 2019/07/22

This is about half of what Staples itself charges: [WayBack] Staples Multiuse Multifunctioneel Papier voor Laser en Inkjet, A4 80 g/m² Wit | Staples®

Amazon.de sells it too, but it does not ship to The Netherlands: [Archive.isSTAPLES Multifunktionspapier multiuse, A4, 80 g/m², 4fach Lochung, weiß (500 Blatt): AmazonSmile: Bürobedarf & Schreibwaren

There is the same from Xerox: [WayBack] Kopierpapier Business weiß 4x gelocht 80g/qm A4 VE=500 Blatt bei Mercateo günstig kaufen also available on Amazon.de: [Archive.isXerox Business 003R91823 Multifunktionspapier 80 g/m² 4-fach gelocht 500 Blatt pro Ries Format A4 1 Ries weiß: AmazonSmile: Bürobedarf & Schreibwaren

However, the Xerox 003R91823 from Amazon is just ONE pack, not 5 packs!

Edit 20210314

Easier to find this in The Netherlands with this phrase: [Wayback] a4 papier 4gt – Google Search

–jeroen

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

RP-SMA dummy loads for nonadjustable WiFi devices and Adjust Fritz!Box WiFi power – via Knowledge Base | AVM International

Posted by jpluimers on 2019/07/19

Via [WayBack] Knowledge Base | AVM International:

3 Setting the maximum transmitter power

  1. Click “Wireless” (“WLAN”) in the FRITZ!Box user interface.
  2. Click “Radio Channel” in the “Wireless” (“WLAN”) menu.
  3. If the option “Set radio channel settings automatically (recommended)” is enabled, proceed with the following section.
    • If the option “Adjust radio channel settings” is enabled:
      1. Click “Additional settings”.
      2. Select “100%” from the drop-down list “Maximum transmitter power”.
      3. Click “Apply” to save the settings.
For me, having minimal power was important since every now I needed to be able to connect to it, but only when I was in close proximity.

Hence the settings below: 6% Maximum transmit power is the lowest I could set.

For devices that cannot adjust their antenna output power which have RP-SMA connectors, I bought these to effectively throttle them:

Read the rest of this entry »

Posted in Fritz!, Fritz!Box, Internet, Power User | Leave a Comment »

Technical debt: “taking shortcuts leads to long-term bleeding…”

Posted by jpluimers on 2019/07/19

From a while ago:

Just tried to explain technical debt: “taking shortcuts leads to long-term bleeding.”

[WayBack] – Jeroen Wiert Pluimers – Google+

–jeroen

Posted in Development, Software Development, Technical Debt | Leave a Comment »

Many words to use instead of “very” in English – ESL Buzz, ProofReadingServices

Posted by jpluimers on 2019/07/19

Speaking English as second language often makes me search for accurate words. I’ve noticed that even a lot of native English speakers use “very” too often as usually better words exist.

These two pages have lots of replacements of “very …” combinations into a single word, with infographics and even poster size materials:

Found after searching the source of [WayBack] Try these words in your next Email – I’m Programmer.

Deciding which replacement to use, or to stay with “very” depends on who you are communicating with, as the counter example at [WayBack] Communicating Compassionately with Non-Native English Speakers; Taming the Steamroller – Molly Clare Wilson – Medium shows (thanks Kristian Köhntopp for attending me to that).

–jeroen

Via:

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

delphi – How to hide the inherited TObject constructor while the class has overloaded ones? – Stack Overflow

Posted by jpluimers on 2019/07/18

Interesting, need to try this one day to see how well this works so the base constructor TObject.Create cannot be called.[WayBack] delphi – How to hide the inherited TObject constructor while the class has overloaded ones? – Stack Overflow

–jeroen

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

How to support full Unicode in MySQL databases · Mathias Bynens

Posted by jpluimers on 2019/07/18

TL;DR: use the MySQL utf8mb4 character set and convert any MySQL utf8 character set as those are not UTF-8.

The source describes how: [WayBackHow to support full Unicode in MySQL databases · Mathias Bynens

–jeroen

Via: [WayBack] ‪#MySQL’s ##UTF8 of course isn’t UTF8. ##WheresMySurprisedFace – Jan Wildeboer – Google+

 

Posted in Database Development, Development, MySQL | Leave a Comment »