Press "Enter" to skip to content

Month: October 2008

Mjadara and Cabela’s

Mjadara from Lebanese Grill in Shelby Township, MI.

Today Danielle and I headed out to Cabela’s in Dundee, MI to find a winter jacket for her. Unfortunately, and contrary to what others had told us, the store did not have a decent selection of plus sized jackets. In fact, they only had one style of plus jackets, in four rather poor colors, without having the particular size which would fit best. Also, the store was nowhere near as impressive as I was led to believe, particularly in light of its place as a major local tourist destination. Except for a rare gun area the store didn’t have any particularly special items. It did have a large mountain in the center covered in stuffed animalsand a bunch of dioramas around the sides also full of stuffed animals which seemed a bit over the top, but not as over the top as the giant bronze statue of two bears fighting over a moose skull located in front of the store.

Heading back we decided to swing by REI in Ann Arbor thinking that we’d be able to quickly stop at the store and get back on the express way. Due to the ramp nearest to REI being closed and initially good traffic at the point where we could exit we pushed on further into the city and ended up stuck in game day traffic. To make it even better, this was the MSU / U of M game. We ended up stopping off at a Cottage Inn and getting a bit to eat while waiting out the traffic.

Before heading out to Ann Arbor we met up with a friend of ours named Sarah and had lunch at Lebanese Grill. I had a large plate of mjadara (as seen above) which was absolutely excellent, Danielle had some beef shawarma, and Sarah had a chicken fattoush salad. Mmm!

Leave a Comment

Tapping VoIP (aka Decoding ITU-T G.711 µ-law)

Screenshot of Wireshark decoding a RTP stream using ITU-T G .711 µ-law compression.

While setting up my Nokia E51 w/ VOIP I was informed that the communication between the handset and the server uses the ITU-T G.711 µ-law codec for the audio without any additional encryption, meaning that it is relatively easy to capture and listen in on. I’d never done a VOIP capture and decode, so I set set up a capture on the firewall (tcpdump -i gem0 -s 2000 -w file.cap host x.x.x.x) and grabbed a test phone call made to Danielle as she sat in the living room with some friends.

After opening the capture in Wireshark I used the basic built-in VOIP analysis tool to get the windows shown above. The main window is the capture and decode itself, another shows the one detected VoIP call and its details, and the third is a basic playback window replying the voice of the phone call. (Click on the image above or here for a full resolution copy of the screenshot.)

Using the RTP stream analysis stuff one is able to save out the audio as an .au file. I was running into some problems with this as one half of the conversation was padded by a few minutes of silence during export (a Wireshark bug, it seems), but the audio is still very much available. Both halves of the conversation were then brought it into Audacity, aligned, the level of the inbound (remote, Danielle) side was brought up a bit, and the audio was exported it as an MP3: voip_capture_sample.mp3.

This capture and decoding was easy for me to do because of the ready access to my own network and lack of encryption of the session. Getting another person’s calls is generally a bit more complicated. That said, imagine how easy it must be for a large government agency with a tremendous budget, amazing computing resources, and access to the backbones of the country’s telecommunications infrastructure.

Leave a Comment

SIP via Asterisk on Nokia E51

My current cell phone is a Nokia E51, one of Nokia’s more recent Symbian Series 60 cell phones. Beyond being a decent phone with a decent camera it also happens to do 802.11 wireless and be a SIP endpoint.

In short, this means that my cell phone can also be a VoIP client. Today, thanks to , my phone is working for making actual calls out via the public internet, into a server, then into the phone system.

Since there were a few quirks with getting this going I wanted to document the settings used in the phone for connecting to the Asterisk-based server.

First, make sure your phone has a valid wireless network connection available, which is done via Tools → Settings → Connection → Access points. Without a configured, functional AP your phone won’t be able to connect to the internet.

Now, to configure the phone itself, the following settings must be made:

