# IceArdor's Blog

The Search for InterOperability

Sticky post

## Is it a stack or a queue?

Combining my love for aerospace engineering and computer science, stuff like this isn't uncommon in my life. How does this fit into aerospace engineering? Read.

As a general note: Adding to the top is stack behavior. Adding to the bottom is queue behavior. Retrieving from the top is stack behavior. Retrieving from the bottom is queue behavior. The "oldest" liquid is the liquid poured first. The "newest" liquid is the liquid poured last.

Pouring the liquid
You slowly pour a liquid down the side of the cup until the cup is full. Assuming no mixing has occurred, does this represent a stack or a queue (that is to say, does the "oldest" liquid sit on the bottom or top of the cup)?

It probably matters what temperature the liquid and cup are. If the cup is colder than the liquid, the cup will cool down the "old" liquid, causing it to become more dense, and "new" liquid, being warmer and less dense, will float on top of the "old" liquid until it too, is cooled down by the cup and the old liquid. This would plainly be a stack. A temperature gradient between the bottom and top of the cup should exist. Is this a linear gradient? But then for the curveball, if the liquid is water is 4°C, then cooling the liquid will decrease the density, and what was once a stack is now a queue. "Old" liquid now sits at the top. But then if you're using styrofoam or another poor conductor of heat, does this make a difference?

Drinking the liquid
Now what happens if you drink from the cup? If you use a straw, it is plainly a queue (assuming your straw isn't hovering at the top). But what if you drink from the cup by tilting it?

Does it matter what the liquid is? What if you use an oil/water combo? What if you use a highly viscous liquid like honey? What if you use a slush? What if you use a non-Newtonian fluid like ketchup or a starch suspension? Let me know what you find out.

Fluid mechanics and thermodynamics answer these questions, but there's an easier way to find out.

## Coconut Mochi Recipe

I'm pretty much in love with coconut anything right now. Here's my weekend creation.

Supposedly the big difference between baking and cooking is that baking has much tighter tolerances on ingredients. While this might be the case, it isn't for this recipe, and it isn't for many other recipes that I've made. For the most part, stuff comes out, as long as you aren't making pizza dough, bread, or pie crust. The good thing about experimenting: you might discover a combination that's way better than what the recipe called for. The bad thing about experimenting: you'll never be able to make it as awesome again.

I'm from the United States, so naturally I should be giving you measurements in the world's dumbest pounds/cups/Fahrenheit units. But if the government, industry, university, and schools don't switch to a real unit system, perhaps it'll require millions of people like me, insisting that the slug is a slimy animal, not a unit of mass; a yard is a two dimensional area of relaxation, not a linear distance short of a meter; and that there is absolutely nothing convenient or useful about Fahrenheit.

Coconut Mochi (adapted from several recipes)
• 1 box (0.45kg) Mochiko sweet rice flour
• 200-400g sugar
• 1 can (400 mL) Coconut milk
• 2 eggs
• 50-75 mL water (enough to make the batter a bit thicker than cake batter. You probably won't need any water if you use 1 cup of sugar)
• 100g unsweetened coconut flakes
• Possible addins: cocoa powder, vanilla, cinnamon, nutmeg, chopped candied ginger, fresh grated ginger

1. Preheat oven to 170.
2. In a pot, add the coconut milk and sugar. Over low heat, heat the milk just enough to dissolve the sugar. Don't worry if all of the sugar is dissolved. Remove from heat.
3. Mix flour, coconut flakes, and eggs. Stir to combine.
4. Slowly stir the sweetened coconut milk into the flour mixture, making sure not to cook the eggs. Save about 50 mL of milk (and any potentially undissolved crystals).
5. Put the remaining sweetened milk back on low heat. Fully dissolve the crystals and evaporate off some of the water. Don't let it get too warm or you'll make caramel or overcooked milk. Not what we want.
7. Add enough water to the flour mixture until it is halfway between cookie dough and cake batter consistency.
8. Pour into an 8x8 or larger pan. (greasing the pan is optional)
9. Add another 20g coconut flakes to the top of the pan
10. Pour some of your super sweet warmed coconut milk on top of the coconut flakes. You may want to save some of this glaze for dipping.
11. Throw into the oven. No points if you don't literally throw it. Cook time is around an hour. Check on it. Don't let the coconut flakes turn black.

Let the mochi cool, then cut them out with a plastic knife. Mochi is best hot, when it's a little gooey, sticky, and chewy. It's a little bit of what everyone likes.

I made these with a little over 400g of sugar, but this was overkill, especially with the glaze. If you like super sweet, hang towards the 400g range. Next time I make these, it'll be with 100g of sugar.

As a disclaimer, coconuts are high in saturated fats. While these are far superior to animal-based fats, refined fats, and fast food, please find a couple friends to eat this mochi with you. One can of coconut milk typically contains a full day's worth of saturated fat.

What is this?!?!?!

## Web App Tabs

This topic has been cross-posted on the Desktop Wishlist forum.

Back when Mozilla first released screenshots of Firefox 4.0, I could have sworn I saw a similar concept as I describe below. Apparently I was remembering a concept first promoted in Chromium OS. Nonetheless, Firefox, Chrome OS, and Windows 7 all demonstrate pieces of this concept. This is likely a feature we'll see incorporated in all browsers in the near future, especially as the web browser replaces the operating system as the focal point of the computer.
Click for full-size screenshot