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

On the 25th anniversary of the web, let’s keep it free and open (via: Tim Berners-Lee’s guest post on the Official Google Blog)

Posted by jpluimers on 2014/03/12

Today, on the 25th anniversary of “the web“, be sure to read Tim Berners-Lee‘s guest post Official Google Blog: On the 25th anniversary of the web, let’s keep it free and open.

Then – after watching his below video message – please help to keep the web free and open.

–jeroen

Greeting from Web inventor Tim Berners-Lee on the Web’s 25th anniversary on Vimeo on Vimeo

Posted in Opinions | Leave a Comment »

$120 Raspberry Pi Bundle with LCD Display, Expansion Boards, Cables, and Accessories (via: Jean-Luc Aufranc – Google+)

Posted by jpluimers on 2014/03/12

Jean-Luc Aufranc. is a great guy with lots of knowledge in the embedded world (read his resume).

I’ve been interested in Raspberry Pi experiments for a while now, so I was glad that today he pointed me to this very nice kit:

$120 Raspberry Pi Bundle with LCD Display, Expansion Boards, Cables, and Accessories

You can get it through DealExtreme, which I will do soon.

(I just saw how a guy is using a massive amount of Raspberry Pi and custom ASICs to mine for BitCoins)

–jeroen

via Jean-Luc Aufranc – Google+.

Posted in Development, Hardware Development, Raspberry Pi | Leave a Comment »

CodeRage 8 replays – Embarcadero Technologies – YouTube

Posted by jpluimers on 2014/03/12

For my own link archive: CodeRage 8 replays – Embarcadero Technologies – YouTube.

Lots of nice sessions, including these REST sessions:

About the REST support in Delphi: make sure you take a look at the REST Debugger application, as you get full source code for it and is an excellent starting point to see how the REST components work together (it is written using the FireMonkey UI framework so it runs on a Mac as well as on Windows).

David I explains more about the REST Debugger here: Sip from the Firehose : Using the REST Debugger will help you prototype your Delphi and C++ REST apps.

Jim McKeeth has a really nice video about it as well on XE5 REST Debugger Supercharged | The Podcast at Delphi.org which describes how to use Delphi the Delphi REST tools to use KimonoLabs to scrape data from web sites:

 kimono : Turn websites into structured APIs from your browser in seconds.

–jeroen.

RestDemo folder with many examples that connect to many social things (Twitter, FaceBook, DropBox, etc).

Posted in Delphi, Delphi XE5, Development, Software Development | Leave a Comment »

History: run HD image with Borland’s Turbo Pascal 5.5/6.0/7.0 and Microsoft’s QuickPascal 1.0 in VMware Fusion

Posted by jpluimers on 2014/03/12

Edit 20250102: added various “[Wayback/Archive]” archival links, VMware information, amended TUWA location, and added alternative csboot.zip download location on the Internet Archive (the Wayback Machine download is broken and the original gone)

A really long time ago, I posted in [Wayback/Archive] history – What features contributed to the evolution of Pascal? – Programmers indicating there was a [Wayback/Archive] Hard Disk Image of MS-DOS 6.22 with Pascal for Computer Studies. In fact, that is an IMG file of a DOS hard disk. And this posts shows how to use it with VMware Fusion on Mac OS X. The is a hard disk image contains:

  • A full version of MS-DOS 6.22 (MSDN Original)
  • Borland Turbo Pascal 7.0 (main)
  • Borland Turbo Pascal 6.0
  • Borland Turbo Pascal 5.5
  • Microsoft QuickPascal 1.0

Edit 20250102: does not work under VMware Fusion when you run Apple Silicon. Not figured out a performant alternative yet. Will try figuring out later.

DOS on a Mac

Read the rest of this entry »

Posted in Borland Pascal, Development, Fusion, Pascal, Power User, Quick Pascal, Software Development, Turbo Pascal, Virtualization, VMware, VMware Workstation | 1 Comment »

20 Jokes That Only Intellectuals Will Understand. Number 5 Took Me A Minute.

