D20 shaped dice can be handy for software development blame…
Via [WayBack] Amy Renee on Twitter : “When you need to roll for blame in IT… 😂❤️… “
[WayBack] rachel binx on Twitter : “… “:
–jeroen
Posted by jpluimers on 2024/03/06
D20 shaped dice can be handy for software development blame…
Via [WayBack] Amy Renee on Twitter : “When you need to roll for blame in IT… 😂❤️… “
[WayBack] rachel binx on Twitter : “… “:
–jeroen
Posted in Development, DevOps, Software Development | Leave a Comment »
Posted by jpluimers on 2024/03/05
Last year, within a week, I saw two tweets of languages that, like Pascal, have a with statement as well:
The first points to an article that shows the JavaScript implementation of with is very similar to the Pascal one: [Wayback] JavaScript’s Forgotten Keyword (with) – DEV Community.
Just in case some of my readers do not know my opinion of the Pascal with statement (it even has it’s own blog category), I really think you should not use it Delphi: you should avoid the with statement as it makes your code less future proof.
The reason not to use it is called [Wayback] Accidental Shadowing in computer language speak (it also can rear its head when you define variables at different block levels like for instance this golang example: [Wayback] Warning for accidental variable shadowing with block scope – Technical Discussion – Go Forum).
Even the JavaScript specification advises against using the with keyword in [Wayback] with – JavaScript | MDN
**Warning:**Use of the with statement is not recommended, as it may be the source of confusing bugs and compatibility issues. See the “Ambiguity Contra” paragraph in the “Description” section below for details.
There have been various proposals to extend the Delphi implementation of the with statement to make it more resilient to Accidental Shadowing by forcing the usage to be prepended by a . (dot) or alias, as for instance seen in [Wayback] Re: “with” Coders are Monsters – delphi / [Wayback] delphi • View topic • “with” Coders are Monsters:
This is in fact what the second twitter messages pointed to: a VB.NET example doing just that: prepend with a dot: [Wayback] Maarten Balliauw on Twitter: “Looks like using With makes it pretty clean!… “
I was not even aware that VB.NET had it, but it has: [Wayback] With…End With Statement – Visual Basic | Microsoft Docs
And it has similar debugging issues as with Delphi as per [Wayback] The VB.NET ‘With’ Statement – embrace or avoid? – Stack Overflow:
Find the beginning of a With statement and set a breakpoint. Step to the next line (so you’re hiding the first line right under the if block). Highlight it, then ‘Add Watch’. You should see this: ‘With’ contexts and statements are not valid in debug windows.
–jeroen
Posted in .NET, Delphi, Development, Go (golang), JavaScript/ECMAScript, Pascal, Scripting, Software Development, VB.NET, With statement | Leave a Comment »
Posted by jpluimers on 2024/02/29
With the ever changing Google Developer UI it is sometimes hard to track where things moved or what functionality is available.
I needed the “Network” tab to preserve the connections even after a redirect and this is indeed possible as per [Wayback/Archive] firebug – Google Developer Tools “Network” Tab clears after redirect – Stack Overflow (thanks [Wayback/Archive] Rodrigo Graça for asking and [Wayback/Archive] Snuffleupagus for answering):
Posted in Chrome, Development, Google, Power User, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2024/02/28
Below is a list of the Borland documentation that BitSavers added in 2022, ordered by relevance to me (and how I finally asked Peter Sawatzki if he still had the monochrome TDVIDEO.DLL he wrote for Turbo Debugger 3.0 for Windows):
Posted in 8087, Algorithms, Assembly Language, Borland C++, C, C++, Debugging, Development, Floating point handling, Profiling, Software Development, Turbo Assembler, Turbo C, Turbo Debugger, Turbo Profiler, x86 | Leave a Comment »
Posted by jpluimers on 2024/02/27
One might think a PostgreSQL patch is needed for [Wayback/Archive] Devrim Gündüz on Twitter: “Just forked PostgreSQL, and fixed a problem: …”
Posted in Database Development, Development, PostgreSQL, Software Development | Leave a Comment »
Posted by jpluimers on 2024/02/22
Cool: [Wayback] ShellCheck – shell script analysis tool
ShellCheck finds bugs in your shell scripts
It needs a shebang at the start of a script (like #!/usr/bin/env bash) to recognise the kind of shell, then does amazing analysis.
It is open source at [Wayback/Archive.is] koalaman/shellcheck: ShellCheck, a static analysis tool for shell scripts with excellent documentation including explaining screenshots like
It’s not just available on-line or on the command-line, but also integrates with many code editors (like [Wayback/Archive.is] ShellCheck – Visual Studio Marketplace: Integrates ShellCheck into VS Code, a linter for Shell scripts.) and CI/CD pipelines.
Via: [Wayback] bash – error conditional binary operator expected in compound branch – Unix & Linux Stack Exchange (thanks [Wayback] Cyrus!)
–jeroen
Posted in *nix, *nix-tools, ash/dash, ash/dash development, bash, bash, Development, Power User, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2024/02/21
A while ago there was this great thread of various C++ character types:
char and wchar_t in C++ is that char is for narrow characters and wchar_t is for wide characters. So you’d store letters like i, l, and t in a char but M and W in a wchar_t…”tchar is for really tiny characters, like ‘.‘.”
And since most above talk about character width:
–jeroen
Posted in C++, Conference Topics, Conferences, Development, Event, Fun, Software Development | Leave a Comment »
Posted by jpluimers on 2024/02/20
Great for converting tab separated data (for instance when copied from Excel) into HTML:
[Wayback/Archive] Convert TSV to HTML Table Online | WTOOLS
–jeroen
Posted in Development, Excel, HTML, Office, Power User, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2024/02/16
Earlier today, I got the sad news that my friend Matthias Eißing suddenly passed away in the night from Tuesday to Wednesday.
Valentines day will never be the same.
Rest in Peace dear Matthias Eißing. Hope you will virtually keep drinking beer and keep the great conversations that made you so many friends going.
🕯️
[Wayback/Archive] Eine sehr traurige Nachricht – Delphi-PRAXiS
Mit einer Mischung aus blankem Entsetzen und großer Trauer muss ich Euch leider mitteilen, dass unser langjähriges Community-Mitglied Matthias Eißing in der Nacht zu Mittwoch plötzlich und völlig unerwartet verstorben ist.
…
Helping others with is technical knowledge was what Matthias loved doing so much: in person (see [Wayback/Archive] Matthias Eißing – Entwickler Konferenz and [Wayback/Archive] Programm | EKON 27 – Die Entwickler Konferenz für Delphi & more), virtual (watch [Wayback/Archive] Magdeburger Developer Days 2021 03.09.2021 – Matthias Eißing “Delphi Community Edition” – YouTube), individually (uncountable chat messages, phone and video calls, e-mails and in-company meetings), white papers / blog posts (like [Wayback/Archive] HighDPI Entwicklung unter Windows) and forum messages (just see the list at [Wayback/Archive] Delphi-PRAXiS – Ergebnis der Suchanfrage).
I had hoped to meet at EKON28 again, as our story goes back to the very first [Wayback/Archive] EKON – The Conference for Delphi & More in 1997 @ the Raunheim Astron Hotel Rhein-Main organised by Masoud Kamali ([Wayback/Archive] Massi Kamali (@MasoudMassi) / Twitter).
EKON was the first conference by Masoud/S&S. It and later conferences helped the Astron Hotels in the southern Frankfurter area (a few years Raunheim, Rüsselsheim and many years Mörfelden) grow a lot and it was the base were Matthias and a lot of other developers kept meeting up and started to know about each others personal lives as well.
Posted in About, borland, Delphi, Development, History, Personal, Software Development | Leave a Comment »
Posted by jpluimers on 2024/02/15
So I was on a medical site trying to copy my prescriptions trying to copy them:
Before copying After copying
In this case, the element that failed to copy was this:
Posted in CSS, Dark Pattern, Development, Software Development, User Experience (ux), Web Development | Leave a Comment »