Nick Hodges

Archive for the 'Delphi' Category

Random Thoughts on the Passing Scene #156

12 May

“The board "highly recommended" switching to Pascal/Delphi because it is stable and was designed to teach programming and problem solving.”
Cary Jensen has an interesting survey up on his blog, asking about how much you use the “non-core” features of RAD Studio.  Now this is an interesting question. He’s asking particularly about the unit testing, audit, [...]

Delphi Development Pretty Good Practices #4 – Do Work in Classes

05 May

The next principle for the “Pretty Good Practices” we’ll discuss is this notion:  Whenever possible and as much as possible, put functionality in a class –  preferably a class that can be easily unit tested, reused, and separated from any user interface.
TextScrubber demonstrates this via the use of the TTextScrubber class in the uTextScrubber.pas unit.  [...]

Delphi Development Pretty Good Practices #3 – File Setup

28 Apr

Okay, hopefully by now you’ve read the introduction of this series, and you’ve downloaded (or better yet, pulled from source control) the latest version of TextScrubber and given it a once over.  In this installment, I’m going to discuss the file structure of the project and why I did things the way I did.

First, [...]

Delphi Development Pretty Good Practices #1

19 Apr

A while back someone (I can’t remember who, sadly, sorry to the person who made the suggestion…) suggested that someone do a series of articles about “the best practices on how to develop a Delphi application”.  That’s a good idea.  There are a lot of ways to do things, and clearly there are some good [...]

Fun With Testing DateUtils.pas #5

07 Apr

Okay, so when I left you hanging in the last post, I promised I’d explain what was up with IncMillisecond.  But before I do that, I have to explain a bunch of stuff about TDateTime. And as it turns out, we’ll have to take a detour, and we won’t exactly get to IncMillisecond this time [...]

Fun With Testing DateUtils.pas #4

01 Apr

First, an admin note:  I’ve adjusted the color of strings in my code.   I was optimizing the colors for reading on my blog proper as opposed to the main site (hadn’t even thought of it, actually, sorry.), and someone pointed out that the colors weren’t working on the main site at all.  Hope that this [...]

Random Thoughts on the Passing Scene #153

31 Mar

Andreano has a new blog, or at least it is new to me – just found it today.  He has two items there that caught my eye:

His RADTweet project – a Delphi-based Twitter client – is online.  He has wisely put it on SourceForge for easy access, downloading, and updating. 
A project that shows how [...]

Fun With Testing DateUtils.pas #3

30 Mar

Okay, things have settled down again, and it is time to get back to my adventure in TDateTime and DateUtils.pas.
When we last left off, I had started at the top of DateUtils, and just started working my way down.  I had written some tests for DateOf and TimeOf, and tried to write tests that pretty [...]

Fun Phone Calls with Delphi Prism

05 Mar

I was talking with a customer yesterday.  It was a pretty typical conversation – they have a big investment in Delphi, with hundreds of thousands of lines of code.  They had built a major application for a major business using DataSnap and dbGo (formerly ADOExpress).  They had started to build some new web systems with [...]

Random Thoughts on the Passing Scene #148

04 Mar

The Haitian Relief Auction is wrapping up, and there are still some good deals to be had.  My favorite out there right now is the “Your name (and picture) in the RAD Studio Easter Egg”.  The bidding has gone above $100, so the winning bidder will have their picture included as well.  I can tell [...]

Live Templates

18 Feb

I’ve always said that by a country mile, the most under-appreciated, under-utilized, and under-exploited feature of the IDE is the Live Templates engine. 
If you haven’t explored Live Templates, you really should.  The Delphi Wiki has a pretty nice write up on them, as well as a page with a number of useful templates that [...]

Random Thoughts on the Passing Scene #143

06 Feb

Hey, feel free to weigh in on Delphi as your favorite language over at StackOverflow. Hat tip to Moritz Beutel for his answer.
The Haitian Relief Auctions are going like gangbusters.  We even made the Santa Cruz Sentinel!  (Way to go, Anders! And hey, I even got my name in the papers!)  Many of the items [...]

Random Thoughts on the Passing Scene #141

25 Jan

Well, there certainly is a lot of folks using serial ports out there. 
Allen Bauer goes on quite a tirade about stack frames and stack alignment.
We originally set 31 December 2009 as the last day you could upgrade from Delphi 2005 and below.  A bunch of you were still a bit hesitant, so [...]

Random Thoughts on the Passing Scene #140

14 Jan

Check out Channel E – a central location for Embarcardero’s online stuff: video, blogs, twitter, etc.
Interested in finding out more about Delphi Prism?  Long time Delphi developer Brian Long has written a White Paper which discusses using Delphi Prism and  Mono.  You can also download papers from Dr. Bob and Marco Cantu on REST, [...]

TSmiley 2010: The Next Generation in Uselessness

06 Jan

If I had a dollar for every time I’ve been “teased” about TSmiley, I could finance my own startup. 
TSmiley, for those of you that don’t know or haven’t heard, is maybe the very first third-party VCL component ever.  I built it for the first time way back in the fall of 1994 when I [...]

