Jump to content

Fr0sT.Brutal

Members
  • Content Count

    2268
  • Joined

  • Last visited

  • Days Won

    46

Everything posted by Fr0sT.Brutal

  1. Fr0sT.Brutal

    ICS V8.66 announced

    Git is able to work with SVN repos btw
  2. Fr0sT.Brutal

    Fail faster than calling Connected := True?

    I'm afraid you can't. Just try to connect with a socket to addr:3050 (thus you can easily use threads/async check). Or create a thread with its own connection objects and try to request, f.ex., server props. It won't require any DB connection and will be as light as it could. Btw, it's weird you have to wait too long. Windows has 20 sec timeout for inaccessible connect attempts.
  3. Fr0sT.Brutal

    Fail faster than calling Connected := True?

    All checks except the actual connect to the base you want are unreliable. Show splash screen if your app is useless without DB or connect in background thread otherwise.
  4. As a slightly crazy but working option I could advice to generate documentation with PasDoc. It will show you all public items in processed units. It also could generate machine-friendly XML for further processing
  5. Fr0sT.Brutal

    How to Highlight a Control that Fails Validation

    You have to link controls and XML fields 1:1, then just take invalid XML field, get its linked control, show it and display server's error text
  6. Btw, TranslateMessage only deals with virtual keys so is useless for worker threads. Removing it allows to save 3 lines πŸ˜‰
  7. Fr0sT.Brutal

    'as' operator??

    PA is wrong here. "AS" only deals with classes (you can try it yourself)
  8. Yep, after mapping a view your app in fact has less maximum address space available. However, this only has meaning with x32 apps. In x64 apps you have 18M Terabytes available so one little mapped view won't hurt much πŸ™‚ Soooo...?
  9. 1) As long as you don't need input value of Counts, it's better to mark it "out" instead of "var" 2) When you declare a type for counts, you can zero it with "Default": "counts := Default(TCounts)"
  10. +1 Small modification: Counts: array[TDocType] of Cardinal ..zeroize the array... for i := Low(aDocuments) to High(aDocuments) do Inc(counts[aDocuments[i].DocType]);
  11. TFileStream ;D Hmm, from what I know mapping doesn't read-and-allocate the contents of the mapped file. Contrary, it allows working with the contents like it was allocated in memory
  12. Do it πŸ˜‰ considering that 32bit will likely become obsolete in the near future, I doubt anyone will implement the functionality you're telling about. From the 1st glance, it shouldn't be too hard to implement
  13. https://sourceforge.net/projects/tpipro/ in IpStrms.pas
  14. It appears in my search results from time to time but only annoys me by its paid contents, I've never seen any useful answers in displayed fragments
  15. Name: Victoria Age: 28 Preferences: hardcore C, sometimes vanilla JS. No Python! Group coding: probably.
  16. I'm with you, don't be scared πŸ™‚
  17. Fr0sT.Brutal

    JCL installation problems in D10.4.2

    Is it impossible to select multiple projects and do "Install all"? Good idea for feature request if so
  18. IDK why they need race and gender but left my 5 cents
  19. Fr0sT.Brutal

    JCL installation problems in D10.4.2

    Build everything in predefined order? Yes Change build config in one click for all projects inside? Yes IDK what else is needed
  20. Fr0sT.Brutal

    Build to deploy process

    Well I don't have such props, in general I meant examining changes in DFMs before commit and saving only significant ones (that's what I do, reverting those ones that IDE modified itself). But there are pre-commit hooks that could run custom scripts which could do everything you need.
  21. Fr0sT.Brutal

    About ProxyAuth when using no authentication

    I prefer SmSniff but since you use SSL, it should be Wireshark. Or, as Angus said, enable traffic dumping in the client. Btw, there's relatively new ProxyURL property to set SOCKS or HTTP Tunnel proxy settings using single URL, ie proto://[user:password@]host:port where proto = socks5 or http. Setter of this property takes care of setting the proper Auth mode
  22. Fr0sT.Brutal

    JCL installation problems in D10.4.2

    That's a matter of taste. Pity IDE doesn't have "Absolute Base" config that all other platform configs inherit from. Having to add lib paths for every platform is very irritating
  23. Fr0sT.Brutal

    About ProxyAuth when using no authentication

    You should sniff the traffic to see what's going on
  24. Fr0sT.Brutal

    JCL installation problems in D10.4.2

    There's a feature called - wait for it - PROJECT GROUPS! that could solve almost all of these steps.
Γ—