際際滷

際際滷Share a Scribd company logo
The Art of Computers
Scott Hanselman
Person
The Art of Computers
Scott Hanselman, @shanselman
Open Source Developer
The Art of Computers
Scott Hanselman
TikTok Influencer, CashMe: $shanselman
The Art of Computers
Scott Hanselman
I am old
CodeLand 2020 Locknote - The Art of Computers - Scott Hanselman
I hope tech
welcomes you
warmly!
Whats the trick?
Are Computers
Art or Science?
Program Solving
Layering
Composition
Patterns
Program Solving
is asking
yes/no
questions
AT SCALE
My toaster
is broken
Simple Thinking
Buy a new Toaster
Systems Thinking
 Power on?
 Plug in something else?
 Blow a fuse?
 Power on at all?
 DO THE NEIGHBORS
HAVE POWER?
 EMP? Aliens?
Early vs.
Later in
Career
Early
Google a lot
Later
One question can
eliminate a whole
CLASS of problems
Things to check
 Assert your assumptions. All of them.
 Diff the files. They arent the same.
 IP addresses
 SSL Certs
 Ports/Firewalls
 What changed?
 What directory are you in? Did you save the file?
 Dates and times and OMG time zones
 Environment Variables
 Permissions
 Its never twins  Sherlock Holmes
 Check the logs
 Did it work before?
 File locked?
 Can you make a small repro?
 Is it the right connection string?
 Literally read the error. Completely.
 Did you pull from the main branch?
Program Solving
Layering
Composition
Patterns
Layering is
vertical. Hiding
complexity from
yourself and
others.
Sending email
Simple, right?
Sending email
Simple, right?
POSTing
an HTML
Form
Maybe you already
know it!
 HTML is text that goes using HTTP over
Port 80, right? HTTPS over port 443
 Email is the same but uses SMTP and
goes over Port 25 or Port 587
 Its all just Internet traffic!
Re-use good ideas!
Program Solving
Layering
Composition
Patterns
Composition
models has a
relationships
Story
Story
Story
Story
Story
Story
Nothing in the computer is
hidden from you.
How far do you want to dig?
Applications
Logical File System
File Organization
Module
Basic File System
I/O Control
Devices
Pattern
Recognition.
Ive seen that
before.
Story
0D?
Story
Story
Where have
I seen that
before?
0x0D=13=CR
0x0A=10=LF
Program Solving
Layering
Composition
Patterns
What can we make now?
I use an Open
Source Artificial
Pancreas
We capture sugar values over BT
with a phone and upload them to
MongoDB
Then turn it into
a REST API
for my body
So I can have my blood sugar *AND*
my Git Branch details in my prompt
Whats the trick?
Are Computers
Art or Science?
Whats the trick?
Are Computers
Art or Science? YES
We are all amateurs.
Quino Al
There are no professionals.
Quino Al
Do you have
20 years
experience?
WoC Tech Chat
Or the same years
experience,
20 times?
Mike Wilson
CodeLand 2020 Locknote - The Art of Computers - Scott Hanselman
Its OK to be a
funny little knife
that isnt
amazing at
everything.
At least BUT be a
good knife.
Dont skimp on the
basics.
Thank you and
Im so glad
youre here!
@shanselman
CodeLand 2020 Locknote - The Art of Computers - Scott Hanselman
Thank you!
@shanselman

More Related Content

CodeLand 2020 Locknote - The Art of Computers - Scott Hanselman