Patching your own Brain

This video is from the Open Source Developers’ Conference in Canberra, November 2011. The term patching is used in the hacker/programmer sense: you find a bug, figure out what’s going on, and fix (aka patch) it.

Apart from my lightning talks over the last three years, this is probably the first specific “bluehackers related talk”. For this reason I was actually a bit nervous beforehand, but it worked out very well. Those present found it fun and educational, with plenty of questions and chats triggered later – which is excellent. Feel free to talk more here in the comment thread!

Refs:

  • Prof Martin Seligman, numerous books and papers in the space of cognitive psychology (and connections to depression) incl. “Learned Optimism” and “The Optimistic Child”.
  • The OpenOffice ODS and Excel XLS files referenced in the talk will remain online. Note that the talleys have to be adjusted from the explanations in the Learned Optimism book, in part because I use used fewer questions (42 rather than 48) and also most questions were mine rather than the originals. Still, they provide a rough indication, which was the intent.

Note: Yes, the video does show a prototype game board at the end. It was an unexpected spin-off during the talk preparation months ago, and I’ll post on that separately!

Sleep Cycles

Jenson Taylor made an insightful post on Google+, I’m reproducing it here as its topic -sleep- is important and has already come up several times. From my own experience, the observations hold quite true.

 

Sleep Cycles by Jenson TaylorStudies show that the length of sleep is not what causes us to be refreshed upon waking. The key factor is the number of complete sleep cycles we enjoy. Each sleep cycle contains five distinct phases, which exhibit different brain- wave patterns.

For our purposes, it suffices to say that one sleep cycle lasts an average of 90 minutes: 65 minutes of normal, or non-REM (rapid eye movement), sleep; 20 minutes of REM sleep (in which we dream); and a final 5 minutes of non-REM sleep. The REM sleep phases are shorter during earlier cycles (less than 20 minutes) and longer during later ones (more than 20 minutes).

If we were to sleep completely naturally, with no alarm clocks or other sleep disturbances, we would wake up, on the average, after a multiple of 90 minutes–for example, after 4 1/2 hours, 6 hours, 7 1/2 hours, or 9 hours, but not after 7 or 8 hours, which are not multiples of 90 minutes.

In the period between cycles we are not actually sleeping: it is a sort of twilight zone from which, if we are not disturbed (by light, cold, a full bladder, noise), we move into another 90-minute cycle.

A person who sleeps only four cycles (6 hours) will feel more rested than someone who has slept for 8 to 10 hours but who has not been allowed to complete any one cycle because of being awakened before it was completed.

There’s Never a Justification for Bullying

I posted a reference on G+ to an article about a Michigan anti-bullying law (named after a boy who committed suicide) where republicans effectively provide a loophole if the abuse happens on the basis of “genuine moral or religious conviction”. The text is:

“This section does not prohibit a statement of a sincerely held religious belief or moral conviction of a school employee, school volunteer, pupil, or a pupil and parent or guardian.”

One comment approached the issue by questioning the definition of bullying and tying their position to their religious beliefs, and that’s prompted me to post this blog entry. I reckon the definition of bullying is fairly clear and simple. I phrase it something like this:

Bullying is ongoing psychological, verbal and physical abuse against a person and their environment and property.

I didn’t look that up anywhere, it’s just loosely based on my own experience. I think this sums it up concisely, but feel free to comment with improvements!

Even if you don’t agree with people being gay, or atheist, or you reckon reds look funny, or whatever, I’d urge anyone to think long and hard before being in favour of laws like the Michigan one – you’re as different as the next person, and one day you’ll become the victim yourself.

Unlikely? Let’s look forward a bit: considering the current Christian fundamentalist extremism in the US, I consider it quite likely that at some point there’ll be a backlash and Christians will find themselves persecuted – let’s please have laws in place that protect them then as well as other people now. So even on a purely selfish level, you don’t want to gamble on this.

Someone’s right to expression and beliefs have nothing to do with it. We simply don’t want people (kids or adults!) persecuted in their school, work, sport, home or social environment whether they’re black, gay, use a wheelchair, wear glasses, have red hair, are socially awkward, believe in a god or faeries, or in fact happen to not believe in something someone else does believe in.

What’s the point of being different if we can’t live together?

R U OK day

Put-Down Humour

while it may provide a cheap thrill in the short term
rastreamento correios It’s a Wrap The Dressing Gown Inspired Coat

One of my favorite comfort foods is homemade soup
etech partsAnalysts Split On Gap’s New CEO

8 Common Myths About Dehydration

More Hints for the Sleepless Mind

First: Warm milk before bedtime does help you get to sleep, cold milk does not. Warming up milk activates the tryptophan that’s naturally present. Good.

I’m not a fan of either medication or dietary supplements, but obviously sometimes they can help you get back (and/or stay) on track – less to worry about.

From a pharmacist friend I’ve learnt that Calcium+Magnesium can assist with sorting out sleep issues, as it’s involved with relaxing your muscles, as well as enabling you to not waking up too early (the latter is something I’ve had problems with and it’s clearly very difficult to “work on that”).

Another acquired wisdom, not quite related but relevant in context, is for men to avoid taking extra Vitamin A. Chances are you have enough already, and more may cause you nasty headaches. Problem is, many multi-vitamins contain it so pick one that doesn’t, and I’ve noticed some milk is fortified with it (usually shown on label so easy to identify) – again pick one that hasn’t.

Erratic sleep can indicate later mental illness

Bed sharing ‘bad for your health’ ?

