-
Content Count
2063 -
Joined
-
Last visited
-
Days Won
27
Everything posted by Attila Kovacs
-
It is no coincidence that checksums were invented.
-
Remove non-utf8 characters from a utf8 string
Attila Kovacs replied to borni69's topic in Algorithms, Data Structures and Class Design
Unless it's a trial and triumph. -
a swallowed windows message like button down / up, usually when you manipulate the focus inside events, for example
-
Unit scope names in IDE - possible 2+ lines?
Attila Kovacs replied to Mike Torrettinni's topic in General Help
Nope, it has nothing to do with santiago's except the idea is stolen. It's a working plugin without any OTA conventions so it's ugly and would be harder to maintain. But the OTA is somewhat limited to get this plugin thin and versatile, so I had to go this way. Also, getting the breakpoint list from Parnassus depends on code which was bought by emba and gone under without a ripple. 😞 -
Unit scope names in IDE - possible 2+ lines?
Attila Kovacs replied to Mike Torrettinni's topic in General Help
@Dinar It's not just me! 😉 Well, then just press Ctrl+Alt+ArrowUp or Down 😉 -
Unit scope names in IDE - possible 2+ lines?
Attila Kovacs replied to Mike Torrettinni's topic in General Help
@Dinar :)) Sorry, looks like I'm in write only mode 🙂 -
Unit scope names in IDE - possible 2+ lines?
Attila Kovacs replied to Mike Torrettinni's topic in General Help
As an alternative: -
Records, Generics and RTTI meets FireDAC
Attila Kovacs replied to Lars Fosdal's topic in Tips / Blogs / Tutorials / Videos
@Lars Fosdal I heard that several times and I still can't imagine why not a middle tier, why sp's? -
Records, Generics and RTTI meets FireDAC
Attila Kovacs replied to Lars Fosdal's topic in Tips / Blogs / Tutorials / Videos
O R M -
string helpers question
Attila Kovacs replied to David Schwartz's topic in RTL and Delphi Object Pascal
Mind the declaration of those helper routines. The ones needing a parameter are for sure class methods, thus they will as work with aStr.xyz() as with String.xyz(); In this case the ToLower is non-class method, LowerCase is. Now if you wonder why are they called differently, try boolean.ToString(True); and once you found out what is happening try not to scream. -
XML Data Binding / Importing DTD Files
Attila Kovacs posted a topic in Algorithms, Data Structures and Class Design
I'm having problems with importing bmecat_2005.dtd under Berlin U3. There are a couple of definitions like: <!ELEMENT GROUP_NAME (#PCDATA)> <!ATTLIST GROUP_NAME lang %langQUALIFIERS; #IMPLIED> which should be a string with an attribute "lang", like: <GROUP_NAME lang="deu">My Group Name</GROUP_NAME> Now, Delphi creates GROUP_NAME as a class with a single property of "lang", so I can't assign a value ("My Group Name") to this element. Am I missing something or is this built in importer a bit retarded? Is there any better tool to create the Delphi classes? thx Edit: Ahh, "class.Text" is the way to go, I had forgotten it, but now I remember. -
@Dany Marmur Just look it up:
-
Best Practices for FireDAC FetchMode/RecordCount Settings
Attila Kovacs replied to Larry Hengen's topic in Databases
Ahm, what kind of bull*** is calling a count(*) prior to the actual selection? Who guarantees that the two results will be the same? -
Best Practices for FireDAC FetchMode/RecordCount Settings
Attila Kovacs replied to Larry Hengen's topic in Databases
. -
Best Practices for FireDAC FetchMode/RecordCount Settings
Attila Kovacs replied to Larry Hengen's topic in Databases
. -
Maybe "git diff" and "git blame" would show something useful. You are a team of developers and go with "something is messed up" statements? Usually this come from the clients.
-
Me too. Also funny one. Especially that you don't understand why would one use an online service to make a complementary/secondary cold-backup in a different geographical location, then you answer your own question in 2 minutes with the burglars.
-
http://ollydbg.de/Paperbak/
-
imagelist Looking for Icon Fonts support in Delphi for High-DPI and Themed app?
Attila Kovacs replied to Carlo Barazzetta's topic in VCL
Are you sure that the font has to be installed? I'm loading a custom font from the resources and it's working fine: // Load custom Fonts before creating any forms ResStream := TResourceStream.Create(hInstance, 'MONTSERRAT_MEDIUM', RT_RCDATA); try AddFontMemResourceEx(ResStream.Memory, ResStream.Size, nil, @FontsCount); finally ResStream.Free; end; -
Boolean short-circuit with function calls
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
Exactly this is the way I would prefer like David says. If you change xVal to something meaningful, you will see why: Result := isDog or isCat or isHorse; -
Boolean short-circuit with function calls
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
As you are always obfuscating your code with love, I can't imagine why didn't you go with Result := Ord(a) + Ord(b) + Ord(c) + Ord(Result) > 0; -
SynEdit replacement for Delphi 10.1 Berlin / editor wanted for source code (not Delphi)
Attila Kovacs replied to Mr. Daniel's topic in VCL
try the "new SynEdit code" -
August 2020 GM Blog post
Attila Kovacs replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
That one with the FireDAC is more interesting. We will definitely need more moderators 😛 -
usually the credentials are stolen from the client pc's where they are stored antivir's are crap multiple cold backups stored in different geographical locations are backups, everything else is just delusion
-
Looks like they are in getit not in the install: https://community.idera.com/developer-tools/b/blog/posts/getit-aqua-light-slate-vcl-style