2015
Jan
30
awarded  Commentator
Jan
30
comment Forward slashes in OpenFDA queries invariably lead to errors
I replaced the slash (%2F) with a space (+ or %20) in the query string, and it gave me a response, maybe the response you expected. Anyway, the slash is probably interpreted as a directory delimiter by nginx.
Jan
29
comment Most reusable way to publish a list as JSON
Admittedly, "quite common" is a bit of an overshoot, I should have written "nothing strange".
Jan
28
comment Most reusable way to publish a list as JSON
Or better: 456789.99 becomes 456790.00
Jan
28
comment Most reusable way to publish a list as JSON
If you use single precision floats (32 bits IEEE 754 floating point numbers, quite common), 1234567.89 gets converted back to string as 1234567.88 (I just checked).
Jan
28
comment Most reusable way to publish a list as JSON
JSON5 would have caused no parse error, since it is compatible with JavaScript. Unfortunately, it is not very popular yet (I hope that this will change soon)
Jan
28
comment Most reusable way to publish a list as JSON
Prices as numbers is ok if you know how many decimal digits you need when converting the numbers back to strings, and if there are not too many digits, including decimal digits (max: ca. 7 for single precision, ca. 16 for double precision). If any of these conditions is not met, strings are a better choice.
2014
Dec
17
awarded  Autobiographer
May
10
awarded  Editor
May
10
revised Data sets with both social and attribute data
fixed spelling, divided into paragraphs and added links
May
10
suggested approved edit on Data sets with both social and attribute data
Apr
15
comment Looking for an UTF-8 table
Numeric HTML entities are easily built as &#x<HEX>;, where <HEX> is the Unicode codepoint in hex (the first column of the UnicodeData.txt file, with or without leading zeros)
Apr
14
comment Looking for an UTF-8 table
If I were you, I would base my work on the official Unicode documents at www.unicode.org, in particular unicode.org/reports and even more in particular the UnicodeData.txt file
Apr
11
comment Looking for an UTF-8 table
Be aware that some Unicode "characters" are "combining marks", which bind with the preceding character to form a grapheme (e.g., an accent that combines with a latin letter)
Apr
11
comment Looking for an UTF-8 table
The best website for Unicode characters is fileformat.info
Feb
8
awarded  Supporter