Jump to content

Fr0sT.Brutal

Members
  • Content Count

    2268
  • Joined

  • Last visited

  • Days Won

    46

Everything posted by Fr0sT.Brutal

  1. Fr0sT.Brutal

    A gem from the past (Goto)

    You underestimate how ancient Delphi legacy is πŸ™‚ I have 2 alive projects written in D7
  2. Maybe add CRLF's conditionally?
  3. And that's how their creators learned to not use locale- or OS-dependent formats
  4. Fr0sT.Brutal

    My new project : WebView4Delphi

    Probably just a custom rendering engine will suffice? Like HTMLViewer (native) or Sciter (DLL)
  5. Fr0sT.Brutal

    A gem from the past (Goto)

    Interesting application; however, I'd set a breakpoint on a line after condition (the line itself could be totally useless, like "gettickcount;" or similar) and use great IDE feature "Set next statement" feature
  6. Fr0sT.Brutal

    Getters & Settters??

    Constructor approach is more error-proof (you unlikely forget to assign some necessary arguments as you can with properties) but is very non-extendable. If there could appear new values to set, argument list grows and becomes ugly, just like WinAPI's CreateProcess
  7. Fr0sT.Brutal

    Zip Compression library

    Someone here has posted optimized/modernized Zlib OBJ files that gave speedup, probably this could be an option.
  8. Fr0sT.Brutal

    if i changed the P4D DLLPath how to reload DLLs ?

    DllMain with DLL_PROCESS_DETACH parameter?
  9. Fr0sT.Brutal

    Implement logic in TListView

    del
  10. I'd say your numbers are ridiculously small for any modern DB. 1M records per day is nothing. Just post events to separate DB writer thread, use transactions to pack inserts into batches and don't bother with any other optimizations. F.ex., I have ~250 inserts to Firebird DB per second (21.5M per day)
  11. Fr0sT.Brutal

    Looking for a localization tool

    Then the only difference between translation engines is how powerful their translation UIs are.
  12. Fr0sT.Brutal

    Free & low maintenance update mechanism

    LOL. Probably you should show them SysUtils and see how they'll try to avoid that unit πŸ˜„ The post you linked to was mine πŸ™‚ and yep, the code is mine, I just didn't bother to add Β© for these few lines. Anyway these functions are slightly improved, fully translated to English and contained in the unit I linked above. You can extract the necessary parts to your unit
  13. Fr0sT.Brutal

    First Python + DelphiVCL Program

    Probably zxing has something you need. It's for QR's only
  14. Fr0sT.Brutal

    Free & low maintenance update mechanism

    Generics are with us since D2009 and you unlikely want to support something older as it will require too much manual job. Impressive project! Glad to see my stack trace unit πŸ™‚ you'll probably want to update its code from https://github.com/Fr0sT-Brutal/Delphi_StackTraces/blob/master/Ice.Debug.pas since it has an improvement of excluding non-relevant entries and better comments
  15. They seem to have serious issue with their base. In what world "ensure" rhymes with "fire"? Or they just dumbly took all words ending with "re"?
  16. Fr0sT.Brutal

    Looking for a localization tool

    AFAIU the main task of these tools is handling strings defined inside forms. Translating string literals in code is simple, the devil is in forms. Thus if forms do have texts, gettext and similar generic tools are not applicable. If forms do not have texts, any tool will fit, including primitive quickly self-made stuff
  17. Fr0sT.Brutal

    HTMLViewer - is there a Delphi 11 version?

    Btw, Berndt still answers the issues on GH, probably the project isn't really abandoned.
  18. Fr0sT.Brutal

    generics

    Isn't array a container?
  19. Fr0sT.Brutal

    generics

    Well, 3 samples from these are containers and 1 is enum wrapper πŸ˜› But OK, I got your point. Just haven't used generics massively myself
  20. Fr0sT.Brutal

    generics

    Name at least 10 of that myriad? I personally meet them in: - containers - my syntax-sugaring enum/set wrapper - Virtualtreeview's GetNodeData - might be considered container stuff as well I also saw template-alike application (TProc2 = procedure <T1,T2>) but it's hardly a key feature IMHO
  21. Fr0sT.Brutal

    ExtractFilePath v TDirectory.GetCurrentDirectory

    Start it via shortcut and prepare for surprise
  22. Fr0sT.Brutal

    generics

    It's mostly about containers. You can have TList containing any type without ugly casting to/from Pointer.
  23. Also could be useful: https://en.delphipraxis.net/topic/7363-exception-call-stacks-on-windows-with-only-a-few-locs/
  24. Fr0sT.Brutal

    FaVolumeId??

    IOW, that method won't save you from paths containing only spaces
  25. Fr0sT.Brutal

    The Delphi 11.2 release thread

    It seems we need a periodic LSP killer implemented as IDE expert πŸ™‚
Γ—