geekery


5
Jun 10

Using Mobile Safari Touch Events

As Thomas Fuchs documented here, touch events on Mobile Safari (and maybe Android, although I haven’t tested) trigger much faster than mouse click events, and can make your web application appear much more responsive with only a few small code changes. The snippet below will allow you to bind and trigger mouse clicks as usual using jQuery, but will use touch “clicks” instead in browsers that support it.

I’ve experimented with this myself, and it makes a huge difference! And here I was just thinking that my iPhone was slow…

	// "'createTouch' in document" will return true in Apple's Mobile Safari. Otherwise detect Android directly.
	function supportsTouch() {
		var android = navigator.userAgent.indexOf('Android') != -1;
		return android || !!('createTouch' in document)
	}

	// Use $('a').touchOrClick instead of $('a').click in your code.
	jQuery.fn.touchOrClick = function(efunc) {
		if (typeof efunc == 'undefined') {
			return this.trigger(supportsTouch() ? 'touchstart' : 'click');
		} else {
			return this.bind(supportsTouch() ? 'touchstart' : 'click', efunc);
		}
	};

Hope you enjoy.


11
Dec 09

Fake Steve Jobs on the Downfall of Corporate America

I know, the title’s a bit grandiose. An amazing rant by Fake Steve Jobs, a.k.a. Daniel Lyons, on AT&T’s ridiculous position regarding iPhone data usage on their network.

“…when you’re lucky enough to create a smash hit product — when the stars align, and the hardware is great and the ecosystem is great and the apps are great and the whole experience is great, and everything you do just makes everything else better, and you’re totally on a roll and can do no wrong — when that happens, you do not go out and try to fuck it all up by discouraging people who love your product. What you do, instead, is you fix your fucking shitty ass network you fucking shit-eating-grin-wearing hillbilly ass clown!”

Read the whole thing, it’s gold.

(via daringfireball).


17
Oct 09

When it starts in silos, it will never “go social.”

jayparkinsonmd:

I’ve been an avid Google fan for quite some time. I pretty much love almost everything they do. I would pay a pretty penny every year just to use gmail, reader, calendar, and docs.

And over the years, it’s been fascinating to watch them try to become social. Google’s greatest hits (search, gmail, and maps) were made for me in my own personal silo. I used them one on one and loved it. Then Reader came along and I love it. I use it one on one and it feeds me with 95% of what I need to know throughout the day. Docs came along and, from the beginning, offered me a social, shareable document that made working with others easier. And that, to me, is its best feature.

Then Google started to try to tack on the social web to almost everything— Google profiles, maps, I now have followers and viewers in Reader, I can subscribe to other’s calendars (although not so intuitively), etc.. But all of these experiences aren’t very intuitive and sort of suck. Why? Because they were tacked on after people started using them as one on one silos.

On the other hand, I love tumblr. It has become my source of information, replacing my obsession with Google reader. I feel like I personally know the people I follow and who follow me. It has become my innernet friend that augments the in-person relationships between meetups over a beer. From the very beginning, it was designed from the ground up to be social. Social wasn’t tacked on to tumblr. It was its’ heart and soul.

I had this in mind from the get go when I designed the Hello Health platform with Ghava. I read the super helpful book, Designing for the Social Web, by Joshua Porter, which got me thinking about what health professionals would need and/or like to “share” when communicating, documenting, and going through their daily routines. What are Hello Health’s social objects and what can users do with those objects? From there, we designed Hello Health from the ground up to be a secure, social platform for health professionals, patients, and medical information. I know that doctors and patients in a new healthcare network/system born in 2009 will benefit from being securely social. Value will be added for patients if they see a doctor in LA who has access to the last visit that patient had last week who visited a doctor using Hello Health in NYC. This will prevent unnecessary repeat tests and ultimately save that patient money from their health savings account. Value will be added for doctors who have access to as much information as possible about the patient they are currently seeing. They can practice higher quality medicine when presented with all the information needed to make good decisions.

What does this mean to the Health IT world? Obama appropriated $20B to trying to get more doctors to use electronic medical records (EMRs). The feds will pay doctors to “meaningfully use” EMRs. And now one of the main stipulations of “meaningful use” is that the EMRs the feds will pay for must be able to “share information.” Essentially, the feds are asking EMRs to be social. And this is what the best one looks like:

