Re: Snap packages for DMD and DUB
On Monday, 8 May 2017 at 20:23:36 UTC, bachmeier wrote: Thanks for making these available. I needed to install ldc today, so I used the snap package. Installation was trivial (Ubuntu 16.04). That's great to hear. Note that it's also trivial to swap between the current stable release and the latest beta, if you want to try things out: sudo snap refresh --channel=1.3/beta [to switch to the 1.3.0-beta1 release] sudo snap refresh --channel=stable [to switch back to the latest stable release]
Re: Snap packages for DMD and DUB
On Monday, 8 May 2017 at 20:05:01 UTC, Joseph Rushton Wakeling wrote: Hello all, [...] Enjoy, and let me know how you all get on with these packages! For more info on snap packages and how to use (and create) them, see: https://snapcraft.io Thanks & best wishes, -- Joe Thanks for making these available. I needed to install ldc today, so I used the snap package. Installation was trivial (Ubuntu 16.04).
Snap packages for DMD and DUB
Hello all, As announced at DConf 2017, snap packages are now available for DMD 2.074.0 and DUB 1.3.0 in the official snap store. These should allow for installation on multiple different Linux distros (see below) on i386 and amd64 systems. Installing them is simple: first follow the `snapd` installation instructions here: https://snapcraft.io/docs/core/install ... and then: sudo snap install --classic --channel=edge dmd sudo snap install --classic --channel=edge dub where the `--classic` flag grants permission for the confinement options required by the packages. The `dmd` package also contains `rdmd`, `dustmite` and `ddemangle`. Note that by default the snap package exposes these namespaced on the name of the package (i.e. `dmd.rdmd`, etc.). To avoid this, use the `snap alias` command: sudo snap alias dmd rdmd sudo snap alias dmd dustmite sudo snap alias dmd ddemangle ... and then it should be possible to use the regular commands. Currently these packages are only released in the `edge` channel (out of `edge`, `beta`, `candidate` and `stable`). It would be good to have as many people (on as many different supported distros) try them out in order to get confirmation that they are working properly. Currently they are expected to work on at least: * Ubuntu 14.04, and 16.04 or later * Debian Testing and Unstable * OpenSUSE Leap In principle they ought to work on any system with a recent enough `snapd` (2.21 or later), but the above are the ones I have tried them on. On systems with snapd 2.24 (the latest release) it looks like there is an issue with rdmd: the sandboxing interferes with rdmd writing to the `/tmp` directory. It's not clear at this point if this is an issue with snapd or with rdmd itself, but I'm looking into it. Special thanks to Martin Nowak who took time with me at DConf to help in setting up the snap store account for these packages. Enjoy, and let me know how you all get on with these packages! For more info on snap packages and how to use (and create) them, see: https://snapcraft.io Thanks & best wishes, -- Joe
Re: D support for the Meson build system
Btw, to make Meson and other build systems work really well, we would need this bug fixed in DMDFE: https://issues.dlang.org/show_bug.cgi?id=16746 At the moment, one needs to ninja clean way too often to get a good build.
Re: Mir Algorithm v0.5.8: Interpolation, Timeseries and 17 new functions
On Monday, 8 May 2017 at 14:26:35 UTC, jmh530 wrote: mir.timeseries is a welcome addition. Calling (time, data) pairs moments will confuse because moment has another meaning in statistics. Perhaps observation? Head and tail are also pretty common timeseries functions (probably would need to go through pandas to get a reminder on other common stuff). Also, Series might also include data labels for columns. And access by data label. You might also be interested in Python's xarray http://xarray.pydata.org/en/stable/why-xarray.html
Re: DCOnf 2017 videos online
On Monday, 8 May 2017 at 15:10:37 UTC, Jack Stouffer wrote: On Sunday, 7 May 2017 at 18:11:47 UTC, Patrick Schluter wrote: It looks like the good people of Sociomantic have already posted videos of the Dconf2017 on youtube. https://www.youtube.com/channel/UC54uUlXuGhigMsdaNtP6THQ Enjoy. Anyone know why the Q&A section of Walter's talk was muted? It's not on purpose, check the comments. Probably some encoding issue.
Re: DCOnf 2017 videos online
On Sunday, 7 May 2017 at 18:11:47 UTC, Patrick Schluter wrote: It looks like the good people of Sociomantic have already posted videos of the Dconf2017 on youtube. https://www.youtube.com/channel/UC54uUlXuGhigMsdaNtP6THQ Enjoy. Anyone know why the Q&A section of Walter's talk was muted?
Re: Mir Algorithm v0.5.8: Interpolation, Timeseries and 17 new functions
On Monday, 8 May 2017 at 08:51:32 UTC, 9il wrote: ## New modules ... Great work. Some comments: mir.timeseries is a welcome addition. Calling (time, data) pairs moments will confuse because moment has another meaning in statistics. Perhaps observation? Head and tail are also pretty common timeseries functions (probably would need to go through pandas to get a reminder on other common stuff). Also, Series might also include data labels for columns. And access by data label. The second part of the example for mir.ndslice.topology: slide is not that intuitive. It seems like what you're basically doing is the same as assert(sw == [8, 12, 16, 20, 24, 28, 32, 36]); (or something) but it's just less obvious to do it by a formula. I don't know how strongly I feel about this, but I find the naming between minIndex/maxIndex and minPos/maxPos and minmaxIndex/minmaxPos strange. All three produce indices, it's just that the Pos do it backwards and minmax give both min and max. It seems like a lot of separate functions for things that could be done with one multi-purpose template. Regardless, if you keep it the way it is, then maybe given the plethora of finding functions, split it off to a separate module? Would it make sense to bump that thread you posted earlier in case people didn't see it due to dconf?
Re: DCOnf 2017 videos online
On Monday, 8 May 2017 at 03:23:50 UTC, WhatMeForget wrote: Wow. That was quick! Much faster than last year!
Re: DCOnf 2017 videos online
On Monday, 8 May 2017 at 01:42:49 UTC, Jack Stouffer wrote: https://www.youtube.com/playlist?list=PL3jwVPmk_PRxo23yyoc0Ip_cP3-rCm7eB I assume you're handling the reddit post? Yeah, I'll post it once the videos are all uploaded.
Mir Algorithm v0.5.8: Interpolation, Timeseries and 17 new functions
## New modules - mir.interpolation - mir.interpolation.linear - mir.interpolation.pchip - mir.timeseries - mir.ndslice.mutation: transposeInPlace ## New functions for existing modules - mir.ndslice.topology: diff - mir.ndslice.topology: slide - mir.ndslice.algorithm: findIndex - mir.ndslice.algorithm: minPos, maxPos - mir.ndslice.algorithm: minIndex, maxIndex - mir.ndslice.algorithm: minmaxPos, maxmaxPos - mir.ndslice.algorithm: minmaxIndex, maxmaxIndex ## New features - Syntax sugar for `indexed` and `cartesian` [v0.5.1] - Syntax sugar for map + RefTuple combination [v0.5.0] - Specialisation for `map!"a"`. ## Bug fixes - front!1 and back!1 were wrong for Canonical and Contiguous ndslices. Docs: http://docs.algorithm.dlang.io/latest/index.html [v0.5.8] https://github.com/libmir/mir-algorithm/releases/tag/v0.5.8 [v0.5.1] https://github.com/libmir/mir-algorithm/releases/tag/v0.5.1 [v0.5.0] https://github.com/libmir/mir-algorithm/releases/tag/v0.5.0