Last summer we bought a bunch of raspberries with the intention to make a bunch of jam. But we really got too much. So after freezing 24 pints of jam, I just juiced the rest of the raspberries and ended up with about 8 cups of juice. Into the freezer!
Now it is time to make some raspberry sorbet. I looked around online for some recipes and found that they were very similar: juice, water, sugar, and maybe lemon or lime. One recipe caught my attention because it involved invert sugar. I was hooked. But the ratios the recipe called for were way off, even at first glance. I looked up the molecular weights of sucrose and water and found that the ratio of sugar to water needed ONLY for the chemical reaction is about 95:5. Thinking that would probably end up as a solid brick of sugar once it cooled, I decided to add a little bit more water for a ratio more like 80:20. This turned out great.
Raspberry Sorbet
- 4 C. raspberry juice
- 2 C. sugar
- 1/2 C. water
- 500mg ascorbic acid (a crushed vitamin C tablet)
- pinch of salt
- 2 T. lime juice
- Raspberry juice comes from raspberries, not from a can. Press the raspberries through a strainer, squeezing out the juice, discarding seeds and thick pulp.
- In a one-quart pan, bring the sugar, ascorbic acid, and water to a boil, stirring occasionally.
- Using a candy thermometer, monitor the syrup, bringing the temperature up to 114°C/237°F/low soft ball stage. Remove from heat.
- Pour syrup into a heat-proof dish.
- Temper the syrup with about 1 C. raspberry juice by slowly pouring the juice into the syrup while stirring constantly.
- Add the syrup mixture back into the rest of the raspberry juice.
- Add salt, and lime, mixing thoroughly. Test for flavor.
- Cover the mixture and put it in the fridge until completely cooled.
- Chill using ice-cream maker until soft-serve consistency, according to manufacturer instructions.
- Put the sorbet in the freezer until frozen.
- Enjoy!
Today I had the need to reverse a binary stream using only bash and commonly-available command-line utilities. Not tac, sed, or rev, which are all line-oriented utilities that work best on ASCII data. I needed something that I could trust with binary data. This is what I came up with. Feel free to point out my weakness.
The first round was this:
reverse() { local i=0 cat | xxd -c 1 | awk '{print $2}' | tac | \ while read F; do printf "%06x: %s\n" $i $F; i=$((i+1)) done | xxd -c 1 -r }
I wasn't a huge fan of the while loop to prefix the lines with addresses for 'xxd -r'. The streams that I am using this for are only several kB max, so efficiency was not my first goal, but why not try to make it faster if you have the option? Some reading reveals that 'tac' is not available on every Unix platform. And 'xxd' is only available if you have vim installed. I swapped in 'hexdump' for 'xxd', but hexdump does not have a reverse, so I had to find a way to do that. This is where awk comes into play, doing and integer to character conversion for each line. This happens to run in about 6 times faster than the original version and uses stuff that even busybox has.
My final version was this:
reverse() { cat | hexdump -v -e '/1 "%d\n"' | \ sed -e '1!G;h;$!d' | \ awk '{printf "%c", $0}' }
You might use it like this:
$ reverse < file > file.reversed # or $ command -in -a | pipeline | reverse | process | reverse > some_output
I searched for "cherry fluffy" on Google and none of it was the genuine article. This is one of my favorite childhood desserts, along with several others that I just can't get enough of (oatmeal cake, apple pudding, cherry cheesecake, etc.) I have to post this to share and to make sure that it is there for future generations. Not that future generations are likely to turn to my blog for recipe suggestions.
Cherry Fluffy
- Crust
- 1 1/2 C. flour
- 1/3 C. brown sugar, lightly packed
- 1/2 C. + 1 T. butter, room temperature
- 1/2 C. chopped walnuts
- Filling
- 1 C. milk
- 37 large marshmallows
- 1 pt. heavy cream
- 1 can cherry pie filling
- Mix the crust ingredients together with hands
- Spread in a 9x13 baking dish and bake for 15 minutes at 400°F
- After baking, crumble with a fork while it is still warm
- Save 3/4 C. for topping and press the rest back into the bottom of the 9x13 pan; packed, but not too firm
- Heat the milk and marshmallows until melted
- Set aside to cool, stirring occasionally
- Whip cream and fold into marshmallow mixture
- Spread half the mixture over the crust in the pan
- Add the cherry pie filling in a thin layer
- Top with the remaining marshmallow cream mixture and finish with the reserved crumbled crust
- Refrigerate overnight before serving
As a child, I remember this stuff going fast. But not everyone in my family *now* likes cherries. So sometimes we make half cherry fluffy and half chocolate fluffy, substituting chocolate pudding for cherry pie filling, and then adding grated chocolate as a garnish. That is pretty tasty too, but I still love the original.
Wells Fargo!!! A heartfelt thank you for not waiting until the last minute to send out my tax documents. The deadline is January 31st for financial companies and employers to send out the various tax forms (W-2, 1099, 1099-INT, 1099-R, 1099-ad-nauseum) so that people will have plenty of time to file taxes before April 15th. In this age of computers, where I get *everything* as e-statements or other online forms, should we really have to wait for companies to sit on their cans to pop something in the _snail_mail_ on January 31st? Come on people. Does it really take that many compute cycles to calculate how much interest you have paid? Because I recall seeing something like "YTD interest paid" at the top of my bank's web page last time I logged in. And every *electronic* pay stub I get has "YTD taxes paid" and "YTD Total W-2 Earnings". I could get a W-2 and a 1099-R every day without ANY extra compute cycles.
Thank you again Wells Fargo. When the rest of the companies I do business with get it together I might be able to file my taxes and get my refund. Oh the waiting.
My '96 Geo Prizm is going on 15 years old this year with almost 130000 miles. I purchased her used in 2001 just before a long road trip to Austin, TX, for an internship with IBM. She has been a great car. I have had very few problems (and this post will likely jinx that). I finally noticed that her clutch was starting to slip. Yesterday I got her back from the mechanic to find that the radio was locked. Theft deterrent is what Delco (the radio manufacturer) calls it. I call it a pain in the butt. I call up my local Chevy dealer and they tell me they will get the code for me for $51. Gee, thanks. I just paid $1000 for new belts and a clutch. Sure, I would love to spend even more money to FIX THE PROBLEM MY MECHANIC CAUSED. I started to call the mechanic, to give him a piece of my mind, but all I got was the answering machine (I picked up the car just before closing). Tomorrow, I tell myself. Then I start poking around on google. I start searching for "geo prizm radio code" and come up with a question answer page with answers from real mechanics telling how to get the radio code for a Geo Prizm. Here is the answer they gave:
Quote: Here is a procedure if you lose power or remove the radio while the secuirty is activated.
If the security function is activated and the radio is disconnected from battery power, the radio will display "LOC." The radio will not operate until the correct code is entered. If the customer code is lost or unavailable, use the following procedures to determine the factory backup code. This procedure requires a tone dialing telephone.
- Turn the ignition switch to "ACC" or "ON" position.
- Press and hold the "2" and "3" buttons until a four-digit number appears on the display. This is the radio display code; record this number.
- Using a tone dialing telephone, call 1-800-537-5140 (USA and Canada).
- When the computer advises, enter the appropriate dealer code using the telephone keypad:
Chevrolet/Geo Dealer Parts Code: Enter a "1" and the last five digits of your Chevrolet/Geo dealer parts code, then press "*" (star key).
- When advised, enter the four-digit radio display code obtained in Step 2, then press "*" (star key). The computer will respond with the factory backup code; record this number.
To unlock the secured radio, refer to "Unlocking System After Power Loss" earlier in this section.
Armed with this information, I went to my car and got the "radio display code". I have no idea where to find a dealer/parts code. I figured that it MUST be a secret number that dealers have so that thieves cannot just call up the 800 number and ask for the unlock code. Not being a thief, I figured it was okay for me to call the number and guess a number for the dealer code. I did just this. The first number I guessed was not valid. But the second number was. Then it asked for the display code and it gave me my unlock code. Just like that. If it was this easy for me to obtain the code, this really does fall into the "pain in the butt category" rather than the "theft deterrent" category. I wrote my code down and filed it away. Thanks to Google and the fine mechanic that posted the answer, I didn't have to pay my local dealership $51 and I have a working radio again.
 GPS azimuth elevation chart with pygtk  GPS satellite azimuth elevation chart I must have spent too much time hearing the other Elecraft K3 owners talk about fancy precision oscillator stuff because when the idea got into my head that I could make a really 'simple' embedded NTP server with the bonus side-effect of a GPS disciplined oscillator, I could not get the idea out of my head. So that is my latest project. I started by reading loads of hardware spec sheets and looking at various required components. Then after I had a pretty good draft of what the plan was, I started ordering engineering samples. The hope was to do this with purchasing as little as possible in the way of parts. So far, I have acquired a good portion of the parts and hope to get a few more before I have to go get the rest on my own.
 GPS satellite azimuth elevation with traces One of the things I DID purchase was a GPS device. I didn't want any old GPS receiver, I wanted one that had a 10kHz output that is in sync with the 1 PPS output. Really this meant that I had to go with an older (used) model. But because they are a bit rare these days, that didn't really save me much in the way of money. I was giddy when it came in the mail. I started poking at it. Documentation was scarce. Finally I figured out that it has an Oncore GPS core in it, which finally led me to some more detailed documentation about the serial interface. After that, it was just a matter of whipping up some software to read and write the necessary packets. Then the fun started. I started logging data and learned how to make use of some of it. I have a handful of commands that I use to set it up and receive location updates, satellite position, and leap second information.
