-
Content Count
3586 -
Joined
-
Last visited
-
Days Won
176
Everything posted by David Heffernan
-
Football Championship Group Stage Order
David Heffernan replied to PawelPepe's topic in Algorithms, Data Structures and Class Design
difficult to reconcile these two snippets -
Did you submit a PR for these changes?
-
Did you submit a PR for these changes?
-
2022 Stack Overflow Developer Survey
David Heffernan replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
These sort of shitty posts are precisely why SO ask these questions. -
Football Championship Group Stage Order
David Heffernan replied to PawelPepe's topic in Algorithms, Data Structures and Class Design
I guess you should just hire a programmer to do the work for you, if you don't know where to start. You already suggested this. Do a kickstarter or similar. -
2022 Stack Overflow Developer Survey
David Heffernan replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
I presume that they are concerned that their community isn't discriminating against any particular groups of people. -
Football Championship Group Stage Order
David Heffernan replied to PawelPepe's topic in Algorithms, Data Structures and Class Design
It's just a lexicographic order. If the primary comparison is equal, move on to the secondary etc until you separate the teams. -
Delphi can access all Windows APIs and the best reference is MSDN.
-
Er, yes, that's what I meant to type
-
Isn't it ExtractFileName(ExtractFileDir(ExeName))
-
Does this happen with a brand new VCL app with a single form that does nothing? If not then the answer is specific to your code.
-
This should not be necessary. It also seems like there would be scenarios which this would stop the user doing things they want to do.
-
Why would you try to put these two together. You use TortoiseGit inside explorer surely.
- 10 replies
-
Does ProgressBar Inside StatusBar Still Working?
David Heffernan replied to stacker_liew's topic in VCL
I also owner draw into a status bar panel for this need. It's pretty straightforward. -
Survey of Delphi Versions in use??
David Heffernan replied to Ian Branch's topic in Community Management
No they don't. I'm talking about actual statisticians as in a branch of mathematics. -
New Delphi job opportunity
David Heffernan replied to Berocoder's topic in Job Opportunities / Coder for Hire
It just seems so weird to me that there is such a thing as a Delphi developer. Are companies really not prepared to teach people? How can it be harder to learn a new language than to learn a new code base? Nothing here computes to me. -
Exception class EConvertError issue
David Heffernan replied to Minh Hoang's topic in OmniThreadLibrary
Bug in your code. Show a minimal reproduction. -
As an aside what annoys me about image lists in Delphi is that they lump all images in one big dfm blob. I like to keep my icons in icon files and link them as a resource. Then load them up at runtime. It means that when you need to update one you just change the ico file in one place. But then you don't get to see icons at design time. I'd like to have my icons in resources and see them at design time. Such a system must be possible.
-
Multithreading in Python is inevitably blocked by the GIL. Nothing you can do about it. No magic solution. See countless discussions of this topic on the broader internet. In other words the issue is not related to Delphi or p4d but is a fundamental design choice in Python.
-
Survey of Delphi Versions in use??
David Heffernan replied to Ian Branch's topic in Community Management
This question is the one that drives statisticians around the world completely mad. You need to decide on your goals before deciding what data to collect. -
Record / Class
David Heffernan replied to PatV's topic in Algorithms, Data Structures and Class Design
Why return a pointer to self? You just risk having that pointer outlive the record instance. Make this a constructor or a static class function that returns a new instance. BTW I remembered wrongly before. No need for a helper to implement a static class function that returns rTxt. -
Record / Class
David Heffernan replied to PatV's topic in Algorithms, Data Structures and Class Design
The final function can't be right. It should be a static class function, but that's not enough. What would it return? A pointer to what instance? You'd need to allocate an instance somewhere. I'd use a helper record to get around the inability to forward declare value types. -
Survey of Delphi Versions in use??
David Heffernan replied to Ian Branch's topic in Community Management
When polling you need a methodology. If you poll the entire population, it's easy. But if you poll just a sample, then you need to choose the sample carefully so that it is representative, and you need to follow up non respondents. There is a lot of science in polling to get meaningful data. A self selecting poll on a site like this will not tell you very much if anything about the overall population. But perhaps you just want to know what active members of this site use. And even if that's what you want, it will be hard to impossible to get accurate data -
How to get json array from string?
David Heffernan replied to amit's topic in Network, Cloud and Web
Quite odd to copy some code from an SO question that is in the wrong language. This code is Java. -
Getting PID of winword.exe based on filename
David Heffernan replied to misc_bb's topic in Windows API
Which means the original idea was doomed.