Long read: well worth it. [WayBack] I Wrote The Fastest Hashtable | Probably Dance
github repository: skarupke/flat_hash_map: A very fast hashtable
source download: https://github.com/skarupke/flat_hash_map/blob/master/flat_hash_map.hpp
–jeroen
Posted by jpluimers on 2017/02/27
Long read: well worth it. [WayBack] I Wrote The Fastest Hashtable | Probably Dance
github repository: skarupke/flat_hash_map: A very fast hashtable
source download: https://github.com/skarupke/flat_hash_map/blob/master/flat_hash_map.hpp
–jeroen
Posted in C++, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2017/02/26
Cheatsheet:
A; B Run A and then B, regardless of success of A A && B Run B if A succeeded A || B Run B if A failed A & Run A in background.
Source: bash – Which one is better: using ; or && to execute multiple commands in one line? – Ask Ubuntu [WayBack]
Thanks Jack [WayBack] for the initial answer ubfan1 [WayBack] for getting the formulation right, Hatshepsut [WayBack] for making it a readable cheat-sheet and leftaroundabout [WayBack] for making this brilliant addition using parenthesis which can be used for all permutations:
(A && B) & In the background: run B if A succeeded
–jeroen
Posted in bash, Development, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2017/02/23
the release of 1.2 is almost there! We are working hard to deliver it shortly after the next Delphi release which will happen … soonish, I think. ;)
The release/1.2 branch has been around for a while – please take a look if you haven’t already. It contains a lot of new features and bugfixes. I will tell you more about some of the amazing features next time which won’t take as long as it took since the last blog post – promise. :)
Apart from a very interesting take on DI resolvers, the above great info too!
Please take a look at spring4d/branch/release/1.2 as it has been very stable for quite some time.
Source: [WayBack]: Delphi sorcery: Generics, modules and typeinfo
–jeroen
via: [WayBack] Finally some blog article again ;) – Stefan Glienke – Google+
Posted in Delphi, Delphi 10 Seattle, Delphi 10.1 Berlin (BigBen), Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2017/02/23
Some links that were useful getting back into using Delphi with resource scripts and include files:
Maybe I should have considered this alternative:
–jeroen
PS: a first go on a resource file structure for Version Information is below.
Posted in Delphi, Development, QC, Resource Files and Scripts (.res/.rc), Software Development | Leave a Comment »
Posted by jpluimers on 2017/02/22
Interesting read that doesn’t hold just for App development: How Much Does an App Cost: A Massive Review of Pricing and other Budget Considerations – Savvy Apps
–jeroen
Posted in Development, Software Development | Leave a Comment »
Posted by jpluimers on 2017/02/22
A while ago, I bitched that Microsoft moved away the Windows Update out of the Control panel into a language depended place (in Windows 10 1511 update broke the Hyper-V networking – Fix network connection issues).
Since then I had to maintain too many locales running Windows 10. So here is the batch file:
for /f "delims=" %%A in ('PowerShell -Command "(Get-Culture).Name"') do explorer "%LocalAppData%\Packages\windows.immersivecontrolpanel_cw5n1h2txyewy\LocalState\Indexed\Settings\%%A\AAA_SystemSettings_MusUpdate_UpdateActionButton.settingcontent-ms"
It uses these tricks:
It replaced this simple batch-file which has worked for like 10 years:
%windir%\System32\rundll32.exe url.dll,FileProtocolHandler wuapp.exe
–jeroen
via: Windows Update Shortcut – Create in Windows 10 – Windows 10 Forums
Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, Batch-Files, CommandLine, Development, Power User, PowerShell, Scripting, Software Development, Windows, Windows 10 | Leave a Comment »
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 »
Posted by jpluimers on 2017/02/21
“Just a couple of bugfixes”, but one is very important to me: [WayBack] double 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: [WayBack] http://files.dsharp.org/TestInsight/1.1.4.0/TestInsightSetup.zip
More info: [WayBack] sglienke / TestInsight — Bitbucket
Fixes bugs: [WayBack] sglienke / TestInsight / issues – Resolved — Bitbucket
–jeroen
Posted in Delphi, Development, Software Development | Leave a Comment »
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+
[WayBack] Does anyone have a run-time fix for CreateInOutError raising an EInOutError w…:
Does anyone have a run-time fix forCreateInOutErrorraising anEInOutErrorwithCode=3(correct) andMessage='Invalid file name - %s'(incorrect becauseSystem.SysUtilsshould have usedSystem.SysConstnotSystem.RTLConstandSystem.RTLConstwrongly duplicates some resource strings inSystem.SysConst) See [WayBack] http://qc.embarcadero.com/wc/qcmain.aspx?d=129530.
–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 »
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 »