Archive for the ‘Software Development’ Category
Posted by jpluimers on 2024/06/06
From a long time go and a project that got cancelled, but maybe in the future I will need a similar thing again: back in the days not all raw key codes were readily documented or converted correctly from winuser.h to other environments (0x45 is the keyboard raw scan code value for VK_NUMLOCK of the Num Lock key).
[Wayback/Archive] delphi – What is the meaning of the bScan parameter value 0x45 in keybd_event? – Stack Overflow (thanks [Wayback/Archive] David Heffernan and [Wayback/Archive] kludg):
Read the rest of this entry »
Posted in .NET, Conference Topics, Conferences, Delphi, Development, Event, Software Development, Windows Development | Tagged: include | Leave a Comment »
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 »
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 »
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 »