David Krause

Results 48 issues of David Krause

``` [david@eb ~]$ nimble install regex@#head ``` ``` Downloading https://github.com/nitely/nim-regex using git Tip: 1 messages have been suppressed, use --verbose to show them. Error: Could not read package info file...

upstream

signal(7), SIGHUP maybe also download the new "malware" blacklist for convenience

enhancement

systemd services can already start deamons with restricted privs but drop everything we do not need for normal operations https://stackoverflow.com/questions/3357737/dropping-root-privileges

enhancement

Drop Privileges https://stackoverflow.com/questions/1533017/dropping-privileges-in-c-on-windows https://docs.microsoft.com/de-de/windows/win32/api/securitybaseapi/nf-securitybaseapi-adjusttokenprivileges?redirectedfrom=MSDN AdjustTokenPrivileges

enhancement

the string escaping rules seems to be broken, test these and report errors here.

``` {% let cleaned = path.replace("public", "").replace("\\", "/") %} C:\Users\david\projects\nimja\src\nimja\parser.nim(343, 11) Error: Cannot parse eval body: let cleaned = path.replace("public", "").replace("\", "/") ```

bug

Const variables can be optimized if they're touching a string block, saving an add call

Optimization

`apply` should behave like a proc call with a block of code ``` {% filter upper %} This text becomes uppercase {% endfilter %} ```

enhancement