Tools → Settings → Connection → SIP settings
Profile name: NameGoesHere
Service profile: IETF
Default access point: (Pick your access point from before.)
Public user name: sip:c0nsumer@sip.host.com
Use compression: No
Registration: Always on
Use security: No

Tools → Settings → Connection → SIP settings → Proxy server
Proxy server address: sip.host.com
Realm: asterisk
User name: c0nsumer
Password: PasswordGoesHere
Allow loose routing: Yes
Transport type: UDP
Port: 5060

Tools → Settings → Connection → SIP settings → Registrar server
Proxy server address: sip.host.com
Realm: asterisk
User name: c0nsumer
Password: PasswordGoesHere
Transport type: UDP
Port: 5060

Tools → Settings → Connection → Internet tel.
Create a profile with a name of your choice, then associate the SIP profile created earlier with this. This will set up one profile which can then be used to make calls across the network via VoIP.

After this, set your new NameGoesHere profile as the default via Tools → Settings → Connection → SIP settings → Options → Default profile.

With these settings your phone will always connect to the AP whenever it is found and register with the VoIP server. It will then be able to make and receive calls. Setting Registration to When needed makes the phone prompt before connecting to the AP and the SIP server when an attempt to dial an internet call is made. Inbound calls will not work in this case.

Leave a Comment

2007-2008 Hard Cider Bottled

Tops of some of the bottles making up just over two cases of 10% hard cider.

After letting it age in the carboy for almost a year I bottled my latest batch of hard cider tonight. Having sat for so long it had almost completely cleared, resulting in some interestingly stratified sediment in the bottom. After racking it into the bottling bucket I added 160g of dextrose and a packet of Red Star Pasteur Champagne Yeast which made the cider cloudy again, but it should settle in the bottles after carbonation.

I was able to get exactly two cases (48 bottles) filled, plus one plastic bottle as a carbonation test container. Three of the glass bottles from the case used the dregs so it might have a bit more yeast in the bottom, but it should taste fine. These were specially marked so they may be avoided.

This cider started out with an original gravity of 1.082 (on 10-Nov-2008 at 5:00 PM), was at 1.020 when racked to the smaller carboy for aging (24-Nov-2007 at 3:34 PM), and today read 1.005. Based on the formula in this Wikipedia article those numbers puts the cider at 10.4% ABV. Not bad for some local cider, dark brown sugar, and local honey.

Now I just have to wait a few weeks or so for it to carbonate before trying it. After that it might take a few more months to finish settling out and completely clear again, but it should be good to drink as soon as its fizzy. Tonight I drank the leftovers from establishing density and that tasted like a tart, lightly sweet heavy apple wine, so I have good hopes for it once it’s fizzy.

1 Comment

YES on Michigan Proposals 08-1 and 08-2

If you live in the state of Michigan, when you go to vote on November 4th you will be asked to vote on two proposals, 08-1 and 08-2 (State Proposals: November 4, 2008 General Election [PDF], from the State of Michigan).

I would like to ask you to vote YES on each of these proposals. Here is the text of each proposal along with why I feel that you should support it:


PROPOSAL 08-1: A LEGISLATIVE INITIATIVE TO PERMIT THE USE AND CULTIVATION OF MARIJUANA FOR SPECIFIED MEDICAL CONDITIONS

The proposed law would:
· Permit physician approved use of marijuana by registered patients with debilitating medical conditions including cancer, glaucoma, HIV, AIDS, hepatitis C, MS and other conditions as may be approved by the Department of Community Health.
· Permit registered individuals to grow limited amounts of marijuana for qualifying patients in an enclosed, locked facility.
· Require Department of Community Health to establish an identification card system for patients qualified to use marijuana and individuals qualified to grow marijuana.
· Permit registered and unregistered patients and primary caregivers to assert medical reasons for using marijuana as a defense to any prosecution involving marijuana.

