tags: sleep

Action executed in 0.000

Each Tag


Common tags - number of posts

TrickleUp (2), falling asleep (1), disease (1), toxins (1), guitar (1), XML (1), dementia (1), substring (1), deprivation (1), Alzheimer's (1), brain (1), GP (1),

2 way join

TrickleUp, sleep


Lack Of Deep Sleep May Set The Stage For Alzheimer's : Shots - Health News : NPR

Jeffrey Iliff (right) and Bill Rooney, brain scientists at Oregon Health & Science University

Jeffrey Iliff (right) and Bill Rooney, brain scientists at Oregon Health & Science University, look over an MRI. The school has an especially sensitive MRI unit that should be able to detect precisely when during sleep the brain is being cleansed of toxins. Courtesy of Oregon Health & Science University hide caption

url: http://www.npr.org/sections/health-shots/2016/01/04/460620606/lack-of-deep-sleep-may-set-the-stage-for-alzheimers?utm_source=facebook.com&utm_medium=social&utm_campaign=npr&utm_term=nprnews&utm_content=20160104

type: article, format: none

Brian versus Sleep

Last night i was working on GP as usual. For the last few nights this week me and Sleep have been battling each other. After a late dinner i'll get to work programming. Around 9pm Sleep hits me hard. I'll crash on the couch until midnight or 3am, then return to work. Two nights ago i thought i could work out an idea as i laid down...

Nope! Sleep knocked me out.

But last night, i made a strong come back. I laid down to figure something out and i got the solution before Sleep hit me.

Tonight i look forward to implementing it.


Previously, i've written a function to take the substring of an XML string, while preserving well-formedness. E.g. xml_substring( "<p>The brown <span class='light'>cow jumped over the lazy</span> moon</p>", 50 ) produces <p>The brown <span class='light'>cow jump</span></p>. What i need now is the rest of the string, i.e <p><span class='light'>ed over the lazy</span> moon.</p>. And i figured a way to build this into my recursive algorithm. So far i see only one problem with this, viz. an element with an id attribute can't be split into two.

Early to Bed, Early to Rise

After that last post, i passed out and slept all night. I'm going to get a head start on work today. Then bring my "dead g-string" guitar back to the store to get their opinion and try another guitar.