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 February, 2017

Delphi and stuff: The strange limitation of 64 threads

Posted by jpluimers on 2017/02/21

… there’s no need to use WaitForMultipleObjects in Step 2. It’s fairly easy to keep a counter of active threads in the pool (interlocked-incremented when a thread starts, interlocked-decremented when a thread is finished). When the counter reaches zero (no more active threads), signal an event. With only one event to wait for, you can use WaitForSingleObject

So no more 64-thread (MAXIMUM_WAIT_OBJECTS) limits for pools…

Source: Delphi and stuff: The strange limitation of 64 threads

–jeroen

Posted in .NET, Delphi, Development, Power User, Software Development, Windows | Leave a Comment »

New version of TestInsight (1.1.4) – just a couple of bug fixes…

Posted by jpluimers on 2017/02/21

“Just a couple of bugfixes”, but one is very important to me: [WayBackdouble clicking on a test-result now doesn’t freeze the IDE and brings you to the right source code line.

[WayBack] I just released a new version of TestInsight (1.1.4) – just a couple of bug fixes and small enhancements.You find the download link on the TestInsight… – Stefan Glienke – Google+

Download: [WayBackhttp://files.dsharp.org/TestInsight/1.1.4.0/TestInsightSetup.zip

More info: [WayBacksglienke / TestInsight — Bitbucket

Fixes bugs: [WayBacksglienke / TestInsight / issues – Resolved — Bitbucket

–jeroen

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

Looking for a run-time fix for CreateInOutError raising an EInOutError with the wrong string.

Posted by jpluimers on 2017/02/21

Does anyone have a run-time fix for CreateInOutError raising an EInOutError with Code=3 (correct) and Message=’Invalid file name – %s’ (incorrect becaus… – Jeroen Wiert Pluimers – Google+

[WayBackDoes anyone have a run-time fix for CreateInOutError raising an EInOutError w…:

Does anyone have a run-time fix for CreateInOutError raising an EInOutError with Code=3 (correct) and Message='Invalid file name - %s' (incorrect because System.SysUtils should have used System.SysConst not System.RTLConst and System.RTLConst wrongly duplicates some resource strings in System.SysConst) See [WayBack] http://qc.embarcadero.com/wc/qcmain.aspx?d=129530.
It would be so cool if a fix fills in the %s with the invalid file name.

–jeroen

Later: this seems to be reported in [RSP-20588] Exception message created for missing file has %s – Embarcadero Technologies

Posted in Delphi, Delphi 10 Seattle, Delphi 10.1 Berlin (BigBen), Delphi XE7, Delphi XE8, Development, Software Development | Leave a Comment »

Finder doesn’t work since Yosemite – Ask Different

Posted by jpluimers on 2017/02/20

Source: Finder doesn’t work since Yosemite – Ask Different [WayBack]:

This fix from Reddit worked perfectly for me!!

http://www.reddit.com/r/osx/comments/2jtikj/finder_not_responding_new_yosemite_install/ [WayBack]

You can most likely fix the issue by clearing out Finder’s saved state, caches, and/or settings.

Use Spotlight (the search icon in the far right of the menu bar) to find and open the “Terminal” application. Triple-click the following line in order to copy and paste it into Terminal’s window:

rm -fR ~/Library/Saved\ Application\ State/com.apple.finder.savedState ~/Library/Caches/com.apple.finder; killall Finder

If it still doesn’t work, try this one:

mv ~/Library/Preferences/com.apple.finder{,.backup}.plist; killall Finder

–jeroen

Read the rest of this entry »

Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, Power User | Leave a Comment »

Twisted Doodles on science

Posted by jpluimers on 2017/02/20

I while ago, I ‘discovered’ Twisted Doodles. She sells cards, T-shirts, etc of some of them too.

I especially love the science doodles (some of which you can buy):

You can get the super large images by clicking the links below.

–jeroen

Read the rest of this entry »

Posted in Fun, Quotes, T-Shirt quotes | Leave a Comment »

Happy World Information Architecture Day

Posted by jpluimers on 2017/02/18

I hope you have a nice World IA Day 2017.

Don’t repeat last years though…

–jeroen

Image: Geek And Poke: Architectural Best Practices [WayBack]

Via: die natürliche Transformation vom Spaghetticode zu Lasagnecode [WayBack]

Posted in Development, Software Development | Leave a Comment »

Some links I’ll need for monit one day

Posted by jpluimers on 2017/02/17

Getting monit to run on opensuse isn’t a feat.

I might try again one day with these links:

–jeroen

Posted in *nix, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »

“Developer Desks” – multi monitor setups in “Trading System” disguise.

Posted by jpluimers on 2017/02/17

via: “Developer Desks” – I think this company is artificially limiting their source of income. – Kristian Köhntopp – Google+

Interesting as the company provides multi-monitor fitting systems up to 8 wide by 4 high and full solutions (including PC and monitor) of 7 wide by 2 high monitors. Even custom made solutions are possible: Sonderlösungen – Trading-PC. They provide electric height adjustment systems too:Elektrische Höhenverstellung – Trading-PC.

Their sister company provides desks and other furniture related to multi-monitor systems: Sedergo – High-End Furniture Made in Germany. They provide height adjustable desks as well: Elektrische Höhenverstellung. Both companies are owned by XECURIS GmbH & Co. KG

One day, I’ll redo the office (:

Posted in LifeHacker, Power User | Leave a Comment »

Now that Delphi will reintroduce Linux as a target: what features / support do you expect in the compiler and libraries?

Posted by jpluimers on 2017/02/17

Almost 2 decades after the first Delphi Linux support in [WayBackBorland Kylix by an full tool-chain (IDE, compiler, debugger, libraries) running on Linux, Embarcadero/Idera is about to support Linux again in a cross-compiler fashion that was originally scheduled for late 2016 as Delphi Godzilla [WayBackEmbarcadero RAD Studio 2016 Product Approach and Roadmap – Embarcadero Community and [WayBackLinux support for Delphi to be available end of 2016 – Synopse.

It seems to be finally getting here as Delphi 10.2 Tokyo when you look at the [Archive.is] Delphi Linux Boot Camp promotion for instance at [WayBackDelphi Linux Boot Camp – Community Blogs – Embarcadero Community.

I’m curious at what people expect from it.

So please comment your expectations, for instance:

  • what Linux distribution targets
  • what processor architectures
  • what language support (ARC, classic, 1-based strings, etc)
  • what library support
  • what IDE support (like debugger features)
  • what speeds

If you want to get a head start, then read these:

–jeroen

PS: Please forgive any language/grammar mistakes as I’m a bit bored and very tired after waiting some six ours in the ER room [WayBack] Mentally retarded brother had a bicycle incident. Broke one of is cheekbones, his nose and parts of both orbits. At the ER of LUMC waiting for further r… – Jeroen Wiert Pluimers – Google+

Read the rest of this entry »

Posted in Delphi, Development, Kylix, Software Development | 3 Comments »

Supermicro A2SAV mini-ITX Board Powered by Intel Atom E3940 SoC Features 6 SATA Ports, Dual GbE, and Up to 9 USB Interfaces

Posted by jpluimers on 2017/02/17

Interesting board: [WayBackSupermicro A2SAV mini-ITX Board Powered by Intel Atom E3940 SoC Features 6 SATA Ports, Dual GbE, and Up to 9 USB Interfaces

All below pictures from www.cnx-software.com

Could for IoT hardware and software development.

via: [WayBack] http://www.cnx-software.com/2017/02/06/supermicro-a2sav-mini-itx-board-powered-by-intel-atom-e3940-soc-features-6-sata-ports-dual-gbe-and-up-to-9-usb-in… – Joe C. Hecht – Google+

–jeroen

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