My Comments:
In our country marijuana (specifically Tetrahydrocannabinols) is currently classified by the Federal government as a Schedule I drug, requiring that this drug not be prescribed for any reason. This is despite research showing that THC can be effective in treating a number of conditions, particularly the nausea which is associated with chemotherapy.

This legislation proposes allowing marijuana (and thus THC) to be prescribed by doctors for treating conditions as seen fit. We currently allow doctors to prescribe countless other controlled substances (opiates, in particular) which will help patients, so why not this?

Sure, it’ll fly in the face of Federal law, but changing things at a state level is the first step towards removing this Federal prohibition. It’s a slippery slope which we must start down, as once a critical mass of states adopt reasonable legislation such as this the Federal government (and in particular the DEA and drug lobbying firms) will be unable to stop it.


PROPOSAL 08-2: A PROPOSAL TO AMEND THE STATE CONSTITUTION TO ADDRESS HUMAN EMBRYO AND HUMAN EMBRYONIC STEM CELL RESEARCH IN MICHIGAN

The proposed constitutional amendment would:
· Expand use of human embryos for any research permitted under federal law subject to the following limits: the embryos —

— are created for fertility treatment purposes;
— are not suitable for implantation or are in excess of clinical needs;
— would be discarded unless used for research;
— were donated by the person seeking fertility treatment.

· Provide that stem cells cannot be taken from human embryos more than 14 days after cell division begins.
· Prohibit any person from selling or purchasing human embryos for stem cell research.
· Prohibit state and local laws that prevent, restrict or discourage stem cell research; future therapies and cures.

My Comments:
As I read this law, it will allow medical research to continue to explore the possibilities of stem cells to without imposing undue restrictions. I feel that we should do whatever we can to understand both our selves and the world around us (particularly things which may help us as a society), and I see nothing in this legislation which should be problematic. I see this legislation as bringing potential research to Michigan (read: jobs) while potentially helping the world.

One particular site, 2goes2far.com is the flag bearer forarguments against this law, but each argument seems to be quite far off base. Here’s how I see each argument, as presented by TV commercials the group is showing:

· Bull and Bricklayer: Both ads indicate that this legislation will cost taxpayers money, despite there being nothing in the text of the legislation indicating where funding will come from.
· In The Name Of Good: States that this law will allow unrestricted research on live human embryos, visually comparing the research to poorly conducted science headlines interspersed with images of black people. Tries to equate this research with scientists taking advantage of the helpless.
· In The Wrong Hands: Hints that this law will allow “profit-driven corporations” (aren’t they all?) to find a way to profit from producing embryos via purchases made from women. As selling eggs is legal and this law outlaws the sale of embryos, I don’t see how this argument applies.
· Teacher’s Pet: Hints that scientists will make human-animal hybrids after talking about using combinations of human and animal DNA for research and how this is too extreme. The jump from DNA research to full-on hybrids is a huge jump and strikes me as misguided, at best.

3 Comments

Clear Hard Cider

Hard cider, made from five gallons of local unpasturized cider and a pound of local honey.

This is what results when you ferment five gallons of unpasteurized cider from Rochester Cider Mill with a pound of Honeyflow Farm‘s honey, rack it, then let it sit for a year in a cool basement. It’s really, really, really clear.

As mentioned previously, this is the cider that I hope to bottle on Tuesday. I really, really hope it’s good. I’ll be quite disappointed if it isn’t.

Leave a Comment

Founders’ Centennial IPA

Founders' Centennial IPA poured into a glass. This is nicely hoppy.

Tonight’s beer is Founders’ Centennial IPA, a nicely hoppy 7.2% IPA. I like this, although I think that I may have liked the Sierra Nevada Southern Hemisphere Harvest a bit more.

Speaking of alcohol, today I was hoping to bottle some cider which I’d put to age almost a year ago. It’s become completely clear simply from settling in the carboy and hopefully will be good. Because it’s clear, when bottling it I’m going to have to add some yeast so that it’ll carbonate properly. Because Cap’n’Cork was closed when we got there I wasn’t able to get the yeast and thus the bottling has been put off until Tuesday. (They are also closed on Mondays, and I need some nice flavorless champange yeast for this task.)