Random Thoughts on the Passing Scene #138

14 Dec

I spent some time working on the “Enhancements Since Delphi 7” page on the Delphi wiki.  Feel free to pitch in.  I’m sure that I missed a lot of stuff, as I did it kind of late of a Friday afternoon.  I’ll try to get back and fill it out as well.  (I referenced the [...]

Random Thoughts on the Passing Scene #135

25 Nov

Phew – okay, been a while.  I was “on the road” last week.  Thanks to all the great folks that showed up in Philadelphia, Raleigh, and Minneapolis for my road show.  I hope I was able to convey the great stuff in the latest version of RAD Studio.  (Don’t forget to use your “special codes” [...]

The Coming RAD Studio Update

13 Nov

This week we were in the early stages of rolling out what was to be “RAD Studio Update 2” with a large number of bug fixes.  We put the update out on the web and the registered users page, and posted an article on the Embarcadero Developer Network. We were excited, because there are a [...]

The Delphi Survey

26 Oct

Hey, the Delphi Survey is back!  It’s long, but well worth the time.  Please go and fill it out as completely and as thoroughly as you can.  We really read and study and use and act on the valuable information we get from it.  Your opinions really matter and really make a difference. Thanks in [...]

Random Thoughts on the Passing Scene #132

15 Oct

Oh, by the way, another good way to get your comments deleted is to use profanity.  Should have mentioned that before.
The guys over at Gurock Software have a really cool article called “Working with Delphi’s new Exception.StackTrace” showing how you can get more information about stack traces at runtime. 
Want to write an iPhone [...]

TurboPower Update #1

29 Sep

Wow – I think that my TurboPower blog post has generated more comments than any has in a while.  The response has been gratifyingly positive.  There have been a couple of issues and questions raised, so I’ll make a few further points:

Okay, first things first:  Is it Turbopower or TurboPower?
Please go to this one question [...]

I am now tpsfadmin on SourceForge

28 Sep

There has been a lot of interest lately in the TurboPower projects on SourceForge.  Lots of folks have used Turbopower code in the past and are now wanting to bring this code forward to Delphi 2010.  There has been a lot of work done in this area already, but unfortunately, the SourceForge pages haven’t always [...]

Random Thoughts on the Passing Scene #128

17 Sep

Okay, question:  How do I end up with people on my Twitter following list that I know I didn’t put there?  I get these people in my Twitter stream that I’ve never heard of, and – surprise!!! – they are spamming me.  How does that happen? (Updated: Let me be clearer — I end up [...]

Random Thoughts on the Passing Scene #127

14 Sep

Time is running out on the BOGO deal.  Act now and get a free product.  This offer will end soon!
Have you ever had the overwhelming desire to embed a game into the Delphi IDE?  Well, now you can, as Chris Hesik shows you the new Open Tools APIs to do just that.  Or maybe something [...]

What are you doing with Embarcadero Tools?

11 Sep

Tim Del Chiaro, RAD Studio Marketing Manager is asking a good question:  What have you built with Delphi and other Embarcadero Products? We’d love to know.  So, now is your chance to brag about that cool application you’ve been building all these years.  You can help us get the word out about what Delphi and [...]

Random Thoughts on the Passing Scene #126

10 Sep

The invaluable Pierre LeRiche has updated FastMM  “FastMM is a lightning fast replacement memory manager for Borland Delphi Win32 applications that scales well in multi-threaded applications, is not prone to memory fragmentation, and supports shared memory without the use of external .DLL files.”  Delphi 2010 uses a pared-down version of FastMM because, well, because Pierre [...]

Random Thoughts on the Passing Scene #124

05 Sep

A bunch of guys here on the R&D team are hard at work putting together their CodeRage 4 presentations.  Most of the talks will concentrate on the new things you can do with RAD Studio 2010, including new IDE and VCL features. If you haven’t registered yet, I’d strongly recommend that you do so. 

[...]

RAD Studio 2010 is Now Available

25 Aug

Well, after a lot of hard work, RAD Studio 2010 is now available.  You can buy it this very minute at our shop site and from our excellent partners around the world. 
Our team put in a lot of hard work and brain power to get this release done.  Quality continues to be the top [...]

QC-based Features in RAD Studio 2010

25 Aug

There have been a bunch of sneak peaks and blog posts and a lot of attention paid to some of the “flagship” features in Delphi 2010 like Gestures, DataSnap, Firebird connectivity, IDE Insight, the Code Formatter, and more.  Cool stuff, to be sure (and you can find out more about all of these cool things [...]

FAQ about the W32/Induc-A Virus (Compile-A-Virus)

24 Aug

We posted an FAQ about the W32/Induc-A Virus.  Hopefully it will answer those, well, questions that are frequently getting asked.  :-)  The virus is easy to detect and easy to fix and easy to prevent.
To highlight a few things:

This only affects older versions of Delphi – versions 4 – 7 specifically.
The virus isn’t malicious; it [...]

© 2013 Nick Hodges | Entries (RSS) and Comments (RSS)

Your Index Web Directorywordpress logo
Close