Jump to content

Fr0sT.Brutal

Members
  • Content Count

    866
  • Joined

  • Last visited

  • Days Won

    19

Fr0sT.Brutal last won the day on April 1

Fr0sT.Brutal had the most liked content!

Community Reputation

361 Excellent

1 Follower

Technical Information

  • Delphi-Version
    Delphi XE2

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Fr0sT.Brutal

    compiling DCU without creating EXE

    Thanks, I didn't know that. It was opensourced so anyone could try to build it for newest versions
  2. Fr0sT.Brutal

    compiling DCU without creating EXE

    That's weird BTW - IDE seems to run compiler as standalone EXE so it should not eat memory itself. And compiler is 64-bit so it must be able to allocate as much memory as possible including swap. Just don't use them if you don't need
  3. Fr0sT.Brutal

    Delphi 10.4.2 Professional

    @Dany Marmur gentleness and diplomacy of 80 lvl! 🙂
  4. Fr0sT.Brutal

    ICS for Linux?

    Ok, I got your point. Full source files, fine
  5. Fr0sT.Brutal

    Delphi 10.4.2 Professional

    You have just insulted all otaku's down to the deep of the heart xD kawaii manga girls have nothing common with that synthetic model of a human xD
  6. Fr0sT.Brutal

    compiling DCU without creating EXE

    Very interesting. How large your project is? Regarding the subject, you could also split your bucket of units into several projects and build them one after all. Anyway, if it's possible, I'd recommend considering extracting some units into separate subprojects that will be built independently; main project would use their DCU's without rebuilding.
  7. Fr0sT.Brutal

    ICS for Linux?

    Trying to build latest "ICS V8.67 - Part 2" for Debian. Besides several "stream.Seek"'s that I fixed the most serious issue is that "kqueue" is used for message loop which is only available at *BSD. This topic recommends using epoll instead or some 3rd-party lib.
  8. Fr0sT.Brutal

    RegEx performance

    Why validate email at all? If you need it valid and active, send confirmation code. Otherwise let it go. "aa@bb.cc" is totally valid but as useless as "weufbowkef". I use this one frequently when a site that I found just now and unlikely will visit again requires my email for some unclear reasons.
  9. Fr0sT.Brutal

    Determining why Delphi App Hangs

    Doing things right is always a better option. But when it's too hard, only some ugly methods could help - but one has to understand what they're doing.
  10. This feature took them 20 years and it still has drawbacks. If they've implemented aliases from the beginning, no troubles with with would happen ever
  11. Fr0sT.Brutal

    Determining why Delphi App Hangs

    Well, it's not the App.PM's fault, it's the misuse. You just run a continuous loop which could iterate millions times per second if there's no messages in the queue. Surely it eats up CPU time and other operations get slower. What happens if you uncomment that Sleep? BTW, each additional connect you run adds one more nested loop with App.PM=>Button.OnClick=>Connect thus the call stack grows.
  12. Fr0sT.Brutal

    SetLength TBytes Memory Leak

    You already set length to 0 on decode error. BTW, there's a catch in dynamic Result regarding performance. They have their previous state when entering a function so the array could be allocated already. When you call SetLength, and if FastMM decides the array must be reallocated (as it reserves some space after the end), it copies full contents of an old array to a new one. Which is useless anyway. OTOH, disposing the old array by setting length to 0 could also slow thing down because then allocation will happen at every call. Depending on how intensive the function call is, you might want to re-use the array without truncating its length and just return how much decoded data it contains.
  13. IMHO Borland should've borrowed alias construction from SQL (select Foo as f, Bar as b ...) like this: with some.long.long.nested.object as foo do foo.bar := laz
  14. IOW, optimal distribution would be not AB CD where each letter is a fragment of an image to process by a thread but ?
  15. Fr0sT.Brutal

    StockSharp, anybody worked with this?

    Of course absolutely no. Evil Russian hackers will drain all of your bitcoins in seconds just between faking US votes and drinking vodka with their bears
×