maybe i'm just asking the same thing again, not sure :)
jtrakk @jtrakk Apr 05 20:26
looks like some of them have been implemented async already https://github.com/jreese/aioitertools
Nathaniel J. Smith @njsmith Apr 05 21:12
functools.reduce isn't lazy. it's incremental, but it forces the whole iterator to be run immediately, just one item at a time.
Matthias Urlichs @smurfix Apr 06 04:28
jtrakk @jtrakk 15:11 how do i write async_map? async def async_map(function, iterable): async with trio.open_nursery() as nursery: async for item in iterable: nursery.start_soon(function, item) how do i get the values out?
oremanj @oremanj 15:26 this is a seemingly simple question but there are a lot of subtleties:
| ndbecker @nbecker 05:38 | |
| question. In my histogramndx class with code here | |
| https://gist.github.com/nbecker/26704ae6a29a17de1bb3988cb2be4bfd | |
| In the 'resize' method, a newhistogram is constructed, and finally | |
| *this = newhistogram | |
| is used. I have default move constructor/assignment. Should this perform move on all the members? In particular, the 'buckets' member could be a large array. I'd prefer to move from the newhistogram buckets to the existing member rather than copy, but I can't tell if this is working. | |
| Johan Mabille @JohanMabille 05:40 | |
| newhistogram is an lvalue here, so you have to make an explicit call to move | |
| i.e . *this = std::move(newhistogram) |
Because you're linking against system blas Remove your build folder and pass -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX To cmake
Alexandre Sanchez @AlexandreSanchez 03:00 ok ! I see
Wolf Vollprecht @wolfv 03:00 And check that it finds blas in your conda envieonmnet
zeromq has some performance measurement tools that it builds (also in the current conda-forge recipe) but does not install (it's not an install target in the zmq configuration) but i'd like to somehow install them what would be the best way to do this? manually install them via the zeromq feedstock recipe? make a different feedstock especially for these tools (which would duplicate building efforts)? if via the zeromq feedstock recipe: is it possible to build two packages from one recipe? e.g. an additional zeromq-perf package the perf tools are just 8 binaries in the perf directory
Christian Roth @croth1 05:02 if via the zeromq feedstock recipe: is it possible to build two packages from one recipe? e.g. an additional zeromq-perf package @egpbos this is possible, see: https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#outputs-section
dyld: Library not loaded: @rpath/libgsl.23.dylib
Referenced from: /Users/duncan/git/lalsuite/lalinference/./conftest
Reason: image not found
export LDFLAGS="$LDFLAGS,-rpath $CONDA_PREFIX/lib” -- works
instead do:
conda activate myenv
| Hi @atilag , | |
| Thanks for the kind words 😄 | |
| > Is there a way to create a wheel package that is agnostic to this `site/dist-pacakges` problem? | |
| Instead of using | |
| ``` | |
| install(TARGETS my_extension LIBRARY DESTINATION ${PYTHON_RELATIVE_SITE_PACKAGES_DIR}) |
Nathaniel J. Smith @njsmith Feb 20 20:58 @belm0 oh whoa this is exciting. You might be the first person to profile a real complete Trio app :-)
John Belmonte @belm0 Feb 20 20:59 great-- I'll continue logging the saga :)
Nathaniel J. Smith @njsmith Feb 20 21:01 I don't trust cProfile very much, it adds a ton of per-function overhead, and that distorts things vmprof is excellent, but annoyingly the standard way to do it involves uploading the data to a web app to visualize, which (a) sometimes makes companies grumpy, (b) the web app has been down a lot. but you can spin up the server in a docker container (git clone https://github.com/vmprof/vmprof-server then follow the instructions here), and then do python -m vmprof --web-url localhost:8000 --web
| On Tue, 29 Jan 2019 at 23:40, Donald Stufft <donald@stufft.io> wrote: | |
| > | |
| > You can also just stick files in a directory and use pretty much any web server that generates an automatic index from it. | |
| Including python3 -m http.server! (I wouldn't recommend using that on | |
| the public internet, but it can be very handy on a private intranet). | |
| Going back to the specific case of: | |
| "So, let's say that I have dependency "C @ |
@martindurant, although i've been using dask daily for a while this was my first time digging deep on a large cluster and pushing to s3. There's a lot to learn and while I don't want to hold the tools responsible for my ignorance any time tools can smooth my path i'm enormously grateful. I experienced a large stumbling block first writing with parquet. As I was very familiar with parquet locally this was somewhat easier to figure out although it was complicated by other memory issues (dask/dask#4410). Time passed and I switched to xarray and zarr. A whole new stack to get my head around. The particular error message lead me to believe I was configuring zarr incorrectly although i now understand why it's just a permissions error. I found myself switching between a few documentation pages: