-
Content Count
1977 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
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
-
Ahm. No? You can always get out and stick with one particular release for decades.
-
>The 3 ingredients required to expose the problems are: >1. Have an inline variable There I stopped reading. Most likely it will be fixed in the next release, but don't understand ppl. using this very new (not mature enough) feature, especially in 3rd party products. Use a decent library instead. (sorry)
-
Are Valid Dates?
Attila Kovacs replied to Ian Branch's topic in Algorithms, Data Structures and Class Design
Time without time zones are like numbers without units. Like the numbers on the street. (30) I always interpret them as weight limits. -
Looking for a (virtual ) pdf-printer, capable of FGL
Attila Kovacs replied to Daniel's topic in General Help
Did you check if Boca Systems provide a PCL driver? Or is it the opposite way? Not much support from boca. And the Text Driver they have is not a WYSIWYG. -
stream object to / from INI file using latest RTTI stuff
Attila Kovacs replied to David Schwartz's topic in RTL and Delphi Object Pascal
it's a 2 min copy&paste task from the link above, I can't see why would anyone reinvent the wheel just to avoid using the json library? Is it for some embedded computer? -
stream object to / from INI file using latest RTTI stuff
Attila Kovacs replied to David Schwartz's topic in RTL and Delphi Object Pascal
easy af, like in this article: https://www.fmxexpress.com/convert-ini-files-to-json-and-back-with-xsuperobject-in-delphi-xe6-firemonkey-on-android-and-ios/