[22:43:01] Aria: Build systems are like printers. [22:43:10] Aria: They’re the interface between nice neat logical stuff and ugly reality. [22:43:26] Aria: And unfortunately, that predisposes us to think of them as being part of the nice neat logical stuff. [22:43:28] Aria: Which is NOT TRUE.
New blog URL
I’ve moved my blog into my own personal domain, finally. The new address is http://aredridel.dinhe.net/. The old site should redirect everything here.
Setting the date and time on a Syntek 'G100' MicroSD video camera
Make a file called time.txt
in the root of the SD card. In it, just put the date, year first, second last: 2011/02/17 10:26:50
. Save it and fire up the camera. If you check the SD card, the time.txt
file will be gone if the camera accepted it.
Gluten-free, fruit-sweetened coconut-banana custard roll cake
Make the filling first. The cake has to be hot to roll around it.
Filling:
Blend 2 bananas, a can of coconut milk, 3 eggs, a little cinnamon and coriander.
Bake at 350 until set.
Cake:
Drop oven to 325.
Separate five eggs. Beat the whites into stiff peaks.
Blend three bananas, 2 tbsp coconut flour, 2 tbsp almond meal and the egg yolks until smooth.
Add 3/4 cup unsweetened coconut shred.
Fold the two parts together gently, trying not to destroy the loft of the egg whites
Pour onto a parchment lined sheet pan.
Bake until golden and egg has set.
Pull it out of the oven and immediately spread the custard over the surface, then roll the cake end over end. Put it seam side down on a tray. The cake will stay moist without any trouble or wrapping.
A fruit-sweetened ketchup recipe that will knock your socks off
1 teaspoon coconut oil 1 can tomato paste
Fry the paste in the oil, keeping it moving as it starts to caramelize
1 cup pineapple juice 1 teaspoon guar gum
1/4 teaspoon nutmeg 1/4 teaspoon clove 1/4 teaspoon cayenne pepper 1/2 teaspoon hot paprika
a few drops of smoke flavor
toast 1/2 teaspoon fenugreek seeds, grind and add.
Cook stirring constantly, caramelizing as much as possible.
Adjust the amount of juice to get the texture right for ketchup. Dip things in it and pretend you’ll have enough left to save for later.
Mint-tomato sauce
1/4 cup peppermint leaves 1 small can diced tomatoes 1 small can tomato puree or crush. 1 tablespoon ras el hanout, or at least cumin, cinnamon and clove salt and pepper to taste.
Cook in a pan greased with olive oil, letting it start to caramelize around the edges between stirs (it should look like “barely beginning to stick” each time, and have the pleasant hissing noise of fresh moisture hitting a hot pan as you stir.
Serve over cous-cous with meatballs.
Cold eggplant and mushroom relish
1 eggplant, cut in 1/2 inch cubes 5 or 6 mushrooms, small dice 1 shallot or 1/3 red onion, chopped fine 1 tablespoon ras el hanout spice mix garlic to taste
Sautee in olive oil (rather a lot – a quarter cup or more is awesome)
Add a half can of diced tomatoes, and salt to taste. Sautee until starting to dry again.
Serve cold.
Moroccan lamb meatballs
1 pound ground lamb, room temperature |
The Seven Sins (plus one!) with Anonymity on the Internet
Anonymity + Greed = Spam (Thanks to @mblumenthal)
Anonymity + Pride = Trolling and off-topic rants comments
Anonymity + Gluttony = BitTorrent running 24/7
Anonymity + Sloth = Spending all day watching Youtube videos
Anonymity + Lust = Watching lots of porn
Anonymity + Envy = Comparison shopping and stalking exes and potential dates on social networking sites.
Anonymity + Wrath = Racist, homophobic and nationalistic comments and defacing websites because one can.
And, for Randy at ThisIsTrue.com, maker of Get Out of Hell Free cards:
Anonymity + Stupidity = Misinformation, badly written Yahoo! Answers questions and answers, and forums full of people half-solving problems and no real fixes with understanding of why the problem happened in the first place.
Routing analog input to HDMI output under Linux
Fedora gets close on my audio machine, but it lacks the actual hardware to pass analog input to HDMI output in the audio chip itself– I suspect the route doesn’t exist.
I set the GNOME sound settings (FC14 – pulseaudio based) to Digital Output + Analog Input. Then run (make a script you can click, if you want) this gstreamer pipeline:
gst-launch pulsesrc ! pulsesink
Modern Mac Java Development
The latest releases of XCode don’t ship with Java anymore. You’ll need the Java Developer package from Apple.
(For me, this means downloading Eclipse, Java Developer, Tomcat, and the Java Web tools for Eclipse.)
A scaling, fixed background in CSS
First, right after the body tag:
<img src='background.jpg' alt='' id='fixedbackground'>
Then in the CSS:
#fixedbackground { position: fixed; /* The body will scroll over the image */ top: 0; left: 0; width: 100%; /* Scales to width of the body */ z-index: -1; /* Go BEHIND the body */ } body { background-color: #000; /* Choose a color that matches the bottom edge of the background image. Make the image match this, too, of course. */ }
An example: Leopard Creek Timber Frame
Thai Pizza
For the sauce:
- One underripe mango, coarsely diced (though ripe would work fine too, just be a lot sweeter)
- One quarter of an onion, chopped fine.
- Half a cup of chopped cilantro
- Two red ripe hot peppers, chopped fine and discarding the seeds (I used my favorite, fresno peppers, which are about the size of a jalapeño, but one could adjust all the way from a little bit of red bell to habanero peppers)
- A dash of fish sauce
- A few kaffir lime leaves, I used a pinch of the pickled canned and shredded ones
Sautee the onion, then add the peppers, then cilantro, lime leaves and mango. Add the dash of fish sauce, and cook until dry.
On top of the pizza, I put onion, mushroom, chicken marinated in soy sauce and ginger, and chunks of red bell pepper. Top with mozzarella, bake at 550ºF until the cheese and crust are crisp.
I used an extra-high-protein flour, super high in gluten and stretched super thin (so much gluten that you can’t actually ROLL the dough.) It was awesome.
RFC: A proposal for asynchronous exception handling
At the moment, if you have an EventEmitter
, and it has an unhandled exception, it terminates the node
process with an error message. This makes dealing with exceptions in nested event handlers very difficult, since there’s no containing scope other than the closure created for the callback.
I propose keeping track of the ‘current’ EventEmitter
in each event handler, snagging a reference to the parent event handler (which should be available on the stack at the time the EventEmitter
is created), and emitting an error
event on the parent EventEmitter
with the exception, passing it ‘upward’, yet in an asynchronous fashion.
Comments?
1152
I just had a most detailed dream, hanging out with a woman from New Zealand, helped her into her wheelchair because she was tired, and had this cute upper lip hair that was eye-catching. I don’t usually dream with lots of details nor remember it clearly after I wake. I kinda like it when I do.