-
Content Count
2017 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
Ever wondered why Shift+Ctrl+Alt+P (Sync Prototypes) sometimes stops working?
Attila Kovacs posted a topic in Delphi IDE and APIs
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. -
How to combine a byte and a word as a hotkey word?
Attila Kovacs replied to KodeZwerg's topic in Windows API
refresh Primoz' answer and see the last line in his code -
How to know that a file is not used by another program?
Attila Kovacs replied to Juan C.Cilleruelo's topic in Cross-platform
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? -
Time bomb
Attila Kovacs replied to Attila Kovacs's topic in Algorithms, Data Structures and Class Design
@Kryvich Interesting, I'll check. Thank you! -
Time bomb
Attila Kovacs replied to Attila Kovacs's topic in Algorithms, Data Structures and Class Design
@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. -
Time bomb
Attila Kovacs replied to Attila Kovacs's topic in Algorithms, Data Structures and Class Design
@Kryvich It would be the same if I omit const for input, am I right? -
Time bomb
Attila Kovacs replied to Attila Kovacs's topic in Algorithms, Data Structures and Class Design
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... -
Time bomb
Attila Kovacs replied to Attila Kovacs's topic in Algorithms, Data Structures and Class Design
@Markus Kinzler Examples are welcome. I'm open to learn. -
Time bomb
Attila Kovacs replied to Attila Kovacs's topic in Algorithms, Data Structures and Class Design
@Markus Kinzler @Primož Gabrijelčič if x(s, s) .... and manipulating result on char basis for example -
Time bomb
Attila Kovacs replied to Attila Kovacs's topic in Algorithms, Data Structures and Class Design
@Michael Puff Is there any Title writing training for dummies? I'm coming from g+, there was no title as you know... -
New in 10.3: IDE UI Improvements in the Main Window
Attila Kovacs replied to Mohammed Nasman's topic in Delphi IDE and APIs
@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. 😉 -
Inline Variables Coming in 10.3
Attila Kovacs replied to Marco Cantu's topic in RTL and Delphi Object Pascal
@Stefan Glienke Even if it breaks your Uses Helper for long time? 😉 (hidden hint :P) -
Inline Variables Coming in 10.3
Attila Kovacs replied to Marco Cantu's topic in RTL and Delphi Object Pascal
{$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? -
Welcome to the English speaking Delphi-PRAXiS
Attila Kovacs replied to Daniel's topic in Community Management
@Vincent Parrett For me everything is cached, I've 19.2KB traffic on refreshing the page. -
Welcome to the English speaking Delphi-PRAXiS
Attila Kovacs replied to Daniel's topic in Community Management
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. -
Welcome to the English speaking Delphi-PRAXiS
Attila Kovacs replied to Daniel's topic in Community Management
@Markus Kinzler Yes, 1+1=2 + <Nickles superlative>. -
Welcome to the English speaking Delphi-PRAXiS
Attila Kovacs replied to Daniel's topic in Community Management
Chrome reports me 28ms SSL and about 440ms TTFB -
Welcome to the English speaking Delphi-PRAXiS
Attila Kovacs replied to Daniel's topic in Community Management
Nope, it's the TTFB. Mysql expert needed? 🙂 -
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.
-
Inline Variables Coming in 10.3
Attila Kovacs replied to Marco Cantu's topic in RTL and Delphi Object Pascal
@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? -
dark theme Solved: Dark Theme for DP
Attila Kovacs replied to KodeZwerg's topic in Community Management
https://darkreader.org -
Delphi SOAP response is always nil
Attila Kovacs replied to ertank's topic in Network, Cloud and Web
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. -
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
-
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?
-
@Markus Kinzler I see. Everything precompiled in the engine? Db access?