Posted by jpluimers on 2013/10/31
The question datetime – Delphi Now() function returns a wrong value – Stack Overflow is similar to my article Delphi – Michael Justin had strange floating point results when his 8087 FPU Control Word got hosed.
Good that stackoverflow user Anton Zhuchkov found out the cause himself: his answer indicates the Precision Control (and rounding) part of the FPU state got hosed by wrongly initializing the Direct3D device.
I edited his answer with some extra links to documentation.
Finally I’ve found the solution. I needed to specify the
D3DCREATE_FPU_PRESERVE flag when creating a D3D device by
Otherwise, without that flag, all floating point operations are performed with single precision. As the
TDateTime is a simple
Now() functions is consist of simple addition of date value to time value, it all get messed up by DirectX “smart” override.
Problem solved. It was a tricky one indeed. :)
via: datetime – Delphi Now() function returns a wrong value – Stack Overflow.
Posted in 8087, Algorithms, Delphi, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 5, Delphi 6, Delphi 7, Delphi XE, Delphi XE2, Delphi XE3, Development, Floating point handling, Software Development | 2 Comments »
Posted by jpluimers on 2013/10/30
I need to do some research to automate the backups and restore sequences of some SQL Servers.
Here are some links and notes to get started:
Posted in Database Development, Development, SQL Server, SQL Server 2000, SQL Server 2005, SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 7 | Leave a Comment »
Posted by jpluimers on 2013/10/29
Toon Krijthe posted an interesting question to SO.
Though 5 years old, I think it stilll is very valid one:
At my work, we have decided to stay with the ANSI characters for identifiers. Is there anybody out there using unicode identifiers and what are the experiences?
For all projects I work on (in various Languages like English, German, Dutch or other), I stick to ASCII characters (not even ANSI) for:
I also try to abstract the non-ASCII strings into places where I am sure that the encoding is preserved (for text files, I prefer UTF-8), or where these characters are properly escaped.
What is your take on this?
via: uniqueidentifier – What are the experiences with using unicode in identifiers – Stack Overflow.
Posted in .NET, Agile, AS/400 / iSeries / System i, C, C#, C++, COBOL, Continuous Integration, Delphi, Development, F#, Prism, Scripting, Software Development, VB.NET, Visual Studio and tools | 4 Comments »
Posted by jpluimers on 2013/10/28
Quilla › Short-links for email..
Should try this soon.
Posted in Power User | Leave a Comment »
Posted by jpluimers on 2013/10/25
On a HP XW6600, you can run ESXi 4 or run ESXi 5, but in yourder to run x64 guest VMs, you need to enable Intel VT in the BIOS first.
So, in the HP XW6600 BIOS, the choose the menu “Security”, then the submenu “OS Security” to get at these two options:
- Intel Virtualization Technology (VTx)—Enables or disables Intel Virtualization Technology to increase workstation performance.
- Intel IO Virtualization—Enables or disables Virtualization Technology to increase workstation I/O performance.
When you enable both VT options, then VMware ESX/ESXi/vSphere can run x64 guests with full VT support (otherwise you will get a friendly warning message when you try to setup or run such a guest VM). Read the rest of this entry »
Posted in BIOS, Boot, ESXi4, ESXi5, ESXi5.1, Power User, VMware, VMware ESXi | 3 Comments »