Jump to content

corneliusdavid

Members
  • Content Count

    408
  • Joined

  • Last visited

  • Days Won

    6

corneliusdavid last won the day on November 27 2023

corneliusdavid had the most liked content!

Community Reputation

142 Excellent

2 Followers

Technical Information

  • Delphi-Version
    Delphi 12 Athens

Recent Profile Visitors

3124 profile views
  1. corneliusdavid

    Simple LiveBindings usage questions

    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.
  2. corneliusdavid

    Simple LiveBindings usage questions

    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.
  3. 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.
  4. 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.
  5. 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.
  6. 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!
  7. corneliusdavid

    What about System.JSON?

    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
  8. I would consider this a report: https://blogs.embarcadero.com/we-are-experiencing-a-hardware-outage/
  9. corneliusdavid

    First Business Day Of Next Month ?

    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
  10. corneliusdavid

    Opening form takes 1 minute in debugger, 2.5 s without

    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?
  11. corneliusdavid

    Opening form takes 1 minute in debugger, 2.5 s without

    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.
  12. corneliusdavid

    GetIt alternatives

    Interesting! And written in Go.
  13. corneliusdavid

    Rz components

    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/
  14. corneliusdavid

    GetIt alternatives

    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.
  15. corneliusdavid

    GetIt alternatives

    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.
×