< ^ txt
Fri 02 Aug 2019 09:23:28 AM EDT
Slept from one to six-thirty.
High of eighty-six and sunny today.
Work:
- Review PO's
Done.
- Return dome camera
Done.
- Order non-dome camera
How do 304's work — where the web client only gets the resource if it's been modified since the last request?
With a fulfilled request, the server sends a Last-Modified (or ETag) header.
For results the client caches, the client keeps track of that value.
If the client requests the resource later, it sends an If-Modified-Since (or If-None-Match) header with its request.
https://stackoverflow.com/questions/20978189/how-304-not-modified-works
https://tools.ietf.org/html/rfc7232
> An entity-tag can be more reliable for validation than a modification
date in situations where it is inconvenient to store modification
dates, where the one-second resolution of HTTP date values is not
sufficient, or where modification dates are not consistently
maintained.
```
🐚 falstaff ~ $ curl -I https://paulgorman.org/technical/blog/rss.xml
HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Fri, 02 Aug 2019 15:22:39 GMT
Content-Type: text/xml; charset=UTF-8
Content-Length: 49006
Last-Modified: Tue, 30 Apr 2019 21:29:18 GMT
Connection: keep-alive
ETag: "5cc8be2e-bf6e"
Accept-Ranges: bytes
🐚 falstaff ~ $ curl -I --header 'If-Modified-Since: Tue, 30 Apr 2019 21:29:18 GMT' https://paulgorman.org/technical/blog/rss.xml
HTTP/1.1 304 Not Modified
Server: nginx/1.12.2
Date: Fri, 02 Aug 2019 15:23:07 GMT
Last-Modified: Tue, 30 Apr 2019 21:29:18 GMT
Connection: keep-alive
ETag: "5cc8be2e-bf6e"
```
Twenty-five-minute walk at lunch.
Heard cicadas.
Saw a couple little white butterflies, and a turkey vulture circling very high in the blue sky.
Home:
- Go to bed not late
https://jordan-vincent.com/night-under-the-stars
> A look at overnight stays at US National Parks
> When should you pitch your tent? Or when is it better to opt for lodging? When should you visit to avoid the crowds? Let’s have a look!
https://www.residentadvisor.net/features/2724
> With a rich network of sound-obsessed cafés, bars and small clubs, Aaron Coultate explains why Tokyo might be the best place in the world to listen to music.
https://news.ycombinator.com/item?id=20592837
https://www.wsj.com/articles/the-fasting-cure-is-no-fad-11564676512?mod=rsswn
> At the Charité University Hospital in Berlin, I’ve employed what’s called intermittent fasting, or time-restricted eating, to help patients with an array of chronic conditions. These include diabetes, high blood pressure, rheumatism and bowel diseases, as well as pain syndromes such as migraines and osteoarthritis.
> There are different ways to go about it, but I advise patients to omit either dinner or breakfast, so that they don’t ingest any food for at least 14 hours at a stretch.
> When we eat, our body releases insulin. That disrupts the process of autophagy (from the Greek, meaning “self-devouring”), by which cells deconstruct old, damaged components in order to release energy and build new molecules. Autophagy helps to counteract the aging of cells and builds immunity. Fasts stimulate autophagy and allow the full molecular process to take place, as a team led by Frank Madeo at the University of Graz in Austria found in 2017.
> Fasting also can contribute to brain health and happiness. The neurobiologist Mark Mattson, who retired this year from the National Institutes of Health, has demonstrated in experiments for two decades that nerve growth factors contribute significantly to brain health and positive mood. He also found that fasting, restricting calories and exercising spur distinct increases in the best-known nerve growth factor, BDNF.
> Test animals in Dr. Mattson’s laboratory that fasted intermittently even showed a significantly lower risk of developing Parkinson’s disease, multiple sclerosis and Alzheimer’s, though those results would have to be clearly confirmed in large human studies to reach any firm conclusion.
Servings: grains 4/6, fruit 3/4, vegetables 3/4, dairy 1/2, meat 2/3, nuts 0/0.5
Brunch: bagel, cucumber, banana, coffee
Lunch: tomatoes, Mandarins, omelets
Afternoon snack: babel, coffee
Dinner:
< ^ txt