Jump to content

Attila Kovacs

Members
  • Content Count

    2017
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Attila Kovacs

  1. Well, I did not found the cause yet, but I found that if you do a right-click on the editor then the keyboard-shortcut works again. Would be cool to catch the case which disables or removes this menu and report it.
  2. Attila Kovacs

    How to combine a byte and a word as a hotkey word?

    refresh Primoz' answer and see the last line in his code
  3. Attila Kovacs

    How to know that a file is not used by another program?

    CreateProcess / WaitForSingleObject Ahm, crossplatform! In this case, not! 😉 Btw, what is the cross-platform OpenSCAD calling convention? Is there any? ifdef? Maybe you could place the wait code for the process into those sections?
  4. Attila Kovacs

    Time bomb

    @Kryvich Interesting, I'll check. Thank you!
  5. Attila Kovacs

    Time bomb

    @Johan Bontes if x() is just an example and not part of the problem. It could be xres := x(s,s). And in your y() example I can't see any danger. Result is a separate string which will be copied /(or assigned its pointer?) to S at the end. Which means, the same performance or worse as omitting 'const' in my original post.
  6. Attila Kovacs

    Time bomb

    @Kryvich It would be the same if I omit const for input, am I right?
  7. Attila Kovacs

    Time bomb

    The problem in this case is, that the output string can be the same string as the input is "if x(s, s)", and depending on what x does, it can lead to unpredictable errors. The question is rather how people are dealing with such functions, avoid this pattern totally, doesn't care, changing result with a parameter (which leads to another memory allocation), testing if input is the same as output on the beginning, etc...
  8. Attila Kovacs

    Time bomb

    @Markus Kinzler Examples are welcome. I'm open to learn.
  9. Attila Kovacs

    Time bomb

    @Markus Kinzler @Primož Gabrijelčič if x(s, s) .... and manipulating result on char basis for example
  10. Attila Kovacs

    Time bomb

    @Michael Puff Is there any Title writing training for dummies? I'm coming from g+, there was no title as you know...
  11. Attila Kovacs

    New in 10.3: IDE UI Improvements in the Main Window

    @David Millington Nice, is it your work? Btw. a customizable property sub-tab would be nice, with favorite props. And the "Quick copy name" link always on the first place. Now it's just a Not-So-Quick-Copy-Name-Because-We-Have-To-Look-After-It. 😉
  12. Attila Kovacs

    Inline Variables Coming in 10.3

    @Stefan Glienke Even if it breaks your Uses Helper for long time? 😉 (hidden hint :P)
  13. Attila Kovacs

    Inline Variables Coming in 10.3

    {$ENDIF Something}? Rather: procedure DoesSomething; var var1: Integer; {$IFDEF Something} {$IFNDEF DXE103UP} var2: Integer; {$ENDIF} {$ENDIF} begin // use var1 {$IFDEF Something} {$IFDEF DXE103UP} var var2: Integer; {$ENDIF} // use var1 and var2 {$ENDIF} end; How many of you can start using the new syntax without paying attention?
  14. Attila Kovacs

    Welcome to the English speaking Delphi-PRAXiS

    @Vincent Parrett For me everything is cached, I've 19.2KB traffic on refreshing the page.
  15. Attila Kovacs

    Welcome to the English speaking Delphi-PRAXiS

    Loading the same page without logged in, TTFB 40ms. Over a hetzner ssh-tunel it drops to 250ms when logged in. Non-logged in connection almost the same, ~40ms.
  16. Attila Kovacs

    Welcome to the English speaking Delphi-PRAXiS

    @Markus Kinzler Yes, 1+1=2 + <Nickles superlative>.
  17. Attila Kovacs

    Welcome to the English speaking Delphi-PRAXiS

    Chrome reports me 28ms SSL and about 440ms TTFB
  18. Attila Kovacs

    Welcome to the English speaking Delphi-PRAXiS

    Nope, it's the TTFB. Mysql expert needed? 🙂
  19. Attila Kovacs

    Commercial feed

    Last question for today (I hope) We had over there commercial ad's, announcements (if something new was available), etc... Some of them was in moderate intervals, some of them more frequent but in the last time, it was quite ok. I'm not sure, but I think I've seen somewhere that commercial ad's are not welcome here. Is it true? Can we make them a corner here? Limited post frequency into a separate sub? In the end, do we like or not, we live in symbiosis with them.
  20. Attila Kovacs

    Inline Variables Coming in 10.3

    @Marco Cantu Do you have any info on how inline variables affect code optimization? In larger methods registers are going out quickly. Does it help if some variables are declared deeper in those methods, or it's pre-parsed and codegen is the same as before?
  21. Attila Kovacs

    Solved: Dark Theme for DP

    https://darkreader.org
  22. Attila Kovacs

    Delphi SOAP response is always nil

    Without hacking me into the sources or reading through the thread, did you format the imported wsdl unit in the IDE? Ctrl-D, or 3rd party? Because this wrapper unit is case sensitive and formatting can corrupt it.
  23. Attila Kovacs

    Forum layout / engine

    Hi, The caption of the browser tab changes every time I navigate through the forum. It has a format <where I am> - Delphi-PAXiS [en]. I don't know what you guys think about it, I'm always searching the tab, sometimes I'm closing it unconsciously. Reverse order would be better? Or compacter? DP-xyz. What do you think? I see that you work hard on the layout and I've also seen that there are dozens of layouts/themes available for this engine. They are not (all?) free if I'm correct. Is it possible to make a donation pool and get some of them? Or are they only global themes, or per user settings? There must be some addons out there too. I've also seen that the author offers a REST API. Is it included on this edition? Are you planning to make it available? greets
  24. Attila Kovacs

    Forum layout / engine

    Let's take this theme as an example https://invisioncommunity.com/files/file/9054-chocolate/ Would it be the one and only default layout or one could choose the theme to display?
  25. Attila Kovacs

    Forum layout / engine

    @Markus Kinzler I see. Everything precompiled in the engine? Db access?
×