What’s the best way to distribute a binary application for Linux?

Having been through this a couple of times with commercial products, I think the very best answer is to use the native installer for each supported platform. Anything else produces an unpleasant experience for the end-user, and in practice you have to test on every platform you want to support anyway, so it’s not really … Read more

Is floating point precision mutable or invariant?

The precision is fixed, which is exactly 53 binary digits for double-precision (or 52 if we exclude the implicit leading 1). This comes out to about 15 decimal digits. The OP asked me to elaborate on why having exactly 53 binary digits means “about” 15 decimal digits. To understand this intuitively, let’s consider a less-precise … Read more

Sending binary data in javascript over HTTP

By default, jQuery serializes the data (passed in data property) – and it means 0xFD008001 number gets passed to the server as ‘4244668417’ string (10 bytes, not 4), that’s why the server treats it not as expected. It’s necessary to prevent such behaviour by setting $.ajax property processData to false: By default, data passed in … Read more