"/tmp"
👀 Reading hidden code
tempdir()
👀 Reading hidden code
import Dates
2020-01-01
👀 Reading hidden code
"Experiment 1 (01 Jan 2020).jl"
👀 Reading hidden code
👀 Reading hidden code
Enter cell code...
cute_name (generic function with 2 methods)
👀 Reading hidden code
begin
end
n = 1
n += 1
end
end
end
"/tmp/jl_2Obw5P"
👀 Reading hidden code
trash = mktempdir(; cleanup=false)
👀 Reading hidden code
"/tmp/jl_2Obw5P/Important report.jl"
cute_name(trash)
👀 Reading hidden code
"Unexpected blueprint.jl"
cute_name()
👀 Reading hidden code
f (generic function with 2 methods)
f(x=rand())=x
👀 Reading hidden code
0.734680411954322
f()
👀 Reading hidden code
96
length(adjectives) * length(nouns)
👀 Reading hidden code
"groundbreaking"
"important"
"novel"
"fun"
"interesting"
"fascinating"
"surprising"
"unexpected"
adjectives = [
"groundbreaking"
"important"
"novel"
"fun"
"interesting"
"fascinating"
"surprising"
"unexpected"
]
👀 Reading hidden code
"discovery"
"experiment"
"story"
"journal"
"notebook"
"revelation"
"computation"
"creation"
"analysis"
"invention"
"blueprint"
"report"
nouns = [
"discovery"
"experiment"
"story"
"journal"
"notebook"
"revelation"
"computation"
"creation"
"analysis"
"invention"
"blueprint"
"report"
]
👀 Reading hidden code
1
1
Iterators.countfrom(1)
👀 Reading hidden code
MethodError: no method matching filter(::var"#7#8"{typeof(>)}, ::Base.Iterators.Count{Int64})
Closest candidates are:
filter(::Any, ::Tuple) at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/base/tuple.jl:363
filter(::Any, ::Array{T, N}) where {T, N} at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/base/array.jl:2479
filter(::Any, ::AbstractDict) at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/base/abstractdict.jl:434
...
Here is what happened, the most recent locations are first:
filter(c -> c>4, Iterators.countfrom(1))
👀 Reading hidden code
syntax: unexpected ","
Computers are hard!
first(Iterators.filter(, Iterators.countfrom(1)))
👀 Reading hidden code