LIS-3353 - Text, Linux, and Power
Created Tuesday 04 February 2025
HUGE CONCEPT #1
All computers do is “numbers”
- you put numbers into them
- it messes with the numbers
- it gives you some numbers back
HUGE CONCEPT #1
ANYTHING IN NUMBERS
yields
HUGE(R) CONCEPT #2
HUGE(R) CONCEPT #2
All computers do is follow a very
precise list of instructions that one or
more people wrote.
Understanding Power
- 10 PRINT “John is AWESOME”;
- 20 GOTO 10
Computers
The smartest and dumbest things in the world.
Teaching the robots to escape
1) If there's a door in arms-reach, exit – you're done, else
2) If you can, take one step forward then goto 1), else
3) Rotate to the left until there's not a wall in front of you
then goto 1)
(this will get you out of any “regular” empty room)
An almost random bit on recursion
In computers, it's actually okay to define something with itself.
PSUEDOCODE!
- Define function=”EscapeFromRoom”{
- 1) If there's a door in arms-reach, exit – you're done, else
- 2) If you can, take one step forward then EscapeFromRoom, else
- 3) Rotate to the left until there's not a wall in front of you then EscapeFromRoom
- }
(this will get you out of any “regular” empty room)
Here we go
Go to the store; if they have 2% lactose free
chocolate milk, then get me a carton.
CODE, again
- go to the store;
- if [[ they have 2% lactose free chocolate milk]]
- then
- get me a carton.
That was, computers are dumb.
On to: Computers can fake being very smart
Backlinks: FSU Courses:LIS3353:Raw LIS3353 Slides