Visit site Yet Another Programming Blog

June 2009

2
votes
Vote UpVote

Extending TObject with data at runtime

Yet Another Programming Blog – In a recent comment on this blog someone suggested a way of  extending an existing object instance with custom data at run-time. The main idea is to be able to “assign” to an arbitrary object (whose sources you cannot change) some other object at run-time. This may prove to be useful in ...
Details Favorite? Off-Topic? alex @ 2009-06-13 15:25
4
votes
Vote UpVote

Enumerating over a directory structure

Yet Another Programming Blog – Me again, and again with enumeration techniques. In this post I will try to coven a very common problem all programmers have to face one time or another: enumerating all files recursively in a directory. Yesterday I had to do it again, and again following the standard FindFirst … FindNext and ...
Details Favorite? Off-Topic? alex @ 2009-06-12 13:39
3
votes
Vote UpVote

Arbitrary precision integers

Yet Another Programming Blog – I have decided to extract the BigInteger and BigCardinal data types from DeHL and make a bundle with them separately. Someone may be interested in these types and not so much in DeHL. The attached unit should compile on D2007 and D2006 (not sure for earlier versions). What can you learn: Shows you ...
Details Favorite? Off-Topic? alex @ 2009-06-10 17:29
10
votes
Vote UpVote

Playing with Windows 7

Yet Another Programming Blog – I was playing around with some (default Windows) programs these days and noticed that taskbar items for those programs show some cool effects whenever there is some progress going on So I decided to write a little unit to take advantage of these effects in one of my Delphi applications. To take ...
Details Favorite? Off-Topic? alex @ 2009-06-09 21:52
3
votes
Vote UpVote

DeHL documentation

Yet Another Programming Blog – Since I had a few requests, I have started putting together some documentation on DeHL. It’s pretty basic and only includes some conceptual stuff, not API documentation. You can find it here. Version 0.5 is shaping up quite well with tons of changes, and new stuff coming in — but ...
Details Favorite? Off-Topic? alex @ 2009-06-09 18:06

May 2009

5
votes
Vote UpVote

What’s new in DeHL 0.4

Yet Another Programming Blog – In the previous post I have mostly talked about Enex (Enumerable Extensions) I have enabled for all DeHL’s collection classes. Now I will list the other changes that got into this release that may be of interest to you: Enex (Enumerable Extensions) in DeHL.Collections.Enex. Support for ...
Details Favorite? Off-Topic? alex @ 2009-05-13 08:39
7
votes
Vote UpVote

DeHL 0.4: Linq-ifying Delphi

Yet Another Programming Blog – Since I have started working on DeHL, one of the main purposes was to get to the point where I could use Linq-like extensions on collection classes. Of course I could not call the new functionality Linq since it’s not language-integrated, so I decided to give it another name: Enex (aka ...
Details Favorite? Off-Topic? alex @ 2009-05-12 15:13
2
votes
Vote UpVote

More about enumerables

Yet Another Programming Blog – In the last post I have described how enumeration works in Delphi. Now I will try to expand the subject a bit and make a more general description of what enumerability actually means and how it can solve some basic problems and patterns. “An enumrebale is not necessarily a collection“. ...
Details Favorite? Off-Topic? alex @ 2009-05-12 10:59
2
votes
Vote UpVote

Enumerables in Delphi

Yet Another Programming Blog – It is not a surprise that most programming languages in our time have the built-in support for enumerators/iterators. This is a mandatory feature since enumerators and enumerable collections simplify the development of applications and make the code cleaner. Languages such as C#, Java or Delphi have ...
Details Favorite? Off-Topic? alex @ 2009-05-12 09:58

April 2009

4
votes
Vote UpVote

DeHL 0.3 is out

Yet Another Programming Blog – I’m proud to announce the 0.3 version of DeHL library. This release focused on bug-fixes and extensions to type support engine. This version should pretty much stabilize what I started and should leave me more time to extend other interesting parts of the library such as collections. For those ...
Details Favorite? Off-Topic? alex @ 2009-04-29 19:08
2
votes
Vote UpVote

I hate integers!

Yet Another Programming Blog – Did I catch your attention? I guess I did if you are reading this. Just to be clear, I don’t hate integers — I hate using integers (a.k.a. signed numbers) where they don’t make sense. For example let’s take the standard intrinsic routine called Length (in System unit). It ...
Details Favorite? Off-Topic? alex @ 2009-04-05 17:04
0
votes
Vote UpVote

DeHL 0.2.3 released

Yet Another Programming Blog – Not many changes in this release: Fixed a bug in BigCardinal related to zero-length numbers BigCardinals embedded in variants now properly negate. Support for the NOT operation for BigCardinal. … As usual some tests. 0.2.3 is based on 0.2.2 and not on the trunk since trunk is seriously ...
Details Favorite? Off-Topic? alex @ 2009-04-05 09:07

March 2009

0
votes
Vote UpVote

DeHL 2.2 Released

Yet Another Programming Blog – In this release I have changed the name of the library from DelphiHelperLib to DeHL to be shorter. The most important changes in this release are: Renamed the library to DeHL in hopes to remove the length of the unit names. Renamed all classes to use the T prefix rather than H. It was an unfamiliar ...
Details Favorite? Off-Topic? alex @ 2009-03-25 16:01
2
votes
Vote UpVote

How To: Invokable Variants

Yet Another Programming Blog – In this post I will try to explain how to create a “late-bound” dictionary based on invokable variants. Most of the techniques related to the creation of a custom Variant data type are already described in How To: Creating a custom Variant type. To store the Key/Value pairs in my custom ...
Details Favorite? Off-Topic? alex @ 2009-03-23 13:38
0
votes
Vote UpVote

Little warning

Yet Another Programming Blog – If you’re ever going to write a custom invokable variant read the following, otherwise just skip this post. I will not detail on how to create a custom invokable variant type (that is a matter for another post), but simply give an advice related to how function and procedure calls should be ...
Details Favorite? Off-Topic? alex @ 2009-03-20 14:26
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Delphi Tage Torry Firebird News

Sponsor

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