Featured Post

Linkedin

 These days, I mostly post my tech musings on Linkedin.  https://www.linkedin.com/in/seanmcgrath/

Sunday, March 15, 2009

Carbs - their part in my downfall

Eve has started blogging about the fattening effect of carbs and is pointing out that low-carb regimes like Atkins are not as crazy as some would have us all believe.

I thought I would weigh[1] in with my story. A few years ago I woke up and found myself weighing 18 stone with high blood pressure, high cholesterol and a stressful, largely exercise free lifestlye.

I tried the standard approaches, precise calorie counting, fruit for lunch, nothing after 6...all that stuff. No joy. I stumbled upon Atkins and the geek in me was intrigued. I have a soft spot for contrarian conceptual models that put received wisdom through the wood chipper. I decided to give it a go although I was very skeptical. Especially when I read the sentence in the book that says something like "Remember to eat regularly. You may forget to eat.". Yeah, that will happen...

But it did. I found that I had essentially complete control over hunger pangs. With Atkins, if you are hungry you eat. That's it. It is just that you are very careful *what* you eat. Hunger pangs are not part of the recipe. You control them so that they do not control you.

So, the weight started to come off. I joined a gym and the weight started to fall off. I lost 2.5 stone without a single hunger pang. "This is trivial", one part of me said while another part of me was thinking "Perhaps my insides are turning to mush. Perhaps by arteries are disintegrating or getting clogged with lumps of cheesey egg roll wrapped in chicken skin?".

I went to the doctor for a checkup and my blood pressure and cholesterol were both significantly better than they were before. Now as a geek, I'm always wary of conflating correlation with causation. I don't know if was purely the weight loss that dropped the BP and cholesterol. Maybe the diet was not a part of it. Perhaps the diet was the primary driver of the weight loss? I don't know...and neither, it seems does medical science.

I have my weight under control now. Every now and then I fall of the wagon and it starts to climb up again - especially now that I live in the epicenter of the processed carb universe - the USA. Every now and then I drop some more carbs from my intake and the extra weight goes away. No panic. No problem.

Yes, yes I know that I really should get some exercise too but, heck, who's perfect? I'm working on it. Quit nagging! Yes, yes, I know that the scientific/medical community is very much split on this whole low-carb issue and maybe I'm killing myself.

I've seen scientific controversies before and been involved in a few (if you allow "computing" to be classed as a science that is). This one looks very familiar. It smacks of Thomas Kuhn. It also smacks of "Big Carb". Consider me a walking experiment if you like. If the low-carb lifestlye kills me, the lack of activity on my blog will let you know I was wrong and the "fat makes you fat" brigade were right :-)


[1] Ho ho ho

Saturday, March 14, 2009

Python API for Timetric

Jacob has created a Python API for Timetric with a nice Pythonic API.

Saturday, March 07, 2009

Take a look at Timetric

Some time ago, I had some ideas burning a hole in my head. Ideas I knew I had no time to pursue but felt pretty passionate about. My Two Django ideas in need of good homes posting resulted in some meetings and some false starts...but it also resulted in meeting up with three ace Django/Python programmers / "recovering" scientists, based in the fine city of Cambridge, UK. Three of the smartest folks I've ever met to boot.

It took me all of, uh, 20 seconds to explain one of the ideas to them and the result, a mere matter of months later is http://timetric.com/. it is now in public beta and you might like to check it out.

The idea is simple but has significant consequences in my opinion

The basic thought is this: What if numbers were first class members of the Web ecosystem?...
  • What if numeric quantities had their own "home" on the Web? I don't mean a great big slab of numbers, or a database, I mean the actual numeric quantities themselves : the time it takes you to drive to work, the spot price of gold, the average daily rainfall in Tanna Tuva...whatever.

  • What if the changes to those quantities are recorded through time? You would end up with a time series for each numeric quantity.

  • What if each time series was a blog, with its own feeds, its own simple web based update mechanism etc?

  • What if all these numeric blogs lived out in the cloud so that it can scale to silly numbers and provide very high availabilty?

  • What if the entire system provided simple webby APIs so that developers can upload as well as download stuff easily?

  • And last but definitely not least...what if new time series could be created using spreadsheet like formulae - and automatically updated when any of the underlying numeric quantities are updated.


That would be pretty interesting. Not a database on the web, not a spreadsheet on the Web. Something new and much more interesting on the Web.

It will be fascinating to see what types of applications get built on top of the Timetric platform.

Sunday, March 01, 2009

Dochead screening tool

Partly in jest and partly in complete seriousness. Here are a list of things I believe contribute to docheadedness.

  • A love of language. This can present itself in a love of reading, puns, typography, poetry, concern for the beautiful renderings of the theorems of Ramanujan.
  • A love of classification. This can present itself in a love of folder structures, meta-models, abstractions that blur distinctions between nouns and verbs. Formalisms like speech act theory, FRBR, HyTime, RDF. Frameworks like ebXML, TEI etc.
  • A love of reference and citation. Language referencing language. Language that references itself. Dynamically typed programming systems. Recursion.
  • An output-centric mentality for computerization. IT is good if it helps you produce great outputs quickly. Everything else is secondary.
  • A love of patterns. This can present itself in a love of music, logic puzzles, dance, cooking.

I do not know any dochead who score 100 on these but I don't know any docheads that score 0 either.

Monday, February 23, 2009

We are hiring...

Propylon have some vacancies for committed IT professionals to work with me and my team in the USA. We are based out of Lawrence, Kansas (yes, the place Django was invented) and working in an embedded team with the Kansas State Legislature in Topeka, about 20 mins by car from Lawrence.

The opportunities are for docheads. Seriously, you really need to be comfortable working with complex document-centric workflows and automation in order to enjoy this job and you need to enjoy it to be good at it :-)

OpenOffice, XML, StarBasic, Python/Jython, Java, XQuery, XSLT...

Experience in legal/regulatory environments a distinct advantage.

You can find out more about us at http://www.propylon.com.

No recruitment agencies please.

Sunday, February 22, 2009

Draconian measures - again

Avery Pennarun is pondering XML's contribution to the genre of Programmers and Sadomasochism.

For those interested in this subject http://diveintomark.org/archives/2004/01/16/draconianism is a useful springboard.

The use case that ill sits with Postel's Law is the one where I'm sending you the XML message needed to change the parameters of the [nuclear reactor/medical monitor/industrial process/zillion dollar fund transfer exchange] and you get duff XML. Should you be liberal in what you accept?

Friday, February 20, 2009

Thinkpad X61 - broken WIFI (and how to fix it)

So, I upgrade my 8.04 (Hardy) on my Thinpad X61 and get a new kernel 2.6.24-23. All is fine except the WIFI which comprehensively does not work. The flashing light under the monitor does not flash. The hardware pessimist in me thinks hardware failure. The "all upgrades have consequences" Karmic causal correlationist in me blames the kernel upgrade.

I hobbled my way to a wired network and found the solution here.