-
Content Count
655 -
Joined
-
Last visited
-
Days Won
12
Posts posted by Bill Meyer
-
-
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? 😉
-
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."
-
1 minute ago, Mike Torrettinni said:???
Microsoft: Word, Excel, PowerPoint, etc.
- 1
-
When your products mostly have single word generic names, I suppose you can make use of installers which present no meaningful information.
-
9 hours ago, Lars Fosdal said:The link appears to work for me.
And for me, for data entry. No email arrives, however.
UPDATE: Second attempt succeeded.
-
Since variants 0 and 3 are reserved, then there really are only two variants. But there are still variabilities in Version.
I'd wait to see the spec from IBM, and start be determining whether you can use the existing GUID support with some minor string manipulation afterward. Too many unknowns if you haven't seen their spec.
-
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 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.
-
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.
- 4
-
1 minute ago, Dalija Prasnikar said:I always though Delphi is the root ancestor to C# The only commonality C# has with C are braces.
And yet, it is considered a member of the C family. And probably for no better reason than the use of those braces. And the braces are probably my least favorite aspect of that language.
-
1 hour ago, Dalija Prasnikar said:Delphi is much more low level than C#
Moreover, C# came along in 2000, and as a .NET language, arguably had no prior existence in any form. Delphi built on the tradition of Turbo Pascal, which appeared in 1983. And C, the root ancestor to C#, had no string type at all.
-
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?
-
6 hours ago, Lars Fosdal said:It exists to balance out my inherent sense of imminent doom.
I see. But that sense of doom is just a constant.
- 1
-
On 8/31/2021 at 2:43 AM, Lars Fosdal said:Circular references create a lot of fun.
You have a twisted sense of humor, sir. 😉
-
13 minutes ago, RDP1974 said:hello,I need a component from the 2004 named gnEdit2kplease can somebody help me?Not by that name. What makes it special?
-
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
- 1
-
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.
-
OK, this is back again. Went through this sequence of actions:
Debugging code, find error
Exit app
Modify code
Rebuild and run
Throws error:
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.
-
2 hours ago, Lars Fosdal said:The default Norwegian Windows language setting is using period for both, which confuses the hell out of the Delphi string to datetime decoders.
Not surprising it would. Can't help wondering what the reasoning may have been for such a default.
-
Some searching turned up this:
http://www.devsuperpage.com/Articles/views/Delphi/Art_1-1078.asp
I've not needed to do this, and the code there is more involved, but I would try that as a starting point, and then perhaps you can find your way to a simpler implementation. -
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?
-
2 hours ago, dummzeuch said:(I actually have some code that does this because a coworker complained loudly about the gotos I was originally using.)
Refer them to Donald Knuth, who carefully and clearly makes the case for using goto in some cases.
-
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!
-
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.
- 2
PC Specs for Delphi??
in General Help
Posted
May not be possible in a corporate environment.