Archive
Monday, 4. December 2017
0
votes

Advent of Code
The Delphi Geek
– Last few days I'm having great fun solving problems from Advent of Code 2017 page and so does my daughter (with a bit of help from her dad). I'm using Delphi and she Python so that's also a good practice to brush my multilanguage skills ;)Go ahead, take a look at the problems. Some are simple, some ...
1
vote

Delphi tip of the day: {$WARN UNSUPPORTED_CONSTRUCT ERROR}
The Wiert Corner
– Delphi tip of the day: {$WARN UNSUPPORTED_CONSTRUCT ERROR} It will throw a compiler error when you use an attribute that isn’t defined as the above [WayBack] turns a warning into an error as normally [WayBack] UNSUPPORTED_CONSTRUCT is only a warning. Which means that this code now fails: type ...
Friday, 1. December 2017
0
votes

The Palindrome Software Testing Challenge
blog.gurock.com
– The Workshop on Teaching Test Design was held in Columbus, Ohio in February of 2015. The goal of the workshop was to come up with a set of exercises that can be freely distributed to help people teach test design. I grouped up with one other person, Paul Harju, and wrote a small web page in ...
0
votes

In the middle of winter, Spring comes to Ljubljana
The Delphi Geek
– Indeed, it is snowing for the last three days. Not much, but winter is definitely here.To add some green to the white surroundings we'll spend the next Friday talking about spring. Or, actually Spring. For Delphi. Also known as Spring4D - definitely the best Delphi collection of programming goodies ...
Thursday, 30. November 2017
1
vote

Getting rid of [dcc32 Warning] W1029 Duplicate constructor ‘ClassName.ConstructorName’ with identical parameters will be inacessible from C++
The Wiert Corner
– Note that the below solution works for any project raising the W1029 warning (not just from projects using Delphi Mocks) like [dcc32 Warning] W1029 Duplicate constructor 'ClassName.ConstructorName' with identical parameters will be inacessible from C++ From my original text at [WayBack] Get rid of ...
Wednesday, 29. November 2017
0
votes

Canonical Delphi Singleton Pattern – Stack Overflow
The Wiert Corner
– Though I try to refrain from using the singleton pattern when possible (I prefer dependency injection over accessing “globals” that usually tend up to be not so global after all), sometimes I need to. In C# there has been a canonical singleton pattern implementation by John Skeet for a ...
0
votes

I Taught Myself to Code and You Can Too!
blog.gurock.com
– Many people want to teach themselves to code. The problem is that there are hundreds of resources, and it’s difficult to evaluate what works, and what you need. As a teacher by training, I know how to break a complicated subject down into smaller pieces, and how to connect abstract concepts ...
0
votes

tiOPF discussion thread
The Wiert Corner
– Sometimes the title of a G+ entry looks not so interesting, but then you read the comments. In this cast it’s about the mediator pattern support in the tiOPF object persistence framework, how it works very well from Free Pascal and both classic and modern Delphi compilers and why developers ...
Tuesday, 28. November 2017
0
votes

Implementing Memoize in Delphi 2009 – Community Blogs – Embarcadero Community
The Wiert Corner
– I think it was Stefan Glienke who pointed me at the Memoisation pattern: [WayBack] Implementing Memoize in Delphi 2009 – Community Blogs – Embarcadero Community Or in laymans terms: caching with generic functions and dictionaries. Note the Archive.is link is way better readable than the ...
Friday, 24. November 2017
0
votes

Cross JIRA Analysis with FireDAC CDATA JIRA Connector
Marco's Tech Blog
– In Embarcadero, for the RAD Studio project, we have two JIRA systems. One is a public system better known as Quality Portal (https://quality.embarcadero.com), while the second is an internal JIRA system accessible only behind the firewall. The two systems are kept in sync, as I explained in the ...
0
votes

The Quality Mountain
blog.gurock.com
– Every product team knows that it can be an uphill struggle to scale their product to where it needs to be, and that hiring a dedicated tester may not be top priority in the early days of a business. The information you get from good testing should be though – because a poor quality product ...
Thursday, 23. November 2017
0
votes

Use operator overloading for classes with non-ARC compiler · GitHub
The Wiert Corner
– [WayBack] Use operator overloading for classes with non-ARC compiler · GitHub The trick: do not use class operator but use class function &&op_ with the special operator name in the table referenced below. Just follow the bulleted example links to get an idea. Bonus: it works on class helper ...
1
vote

Capitalization Conventions – more than Canceled not Cancelled
The Wiert Corner
– [WayBack] Capitalization ConventionsFiled under: .NET, Delphi, Development, Software Development
Wednesday, 22. November 2017
0
votes

Less Checking – More QA!
blog.gurock.com
– Julia Atlygina and developer Alexander Ivkin came by our TestRail stand at the Atlasssian Conference. Imagine our surprise when we learned they had created a mobile application that enables users to view, execute and get reports on their tests from a linked TestRail instance! As you’ll know ...
0
votes

check if network connection is permanent
The Wiert Corner
– Thanks Uwe for the below code! I was in a situation of a batch file running from a Task Scheduler that got broken because the user suddenly turned on persistent network connections. So I needed to check if a shared drive-letter was indeed persistent or not and act accordingly. The below code helped ...