Related to the above:
[GitHub starts blocking developers in countries facing US trade
sanctions](https://www.zdnet.com/article/github-starts-blocking-developers-in-countries-facing-us-trade-sanctions/)
Of course people with unpopular political opinions have been facing informal
sanctions (ex. s
Just curious, is IPFS taking off in Mainland China?
I was thinking of thinking of possibly contemplating an IPFS mirror of the Nim
ecosystem (git source code, Web-site snapshots, videos, binaries, etc).
Hello guys.
Is there any way to find out if async socket _proc connect()_ has established a
connection or not - it just returns Future[void] either way - or a proper way
to handle refused connections?
My program crashes when I call
await socket.recvLine()
Run
for a so
When im creating the faces, i know their exact number, but to speedup the
rendering, I want to merge them by their common texture. I dont know the number
of the merged faces, so I have to make one [loop trough all the
faces](https://github.com/JDragan/CoreQ3BSP/blob/a9242fed0e603628b8c1e901a258a
From:
[https://nim-lang.org/docs/manual.html#statements-and-expressions-the-addr-operator](https://nim-lang.org/docs/manual.html#statements-and-expressions-the-addr-operator)
> The addr operator returns the address of an l-value.
From:
[https://nim-lang.org/docs/manual.html#procedures-var-retur
I use table in type like:
type
RenderableObject* = object
vertices_tbl*: Table[int, seq[float32]]
indices_tbl*: Table[int, seq[uint32]]
# init
var FACE : RenderableObject
FACE.vertices_tbl = initTable[int, seq[float32]]()
FACE.indices_tbl =
There might be a deadlock.
Can you compile with `--debugger:native` and attach gdb/lldb and do a backtrace
if your programs hangs?
Also you can maybe compile with `-d:useMalloc` and use helGrind to try to find
threading errors:
[http://valgrind.org/docs/manual/hg-manual.html](http://valgrind.o
Even in my current program (runs in a second, but builds a lot of code), this
hangs only 1 in 10 tries. It's a "Heisenbug", an intermittent multi-threading
error. And it's almost certainly in Nim because my code spawns only 1 task.
@araq, if I don't call `threadpool.setMaxPoolSize(1)`, this always works. I
think there is a bug in threadpool resizing, which is a must-have for me.
Should I file a bug? I cannot provide a simple repro from my current codebase.
What could cause sync() to hang?
for x in stage1:
spawn startStage1(x)
sync()
log("First sync() done.")
Run
proc startStage1(args: Stage1) =
log("StartProcess in Stage1: '", args.icmd, "'")
var p = startProcess(co
Having curly braces {} and having to type semicolons every time; and more isn't
less readable to me either, but it does add extra unnecessary stuff to type.
Python style indentation(which to me is an upgrade from BASIC syntax which i
have used) makes it faster to write what you are aiming to. Bu
Excellent - thanks - I'll take a look at it later this month.
Hot-reloading works but is still rough as it's not even 6 months old.
You can probably already try building a REPL on top, but just make sure to not
stay alone if you hit a bug, join the IRC/Gitter/Discord/Matrix.
Alternatively for REPL you have
* `nim secret`, unsupported secret command line
@mratsim On my to-do list for August is to take an initial look at Nim REPL
options - so is the hot-loading work that was done recently still needing work
to get a REPL going?
Judging from the c example you posted, your sizes are wrong. On my system utmpx
is defined something like
utmpx* = object
ut_type*:ut_type # Type of record
ut_pid*:cint # PID of login process
ut_line*:array[UT_LINESIZ
15 matches
Mail list logo