-
Content Count
3504 -
Joined
-
Last visited
-
Days Won
115
Everything posted by Lars Fosdal
-
Inherited on Properties and co.
Lars Fosdal replied to Attila Kovacs's topic in RTL and Delphi Object Pascal
If it is public, why do you need to use inherited? I think the point just wooshed over my head here. (Not the first time) -
Object Pascal Handbook - Delphi 10.4 Sydney Edition - Marco Cantù (2020) - 571pg
Lars Fosdal replied to a topic in Tips / Blogs / Tutorials / Videos
@Marco Cantu I wish I as a subscriber could download it without having to reenter information already in your systems. -
Inherited on Properties and co.
Lars Fosdal replied to Attila Kovacs's topic in RTL and Delphi Object Pascal
I guess private is not private - unless strict private? -
How to set version number for all the projects in a project group
Lars Fosdal replied to Soji's topic in Delphi IDE and APIs
We use Continua CI + FinalBuilder to manage versions.- 11 replies
-
- build version
- configuration manager
-
(and 3 more)
Tagged with:
-
Inherited on Properties and co.
Lars Fosdal replied to Attila Kovacs's topic in RTL and Delphi Object Pascal
That is interesting - and a little disturbing. -
How to determine the subjective brightness of my screen?
Lars Fosdal replied to Der schöne Günther's topic in Algorithms, Data Structures and Class Design
BTW; Wouldn't this do the job without putting extra load on the PC? https://www.philips-hue.com/en-nz/p/hue-play-hdmi-sync-box-/8718699707248 -
Voted and watched too.
-
How to determine the subjective brightness of my screen?
Lars Fosdal replied to Der schöne Günther's topic in Algorithms, Data Structures and Class Design
True, although he may need to take into the consideration whether the monitor and game is using HDR or not? -
How to determine the subjective brightness of my screen?
Lars Fosdal replied to Der schöne Günther's topic in Algorithms, Data Structures and Class Design
@Der schöne Günther I.e. the overall luminosity of the image? https://stackoverflow.com/questions/7964839/determine-image-overall-lightness Unsure if there needs to be something additional in the equation as mathematical and perceived luminosity might not be the same? -
Congratulations, @Attila Kovacs 🙂
-
First rule of fight club - you never talk about fight club. Same thing for beta versions.
-
If the initial description is accurate - you don't really have a record - but a stream? I.e. the length of the string is variable, not fixed and #0 padded? [int flags][int dummy][shortish string#0][int padding][int flags][int dummy][this is a lot longer string#0][int padding] Decoding the stream would have to be done element by element, and it would be necessary to know the format of the string - is it ASCII, ANSI (if so, what codepage) or UTF-8. To put it into a more manageable format, you could use your initial record - but you would have to read it element by element to stuff that record or object structure. This can be done in a number of ways - such as a TFileStream or by going old school BlockRead. A well designed stream would have had the string length as an int before the string - but now you instead have to scan for that #0 termination.
-
Self-repairing problems are the best, Totte 🙂
-
There is a workaround in the following thread.
-
Install recent Delphi versions on Windows XP
Lars Fosdal replied to dummzeuch's topic in Delphi IDE and APIs
We've replaced a lot of expensive industrial PCs with WinMate and Surfaces tablets. They are so much cheaper that the economy of possibly having to replace them more often is a no-brainer. The only exception are trucks that need to operate in -27°C - that is when you need those industrial solutions. Having those tablets on vanilla Windows 10 is a bonus. -
@Hans♫ - How performant is the M1 compared to the i5?
-
Hashing Street Addresses ?
Lars Fosdal replied to david_navigator's topic in Algorithms, Data Structures and Class Design
There is one way that can avoid duplicate "hashes" or in this case - ensure a unique key - but it is not super performant, since lookup a database is expensive - but it will give you a fixed length unique identity for a signature. Create a signature table in a DB and add a text field for the signature and a constraint for it to be unique. Add an identity column as either an auto incremented int field, or an auto-generated GUID field. The identity column will be your unique "hash". Edit: If the "hash" will be exposed to third party - the GUID is recommended - since you cannot easily inject randoms GUID to access data - as compared to a sequential id which are predictable. -
Hashing Street Addresses ?
Lars Fosdal replied to david_navigator's topic in Algorithms, Data Structures and Class Design
Even though they may refer to the same physical address? In a warehouse management system, unique client identities and their addresses is a continuous source of "entertainment". -
Hashing Street Addresses ?
Lars Fosdal replied to david_navigator's topic in Algorithms, Data Structures and Class Design
A major difference here is that a coordinate in What3Words is strictly defined. A signature built from combined data from external sources is far more difficult. Consider '1688 High St.' vs '1688 High Street' as an example. -
Hashing Street Addresses ?
Lars Fosdal replied to david_navigator's topic in Algorithms, Data Structures and Class Design
Signature - a unique footprint of data Hash - algorithmic calculation on a signature -
Hashing Street Addresses ?
Lars Fosdal replied to david_navigator's topic in Algorithms, Data Structures and Class Design
It looks like he wants to use a hash as a signature for an address - but that signature is only as good as the code doing signature building and the quality of the supplied data. The algorithm would need to understand ordering, abbreviations, perhaps even common typos. -
Install recent Delphi versions on Windows XP
Lars Fosdal replied to dummzeuch's topic in Delphi IDE and APIs
I just did an inventory of our warehouse hardware and discovered an Intermec industrial Truck PC running XP that had been overlooked. Hopefully, it will be brought up to ... drumroll ... Win 7 SP 2 soon. I guess it is time to start shopping for some newer truck PCs. Luckily, our truck PC software doesn't seem to have any Win10 specific code in it. -
https://blog.mindorks.com/how-to-programmatically-take-a-screenshot-on-android explains how to do it in Java - but the question remains - how to get hold of the parent handle/coordinates in Delphi?
- 14 replies
-
- screen
- screenshot
-
(and 2 more)
Tagged with:
-
Doh! The risks of reading the Unread Content list and not paying attention which subforum the post is in. My bad.
- 14 replies
-
- screen
- screenshot
-
(and 2 more)
Tagged with:
-
http://forum.codecall.net/topic/60613-how-to-capture-screen-with-delphi-code/
- 14 replies
-
- screen
- screenshot
-
(and 2 more)
Tagged with: