packages
using Pkg Pkg.add("Flux")
install chromium (and saka) look for a better terminal update dmz install juno for julia (maybe in vscode?)
install Flux.jl MXNet
cd /usr/local/cuda/samples
sudo make 'NVCCFLAGS=-m64 -D__GNUC__=8' -k
https://www.one-tab.com/page/Q4iBMTeGRYq3wN_dUlO5Pw
Ubuntu 19.04 with "properitary drivers"
Numbers with place separators
1_000_000
Easy tuples
1,2,3 --> (1,2,3)
SI or ENG units
1e6
all the glyphs
\pi TAB
comments are like shell script
# this is a comment
subscripts!
x\_1 TAB ==> x
@show foo bar # prints value of foo and bar
episilon
if abs(y-x) < ε
break
end
string interpolation:
greet = "Hello"
"$greet, world"
element of
'a' \in(TAB) "banana"
map function is .
t = "abc","def"
uppercase.(t)
test for equivalency
julia> a = "banana"
"banana"
julia> b = "banana"
"banana"
julia> a ≡ b
true
Can return values as tuples (yay)
function minmax(t)
minimum(t),maximum(t)
end
## bummers about julia
No python like dictionary symbol { }
can't use single quotes around strings