Timeline - Delphi Workshop

Thumbnail

noreply@blogger.com (Rudy Velthuis) | 2019-05-01 20:25

Found this piece of code in a message (now deleted) on Stack Overflow, for the language Go: func addGmp(a, b, c, d, e, f, x, y, X, Y, P *big.Int) (*big.Int, *big.Int) { // a,b,c,d,e,f this var (fast in func) a.Sub(Y, y) b.Sub(X, x) ... The problem is not only that all the parameters have single-letter names that don't say anything about them, the much bigger problem is that there are parameters named x and y as well as X and Y. This is, IMO even worse than something like (in C): int SomeApi(HWND hwnd, HDC hdc); Let me reiterate…

Thumbnail

noreply@blogger.com (Rudy Velthuis) | 2019-02-26 23:57

I don't know if anyone noticed, but there is something new in the System unit of Delphi 10.3 Rio that is not documented yet. In Rio, if you want to improve the default pseudo random number generator (PRNG), you can now supply your own 32 bit random function. There is a procedural variable, Random32Proc of type function: UInt32, to which you can assign your own random function. Random will call this function to get a new random value instead of the default function. The default setting of this variable is System.DefaultRandom32. This is the same as the old Delphi PRNG.…

Thumbnail

noreply@blogger.com (Rudy Velthuis) | 2019-02-02 13:00

Just a short thanks. I personally still prefer Usenet-like NNTP newsgroups and a newsreader like XanaNews, Forté Agent, Gravity or even Mozilla Thunderbird over any web-based forums. But since we don't have those anymore, I would like to thank the fine people at Delphi-Praxis.net. They have done an excellent job replacing the various Google+ as well as the old Embarcadero forums. They have created a well balanced set of groups to discuss things pertaining Delphi and C++Builder. Sure, there is the new Idera Community, the official replacement for the Embarcadero forums, but I think the Delphi-Praxis.net forums have a, je…

blong | 2019-01-09 06:44

Some Delphi users building iOS applications have been thwarted by a…, well let’s be polite and call it a bit of an annoyance, when building their applications. What should just be an informational message about a warning from the ld linker ends up becoming a build breaker. The failure message looks something like this example (taken from RSP-19759, reported in January 2018):[DCC Error] E2597 ld: warning: unknown dwarf DW_FORM_strp (offset=0xFFFFCEE7) is too big in FBSDKShareKit.a(FBSDKAppInviteContent.o) ld: warning: unknown dwarf DW_FORM_strp (offset=0xFFFF6E38) is too big in C:\Dev\lib\ios\facebook\FBSDKShareKit.framework\FBSDKShareKit.a (FBSDKAppInviteContent.o) The fact that ld is emitting a warning about something is neither here…

blong | 2019-01-09 06:44

Some Delphi users building iOS applications have been thwarted by a…, well let’s be polite and call it a bit of an annoyance, when building their applications. What should just be an informational message about a warning from the ld linker ends up becoming a build breaker. The failure message looks something like this example (taken from RSP-19759, reported in January 2018):[DCC Error] E2597 ld: warning: unknown dwarf DW_FORM_strp (offset=0xFFFFCEE7) is too big in FBSDKShareKit.a(FBSDKAppInviteContent.o) ld: warning: unknown dwarf DW_FORM_strp (offset=0xFFFF6E38) is too big in C:\Dev\lib\ios\facebook\FBSDKShareKit.framework\FBSDKShareKit.a (FBSDKAppInviteContent.o) The fact that ld is emitting a warning about something is neither here…

blong | 2018-12-09 09:16

This year at CodeRage 2018 I presented a session on Creative Delphi Debugging Techniques.Other than my speaking volume being a bit quiet, it generated a number of very nice comments about the subjects covered so I thought it might be useful to mention that it is available for on-demand viewing as part of the CodeRage 2018 Replay.There is free enrolment in the conference replay and my session, along with the session slides and sample files, can be found here.If you watch it I hope you turn up your PC volume and get a lot out of it to hopefully help…

blong | 2018-12-09 09:16

This year at CodeRage 2018 I presented a session on Creative Delphi Debugging Techniques.Other than my speaking volume being a bit quiet, it generated a number of very nice comments about the subjects covered so I thought it might be useful to mention that it is available for on-demand viewing as part of the CodeRage 2018 Replay.There is free enrolment in the conference replay and my session, along with the session slides and sample files, can be found here.If you watch it I hope you turn up your PC volume and get a lot out of it to hopefully help…

Page 127 of 144

```