Week 0x0
Crypto
Welcome to variously CS 276/CS 540
Action Items:
ABCDEFGHIJKLMNOPQRSTUVWXYZ # in
|
BDFHJLCPRTXVZNYEIWGAKMUSQO # fast
>>>>>>
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
AJDKSIRUXBLHWTMCQGZNPYFVOE # mid
<<<<<<<<<
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
BDFHJLCPRTXVZNYEIWGAKMUSQO # slow
→
BDFHJLCPRTXVZNYEIWGAKMUSQO
>>>
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
IXUHFEZDAOMTKQJWNSRLCYPBVG # reflect
|
BDFHJLCPRTXVZNYEIWGAKMUSQO # slow
>>>>>
ABCDEFGHIJKLMNOPQRSTUVWXYZ # out
# etc etc
podman
vim
gcc
git
podman
vim
gcc
git
After ~10 years of systems research I’ve convinced myself only two things that really matter:
Recursion isn’t too bad…
podman
vim
gcc
git
wsl --install -d ubuntu
command oncepodman
commandspodman run -it
is an image
run
instances.podman
vim
gcc
git
git
and docker
(less so podman
) integration.git
/docker
(less so podman
).vim
who don’t prefer it.vim
inside a container (which happens to run Debian & ∴ apt
)>>> import os
>>> os.system("apt update") # update the registry of packages
<blah blah blah>
>>> os.system("apt install vim -y") # -y saves us from having to say "yes" to any prompts
<blah blah blah>
>>> os.system("vim") # a vim window will open
vim
inside python
inside podman
~ VIM - Vi IMproved
~ version 9.1
~ by Bram Moolenaar et al.
~ Vim is open source and freely distributable
~
~ Become a registered Vim user!
~ type :help register<Enter> for information
~
~ type :q<Enter> to exit
~ type :help<Enter> or <F1> for on-line help
~ type :help version9<Enter> for version info
vim filename.py
vim
opens I type i
(for “insert”):x
→ ENTER to save+quitvim
incrementally by using it for this class - for code, for notes, for whatever.podman
vim
gcc
git
python
is written in GCC Cclang
now but that’s newcat
, ls
, rm
python
or podman
or vim
, GCC is a command - gcc
gcc
takes at least one argument: a filename, usually of a C file./
prefix
python
which runs a script without creating a corresponding program.podman
vim
gcc
git
git
If you want a lot of control and flexibility, you can use the command line.
podman
vim
gcc
git