Jump to content

Darian Miller

Members
  • Content Count

    616
  • Joined

  • Last visited

  • Days Won

    16

Posts posted by Darian Miller


  1. 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

     

     

    • Like 1

  2. 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. 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.)

     

    image.thumb.png.60a379fb9d6e18488cbde79b1dd11701.png


  4. On 5/13/2022 at 1:31 PM, Dave Novo said:

    We are trying to create a template machine that all developers can use. We dont want to have to have a script that all developers have to do manually, i.e. run GetIT, do X, do Y. The base machine should be setup that we just create virtual machines, join them to the domain, and developers login and are up and running.

    In fact, we are setting up the entire machine via Ansible, so its completely automated, documented and under version control. This ridiculous patch issue is our last issue. I dont see why when they release a patch then EMB cannot rebuild an installer with the patch incorporated.

     

    How are you handling per-user licensing?

    • Like 1

  5. 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.

     

     

     

    • Like 1

  6. 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.

     

     


  7. 2 hours ago, Alexander Sviridenkov said:

     

    Sorry, I forgot to mention that when using chaining, current node should be passed to XPath as parameter to prevent XPath walking up toi root.

    ...

    Second parameter is "stop after first found node", third is current root node.

     

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


  8. 17 hours ago, Alexander Sviridenkov said:

    Both XPath and JQuery can be called from any node so chaining is possible.

     

    <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.

     


  9. On 4/26/2022 at 8:27 PM, Alexander Sviridenkov said:

    In this case canvas doesn't matter.

    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.

     

     


  10. 2 hours ago, Alexander Sviridenkov said:

    Why ypu don't you parser from HTML Component Library? AFAIR you own a license.

    Parser supports XPath and JQuery so searching for particular nodes is quite simple.

     

    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') 

     

     


  11. 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.)

     

     

×