-
Content Count
3480 -
Joined
-
Last visited
-
Days Won
114
Everything posted by Lars Fosdal
-
I sort of assumed that 16777619 in that code was a prime, but wanted to check... ChatGPT 4o mini said "No". So, I asked CoPilot in Norwegian - and it said "No" (Nei) On a whim, I then asked it in English LLMs - Lovely Lying Machines.
-
I have very few packages (The Parnassus debacles, FastReports, FMXLinux) and a couple of non-packaged (TMS VCL UI Pack, EurekaLog), so I usually just do it manually. As for FD connections, I have my own wrapper lib that gets the connection points from configs per app (which can be retrieved from wherever I want),
-
Delphi developer needed in Denmark
Lars Fosdal replied to Kevin_Aspire's topic in Job Opportunities / Coder for Hire
While I don't disagree with the characterization of LinkedIn, I do find it handy to keep in touch with people I've worked with. I've practiced some restraint on adding people, so my list is mostly limited to people I've actually been in touch with. Also, it has become a fairly interesting place to follow certain companies. -
Had to reinstall TMS VCL UI Pack, but EurekaLog appears to be ok...
-
I use a global function GetNextInstanceNumber to get and increment a integer variable and just set the name to Self.ClassName+'_'+GetNextInstanceNumber.ToString;
-
Make sure to uninstall the Parnassus plugins before installing the patch.
-
Note that the Frame instance should have its parent set to Owner as well.
-
Create/Drop DataBase/Table at runtime on Android an Delhi 11.x
Lars Fosdal replied to Dany64's topic in Databases
It seems you can emulate auto increment, using a trigger and a generator? -
Feature req: Compiler unit dependency graph / log with warnings about circularity
Lars Fosdal posted a topic in Delphi IDE and APIs
https://quality.embarcadero.com/browse/RSP-41961 The process of cleaning up circular references can be quite challenging, as we today have no good tool to discover and track the unit interdependcy. "Blatant" circular references are explicitly forbidden, but since we can include units both in the interface and the implementation section - it is quite easy to circumvent this rule. Another challenge is when you inadvertently drag in a massive collection of units into your project, because someone needed a structure or function from a specific unit - which again uses other units, which uses others again - and so forth. The discovery of where this unit is included, and when in the compilation it is parsed, would be significantly helped by a simple build log. A sequential log of the compilation of each unit in the application - indicating where it first was necessary to compile another unit to complete the current unit. I suggested it could look something like this - more comments in the QP issue. Pls vote/comment if you find it interesting. unit1 compiling... unit2 compiling... unit3 compiling... unit3 compiled (lines, warnings, hints) unit2 compiled (lines, warnings, hints) unit1 compiled (lines, warnings, hints) -
Constant declarations keeps baffling me (don't know enough I guess)
Lars Fosdal replied to Tommi Prami's topic in RTL and Delphi Object Pascal
How about an untyped Multiplier and MULTIPLIED_CONSTANT = 1E-11 * NativeInt(MULTIPLIER); ? -
Naturally, I forgot about the Parnassus components, otherwise no issues - although FMXLinux was absent in GetIt?
-
What are you using AI code-gen tools for that's working well?
Lars Fosdal replied to David Schwartz's topic in General Help
I mostly use CoPilot to extract the stuff I need from massive amounts of documentation. I sometimes use it to summarize key info from a large text. I currently don't use it much for programming, but I would like to use it for explaining "what does this do", or for getting suggestions to improve code. -
pdf version of 'Delphi in Depth: FireDAC' by Cary Jensen
Lars Fosdal replied to Ruud's topic in Databases
Works the same way for Uwe for me as well. Ad-blocker issue? -
It is hard, even in smaller companies. Erosion of responsiblilty...
-
And back... something is not right. Error 503 Service Unavailable Service Unavailable Guru Meditation: XID: 578335475 Varnish cache server
-
Correction: Tried again - got an error message from the Varnish layer. Gone again now...
-
Can't say I see these issues right now?
-
@lope Will there be an ERP, backoffice/accounting system behind the POS solution, or is it intended to be a single software solution? Will you need multiple stations? Multiple sign-ins? Scanners? Weights? Many of your suggested MVP items typically belong to an ERP or backoffice solution. There probably also are a number of existing POS solutions to be found - so unsure why anyone would start reinventing the wheel. I mean, the absolute MVP is a simple till and handwritten receipts with carbon copies...
-
451-Error during read from data connection
Lars Fosdal replied to Mike Beard's topic in ICS - Internet Component Suite
FYI - Removed the other post, which appeared to be in the wrong sub-forum. -
Watch me coding in Delphi on YouTube
Lars Fosdal replied to silvercoder79's topic in Tips / Blogs / Tutorials / Videos
It may LOOK like a ternary, but looks deceive. It does NOT behave like a ternary op. Both expressions will be evaluated/executed - and not one or the other. The only place I use it, is when I want to emit const values, dependant on an expression. -
Delphi 12, MSSQL Server, FireDAC on android application
Lars Fosdal replied to dlucic's topic in Cross-platform
You are exposing the db endpoint on the network. -
Delphi 12, MSSQL Server, FireDAC on android application
Lars Fosdal replied to dlucic's topic in Cross-platform
Connecting directly to an SQL db from a mobile device is a bad idea. There should be a service in between that offers a REST API to serve the mobile app. -
UK Remote Delphi Developer
Lars Fosdal replied to NESHE's topic in Job Opportunities / Coder for Hire
I think you need more detail to attract candidates. -
Watch me coding in Delphi on YouTube
Lars Fosdal replied to silvercoder79's topic in Tips / Blogs / Tutorials / Videos
This is me -
RAD Studio does not recognize an Android device like Xiaomi Mi Max 3.
Lars Fosdal replied to dmitrybv's topic in Cross-platform
Xiaomi maintain their own Android fork. Can that be a factor?