JuliaCon / JuliaCon.jl

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

Iron creases in t-shirt code via Requires #2

Closed IanButterworth closed 3 years ago

IanButterworth commented 3 years ago

Should make the t-shirt code one size fits all

ian@Ians-MacBook-Pro-4 ~ % /Applications/Julia-1.6.app/Contents/Resources/julia/bin/julia -p 2
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.1 (2021-04-23)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using Distributed, JuliaCon

julia> @everywhere juliacon2021()
Welcome to JuliaCon 2021! Find more information on https://juliacon.org/2021/.
      From worker 3:    Welcome to JuliaCon 2021! Find more information on https://juliacon.org/2021/.
      From worker 2:    Welcome to JuliaCon 2021! Find more information on https://juliacon.org/2021/.

julia> 
ian@Ians-MacBook-Pro-4 ~ % /Applications/Julia-1.6.app/Contents/Resources/julia/bin/julia     
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.1 (2021-04-23)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using Distributed, JuliaCon

julia> @everywhere juliacon2021()
Welcome to JuliaCon 2021! Find more information on https://juliacon.org/2021/.
ericphanson commented 3 years ago

is it more or less hacky to just depend on Distributed and @everywhere using itself at init time? 😄

IanButterworth commented 3 years ago

It depends if you want it to look like there was a plan all along

codecov[bot] commented 3 years ago

Codecov Report

Merging #2 (c347c95) into master (4a514c9) will increase coverage by 75.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master       #2       +/-   ##
===========================================
+ Coverage    0.00%   75.00%   +75.00%     
===========================================
  Files           1        1               
  Lines           1        4        +3     
===========================================
+ Hits            0        3        +3     
  Misses          1        1               
Impacted Files Coverage Δ
src/JuliaCon.jl 75.00% <100.00%> (+75.00%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4a514c9...c347c95. Read the comment docs.