Jump to content

Darian Miller

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Darian Miller

  1. Darian Miller

    Flash when showing form with VCL Styles

    Many have struggled with VCL Styles since they were introduced. They may work in simple cases, but I have personally lost a number of hours of dev time due to this issue. I would try to set the .UseParentPaintBuffers property to True and re-test your style flicker. There is a little info on it at the bottom of this page: https://docwiki.embarcadero.com/RADStudio/Sydney/en/VCL_Styles_Support_for_High-DPI_Graphics
  2. Darian Miller

    Flash when showing form with VCL Styles

    There have been multiple conversations about flickering over the last few releases...there might be multiple issues still needing to be addressed but here are a few: Error in VCL TWinControl.WMEraseBkgnd causes flickering https://quality.embarcadero.com/browse/RSP-24415 VCL Themes - Flicker when resizing https://quality.embarcadero.com/browse/RSP-30639 They have fixed a number of issues, like this one: https://quality.embarcadero.com/browse/RSP-31158
  3. Darian Miller

    Your experience with custom styles - do they work well?

    The VCL styles are getting better after each release...however, it seems like they are nearly always "almost there" For earlier versions of Delphi, I imagine that many devs relied on the fixes found here: https://github.com/RRUZ/vcl-styles-utils However, with the newer versions containing many changes/improvements, it is currently debateable if that repo is applicable to RAD Studio 11 anymore.
  4. Delphi has the longest "Average years of professional experience" but a horrifc Median salary. In the U.S. you should be getting at least $100k as a Delphi developer with more than two years experience. $120k should be negotiated for an experienced Delphi developer (although I have recently seen people trying to get away with hiring Delphi devs at $60k in the U.S. which is why they cannot find anyone to fill the positions.)
  5. Out of 71,000 responses Delphi had 162 people say they wanted to try Delphi in this next year. Cobol had 263. What's your point? Does it really matter if we're statistically tied for last with Cobol?
  6. Ouch....Delphi in last place for "WANT" to learn language even after Cobol. 71,467 responses % of developers who are not developing with the language or technology but have expressed interest in developing with it
  7. Darian Miller

    problem upgrading to Delphi 11.1 Patch 1

    How are you handling per-user licensing?
  8. Darian Miller

    Array within an array??

    Sometimes all it takes is to walk away from the problem for a short while.
  9. Now includes Delphi / RAD Studio options. I encourage you to take the survey! https://www.ideasawakened.com/post/make-your-voice-heard-2022-stack-overflow-developer-survey-includes-delphi
  10. Darian Miller

    2022 Stack Overflow Developer Survey

    It seems to still be available, until end of day. I'd suggest trying a different browser - we need your vote. 🙂
  11. Darian Miller

    Recommended email tool?

    nSoftware has a quality set of tools that I used to send millions of emails... it can be expensive, but go for the Red Carpet Subscription to get the entire set.
  12. Darian Miller

    2022 Stack Overflow Developer Survey

    Just a quick reminder to take the Developer Survey as it closes on June 1 https://stackoverflow.blog/2022/05/11/stack-overflow-2022-developer-survey-is-open/
  13. Darian Miller

    Delphi 11.1 - a month later

    I agree with most of your observations and 11.1 is a lot better in may ways - but for me, ctrl-click is failing most of the time and some of the automatic code completion gets in the way more. I've increased the delay and rely on it less. It seems almost what 10.4 should have been.
  14. Darian Miller

    New Delphi job opportunity

    Often times, the currently employed Delphi developers have been on the job for a number of years and are making decent money. The managers that are attempting to hire replacement Delphi developers seem to offer way too low of starting salaries to get the experienced developers to change positions so it becomes a self-fulfilling prophecy that they can't hire Delphi developers. For example, I just saw a job ad in the U.S. for Delphi developers that is offering $60-80k to start. I doubt they will even get a single resume. If they do, it will be from overseas with little or no Delphi knowledge.
  15. Every now and then I run into the task of parsing HTML. I've used MSHTML and while it works, it always seems a bit kludgy to work with. Is there an alternative that you use and could recommend? (Usually simple tasks - like give me all the anchors listed in a UL within a particular DIV.)
  16. Darian Miller

    HTML Parser alternative to MSHTML?

    About as far as I got on that tool is forking it and translating all of the Chinese strings/comments into English using Google Translate https://github.com/radprogrammer/htmlparser
  17. Darian Miller

    HTML Parser alternative to MSHTML?

    Thanks, I'll probably have time to try it again this weekend.
  18. Darian Miller

    HTML Parser alternative to MSHTML?

    <body><div id="1"><h2 id="h1"> text1 <ul><a href="a1">First</a><a href="a2">Second</a></ul></div><div><h2 id="h2"> text2 <ul><a href="a3:>Third</a></ul></div></body> I could not get chaining to work. On a basic example, I'd want a list of anchors for h1 and another list of anchors for h2 within a much more complex source. I tried retrieving the header by id and searching for anchors under and I didn't get any results. After a short time, I switched to another suggested solution (htmlparser) but ended up moving on to something else.
  19. Darian Miller

    HTML Parser alternative to MSHTML?

    Note: the example code you provided fails as a canvas was not specified.
  20. Darian Miller

    HTML Parser alternative to MSHTML?

    Feature requests - allow parser usage without specifying a canvas. Also allow XPath from a particular node or chain multiple XPath statements together...currently having trouble filtering an already filtered input. In some sample HTML docs, there are Header elements that separate nearly identical lists of values with a handful of items before/after the lists. The headers have IDs so I'd like to select the list after the header. Perhaps it's because an XPath noob but it seems easiest to simply iterate all elements and find the header I'm interested in and grab data until the next header shows up in a state machine.
  21. Darian Miller

    HTML Parser alternative to MSHTML?

    Wow, thanks for the code sample too. I have some more code you can write for me. 🙂 Does canvas choice matter in this case when just parsing? Seems like a canvas is required. (I added htcanvasgdi to uses clause.)
  22. Darian Miller

    HTML Parser alternative to MSHTML?

    Ah yes... I have only used that as a cool editor, but I'll check it out. Not sure why I didn't find "DelphiHTMLComponents.com", especially since I've been a paying customer for quite a while! LOL. Somedays are diamonds, some days are stones... My wife says I have "CRS" syndrome. (Can't Remember 'Stuff')
  23. Darian Miller

    Delphi 11.1 Crash on Search Menu Access

    It happened with a project that I have worked on nearly daily since the release of 11.1 (so not an one time initialization type event.)
  24. Darian Miller

    Delphi Icons with Version Info

    FWIW, this is a batch file I use for forcibly refreshing the icon cache without rebooting taskkill /f /im explorer.exe cd /d %userprofile%\AppData\Local del IconCache.db /a start explorer.exe
  25. Darian Miller

    Delphi 11.1 Crash on Search Menu Access

    It happened to me for the first time this weekend. I could not replicate the issue. I believe I did have some text highlighted in the editor as I was copying to paste into the search form.