-
Content Count
2084 -
Joined
-
Last visited
-
Days Won
29
Everything posted by Attila Kovacs
-
A TForm or descendant has an event OnClose. Thats it. No further interaction needed.
-
in OnClose Action := caFree;
-
@Andrea Raimondi At first sight this hocus-pocus has not much to do with System.Messaging at all and could be be easily create the same with this lib. By the way, what do you mean with Are you writing message driven apps? By the way 2 initialization begin MsgMgr := TMessageManager.DefaultManager; end; What is your purpose with begin/end? Is this also some readability thing?
-
Delphi Event-based and Asynchronous Programming eBook complete version released
Attila Kovacs replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
I also have some issues with these clown selling-platforms. I wen't through the check-out 2 times but all they ask is a name, company name and an email address and no word about invoice or anything. Are you selling it only to private persons? -
Customizing source editor
Attila Kovacs replied to Mike Torrettinni's topic in Tips / Blogs / Tutorials / Videos
It's your font. It's completely different as my and I did not change it. -
Customizing source editor
Attila Kovacs replied to Mike Torrettinni's topic in Tips / Blogs / Tutorials / Videos
No, never, but I have to admit, the first thing I do after a Delphi install is to dump every fancy skinning (and other) bpl's from it. -
Customizing source editor
Attila Kovacs replied to Mike Torrettinni's topic in Tips / Blogs / Tutorials / Videos
what is that? btw. turning off italic for the comments also reduces the line height by 1 or 2 pixels, cool -
Is it really that bad to Use boolean parameters to make your functions do two things?
Attila Kovacs replied to Mike Torrettinni's topic in General Help
*YAAAWWWN* with GzipFile(fileobj=output_file, mode='wt', compresslevel=9) as gzip_out: gzip_out.write(contents) Sounds like a rule from the one thousand fifty nine thing where Delphi still sucks blog. -
simple cloud storage options
Attila Kovacs replied to David Schwartz's topic in Network, Cloud and Web
. -
Security - How freaky can you get!
Attila Kovacs replied to Clément's topic in Algorithms, Data Structures and Class Design
Yes, they were. And this is where the fairy tails are borning. It's also important to understand what digital signatures are for. Or intended to be. Anyway, 100 of 100 users would just click on "Execute, I know the risks". Not my f..ing job. And there is also software cracking, where you can sign your app criss-cross, it's just matter of time to get rid of it, or spoof it. -
Security - How freaky can you get!
Attila Kovacs replied to Clément's topic in Algorithms, Data Structures and Class Design
@Kas Ob. What do you want to say with that? Is there anything new? Did they sign the exes? 😉 -
Security - How freaky can you get!
Attila Kovacs replied to Clément's topic in Algorithms, Data Structures and Class Design
And if the remote server is in <random country> then the hacker has to fight the dragon in <random country> first. It's stunning how many fairy tales are invented about hacking and security. -
When sorting a “StringList” is very costly
Attila Kovacs replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
Oh I see, this component is just a wrapper for the windows component, so you are causing a message storm. There is not even a beginupdate/endupdate. -
When sorting a “StringList” is very costly
Attila Kovacs replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
I'd suspect that you call onclick every time you set checked. -
Performance of MOVE vs + for concatenating mixed type values
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
You mean after somebody read the RTL code for you? -
Security - How freaky can you get!
Attila Kovacs replied to Clément's topic in Algorithms, Data Structures and Class Design
Occam's razor. -
Performance of MOVE vs + for concatenating mixed type values
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
We had this discussion already where we optimized one of the RTL's function. Search for it. -
Security - How freaky can you get!
Attila Kovacs replied to Clément's topic in Algorithms, Data Structures and Class Design
That's why nobody loads passwords into edit boxes even if it's just showing placeholders, but how the holy cow would one load any password back into anything as they are not even stored since decades, just its hashes. (Ok, this particular ftp client you showed has to store them, but it's quite different from a desktop application) -
Security - How freaky can you get!
Attila Kovacs replied to Clément's topic in Algorithms, Data Structures and Class Design
This story is kinda strange. First, tampering "the exe" to get the managers password, then "every employee" had a "modded" exe. I think somebody played around with the user rights and don't want to admit. Anyway, it's better to avoid such smart A customers.... "delphi software unsafe". muha -
Make a complete DataSet event conditional??
Attila Kovacs replied to Ian Branch's topic in General Help
Nope. Wrong side of the horse. Redesign it to be able to control it from the applications. -
Round() appears to be non-deterministic
Attila Kovacs replied to Thijs van Dien's topic in RTL and Delphi Object Pascal
Please pardon me for asking this, but are there ppl. using Delphi's built in Round()? -
The Case of Delphi Const String Parameters
Attila Kovacs replied to Mike Torrettinni's topic in RTL and Delphi Object Pascal
@Kas Ob. you don't have to be scenical, there are several methods out there with (const T; var T), and if you don't know the implementation detail you can run into it very quickly. The compiler won't give you any hints either. -
The Case of Delphi Const String Parameters
Attila Kovacs replied to Mike Torrettinni's topic in RTL and Delphi Object Pascal
I ran into this once function x(const input: string; var output: string): boolean; begun while we read input do alter output; end; if x(s,s) then; except that it wasn't easy to track down, it was a one time "achievement" in my life. Yet. given that, I consider every method having a const and var parameter of the same type as a time-bomb. -
Range Check Error - what actually happens
Attila Kovacs replied to david_navigator's topic in Algorithms, Data Structures and Class Design
No, but obviously you already made a nice helper https://stackoverflow.com/questions/34442102/how-can-i-get-the-number-of-elements-of-any-variable-of-type-set AD? 😉 -
rebuild everything. shift-f9