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

Archive for the ‘Development’ Category

html – How to display an unordered list in two columns? – Stack Overflow

Posted by jpluimers on 2025/06/05

For a, I wanted to a HTML ul list the SQL keywords in multiple columns I was afraid this would be a tough CSS job, but in practice it was way easier than even explained in the below Stack Overflow answers that made me find

[Wayback/Archive] columns – CSS: Cascading Style Sheets | MDN

The columns [Wayback/Archive] CSS shorthand property sets the number of columns to use when drawing an element’s contents, as well as those columns’ widths.

TL;DR:

  • I used <ul style="columns:3">...</ul>
  • For setting column width, this failed in Chrome <ul style="column-count: 2; column-width: 15em;">...</ul>
    but this worked: <ul style="column-count: 2; width: 480px;">...</ul>

Here are the answers:

Read the rest of this entry »

Posted in Conference Topics, Conferences, CSS, Development, Event, HTML, Software Development, Web Development | Leave a Comment »

Kevlin Henney on encapsulating and restricting Mutability of State to improve software quality

Posted by jpluimers on 2025/06/04

Important read (5 minutes or so): [Wayback/Archive] Restrict Mutability of State. When it is not necessary to change, it is necessary not to change… | by Kevlin Henney | Feb, 2025 | Medium

Via [WaybackSave/Archive] Kevlin Henney on X: “Blogged: Restrict Mutability of State “What appears at first to be a trivial observation turns out to be a subtly important one: a great many software defects arise from the (incorrect) modification of state.” “

--jeroen

Posted in Conference Topics, Conferences, Design Patterns, Development, Event, Software Development, Systems Architecture | Leave a Comment »

b0rk on Twitter about getting unstuck: “debugging strategy: do the annoying thing”

Posted by jpluimers on 2025/06/04

Not just about getting unstuck during debugging: making progress is often about doing “the annoying thing”.

[Wayback/Archive] Julia Evans on Twitter: “debugging strategy: do the annoying thing”:

Read the rest of this entry »

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

Tom Sydney Kerckhove on Twitter: “I haven’t found any programming tasks that an LLM could do even barely correctly. What kind of code are you all writing?!”

Posted by jpluimers on 2025/06/03

Interesting responses [WaybackSave/Archive] Tom Sydney Kerckhove on X: “I haven’t found any programming tasks that an LLM could do even barely correctly. What kind of code are you all writing?!” and later

They all come down to

  • excuses for using LLM without any substantial result (most of the results come down to one having to become the tester and fixer of the generated code without newer generated code being improved: the opposite of coaching an apprentice)
  • become better at prompting (which is basically regarding the prompt as a new programming language: been there, done that)

[WaybackSave/Archive] One of the “become better at prompting” replies referred to a blog post disguising prompting as writing lots of unit tests: [Wayback/Archive] The Cline AI Assistant is Mesmerizing · mtlynch.io

Read the rest of this entry »

Posted in AI and ML; Artificial Intelligence & Machine Learning, Development, LLM, Software Development | Leave a Comment »

“How come these shapes are so DIFFICULT??”

Posted by jpluimers on 2025/06/03

Cool video about how developers feel when others (like QA) test or use the software they have just built:

[Wayback/Archive] Devs watching QA test the product – YouTube

I got to the video via [Wayback/Archive] sanja zakovska 🌱 on Twitter: “Devs watching QA test the product… “ to which the author responded with

[Wayback/Archive] Alison Burke on Twitter: “@sanjazakovska Incase anyone needs the resolution 😂😂 follow me on tiktok! vm.tiktok.com/ZMJKeK29a

Read the rest of this entry »

Posted in Conference Topics, Conferences, Dark Pattern, Development, Event, Software Development, Testing, User Experience (ux) | Tagged: , , , , , , , , , , , , , , | Leave a Comment »

On Hanslow Stellare e-ink labels: Using e-ink (epaper) Price Tags (Shelf Labels) for everyday needs – YouTube

Posted by jpluimers on 2025/05/29

Interesting video: [Wayback/Archive] Using e-ink (epaper) Price Tags (Shelf Labels) for everyday needs – YouTube

It linked these:

Queries:

--jeroen

 

Posted in Development, Hardware, Hardware Interfacing, IoT Internet of Things | Leave a Comment »

Barcodes van statiegeldflessen

Posted by jpluimers on 2025/05/29

Het overkomt te vaak dat barcodes beschadigd of overplakt zijn (hallo Too Good to Go, hallo “samen minder verspillen” van Jumbo en vergelijkbare acties)

Daarom wat barcodes van producten die je er overheen kunt plakken:

Gerelateerd: Generating EAN-13 barcode EPS files for your article numbers – die had ik al eerder bijgewerkt met gearchiveerde links.

--jeroen

Posted in Development, EPS/PostScript, LifeHacker, Power User, Software Development | Leave a Comment »

What is the Python 3 equivalent of “python -m SimpleHTTPServer” – Stack Overflow

Posted by jpluimers on 2025/05/29

Now that Python 2 has been dead for long enough (has it been unsupported for 5 years? yes it has: [Wayback/Archive] Status of Python Versions), it was finally time to change my alias for running a local web-server to serve files from a directory (:

So, from [Wayback/Archive] What is the Python 3 equivalent of “python -m SimpleHTTPServer” – Stack Overflow (thanks [Wayback/Archive] ryanbraganza, [Wayback/Archive] k.avinash and [Wayback/Archive] Petr Viktorin):

python -m http.server 8000, it will start the server on port 8000

Docs with the migration hints: [Wayback/Archive] 20.19. SimpleHTTPServer — Simple HTTP request handler — Python 2.7.18 documentation

Read the rest of this entry »

Posted in *nix, *nix-tools, bash, Batch-Files, Development, Power User, Python, Scripting, Software Development | Leave a Comment »

Bypassing ACLs with SeRestore privilege. And very simple User to LocalSystem elevation. – YouTube

Posted by jpluimers on 2025/05/28

This is cool and scary at the same time, especially since I knew about other privileges (SeDebugPrivilege comes to mind).

Granted you need to be local administrator for this, but still: for some tasks you do not need to elevate in the traditional way, but just give your current token more privileges.

[Wayback/Archive] Bypassing ACLs with SeRestore privilege. And very simple User to LocalSystem elevation. – YouTube

Via [WaybackSave/Archive] Grzegorz Tworek on X: “Friendly Reminder: If you have admin privileges but lack the necessary file permissions, you can leverage the SeBackup/SeRestore privileges directly from cmd.exe! There’s no need to elevate to LocalSystem, duplicate TrustedInstaller, or use similar methods. Simply enable the …”

Read the rest of this entry »

Posted in C, Development, Power User, Software Development, Windows, Windows Development | Leave a Comment »

b0rk: “debugging strategy: jump into a REPL” / Twitter

Posted by jpluimers on 2025/05/28

[Wayback/Archive] 🔎Julia Evans🔍 on Twitter: “debugging strategy: jump into a REPL” (more platforms in the replies to the Tweet)

title: jump into a REPL In dynamic languages (like Python / Ruby / JS), you can jump into an interactive console at any point in your code. Here's how to do it in a frontend Javascript program: 1. edit your code code: ``` my_var = call_some_function() debugger; ``` 2. refresh the page 3. play around in the developer tools console! you can call any function you want / try out fixes! How to do it in other languages: Ruby: `binding.pry` Python: `import pdb; pdb.set_trace()`

Read the rest of this entry »

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