-
Content Count
408 -
Joined
-
Last visited
-
Days Won
6
Everything posted by corneliusdavid
-
I inadvertently included a second screenshot in my previous post--ignore that. Also, I didn't thoroughly read the whole problem and my answer does not solve the problem, even after playing around with the combination of AutoActivate, InitializeControlValue, Managed, and Track properties of the binding.
-
In the LiveBindings Designer, click on the arrow-line that connects the two components (the line will turn bold to indicate it's selected): (Instead of visually selecting it, you can double-click the BindingsList component on the form and select the TLinkControlToProperty that connects these two components from the list of LiveBindings.) Then in the Object Inspector for this link, check InitializeControlValue.
-
challenge Offical launch of the 1 Billion Row Challenge in Object Pascal
corneliusdavid replied to Gustavo 'Gus' Carreno's topic in Tips / Blogs / Tutorials / Videos
Lots of options! Command-line parameter validation fixed for Delphi--pull request made. Generated a few different sized files for testing, the last two: 100-million row file created in 9 seconds 1-billion row file created in 2 minutes, 23 seconds.- 57 replies
-
- object-pascal
- free-pascal
-
(and 1 more)
Tagged with:
-
challenge Offical launch of the 1 Billion Row Challenge in Object Pascal
corneliusdavid replied to Gustavo 'Gus' Carreno's topic in Tips / Blogs / Tutorials / Videos
QuickLib.Parameters would've prevented you from needing to reinvent the technique--but it's a little overkill and it would require bringing a whole lot of other stuff along with it.- 57 replies
-
- object-pascal
- free-pascal
-
(and 1 more)
Tagged with:
-
challenge Offical launch of the 1 Billion Row Challenge in Object Pascal
corneliusdavid replied to Gustavo 'Gus' Carreno's topic in Tips / Blogs / Tutorials / Videos
I almost made a pull request last night but then backed it out after I made another test. The generator program parses the parameters and checks to make sure they're valid but in Delphi, the way it's done adds a CR/LF which causes 'h' <> 'h$D$A' and thus fails even a valid command-line. I fixed that but didn't take into account that some parameters have a second part (like --line-count or --input-file) so I need to add that. I'll certainly make a PR when it's ready.- 57 replies
-
- object-pascal
- free-pascal
-
(and 1 more)
Tagged with:
-
challenge Offical launch of the 1 Billion Row Challenge in Object Pascal
corneliusdavid replied to Gustavo 'Gus' Carreno's topic in Tips / Blogs / Tutorials / Videos
Hey Gus, It seems like a fun challenge that people who have time and interest will look at and participate. We've got a couple of months, so plenty of time to get involved if you're so inclined. One question: the .CSV in the repository has only 44,691 entries. So, the idea is that we need to run the generator program first to generate the 1B file, right? I suppose this could also, then, be used to generate smaller files for development testing. Thanks for the links and for bringing it to the Delphi community!- 57 replies
-
- object-pascal
- free-pascal
-
(and 1 more)
Tagged with:
-
What about System.JSON?
corneliusdavid replied to Attila Kovacs's topic in RTL and Delphi Object Pascal
Might possibly be for future implementation. Or maybe these were part of a large group of types or constants imported from a header file of some sort. I found a couple of references that look like there's some relevance: https://github.com/dotnet/runtime/issues/29900 https://www.newtonsoft.com/json/help/html/t_newtonsoft_json_defaultvaluehandling.htm -
FYI - Several Embarcadero services are currently unavailable
corneliusdavid replied to Keesver's topic in General Help
I would consider this a report: https://blogs.embarcadero.com/we-are-experiencing-a-hardware-outage/ -
First Business Day Of Next Month ?
corneliusdavid replied to Henry Olive's topic in RTL and Delphi Object Pascal
This may be overkill and I'm not sure there's a way to limit to just bank holidays or to specify the country, but here's an API that boasts 5,000 holidays: https://apilayer.com/marketplace/checkiday-api -
Opening form takes 1 minute in debugger, 2.5 s without
corneliusdavid replied to PiedSoftware's topic in Delphi IDE and APIs
If it runs fine in debug mode but then you compile in release mode (which I think is what you mean), is there a conditional in your code that sets up the database connection differently for debug mode, like maybe you're using a local database for testing but the release mode one is connecting remotely for the customer? -
Opening form takes 1 minute in debugger, 2.5 s without
corneliusdavid replied to PiedSoftware's topic in Delphi IDE and APIs
What version of Delphi? At runtime or design-time in the IDE? What database? What type of activity--I assume at least connecting? Is it using the same connection in debug and release modes? Are the release and debug configs generating executable in different directories? Perhaps it loading a configuration from an .INI file which is in one location but not the other? After the form is loaded, does everything run fine (assuming this is at runtime)? There are so many things this could be--we need a little more information. -
Interesting! And written in Go.
-
They're now called the Konopka Signature VCL Controls (KSVC) but carry the "Rz" prefix from when they were known as Raize Controls. Here's the GetIt link: https://getitnow.embarcadero.com/bonus-ksvc/ https://raize.com/embarcadero-acquires-raize-components/
-
This is the perfect time and place to bring it up and get people behind it! I've started reading a little about it and it looks well thought out.
-
Convenience, laziness, curiosity. I've found myself browsing the GetIt packages (when it worked) and coming across something that looks interesting but I had not seen before. To try it out, it's really easy to just click Install and start using it to see if it's something I want to keep around. After it's installed, it might get "stuck" there out of laziness or because I only used it once or twice. To switch to the original repo means uninstalling the GetIt package, cloning the repo, learning how it's installed or how to access it... not difficult, just steps to take when there's time and it's going to become a steady part of my library.
-
ParnassusCoreEditor.dll AccessViolation
corneliusdavid replied to bazzer747's topic in Delphi Third-Party
Do these files still exist? C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusNavigator_XSydney.dll C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusCoreEditor_XSydney.dll C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusBookmarks_XSydney.dll C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusCoreEditor.dll C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusNavigator_Alexandria.dll C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusCoreEditor_XAlexandria.dll C:\Program Files (x86)\Common Files\ParnassusShared\ParnassusBookmarks_Alexandria.dll -
I agree. Perhaps this will give a popularity/support boost to one of these: dpm duget For me, any open source package that I had previously installed via GetIt, I'm now pulling from GitHub. I suppose I should've done that from the beginning as it would always provide the latest version but this has certainly solidified that decision.
-
Delphi 12 Manage Features not working
corneliusdavid replied to Pete Turtle's topic in Delphi IDE and APIs
I'd suggest calling support. -
False leak reported on FindFirst/Findclose inside a Threa?
corneliusdavid replied to alogrep's topic in VCL
Oh, so the error was in code that we did not see! LOL! That makes it difficult for us to debug! -
False leak reported on FindFirst/Findclose inside a Threa?
corneliusdavid replied to alogrep's topic in VCL
Right, but only if FindFirst returns true; if it's false, that block of code, including FindClose, is skipped. However, as Anders pointed out, if FindFirst fails, it doesn't allocate memory and thus does not need to call FindClose. It's possible that MadExcept is thinking that there could be a memory leak when there isn't actually one. -
False leak reported on FindFirst/Findclose inside a Threa?
corneliusdavid replied to alogrep's topic in VCL
Ah! Then ignore my post. Thanks for pointing that out. -
False leak reported on FindFirst/Findclose inside a Threa?
corneliusdavid replied to alogrep's topic in VCL
if "FindFirst() = 0" returns false, then FindClose() is never called. From the documentation: "FindFirst allocates resources (memory) that must be released by calling FindClose" -
I would think either copying the files from the CatalogRepository or choosing a different path from the default offered by the professional installer would be make things so much simpler. https://www.bonfire.com/dont-accept-the-defaults-abel-wang/
- 28 replies
-
- d12
- catalogrepository
-
(and 1 more)
Tagged with:
-
tform inside isapi webbroker
corneliusdavid replied to RDP1974's topic in RTL and Delphi Object Pascal
There was nothing but FireDAC database components, a FDConnection and a few FDQueries--that's it. But--I found the problem! I had first created a FireMonkey program to test database connection and query results. Then I created an ISAPI DLL and copied the data module over and got the error. For easier debugging, I created a new a CGI app with just "hello world" for the default path, and that worked. So, then looked more closely at the data module and remembered to check the platform to which it's assigned and realized it had carried over the Firemonkey platform in its data module. The solution was to change the ClassGroup property of the data module from FMX.Controls.TControl to System.Classes.TPersistent and all is good. -
If the only reason you're not using the TTimeEdit is because of the tiny up/down arrows on Windows (which I agree are practically useless), then you could build your own compound component out of a couple of combo boxes and buttons all squished together. But if you're targeting mobile platforms, you might want to see how the TTimeEdit looks on those platforms--they might look quite different. Or you you could use the IFMXPickerServices.