Jump to content

Bill Meyer

Members
  • Content Count

    655
  • Joined

  • Last visited

  • Days Won

    12

Posts posted by Bill Meyer


  1. 8 hours ago, Lars Fosdal said:

    Having a fast SSD doesn't hurt, nor does it hurt to have source and output on different drives, but I wish I could get a CPU that had a core that could be clocked really high, since the compilers mostly are single core intensive.

     

    Like a few THz? 😉


  2. 11 minutes ago, Darian Miller said:

    The recently released RAD Studio 11 now only offers LSP for CodeInsight (classic codeinsight has been retired) so I hope that project is now considered 'done' and I would also hope that a new code formatter is on deck.

    I think you have the relationship reversed, and meant to write that CodeInsight is only operative with LSP. 

    As reported above, the problem is present in RAD Studio 11. No doubt that is why the case cited is marked "unresolved."


  3. Have you looked yet at RFC-4122?

    https://datatracker.ietf.org/doc/html/rfc4122

    The document you cite only hits a few points. One issue it raises is that of case, but in the small quote from the RFC, it does point out that although the UUID is output as lower case, it is case insensitive at input. Awkward wording, but I would take that to mean that the UUID is to be read in a case-insensitive fashion, whereas "input" could be interpreted to mean "from the keyboard" or other device. 

     

    The RFC offers an example of a properly formatted UUID: 

    urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6

    It seems obvious that the issue of case should never be allowed to interfere, given that the alpha characters relate only to hex values.

     

    As to your question about a library, I don't know whether one exists. But given that Delphi inserts a GUID for you in this form:

    ['{480BE84A-F629-4A7C-BC94-4FC06A2E03BA}']

    Then by stripping off the leading and trailing braces and brackets and converting to lower case, you would have an RFC-4122 conformant UUID which is of the form specific to MS.

     

    And for what it may be worth, I think the author made a poor choice enumerating the four types starting at 1, when the RFC lends itself more naturally to a zero-based reference. 

     

    In the end, I suppose I should respond to your question with "what do you mean by that?" We could argue the semantics of descriptions, but in the end, the GUID conforms - per the RFC - to the MS variant rules, and the UUID subsumes the GUID.

     


  4. 4 minutes ago, Lars Fosdal said:

    I don't mind the braces, TBH - but some of the expression operators still irk me, probably because I don't use them all day.

    My dislike for braces dates from a time when I frequently used printouts, and back in the day, it was all too easy for some of them to either disappear or be sufficiently unclear as to be missed. 

     

    I am also not keen on some of the expression operators, but I seem to adapt more easily to those than to the cursed braces.


  5. As many of us are likely to recall from the old forums, a key perspective here is that "developers don't understand marketing."

     

    In order to consider making changes, one must first be open to the possibility that the current state of affairs could be improved. 

    • Like 4

  6. 3 minutes ago, PeterPanettone said:

    Successfully installed Delphi 11:

     

    But the text size in the Menu, Welcome page, Object Inspector, etc. is VERY SMALL! Is there a setting to increase the overall text size of the IDE GUI?

    It would be good to specify your environment a bit. High DPI or ordinary?


  7. 4 hours ago, Lars Fosdal said:

    My first PC as well.

    Well, technically - the Memotech MTX512 belonged to my dad, but guess who used it the most?

    OK, if we're comparing age....

    My first computer was an Imsai 8080 , though by the time I got TP 1.0 for Z80, I was running a Z80 with bank-switched RAM. I still have my TP 1.0 manual, by the way.

    Insert link doesn't seem to be working, so: https://en.wikipedia.org/wiki/IMSAI_8080

    • Like 1

  8. 20 minutes ago, Remy Lebeau said:

    What is the actual project name?  Sounds like UAC's "Installer Detection" feature kicking in.  You absolutely should have a UAC manifest in the project to avoid that, not relying on the persistence of the "Run as Administrator" option on the EXE properties.

    Sorry, should have said. It is MediaOffice.exe. So unless they "detect" based on the name containing "office", I am at a loss. 

     

    Also bear in mind that this has worked for months, with that name. Then in June, suddenly, the elevation error occurred. Switched to a backup VM, and had been fine again until yesterday, when suddenly the problem was back. I had pulled no updates, and made no changes at project level. The changes between builds were limited to code in an Excel export module. The error occurs, however, before we reach the first line of code in the DPR. And there are no initialization sections in the project. None, zip, zero.


  9. OK, this is back again. Went through this sequence of actions:

    Debugging code, find error

    Exit app

    Modify code

    Rebuild and run

    Throws error:

    image.png.58f903d38086b0febe3707d25e139e41.png

     

    Did some searching, found this an article on StackOverflow which led me to rename the project and rebuild. That one change let me debug again, but if I revert to the original name, the error is back.

     

    The persistence linked to the name makes me suspect something in the registry, but searching there has so far turned up nothing useful.

     

    Last time I went through this, I abandoned my VM and used a backup. Since this now seems likely to occur again, I really would like to find a way to identify the mechanism behind it. Any suggestions would be most welcome.

     


  10. On 8/10/2021 at 2:29 AM, Fr0sT.Brutal said:

    Ternary operator is just a sugar for me. I find myself using it pretty rarely because it often grows so much that it starts looking monstrous. Much more useful is || construction from C-like langs that frequently replaces ternary:

    res = smth ? smth : default

    Some years ago, I unhappily encountered a monstrous ternary construct in C. It annoyed me most because since I first read K&R a couple of years after it was published, I recognized that the ternary operator was a shorthand which should always be found in very compact constructions. But the real problem with this one was that not only was it huge -- each element requiring horizontal scrolling -- but it was incorrect in handling its parentheses. It was form some code in Visual C++, which compiled without complaint, but when I tried it in BCB++, it choked, pointing out the mismatched parentheses.

     

    The great mystery was, what was the actual behavior in the executable from VS?


  11. On 3/1/2021 at 2:31 AM, Lars Fosdal said:

    I do too, and I don't... There were those that abused that usability to spam threads, simply because it was so easy to do so.

    But yeah, the old newsgroups were underrated and should have survived and evolved.

    No web-based forum has impressed me as much as XanaNews.

     

    That said, I do not miss B.P.D.O-T!


  12. 1 hour ago, Tom F said:

    Suppose your enum code is currently consuming a total of .0050 seconds every time a user clicks a certain button. Suppose you spend hours writing several versions of alternate code. Suppose your new code speeds up enum strings so that they're now TWICE AS FAST, so that processing enums only takes .0025 seconds.  Was it worth your time to work on this? 

    Short answer is: Ordinary human response in workplace (not gaming) tends to be around 150-200mS. So in dealing with button click responses, the processing overhead in this situation is irrelevant.

    • Like 2
×