-
Content Count
3710 -
Joined
-
Last visited
-
Days Won
185
Everything posted by David Heffernan
-
Parallel for and CPU with Performance and Efficient cores
David Heffernan replied to Jud's topic in RTL and Delphi Object Pascal
They tend not to break things. Also, ignoring affinities would utterly break aot of software, and break some software that set affinities correctly. So, no, this isn't a risk. -
Parallel for and CPU with Performance and Efficient cores
David Heffernan replied to Jud's topic in RTL and Delphi Object Pascal
Seems unlikely that MS would break its system because some people write crap programs. -
Handling Python indented blocks with ExecString()
David Heffernan replied to RSG's topic in Python4Delphi
Is it really the best way to go delphi to python to octave? Must be possible to go straight to octave but far better to use python rather than octave/matlab. -
Handling Python indented blocks with ExecString()
David Heffernan replied to RSG's topic in Python4Delphi
Not much use for a REPL -
My TStringList custom SORTing, trying to mimic Windows Explorer way
David Heffernan replied to programmerdelphi2k's topic in Algorithms, Data Structures and Class Design
It would be cool to look at the Wine implementation of StrCmpLogicalW and port that to Pascal once and for all for a cross platform implementation. https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/kernelbase/string.c#L1298 Looks kinda simple really- 5 replies
-
- tstinglist
- sort
-
(and 2 more)
Tagged with:
-
W1057 during D7 -> D11 conversion
David Heffernan replied to Bart Verbakel's topic in Algorithms, Data Structures and Class Design
Blitting a record to a binary file makes it more tricky. Nobody but you can really know what to do. Perhaps you just carry on and suppress the warnings after localising them. But why go to Delphi 11 then? If you carry on as you are you can't do Unicode. Maybe you don't need international language support. Maybe you don't mind having pre determined max text lengths. But if you want to go beyond these limitations it's going need some thought and design. -
W1057 during D7 -> D11 conversion
David Heffernan replied to Bart Verbakel's topic in Algorithms, Data Structures and Class Design
No. Its perfectly possible to save any string type to a file. -
W1057 during D7 -> D11 conversion
David Heffernan replied to Bart Verbakel's topic in Algorithms, Data Structures and Class Design
Why are you using shortstring? Even in D7 that was not recommended. -
Again that's not accurate. Imagine, say, 7 MDI child windows, tiled. You literally can't get splitters in a grid as 7 is prime. I'm not sure anybody that's posted in this thread understand MDI tiling.
-
What I don't get in all this is that MDI child windows aren't docked. They are typically tiled. Yes there is cascade but surely nobody wants that. Tabbed is clearly superior to cascade. So any discussion about MDI like GUI without true MDI needs to look at tiling.
-
https://stackoverflow.com/questions/5134712/how-to-get-the-sort-order-in-delphi-as-in-windows-explorer
-
Here's my MDI app How do I do this with tabs, bearing in mind I want to see both the child windows together.
-
This is a bit different from what were are talking about in the other topic. MDI is very different from tabbed.
-
Please support Stack Overflow moderators strike against AI content policy
David Heffernan replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
People do see it. If you think society has eliminated discrimination you are deluding yourself. People with privilege find it harder to see discrimination because they don't experience it. I really don't know what to say about this. You think that the slanting towards women in lower paid jobs indicates a great success for equality. -
Please support Stack Overflow moderators strike against AI content policy
David Heffernan replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
No but I never claimed that. Maybe. But it could well be a factor. It doesn't need to be the only reason for it to be a problem. -
Please support Stack Overflow moderators strike against AI content policy
David Heffernan replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
This is classic correlation / causation territory -
Please support Stack Overflow moderators strike against AI content policy
David Heffernan replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
How did you determine that this difference was due to gender and not some other reason? Personal anecdotes prove little. The fact that your co-workers didn't experience discrimination doesn't mean that others didn't. I mean, by definition, if any did then they wouldn't be your co-workers. I find it so wearing that people like us with our professional work colleagues and life styles think that discrimination doesn't exist because we don't see it in our lives. -
Please support Stack Overflow moderators strike against AI content policy
David Heffernan replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
The lived reality in the US for many groups is very different from that of white males. Prejudice doesn't mean everybody in a group has the same (worse) experience. It means that overall the experience of one group is significantly worse than others. "I'm sure". How are you sure? This is ridiculous and quite wrong. If this were to be true then it would follow that all men were stronger than all women. Patently not true. -
Requested for IDE to support more RAM (vote/discuss if you care)
David Heffernan replied to Tommi Prami's topic in Delphi IDE and APIs
Fair enough. Those aliases are certainly much more transparently named. -
Please support Stack Overflow moderators strike against AI content policy
David Heffernan replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
They should use AI for moderation -
Requested for IDE to support more RAM (vote/discuss if you care)
David Heffernan replied to Tommi Prami's topic in Delphi IDE and APIs
Not on all delphi versions, IIRC. If you want a 32 bit integer then there are types for that. FixedInt and FixedUInt. The whole point of Integer is that it maps to the platform's C int. -
Requested for IDE to support more RAM (vote/discuss if you care)
David Heffernan replied to Tommi Prami's topic in Delphi IDE and APIs
Well yes. It was more of a rhetorical question aimed at Thomas. -
Requested for IDE to support more RAM (vote/discuss if you care)
David Heffernan replied to Tommi Prami's topic in Delphi IDE and APIs
So yeah, which would have been harder? Changing all such records to use a type other than Integer, or changing all incorrect Pointer/Integer casts? -
Use-case question for average phone users re: file-sharing
David Heffernan replied to David Schwartz's topic in General Help
If you want Q&A that forces people to answer the question, then that's SO. But you don't seem to like SO because it forces people to ask clear questions, and then stay on topic. Which seems to contradict your comments here. I'm confused. Again. -
Use-case question for average phone users re: file-sharing
David Heffernan replied to David Schwartz's topic in General Help
That nobody is me too. I also have a bunch of ripped CDs, and purchased mp3s. Most of my use is with streaming services which clearly don't suck. But we are in a tiny minority. I guess if David is writing an app for old people like us then maybe it will work out. Sure, but this is a forum here, not SO. Yeah, which is why the average user uses streaming services so they don't have to think about this.