Meeting notes 15 nov 2022
Topics today
Featured notebooks: JuliaHub/Training.jl
codemirror-pluto-setup: yarn npm
Featured notebooks: other authors
Triple newline for new cell
Malt.jl
Windows app
PlutoHooks.jl: watch dir task
Function argument autocomplete
Featured notebooks: JuliaHub/Training.jl
Josh Day from JuliaHub is working on a public repository with training material, he wants to use the Pluto featured system to run it. Would be
Ideas:
We want these featured notebooks too! (They are mostly from me, David, and Alan) https://github.com/JuliaComputing/Training.jl could be one of our sources in the
featured_sources.json
file.Training.jl should have a custom
run()
function that launches Pluto with only the training notebooks as featured notebooks
JuliaCon 2023
In person at MIT! Deadline for proposals is already December 18th.
We will submit a proposal for an online talk.
Featured notebooks: other authors
Panagiotis and fonsi will get back in touch with some awesome featured notebook authors!
Malt.jl
Let's get it finished! Yayyy
We can release it behind a flag, and leave it off by default for a couple of months to get more usage data. Maybe automatic AB testing? hehe
PlutoDesktop
Let's get it finished!
Notion/GitHub board for our own TODOs?
Yes! We created one:
We made it visible only to members of the JuliaPluto org, to avoid stress from the internet :)
New CM features
OOP has super nice autocomplete because methods are properties of objects. But we dont have that in Julia!! Oh nooo
Idea: what if you act like will call something, and we know it's not a function, we auto
# In JS, I would do:
x.<TAB>
# to get things I can do with x
# IDEA: I Pluto, I would type:
x(<TAB>
# and it would autocomplete to:
first(x)
# I could also do more arguments:
x(y,<TAB>
# and I get
push!(x, y)
# IDEA 2: just do the Python thing, show properties first, then methods that work with it
x.<TAB>
# IDEA 3:
x |> <TAB>
# would give
x |> first
# Chain.jl has a cool macro with this
# What we already have:
first(<TAB>)
# and you get the list of all methods
# In the RUST LSP you have
# IDEA from tim Holy in a Julia PR:
# (this is merged in Julia main)
# https://github.com/JuliaLang/julia/pull/38791
?(x, y<TAB>
# gives
push!(x, y)
# Since this is already in Julia main, we could contribute this to FuzzyCompletions.jl
Problem: there isn't a natural way to do this like in OOP, so what is the next best thing?
Also important: communicate to users that this is an option. We could still add more things. If this is going to be a feature of Julia Base then maybe we shouldn't do something different.
(Why does this not work already?)
Maybe having them in autocomplete is overwhelming, and its actually better to show them in the Live Docs panel.
1
2
3
1
2
3
123
1