The materials for my “Connect your applications with REST” workshop are now available online (in Slovenian language).
Below you can find all the interesting DELPHI- and REST-related links I have collected during the preparation of this workshop.
The materials for my “Connect your applications with REST” workshop are now available online (in Slovenian language).
Below you can find all the interesting DELPHI- and REST-related links I have collected during the preparation of this workshop.
My CodeRage X session on parallel programming with patterns is now available on YouTube.
Each time I have to record a webinar, I have trouble remembering how exactly did I do it last time, so I decided to document my workflow. Maybe this will help somebody else besides me …
If you have any ideas on how to improve my workflow or if you have a different way of solving same problems, then please post it in the comment section. Thanks!
[v 1.01: Added screenshots of CamStudio and Filmora settings and few words on Audacity settings.]
[v 1.02: Added appendix A with some time&space information.]
During the Q&A part of my Simplify Parallel Programming with Patterns presentation on CodeRage X, I’ve promised the listeners to publish a demo for updating a progress bar from a parallel for loop.
In this article I’ll try to explain few different approaches that all solve this problem. I’ve also put together a demo project which demonstrates all techniques.
Firstly, thanks to everybody who visited my RAD Studio 10 Seattle presentation! I’m sorry I had to improvise because of bad video drivers, but on the other hand RAD Studio performed great!
Secondly, here is a bunch of links I’ve promised.
My short spotlight presentation about high-level OmniThreadLibrary patterns is now available on YouTube.
EDIT: Make sure you read this post to the very end!
Are you developing a code that must work in different Delphi versions? Are you sick of writing code like
{$IF CompilerVersion >= 22}
class function Mapper<T1,T2>: IMapper<T1,T2>;
{$ENDIF}
as you a) never know when some feature was introduced into Delphi and b) constantly wonder which version of Delphi has CompilerVersion equal to 22?
Then maybe you could use this simple include file.
Next Thursday (24th) I’ll be presenting new RAD Studio 10 Seattle in Ljubljana. This is announcement for Slovenian readers.
Naslednji četrtek (24.) se mi pridružite v kristalni palači na predstavitvi novega RAD Studia 10 Seattle, ki je po mnenju mnogih (in tudi mojem), ena boljših različic tega programskega orodja v zadnjih letih.
Predstavil vam bom izboljšano podporo za Windows 10 (v VCL in FMX), nove vizualne gradnike, izboljšave v IDE, novo podporo za mobilna okolja (razhroščevanje iOS 64-bit programov, pisanje sistemskih storitev za Android), novosti in izboljšave v sistemskih knjižnicah RTL, pa tudi novosti v prevajalnikih za C++ in še marsikaj.
Več podatkov o dogodku najdete tu.
Hear, hear, OmniThreadLibrary 3.05 has just been released!
What’s new? Not much.
There were, however, many quite important bug fixes. You are strongly advised to update to this version!
OmniThreadLibrary now supports the Delphinus package installer. If you are using Delphi XE or newer, you can install Delphinus, select OmniThreadLibrary, and click Install. Delphinus will do the same steps GetIt does: download OTL, recompile and install package, and add proper paths to the search and browsing path. Source will be installed to c:\Users\Public\Documents\Embarcadero\Studio\<release>\Comps\.
If you are not using OmniThreadLibrary yet, or if you are only using its low-level parts (CreateTask and company), I’m kindly inviting you to a 20-minute presentation “Simple Parallel Programming with Patterns and OmniThreadLibrary”, which will be transmitted as a part of the Embarcadero Technology Partner Spotlights series on September 3rd.
There are three timeslots to chose from so I’m sure everybody can find a suitable time. After the first two presentations I’ll be handling Questions and Answers and Jim McKeeth has kindly offered to do the job for the third presentation as it will be around 02.25 AM here when it is finished.
If you want to see something interesting and new, register here!
[Slides, code, and video will be available on my blog after the presentation.]
Just a quick note – OmniThreadLibrary 3.04b is now available on XE8 via GetIt.
I have updated the Parallel Programming with OmniThreadLibrary book with the Miscellaneous chapter. The book is now almost complete!
Changelog:
OmniThreadLibrary now supports 11 different Delphi versions (2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8), some with very special requirements about the supported pascal syntax (2007 and 2009 clearly standing out in that regard) so it takes quite some time to test the compilation of all demos and run unit tests on all supported editions. (And this time will only increase with the addition of support for mobile platforms and OS X. Not that I’m complaining. Sean is doing a terrific job there!)
It does not help that I don’t have all those Delphis installed on my computer. Most of them are only installed in a VM. And it takes a looooong time to start up a VM, run tests, power it down, start up next VM, and so on. And when I fix something, I have to retest it all ….
This kind of testing hurts. So in the manner of the Continuous Integration mantra, I decided to do it more often.
I have just updated OmniThreadLibrary to version 3.04b. This is kinda important update as I somehow messed the 3.04a release which did not include support for more than 60 concurrent tasks that was added in version 3.04. This important feature is now back and I’ve added few other small improvements.
Changelog for this release:
Version 3.04b can be downloaded here. Alternatively, you can check out this release or update to the trunk.
I have also released a new version of “the book” which is now 239 pages long! Following sections were added/updated:
After a (much too) long time, I have (finally) found some time to work on my book “Parallel Programming with OmniThreadLibrary”. For starters, I have updated existing content so that the current version (3.04) is properly documented. The following topics were added/updated:
Update is free (as it always was and as it will always be) for all owners of the book. You probably already received an email with details. If not, you should just go to LeanPub and download the new version.
You can buy the book (and with that support the OmniThreadLibrary development) here.
Thanks to [leledumbo], GpSQLBuilder now works with the FPC pascal and supports the INSERT statement.
You can now write statements such as:
query := CreateGpSQLBuilder
.Insert
.Into(DB_TEST)
.&Set(COL_1, [42])
.&Set(COL_2, 'abc')
.AsString;
Which will give you:
INSERT INTO Test (Column1, Column2) VALUES (42, 'abc')
OmniThreadLibrary is now available on GetIt so it can be installed in XE8 with a single click!