Hopefully sometime around the end of next month I’ll have two cases of nicely aged hard cider available. I’m sure Danielle will love this.

Leave a Comment

Broken Brake Lever

Broken Avid FR-5 after falling in the rock garden in The Pines in Stony Creek.

It seems that some gnomes introduced a bit of entropy to the rock garden in The Pines at Stony Creek. When riding through there this evening I fell, hit my left knee (it doesn’t seem bad), and broke my brake lever. Good thing it’s just a cheap Avid FR-5, for which I can get a replacement from REI for $14. I have to place an order with them for a large size yellow jacket to replace the too small medium one I’d purchased, so I’ll just throw this on the order as well.

Also, coming around a corner while riding trails in the dark and suddenly seeing a child-sized silhouette in the trail with glowing eyes staring at you is a bit disconcerting. Riding alone in the woods in the dark is a bit odd and worrysome. Even the normally-cute deer are a bit frightening. I was really getting a feeling for how lost/scared one would feel if hurt out there.

Leave a Comment

Macomb Orchard Trail to Richmond

Approaching the new Macomb Orchard Trail bridge over M-53. (Riding to my parents house on 18-Oct.)

Yesterday I took off riding towards the Macomb Orchard Trail head at 24 Mile and Dequindre, then started down the trail towards my parents house. It was a good ride, except for the cold making my exposed knees cramp up a bit. I was also wearing the likely too small Canari jacket, which kept wind off of me, thusly keeping sweat from drying. Not that I wanted the 15 MPH cold headwind on me much…

After a bit over 32 miles I arrived at my parents house. My mom made a pizza then waited for my dad to get home from work. After dinner and some visiting they drove me back home, as I really didn’t want to head back out for another 30 miles in dripping wet clothes and < 50°F weather, right as the sun was setting. I should have done a GPS plot of the route I took so that I could display the route, but I didn't. So, here's the two maps of the trail (1 · 2).

As the Macomb Orchard Trail wasn’t finished properly in quite a bit of its rural area I cut off a bit of distance by taking 33 Mile Road instead of the route up to Armada. This was a nice, albeit a bit washboardy rural road, with barely any traffic on it. I would normally have just taken the trail, but the contractor for it has laid the wrong kind of gravel on the trail making it nearly unridable. This gravel is loose, doesn’t pack, and one sinks through it and tires just spin. Here’s a photo of my wheel in one of the worse parts.

Here’s the route I took:

· 22 Mile to VanDyke
· VanDyke to 23 Mile
· 23 Mile around the curve to Dequindre, to the start of the Macomb Orchard Trail
· Macomb Orchard Trail to 33 Mile
· 33 Mile to Macomb Orchard Trail
· Macomb Orchard Trail to Richmond
· Main Street / Residential Streets to My Parents House

Here’s photos taken along the ride:

· Pumpkins growing at a farm along the Macomb Orchard Trail.
· Lengthy, straight section of Macomb Orchard Trail west of 32 Mile. It was very windy here.
· Approaching the new Macomb Orchard Trail bridge over M-53.
· Looking out at M-53 from on the new Macomb Orchard Trail bridge.
· Looking at the Ford Romeo plant from the new Macomb Orchard Trail bridge over M-53.
· This bridge along the Macomb Orchard Trail is closed, but not very well. Everyone takes it anyway.
· Cows along 33 Mile Road, seen from the closed bridge.
· Crumbling footings on the closed bridge.
· This bridge is closed because of the crumbling footings. It’s part of the trail route.
· The gravel on the Macomb Orchard Trail is very loose. It needs to be replaced.
· The point where the east part of the Macomb Orchard Trail meets back up with 33 Mile Road.
· The end of the Macomb Orchard Trail in Richmond, MI.

2 Comments