Oscar N.
Oscar N.
Attempting to edit an empty post gives a 404 message. 
When editing a post, the text area starts out with only five lines. It would be nice if it expanded to make room for all the text automatically (up to...
Background: https://github.com/json5/json5-spec/issues/12 `JSON5.parse` uses the ES6 behavior and accepts invalid Unicode sequences like `"\uDEAD"`. However, this is not the case for the CLI. The CLI instead outputs `U+FFFD` (the replacement...
In a project where I read a ~600kB file with `staticRead`, nimsuggest slowly increases in memory usage. It reaches 2GB after a few hours. Workaround: put the `staticRead` inside a...
Unicode code points in the range U+D800 to U+DFFF are used for encoding UTF-16 surrogate pairs, and can not occur on their own in a valid Unicode sequence. However, the...
### Updated example (from the comment below) ```nim template returnType(value: static[int]): typedesc = when value == 1: int else: float proc fun*(value: static[int]): returnType(value) = discard echo fun(1) ``` ----...