The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • 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

Archive for the ‘Development’ Category

Fixing the GitHub gist CSS so the editor uses more than 25% of my screen estate

Posted by jpluimers on 2024/06/05

Two years ago I asked [Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “Is there a way to make the @github gist text editor wider and taller? Right now (at 1920×1200) it uses about half the screen width and screen height. That wastes about 25% of screen estate. “.

I still have to figure out how to fix the height, but the width was relatively easy back then. Hopefully this CSS fix still works today.

In the mean time [Wayback/Archive] Add full height gist creation by xthexder · Pull Request #68 · xthexder/wide-github: Conversation permanently fixed my problem.

[Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “I fixed the width by modifying .container-lg and changing max-width from 1018px to 95%.”

Until GitHub fixes it themselves, I started with this fix in the extension [Wayback/Archive] Stylus – Chrome Web Store:

Read the rest of this entry »

Posted in CSS, Development, DVCS - Distributed Version Control, gist, GitHub, HTML, Software Development, Source Code Management, Web Development | Leave a Comment »

maartensukel/example-textual-classification-citizen-reports: Example of a simple textual classification using TF-IDF and LR.

Posted by jpluimers on 2024/06/04

Cool technology:

[Wayback/Archive] maartensukel/example-textual-classification-citizen-reports: Example of a simple textual classification using TF-IDF and LR.

The classification is done by using a TF-IDF (Term Freuqency – Inversed document frequency) as representation for the text and a logistic regression to classify the text. Optimal hyperparameters for the dataset are found using a gridsearch.

Author: [Wayback/Archive] Maarten Sukel (@MaartenSukel) / Twitter

The source is based on Python Pandas and sci-kit learn (also known as sklearn).

Read the rest of this entry »

Posted in Development, Pandas, Python, Scripting, Software Development | Leave a Comment »

Hopefully a newer and more reliable “Computa Pranksta” mouse jiggler device will ever be released

Posted by jpluimers on 2024/05/30

For my link archive as this was a cool idea, but for many their device didn’t last that long:

[Wayback/Archive] ElectricRCAircraftGuy/eRCaGuy_ComputaPranksta_Support: Public support for my “Computa Pranksta” mouse jiggler device I sell on Amazon and elsewhere.

This device is a mouse jiggler. It keeps your computer awake. It can also be used to have some fun with your friends (please don’t take it too far–it’s meant to be used in good, friendly gest–not for any type of malicious purposes).

Notes:

Links on those USB Mouse Jigglers below, but first some links on the Computa Pranksta:

Read the rest of this entry »

Posted in Development, Hardware, Hardware Development, Hardware Interfacing, IoT Internet of Things, Keyboards and Keyboard Shortcuts, KVM keyboard/video/mouse, Power User, Software Development, USB | Leave a Comment »

Stephan Kämper: Processing a Number of Image Files – Seaside Testing

Posted by jpluimers on 2024/05/29

I have a hard time remembering all those ImageMagick parameters, so I was glad that Stephan posted this: [Wayback/A] Processing a Number of Image Files – Seaside Testing

Via: [Wayback/Archive] Stephan Kämper on Twitter: “Another note to self: How I can resize image files using @ImageMagick. ➙ …”

–jeroen

Posted in Development, Image Editing, ImageMagick, Power User, Scripting, Software Development | Leave a Comment »

AI won’t concur the world for at least a while: searching for a pipe in Google Search

Posted by jpluimers on 2024/05/28

No matter if it has switched to AI or not, Googl Search will show the “not a pipe” image first.

[Wayback/Archive] William Gerrard on X: “Google is so broken that the first image it gave me for a pipe is something that is not a pipe 🙄 “

[Wayback/Archive] GOIFP6casAAhOd_.jpg (1170×1085)

--jeroen

Posted in AI and ML; Artificial Intelligence & Machine Learning, Development, Google, GoogleSearch, Power User, Software Development | Leave a Comment »

Script alternatives to the Windows-L keyboard shortcut (SwitchUser / LockWorkstation)

Posted by jpluimers on 2024/05/23

More than a decade ago I wrote about Programmatic alternatives to Windows-L keyboard shortcut (SwitchUser / LockWorkstation).

Still, I see many scripts invoke rundll32.exe or  to call the [Wayback/Archive] LockWorkStation function (winuser.h) inside user32.dll. Don’t!

The BOOL LockWorkStation()function has a calling convention that is incompatible with rundll32.exe () which will corrupt the call stack likely will lead to random problems as after two decades, this post from Raymond Chen still holds: [Wayback/Archive] What can go wrong when you mismatch the calling convention? – The Old New Thing

Read the rest of this entry »

Posted in .NET, Batch-Files, C#, CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Security, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, Windows Server 2016 | Leave a Comment »

User Inyerface – A worst-practice UI experiment

Posted by jpluimers on 2024/05/22

Forgot that this site has been there for like 6 years now: [Wayback/Archive] User Inyerface – A worst-practice UI experiment.

Related: [Wayback/Archive] How I experience the web today

Via among others:

 

Posted in Conference Topics, Conferences, Development, Event, Power User, Software Development, User Experience (ux) | Leave a Comment »

Lots of interesting git links via b0rk on Twitter

Posted by jpluimers on 2024/05/22

A few years back [Wayback/Archive] 🔎Julia Evans🔍 (@b0rk) / Twitter asked for tips on learning git which resulted in a wealth of resources.

Related: [Wayback/Archive] xkcd: Git

So the below are for my link archive.

Yes, I have removed most of not all Unicode emojis as they are a pain for visually impaired to listen to from screen readers.

Future

Later I want to categorise all these, maybe using categories like these:

  • Videos
  • Stories/narrations
  • Levels (beginner/intermediate/advance)
  • Direction (inside-out vs outside-in)
  • (Rough) reimplementations
  • Perspectives from different version control systems
  • Failures: learning from or preventing them

I need to contemplate about that for a while.

--jeroen

Read the rest of this entry »

Posted in Algorithms, Conference Topics, Conferences, Development, DVCS - Distributed Version Control, Event, git, Software Development, Source Code Management | Leave a Comment »

Watch “Felienne Hermans: How patterns in variable names can make code easier to read” on YouTube

Posted by jpluimers on 2024/05/21

A while ago, various sources pointed me to the great video below by [Wayback/Archive] Felienne Hermans: How patterns in variable names can make code easier to read – YouTube.

I responded to the first Tweet with a series of tweets describing my two pet-peeves that I see going wrong when teaching new programmers how to name things (the examples are in Delphi, but I have seen similar shortcuts being taken in C#, VB.NET, and JavaScript being taught in both courses and conference sessions).

The two pet-peeves are:

  • avoid abbreviations as those are context sensitive; given software development already mixes technical context (it’s software development!) and domain/semantic context it makes it extra hard to decipher abbreviations
  • if you want/need to mix technology and semantics in names (most often you do), start with the most meaningful semantics and end with the least meaningful technology
    • if you don’t need technology in your names, at least put the most meaningful semantics and end with the least meaningful technology

Both very well amend what Felienne – a university professor – states in her research backed video:

“Their results show that ‘linguistic code smells’ actually increase cognitive loads,” she said. “Your brain has to work harder to process code that has these type of code smells. So that’s not what we want.”

I saved the [Wayback/Archive] tweets in the [Wayback/Archive] ThreadReader as this text (slightly edited for formatting):

Read the rest of this entry »

Posted in Agile, Code Quality, Conference Topics, Conferences, Development, Event, Software Development, Systems Architecture | Leave a Comment »

Ventoy – open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files.

Posted by jpluimers on 2024/05/16

For my link archive:

Read the rest of this entry »

Posted in Development, Hardware, Hardware Interfacing, Power User, USB, USB | Leave a Comment »