I decided to release my long-suffering ColdFusion datatype conversion CFC to the World.
The code is available from:
http://converttypecfc.riaforge.org/
This is a ColdFusion component encapsulating the functions below. These have been indispensable to myself and others over the past 7 years. Some of the code was inspired by other people's work but was written from scratch to overcome some of the issues I had with their code.
arrayOfStructsToList()
arrayOfStructToSimpleJSON()
arrayOfStructsToSortedArray()
displayConvertFunctionList()
getValFromStruct()
queryRowsToArray()
queryRowToStruct()
queryToArray()
queryToStruct()
structOfStructsToList()
structToArray()
structToSortedArray()
xmlFileToStruct()
xmlToStruct()
Used in conjunction with Ray Camden's toXML CFC, http://www.coldfusionjedi.com/projects/toxml/, it should enable you to throw data around like a frisbee :-)
A blog about ColdFusion, Bipolar/Cyclothymia, Sleep apnea, theatre, film scores and Life in General (tm)
Thursday, January 27, 2011
Wednesday, January 26, 2011
Preparing a release of new MVC framework
I decided sometime ago that I would release the Framework I have been developing and using in production for the past 5 years. The current work in progress version is called Coyote, which is actually Glacier version 3.
Its going to take some time to get it into a release ready state. Here is a list of things to do.
Explanation of concept.
Installation script. Give me a datasource and off we go.
Code package with working starter site and working CMS.
More items to come as i think of them.
Its going to take some time to get it into a release ready state. Here is a list of things to do.
Explanation of concept.
Installation script. Give me a datasource and off we go.
Code package with working starter site and working CMS.
More items to come as i think of them.
Little health changes because of Apnea
One of the problem with sleep apnea is all the little changes that happen. Obviously falling asleep is not little. I am talking about things like: constant nasal congestion; weird saliva imbalances; coughing up mucus; sensitivity to nasal hair.
Its tempting to say that the cpap treatment is more trouble than its worth... But given how dangerous the condition is i force myself to remember that the goal of the treatment is to ensure you die WITH the condition not FROM it.
Its tempting to say that the cpap treatment is more trouble than its worth... But given how dangerous the condition is i force myself to remember that the goal of the treatment is to ensure you die WITH the condition not FROM it.
Monday, January 24, 2011
Quick post from mobile
Just a quick post from my mobile to try out m.wordpress.com. Minimal interface but who cares if it works!
Sunday, January 23, 2011
CPAP machines and the hose problem
When you're using a CPAP machine, one of the issues you'll face after a while is the hose they give you. The hose transports the air from the CPAP machine to your mask.
Now, for whatever reason (I think it's cause of the water build up in the hose, which they call 'Rainout') the hose is corrugated.
The issue I faced is that the hose would rub against the side of the bed. You can imagine the thrrrruuupppp noise!
The other thing is that depending on where you CPAP is - height, distance... - the hose tends to pull on the mask. This leads to leaks and general discomfort.
Solution
I'd seen pictures of makeshift 'hose holders' that would suspend the hose above and behind you. The classic one is Craig's Homemade.
Not wishing to spend hours making this... contraption... I sought other solutions. I found one on ebay, which turned out to be an an online retailer called Hope2Sleep. The URL/link is below.
http://hope2sleep.co.uk/catalogue/product_info.php?cPath=21&products_id=43
I don't normally endorse things, but this does exactly what it says. It's lightweight, stores for travel and does the job. It has a loop to thread the hose through and a clip that gives you somewhere to hang your mask after sleep.
I wholeheartedly recommend it!
Now, for whatever reason (I think it's cause of the water build up in the hose, which they call 'Rainout') the hose is corrugated.
The issue I faced is that the hose would rub against the side of the bed. You can imagine the thrrrruuupppp noise!
The other thing is that depending on where you CPAP is - height, distance... - the hose tends to pull on the mask. This leads to leaks and general discomfort.
Solution
I'd seen pictures of makeshift 'hose holders' that would suspend the hose above and behind you. The classic one is Craig's Homemade.
Not wishing to spend hours making this... contraption... I sought other solutions. I found one on ebay, which turned out to be an an online retailer called Hope2Sleep. The URL/link is below.
http://hope2sleep.co.uk/catalogue/product_info.php?cPath=21&products_id=43
I don't normally endorse things, but this does exactly what it says. It's lightweight, stores for travel and does the job. It has a loop to thread the hose through and a clip that gives you somewhere to hang your mask after sleep.
I wholeheartedly recommend it!
Friday, January 21, 2011
Welcome to the Blog
Hi there. Greetings from Potton, a small town in the county of Bedfordshire in England.
My name is Michael Horne. I’m a ColdFusion developer by trade. My spare time is spent with my family and also on- and off-stage in amateur theatre. In recent years, I have been diagnosed with Bipolar Disorder and Obstructive Sleep Apnea.
I have worked at several organisations including The IEE (now The IET), Anachem Ltd, primelocation.com, Elsevier. I’m now working at ecch.com (the European Case Clearing House) near Milton Keynes, UK.
My ongoing project is the creation of an MVC framework that uses EBI (Execution By Inference) to link together code calls and a CMS. The first version was used at Anachem Ltd and was called Glacier. The newest version is called Coyote and is used extensively on the rebuild of the ecch.com website. More on that later.
I'll be blogging about all of the above... If you visit and read, and feel the urge, please leave a comment :-)
My name is Michael Horne. I’m a ColdFusion developer by trade. My spare time is spent with my family and also on- and off-stage in amateur theatre. In recent years, I have been diagnosed with Bipolar Disorder and Obstructive Sleep Apnea.
I have worked at several organisations including The IEE (now The IET), Anachem Ltd, primelocation.com, Elsevier. I’m now working at ecch.com (the European Case Clearing House) near Milton Keynes, UK.
My ongoing project is the creation of an MVC framework that uses EBI (Execution By Inference) to link together code calls and a CMS. The first version was used at Anachem Ltd and was called Glacier. The newest version is called Coyote and is used extensively on the rebuild of the ecch.com website. More on that later.
I'll be blogging about all of the above... If you visit and read, and feel the urge, please leave a comment :-)
Labels:
bipolar,
coldfusion,
mvc,
ramblings,
sleep apnea,
theatre
Subscribe to:
Posts (Atom)