Jump to content

Darian Miller

Members
  • Content Count

    559
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by Darian Miller

  1. Darian Miller

    The Delphi 11.2 release thread

    Curious - I didn't have to re-install GetIt packages on the 11.2 upgrade. Perhaps because I installed them to a custom directory? I ran 11.2 installed, let it uninstall previous version and keep reg settings, and it installed 11.2 while my GetIt Packages remained installed/operational.
  2. Darian Miller

    Anyone using an open-source ORM?

    If I just getting started with the ORM, I would use the one that has been around a long time and heavily tested. V2 still has this in the readme: "WARNING: This set of units is still a work-in-progress, and not yet ready for production."
  3. Darian Miller

    Anyone using an open-source ORM?

    Try mORMot: https://github.com/synopse/mORMot
  4. 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
  5. 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
  6. 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.
  7. 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.)
  8. 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?
  9. 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
  10. Darian Miller

    problem upgrading to Delphi 11.1 Patch 1

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

    Array within an array??

    Sometimes all it takes is to walk away from the problem for a short while.
  12. 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
  13. 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. 🙂
  14. 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.
  15. 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/
  16. 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.
  17. 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.
  18. 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.)
  19. 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
  20. Darian Miller

    HTML Parser alternative to MSHTML?

    Thanks, I'll probably have time to try it again this weekend.
  21. 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.
  22. Darian Miller

    HTML Parser alternative to MSHTML?

    Note: the example code you provided fails as a canvas was not specified.
  23. 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.
  24. 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.)
  25. 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')
×