JuliaCon / JuliaCon.jl

JuliaCon. Everywhere.
MIT License
75 stars 9 forks source link

Filter for speaker #25

Closed roflmaostc closed 1 year ago

roflmaostc commented 3 years ago

Hey,

being a newbie to DataFrames.jl and JuliaCon.jl, is there a simpler way to show all talks of a speaker than

julia> filter(row -> any(contains.(row.speaker, "Julia")), JuliaCon.get_conference_schedule())
4×7 DataFrame
 Row │ start                      duration    title                              speaker                ⋯
     │ ZonedDat…                  Compound…   String                             Array…                 ⋯
─────┼───────────────────────────────────────────────────────────────────────────────────────────────────
   1 │ 2021-07-20T14:00:00+00:00  3 hours     GPU programming in Julia           ["Tim Besard", "Julian ⋯
   2 │ 2021-07-29T17:15:00+00:00  45 minutes  GPU programming in Julia BoF       ["Tim Besard", "Julian
   3 │ 2021-07-30T13:00:00+00:00  30 minutes  Easy, Featureful Parallelism wit…  ["Julian P Samaroo"]
   4 │ 2021-07-30T13:40:00+00:00  10 minutes  BPFnative.jl: eBPF programming i…  ["Julian P Samaroo"]
                                                                                        4 columns omitted

Thanks,

Felix

carstenbauer commented 3 years ago

Looks reasonable to me. There is no dedicated JuliaCon "feature" for this.

roflmaostc commented 3 years ago

Is it a feature we should include?

If yes, I can create a PR

carstenbauer commented 3 years ago

Why not, sounds good to me. Maybe as JuliaCon.talks_by(speaker)? Would be great though if you could align the printing format with what we have for JuliaCon.now() or JuliaCon.today().

roflmaostc commented 3 years ago

OK, I'll see how tricky that is :)

carstenbauer commented 1 year ago

In https://github.com/JuliaCon/JuliaCon.jl/commit/292353507fd1afe8ddd5197b3923b981d2b4c14d I've added the following:

julia> JuliaCon.talksby("Carsten Bauer")

Wednesday 26 July 2023, 17:40 in 32-082
    Pinning Julia Threads to CPU-Cores with ThreadPinning.jl (Lightning Talk)
    ├─ Carsten Bauer
    ├─ https://pretalx.com/juliacon2023/talk/MBS3YY/
    └─ Julia Base and Tooling

Thursday 27 July 2023, 16:30 in 32-G449 (Kiva)
    Julia for High-Performance Computing (Minisymposium)
    ├─ Carsten Bauer, Michael Schlottke-Lakemper, Johannes Blaschke et al.
    ├─ https://pretalx.com/juliacon2023/talk/PC8PZ8/
    └─ HPC

Friday 28 July 2023, 21:00 in 32-144
    Julia in HPC (Unknown)
    ├─ Carsten Bauer, Valentin Churavy, William F Godoy
    ├─ https://pretalx.com/juliacon2023/talk/NKVYHZ/
    └─ HPC

(Shown times are in the following time zone: MET)
roflmaostc commented 1 year ago

Great!