Posted by jpluimers on 2014/03/11

As an almost chemist, I like 11 (:

20 Jokes That Only Intellectuals Will Understand. Number 5 Took Me A Minute..

–jeroen

via: Arjen Lentz – Google+.

Posted in Comics | Leave a Comment »

.NET/C#/PowerShell: building .NET DiscUtils library for virtual disk images

Posted by jpluimers on 2014/03/11

Edit 20250107: added various [Wayback/Archive] archived links (dated as close to the blog post as possible) because of link-rot; marked some keywords as code; found the current .NET DiscUtils repository at [Wayback/Archive] GitHub – DiscUtils/DiscUtils: Utility libraries to interact with discs, filesystem formats and more where you also can download it.

 

.NET DiscUtils is an interesting open source .NET library for accessing and manipulating virtual disk images. Since it is entirely written in C# (without the need for P/Invoke), you should even be able to run this on non-Windows machines using mono. Later on, you will see the 0.11.0 build fails this, but it gives good hope it eventually will.

Virtual disk formats supported are DMG, ISO, RAW (IMG/IMA/VFD/FLP/BIF), VDI, VHD, VHDX, VMDK, and [Wayback/Archive] XVA, regular disks like Physical, iSCSI and NFS.

There are two ways of getting the .NET DiscUtils tools to run:

  1. [Wayback/Archive] download pre-build binaries (at the time of writing: version 0.10) from via [Wayback/Archive] .NET DiscUtils – Home, or
  2. from the [Wayback/Archive] latest source page, click the download button, then build the binaries from the source package. At the time of writing, that version is 0.11.

This post describes the second way, and requires PowerShell to be installed on your system (which probably is, as Windows 7 and Windows Server 2008 R2 include it). Read the rest of this entry »

Posted in .NET, .NET 4.0, .NET 4.5, C#, C# 4.0, C# 5.0, CommandLine, Development, PowerShell, Software Development | 1 Comment »

Sorting algorithms are art forms. Just see and hear how beatutiful they are.

Posted by jpluimers on 2014/03/10

Image and video art came through SORTING – A visualization of the most famous sorting algorithms and 15 Sorting Algorithms in 6 Minutes – YouTube.

Both via This is why I Code – Google+

Posted in .NET, Delphi, Development, Opinions, Software Development | 3 Comments »

QR code tools: parsing and generating

Posted by jpluimers on 2014/03/10

So I won’t forget.

On-line parsers:

On-line generators:

–jeroen

Posted in Barcode, Development, LifeHacker, Power User, Software Development | Leave a Comment »

Fix je Facebook met Social Fixer – Lifehacking

Posted by jpluimers on 2014/03/10

Briljant! Fix je Facebook met Social Fixer – Lifehacking.

Posted in Chrome, Facebook, Google, Power User, SocialMedia | Leave a Comment »

Delphi/Turbo Pascal: AppendWithRetry for text files to retry Append

Posted by jpluimers on 2014/03/10

Every once in a while you have multiple threads or processes wanting to write a short message to the same log file. Append then will give you an I/O error 32 (ERROR_SHARING_VIOLATION), but the below small routine will sleep a bit while retrying a couple of times.

It uses these Delphi aspects around the $I or $IOCHECKS compiler directive:

  • in $I+ mode, you get exceptions when certain “classic” Pascal style I/O operations fail.
  • in $I- mode, you access the IOResult to obtain the results of those I/O operations
  • IOResult gets the result of the last failed operation (if any) or zero if none failed
  • IOResult clears the underlying storage to zero
  • $IFOPT checks for a certain state of a compiler flag
  • You can store the state of $OPT in a temporary conditional define

Note there are a few tables of codes you can get back through IOResult as basically you can get many GetLastError results in IOResult as well: Read the rest of this entry »

Posted in Delphi, Delphi 1, Delphi 2, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 3, Delphi 4, Delphi 5, Delphi 6, Delphi 7, Delphi 8, Delphi x64, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development | 2 Comments »