-
Content Count
3323 -
Joined
-
Last visited
-
Days Won
110
Everything posted by Lars Fosdal
-
I see others have issues with the Migration tool. Backup your registry before using the tool.
-
It is a problem if you are on older than XE4.
-
I also used the WebInstall in the VM. Three component packages, and Bookmarks+Navigator. The only thing I export (registry dump) is my Editor color settings. The rest of the settings are pretty much vanilla, except Font, AutoSaves, Reopen last, and two environment vars. I'll prolly have to re-ignore a few exceptions, though. My production installations won't see 11.3 for a few weeks. That should be enough time for any surprises to be discovered. The definition of a pessimist? An optimist with experience.
-
DL'ing before the masses, perhaps?
-
Available now as web installer and ISO installer from https://my.embarcadero.com/#downloadsPage Blog article https://blogs.embarcadero.com/announcing-the-availability-of-rad-studio-11-3-alexandria/ Release Docs https://docwiki.embarcadero.com/RADStudio/Alexandria/en/11_Alexandria_-_Release_3 Release Notes https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Release_Notes New features and fixes https://docwiki.embarcadero.com/RADStudio/Alexandria/en/New_features_and_customer_reported_issues_fixed_in_RAD_Studio_11.3
-
New to x509 - how to mimic Postman config using ICS
Lars Fosdal replied to KMarb's topic in ICS - Internet Component Suite
Again, Charlesproxy handles http and https and will give full insight in what Postman and your app sends - url, body and headers. I used it myself to figure out what a C# app did with an OAuth2, that my Delphi app didn't do. The trial version is functional, but annoying (no copying, pauses at odd times) - but a full license is reasonably priced -
New to x509 - how to mimic Postman config using ICS
Lars Fosdal replied to KMarb's topic in ICS - Internet Component Suite
https://www.charlesproxy.com/ is a great tool for pin-pointing issues with authentication on https connections. -
What kind of short cut, or multiple keyboard press do you prefer for new users?
Lars Fosdal replied to skyzoframe[hun]'s topic in Tips / Blogs / Tutorials / Videos
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Default_Keyboard_Shortcuts is pretty exhaustive. -
I am stumped. I can't convince the Delphi TRESTClient to connect to a system using OAuth2 authentication. Either it is a about a parameterization mistake, or it is a functional failure. I can't get it to work with the REST debugger either. Any examples (Other than the RESTdemo) would be appreciated! I have C# code that uses the same creds, and it has no issues. I get access to the system using the Authentication URL with the clientid + clientsecret I request a token through a different URL I call the API URL, using the token
-
How to apply dark theme for Ribbon
Lars Fosdal replied to Zazhir's topic in Algorithms, Data Structures and Class Design
Is that a standard Delphi component, or third party? Are you still using Delphi XE6? -
Looks like you are right, and according to this thread,
-
TBitmap can be created and manipulated in a thread, but there are caveats. https://www.google.com/search?q=delphi+tbitmap+threadsafe
-
We create all these in code. No visual components used. We have no sea of DB components floating in designers. It requires a bit more scaffolding code, but it can be generalized and made threadsafe.
-
The challenge is that to do the drawing, you need a long series of calls to retrieve device info as well as setting up values and UI elements. When accessing the UI in it self is not threadsafe in the underlying OS - it becomes pretty much impossible. Windows UI APIs - not threadsafe Linux Gnome GDK/GTK+ - not threadsafe Android UI toolkit - not threadsafe Apple iOS UIKit - not threadsafe and creating the control structure is such a miniscule task in itself. Of course you can build data structures, models, etc in a thread, but the real work happens towards the UI - which cannot be made treadsafe.
-
The software industry has moved to the Web, why?
Lars Fosdal replied to Skrim's topic in General Help
This is why you have a product team. A group of people that knows the problem domain, the IT technology, the operative side, the enduser side. Summary There is no single one true solution Change is inevitable Adapt and overcome -
That is more or less the industry standard of how to authenticate.
-
To decide if a library is relevant, start with identifying your needs. What are the must-haves. Then, make list of options (i.e. different libs, VCL, FMX, TMS, DevExpress, etc) and start ticking boxes. All of these have a massive amount of functionality, so it is impossible to give a blanket recommendation. To give f.x. DevExpress a "must have" status, depends entirely on your needs. In the end, you need to decide if the price is worth it.
- 21 replies
-
- vcl
- devexpress
-
(and 2 more)
Tagged with:
-
New blog post: Leveraging ChatGPT to generate a Delphi class along with CRUD code from a table schema
Lars Fosdal replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
Mine takes the SQL table create statement and creates the wrapper class in Delphi, as well as the database stored procs. -
The software industry has moved to the Web, why?
Lars Fosdal replied to Skrim's topic in General Help
On the contrary, more and more of our services are off-prem in-cloud. Yes, there are situations where this is bad - but there are ways to remedy this - f.x. with on-prem caches for production related data. As for loss of connection to internet - with multiple diversely routed ISPs as well as 4G/5G backup - that scenario is not really present for us. As always, there is no one-solution-fits-all, but right now, the pendulum is way over towards cloud hosted web apps. -
New blog post: Leveraging ChatGPT to generate a Delphi class along with CRUD code from a table schema
Lars Fosdal replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
Personally, I think ChatGPT in it's current form is nearly useless for code generation. The examples it produces are trivial, and in many cases incorrect, incomplete or dangerous. Take the SQL - I've been indoctrinated with the notion that you don't do insert/update/delete statements from applications. You create SQL functions that do that job, and send the parameters. Why? Because you can grant execute rights to the user for these functions, and deny them the option of doing direct insert/update/delete - and hence reduce the risk of SQL injection significantly. The ability of ChatGPT to analyze and describe code is handy, although, I would not consider passing proprietary code to ChatGPT. It does not forget, and you risk that code, model or algorithm will be exposed in somebody elses response. And, although it is alluring, if you use ChatGPT to educate you in code that you have not used before, you have very little insight into the correctness or completeness of the code. I am going to wait a generation or two until the flaws have been addressed, and stick with using the AI to create interesting images. Edit: It struck me - ChatGPT for code is like Autotune for vocalists. It can be used for interesting effects, or making the mediocre presentable. -
What lacks in this example is that the bearer token can be a temporary token, and you first have to authenticate to retrieve the bearer token and the renewal token, and use the renewal token periodically to update your tokens.
-
The software industry has moved to the Web, why?
Lars Fosdal replied to Skrim's topic in General Help
The enterprise loves this because of zero deployment As long as your desktop/laptop has the appropriate browser, all you need is the URL. No need to install, update, patch, and you can work from anywhere without an high-powered laptop. Rolling out apps to thousands of PCs is a chore - and maybe the user have installed something that interfers with the new version. Rolling out a new web version is simply a tweak of a URL redirect, rolling back - the same. No deployed files that can be copied and reverse engineered or used without credentials. As for the quality of the web apps - that varies a LOT - but the good ones are on par with the desktop editions. -
software research - looking for Delphi5 logging tool SilentDD
Lars Fosdal replied to David Dyck's topic in General Help
What is it supposed to do? If it is only simple local logging, there are alternatives? -
Just keep reporting them, and we'll clean house as soon as possible.
-
I spotted this. Not sure if relevant? https://stackoverflow.com/questions/45502430/how-to-access-camera-on-a-windows-tablet-with-firemonkey