Jump to content

Tommi Prami

  • Content Count

  • Joined

  • Last visited

Everything posted by Tommi Prami

  1. https://quality.embarcadero.com/browse/RSP-23466 And if someone is in Beta-program, test and try to be vocal towards Embarcadero about this.
  2. Coworker sent me this, interesting to see active development on parallel algorithms. Don't have opinion on this, what so ever. Just FYI. https://en.wikipedia.org/wiki/Bitonic_sorter
  3. Tommi Prami

    Bitonic sorter

    Maybe examples are made single threaded for simplicity? Dunno tough.
  4. let's say if I have window Handle (Delphi app form), found by some windows API like FindWindow etc. Sometimes it seems that Window is created and has an handle but not fully functional yet. Is there a way to query with windows API that Delphi form is run all OnCreate etc events amnd is fully visible and all components are ready for user. Reason I as we use AutoIT to automatically test our Apps,, and sometimes Form is not ready yet. No fully visible or still runnin initialization events (OnCreate etc). If not I've suggested to add out base form class an message handler which we could use to quety, then problem would be how the Form it self Knows everything is OK, up and running 🙂 -Tee-
  5. Tommi Prami

    IDE adds {$R} between units

    In .dpr? Yes it does and that has been going on at least few versions now
  6. Tommi Prami

    Relaxed JSON

    Seems to me that is not very smart format/standard. If some service produce it and have to use it, then for sure need an parser. But I would steer away from that format if just can. Little bit sketchy. -Tee-
  7. Tommi Prami

    Generic Command Line Parser for Delphi 10.3.x

    I like your expected Command Line syntax. -Tee-
  8. Tommi Prami

    WinAPI to query if a form is ready to Rock.

    Could you elaborate bit more? What this means in practise -Tee-
  9. Tommi Prami

    WinAPI to query if a form is ready to Rock.

    While was walking to work had couple of ideas on this, What if at FormActivate (For example) event of base form, I would do either. 1. Send message to window it self, If I've understood correctly window will not receive that message untill it has processed all the Form initializations of it self, and is able to recveive messages again. 2. Create and start timer and disable and free it on first tick. I think this is essentially same as the method 1. Some codes, me included, are not used to using windows messages too much. Delphi hides the need quite well. When the message arrives or timer fires set the flag that can be queried with other messsage from outside of the app. This should give pretty good starting point. -Tee-
  10. Tommi Prami

    WinAPI to query if a form is ready to Rock.

    It seems this can happen (On Form) quite common places. Not too many but still. Did not know any of this, Always thought that handle would be totally permanent on it's whole life time... -Tee-
  11. Tommi Prami

    WinAPI to query if a form is ready to Rock.

    Delayed initialization is an separate problem I think, and that can be handled Case by case, if needed. How, why and when Delphi will recreate the Hvnd for a Form? Never heard of this, this might explain rare weirdness. -Tee-
  12. https://en.wikipedia.org/wiki/Fast_inverse_square_root There was code samples long time ago for Delphi. With different constants, to spread error to positive , negative or +/- Also pure pascal version so routine could be inlined. It vas pretty fast Used in odl company. No need for me right now, but would be still cool to have it around and put into the Wiki and so on, also Delphi version of the code. -Tee-
  13. Tommi Prami

    Delphi 10.3 Update 2 available

    That is not all, there are also Embarcaderos inhouse fixes. -Tee-
  14. Tommi Prami

    Restart the same App?

    That works also. -Tee-
  15. Tommi Prami

    Restart the same App?

    If this works well would be nice if final code would be published in Github etc. I think many would need it and if there would be ready to run code, it would help community. -Tee-
  16. Tommi Prami

    Delphi 10.3 Update 2 available

    Yo, Does anyone have 10.3.1 and 10.3.2 available? Would be cool to see some diff and/or analysis of RTL and/or VCL changes between the two, -Tee-
  17. Hope all start to contribute. When the FastCode was alive and kicking I suggested some kind of online server where benchmark/validation app could post results. Now hosting such a thing would be way easier. This could be good new contribution, to start with https://github.com/davidberneda/FastDateTime (Not my code, just to be clear) -Tee-
  18. Drop in placements of RTL and/or VCL routines would be most beneficial for most. And maybe something as a bonus that are not in the Delphi as a standard. Hope this project attracts lot of coders. -Tee-
  19. Any way to make those Blue Balls (pun intended) different color? To me almost invisible.
  20. Tommi Prami

    View Canon/Nikon reflex jpeg photo in high quality (Adobe sRGB?)

    I've once done something to solve this. I think I had to use some windows API or, hmmm... GDI+ thingy to load jpeg file, so it'll make color space conversion. Can't remember the details. I think it was some kind of GDI+ API thingy. -Tee-
  21. Tommi Prami

    Is editing posts disabled?

    Or I just can't figure out how to do that. -Tee-
  22. Tommi Prami

    Is editing posts disabled?

    Would have never guessed that, I thought that is for asking admins to remove etc. Or report abusive content etc. 🙂 -Tee-
  23. Tommi Prami

    Is editing posts disabled?

    Most likely... I see no problem changes, if someone doesn't behave, kick them out.
  24. Tommi Prami

    Is editing posts disabled?