Ha. Good luck. If Google can’t do it in a meaningful way, I guarantee the Health IT world won’t come close. Regulating from the top down that EMRs become “social” is absurd. EMRs were born over 20 years ago, and they still look and function like 20 years ago. That’s why the government is regulating goddamn software. Patients’ lives are at stake and doctors are using this unusable crap. Regulations won’t come close to solving practical usability. There’s a loophole in every regulation. EMRs will “support” shareability, but it’ll be done so poorly “shareability” will be rendered almost useless. And taxpayers will be out $20B, a pathetic healthcare IT industry will be up $20B, and doctors will be stuck with a social network tacked on to 1985.

Do the Feds have to regulate Facebook? Flickr? Tumblr? Of course not. They are social because there is value in being social. The present sickness industry values secrecy, not openness. Secrecy means more profits. Secrecy means owning valuable, profitable data. Secrecy means locking users in to one proprietary piece of crap software. Secrecy means not being responsible for poor quality.

Very little, if any, of healthcare will change unless consumers stop supporting the current business model of the US Healthcare Industry and unless the Feds stop mandating that consumers support this business model. That’s fine though. In just a few years, nobody will be able to afford healthcare and they’ll surely be looking for affordable, alternative ways to feel better.


24
Jul 09

A Month, Disconnected

Everyone wants to know how my month offline was. They ask it casually, like “How’s work going?” or “What’d you do this weekend?” But it’s not a casual question. It was a huge, incredible, transformative experience. Those 30 days felt like six months. My habits changed, my relationships changed, my identity changed, my personality changed — hell, the physical shape of my body changed dramatically. I went through four legal pads trying to describe what it was like. I’m still not sure I really know.

Wonderful, thought-provoking article from Aaron Swartz. Read the rest if you please.


5
Jul 09

Nintendo DS glucose reader plugin for kids with diabetes

New Diabetes Glucose Meter for Nintendo DS

New Diabetes Glucose Meter for Nintendo DS

This is the pre-launch page for the Bayer ‘Didget’, a blood glucose meter which plugs in to the DS / DS Lite’s Slot-2. Consistent glucose testing by the diabetic child (or adult, presumably) is rewarded with points in a game that can be used to buy items or unlock levels.

http://www.bayerdidget.co.uk/

It’s these sort of simple, obvious-in-hindsight developments in medical technology that really blow my mind.

(via boingboing)


5
Apr 09

Social Media Douchebags

[...] I mention this entire story because there are thousands of people all over twitter and blogs that think throwing thousands of dollars at people that describe themselves as a “marketing guru” is the way to increase their company sales. I’m here to say I think that may very well be a waste of money, time, and energy. […]

So maybe instead of getting your company on twitter, paying marketers to mention you are on twitter, and paying people to blog about your company, forget all that and just make awesome stuff that gets people excited about your products, hire people that represent the company well, and when your stuff is so awesome that friends share it with other friends, you may not even need “social media marketing” after all.

- This is how Social Media really works (via jayparkinson).

I couldn’t agree with this more. Anyone who calls themselves a “social media _______” deserves a swift kick in the ass. Just because you post to Twitter 10 times as much as a normal person doesn’t not make you an expert in social media. It doesn’t take an “expert” at all to be loud and noticed on Twitter, Facebook, FriendFeed, etc… it just takes someone with a lot of free time.


22
Nov 08

A Future for Technology in Primary Medical Care in Canada

A few weeks ago I needed to visit a family physician in order to complete the requirements for my Australian student visa. Compared to some of my past clinic visits this one went well, but I was still struck by how inefficient the majority of medical clinics still are.

According to a study done in 2007, there is a “60% adoption by primary care physicians in Alberta” of electronic medical record (EMR) systems. This adoption rate will only continue to grow as the older generation retires and a new generation of tech-savvy physicians take their place.

The crucial point that I believe both the AMA and the CMA are missing when they track numbers such as the “technology adoption rate” is that they fail to make note of how the technology is used in each practice. Saying that 60% of Alberta practices have a computer in their office says absolutely nothing about whether (and how well) it is used to save time and money.

The problem I see with most of the EMR systems available and in use today within Alberta is that they tend to stay “within the box” – rather than attempting to use technology to find innovative solutions that simply wouldn’t be possible with pen-and-paper health records, they instead focus solely on replacing the use of paper in the traditional workflow.

