-
Content Count
122 -
Joined
-
Last visited
-
Days Won
2
Wagner Landgraf last won the day on April 22 2023
Wagner Landgraf had the most liked content!
Community Reputation
43 ExcellentRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
MAP2PDB - Profiling with VTune
Wagner Landgraf replied to Anders Melander's topic in Delphi Third-Party
Probably that's what is happening here. I had an older VTune version that worked, and now I installed Tuen 2024 which doesn't. (Of course, "working" was very limited, it didn't support any hardware assisted profiling, but at least the Hotspots with no hardware was working, just to profile application logic). The problem is: where the heck to I find old VTune versions to install? I search everywhere, and I can't find any information. Closes I found was to register for Intel account and go to some download/registration center, but nothing is displayed there are it only lists "registered" products. Does anyone happen to have an old offline installer of 2023, maybe 2022 VTune? -
MAP2PDB - Profiling with VTune
Wagner Landgraf replied to Anders Melander's topic in Delphi Third-Party
Has anybody tried to use VTune inside a VM with M1 (ARM MAC)? I recall I was able to use it, but I rebuilt my VM and now I can't make it work. I get this message: [Instrumentation Engine]: [tid:15552] Failed to allocate Injector, Error = INJECTOR_ERR Pin is exiting due to fatal error I just couldn't find anything relevant about this issue when googling for it. Even the VTune matrix demo doesn't work (so not related to map2pdb). -
support for login / auth for web apps
Wagner Landgraf replied to David Schwartz's topic in Cross-platform
Do you have reliable sources for this? I don't know those tools specifically, but that's basically what a "no-code" solution is. Otherwise it would be a "code" solution. 🙂 -
support for login / auth for web apps
Wagner Landgraf replied to David Schwartz's topic in Cross-platform
One of the most famous authentication SaaS is Auth0. Never heard about descope before. While those tools are really full-featured, they can get expensive pretty fast if your app grows. TMS Sphinx is our (TMS Software) alternative Delphi library for those solutions, where you build your own "descope-like" or "auth0-like" server yourself: https://doc.tmssoftware.com/biz/sphinx/guide/ Things like "adding custom fields to user profile" would obviously not be an issue, since you have full control your authentication server. TMS Sphinx doesn't have all those enterprise features they offer, of course. But it's still OAuth2 compliant and has many features for an authentication server that servers most purposes, even for multi tenant, public SaaS services. -
Delphi REST frameworks that run on Linux?
Wagner Landgraf replied to David Schwartz's topic in Network, Cloud and Web
That is not a "workaround" nor it's a "Sparkle dependency on Windows". Sparkle offers multiple ways to create an HTTP server, using different frameworks/APIs: Indy, Web Broker, http.sys... Of course, http.sys is a Windows kernel/API, so obviously it will only work on Windows. So if you want to create an HTTP server on Linux, you can't use http.sys, neither with XData nor any other framework in the known universe. -
Delphi REST frameworks that run on Linux?
Wagner Landgraf replied to David Schwartz's topic in Network, Cloud and Web
The point of the topic is moot, as you’re wrong. TMS XData does support Linux. -
0/0 => EInvalidOp or NAN ?
Wagner Landgraf replied to FabDev's topic in RTL and Delphi Object Pascal
I didn't understand your statement. Isn't that the exact original question? This is what I see in original post: " But for other Delphi user's using exactly the same project NaN is displayed ! Why ? Does any Windows language settings can do it ? " -
0/0 => EInvalidOp or NAN ?
Wagner Landgraf replied to FabDev's topic in RTL and Delphi Object Pascal
It doesn't work in Windows ARM. In both cases, the output is Nan. -
I did. It works - on Safari. After you mentioned I tried in Chrome, and then it doesn't work. But it's not a 404, instead a connection refused. Looks like it's because the link is insecure HTTP, which is rejected by Google but somehow Safari forces it to be HTTPS - which then works.
-
That link works fine for me.
-
I've seen such pattern all the time, since many years already (it started right after the Delphi 2005 fiasco). I often agree that "rewrite our software in X" is usually a bad idea. And I've also seen that happen - many companies who tried to migrate to another platform failed, either spending lots of money, either not being able to develop a product as good as they have before in Delphi, and many other failure stories. If you think about it, even TMS history had similarities with that. We were a pre-Delphi 7 component vendor company, and after that period, many component vendors went doing something else of "migrated" to .NET. Of course there are successful stories of migration as well. But I understand the companies: I believe what scare them is Embarcadero behavior and their dependency. If they simply snap their finger and decided "no Delphi for you", many companies will have problems. But "no Delphi for you" I mean shutting down, not fixing bugs, not updating, whatever. It's a dangerous dependency. You might say "well, there are already doing that by not fixing bugs" and I would reply saying that that's the #1 reason I see companies *today* willing to migrate away from Delphi.
-
Is it possible that an exception does not inherits from Exception class?
Wagner Landgraf replied to Wagner Landgraf's topic in RTL and Delphi Object Pascal
That is not needed. The else is implicit in the try..except block, if an exception is not trapped in the "on" clause, it's re-raised. The point here is if you have code that needs to be executed, like a transaction rollback, or a log message that needs to be generated, etc. -
Is it possible that an exception does not inherits from Exception class?
Wagner Landgraf replied to Wagner Landgraf's topic in RTL and Delphi Object Pascal
Mobile is not the case here. But for all intents and purposes, it's clear, from the responses of some helpful gentlemen here, that "on E: Exception" is not a 100% safe approach. -
Is it possible that an exception does not inherits from Exception class?
Wagner Landgraf replied to Wagner Landgraf's topic in RTL and Delphi Object Pascal
Thank you very much. That's the kind of situation I was wondering. So it's possible, especially because in the end Delphi apps are calling DLLs often. I just don't know the odds of such situation to happen. -
Is it possible that an exception does not inherits from Exception class?
Wagner Landgraf replied to Wagner Landgraf's topic in RTL and Delphi Object Pascal
Sure, that is already done. I was just wondering if that was a possible thing to happen. But it looks like that's not the case.