After looking at the location information that the receiver was providing, I moved on to the GPS location. Then I decided to make a tool to visualize the satellite positions. First I did this using ASCII art in the shell (which turned out surprisingly well). Then I added the traces of the satellite positions over the last 24 hours. This showed me some interesting things. First of all, it showed me that I had my plot wrong. (I had the north pole over in the east.... Ooops). Second, it was more a general coverage plot, since characters aren't quite so precise as pixels. This convinced me to move on to a pixel-based plot, using pygtk. This one started out simple, but got fancier as I realized that it would be easy to add a feature here and a feature there. The gtk version lets you mouse over a satellite and it shows more detail about that satellite, like the ID number, lock status, azimuth and elevation, etc. It also shows the trails of the satellites in dots that are color matched to the squares that represent the satellites. If the satellite is locked, then there is also a circle around it. The plot updates in real time with the changes in the log file from the GPS device.
 Lego CW Paddle As I read the April 2011 edition of QST, they featured a picture of a CW key made of Legos on page 20. I thought to myself that this was the kind of project I was up to. Rather than a straight key like N1LF made, I decided to go with an iambic paddle. You might be asking yourself, why would Vernon make a lego paddle when he has a cool CW touch keyer that he finished 2 months ago? Two reasons: 1) because I am a tinkerer, and 2) the touch keyer is way to sensitive and lacks the tactile feedback (I think) I want. The capacitive touch sensors I used don't seem to be very adjustible, which is unfortunate, because when I finally assembled it in the box, the key sensitivity went way up. It can sense my finger about 1/16th inch away, which means it is transmitting dits and dahs before my brain gets the tactile feedback from touching the cold aluminum. Let's see what Legos can do for me.
