class MyDoorMan extends DoorMan {
public function changeShiftAt($val) {
throw new Exception("Changing at $val");
}
}
Slide 51
Slide 51 text
XDebug
Slide 52
Slide 52 text
XDebug.scream
Slide 53
Slide 53 text
XDebug_break();
Slide 54
Slide 54 text
if (!isset($visitors['michael_cheng'])){
xdebug_break();
}
Slide 55
Slide 55 text
XHPROF
Slide 56
Slide 56 text
DDD +X Debug
+ XHProf == WINNING
Slide 57
Slide 57 text
Observer Effect
Slide 58
Slide 58 text
I’m feeling better
Slide 59
Slide 59 text
Project History
Slide 60
Slide 60 text
git log -S
Slide 61
Slide 61 text
git log -S antikythera
Slide 62
Slide 62 text
commit 5288d5804a3fc20dae4f3b2deeaa7f687595aff1
Author: Rasmus Lerdorf
Date: Tue May 24 09:33:59 2016 +0000
Add new secure storage facility. (Closes #42)
The existing storage facilities use symmetrical encryption keys which allow anyone with
the password to access them. The new storage is more secure and requires both a password and
my handprint.
There’s nothing in there yet but we’ll put the Antikythera in it as soon as it arrives
Slide 63
Slide 63 text
What’s changed
recently?
Slide 64
Slide 64 text
Temporal Coupling
Slide 65
Slide 65 text
Explicit
Slide 66
Slide 66 text
commit 0dc164fb052f4b838a674648aa29d83b60f01fa2
Author: Rasmus Lerdorf
Date: Fri May 20 12:14:55 2016 +0000
Changed from European to American roulette table. Gives the house a better edge
5 2 src/Architect/Game/Roulette.php
14 0 test/Architect/Game/RouletteTest.php
Slide 67
Slide 67 text
Implicit
Slide 68
Slide 68 text
commit 2915dabebc8b87b84ec40fac0f4954fb84f3b7cd
Author: Rasmus Lerdorf
Date: Sun May 22 21:27:31 2016 +0000
Removed the corner roulette table as it was crooked. Updated Fire plan to remove table
0 2 src/Architect/FloorPlan.php
0 1 src/Architect/Policy/FireEscape.php
//
// Dear maintainer:
//
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
//
// total_hours_wasted_here = 42
//
I’ve been @mheap, you’ve been awesome!