I probably am getting corrupted data at the end of stream, and just not
noticing because ffmpeg does a good enough job at handling bad inputs. :( I'll
take a closer look (and not close `bodyStream` unnecessarily).
That's good information to know about issue 8994. I'll take a look at issue
7126
I'm streaming audio (Internet radio) from an HTTP(S) endpoint, and wanting to
capture 30 seconds of it (it's streaming in real time, and will continue
sending data for as long as the connection is open).
import httpclient
import asyncdispatch
from portaudio as p import nil
Thanks guys! I'll take a look at those issues this weekend and let you know if
I have questions.
I know that @mratsim was able to get it working in
[ArrayMancer](https://github.com/mratsim/Arraymancer/) (i.e., see
[openmp.nim](https://github.com/mratsim/Arraymancer/blob/dd443279f4dd759d450728c2d84dc700bd9b0c7e/src/arraymancer/backend/openmp.nim))
for some examples, but I'm not sure how
Are there any packages / issues that would be good candidates for
[Hacktoberfest](https://hacktoberfest.digitalocean.com/)? That is, issues that
are pretty self-contained or good introductions to the package?
I have my eye on [NimData](https://github.com/bluenote10/NimData/),
Oh nice! I don't think I understood that you were able to expand the rewriting
rule for (x += a * y) to avoid allocations for that case. I'll definitely check
out more writing more rewriting rules (i.e., x += y/a should get rewritten as
well).
I've looked at neo a little bit and it looks really promising. I'm glad for all
the work you've done with linalg- I think Nim can be a really good language for
numerical computing and data science, and having a good linear algebra library
will go a long way towards making that happen.
I'm
One thing that I would argue for with any new linear algebra library is some
sort of 'out' parameter, like
[numpy](https://docs.scipy.org/doc/numpy/reference/ufuncs.html#optional-keyword-arguments)
has for its operations that produce a vector. In an inner loop of a project
using linalg, I had
I'm still really excited about the book! The chapters I've read through the EAP
have been very good (and helped with parallelizing a numerical program that
I've been working on).
I actually like him, but I think a little friendlier-looking would not be
amiss. That badger looks like he wants to devour me if I don't get my bounds
checking right.
I think that issue #1 is a bug if
[https://github.com/nim-lang/Nim/blob/devel/tests/method/tgeneric_methods.nim](https://github.com/nim-lang/Nim/blob/devel/tests/method/tgeneric_methods.nim)
is intended to continue to work.
I think you're right - this is not a bug with Nim, but something to do with the
buffer size for STDIN. You could try wrapping setvbuf and setting options on
STDIN buffer size that way? maybe?
I get the same behavior with the Python script
from sys import stdin, stdout
I think it's running into a problem when the line length is greater than
BufSize - in your example above, the equation is a little > 4000 chars long,
and
[readAllBuffer](https://github.com/nim-lang/Nim/blob/master/lib/system/sysio.nim#L171)
is ultimately what's called.
I don't see obvious
I'm really excited to see this! I'm using Nim for data science and I would love
more wrappers and libraries :)
There's also:
[https://github.com/stavenko/nim-glm](https://github.com/stavenko/nim-glm)
[https://github.com/unicredit/linear-algebra](https://github.com/unicredit/linear-algebra)
if
@pwernersbach - That's a really cool project, and I'm glad that you shared it!
I love that you use the 'not nil' annotations for your argument types and type
definitions, and I've enjoyed reading through it, even though I'm not currently
using InfluxDB.
I hope you don't mind a few questions,
> If you would have a good math library with vectors like those from e.g.
> Matlab or Eigen (c++) then you could use vector arithmetic and wouldn't even
> need to write a single loop.
I would recommend the [linalg](https://github.com/unicredit/linear-algebra)
library for that. It supports
I created a branch with my changes and did a PR:
[https://github.com/akamaus/vindinium-nim-starter-kit/pull/1](https://github.com/akamaus/vindinium-nim-starter-kit/pull/1)
Feel free to ignore or close that (accidentally made it against your master
branch rather than the 'buggy' branch). I just
Got working as concepts :) : Just had to change the concept definition to use a
variable rather than typedef for Map
type Bot* = concept b
var m: Map
decide(b, m) is Dir
b.name is string
b.key is string
type StatelessBot* = object
name*:
18 matches
Mail list logo