When I was a kid, I got some Legos Technics and loved them. I spent hours building things. I even went as far as rigging up a motor to work with them (since my set didn't have one). I kept them all those years and pulled them out this morning an whipped up a iambic paddle before work. Nathan was impressed with my skills and was happy to find that I used MY Legos and not HIS Legos. The design is all original and was mostly constrained by the variety of pieces that I had on hand. But it seems to be well built and not too wobbly. In other words, you can use it just fine, but you can't really slap it around. The only non-Lego parts are the bolt and washers for paddle adjustment, the rubber band for paddle return, and the aluminum foil for the contacts. I found an old stereo 1/8 inch plug and cord in my junk drawer and wired it all up at lunch time. It works like a champ. Maybe not so smooth as a Begali Magnetic Pro paddle that I am dreaming of, but maybe it will get me there until I can save my Euros to buy one.
I got bitten by a little APRS bug this week, right after I finished assembling my K3 while waiting for the power supply and coax to arrive. I wanted an antenna we could mount on the top of Lauren's minivan for any roadtrips we might take. But because it is not MY car, there are quite a few more restrictions. Like: no holes in the car; no physical changes to the car; not ugly (beauty is in the eye of the beholder?); why do we need an antenna again? I also placed the restrictions on it that it must be cheap (or free), easy to build, and work at least as well as my SMA-24, which is my most-commonly used HT antenna.
 DDRR electrical and mechanical I started off with a Google search of homebrew 2m antennas to find that pretty much people make j-poles or 1/4-wave vertical antennas; neither of which look good on top of a minivan. I searched more, for low-profile antennas. I suppose I could have come up with a coil-loaded whip of sorts, but I wanted something cooler. I finally found a great write-up on how to build a 2m DDRR antenna. I had never heard of a DDRR antenna before, but being fairly new to the hobby, there are a lot of things I have never heard of. DDRR means Directional Discontinuity Ring Radiator or Direct Driven Ring Radiator, depending on where you look, was originally invented by J.M. Boyer for use on ships. It consists of a 1/4-wavelength element, grounded at one end and wound into a single coil, a short distance above ground. Because I found W5GVE's article before the W6WYQ's 1971 QST "A 40-Meter DDRR Antenna" article, I followed the W5GVE instructions, which differ slightly. The biggest difference being the height of the antenna and the feed point. I may have to try again following W6WYQ's plans.
 DDRR on car closeup I started with a piece of 1/4" copper flex tubing and bent it around a #10 tin-can, which is just about 6 inches in diameter. I made a 3 inch tail with a short flange for the ground contact. For the ground plane, I found a piece of ducting sheet metal lying around. With a small piece of angle-iron and some #4 metal screws, nuts and washers, I made a secure mount for the radiator, which was now starting to look like a heavenly halo (so say the kids). Using a small strip of tin soldered to the feed wire and crimped around the tubing, I was able to adjust the feed point for optimal radiation. Once in place, I slipped the feed wires into an old empty pen for mechanical reinforcement. I marked the spot an soldered the feed point in place. I used another screw and nut to connect the shield of the coax in place below the feed point, mounting the pen over the nut. For more stability, I used an old Crayola marker tube on the side of the ring opposite the ground. I added padding to the bottom and sides so it wouldn't scratch its precious bearer, painted it for camouflage, and viola! it was finished. Oh, I almost forgot to point out that I also added means to mount the antenna: a strip of fabric connected to the front and a rope across the back to keep it down. I think it will serve usme well.
For testing throughout the development process, I used my HT at 0.5W and 5W to transmit APRS packets and to use voice. APRS is nice because if it hits a digipeater I get my packet transmitted back to me. Voice is nice because I can get a bona-fide signal report. I am not sure about the actual electrical specifications of this antenna because I do not have an antenna analyzer, a SWR meter, dip meter or anything of that sort, but it works and I think that is a good indication of how well it works.
I suppose the real test is if Lauren will let me use it on her minivan. See my antennas album for more pictures.
 My own K3/100
I have been saving my pennies (er, dollars) for almost 18 months so I could buy myself a shiny new HF base station radio without breaking the bank. I ordered stuff this last Monday in hopes that it would get here in time for my birthday. I was pleasantly surprised at how fast Elecraft processed my order. It arrived Thursday evening. I started assembly last night, worked some more this morning and afternoon and now have a fully assembled K3/100 sitting on my work table.
I was very impressed with the assembly instructions provided. They were very clear, step-by-step instructions with plenty of diagrams and pictures to make sure that nothing went amiss. I am very happy with my purchase. Now I just have to wait until Monday and Tuesday for the remaining shipments of gear and supplies to get my HF radio on the air. I am still missing my 30A power supply, coax, and antenna.
Here are some pictures of the assembly process....
 A work in progress
 Ready for the KPA3
 100W heat sink and fans
After getting my amateur radio license without having to pass a CW test, I felt a little bit cheated, so I vowed that I would learn CW and do my best to help keep it alive. After all, that is one of the two things that I remember about ham radio from my childhood (beeping and antennas). In the past year and a half, I am sorry to say that I have not yet mastered CW. But I have learned a lot about learning CW. :) Baby steps, right?
Because one reason I decided to get into amateur radio was to give myself an outlet for my tinkering needs, I felt it was only fair that I should devote some of this tinker time to learning CW. How do you do that? By making a touch-sensitive paddle with an iambic keyer. This is what I set out to do about six months ago and am proud to say that I have a working finished product to share today. Much of my inspiration was from the fine folks at CW Touch Keyer. Their products were very alluring and I almost bought one of them instead of building it myself, but they didn't meet all my requirements. (Their Master Keyer was not available yet, which I think does meet all my requirements except the actual paddle part, which you must supply yourself.)
My design goals:
- Touch sensitive paddles
- Act as an USB HID keyboard
- Small
- Variable, persistent settings
- WPM 5-100
- Variable sidetone frequency 100-1000 Hz
- Various keyer modes (iambic a/b, ultimatic, bug, etc.)
- Memories (with auto repeat)
 CW Keyboard I am happy to report that I have met these goals and more with the N7OH CW-KBD. For the low, low price of $150 you can buy the parts to build your own. I think if I had plans to make this a commercial venture, I would have to cut down on my costs. First to go would likely be the Teensy because if I swapped that out for a Microchip PIC, I could also get rid of the two capacitive touch sensors. Putting that all on a single chip with a small single board, I could certainly reduce the price some. But that is a story for another day.
