Reminder to all developers: the Obligation of the Programmer on Clean Coder Blog.
By Uncle Bob, exactly a month ago.
–jeroen
Posted by jpluimers on 2014/12/15
Reminder to all developers: the Obligation of the Programmer on Clean Coder Blog.
By Uncle Bob, exactly a month ago.
–jeroen
Posted in .NET, Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2014/12/12
I had some excessive CPU usage (30% on a 4-core system) inside WheaAttemptPhysicalPageOffline when using an Intel HD graphics 2500 GPU.
At first I thought I needed to convince IT to update the drivers: Intel HD graphics causing high CPU utilization | Intel Communities.
Then I closed all Visual Studio 2013 instances and the CPU usage went to normal.
So I’m suspecting a WPF issue somewhere.
–jeroen
Posted in Development, Power User, Software Development, Visual Studio 2013, Visual Studio and tools, Windows, Windows 7 | Tagged: CPU usage, CPU utilization, excessive CPU usage, Intel Communities, Intel HD graphics | Leave a Comment »
Posted by jpluimers on 2014/12/11
One of the long term todo list things is moving a very old project away from StarTeam 5..
Some links I found. Not promising…
–jeroen
Posted in Development, DVCS - Distributed Version Control, Source Code Management, StarTeam, Subversion/SVN | 4 Comments »
Posted by jpluimers on 2014/12/10
Convenient list to decide what to put in your version control system: Delphi File Extensions – Delphi Programming.
–jeroen
Posted in Delphi, Delphi 1, Delphi 2, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 3, Delphi 4, Delphi 5, Delphi 6, Delphi 7, Delphi 8, Delphi x64, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2014/12/09
In Delphi 6 and 7, .ddp files were used to store the Delphi Diagram Portfolios.
Often these files were created empty like `Empty.ddp`, so it pays to clean up those.
The below batch file (part of the free BeSharp.net code repository) will help with that. Make sure you download this Empty.ddp file and put it in the same directory as the batch file.
Call the batch file with the path to the directory tree you want to delete the Empty .ddp files from. Read the rest of this entry »
Posted in Delphi, Delphi 6, Delphi 7, Development, Software Development | 1 Comment »
Posted by jpluimers on 2014/12/04
I’ve done partitioned programming (using various layers for different kinds of functionality) for ages.
The first time I can remember of official terms for it, I already used patterns like that for a couple of years.
Back then the parts were from Object-Oriented Design: Peter Coad, Edward Yourdon, back in a time when each part – back then not called common layer – was called “component”: Read the rest of this entry »
Posted in Delphi, Development, Pascal, Software Development, Turbo Pascal | 2 Comments »
Posted by jpluimers on 2014/12/03
I bumped into some issues for a client/server project that tried to perform its own SSPI/NTLM base64 authentication on the server side.
Some links that helped me debug that combo:
–jeroen
Posted in Development, SOAP/WebServices, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2014/12/02
Last year’s summer, I posted some .NET/C#: some starting posts on the yield keyword and mentioned that async and await might be the most complicated compiler transform.
So here are some posts to learn more about async and await: Read the rest of this entry »
Posted in .NET, .NET 4.0, .NET 4.5, C#, C# 5.0, Development, Jon Skeet, Software Development | 1 Comment »
Posted by jpluimers on 2014/12/01
Via Best C# Article of October 2014 Nicolas Dorier – NBitcoin I learned that dthorpe (yes, that is indeed Danny Thorpe many people know him from the Delphi, C# and Google world) is active as Contributors to NicolasDorier/NBitcoin and on quite some Bitcoin related repositories.
When we met last summer, he was visiting the Bitcoin 2014 conference in Amsterdam. It is really good to see his activity, and I really hope his Opex.io venture (see his LinkedIn profile) will take off, as his ideas are sound.
–jeroen
Posted in .NET, Bitcoin, C#, Cryptocurrency, Delphi, Development, History, Power User, Software Development, Windows Azure | 3 Comments »
Posted by jpluimers on 2014/12/01
After speaking on EKON 2014 and ItDevCon 2014, the last month has been extremely busy on both the work and family side of things.
So it took longer to write my review of the Delphi Cookbook by Daniele Teti, Packt publishing (ISBN 978-1783559586).
Before the review, first two ways to see for yourself if you’d like the book:
Daniele Teti has a Table of Contents on the page where he introduced his book, but that ToC is a bit poorly formatted, so I included a better formatted one below.
Some other reviews of the Delphi Cookbook also make an interesting read (I read them after writing my own):
Before the review a disclaimer. I bought the eBook version before Packt publishing asked for reviewers. They sent me a paper copy for free (which somehow took 2 weeks to arrive). I read about 25% of the book before the two European Delphi conferences, and the rest over the last two weeks.

I’ll try to keep this to the point, as too much detail would be killing. And I’m not writing a book here (:
So lets start with what I like:
I want to stress the last: Daniele Teti did an excellent job on this.
When writing a book or teaching material, it is hard to strike balances between the kinds and diversity of topics, the depth and order of the topics, and choosing between what to cover and how to cover it.
The way the chapters a built together with a variety of interesting topics per chapter, a great mix of chapters, and the various topics building (but not too much relying) on previously covered topics is really great. The whole book shows that Daniele is a great teacher. Well done.
Then a few things I dislike:
The dislikes are minor compared to the likes, so here is the…
I didn’t buy the book by accident: knowing the presentation and teaching style of Daniele, I was expecting a nice mix of topics explained in a light and fun way. The book surpassed those expectations by far.
So any Delphi programmer should buy this book. If not for using right now, then for getting some ideas, and reading the various topics later.
Below some suggested combinations for using this book various Delphi audiences.
Buy this book. It gets you inspired, even if only some of the topics are suited for real beginners. Then get the books below, read them and get back to the Delphi Cookbook for more inspiration:
Buy this book. Consider buying Coding in Delphi by Nick Hodges.
Also read Coding in Delphi by Nick Hodges.
I know few people that master all Delphi topics well (I’m not one of them: especially on the mobile side I’ve still a lot to learn). Even for gurus, I think this is a nice book, especially considering the price.
–jeroen
Synchronizing shared resources with TMonitor
Talking with the main thread using a thread-safe queue
Synchronizing multiple threads using TEvent
Displaying a measure on a 2D graph like an oscilloscope
–eof–
Posted in Delphi, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Development, Software Development | 5 Comments »