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 October 9th, 2024

The Deadlock Empire: end-screen

Posted by jpluimers on 2024/10/09

Forgot to schedule this back in the days, but this was the end screen of [Wayback/Archive] The Deadlock Empire (blog about it before, see links below):

Congratulations!

Two threads were in a critical section at the same time.

In the end… victory!

The Parallel Wizard is destroyed and his fortress crumbles at your feet. You have won. Never again will programmers over the world have to endure the difficulty of correct multithreaded programming because in defeating the Parallel Wizard, you have banished concurrency. The world will be as it was decades ago, with computer running at a reasonable speed and in the right order, as prescribed by the wise programmers.

‘Although,’ you wonder, ‘the tricks I used were somewhat useful… and I did feel quite a bit faster when parallelized. Perhaps there is something to this whole parallelism thing.’

Indeed, perhaps there is, commander. Perhaps parallelism is useful, after all, Master Scheduler. The points you make are valid and maybe you should not be so quick to dismiss the advantages of parallelism and faster execution. After all, with the skills you gained fighting The Deadlock Empire, don’t you think that you have become…

…an even greater Parallel Wizard?

Thank you, dear Scheduler, for playing The Deadlock Empire. We hope you had as much fun playing this game as we had making it. Concurrency programming is hard but it’s also beautiful in a way and the world can always use more people learned in its ways. You are to be congratulated for making it this far. We are looking forward to the new software or games you will create using your knowledge of multithreading.

You mastered all the lessons of The Deadlock Empire. Thank you for playing!
Any thoughts about the game or ideas for improvement? We’d like to hear those! Just fill out this form.

The “this form” link likely dies in 2025 because of the Googl shortener sunset earlier. It pointed to [Wayback/Archive] The Deadlock Empire feedback.

Blog links:

--jeroen

Posted in Uncategorized | Tagged: | Leave a Comment »

40 Years Ago, Drexel Made Computer — and Apple — History

Posted by jpluimers on 2024/10/09

Not having lived in the USA, I was unaware this was major step there: [Wayback/Archive] 40 Years Ago, Drexel Made Computer — and Apple — History.

A big part of the importance – giving them away for free – fails in the above link title, but the content makes up for that very well.

Boy, this was so different from my education era (:

I you want to see how this worked 40 years ago, be sure to read [Wayback/Archive] In Pictures: When Drexel gave every student a Mac in 1980s – Interesting Engineering.

This great VCF East recapitulation pointed me to the Drexel Macintosh: [Wayback/Archive] VCF East 2024 – A Whirlwind of Retro Shenanigans! – YouTube.

There is even this beautiful video: [Wayback/Archive] 1984 ‘Drexel’ Macintosh 128K- Restoration and History! – YouTube

Read the rest of this entry »

Posted in Apple, Classic Macintosh, History, Power User | Leave a Comment »

Downloading a file from the Windows console without first installing a command-line tool

Posted by jpluimers on 2024/10/09

Note that the below methods likely will cause security warnings if a Windows machine has been properly configured, but in most cases at least one of them works.

  1. using cURL (Widows 10 and up)
    curl --url https://speed.hetzner.de/100MB.bin --output %TEMP%\100MB.bin
  2. using [Wayback/Archive] certutil | Microsoft Docs (at least Windows 7 and up; needs UAC elevation)
    certutil.exe -urlcache -split -f https://speed.hetzner.de/100MB.bin %TEMP%\100MB.bin
  3. using PowerShell (at least Windows Vista and up)
    powershell.exe -Command (New-Object System.Net.WebClient).DownloadFile('https://speed.hetzner.de/100MB.bin','%TEMP%\100MB.bin')

I think it works for all versions of curl, certutil, and PowerShell though I did not have anything older than up-to-date Windows 7 (having PowerShell version 3) and recent to test on.

Read the rest of this entry »

Posted in *nix, *nix-tools, .NET, Batch-Files, CommandLine, cURL, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, Windows Development, Windows Vista | Leave a Comment »