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

Delphi memory managers – via Tommi Prami G+

Posted by jpluimers on 2014/12/30

There is a nice Delphi memory thread at G+ initiated by Tommi Prami for which I added some links to the memory managers:

  • FastMM (No signs of the Version 5)
  • ScaleMM – Interesting (two versions)
  • SynScaleMM – Fork of the previous
  • SapMM – Just found out about this, but tries to tackle multithreading issue.

More interesting comments (most people seem to favour FastMM, as they can get very good performance out of it even in multi-threaded environments) at There have not been much of the Talk of MemoryManagers lately….

Note there is also TBBMM based on TBB, but it seems unmaintained.

Barry Kelly’s memory manager is based on Boehm-Demers-Weiser GC.

–jeroen

Posted in Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Development, Software Development | Leave a Comment »

Tools to generate sample data from regeX expressions (via: Stack Overflow)

Posted by jpluimers on 2014/12/30

Thanks DD59 for posting these interesting links:

I like the name `Xeger`.

–jeroen

via: xml – Generate a valid example value for a xs:pattern – Stack Overflow.

Posted in .NET, Development, Java, RegEx, Software Development, Visual Studio and tools | Leave a Comment »

EveryTimeZone: The visualization of Time Zones done right.

Posted by jpluimers on 2014/12/29

Ever got your mind into a headache state because of time zone calculations?

Then EveryTimeZone.com is for you: the best visualization of time zones I’ve ever seen.

Makes it easy to schedule meetings, or be on-time for a webinar organized anywhere in the world.

Or to say “happy new year” just in time for your friends a few continents apart.

–jeroen

via: Time Zones.

Posted in LifeHacker, Power User | 1 Comment »

em-dosbox: Internet Archive port of DOSBOX in your Browser. Each New Boot a Miracle « ASCII by Jason Scott

Posted by jpluimers on 2014/12/27

Wow. Just wow. DOSBOX in a web browser.

Read this: Each New Boot a Miracle « ASCII by Jason Scott.

Then play with this: dreamlayers/em-dosbox or the integrated version here: https://archive.org/details/softwarelibrary_msdos

–jeroen

Posted in LifeHacker, MS-DOS, Power User | Leave a Comment »

Graphic with phones sizes compared Moto X through iPhone 6 Plus

Posted by jpluimers on 2014/12/26

Convenient: original.jpg (4600×986) with these phone sizes in increasing order of physical dimensions:

  • 4.7 inch Moto X
  • 4.7 inch LG Nexus 4
  • 4.7 inch iPhone 6
  • 4.95 inch LG Nexus 5
  • 5.2 inch 2014 Moto X
  • 5.5 inch LG G3
  • 5 inch HTC One M8
  • 5.2 inch Sony Xperia Z3
  • 5.5 inch OnePlus One
  • 5.7 inch Samsung Note 3
  • 5.9 inch Moto Nexus 6
  • 5.5 inch iPhone 6 Plus

–jeroen

Read the rest of this entry »

Posted in Power User | Leave a Comment »

Some links on Google Nexus 4 phones that suddenly switch themselves off

Posted by jpluimers on 2014/12/26

Over the last month or so, my Google Nexus 4 smartphone turned itself off when it should have had plenty of battery capacity left.

Just in case this happens to me more frequently…

Posted in Google, Nexus 4, Power User | Leave a Comment »

encfs – Encrypted User Mode file system for *nix

Posted by jpluimers on 2014/12/25

On my research list:

I knew about the TrueCrypt file system for Windows, but it looks like encfs provides something similar for *nix.

–jeroen

Posted in *nix, Power User, Windows | Leave a Comment »

[NL] Hotspots van flitsers in 2013

Posted by jpluimers on 2014/12/24

Hotspots van flitsers in 2013.

Posted in LifeHacker, Power User, Uncategorized | Leave a Comment »

For the 6502, 65c02 and 65816 freaks out there: WDC have made their Programming the 65816 Including the 6502, 65C02 and 65802 available for free again

Posted by jpluimers on 2014/12/24

Cool:

Shared publicly

For the 6502, 65c02 and 65816 freaks out there: WDC, who still produce the chips, have made their Programming the 65816 Including the 6502, 65C02 and 65802 available for free again (see link below). It’s the standard reference for the new version of these CPUs. Yes, this will be on the test. Ping +Alan Cox HT to BDD on 6502.org

–jeroen

For the 6502, 65c02 and 65816 freaks out there: WDC, who still produce the….

Posted in 6502, 6502 Assembly, Assembly Language, Development, History | Leave a Comment »

.NET/C#: Chaning the ForeColor of a ReadOnly/Disabled TextBox (via: Stack Overflow)

Posted by jpluimers on 2014/12/24

Once every while you still do WinForms work, and bump into something you hadn’t bumped into before.

This time it was trying to set ForeColor = Color.Red on a ReadOnly TextBox for displaying error messages:

  • Using a TextBox means the user can still copy the text to the clipboard.
  • Using a Red foreground draws enough attention (it’s was an app with a really busy user interface).

When setting a TextBox from ReadOnly = false to true sets the BackColor from SystemColors.Window (usually white) to SystemColors.Control (usually light grey), and leaves the ForeColor to SystemColors.WindowText (usually black).

Setting ForeColor = Color.Red (funny there is a plural in SystemColors but not in Color) it doesn’t display it as such:

To my surprise, the TextBox had ReadOnly text (you could copy, but not modify it), which showed with a a grey (SystemColors.Control) BackColor and a black (SystemColors.WindowText) ForeColor: the defaults for a ReadOnly TextBox, not using my ForeColor = Color.Red;

I vaguely remembered there was some odd way of solving this, but since I hadn’t written a blog article about it back then (somewhere around .NET 1.x or 2.0 I didn’t have a blog yet), I was glad that Cheetah posted this answer on StackOverflow: Read the rest of this entry »

Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Color (software development), Development, Software Development, VB.NET, VB.NET 10.0, VB.NET 11.0, VB.NET 7.0, VB.NET 7.1, VB.NET 8.0, VB.NET 9.0, Visual Studio 11, Visual Studio 2002, Visual Studio 2003, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools, WinForms | Leave a Comment »