Leaderboard
Popular Content
Showing content with the highest reputation on 11/12/24 in all areas
-
Buying a mini pc to install Delphi
dummzeuch replied to Alberto Paganini's topic in Tips / Blogs / Tutorials / Videos
There is also Mouse Without Borders, now part of Windows Power Toys, which has a similar functionality, but is Windows only. But as Alberto just clarified: He needs a different functionality, so this won't help. Regarding KVM switches: I found them a bit too pricey for just a convenience so I do the same as Anders and use the multiple input ports of my monitor(s) to connect my computers and switch between them using the monitor's on screen menu. My keyboard has two USB ports so I connect the mouse to the keyboard and just need to plug in the keyboard's USB cable into the computer I am currently using. (A separate USB hub would offer the same "convenience" at much less cost than a KVM switch). Also, I can have one of my monitors show the display of one computer and the other the display of the second one, if I need that. I don't know whether KVM switches allow that nowadays. Of course that always depends on the use case: If you want to switch frequently, a KVM switch may be worthwhile. But then maybe Remote Desktop or Synergy / Mouse Without Borders could be a better solution. -
Double, default value
Attila Kovacs replied to Skrim's topic in Algorithms, Data Structures and Class Design
Note that there is also a System.SysUtils.TryStrToFloat() function, along with many other TryStrToXXX() functions, you may find them handy. -
Double, default value
Brandon Staggs replied to Skrim's topic in Algorithms, Data Structures and Class Design
Yup, which is just one more reason why safety through automatic initialization is illusory. -
Double, default value
Stefan Glienke replied to Skrim's topic in Algorithms, Data Structures and Class Design
Which - fun fact - does not happen on the method call (unless it's a virtual method) but when accessing any member inside of it. You could still have some method which does not access any member and it will not AV at all. We can argue all day about this - any runtime behavior one might slap onto it will not save the language from being inherently unsafe. It needs to be built into the language/compiler itself (Hi, Rust) -
Delete First & Last Character
Remy Lebeau replied to Henry Olive's topic in RTL and Delphi Object Pascal
The SysUtils unit in Delphi's RTL has AnsiDequotedStr() and AnsiExtractQuotedStr() functions for that exact purpose. -
python4delphi Add extra components without touch DelphiVCL
pyscripter replied to shineworld's topic in Python4Delphi
This is not correct. When P4D is used in an extension module it uses LoadDllInExtensionModule which just uses the dll loaded in the python process. It does not load or initialize the python dll. The calling process does that. So you can have more than one Delphi generated pyd files without issues. -
In the latest commit, multiple connections are handled in separate threads. So, Multiple Connections on LocalForward · Issue #11 · pyscripter/Ssh-Pascal is fixed. Seems to work fine, but could you please test it?
-
Buying a mini pc to install Delphi
Rollo62 replied to Alberto Paganini's topic in Tips / Blogs / Tutorials / Videos
You could check https://symless.com/synergy Works like a charm for me, at fair costs -
Double, default value
Stefan Glienke replied to Skrim's topic in Algorithms, Data Structures and Class Design
First, it's wrong to assume that all local variables reside on the stack, depending on optimization they might be in registers. Second, rep stosd is terribly slow for small sizes (see https://stackoverflow.com/a/33485055/587106 and also the discussions on this issue https://github.com/dotnet/runtime/issues/10744) Also, the Delphi compiler arranges managed local variables into one block that it zeroes (in many different and mostly terribly inefficient ways). -
NO, also Delphi and some more then this ( like NDK ?). EDIT: No NDK update. The patch is installed in 10 seconds without any Issues.
-
Double, default value
Stefan Glienke replied to Skrim's topic in Algorithms, Data Structures and Class Design
Why should the CPU waste time zeroing stuff that will be set shortly after anyway? Compilers are there to warn/error when any code path leads to a situation where a variable is not initialized. -
@Gex99 It's always nice to know that someone benefited from the work I put it in to solve a problem. It was a tricky problem that, as you saw from my posts, took a while to solve. The solution I eventually found was easy to implement. I'm glad it worked for you too. Thanks for saying something.
-
App does not start anymore on macOS Sequoia (due to sandbox restrictions?)
Alexander Halser replied to Alexander Halser's topic in FMX
Problem solved. It wasn't the permissions, but a native NSToolbar control. This toolbar contained two NSToolbarSidebarTrackingSeparator items, which were used to create a vertical separator bar on the toolbar. While this had worked before, it's illegal for macOS 15. Only one of this item type is permitted. -
Buying a mini pc to install Delphi
dummzeuch replied to Alberto Paganini's topic in Tips / Blogs / Tutorials / Videos
They possibly are. I was referring to those that are also sold from small Chinese companies or possibly individuals directly to Europe via Amazon or other online marketplaces. They seem to just put every buzzword they can find into the description, sometimes even conflicting ones. -
Buying a mini pc to install Delphi
Anders Melander replied to Alberto Paganini's topic in Tips / Blogs / Tutorials / Videos
A customized Windows from China (if that's where the system is from)... That right there would be enough for me to wipe it. I can't speak for Lars, but before Space Karen took the title, I Bezos was a bit of a real life Bond villain (okay he still is, but it's nothing compared to Elon). There are still a lot of ethical problems with how Amazon treat their work force and their suppliers. And then there's the recent Washington Post debacle. These idiots just can't stay likable. That said, Amazon's return policy and customer service is second to none and it's the only place where I can get English language books in hardcover for a reasonable price (I'm in Denmark). Fair enough but like everything else (except maybe death), the only way to overcome that is to try it and learn from the experience. But I can understand if you'd rather use your time and energy on something else. I think the last system I bought ready-made, apart from laptops, had a 80386 processor and 16Mb RAM. I've built a few lemons along the way but it's been a while since the last one. By the way, one thing that you should do when looking at a new system is compare the CPU with the one in your existing system. Although a new system most likely has a newer CPU it might not be faster than what you have now. For example the processors in the two systems you listed are mobile processors optimized for low power consumption (it has a nominal clock speed of 0.7 GHz!), while your existing system likely has a desktop processor which likely is optimized for performance. https://www.cpubenchmark.net/cpu.php?cpu=Intel+N100&id=5157 -
Double, default value
Remy Lebeau replied to Skrim's topic in Algorithms, Data Structures and Class Design
StrToFloat() does not have an option to return a default value. You need to use TryStrToFloat() for that. -
Why does IDE require UAC elevation when starting?
Brandon Staggs replied to Tom F's topic in General Help
Some of the worst offending software is "mainstream" anti-malware, in my experience. I have lost count of how many sudden problems were the result of mainstream security software screwing things up. Not saying that is the problem here, but the lengths you went to to make your Delphi IDE start up are extreme and would not happen "naturally" with Windows and the Delphi installer. -
No.