I started acquiring parts for the keyboard back in the April/May time frame. I started with the basics: I needed the Teensy so I could start tinkering and get back into the AVR embedded programming mode; I needed the capacitive touch sensors so I could get a board designed and start working with them (they only came in tiny surface mount packages so I had to create a breakout board for them); I also ordered some of the other stuff I would eventually need to save on shipping later. Then I excitedly jumped into Eagle and created my breakout board. I actually created a couple of designs. Since ordering with BatchPCB has a base cost plus a per-square-inch cost, I decided that ordering a couple of different designs would not be an issue. And it turns out they sent my twice as many as I ordered (probably because the designs were so small and they had extra room that wouldn't fit anything else.) That was a really fun process though; I have never designed a PCB before.
I don't know how many hours I spent reading through the 408-page ATMega32U4 manual. I pulled out some old AVR code I had written in college and tried to make it work. I spent about as much time refactoring the old code as I would have spent writing new stuff. Finally I had some basic hardware support for timers, PWMs, and USB (with the help of LUFA.) From there, I moved back to the non-embedded space to try out the main portion of CW encoding and decoding. First I whipped up a program that would write out the proper timing for dits and dahs if given a string of text to type. It didn't take very long for that, but it was much faster to have printf and instant feedback without reprogramming a device. I ported this code back to the Teensy (with minimal changes, thanks to my portable coding techniques) and was able to get a simple program up and running that would blink "hello world." at me once a minute. I moved back to userspace and figured out how to use raw events to emulate interrupts and user timers instead of hardware timers. I extended my program to with a state machine that would read in dit and dah paddle presses and encode them into a stream of CW that can be decoded into ASCII and pushed up to the HID layer. My original state machine was too complex and introduced timing errors into the encoding, so I ditched it for this simpler version.
 Inside the CW Keyboard It took me a while to hunt down all the itty-bitty timing issues. Sometimes there were weird little hiccups in the output that I couldn't explain. I did finally hunt them down and get smooth operation though. Then I went and filled out the big wish list of coding features (memories, keying modes and speeds, etc.) This took some time but was quite fun. I also found and fixed a few more bugs that I uncovered while I was at it. After I had the list all checked off, I still didn't have the nerve to permanently affix all the parts. Up until now, they were all connected on a solder-less breadboard. I decided to get crazy and reduce the power consumption. It's not like it was a pig or anything; it was already using a low-power sleep mode and was completely interrupt driven. I knew that I could reduce the 40mA power requirement with a bit of skillful coding. While it did not have any busy loops, there were a lot of wake-ups that were not needed. For example, part of the architecture is a 1ms timer that allows things to run with a 1ms accuracy. But what if nothing needs to run? It would still fire. I managed to have the things that didn't need to run inform the timer and then have the timer shut down if there were no users. This meant than if the paddles were not pressed, it would go into a deep sleep state (<10mA) and then would wake up as soon as a paddle was pressed.
Finally, I got brave and soldered all my parts together on a prototyping board and put it in a little plastic case. I drilled holes in all the right places to allow for the connectors (power, USB mini-B, key out, paddle out, an LED, a reset button, the speaker, the volume control, and the paddles). I skillfully mounted the two aluminum paddles on a small block of wood and then cut a groove in them to make them have a solid mechanical connection to the box. I am pretty proud of the box. After I had it all assembled, I realized it was too light weight and would move around whenever I touched the paddles. I fixed this by adding some screws to the bottom so I could screw it to a plate of lexan.
 CW Keyboard Architecture The architecture of the project goes something like this:
paddles intput dits and dahs that get synchronized by the timer. Depending on the keying mode, a continuously pressed paddle may or may not continuously send dits or dahs. Also depending on the keying mode, different things may happen if both paddles get pressed at the same time. The input state machine handles all of this, resulting in a queue of dits, dahs and spaces that are ready to be consumed. The output state machine looks at the queue and sends the bits to the output pins (the buzzer and the paddle/keyer pins) as well as trying to decode the stream of dits, dahs and spaces into characters. Every recognized character gets enqueued into the HID queue, which gets sent off to the computer if it is plugged in. In addition to the two paddles, there is also a single button that can enter and exit "Command Mode." Command mode allows the user to change various parameters such as buzzer frequency, keying speed, keyer mode, paddle orientation, etc. All of these settings are saved in EEPROM, so they are persistent across power losses.
|