Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 03/27/24 in all areas

  1. Easy, and wrong. You are reading the station weathers reference data with one row per station. And making a min/max/average of a single data per station. The challenge is to read a 1 billion (1,000,000,000) rows of CSV data for all those 41343 stations, and compute it. There is a generator of a 16GB CSV file to inject and process. So 0.33s for 41343 rows would make around 8000 seconds, i.e. 5.5 days.
  2. JonRobertson

    DelphiLint v1.0.0 released!

    https://github.com/integrated-application-development/sonar-delphi/issues/211
  3. JonRobertson

    DelphiLint v1.0.0 released!

    I definitely would appreciate customizing rules in standalone mode. I attempted installing SonarQube and going the "connected mode" route. However, I had difficulty getting the SonarQube service started and I am not a Java guy. Some of the rules are more annoying than helpful. I have no idea what "naming conventions" DelphiLint is expecting. One convention seems to be that unit names must be PascalCase. Particularly for legacy projects, there is no benefit. Yes, a consistent naming convention is very helpful. Does anyone care that all of our form units follow formMain.pas rather than FormMain.pas? I almost want to create an issue for the rule "split this 128 characters long line (which is greater than 120 authorized)". Authorized by who, or what? Certainly not by me, my employer, or anything that I've configured in Delphi. Others are personal preferences. "Delphi style guides" may advise against using () when calling a routine without arguments. But I prefer to have them. They do no harm and I think they improve code read-ability. Those are just a couple examples where the ability to customize the rules, even in standalone mode, would be appreciated.
  4. Remy Lebeau

    Bug in TButton with Multi-Line Caption?

    That is a completely different issue. I don't see how that applies here.
  5. Amazing Anders, works perfectly also in Linux with Wine.
  6. Hey Y'All, After some extensive testing from @paweld: Tested with RAMDisk, SSD and HDD Tested with the original input file containing only 400 weather stations He came to the conclusion that there's really nothing to see between all of the above data containers. I've eliminated the HDD column in the results. Cheers, Gus
  7. Hey Y'All, We are now into the 2 seconds region: ******** Run All ******** ===== Arnaud Bouchez ====== -- SSD -- Benchmark 1: abouchez Time (mean ± σ): 2.472 s ± 0.061 s [User: 27.787 s, System: 1.720 s] Range (min … max): 2.386 s … 2.588 s 10 runs =========== That's 1 warmup, 10 runs, 16 threads on SSD I'm having issues with Linux watchdogs with 2 entries when run on HDD killing my shell. Need to solve that and I'll have results for those. Cheers, Gus
  8. Source attached. I use this code in most of my open source/freeware tools. Features: Fades image in/out on show/hide. Can be moved with the mouse. Automatically hidden when deactivated. A text can be displayed on top of the image. Text can be scrolled to create vertical banner. Can play a audio resource while visible. Can also be used as an "About box". Things to note: Splash does not "stay on top" when running in the debugger. This is by design. Doesn't handle HighDPI scaling well (image isn't scaled). SplashDemo.zip
×