Visit site The Delphi Geek

March 2015

4
votes
Vote UpVote

Unit Testing Recap & Downloads

The Delphi Geek – The Unit Testing workshop was pretty much full. It was good to see that many interested Delphi programmers in one room. Thanks for coming, everybody! The downloads for the workshop are now online. --- Published under the Creative Commons Attribution 3.0 license
Details Favorite? Off-Topic? gabr @ 2015-03-19 15:37
3
votes
Vote UpVote

What’s New in Delphi XXXX

The Delphi Geek – A great list of “What’s new” for Delphis from 3 to XE7 can be found on StackOverflow. (just noticed and thought I’d better pass this on) --- Published under the Creative Commons Attribution 3.0 license
Details Favorite? Off-Topic? gabr @ 2015-03-12 11:07
3
votes
Vote UpVote

Unit Testing, Mocking, Inversion of Control

The Delphi Geek – On March 19th (that’s next Thursday), I’ll be leading a workshop dedicated to unit testing Delphi programs. We’ll start with basics and and cover different tools (DUnit, DUnit2, DUnitX, TestInsight) and different programming methodologies. Register here. --- Published under the Creative Commons ...
Details Favorite? Off-Topic? gabr @ 2015-03-11 15:43
6
votes
Vote UpVote

OmniThreadLibrary 3.04

The Delphi Geek – OmniThreadLibrary 3.04 is now released. Get it here or check out the release-3.04 tag (or just follow the trunk, which is the best way to experience the OmniThreadLibrary). Some other links you may need: Home page: http://www.omnithreadlibrary.com/Google+ community: ...
Details Favorite? Off-Topic? gabr @ 2015-03-01 19:13

February 2015

7
votes
Vote UpVote

OmniThreadLibrary 3.04 Release Candidate

The Delphi Geek – RC for the new OmniThreadLibrary release is available here. This version should work with Delphis from 2007 to XE7. Win32 and Win64 are supported for Console and VCL applications. --- Published under the Creative Commons Attribution 3.0 license
Details Favorite? Off-Topic? gabr @ 2015-02-18 15:42
1
vote
Vote UpVote

Converting Collection to an Array

The Delphi Geek – Blocking collections (IOmniBlockingCollection) are basic elements for data storage and transfer in many high-level OmniThreadLibrary abstractions. They can, however, be somewhat clumsy when you want to read data from them, as there is no indexed access, just the basic “give me next element” ...
Details Favorite? Off-Topic? gabr @ 2015-02-03 18:13

January 2015

4
votes
Vote UpVote

Parallel Map

The Delphi Geek – At my latest parallel programming presentation a participant suggested that I should extend the OmniThreadLibrary with a parallel mapping abstraction. Dear sir, here is a gift for you.var numbers: TArray<integer>; odds : TArray<string>;begin //initialize the `numbers` array (not ...
Details Favorite? Off-Topic? gabr @ 2015-01-30 21:08
3
votes
Vote UpVote

Implementing Record Assignment Operator [2]

The Delphi Geek – Yesterday I hinted at having a working (and easy to use) solution which allows you to detect a record assignment (or copying, if you want) and to access both records (left and right part of the assignment operation). You can also modify record data when an assignment is detected. I also mentioned ...
Details Favorite? Off-Topic? gabr @ 2015-01-10 07:06
3
votes
Vote UpVote

Implementing Record Assignment Operator [1]

The Delphi Geek – Following the yesterday’s hunch, I did some research and I came up with a way to detect when a record is copied (simple, supported, working everywhere) and even to access both records (source and target) during that operation (unsafe, unsupported and currently working only for Win32). Now I can ...
Details Favorite? Off-Topic? gabr @ 2015-01-09 08:44
4
votes
Vote UpVote

Implementing Destructor for a Record

The Delphi Geek – Smart records in Object Pascal are very nice, but they have a stupid limitation – you cannot implement a destructor for a record. A solution for that is quite simple and can be found all over the internet – add an interface to this record and implement the cleanup in this interface. To make it even ...
Details Favorite? Off-Topic? gabr @ 2015-01-08 17:38

December 2014

5
votes
Vote UpVote

Blast from the past: Turbo Pascal raytracer

The Delphi Geek – Paweł’s recent post reminded me of a veeeeeery old raytracer I wrote in years 1985/89. (Yes, young ones, we had computers then!) Header states: 1985-07-10:  Computer: VAX-11/750  Language: Pascal V2  Graphics: VT100 1988-02-03:  Computer: IBM-PC  Language: Turbo Pascal 4.0  Graphics: EGA 640 x 350 ...
Details Favorite? Off-Topic? gabr @ 2014-12-25 18:13
6
votes
Vote UpVote

Attribute-based Command Line Parsing

The Delphi Geek – Oh, command line parsing, the old enemy of mine! In ye olden days, when I was learning Pascal, I did some programming on VAX/VMS systems, where you could (and should) leave the job of command line parsing to the DCL – the command line interpreter (something like CMD.EXE on Windows). You just wrote a ...
Details Favorite? Off-Topic? gabr @ 2014-12-13 19:51

November 2014

3
votes
Vote UpVote

OmniThreadLibrary 3.04 beta 1 – testers needed

The Delphi Geek – I have (finally!) implemented support for more than 60 simultaneous tasks in the OTL thread pool and for more than 60 waitable events in the IOmniTaskControl. This also enables support for massively parallel execution in OtlParallel abstractions. IOW, Parallel.ForEach will run correctly on machines ...
Details Favorite? Off-Topic? gabr @ 2014-11-27 21:00
0
votes
Vote UpVote

Parallel programming with XE7–reminder

The Delphi Geek – A note for Slovenian readers. Ne pozabite – jutri bom predstavil novo knjižnico System.Threading, ki olajša razvoj hitrih in odzivnih programov za vse platforme, ki jih podpira RAD Studio – Windows, OS X, iOS, Android – ter v obeh programskih jezikih – Delphi in C++. Ogledali si bomo tudi novosti v ...
Details Favorite? Off-Topic? gabr @ 2014-11-26 09:53
1
vote
Vote UpVote

Pohitrite programe z RAD Studiom XE7

The Delphi Geek – This is an invitation for the XE7 workshop in Slovenia which is targeted at Slovenian programmers. RAD Studio XE7 prinaša nov način paralelizacije programov. S kodo, zbrano v enoti System.Threading lahko na enostaven način pohitrite nekatere funkcije v programih, tako da se izvajajo sočasno z drugo ...
Details Favorite? Off-Topic? gabr @ 2014-11-12 15:36
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)