Monday, July 25, 2011

I am a ROM addict

I do love my nexus one. As far as tech goes, especially phones, it may seem a bit outdated but with CM7 roms, custom kernals, and scripts like dark tremors apps to ext and chainfire, it performs beautifully and definitely outperforms newer phones with better hardware that haven't been rooted or modded.

Only thing is, when I get ROM crazy, I can spend hours playing with different configurations and trying out different things.

Last night was one of those nights - filled unfortunately with troubleshooting. Only to discover a simple fact that has been pointed out on the xda forums repeatedly - ClockworkMod's formatting of the ext partition of the sd card renders it unusable. I didn't realize that CWM was formatting sd-ext when I was doing a data and cache wipe!!!

So... all installs with data and cache wipes are going to either have to be done manually, or when the initial ROM is installed, power down and take out the sd card and format the ext partition on my ubuntu machine (or do it via usb?).

Don't forget, dummy!!

Wednesday, June 1, 2011

Project: Sleep and Remote Wakeup

Problem:  I have a main computer that I utilize as a server for media both at home and away.  There are times when I really don't need it that often and it represents a waste of electric power.
Just having it sleep presents two issues: 1. being able to wake it remotely when I want to access it  and 2. when it does sleep I need to ensure that if virtual machines are running that they are apropriately shut down / put to sleep and woken up as well
Solutions: test how virtualbox machines are handled when the computer shuts down to sleep mode.  I don't think hibernation is necessary.  Sleep mode will present enough of an energy savings.
Use a shutdown utility that runs a script prior to entereing sleep mode and write a script that will shutdown / save the machine state of the virtualbox machines as well as one that will bring them online when the machine is activated.
lifehacker article wake on lan: http://lifehacker.com/348197/access-your-computer-anytime-and-save-energy-with-wake+on+lan
lifehacker article energy:
energy: http://michaelbluejay.com/electricity/computers.html


Edit 8/8/2011:  Using the wake-on-lan feature with ddwrt made the waking up from sleep issue very easy to fix.  Currently I just access the web interface from any device with a browser and wake the server up via that route, although soon I plan to put a script in place so that all I have to do is access the router via ssh and wake it up that way.

To see if the server is active I access the router via ssh and use the 'arp' command, which lists any currently active local ip's.

It only takes about 2 minutes for the server to wake up from sleep mode and be available for access to music or ftp.

The virtualbox server (ubuntu linux) wakes up and sleeps with the primary os with no issues.

Monday, May 23, 2011

Thoughts on "Social Media"

With the quick rise in Linkin's stock price after its IPO, with something like a 140 percent increase in a few hours, the term social media was suddenly a very hot topic on every news show. The term was used a lot during the recent uprisings in the Middle East as well, with twitter and facebook being garnered with far too much credit in those situations. Or were they? I'm not sure, for though twitter and facebook may not have been directly responsible for many people taking to the streets they must have played a major organizational role. It would probably be most accurate to say that they made something easier that would have happened in the first place - namely the organization of mass demonstrations.

One thought the keeps coming to mind, however, with all these correllations between social media and democratization, is that these things rely on something that I am sure must be ultimately very fragile - a mobile or wireless network and at its most basic level an electric grid, or source of power.

It would seem to me that ensuring these two things are available without government infrastructure, or even better infrastructure that can be made available for use without government control - would be of primary importance to any person concerned with personal freedom.

I don't feel like I have the know how to make something like that work, but what would it take? I know that it is possible to make networks out of several devices - ie I think you could have several routers close enough to each other that could connect to each other and therefore create a network. How much power would be necessary to run each router? Enough to be powered by a portable solar cell? How wide could such a network extend?

I imagine a scenario where a network of routers and attendant solar panels are placed in hidden and secret locations spread out over a large area and a map is provided to the group. When some dictatorial authority takes down the communities wireless communication, this network is activated by people setting up and switching on assigned stations.

Research questions:
How would such a network work? What would be its capabilities? Would it have to be centralized with a primary server or decentralized (this relates to an article I am barely remembering about creating decentralized closed mobile networks with only routers)

Sunday, May 22, 2011

Using Dropbox for Study and Wiki Maintance

One of my primary uses for the dropbox service is as a centralized folder for keeping my notes, as a backup and in rough draft form before posting them to my nursing notes wiki. The final wiki format is excellent for organization and study and makes my notes easily accessible from anywhere - with a browser and internet connection. This latter requirement is solved by dropbox as well in that it synchronizes your folder locally across any device you install it on in case you find yourself in a situation where you have not network access (*gasp*).

