Life

Went for a trip

I was walking out to the convenience store to get some sodas and cigarettes for the long night of coding I had planned. I figured it would be a simple trip there and back, but the weather had different ideas. On my way home, I was stuck in what officially being called a blizzard. It wasn’t to bad, seeing as I didn’t have far to go, but air was really cold, and the ground was really slick. I’m about four blocks from my home, crossing the street in order to catch the last bus on the return leg of my journey. I was half debating just walking home, seeing as the bus was probably going to be late anyway. I didn’t even get all the way across the street. About two steps from the curb, I stepped in a really slick spot of road, the earth disappeared below my body at around 8:00 pm. I twisted and fell straight down. I didn’t hurt very much, so I thought, well, geez, that’s embarrassing. I tried to stand, but my leg said no. Apparently I fell hard enough to break both my tibia and my fibula, and there was no way I was getting back on my feet. The truck that was stopped at the red light watched me fall down in front of him, but I assured him that he did not hit me, he never got closer than two feet from me really. The nice gentleman and his wife, whom I did not manage to catch the names of, pulled over to the side, and called me an ambulance. They were also kind enough to grab my bag of goodies from the store and put them back in the bag for me, as well as lay a very warm blanket over my body to keep me warm while we waited on the EMT to arrive. If you are reading this, and you are one of those people, thank you from the bottom of my heart!

The fire department arrived about 10 minutes later, along with a Hennepin County Sherriff, and helped me get up into the gurney to move me into the Ambulance. I’m not going to say the process was painless, but they were very caring individuals and took every precaution to prevent causing me further pain as the placed me in the vehicle. They closed the doors, and turned on the heat and injected me with some morphine. They waited a good ten to fifteen minutes for the drugs to take full effect before wrapping my leg in a protective cocoon of soft pillows and blankets, which they taped up so that the vibrations of the road would not injure me. We chatted a bit, distracting me from my leg, about life and other various stuff to pass the time, and they assured me the vehicle would not move until they were sure everything was in place to make the trip as comfortable as possible. These guys were the nicest people I’ve ever met, and I did my best to be polite and kind in return as a sign of respect. I did not bitch, groan, or moan the entire time I was in their care. It wasn’t their fault I was injured, and they were helping. I have the utmost respect for people like them. When everything was finally good to go and we started moving, the driver drove slow and steady in order to minimize any jerking caused by the rough icy road. I didn’t get their names either, but I would also like to thank them.

I arrived at the Hennepin County Medical Center emergency room at about 11:00pm. They set me up in a temporary room in Orthopedics. I was pretty good on the morphine, but the nice nurse brought me some dilaudid which killed the pain much better and much quicker than the morphine. Two X-Ray techs came and got me to take pictures of my bones, and let me tell you, that was the most painful thing I did during my entire hospital stay. They were very nice, and very gentle, but my leg was very tender. I managed to be polite and not scream at them at all, even though they insisted that it would be alright and that they would totally understand. They said, before the process even began that they would end up being my least favorite doctors. They lied. They had wonderful senses of humor that made the painful process go by quickly and far less traumatic than it could have been. They were probably my favorite people in the ER, other than the the nurse who came by periodically and shot me up with more pain killers. She was really nice! An angel sent from heaven, I swear.  Anyway, we got the pictures back from the machine, and I had a spiral fracture, one at the top of my tibia, and one at the bottom of my fibula ( I may have gotten those reversed, but then I’m not a doctor, but the big one was broken near the ankle, and the small one near the knee ).

A little later I went over my medical options with a lovely doctor with a U of M nametag. She told me that I had two main options, I could either just reset it and splint it, but then I would be in a cast for about eight to fourteen weeks, followed by a brace for a short period that I don’t remember after. My other option was that I could go for surgery, and they would shove two metal rods down the centers of my bones and nail them into place. This procedure would take about 4 weeks to heal in a brace, no cast required. I decided to go for the surgery, and then called my roommate as I was pretty high from the meds to ensure that I was making the right decision. He agreed. If I had not gone with the surgery, I would have been bed ridden much longer, and there was a very good chance that when it was all said and done, if anything went wrong I might end up needing the surgery anyway. She insisted that I could change my mind at any time before the surgery took place to not have it, but I was resolute in my decision, and went ahead with it.

I spent the night there, and the hospital food was actually quite decent. It was a bit on the mild side, but that was good for me with all the meds they had in my system. At 7:30 am, they brought me into the surgery prep room. The nurse said that the Anesthesiologist would be by shortly to discuss the knock out drugs they were going to give me, to ensure there was nothing in the mix that would cause issues. We went over my drug allergies with the drug doctor ( because Anesthesiologist is really long, so drug doctor from her on ), and after determining there would be no issues, we just talked for a bit. She injected some saline in my little attachment they had installed in the vein of my arm the day before, to ensure that it was clean before getting the drugs. I don’t remember them getting the drug. We finished talking about it, and I asked, so when are you all going to put me under, and she responded that my surgery was already over and it was now about 10:00 in the morning. I swear the woman never moved, she was even just finishing an injection that looked exactly the same as the one she was doing before I conked out. Apparently it was my wake up drugs. I was totally amazed. I spent the rest of the day and that night in the hospital for observation.

The next day I talked to a financial advisor and to my Physical Therapy and Occupational Therapy nurses. After passing their tests, they finally said that it was okay for me to come home. And that’s the story of my lovely trip in Minneapolis.

GNU Hurd, Operating Systems

GNU Hurd Enjoys User-Space Drivers

The GNU Hurd project can now make use of device drivers from user-space via DDE layer. This has allowed the use of Linux network drivers on GNU Hurd, as well as working IDE support, SATA support, and X.Org/graphics support. This currently only works on the i686 platform, but the 64-bit is reportedly not far behind the mark. Besides missing 64-bit support, USB and sound drivers are still lagging behind. GNU Hurd is finally starting to become a viable option after many years of slow development with this advance. I can’t wait to see what the future holds for them.

 

