-
Content Count
2100 -
Joined
-
Last visited
-
Days Won
29
Everything posted by Attila Kovacs
-
An XML DOM with just 8 bytes per node
Attila Kovacs replied to Erik@Grijjy's topic in Tips / Blogs / Tutorials / Videos
I just felt like with the best cow of the dairy-farm which gives 40 liters of milk then knocks over the bucket. Can't compile the code because of the inline variables π -
Simple inlined function question
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
Well, maybe you could write a generic search class having the whole code only once in your app, but hard to give any advice without knowing the details. Just leave it as it is, it always works. -
Simple inlined function question
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
move the loop into the inlinded proc -
Simple inlined function question
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
Register optimization, I never put more than one test into one procedure, but the problem is the inlining introduce the extra boolean evaluation instead of just the 3 in the "if". π€·ββοΈ -
Simple inlined function question
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
change the order of the 2 loops and give us the new results -
Oz-SGL, a new generic collections library based on the idea of C++ STL
Attila Kovacs replied to Edwin Yip's topic in Algorithms, Data Structures and Class Design
looks like "TsgList<T> = record" should be "TsgList<T: record> = record" -
There was a problem with the Compile Dialog as it was refreshed too frequently and since it's also themed it was very slow. I can't find anything anymore regarding this issue, maybe it has been solved since, but it's easy to check if you disable the dialog and measure the compile time. AFAIR IdeFixPack was targeting this problem too.
-
Migration from BDE paradox to TFDtable or other options
Attila Kovacs replied to Javier TarΓ's topic in Databases
there is also https://www.componentace.com/bde_replacement_database_delphi_absolute_database.htm -
There are bunch of "endless loop" hits on zlib from 2015, the one in RTL has a date from 2014, maybe you should re-compress the original data and see if it happens again. That would also make others satisfied when you switch to another lib. Eventually try to decompress it with more recent zlib version. https://unix.stackexchange.com/questions/22834/how-to-uncompress-zlib-data-in-unix It would be cool to know the results.
-
Ctrl+# is the toggle comment menuitem on the editors context menu in the german IDE, not sure though if it has anything to do with whatever it is, but I'm sure you already checked where this "Sender" belongs to.
-
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
.
![Delphi-PRAXiS [en]](https://en.delphipraxis.net/uploads/monthly_2018_12/logo.png.be76d93fcd709295cb24de51900e5888.png)