Jump to content

David Heffernan

Members
  • Content Count

    3493
  • Joined

  • Last visited

  • Days Won

    172

Everything posted by David Heffernan

  1. David Heffernan

    Project in Seismic Field

    What is the pay and working conditions? How long is the contract?
  2. David Heffernan

    looking for a "special" checkbox component

    Radio group: - Yes it's OK - No it's not - Not sure
  3. David Heffernan

    VLC Player 64bit

    I know what the problem is. My point is that a negative value in a signed integer that is actually holding a pointer, does not imply that a 64 bit value was stored in a 32 bit type.
  4. David Heffernan

    VLC Player 64bit

    Negative integer wouldn't be a problem per se. A DLL loaded between 0x80000000 and 0xffffffff would be negative when interpreted as a signed integer.
  5. David Heffernan

    Win32, Win64, WinRT and now... WinARM ?????

    I'm not a big screen toucher either
  6. David Heffernan

    Win32, Win64, WinRT and now... WinARM ?????

    32 bit version of MATLAB hasn't existed for at least 5 years
  7. David Heffernan

    Win32, Win64, WinRT and now... WinARM ?????

    I compared an XPS13 with Macbook Air 13 and the Macbook, 16GB RAM, 512Tb and the prices are £929 vs £1,649. Looking at 32/1Tb the comparison is £1,400 vs £2,000 and the Macbook only has 24Gb because there is no 32Gb option, at least where I am. Perhaps I'm missing something. Is this comparison flawed? Also worth noting that, unless I'm mistake, none of the Macbooks have touch screen displays. You can get a swanky touch screen on the XPS13 and still have a few hundred pounds of change compared to the price for the non touch Mac. I must be missing something.
  8. David Heffernan

    Win32, Win64, WinRT and now... WinARM ?????

    I asked a question because I am curious. Do you know the answer?
  9. David Heffernan

    Win32, Win64, WinRT and now... WinARM ?????

    What do Macs come with that equates to Office?
  10. David Heffernan

    Win32, Win64, WinRT and now... WinARM ?????

    Price of Apple more like
  11. David Heffernan

    Win32, Win64, WinRT and now... WinARM ?????

    ARM has to win in the end at least for portable devices.
  12. David Heffernan

    Delphi 11.3 lite. dosent work code completion

    This is cracked software, right?
  13. David Heffernan

    SBOM tool for Delphi

    There are commercial tools to support this. I sure websearch will find them. As soon as you link to anything that isn't delphi then the desire for a tool for Delphi is a bit pointless.
  14. David Heffernan

    What is the benefit of sorting the Uses clause?

    Although the real problem is the language design that makes this order affect the meaning of the program.
  15. OK. Well I'm glad this thread has been useful!!!
  16. I've no idea what your requirement is and what the problem is. You don't seem to understabd how floats work. I don't think this is going to be productive.
  17. K and n are integers. All representable floats are of the form k*2^n. So 1/3, 1/10 aren't of that for, and aren't representable. I doubt that you need to store these numbers exactly. But we don't know your requirements.
  18. You can see that it's impossible to store irrational numbers in floats. Indeed even rationals can't be stored exactly in floats, unless they can be expressed as above, k*2^n.
  19. Yes but it's hard to see the relevance. Representable numbers have the form k*2^n. Perhaps you don't actually need exact representability. We don't know what your requirements are.
  20. David Heffernan

    C# struct to Delphi conversion help

    Of course the other problem with packing a record that should be aligned is that gives it alignment of 1 so they can be misaligned. These days that doesn't usually matter for x86/x64 but it can be a issue for some SSE2 instructions and for arm processors.
  21. Even rational numbers aren't exactly representable. Examples include 1/3 and 1/10.
  22. You mean the request to store pi exactly in a float ?
  23. David Heffernan

    C# struct to Delphi conversion help

    Hard to comment on this without seeing you actual code. This is all about the detail and we have none of it. For all I know you are using packed records and manually inserting padding. In which case, if that's what you've decided to do then you know how to fix it.
  24. David Heffernan

    C# struct to Delphi conversion help

    It would have been useful to say something like this, like you may need manual alignment if you need to use ancient compilers like Delphi 6. But even then, in most cases, aligned records work as expected. It's only in some very rare cases that this is not the case. Perhaps you have an example for us. Or has that knowledge been lost in the passage of time. For people that don't need to support 20 year old compilers, feel free to use the compiler to do the alignment.
×