Sources:

  1. GNU Hurd Is Enjoying User-Space Device Drivers
  2. GNU Hurd/ open issues /user-space device drivers
  3. GNU/Hurd DDE userland device drivers ( PDF )
Debian, Linux, Operating Systems, Ubuntu

Debian Chooses Systemd

Debian has decided to move from Sysvinit over to systemd as their new init system for the future. With this change, Ubuntu has followed suit. What this means for the interim, as Ubuntu had preemptively chosen upstart as their init system, remains to be seen. This will mean a vast overhaul of core Ubuntu packages, so Canonical may be on shaky ground for the next couple of releases.

I think this is a good move on the part of Debian since, other than Ubuntu and its derivatives or Gentoo with it’s OpenRC, the other distributions that migrated from Sysvinit have all migrated to Systemd as a default rather than Upstart. The only downside that I see for this migration is non-Linux compatibility for *BSD based distributions, since Systemd is very Linux dependent.

On the other hand, the fact that Systemd targeted Linux at such a low level has allowed them to overcome the limitations of their predecessors, providing a level of service and compatibility in the Linux realm that has been previously reserved for proprietary systems. This is a good thing. They asked why the init system should be limited to what is compatible on all UNIX-like systems, BSD included, when it means giving up capabilities that Linux developers have worked so hard to implement into the system as if they weren’t even there. This was a very good question, and I believe that they were right to do so.

As it stands, systems not using Systemd were using shims for Sysvinit or Upstart to allow pre-requisite systemd components operate as if Systemd were installed, in order to make use of the most advanced features available in newer software. Some software packages, such as Gnome, and GDM ( Gnome Display Manager ), require these capabilities in their newest versions to even run. This is why systems based on FreeBSD don’t yet have Gnome 3.x.

In the end, Debian moving over will ultimately prove the igniting force for the last bastions of the older Linux distributions to finally pull up root and move into the future, with exceptions possibly in the realm of embedded systems. Debian has always been a slow moving giant, focused more heavily on stability than currency. I feel that if it’s stable enough for Debian, you would have to be a fool to use anything older, and I’m pretty certain that most, if not all, of the Linux community will agree with me.

Sources:

  1. Losing graciously – Mark Shuttleworth
  2. Call for votes on default Linux init system for jessie ( Debian )
  3. Debate – Init system – Upstart
  4. Debate – Init system – Systemd
Arch, Linux, Operating Systems

Enable DRM for Flash on Arch Linux

I know that Amazon is moving towards Silverlight, thanks to strong-arming from the MPAA, but for a while, Adobe Flash is still a viable option. Most of my readers will already have Flash installed, but just in case you don’t, here’s how you install it:

— With sudo

sudo pacman -Syu
sudo pacman -S flashplugin

— With su

su -c "pacman -Syu"
su -c "pacman -S flashplugin"

From this point forward, I’m only going to present instructions in sudo, as that’s what I use. Also, makepkg requires it as well to install build dependencies. This post does not cover configuring sudo, but here’s a manual if you need it.

Alright, now you should have Flash installed. You can load flash sites like YouTube, or New Grounds, and things work fine. But when you try to play streams at legal movie sites like Amazon, you keep getting notified that you need to upgrade your Flash plugin. This just simply not true. Your Flash version is not at issue here, your DRM stack is. Flash’s DRM stack relies on outmoded HAL libraries in order to process the stream into something you can play on your screen. The thing is, most Linux distributions don’t have HAL anymore, they use udisks instead.

You could go and install a HAL layer into your system, and that will fix the issue for now. The issue of course is, that only fixes it for now, and not for the forseeable future. If you want a more pernament fix that you continue to update your system with without worry of conflicts, or stuff no longer working, there is a solution. That solution comes by way of hal-flash. Chris Horler has created a shim for udisks to process HAL DRM requests from flash. It is NOT a full HAL stack. I think his solution works better than installing HAL on a modern Linux, less bugs, uses libraries that are still maintained, etc. No need to go into a full political debate here. Anyway, now to install it:

Ensure you have the base-devel group installed

sudo pacman -S base-devel

Download the AUR package

Download

Extract, and build the package

Open your favorite terminal and navigate to the folder where you downloaded the lib-hal package tarball, and enter the following commands:

tar xvzf hal-flash.tar.gz
cd hal-flash
makepkg -s

At this point, makepkg may ask you to install additional packages before continuing, please say yes to them.

Install the package

Next you’ll want to figure out your package name, so run ls to show the directory contents and look for a file ending in .pkg.tar.xz. When I wrote this, hal-flash was at 0.2.0rc1, and it was revision one of the available package build. The filename ended up being hal-flash-0.2.0rc1-1-x86_64.pkg.tar.xz. Great, now I can install my package!

sudo pacman -U hal-flash-0.2.0rc1-1-x86_64.pkg.tar.xz

Enjoy some DRM encoded movies

Now you should be able to watch just about any DRM encoded flash movies around, not just those at Amazon. I’m a strong believer that availability reduces piracy. Nothing ends it, I guarantee that, but the easier your content is to access legally, the less likely people are to go out looking for an illegal alternative to acquiring it. Remember, people are lazy, design your distribution accordingly and prosper. Now if only movie companies would get that through their heads. Music companies are getting better about it, now if they could only cure their lawsuit frenzies. Software companies have a whole load of other issues, so I’m just not going there.

Anyway, keep reading, and sharing these posts with your friends or anyone else who you think would be interested! Have a safe day, and I hope to help you again real soon. If you have questions or concerns, leave a comment below!