This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### A Pluto.jl notebook ### | |
# v0.11.3 | |
using Markdown | |
using InteractiveUtils | |
# ╔═╡ 7154a0e6-d7a3-11ea-2657-db1e00c80460 | |
md"Define a function which will do some logging. Note that this could just as well be in an external library" | |
# ╔═╡ 514ac9ea-d7a0-11ea-1512-e99df979d240 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Manually copied out of slack on 2020-04-28 | |
logging | |
@rofinn created this channel on May 15th, 2018. This is the very beginning of the logging channel. | |
Rory Finnegan 6:07 AM | |
joined #logging along with 2 others. | |
Kevin Bonham:microbiome: 6:56 AM | |
Thanks for making the channel @rofinn. The main thing I’ve been trying to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is machine-generated - editing it directly is not advised | |
[[ATK_jll]] | |
deps = ["Artifacts", "Glib_jll", "JLLWrappers", "Libdl", "Pkg"] | |
git-tree-sha1 = "d2cb610e0f31d9d20f4ca37e4535ea5e6f374889" | |
uuid = "7b86fcea-f67b-53e1-809c-8f1719c154e8" | |
version = "2.34.1+5" | |
[[AbstractFFTs]] | |
deps = ["LinearAlgebra"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Makie | |
using Meshing | |
using GeometryTypes | |
using ColorSchemes | |
using FFTW | |
using LinearAlgebra | |
using Random | |
using Interpolations | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Chris Foster 6 days ago | |
But I guess we currently need to supply things like Zlib_jll in the Project.toml [deps] section? | |
Mosè Giordano 6 days ago | |
Yes, exactly. The way the jll packages work doesn't allow them to be installed in julia <1.3, I don't see many options at the moment to make BinaryProvider and jll coexist in those versions of julia | |
Chris Foster 6 days ago | |
I see one possible option: the jll packages themselves could allow installation on julia < 1.3 and just load as an empty module in that case. That would allow some recourse for maintainers who have to support older julia versions. | |
Fredrik Ekre 6 days ago | |
just load as an empty module in that case |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Base.Meta | |
struct ErrorResult{E} | |
e::E | |
end | |
function insert_wraparg!(ex, name) | |
@assert isexpr(ex, :call) # todo | |
insert!(ex.args, 2, name) | |
ex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Chris Foster 4 days ago | |
Current notes are in my fork of the Juleps repo at | |
https://github.com/c42f/Juleps/blob/cjf/structured-concurrency/StructuredConcurrency.md | |
but most people seem to ignore the main Juleps repo so I haven't sent a PR yet (also it's very WIP). | |
We could move the notes to Jameson's julep wiki or somewhere else more conducive to collaboration? (edited) | |
Kiran Pamnany 3 days ago | |
This is nicely written -- good literature survey. | |
Kiran Pamnany 3 days ago | |
I'd be very interested in your (or anyone's) thoughts on Erlang's approach. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Unroll | |
struct Vec{N,T} <: AbstractVector{T} | |
data::NTuple{N,T} | |
end | |
Base.size(v::Vec) = (length(v.data),) | |
Base.getindex(v::Vec, i::Int) = v.data[i] | |
function _unroll_for(ex) |
NewerOlder