Andre von Houck

Results 30 issues of Andre von Houck

If you have a const string it will not short-circuit and will not compile: ### Example ```nim const s1 = "" if s1.len == 0 or s1[0] == '/': echo...

Here is an example of one of my async stack traces: ``` C:\p\bencher\src\server.nim(990) server C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncdispatch.nim(1961) waitFor C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncdispatch.nim(1653) poll C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncdispatch.nim(419) runOnce C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncdispatch.nim(234) processPendingCallbacks C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncmacro.nim(31) processRequestNimAsyncContinue C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asynchttpserver.nim(330) processRequestIter C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncmacro.nim(232) cb C:\Users\me\.choosenim\toolchains\nim-1.6.6\lib\pure\asyncmacro.nim(28) cbNimAsyncContinue...

Async

* Rename `patternSetMatrixb` to `setMatrix` * Comment setSourceSurface assert to make code work. * Trim some white space.

If you take a look at this line here: https://github.com/opentypejs/opentype.js/blob/14a22d19c5bcebc13340dd650a590fbd77b063e8/src/tables/glyf.js#L161 It does not match what is in freetype: https://github.com/aseprite/freetype2/blob/45524679c6798b3d8b75ab03d54a53bf46912871/src/truetype/ttgload.c#L674 The 01 and the 10 need to be flipped in order...

Not sure if that on purpose or not. Simply adding a `pointRect` fixes the issue.

If you get errors such as this: * `The C compiler identification is unknown` * `xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line...

What license is the book under? What license are the code snippets under?

For some reason DNS needed uint16 not int16... Also added a read() and write() methods that deal with just strings.

Pool size of 10 works, pool size of 5 does not. ```nim import asyncdispatch, asyncpg/asyncpg const POOL_SIZE = 5 var pool = newPool(POOL_SIZE) proc main() {.async.} = var start: float...