jpluimers
I bumped into [WayBack] delphi – Invalid floating point operation calling Trunc() – Stack Overflow, while searching for what might have tests like these fail: TValueRecordTests.Int64_Through_Value_Container_via_Currency_Intermediate_Is_Identity_Operation(9223372036854775807) = 9223372036854775807 EInvalidOp with message ‘Invalid floating point operation’… … Read more
4 years ago in Conference Topics, Conferences, Delphi, Development, Event, Software Development0
jpluimers
Especially when including [WayBack] form files (dfm now, but in the past also nfm and xfm) in your search, you might want to exclude one or more of them, for instance when they do not… … Read more
4 years ago in Delphi, Development, GExperts, Software Development0
jpluimers
TL;DR of https://css-tricks.com/debouncing-throttling-explained-examples/: debounce: Grouping a sudden burst of events (like keystrokes) into a single one. throttle: Guaranteeing a constant flow of executions every X milliseconds. Like checking every 200ms your scroll position to trigger a CSS animation…. … Read more
4 years ago in algorithms, Delphi, Development, JavaScript/ECMAScript, Scripting, Software Development0
jpluimers
I totally forgot to queue this, after putting in a draft in 2010. Luckily, nothing has changed since then: the [WayBack] MESSAGE directive Delphi which allows you to emit hint, warning, error (multiple) and fatal… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
The title might sound like a lot of gibberish, but the mechanism it describes helps solving a problem when using generics: lack of generic constraints in the compiler. For instance, you cannot constrain on enumeration… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
A while back I proposed using JSON in order to [WayBack] Delphi 2010: How to save a whole record to a file? – Stack Overflow. There is also a native solution using streaming (which by… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
A few things to learn from [WayBack] delphi – Constant array of cardinal produces error ‘Constant expression violates subrange bounds” – Stack Overflow: Delphi XE7 introduced compiler support for const dynamic arrays. Compiler errors can completely… … Read more
4 years ago in Delphi, Development, History, Software Development, Undocumented Delphi0