Sharing a bed with someone could temporarily reduce your brain power – at least if you are a man

A Day Inside my Head

(preamble: generally I think about posts here for a while and so it is with this one – however, it turned out more topical for me now and thus this post is pretty much “real time”. Just so you know…)

Good morning, and welcome to this tour of my head today. Feel free to ask any questions. It’s a bit of a mess right now, I am aware (I try not to fuss too much over that as it’d just be an added stress – just step over).

Jittery? Ehm yes that too – the body that’s attached to this head definitely is jittery this morning as it has been for some days; it’s had (give or take) about 0 hours of sleep last night and that takes its toll. Some nights are better than others.

Any medication that might help? Yep on it, since last week and for the first time in about four years. Went back to the doctor because I don’t regard crying in a corner as not a normal way of spending even part of a day. Cause? Dunno, there are triggers but other than that it just appears to be chemical imbalance (SSRI). Now it might take up to a few weeks (or even months if the dose needs to be tweaked) to hopefully settle things again.

Oops mind those thoughts whizzing past – you’re quite right most of them you’ve seen before recently and in a bit they’ll come around again. Persistent buggers they are, they’ve been thought about and/or dealt with, yet they keep popping back up, bloody useless really. It’ll be great when that just goes away – yep the meds should help with that. The thoughts themselves are of the harmless variety, no fear there. I just prefer to have new thoughts rather than recycling old used ones, you know?

So where were we… ahyes, sleeplessness. Of course those pesky thoughts don’t help but relaxation exercises assist; and in part it can be a temporary side effect of the meds, difficult to tell really with so many factors. I do get up every morning, have breakfast or go for morning walk with an apple to get daylight and exercise as well and try not to have naps during the day – yep all the right things, it’s really good to have those habits mostly in place while things are ok then it’s so much easier to keep them up.

So how do I feel, am I ok? Ehm, obviously not ok really, and how I feel differs per hour (pretty irregular waveform, for the geeks). Can I cope with life, daughter, the world outside and run my business? Luckily, yes. With running my own business, having others work for/with me and not doing emergency type stuff at all, that’s flexible enough to remain manageable. When I started the business four years ago some people were very concerned about the timing (and I’m not disagreeing) but it’s worked out well and reaping its benefits now.

I can joke and laugh and enjoy myself, as I realise it’s not me but just a malfunctioning part of me. I refuse to let that take over. I’m decent company (and that’s not just my own opinion). I do have some bad moments, say akin to a nasty stomach cramp (general feeling of dread), and those are more frequent right now than when things were going ok. It used to just be there every once in a while which was managable, it’s more annoying in its current state; hope that subsides soon. Last time I lost a lot of weight in a very short time, this time it seems stable and as I mentioned a light breakfast is generally doable and other meals are mostly fine.

Judgement? Ah, that’s a bit tricky. It’s not quite right and I’ve experienced examples of this over recent months before I figured out what was going on, so I need to be careful. Ability to observe yourself and often recognise cannot always prevent trouble, because clearly some of the logic applied is affected by the problem and thus currently borked. Self-awareness is good but not a complete solution here. Technical matters = usually ok, personal matters = potentially tricky, emotional matters = quagmire. Being tired I obviously need to take care to not grump or snap, not fair to take things out on other people and it doesn’t help anyone. The immediate nasty symptoms required action. Now that that’s happening… Overall, I’m functional. Of course, more sleep would be excellent!

I mentioned triggers earlier. The other day while on my morning walk I had quite a reaction to seeing a couple walk hand in hand, which is usually just regard as cute. Surprising, but there’s context. First of all and just to be clear, this is not the only type of trigger observed. Second, I know that close companionship has a very stabilising effect on my state and since I’m not currently in a relationship I can’t benefit from that. Bummer. I’m telling this because it may help others. If you have a partner (who understands), you’re likely to be in much better shape. Obviously, initiating a new relationship would be messy to say the least (not impossible though, if you’re both well aware of what’s going on), and even when already/just dating someone (which I am) tossing this stuff into the mix is a rather serious burden. That said, if you want to continue seeing the person you’re going to have to talk about it, as it’s not an optional part of who you are and they need to understand why you are and behave/react the way you do and might be a tad volatile. Oh and if you’re with someone who “doesn’t believe in it” (depression, that is) – seriously get out right now as they’re toxic to you and you’re better off without them.

When I did the little talk 3 years ago that ended up starting BlueHackers, I’d dealt with my own troubles – it was just good therapy for me and potentially useful for others to speak out, make things more open and ensure people didn’t feel alone. I didn’t think I’d find myself “back here” – still, I know I’m not alone!

It’s very annoying when part of your head doesn’t “behave” the way you want and is affecting your life for some period of time. I am able to just disregard the occasional “what am I doing this for” as I know those thoughts/doubts only pop up when that part misbehaves and it’ll disappear when things settle. That’s a relief (and probably comforting to you, the reader, too 😉 but still a nuisance in the mean time.

I’m now using these scribbles here as therapy. I don’t need pity (does anyone?) but empathy is good. I don’t want to have to pretend that everything is alright, because it bloody clearly isn’t and it costs a lot of energy which I need for getting better. I am open with the people around me too, for the same reasons: nice to still get invitations for dinner and doing stuff together with friends even when I’m somehow exuding this odd vibe that might otherwise scare people away.

Thanks for visiting – and now, out of my head. It’s mess enough without so many extra visitors 😉

because we're not just geeks – we're humans.