The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

    • RT @samgerrits: Caroline en asielzoekers, een tweeluik. Links: dwepen met een speldje gekregen van een Iraanse asielzoeker, rechts: nou ja… 3 hours ago
    • RT @delphijunkie: Yeah, nah. I'm good thanks Twitter. https://t.co/eTMPUoeSEa 3 hours ago
    • RT @d_feldman: Microsoft: We have world class AI research Google: We have world class AI research Meta: We’re one or two steps behind in AI… 3 hours ago
    • RT @SchipholWatch: Op dit moment is kerosine zo’n tien keer goedkoper dan alternatieve synthetische brandstof. De overheid moet dit prijsve… 3 hours ago
    • RT @jasongorman: One aspect of LLMs many folks overlook is the energy cost of training one. GPT-3 used an ~936 MWh and training it took 102… 3 hours ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,178 other subscribers

Archive for February 21st, 2017

Keeping A GitHub Fork Updated

Posted by jpluimers on 2017/02/21

git fetch upstream

git rebase upstream/master

Source: Keeping A GitHub Fork Updated

For GitHub pull requests, then:

git checkout -b feature-name upstream/master

Source: Git Forks And Upstreams: How-to and a cool tip | Atlassian Git Tutorial

–jeroen

Posted in Development, DVCS - Distributed Version Control, git, Source Code Management | Leave a Comment »

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 »

 
%d bloggers like this: