02-02-2022
Meta Stuff
Using plantuml, from vim, both through a browser extension using :PlantumlOpen, and I managed to get vim-slumlord working - Vim autocreates my diagrams on save using java!
I had to update the .jar file within the plugin (downloaded from the Plantuml website, moved replaces in the file) and download plantuml using apt install.
This might have merely downloaded the java dependencies required? But idk
It works! I am 10/10 Happy!!!!!! :)
Today's Foci
Focus 1
- Use plantuml on something!
- Have a working diagram
Topic
Workshop
Model - Diagram or Conceptual
-
Why diagram
-
Self referential
-
Helps work across a team ( collaboration ), and across time, and for efficient assessment ( feedback ).
-
Break down process into smaller chunks
What happens when we visit the homepage
Remember when teaching people web I must ALWAYS break down into header and body
Use the Dev Tools in the Browser - not the CLI
Teamwork
Huh - the teamwork seemeed to function! huzzah!
Why?
Every step, we asked:
-
Clarify the goals and relevant shared resources "Are we looking at the same thing?"
-
What is this?
-
How does it work (complete/partial/unknown)
-
If partial do we want to go deeper? What are our present priorities ("Is it productive to explore this rabbit hole at present?")
-
Can we explain this small, single, step to one another?
-
Are we all on-board?
-
Do we have any questions or uncertainties to follow up on?
-
Are we all ready to move forward to the next step?
-
back to 0 - Clarify goals and relevant shared resources
-
On end - do we all have a cohesive explanation for the system we have looked at? do we have any questions on the system level?
Continue Yesterday - No Birthday
As Yesterday, but no more birthday. I'm happy having successfully test-driven a browser app.
Next
Servers! Ooo, this looks fun
require 'socket'
server = TCPServer.new(2345)
socket = server.accept
socket.puts "What do you say?"
they_said = socket.gets.chomp
socket.puts "You said: #{they_said}. Goodbye!"
socket.close
I've forgotten what a TCP server is
a socket is an interface on a server? makes sense.
need to check for a telnet install
apt list --installed | grep 'telnet'
returns
ruby-net-telnet/unstable,now 0.1.1-2 all [installed,auto-removable]
telnet/unstable,now 0.17-44 amd64 [installed]
looks good to me!
Huh, had an issue with a typo 'sockets', but once fixed, functions as intended.
modified to act unless the user quits
require 'socket'
server = TCPServer.new(2345)
socket = server.accept
they_said = ''
while they_said != 'quit'
socket.puts 'What do you say?'
they_said = socket.gets.chomp
socket.puts "You said: #{they_said}. Goodbye!"
end
socket.close
I feel there's a better way to have done that, but oh well.
Huh...
I wonder if I could make a REPL doing this?
Pairing Challenge
How do I make this better?
Look at yesterdays comments none! whoops...
What about recent comments on pairing? I'm sure there's some kind of search with Zola
regardless, last time I was too chatty - so I must watch for that
Can we use what worked earlier in the breakout rooms?
-
How are we all feeling - where are we at mentally, emotionally, physically?
-
clarify goals and shared resources
-
what is the thing we're facing?
-
can we explain it (partial/full/unknown)?
-
if partial, is the rabbit hole productive? why?
-
can we explain this small single step to one another?
-
are we all aboard?
-
are we all ready to move forward one small step?
-
back to start