Jump to content

Vincent Parrett

Members
  • Content Count

    652
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by Vincent Parrett

  1. There is no generic "works for everyone" main dpr setup for dunitx - the code depends on what logging and settings you want. You typically do not want the console logger or the xml logggers when using TestInsight - and when running on a CI server you probably don't want the console logger. I guess we could move some of the generated code to another generated unit so the IDE doesn't mess with the ifdefs - I don't have time to work on it at the moment but happy to accept a PR that improves this situation.
  2. Vincent Parrett

    How to attach a DigiCert Token certificate to exeutable

    No, not specifically - you would just use signtool I guess. https://docs.aws.amazon.com/cloudhsm/latest/userguide/signtool.html However that seems to suggest this only works if you are running on an EC2 instance. I guess to use cloud hsm with signtool over the internet you would have to create vpn access (not sure if that is possible). FWIW, we are working on a product to simplify code signing with hsm's tokens (well ones that provide support pkcs#11). AWS does have pkcs#11 client library but we have not yet tested with it yet. I expect to make an announcement about the product in a few weeks (currently fleshing out the configuration interface).
  3. Vincent Parrett

    Alternative to VMWare??

    On windows I just use hyper-v - on my macbook pro I use parallels - on my servers proxmox - no need for vmware at all.
  4. Vincent Parrett

    D12 Indy install - IndyIPServer error

    Well that explains why don't miss it then, I don't do mobile dev.
  5. Vincent Parrett

    D12 Indy install - IndyIPServer error

    Updating Indy will always cause problems with LivePreview - because Embarcadero created a dependency with Indy on that package. I never use the bundled version of Indy so I see this every time I upgrade - I just click No and move on (not sure what LivePreview does 🤷‍♂️)
  6. Vincent Parrett

    What new features would you like to see in Delphi 13?

    that sent me down a rabbit hole for the last few hours 😉 The most interesting thing though was the link to talk on the Carbon compiler Super interesting talk (although annoying that he takes sooo many questions during the talk when we can't actually hear the questions and he doesn't repeat them - wish people would save the questions till the end). I've written bunch of lexers/parsers/ast's over the years - this talk makes me want to go and rewrite them all (of course I won't because I just don't have the time).
  7. Vincent Parrett

    Do I really need a certificate?

    Yeah the filezilla download page is a bit disengeneous with that download button, it does however say (much smaller than the button) "This installer may include bundled offers. Check below for more options." which leads to this page https://filezilla-project.org/download.php?show_all=1 where you can download an installer that doesn't trigger windows defender or malwarebytes
  8. Vincent Parrett

    Do I really need a certificate?

    Code signing doesn't guarantee that the file is virus free - it just proves that the file was signed with your (hopefully secured) certificate - ie the file came from who it said it comes from. As @Nigel Thomas said, your screenshot is of the timestamp certificate not the actual code signing certificate. Just for giggles I downloaded that file (in a dmz'd vm) and even windows defender doesn't like it. It's probably not a virus, just full of adware or potentually unwanted products. That said, I wouldn't actually install it.
  9. Vincent Parrett

    Hyper-V server as host for 3 VMS

    Yes, and we did do that - but shared resources are aquired at the start of the stage (which means the token is in use for longer than it needs to be), so we had to split up our builds into more stages and that resulted in longer build times. I spent ages on various iterations trying different things. I found the virtualhere client would occasionally fail to disconnect the device and then builds would hang till I restarted the vh server. I guess it could be a latentcy issue, usb is very sensitive to it and our token and build servers are in different locations (300+ km). I will have a good solution to this available in a few weeks, working on a new product that makes sharing the tokens trivial (remote code signing server) and being able to code sign from any build agent.
  10. Vincent Parrett

    Hyper-V server as host for 3 VMS

    I did experiment with that, but we ended up with build failures when multiple builds were running concurrently on different build agents.
  11. Vincent Parrett

    Hyper-V server as host for 3 VMS

    Virtual here stays connected until you tell to disconnect or the link goes down. Virtualhere client also has an "auto use this device" option so it will always be available.
  12. Vincent Parrett

    Hyper-V server as host for 3 VMS

    Correct - you need to disconnect using the virtualhere client and then connect on the other machine - it's a manual process.
  13. Vincent Parrett

    Hyper-V server as host for 3 VMS

    because a usb device can only be used by one machine at a time. Virtualhere presents the device on the remote machine as though it were local.
  14. Vincent Parrett

    Hyper-V server as host for 3 VMS

    I mentioned that it was discontinued since the OP mentioned that it was Free. We were long time hyper-v users here - but the cost of windows server licenses just to get a hypervisor were too expensive for us (from memory, it was around $6K per server, was a while ago so might be wrong) - we first switched to xcp-ng (a disaster) and more recently to proxmox (couldn't be happier). I put the money I didn't spend on windows licenses towards another server.
  15. Vincent Parrett

    What new features would you like to see in Delphi 13?

    Embarcadero would need to move to a multi pass compiler to achieve this - something they have always resisted. I can understand this 10-15 yrs ago, but on modern hardware the compiler performance loss from multiple passes would not be that noticable. Edit : FWIW - in a multipass compiler, forward declarations are not usually needed (Java, C# for example don't use forward declarations).
  16. Vincent Parrett

    Hyper-V server as host for 3 VMS

    Be aware that code signing dongles do not allow access via remote desktop. We use VirtualHere over a vpn - our dongle is on a machine 300Km from the data center where are build machines are hosted (on proxmox) - it works really well - the only issue we have is that we can only do the code signing from one virtual machine (we have a bunch of Continua CI build agent vm's).
  17. Vincent Parrett

    Hyper-V server as host for 3 VMS

    You know Hyper-V server has been discontinued right? If you are going to use this machine for directly (rather than only remote desktop into the vm's) then just install windows 11 and use the hyper-v feature. If you are going to remote into the vms from another machine for your daily work then use something like proxmox ve (also free).
  18. Vincent Parrett

    A native VCL, and not Windows-based, TComboBox control.

    Perhaps a combo box isn't the best option here - a numeric input might be a better option - use 0 for none or create your own custom control.
  19. Vincent Parrett

    What new features would you like to see in Delphi 13?

    But we have GetIt 🤦‍♂️ Package management it something I have been harping on about for years (as have others). https://www.finalbuilder.com/resources/blogs/delphi-package-manager-rfc I am working on a solution this is where it's at right now - https://delphi.dev Still a work in progress - contributions welcomed.
  20. Vincent Parrett

    What new features would you like to see in Delphi 13?

    This sort of topic comes up just often - and we always see a lot of great ideas - sadly the reality is we are unlikely to see many of those ideas actually implemented. Considering how much we pay for subscriptions etc - they should be making plenty of money - but that's not how it works with private equity owners - profit doesn't get re-invested. I'll trot these (now old) posts out just for fun https://www.finalbuilder.com/resources/blogs/delphi-language-enhancements (2016) https://www.finalbuilder.com/resources/blogs/delphi-103-rio-language-changes (2018) I had planned to do follow up posts with more ideas (people have sent me plenty over the years) but given the how things have gone since 10.3 language wise, what's the point? So my hopes for 13 (or what ever it's called) is a stable IDE, compiler, RTL etc - just like we all wish for every release - what's that definition of insanity - doing the same thing over and over expecting a different result 🙄
  21. Vincent Parrett

    Delphi 12.0 TParallel.For performance. Threading.pas issues

    I was told this by an embarcadero (actuallly, it was probably borland at the time) employee when I queried what happened to the comments in some code I donated. In the DUnitX source they distribute, TODO comments are all stripped but not regular comments.
  22. Vincent Parrett

    Delphi 12.0 TParallel.For performance. Threading.pas issues

    Haven't we all 🙋‍♂️ 😉 - I've been making a point lately to review code and just write comments when anything is unclear (once I figure out what I was thinking).
  23. Vincent Parrett

    Delphi 12.0 TParallel.For performance. Threading.pas issues

    I believe Embarcadero strip comments as part of their build process.
  24. Vincent Parrett

    Unknown Delphi Version

    There is not really any reliable way to determine which version a delphi project belongs to - you can get close by looking at the ProjectVersion element in a dproj file 13 : XE2 14.0 - 14.3 : XE3 14.4 : XE3 Update 3, or XE4 15.0 - 15.3 : XE5 15.4+ : XE6 16 : XE7 17 : XE8 18.0 : 18.1 - 10.0 18.2 : 10.1 18.3 - 18.4 : 10.2 18.5-18.8 : 10.3 19.0 - 19.2 : 10.4 19.3+ : 11.0 20.0+ : 12.0 HTH
  25. I went through the same exercise last year with our internal systems (CI etc) and it absolutely made sense to purchase new servers and put them in a data center (we closed our office when covid hit and went fully remote). Server tech has evolved a lot since I last purchased some (7yrs ago) - you can get some incredible bang for buck - all nvme lots of cores & lots of ram for AU$20K each.
×