Jump to content

David Heffernan

Members
  • Content Count

    3710
  • Joined

  • Last visited

  • Days Won

    185

Everything posted by David Heffernan

  1. 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.
  2. Seems unlikely that MS would break its system because some people write crap programs.
  3. David Heffernan

    Handling Python indented blocks with ExecString()

    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.
  4. David Heffernan

    Handling Python indented blocks with ExecString()

    Not much use for a REPL
  5. 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
  6. David Heffernan

    W1057 during D7 -> D11 conversion

    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.
  7. David Heffernan

    W1057 during D7 -> D11 conversion

    No. Its perfectly possible to save any string type to a file.
  8. David Heffernan

    W1057 during D7 -> D11 conversion

    Why are you using shortstring? Even in D7 that was not recommended.
  9. David Heffernan

    SDI <-> MDI forms

    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.
  10. David Heffernan

    SDI <-> MDI forms

    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.
  11. David Heffernan

    How to Sort TStringList ?

    https://stackoverflow.com/questions/5134712/how-to-get-the-sort-order-in-delphi-as-in-windows-explorer
  12. David Heffernan

    SDI <-> MDI forms

    Here's my MDI app How do I do this with tabs, bearing in mind I want to see both the child windows together.
  13. David Heffernan

    SDI <-> MDI forms

    This is a bit different from what were are talking about in the other topic. MDI is very different from tabbed.
  14. 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.
  15. 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.
  16. This is classic correlation / causation territory
  17. 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.
  18. 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.
  19. Fair enough. Those aliases are certainly much more transparently named.
  20. They should use AI for moderation
  21. 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.
  22. Well yes. It was more of a rhetorical question aimed at Thomas.
  23. 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?
  24. David Heffernan

    Use-case question for average phone users re: file-sharing

    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.
  25. David Heffernan

    Use-case question for average phone users re: file-sharing

    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.
×