Jump to content

SwiftExpat

Members
  • Content Count

    222
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by SwiftExpat


  1. Data Heuristics part 2 of 3 is available in the TMS blog and resumes with the stoy: Your presentation begins in 18 minutes and your review of the dashboard identifies a defect in the bar chart, missing data for 2019. Marshal enables you to quickly check some basic configuration and SQL results to identify the defect.

     

    On Nov 15, 2022 I will be presenting in a live webinar with TMS to show how Marshal can be used to solve some last minute issues with this dashboard and ensure a successful presentation.

     

    https://www.tmssoftware.com/site/blog.asp?post=1008

     

     

     

    The compiled demo apps and source code are available here with a brief explaination about how they are built.

    https://github.com/SwiftExpat/RunTime-ToolKit/tree/main/Samples/FNCChart

     

    Please sign up for the webinar and join us to learn how Marshal can benefit you.

    I do appreciate feedback either here, GitHub, LinkedIn or email. 


  2. Sounds like file locking given that you are using MSAccess as the DB.  My 2 suspects are connection deadlock or virus scanner locking the database.

     

    How many query components do you have on the form? Are they all set to connect at startup? If this is Firedac, use FDMonitor to trace activity and see where the delay is.

     

    Start simple, open Task Manager and observe cpu and disk activity. What process is at the top of CPU consumption.  If the system is idle cpu and idle disk then it is waiting for something to timeout.

     


  3. You arrive at 9:30 to setup and get ready for your presentation at 10:00. You arrange your laptop, get connected and are joined in the room by your business partner at 9:35. You launch the dashboard you are about to present only to notice data is missing in one of the charts ...

    On Nov 15, 2022 I will be presenting in a live webinar with TMS to show how Marshal can be used to solve some last minute issues with this dashboard and ensure a successful presentation.
    https://www.tmssoftware.com/site/tmswebacademy.asp?id=145

     

    I am recording previews in parts, here is 1 of 3:

     

     

    Marshal will be used in this webinar to:
    1. Modify component properties using the Object Plus inspector
    2. Debug an ETL issue using Marshal inspectors for TDataset and Firedac connections
    3. Customize an FNC Chart using a custom inspector

     

    Marshal, developed using TMS FNC UI Pack, supports VCL and FMX for the Delphi 10.X and 11.#. I will discuss features used from FNC and why I find it is a logical choice.  TMS will be on the webinar as well to answer any FNC related questions.

     

    The compiled demo apps and source code are available here with a brief explaination about how they are built.

    https://github.com/SwiftExpat/RunTime-ToolKit/tree/main/Samples/FNCChart

     

    Please sign up for the webinar and join us to learn how Marshal can benefit you.

    I do appreciate feedback either here, GitHub, LinkedIn or email.

     

    Thank You,

    Neil Laskowski

     


  4. 53 minutes ago, David Hoyle said:

    I do not understand what you mean by "execution order"? 

    I will write a minimal example for myself, your answer above makes sense.


    I assume it looks something like this, where the list is ordered based on insert and never gets sorted.  Should be easy enough to test.

    TDictionary<procedure, TList<TExpert>>

     

     


  5. On 9/18/2022 at 3:32 PM, David Hoyle said:

    The order of IDE experts is governed by the order they are added to the registry

    Have you experimented enough with this to understand is this just the load order on initial startup or does it also affect execution order?


  6. TFrame should have CurrentPPI.

     

    To me that frame should be using grid panel (aligned client) with 3 columns, nest a grid panel in the 2nd column to layout all those number / spin edits. 

     

    Let the grid panel / alignment / align with margins do the work, the re-sizing gets a lot more natural after that. 


  7. 30 minutes ago, David Schwartz said:

    Would I be better off just having the Delphi person learn javascript and slog through figuring out the JS side of things?

    The question is how long are you willing to wait for that learning to happen? Most projects bring in a large team for startup then thin down, that is why you are getting the stack of resumes which seem to be bad fits.

     

    The term "full stack" developer is around a lot, but for the last 15+ years the stack has been larger than most can learn, myself included.

     

    38 minutes ago, David Schwartz said:

    coordinate a team that's doing the work. 

    Try thinking of it in phases, start with a larger team then thin it down.  Be warned, your dev's are going to want to jump ship as soon as the job does not fit the current market trend.

    • Thanks 1

  8. On 8/11/2022 at 6:28 AM, BennieC said:

    the application should be in real time so this is an unnecessary step.

    I can see you want to optimize this, but where is the real bottleneck that prevents you doing this in real time?

     

    What part is slow that is visible to the user?

    On 8/11/2022 at 6:28 AM, BennieC said:

    I managed to parse the string list

    Post this code, some people might give you some optimizations.

     

    Always a minimal working sample to discuss will help you get better answers.


  9. 29 minutes ago, Darian Miller said:

    I ran 11.2 installed, let it uninstall previous version and keep reg settings, and it installed 11.2 while my GetIt Packages remained installed/operational.

    Did the same and had to re-install my GetIt packages. Default directory and using the ISO installer.


  10. I am a systems administrator and with every upgrade there is always risk and someone's system becomes unusable. To avoid some grief here is a pre-check list of the basics from a system level to help put together a back out plan.

     

    1. Full backup via system image

    • As always, data loss is unacceptable and not being able to roll back is unacceptable. Take a system image.

    2. Source files - Branch or Backup

    • I plan to branch my projects for the first few days in 11.2 so I have a rollback.  Anything that is not in source control should obviously get a snapshot via zip or backup software.

    3. Registry export

    reg export HKCU\SOFTWARE\Embarcadero\BDS\22.0 Pre_11_2_BkUp.reg


    Always have a backup, and read the release notes / known issues before you upgrade.

     

    No need for good luck with this upgrade, you have a back-out plan !

     

    • Like 6

  11. 56 minutes ago, Al T said:

    The time it takes to create a random.txt file filled with random data takes incredibly much longer than just trying to create 1 file.

    You should probably review the NIST guidelines, no need to randomize the data, just fill it with 0 & 1.  NIST uses the word pseudorandom a lot.

    Good summary:

    https://www.bitraser.com/article/use-nist-hard-drive-erasure.php

    Reference:

    https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-88r1.pdf

     

    Writing some strings in parallel might be a lot faster, I believe you have 8 channels on most controllers, so you can probably get 4-5 writes in parallel.

    1 hour ago, Al T said:

    I just know, if you write data on a drive multiple times, your practically wiping the drive.

    This is only true if you write sector by sector, the OS controls where that file is placed.  You would have to write 1 file the size of the free space to make that true in your scenario.

    • Like 1

  12. 46 minutes ago, Fr0sT.Brutal said:

    compare actual addr of any function (f.ex., @ReadMapFile) with that taken from MAP file.

    This is what I was thinking as well, just calculate an offset. Not sure it is worth the effort, maybe in the future.

     

    A quick google did turn up some results but all seemed to require elevated privileges, which makes sense given what ASLR is trying to provide.

×