Ico Doornekamp
Ico Doornekamp
not GC-safe
Some of my Nim projects use asyncHttpServer, and I'm always nagged by the requirement for GC safe HTTP handlers, even when not using threads but only async. Curious to see...
While editing my code it is often in an "error" state, for example halfway typing an identifier. Would it be possible to defer nimsuggest error checking for a certain idle...
I got some requests for releasing a new version. @l8gravely any optionions, or good to go as it is?
Some ramblings, any feedback appreciated. A this time Duc works pretty straightforward: when indexing it traverses the file system, keeps recursive count of directory sizes on the fly and writes...
Reproduce with ``` import options, asyncdispatch import httpbeast proc onRequest(req: Request): Future[void] = if req.httpMethod == some(HttpPost): case req.path.get() of "/": req.send("Hello World") else: req.send(Http404) run(onRequest) ``` Then send a...
``` .nimble/pkgs/asynctools-0.1.1/asynctools/asyncsync.nim(159, 15) Error: type mismatch: got but expected one of: proc callSoon(cbproc: proc () {.gcsafe.}) first type mismatch at position: 1 required type for cbproc: proc (){.closure, gcsafe.} but...
Trying to attach a .doc document throws the following error: ``` INFO:envelope:editable headers: ['From', 'To', 'Subject'] INFO:globals:calling external command: ['vim', '+5', '/tmp/alot.ydvdzjr9.eml'] INFO:globals:open command shell INFO:envelope:attaching: ['/tmp/attachment.doc'] ERROR:ui:Traceback (most recent...
This snippet: ```janet (ev/spawn-thread (peg/match '{ :main :s* } "")) ``` results in the following error: ``` error: grammar error in :s*, unknown rule in peg/match [src/core/peg.c] on line 1694...
Is there any official consensus and/or documentation on the implementation and use of abstract/OO types for streams in Janet? - What methods is a stream required to implement to be...