Given my propensity for using different operating systems this is especially valuable to me since I can keep my notes synced through linux, windows or android using any generic text editors. On linux I prefer geany, on window - notpad ++, and I'm still working on an android version.

Editing the file while in the connected dropbox folder, which syncs every time I save my work, is an excellent way of ensuring my work is backed up to an external server as well.

My only problem with dropbox in the past has been space limitations when uploading applications for cross device use, but with text documents this is never an issue. I have explored alternatives, as well, which I use for larger files - see (link to later blog post) for those ideas.

Wednesday, May 18, 2011

Testing Scribefire

Yikes!  Over a month since any entries!  Ok, time to put this blog into the scribefire extension and try and make some use of it to spur a bit of flow.

Not that I have been totally without words.  I have been wiki mad the last couple of months, really exploring the possibilities of mediawiki on my server and starting to use it as a journal - journal in the cloud that only I have access to ( I hope!)  No passwords there just a lot of fairly uninteresting drivel about whatever is going on inside my head at the moment.  If someone was so interested they hacked in that would be fine!!  Unfortunately i highly doubt this would ever be the case.

This blog entry, then is just to see how the scribefire extension will work as far as posting to my blog.

Monday, March 7, 2011

Am I A Buddhist?

Considering the username for this blog and the associated twitter account this would seem to be a sensible question.  Honestly, it is one which I tend to ask myself from time to time!

For most of my life, and even today, I rigorously follow the adage "I would never join a club that would have me as a member."  Part disillusionment in my young hippie days, seeing the same ego, alpha male/ female games being played out among various supposedly egalitarian groups, partly an inherent distrust in any kind of authority that has dogged me from the days of my catholic school youth when the first seeds of realization that I was being lied to began their very very painful growth, this adage has become a part of me.

That being said my interest in and attraction to Buddhism is rooted in just this sort of emphasis on personal experience over the acceptance of any written dogma.  I do believe it is ultimately useful to adhere to a specific system of spirituality in order to be able to measure progress and make use of the experiences of others.

A large part of spiritual study, practical spiritual study with a real impact on my life and therefore the lives of those I come in contact with - especially my children - is about behavior.  Awareness of one's own behavior, of the causes and of methods for altering behavior.  From my limited study Buddhism offers a very powerful insight and methodology in this realm.  Behavior is essentially the realm of psychology, and I feel that Buddhism is a very advanced science of human psychology.  (My senior thesis in religious studies was on this subject).  With an emphasis on personal responsibility and experience over any sort of divine intervention and interpretation , it is a most practical methodology as well.

In the sense that Lama Surya Das explains being a Buddhist in his book Awakening The Buddha Within (which I am currently reading)-
I personally feel the  most important criteria or characteristic of Buddhist spirituality is a sincere commitment to the possibility of spiritual awakening and enlightenment, combined with an open heart, an inquiring mind, and daily awareness practice based on ethics, meditation, and wisdom.
- I would answer the blog entry's title as Yes.  This blog will serve to be, I hope, an extension of that commitment to inquiry and awareness practice.

And a place to talk about computers and gadgets, of course!

Sunday, March 6, 2011

Right Work - 1

I had a difficult time comeing up with a title for this blog entry and maybe just should have left it untitled, but essentially it is just one of many blogs concerning thoughts about my career as a respiratory therapist.  Obviously, working in hospitals doing emergency and critical care provides plenty of food for thought!

The title is a reference to one of the Buddha's Eightfold Path.  I have found that as powerful as working with the sick and dying can be in spirtual work, it is also just as much a hindrance.  I think that I may have hoped that just being in this type of career would lead to some kind of spiritual awakening, as foolish as it sounds as I write it.  The fact is, of course, that without practice and right intent, this type of work can build huge barriers in the form of despair, egotism, frustration, and anger.  The situations one is exposed to can easily feed all of these, as I have experienced first hand over and over.

I have found that I can be addicted to the cycles of despair and anger and numbness that are inevitable when consistently faced with every kind of  human tragedy.  As I forge ahead with this blog and again explore my self in relation to the events of my life I hope to record some insights that I can refer back to and may even help someone else.

Well, the tone of this blog will remain conversational and so my entries may wander a bit or go places I did not intend, so I think I will keep this one general in subject, basically an insight into where I will be coming from.  I am very emotionally involved in my work and it can be very dramatic.  I look foward to trying and putting my experience into terms that will promote positive spiritual growth instead of contributing to cycles of despair and burnout, anger and negative emotion.