One quick example of this: When I arrived at the physician’s office for my appointment, I was handed a clipboard and a pen, and asked to fill out the usual information about myself – name, date of birth, family doctor’s name, etc. Then I handed that back to the receptionist, and she typed my information into the system. What happened there? My time was wasted filling out paperwork that could have been filled in electronically in advance, and her time was wasted typing in that same information.

Bottom line is that there are many ways in which the technology available to us today can be used to save physicians, their staff, and their patients time (and ultimately, money) if only we can “think outside of the box”.

To end, I’d like to present a scenario for my ideal “techno-practice”, using current technology to rethink how primary care is delivered.

John Doe hasn’t been feeling well for the last 3 days, and his fatigue hasn’t gotten any better. He decides that he should see a doctor to make sure it’s not something more serious than a cold or the flu. He remembers reading an article recently about a new doctor in town who has a “technology practice”. John doesn’t really know what that means, but he does remember that he can book at appointment at the new doctor’s website, and that appeals to him. He does a quick Google search for the doctor’s name, and up pops the website for the doctor’s new practice in town.

He clicks on the button that says “book an appointment”, and up pops a window showing him the next 5 appointment slots available with the practice’s 3 family physicians. He’s disappointed to see that tomorrow is all booked up with the doctor from the newspaper article, but the other two doctors in the practice have appointments available the next afternoon. He clicks the button next to one of the two appointments, and then the site asks him if he’s a new patient. He clicks “yes”, and a form pops up asking him to fill in all the information the physician requires, such as name, date of birth, allergies, etc. This information will all be saved in the practice’s database so that if he comes back to see another physician in the same practice he won’t have to fill out any more information. It also gives him a username and password so that he can access electronic versions of any prescriptions and see any lab reports or imaging tests that the doctor has ordered.

He also checks a box to put himself on the cancellation list – if someone cancels an appointment for the next morning, he’ll be notified by Twitter/email/Facebook, and have 15 minutes to respond to snag the cancellation spot for himself.

The next day he receives an email an hour before his appointment, telling him that they are running 15 minutes behind schedule today – the receptionist checks off each patient as they see the doctor, so the system knows if they are ahead or behind schedule, and will notify patients accordingly.

When he arrives at the practice he tells the receptionist his name, and is shortly shown into an examination room to the doctor. The doctor ducks his head in the door to say that he’ll just be another 5 minutes. His hair is slick from the rain pouring down outside – he must have had a housecall to make just previous to my appointment, John thinks.

Soon the doctor has dried off and comes back to the examination room to meet with John. He pulls out his iPhone, and John can see a summary of the information John has already told the system – his past medical history, any drugs/prescriptions/allergies, and the reason for his visit today. The doctor can pull up any information in the system on his iPhone, which makes going out for housecalls almost as convenient as seeing patients in his office.

So, apologies for my storytelling abilities, but you get the point. There’s huge potential here to make primary practice almost fun, and I’m excited to see the current state of technology progress as I make my way through medical school!


19
Oct 08

The Conservatives and the Canadian DMCA

I seem to post more on slashdot than here, so I thought I’d copy over some of my comments.

On the article: Canada Election Result Bad News For DMCA Opponents.

First post was:

Very few outside of geeks care about the DMCA.

My response:

Understanding or caring isn’t the issue – most of the people I’ve discussed this with do care. What *is* the issue is that this, in the big scheme of things, is not enough to sway the vote. Not even for a techie like myself.

The economy, healthcare, free trade… etc. etc. – all of these are more important, and that’s why I voted Conservative, as well as most of the people I know.

IMO, their stance on the DMCA is just plain wrong. But I agree with most of the rest of their platform, and for now at least none of the other parties are anywhere close to where the majority of Canadians stand on the major issues – as evidenced by the election results.

I just hope Jim Prentice will see the light.


3
Sep 08

“No Suitable X11 Found!” in ies4osx

This is a very geeky public service announcement for a problem I was having getting ies4osx running on Mac OS X Leopard. If you get the error message when installing that says “No Suitable X11 Found!”, and you know for sure that you have X11 installed already from the OS X disc, then head to the terminal and type the following, and it should solve your problem just fine.

cd /usr
sudo ln -s X11 X11R6

And you’re done!


23
Jul 08

My New Favourite Hobby

muxtape.com/random.

You can check out mine at brady8.muxtape.com. If you make one of your own, link it up in the comments – I always like discovering new music!