-
Content Count
3416 -
Joined
-
Last visited
-
Days Won
113
Everything posted by Lars Fosdal
-
There is no magic function for this. F.x. you could for each string, go through each character and increment a counter if the character is a number. If the counter = 0 after the count, the word should be excluded? Edit: There also is an optimization that can be applied to the above suggestion.
-
@Henry Olive - (EndIndex - StartIndex) / 2 17:30 - 17:30 = (0 - 0) / 2 = 0 17:30 - 18:00 = (1 - 0) / 2 = 0.5 18:00 - 18:30 = (2 - 1) / 2 = 0.5 ... 17:30 - 00:00 = (13 - 0) / 2 = 6.5 23:30 - 00:00 = (13 - 12) / 2 = 0.5
-
I did years with DLL Hell. Monolithic FTW.
-
Delphi TClientSocket can't connect to Arduino server, Socket error: 10061
Lars Fosdal replied to Dominik99's topic in VCL
Why do you specify both a host and an address? What is an "ethernet server" ? -
any body can write this code by delphi?
Lars Fosdal replied to mofareh's topic in Network, Cloud and Web
Well, not quoting the entire post would be good start... -
After so many versions and the Parnassus issues - it would be great if they finally could fix it properly 😕
-
... or later, I would assume - but yes - Windows 7/8 is out of scope - as is 32-bit host OSs.
-
How to use data-raw json in body with RESTRequest?
Lars Fosdal replied to Ranja AZ's topic in Network, Cloud and Web
Are you missing the application/json content type? Or is it an authentication issue - the 401 seems to indicate that. -
Encoding accented char in JSON format
Lars Fosdal replied to DavidOne's topic in Network, Cloud and Web
What format is the dataset string field? Have you tried converting it to UTF-8? -
11.2 Pre-Upgrade Checklist / back out plan
Lars Fosdal replied to SwiftExpat's topic in Delphi IDE and APIs
10.3 and 10.4 were major versions. Then you got 10.3.n and 10.4.n as incremental upgrades. They changed this with version 11. 11.0, 11.1 and 11.2 are the same version. -
11.2 Pre-Upgrade Checklist / back out plan
Lars Fosdal replied to SwiftExpat's topic in Delphi IDE and APIs
-
Available for subscribers from https://my.embarcadero.com/#downloadsPage What's new: https://www.embarcadero.com/products/rad-studio/whats-new-in-11-alexandria Change log: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/11_Alexandria_-_Release_2 Installed and upgraded smoothly in my test VM Well, except the GetIt plugins... so those needs to be manually reinstalled from the GetIt dialog.
-
Lazarus can't handle my generics.
-
Execute external program/command and capture output
Lars Fosdal replied to softtouch's topic in Cross-platform
https://www.fmxexpress.com/read-and-interact-with-a-command-line-pipe-in-delphi-xe7-firemonkey-on-mac-osx/ NVM: Dead link inside article 😕 -
Postgresql in the cloud, possible for Desktop App?
Lars Fosdal replied to mvanrijnen's topic in Network, Cloud and Web
You really, really, REALLY don't want to expose direct DB queries to your database. A proper scalable and securable REST frontend is a must, IMO - unless it is some basement hobbyist project. -
What type of files?
-
Are the jcl and jvcl libraries still alive?
Lars Fosdal replied to Davide Angeli's topic in Delphi Third-Party
Given that you pay for its service, rather than the software itself, I assume it does. -
Are the jcl and jvcl libraries still alive?
Lars Fosdal replied to Davide Angeli's topic in Delphi Third-Party
Yeah... it is not the only tool we have that is subscription based, is it... 😛 -
Are the jcl and jvcl libraries still alive?
Lars Fosdal replied to Davide Angeli's topic in Delphi Third-Party
I've become very fond of GitKraken, which is adding improvements and features every month. https://help.gitkraken.com/gitkraken-client/current/#version-8-7-0 -
@Fr0sT.Brutal The TJson RTTI to Json conversion doesn't work with the property names, but with the field names. See @Uwe Raabe's example that shows where the JSON name mangling is done by attributes.
-
I assume you are in control of both ends of the communication. I'd compress and encrypt instead of bothering with obfuscation.
-
64 bit shift operations?
Lars Fosdal replied to A.M. Hoornweg's topic in RTL and Delphi Object Pascal
So, it was not the operator, but the type the operator operated on. -
64 bit shift operations?
Lars Fosdal replied to A.M. Hoornweg's topic in RTL and Delphi Object Pascal
Maybe you need to cast the 1 to uint64 too? Edit: Checked - It works with function bit(idx,value: uint64): Boolean; begin Result := ((uint64(1) shl idx) and value) <> 0; end; -
FreeAndNil() - The Great Delphi Developer Debate
Lars Fosdal replied to AlexBelo's topic in Tips / Blogs / Tutorials / Videos
I'd watch the video... and rant about it afterwards 😉 -
FreeAndNil() - The Great Delphi Developer Debate
Lars Fosdal replied to AlexBelo's topic in Tips / Blogs / Tutorials / Videos
Anyways, ARC has gone the way of the Dodo. Free(AndNil) it is.