"/Users/fons/Documents/18S191/"
👀 Reading hidden code
dir = "/Users/fons/Documents/18S191/"
IOError: readdir("/Users/fons/Documents/18S191/website"): no such file or directory (ENOENT)
Here is what happened, the most recent locations are first:
- check_channel_statefrom channels.jl:170
- take_unbuffered
(c::Channel{Tuple{String, Vector{String}, Vector{String}}}) from channels.jl:403 - take!from channels.jl:383
- iterate
(c::Channel{Tuple{String, Vector{String}, Vector{String}}}, state::Nothing) from channels.jl:466 - iteratefrom channels.jl:465
- iteratefrom generator.jl:44
- grow_to!
(dest::Vector{Vector{String}}, itr::Base.Generator{Channel{Tuple{String, Vector{String}, Vector{String}}}, var"#7#9"{typeof(filter), typeof(endswith), typeof(joinpath)}}) from array.jl:797 - collectfrom array.jl:721
- map
- flatmapfrom Other cell: line 1
flatmap(f::Function, xs) = vcat(map(f,xs)...)
- Show more...
mdfiles = flatmap(walkdir(joinpath(dir, "website"))) do (root, dirs, files)
joinpath.([root], filter(f -> endswith(f,".md"), files))
end
👀 Reading hidden code
IOError: readdir("/Users/fons/Documents/18S191/notebooks"): no such file or directory (ENOENT)
Here is what happened, the most recent locations are first:
- check_channel_statefrom channels.jl:170
- take_unbuffered
(c::Channel{Tuple{String, Vector{String}, Vector{String}}}) from channels.jl:403 - take!from channels.jl:383
- iterate
(c::Channel{Tuple{String, Vector{String}, Vector{String}}}, state::Nothing) from channels.jl:466 - iteratefrom channels.jl:465
- iteratefrom generator.jl:44
- grow_to!
(dest::Vector{Vector{String}}, itr::Base.Generator{Channel{Tuple{String, Vector{String}, Vector{String}}}, var"#11#13"{typeof(filter), typeof(endswith), typeof(joinpath)}}) from array.jl:797 - collectfrom array.jl:721
- map
- flatmapfrom Other cell: line 1
flatmap(f::Function, xs) = vcat(map(f,xs)...)
- Show more...
Be patient :)
nbfiles = flatmap(walkdir(joinpath(dir, "notebooks"))) do (root, dirs, files)
joinpath.([root], filter(f -> endswith(f,".jl"), files))
end
👀 Reading hidden code
identifier (generic function with 1 method)
identifier(f) = joinpath(splitpath(f)[end-1:end]...)
👀 Reading hidden code
Another cell defining nbfiles contains errors.
identifier.(nbfiles)
👀 Reading hidden code
filter(nbfiles) do f
any(mdfiles) do mf
occursin(identifier(f), read(mf, String))
end
end
👀 Reading hidden code
flatmap (generic function with 1 method)
flatmap(f::Function, xs) = vcat(map(f,xs)...)
👀 Reading hidden code