All Activity
This stream auto-updates
- Past hour
-
Poor mans HA
Angus Robertson replied to bk31415's topic in Algorithms, Data Structures and Class Design
Please make sure you are using MQTT from SVN or the overnight zip, I did a major rewrite a couple of months ago that is not yet released. Coming back to your original problem, the best solution will be a new wrapper component around the ICS MQTT client, that handles reconnection if the connection drops, including using a list of IP addresses for multiple servers. This will avoid applications needing to handle all the reconnection stuff, which is tedious. I'll put it on my list, but it may not make the next release, which is already overdue. The TIcsIpStrmLog client component already does reconnections, just need to take those properties and methods. Angus - Today
-
Thanks for all the suggestions. I have the feeling that VCL should somehow protect events that can recreate controls. Something like if Creating then ForceQueue incompatible operations
-
The default behavior is the same since delphi 4, but since a few versions the optional "OldCreateOrder" property is ignored: https://docwiki.embarcadero.com/Libraries/Athens/en/System.Classes.TDataModule.OldCreateOrder
-
I said that TRestParams can not currently create an array of Json objects, at least without nesting multiple components, but it may in the future, Angus
-
Notice one more change How Constructor Create and FormCreate event executed. Till D10.4 When I execute Create (with paramter or no ) , FormCreate get executed when encouter inherited keyword in Create constructor; in Delphi 12.3 When I execute Create (with paramter or no ) , FormCreate get executed only after created constructor execution complete.;
-
Ribbon Framework for Delphi TRibbonApplicationModes
david berneda replied to Mark Williams's topic in Delphi Third-Party
-
I have just subscribed to an AI service. I already have working code for a REST service. Tested with code fram AI and OMG it looked impressive. My question was "How can I connect to REST service xxxx using Delphi 12.2?" AI gave me three times the amount of code I already use and the AI code does not work, even after several corrections. Non programmers making programs using AI, I think not :)
-
fedora_lee joined the community
-
Yes, the need for a request body is clearly described in the api documentation. This is logical - otherwise how to send a request to delete a hundred, a thousand, ten thousand items? As I understand it, such a number of parameters will not fit in the url. In my task, for example, I delete three thousand elements. I think I succeeded. In the OnSessionConnected handler, I assign the necessary values to the SendStream and ContentTypePost properties. In general, this scheme already works. Therefore, the component does not need to be changed. The only thing I would like, if possible, to have some low-level properties that could be used to manually generate the contents of the request body without using auxiliary tools such as the TRestParams class. This will still allow me to solve my own problems when there is logic that cannot be implemented using TRestParams.
- Yesterday
-
Yes, you are right, I need to work on the site. Since I wrote the component as an individual developer, I could not pay much attention to the site. Currently, the component only supports Android devices.
-
The UI is designed with a normal desktop application and processes the codes with the PDF drawing component, thus helping you create PDF files more easily and quickly.
-
Hello I am a bit weak in web design so I didn't think of https and the payment is made via crypto, all you have to do is make a notification on the purchase page.
-
OK.
-
Poor mans HA
Anders Melander replied to bk31415's topic in Algorithms, Data Structures and Class Design
Alright then. So you are going to violate the license and don't want that aspect discussed. That's between you, Microsoft, and whatever unfortunate user/client, if any, this involves but maybe you shouldn't ask us to help you do it. -
Thank you guys. I thought this was a good place to ask technical questions as opposed to philosophical or legal ones. Apparently, I was wrong. Here is the answer using command line. I will use TProcess (ported from FP/Lazarus) until I find a way to do all that natively.
-
Anders, I love the nitpicking. Still, let me answer: No, not userS. Not plural. Both machines (A and B) single-user, they will access one another over the local network --not from Internet or similar. If this is sin in M$ religion, I'll immediately stop using anything that acceses another machine (such as SSH), I promise.
-
Poor mans HA
Anders Melander replied to bk31415's topic in Algorithms, Data Structures and Class Design
You mean you are "installing the software on a device for use only by remote users"? -
Second part applies.
-
I think this discussion is starting to go nowhere. Assigning a different IP address to NIC is already doable with: netsh interface ip set ... here is also a Youtube one. All I want to do is that. Using Delphi. And, I am perfecly fine with "I don't know" or no replies.
-
Poor mans HA
Anders Melander replied to bk31415's topic in Algorithms, Data Structures and Class Design
No it's not; You are not allowed to use a desktop Windows as a server. What other people that violate the license say about that isn't really relevant. -
This must be the strictest possible interpretation out there. I wander what all those people running Web Servers on their personal machines on consumer OSes say about this.
-
Poor mans HA
Anders Melander replied to bk31415's topic in Algorithms, Data Structures and Class Design
Exactly. Read the EULA. Search for "server". It's stated pretty clearly what you can and cannot do. -
Poor mans HA
Attila Kovacs replied to bk31415's topic in Algorithms, Data Structures and Class Design
if you're turning the machine into a server that violates terms intended for client/desktop use, i think you mixed something up, you meant it's running on the server version, and you like it -
Specifically what? I mean, I can assign not just one but several IP addresses to a single NIC under Win11 Ent which I have been able to do for who knows how long. What could be in the EULA to forbid it, while the OS freely allows it? All I want to do is to just that under my own program's control.
-
Poor mans HA
Anders Melander replied to bk31415's topic in Algorithms, Data Structures and Class Design
Then I think you need to familiarize yourself with the Windows EULA. -
You could call it that if you go by the choice on the Windows version. But, it isn't really. While me using Delphi may look it, it will be used in professional/serious environment.