-
Content Count
2268 -
Joined
-
Last visited
-
Days Won
46
Everything posted by Fr0sT.Brutal
-
Getting the command line parameters of an executable
Fr0sT.Brutal replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
You're lucky the backend is not controlled via STDIN 🙂 -
Rave has been shipped together with IDE for some time, probably you could use the latest IDE version where it was available.
-
This feature causes me more troubles than good. From time to time I add methods manually (important) to a form, write down name and args, generate method body, then go to somewhere else, do something and automatically hit Ctrl-S. Ouch, all my crafted declaration is gone! If only that removal could be undone!
-
What is the concrete limitation of the version? +1 against direct DB access, DB servers are not intended to be publicly open. There's plenty of ways to shut them down even with anonymous access. Moreover, mobile => unreliable data channel => you'll get enough pain of lost connections with data access components.
-
All DB components on a form lose their connection to their datasource..
Fr0sT.Brutal replied to Ian Branch's topic in General Help
IDE automatically removes datalinks if datasource is unavailable. Version control to save you from the pain of restoring links and you've to open forms with the project loaded. Or just assign datalinks at runtime -
Guys are you sure it's really open source?
-
New Command Line Parser in mORMot 2
Fr0sT.Brutal replied to Arnaud Bouchez's topic in Tips / Blogs / Tutorials / Videos
Funny. At least Win7 seems to handle that correctly (launching [project1 /par="aa vv"] results in single argument [/par=aa vv]). However I'm not sure if this is stable and expected behavior. -
New Command Line Parser in mORMot 2
Fr0sT.Brutal replied to Arnaud Bouchez's topic in Tips / Blogs / Tutorials / Videos
This is non-standard. I guess the program will receive par1=/path="C:\Program and par2=Files\mORMotHyperServer\" Seems to work actually -
There is EmptyStr constant, maybe it will help? I personally never bother of such things and always use '' / ""
-
Check pdfium project
-
Radio button options not remembered on re-opening app
Fr0sT.Brutal replied to Willicious's topic in Delphi IDE and APIs
Why not go further and try full OS memory dump just to save a couple of bytes? -
Radio button options not remembered on re-opening app
Fr0sT.Brutal replied to Willicious's topic in Delphi IDE and APIs
If it's possible, I'd reflect that radiobuttoned option to config according to its meaning, i.e. not a set of flags but an index from a list of choices. -
LinkedList pointer implementation gives bad results!
Fr0sT.Brutal replied to Giorgi Chapidze's topic in Algorithms, Data Structures and Class Design
Who talks about indexing? Sometimes you have a raw buffer and have to search inside it for something or compare current pointer with something.- 19 replies
-
- data structures
- pointers
-
(and 1 more)
Tagged with:
-
LinkedList pointer implementation gives bad results!
Fr0sT.Brutal replied to Giorgi Chapidze's topic in Algorithms, Data Structures and Class Design
Until Delphi implements array/string slices, pointers will rule in data processing that is supposed to be slightly faster than a snail.- 19 replies
-
- data structures
- pointers
-
(and 1 more)
Tagged with:
-
LinkedList pointer implementation gives bad results!
Fr0sT.Brutal replied to Giorgi Chapidze's topic in Algorithms, Data Structures and Class Design
Never. Why? Mining. I doubt all bad algo's in the world together eat as much power as mining.- 19 replies
-
- data structures
- pointers
-
(and 1 more)
Tagged with:
-
Sciter
-
Why not write to Pdfium support?
-
So you had file interpreted as ANSI and converted into UTF16 with all the "weird" chars just widened ($AB => $00AB). And you had your UTF16-encoded literals defined in the same way because IDE thought the source file is in ANSI. Then, in new version, the option has changed to UTF8. And your literals which together form a valid UTF8 compound char turned to single UTF16 char which is not contained in source string. That's my version.
-
Seems Project options > Codepage has been set to 65001 Just define the fragments to replace with numeric codes. Or try defining them char by char ('a'+'b'+'c')
-
I do not insist - just expressing what I saw. User base is much smaller than Delphi's, RTL is not so pretty (i.e. strings, sets), you need dumb stuff to use Delphi units (externalsym and all this crap), compiler is always two steps behind, etc, etc...
-
IMHO CB is an Emba's poor orphan compared to Delphi. It's full of quirks, awkward stuff, mysterious bugs and so on. My colleague uses it and struggles much with issues that I never have in Delphi or solve them quickly. He couldn't setup FastMM to catch memory leak, has no debugger on x64 and so on.
-
TO ChatGPT: In Delphi, is there any kind of an adapter or class that takes a TList<T> and makes it look like a TDataSet?
Fr0sT.Brutal replied to David Schwartz's topic in Databases
I did, I think it's one of the most useful coding applications. At least for trivial cases (like foo.bar := 1; assert(foo.bar = 1)) - writing them is boring even for junior but who knows how the class will evolve. Probably setter will become a big method where bugs are highly possible -
Is this what you're looking for? https://blogs.embarcadero.com/learn-about-using-delphi-methods-as-python-functions-with-python4delphi-sample-app/
-
Sure var lambdas : string = 'λλλ'; python.someFunc(PChar(lambdas)); 🙂 Jokes aside - what you mean by lambdas? Inline functions?
-
Are you still hiring and where are you? 🙂