Friday, December 3, 2010

A Semester of Pottery

These are the results of an amazing, adventurous semester of ART 148 - Fundamentals of Pottery. I can't wait to do more! Clearly my photography still needs some work, apologies in advance. (click an image to view a bigger version--bigger not guaranteed to be better).

First Mug


Title: "my new favorite mug"
Clay: Long Beach, cone 10
Glazes: Jed's green inside, purple eggshell matte outside. Transparent over royal blue and cactus green underglazes for the badge.
Character meaning: "tree"
Key facts learned:
  1. Throwing pottery is an activity of uncanny delight.
  2. What I imagine coming out of the kiln and what actually comes out of the kiln are two very different things.


Second Mug



Title: "catfish mug"
Glaze: Transparent
Key facts learned: Underglazes with similar colors must be layered thick for good contrast; glaze applied too thick leads to crazing.


First Bowl - One Pound




Title: "unbelievabowl"
Clay: Long Beach, cone 10
Glazes: rutile blue inside, angel eyes outside.
Key fact reinforced: the kiln is magical in its ability to defy expectation (true with every piece yet completed).


Second Bowl - Two Pounds



Clay: Long Beach, cone 10
Glazes: Coleman's purple over blue speck
Key fact learned: Remove both lifters at the same time and a clean split will develop with drying.


Third Bowl - Three Pounds



Title: "pretty ugly bowl"
Clay: Long Beach, cone 10
Underglaze and slip: Voulkos blue outside applied with a skunk-hair brush, dysfunctional violet inside.

Glazes: Non-iron blue celadon airbrushed base with rutile blue on the rim and Coleman's purple on the base.




Fourth Bowl - Black and White




Title: "Jupiter bowl"
Glazes: Miami Beach over transparent.
Key facts learned: Vaporized copper can migrate amongst items in the kiln, lending unexpected color, though more exploration is necessary to see if that's what happened this time. The coldest part of the kiln is at the top; temperature and the rate of change thereof contribute significantly to the outcome of a piece. Bubbles can form in the glaze when overheated, and certain things such as oil transferred from fingers can cause the glaze to run away from a spot thus leaving it bare. (yes, this was an educational bowl).


Pitcher



Title: "impractical pitcher"
Clay: Long Beach, cone 10

Glazes: Coleman's purple over angel eyes.


Handbuilt 1 - Leaf Dish



Underglaze: cactus green
Glaze: lion yellow (pictures taken pre-application)
Comment: remains to be fired.


Extra-curricular 1 - Food Dish


 
Title: "dish for pickles the cat"
Clay: Long Beach, cone 10
Glazes: rutile blue undercoat, teadust black inside, Coleman's purple outside.

Extra-curricular 2 - Tea Mug

Title: "Tildy mug"
Clay: Long Beach, cone 10
Underglaze: pink around rim, handle, foot and symbol.
Glazes: Coleman's purple inside, angel eyes over rutile blue on the symbol side, with Farrell 2-A on the handle side.

Monday, November 15, 2010

Reality made Virtual

In case you hadn't heard, Microsoft recently released a new accessory for their game console called the Kinect. Without going into much detail, the Kinect is packed with some advanced electronic sensors. Some people are unwilling simply to take what has been offered them as it is--these are true, free individuals, actively exercising volition; call them hackers. Within days of being released, the Kinect was unleashed, hacked to fill a bounty. Here we are, 11 days later, and one hacker has built on top of the work of other similarly intrepid minds something profound; as seen on hackaday, it is reality made virtual:


Thursday, November 11, 2010

Swirls and Spirals in GIMP

This blog has most of its traffic coming from image searches. There also happens to be few images that turn up of plain spirals when googling such a thing. So, in a shameless bid to drive more traffic, I'm going to do a short lesson on making spirals in GIMP, complete with images that are free to reuse for non-commercial purposes. There are a number of different ways to do different spirals, this is just one way that works.

1. To create a basic two tone spiral, begin by dividing the canvas in the colors desired; note it doesn't really matter how you divide the canvas, so I'm going with the second (or third) most obvious way.





2. If you want to swirl around a very specific point, such as the center of the image, it will help to paint a smallish, visible dot at this point (using guides and the snap-to-guide option might help). If you get the right size dot and do enough swirling, you don't even need to do any touch up as the dot gets swirled into the infinite beyond.

3. Be sure to select all, then use the IWarp filter (filters>distorts>IWarp), with the deform mode as either swirl CCW or swirl CW. Instead of clicking and dragging as suggested, just click repeatedly on the same spot. I prefer to do less clicking, so I set the deform amount to the maximum; you will have to experiment with the deform radius to get the result you desire. The result will look something like this:



4. If you'd rather not have a square border around the roundness, use the ellipse select, invert selection, and delete/fill/whatev. You have a true circle when the sizes in the ellipse select tool options are equal. Note that blogger is replacing transparency with black. Result:



The following process for a spiral with more than two tones can also be used for two tone, in fact if you want to end up with a circular boundary this way is probably easier.

1.Start by dividing the image into your colors.


2. Next, use filters>distorts>polar coordinates to come up with exactly the multicolored circle you need. While doing so you can abandon any preconceptions about the separation between mathematics and art, as this filter is using the Pythagorean theorem and inverse sine function (aka arcsin) to convert the image from the rectangular Cartesian coordinate system to the circular system of polar coordinates. In rectangular coordinates, a position is denoted by horizontal and vertical displacements from the center (aka origin); in polar coordinates a position is denoted by its distance from the origin and amount of rotation away from whatever is considered 0 degrees/radians. If you didn't know about all this polar coordinate business, consider how much more useful GIMP is going to be now that you do, and how generally richer life will be from now on.


3. The same as step 3 above, filters>distorts>IWarp, swirl, and click away. There will be a tiny bit of deviation from perfectly circular, this can be helped either by fine tuning the IWarp settings, by using step 4 above, or by just getting over it/seeking profession help in overcoming OCD.

Thursday, October 14, 2010

America the Gullible

In the style of Harper's Index, if with so much less elegance...



Number of deaths in the USA due to fundamentalist Islamic terrorists in 9/2001: 2,996

Estimated number of those that were US citizens: 2,669

Number of deaths in the USA due to traffic accidents in the same month: 3,303

Number of deaths in the USA due to fundamentalist Islamic terrorists between 9/12/2001 and 12/31/2008: 0

Number of deaths in the USA due to traffic accidents in approximately the same period: 303,841

Total approved, as of 12/2009, for the three military operations initiated to combat terrorism in response to 9/11 (excluding funds for CIA, FBI, TSA, Homeland Security, etc.): $1,086,000,000,000

Estimated budget for the National Highway Traffic Safety Administration over the same period: $6,520,000,000

The NHTSAs budget, expressed as a percent of the amount allocated for these military operations: 00.

Estimate, in 2008, for the final total cost of the Iraq war alone: $3,000,000,000,000

Amount allocated to the military per terrorism related US citizen death in the USA since 9/11/2001: $406,893,967.78

Amount allocated to the NHTSA per traffic related death: $21,458.59

Amount allocated to the military per terrorism related US citizen death in the USA since 9/12/2001: Undefined

Percentage of causes of death in the USA that kill more people than terrorism: 100

Percentage of causes of death in the USA that receive more public money for prevention than terrorism: 0

Percent change in gross federal debt between 2001 and 2010: 232.97

Percentage of gross federal debt in 2001 that would have been eliminated by 1.086 trillion dollars: 18.8

Amount each US household would receive given 1.086 trillion dollars evenly distributed: $9443.48

Rank of defense, excluding expenditure on active military operations, among all categories of federal spending: 1

Percentage of federal spending in 2009 that went to defense: 23

Percentage of federal income in the same year that came from individual income tax: 43

Percentage that came from social security/social insurance tax: 42

Percentage that came from corporate income tax: 7





Sources:
http://www-fars.nhtsa.dot.gov
http://en.wikipedia.org/wiki/Casualties_of_the_September_11_attacks
http://en.wikipedia.org/wiki/NHTSA
Global Terrorism Database, with specific query used
The Cost of Iraq, Afghanistan, and Other Global War on Terror Operations Since 9/11, by the Congressional Research Service (pdf)
The three trillion dollar war
http://en.wikipedia.org/wiki/United_States_public_debt
Projections of the Number of Households and Families in the United States: 1995 to 2010, from the US department of Commerce (pdf)
http://en.wikipedia.org/wiki/United_States_federal_budget

Sunday, October 10, 2010

Artificial Intelligence

Maybe I've said it before, but the idea that any intelligence can somehow be artificial feels misleading. If you separate the element of humanity from intelligence, it is easy to see that all intelligences are real, not artificial. On the other hand, the concept of artificial doesn't make any sense to me to begin with. Regardless, consider the mechanical structure of the mammalian nervous network: it is indeed a network of trillions of cells, little nodes, communication points. When you touch something, a change in net potential electrical charge of ions over neural cell membranes travels from your fingertips through nerves (made of neurons) to your brain. When it enters your brain, it traverses a number of distinct pathways en route to the mammalian cerebral cortex, which is a recent development in Life; mammals specifically have this part of the central nervous system, whereas lizards and other less evolved creatures do not. This construct of many individual nodes networked into some meta entity with whatever emergent properties is not a unique one though. Perhaps the greatest example I can think of other than the brain is this thing called the internet--it too is composed of many networked nodes, and in several senses of the word. For one, the internet works thanks to a tremendous amount of electronic switching nodes, which are in many ways similar to the neurons of our own brains. Alternatively, perhaps people are nodes in this "higher" mind called the Internet, each mind some small part of a more complicated implementation of consciousness. It is difficult to say with any certainty if the systems of switches and wires performing our rote requests is experiencing some kind of consciousness--after all, how could we tell? We can't even measure or readily define our own conscious experience, how are we to begin to hope to communicate with this higher mind!? Even then, it is certain that the construction of this higher mind is very different from the mammalian brain, and doesn't this seem to strongly suggest that its experience or manifestation of consciousness would likewise be very different? I'm reminded of higher dimensions: when you think about one, two, or three dimensions, things make a reasonable amount of sense. But when you get into higher dimensions, even just four, things cease to make hardly any sense at all. So imagine it from a different perspective, one conscious dimension lower than the one we're used to: if you were a cell, one among trillions, could you even begin to imagine the everyday human experience? And yet cells are stupendously sophisticated machines, sophisticated enough to prevent us from answering many questions about human health, answers they have to reveal.

It goes without saying that the value of science is very real, which is another way of saying that our intuition frequently misleads us--if thinking alone were enough we'd have faster than light zero-energy transportation and the galaxy would be colonized by now because the easiest way to do those things would be obvious, as obvious as the Earth revolving around the Sun nearer the edge of the Milky Way galaxy among hundreds of billions of others. Once it is seen that our rough draft perception of things is generally wrong, the confidence in human intelligence erodes, and I think makes a stronger case for "intelligence" being something not anthropospecific.

Note it is institutionally correct to capitalize Internet; it is a proper noun. Even if all this somewhat ambiguous babbling about higher minds is patently false, there's no loss in the magnitude of the Internet. For certain it has become something fairly hard to define on all levels, and regardless a boon to our lifestyle to an inconceivable degree. Imagine, if some great mind were born a few decades ago just a bit too lazy, they might never flourish for lack of access to information. Now however, an inconceivable amount of information is literally available at our fingertips (I was just getting a refresher on the mesencephalon, and earlier I was playing with Wolfram Alpha which can show you how to solve even ambiguous equations like 2x3 - 6.543x = x2, among many other things). If there were any aspiring minds starved of information before, there are definitely a lot fewer now.

Monday, September 13, 2010

Car Replacement Summarized

Since I dropped a link in the latest Gizmag post, I'm expecting an influx of international visitors.... welcome to my blog! I didn't want to put a bunch of links in my comment, so instead I'm going to weave them all together in this summary post.

When we consider what makes a vehicle energy efficient, two things are more important than anything else: weight and aerodynamics--the lower the weight and wind resistance, the lower the energy required to move. Consider the ratio of cargo weight to carrier weight (in kg): for me and the average sedan, that's about 72.6/1360.8 or 0.053; for me and my electric bicycle, 72.6/18.1 or 4.0; me and a racing bicycle, 72.6/6.8 or 10.7. It is clear that the bicycle represents one of the lightest forms of transportation, and it is thus also one of the most efficient. I am convinced that bicycles can save the world--the outline of my argument in support of this is found in my post titled A Radical Proposal (for any literature fans, yes this is a play on A Modest Proposal).

But the bicycle alone may not be enough, maybe in a sincerely fitness oriented culture, but that kind of mentality takes a long time to develop... technology develops much faster. For instance, the road I live on has a hill with a grade around 10%. In days past I was fit enough to ride my bicycle up worse, but in the time I've lived here I don't recall ever being able to make it up without feeling like I was about to keel over dead. Quite recently I added an electric motor to my bicycle, and despite more than doubling the weight I can haul up that hill in nearly my tallest gear, without even standing up--I've done this almost every day since I got the kit. Also, my legs look better than they have since shortly after I finished my trans-America tour; just because there's a motor doesn't mean I'm not doing any work! I'm going to do a very rigorous overview of electric bicycles at some point in the future, but until then this will have to suffice.

As I mentioned, weight is only part of the battle; the more significant part is wind resistance. The only way to significantly change the aerodynamics of a bicycle is to add a fairing, which generally necessitates the use of a recumbent tricycle. This vehicle is called a velomobile, which is discussed in my post Rise of the Velomobile.

The last part of the puzzle that I mentioned in my Gizmag comment is autonomous navigation and solar roadways. Autonomy is more a necessity for the very heavy and fast every day car, but the benefits of such a system would still be reaped by this ultralight human/electric hybrid. The concept of autonomous transportation and a few different perspectives on energy are covered in depth in the post Intelligent Transportation Systems. The danger caused directly by cars is covered in several posts, notably How Dangerous is the Road?, which also links to information about the very promising solar panel roadway. Solar roadways and roadway to vehicle power transmission are important because they enable significant weight reduction by reducing battery capacity requirements, which leads to further weight reduction by allowing for the use of a smaller motor.

There is still much to be covered (for instance, the average US citizen spends 17% of their income on car related expenses), but not enough time to cover it right now.

Thanks for visiting, please enjoy

Sunday, September 12, 2010

The Universe is Impossible: A Proof

A set is a group of things, ex: {dog, food}
A subset is a set that has only things also in the super set, examples: {dog}, {food}, {dog, food}
A power set is the set of all subsets, ex: {(dog), (food), (dog, food)}.

It follows that the number of things of things in a subset is less than or equal to its parent set, which is in turn less than the number in its power set.

...prepare for mindlblowing...

Suppose there is a set of all things called the universe, then any set must be a subset of the universe. But this implies that the power set is a subset of the universe, which is a logical contradiction since the power set is larger than the universe. Thus, the universe doesn't exist.

Saturday, September 11, 2010

Reconsider Healthcare

While on my bicycle ride across the country, I picked up a book by Patrick Lynch called Omega. This book was remarkably well written, and communicated in the clearest possible way the danger of antibiotic abuse. Using antibiotic measures can result in microorganisms developing genetic resistance, potentially making them more menacing. In fact there are known strains of such dangerous organisms, like MRSA aka Methicillin-resistant Staphylococcus aureus, which is named for the fact that it is resistant to antibiotics. MRSA is found most frequently in hospitals and other medical care facilities, perhaps not coincidentally the places where the most extreme antibiotic measures are undertaken. There is no question regarding the effectiveness and necessity of a sterile environment for medical practice, but it seems very clear that the tradition of doing so in one large building is not the best way to achieve said sterile environment, and thus not the best way to conduct medical procedure. There is further evidence in the grim fact that babies born by Cesarean section are more likely to have their skin be populated by the hospital flora in the absence of vaginal flora, which in many cases means MRSA and other scary bugs; MRSA is known to live on human skin and in the nose without necessarily infecting the carrier. If you are sensitive to graphic medical imagery, I'd recommend not looking at pictures of the effects of MRSA.

The really unfortunate thing is that C-sections are still increasingly popular in the USAs medical-industrial complex despite growing activism (documentary: The Business of Being Born, available on Netflix), whereas the rest of the world has continued the ancient tradition of home birth with a midwife.

The most obvious solution is that healthcare be undertaken in a physically distributed fashion by way of house calls. What else might help?

Monday, September 6, 2010

The Invisible Hand

One of the problems with free market economics is that the logical consequences depend on the distributions of supply and demand operating with the assumption of perfect information availability. The thought was that in the marketplace the true value of a good would be reached based on customers purchasing the fairest available price amongst various vendors. There are various unacceptable assumptions here and it is easy to think of situations that break that economy; perhaps the most obvious is the monopoly, but there's all the related phenomena: vertical and horizontal integration, price fixing and collusion, all the emergence of market forces no longer subject to the invisible hand. These emergent forces are to be abhorred because, as it turns out, corporate greed or the pursuit of profit at any cost turns out to be an unfun way to traverse time and transcend our animalistic consciousnesses. In my humble opinion, the purpose of industry should be to expand the sentience and influence of life in all forms; all of us brothers and sisters, how much would we gain if we learned to overcome our trivial squabbles and join together to explore the universe? I can not even imagine the wealth that might be had by all of us if our daily lives were dedicated to the betterment of life on earth instead of increasing the numbers on a bank slip.

But I digress.

The notion of perfect information distribution is these days more conceivable than ever before, but at the same time the actual effectiveness of information dispersal is far less than ideal. For instance, I had reasoned for some time that the sundry AC/DC adapters loathingly known as wall warts should be very low cost, and that the many different device side plugs and form factors were facades constructed to trick people into thinking the differences actually mattered. This artificial sophistication can be very profitable--given the customer assuming that only the OEM wall wart will work, Accme Laptops can charge a minor fortune for a replacement. Arguably worse is when Accme introduces the proprietary copyright protected uPlug, which can be purchased from Accme alone.

I had for some time been unable to find this mythical PSU, so it was with pleasure that I finally found a versatile and cheap DC power supply in a small store known as ledshoppe.com linked through Adafruit Industries. I am impressed by Adafruit, because instead of trying to sell me individually packaged LEDs for hyperinflated prices (that also just happen to be on sale for a short time only), they simply pointed me to a good direct source for LEDs and a handful of other cool items. I feel as though more than just myself will benefit from this openness, for reasons that will almost certainly be documented here shortly.

Sunday, August 29, 2010

Tacit assumptions

How much of the strife that arises in our daily lives is attributable to the assumption that we understand what we are experiencing? How much can a person recognize their own assumptions? How much do we assume?
Probably just about everything.

This isn't necessarily an insurmountable flaw, given the remarkable success of humanity, but at the same time I doubt anybody is unwilling to abandon whatever flaws they can. Recognizing assumptions is very difficult because they are by nature not questioned. Take for example the thought experiment that led Einstein to his celebrated theories; it isn't extremely technical, but rather something that had just never been considered. Mr. X explains better than I ever could, so, from episode 8 of Cosmos (feat. a song familiar to this blog already, coincidentally) (also on Netflix on demand):



The next part is equally engaging and descriptive, visualizing the surprising effects of traveling at C, the speed of light.

Thursday, August 26, 2010

What's in a Thing?

The process of philosophy is unfortunately often an exercise in mincing words across numerous tangents while the original topic fades into oblivion; this is not surprising, as definitions tend to be important in the process of understanding. However there is a systemic fault in relying on words to define our experience, namely, that words are objectively meaningless. In order to define a word words must be used, and these words have definitions themselves; the image then is of a cloud, a highly connected network that has no foundation--it depends entirely on itself for structure, like Boyle's self flowing flask:



Suppose that a Thing starts as not understood but can become understood, and that each Thing has a definition, which is a specific collection of Things. In order to understand a Thing you must understand at least one of the Things in its definition; if a Thing has no Things in its definition, it is not understood (naturally). Do you see the problem? With this arrangement of rules understanding seems entirely impossible because each definition invariably leads to more definitions. But all is not lost.

Suppose that there is a property called self evident, which is the very special occurrence of a Thing that is in its own definition; a self evident Thing is understood by default. With the inclusion of self evidence defined Things become understandable.

What is an example of a self evident Thing? Pick a number, any number!

Foundationalist philosophers seem like proto-mathematicians--a consequence of not recognizing that self evidence doesn't need to be proven, as it is enough to simply assume for the sake of argument. In an axiomatic system, the axioms are always assumed to be true. This is not done in order to answer the questions that the axiom might pose ("do parallel lines ever cross?"), but in order to derive many more interesting implications. The geometry that most people are familiar with is Euclidean geometry, and every single fact in Euclidean geometry can be proven to be a consequence of five axioms:
  1. Two different points can be connected by one and only one line.
  2. A line segment can be extended to produce an infinitely long line.
  3. A circle can be described with a point and a radius.
  4. All right angles are equal to one another.
  5. The parallel postulate: If a line segment intersects two lines forming interior angles that sums less than two right angles, then the two lines will intersect on that side of the segment.
From this simple set of rules, an obscene amount of useful consequences have been derived. In order for an axiom to be such, it mustn't be false according to any of its axiomatic peers, but there is nothing about these axioms that make them universal and inviolable outside their own system. The truth is that there's nobody more critical than a mathematician, and as a critic it is expected for them to raise objection: "Regarding axiom 5, what if two parallel infinite lines eventually cross?" or "What if all the conditions of axiom 5 are met but the lines still don't cross?" What this represents is not idle trolling, but rigorous curiosity. The objection is actually a new postulation that can be tested, and if ever a contradiction arises as a consequence of the postulation, the whole axiom can be rejected. In fact somebody raised this very objection, and after much time and effort no contradiction was found; instead, an entirely new branch of mathematics had been formulated. This non-Euclidean geometry would have no known real world application for more than 60 years, until it became the mathematics necessary to describe Einstein's theory of general relativity. Similar to mathematics, science is the process of discovering physical, measurable Things that are self evident--physical laws--that will not only explain all previous observations but also expose physically meaningful logical consequences.

The applicability of mathematics to reality is regarded as a great mystery. However, in terms of the rules above the applicability of mathematics to reality makes sense; indeed, how else might we know the universe? If there were no people around, it would be clear that reality isn't expressed in words. What we have come to know is that our experience of reality is the reception and translation of numbers and mathematical structure. When I suggest the color yellow, the thought of yellow occurs, maybe yellowish things: sunflowers, dandelions, etc, but yellow isn't defined by yellow things. What we've named yellow is actually photons oscillating with a wavelength around 570 nanometers--colors are by definition numerical, despite our experience of them as a visual cognitive phenomenon.

The case of colors is particularly interesting, because without the use of science to establish a self evident, or experimentally verifiable, numerical fact (wavelength) it is impossible to define color. There is an idea called qualia, which refers to some kind of purely subjective experience; for instance, even though most people will call a primary color by the same name, there is no guarantee that we experience the same thing. In other words, I might experience roses as what you see for the blue wavelength, but since Roses Are Red and everything I see that's called red is the same color as roses, my blue is your red. We will still agree on what items are red and what aren't, despite the fact that my subjective experience is not what you'd describe as red based on your subjective experience of light. Consider the following questions: What does pain feel like? What does a violin sound like? What does sweetness taste like? Qualia can be regarded as a word for the confusion and difficulty that comes with trying to answer these questions, particularly evident if these questions come from someone that doesn't possess the sense in concern, and thus can't gain understanding on the basis of related sensations. Qualia is still fiercely debated, and I'm not much surprised; behind every big debate there is a very ill posed question, but this doesn't imply that our experience is unquantifiable.

Consider the humble computer desktop: without a monitor, the modern desktop is apparently nothing more than a metal box that uses a lot energy in the form of electricity to warm the air. Without special tools, the only indication of activity is a light that's on when the machine is blowing out warm air, and a light that blinks at apparently random intervals when the first light is on. If this headless desktop were an alien instrument, deciphering its function would be extremely difficult. Even looking deep into the hottest part of the machine there would be perplexity abound, and a robust overwhelming with the realization that each of the over 2 billion elements might change state more than a billion times every second. Measuring the states of all of these elements at every step would be difficult given that each feature is smaller than the shortest wavelength of visible light. Even if that problem was solved, making sense of 1 second worth of data would require analyzing around 2*10^18 binary elements, which would require over 227,373 terabytes, or 222 petabytes. Even Then, the bits zooming around a CPU and patterns of gates give essentially no indication of what a computer is used for. Binary is just another way of representing quantity or number; we use decimal, which is base 10, which is kind of like saying we represent numbers with 10 different inherently meaningless symbols: 0 1 2 3 4 5 6 7 8 9. Binary is base 2, the only symbols are 0 and 1, but those symbols are equally sufficient to represent integer quantities. Thus, were you to look at the innermost workings of a CPU, what you'd see is voltages passing through a grid, sometimes changing and sometimes not. The problem is that seeing these voltages as decimal numbers wouldn't bring a modicum of sense to the madness. Even deciphering the relatively simple outbound digital video signal would be an uncanny feat; it would require a leap of imagination something like listening to Morse code and thinking that what you were hearing was actually triplets of values for a large array of photon emitters, plus whatever communication is part of the digital video standard. Some standards require two way connections, which means that before you could even draw the principal signal you'd have to have a precisely correct conversation with the machine that you're trying to figure out in the first place.


Consider the humble human being... I bet you see where this is going. Without motor function, the modern human is apparently nothing more than an elongated tube that uses water and a lot of energy in the form of food to warm the air and make fertilizer. Without special tools, the only indication of activity is from autonomic nervous function. If this were an alien instrument, deciphering its function would be extremely difficult. Even looking deep into the hottest part of the machine there would be perplexity abound, and a robust overwhelming with the realization that each of up to 100 billion elements might change state as many as 100 times every second. Assuming only full action potentials matter, and that this results in a binary signal, making sense of 1 second worth of data would require analyzing around 10^13 binary elements, which would require over 1 terabyte to store. Even Then, the bits zooming around a brain and patterns of neurons give essentially no indication of what a brain is used for. Were you to look at the innermost workings of a brain, what you'd see is voltages passing through a grid, sometimes changing and sometimes not. The problem is that seeing these voltages as decimal numbers wouldn't bring a modicum of sense to the madness. Even deciphering the relatively simple outbound analog audio signal would be an uncanny feat; it would require a leap of imagination something like looking at a continuous squiggly wave and thinking that what you were seeing was actually combinations of patterns for an abstract representation of physical phenomenon, plus whatever communication is part of the social standard. Some standards require two way connections, which means that before you could even draw the principal signal you'd have to have a precisely correct conversation with the machine that you're trying to figure out in the first place.

Is it possible to quantify the chemical senses of smell and taste? There are multiple ways on multiple scales, the most obvious: scents and flavors are particular molecules which are specific arrangements of atoms. Every atom is defined by quantities (mass, charge, etc), and the specific spatial arrangement of atoms that defines a molecule can also described mathematically... so even chemical sensation is merely an interpretation of numerical and mathematical structure. It may seem as though the mathematical definition of chocolate cake wouldn't make for much of a treat, but I'm suggesting that the mathematical definition is in fact the tasty part; there is no such thing as chocolate cake, only a variety of mathematical structures that are referred to as chocolate cake. If someone were to condense the sophisticated structure of chocolate cake down to a few succinct mathematical theorems written on a page, you wouldn't call the page chocolate cake, you'd call it a recipe; the recipe is a way to translate and understand chocolate cake, but without the quantization of the cake in some form, memorized, written, or otherwise recorded, there would be no cake. This comes across as very absurd, but consider the fact that there is no such Thing as chocolate cake; because "chocolate cake" can be interpreted as an exceedingly large range of Things, there is no objectively consistent Thing that is chocolate cake. This is different from self evident Things, which are objectively consistent; light with a wavelength of 570 nm will be light with a wavelength of 570 nm, even if you name it chocolate cake. Without a numerical level of specificity there is little assurance that everybody can and will interpret correctly.



We may never know...
Take the example of the aged philosophical question: "what is the meaning of life?" Perhaps the reason it has gone unanswered for so long is because it's an ill defined question--perhaps the question doesn't even make sense! Just because it is frequently repeated doesn't mean it is well defined. Do any of these similar sentences make sense?
  • What is the meaning of rock? 
  • What is the meaning of light? 
  • What is the color of life?
  • What is the interpretation of life?
  • What is the sound of a vacuum?



On an almost entirely unrelated note, I was pleased to find that Google had the wisdom to include the ability to search for images free for re-use, which made it very easy to produce the above image without fear of accidentally stealing the intellectual property of some profitably litigious organization. Lately I've seen this practice of open and alternative licensing (Creative Commons, GNU General Public License, etc.) referred to as copyleft. What that means I amn't certain, but regardless this free functionality provided by Google offers me a modicum of comfort given that the FBI is apparently more concerned with copyright violation than identity theft and missing persons, as noted on /. recently. As usual the law is really too complicated for "free for re-use" to make much sense; for example the fair use doctrine, which may or may not save one's ass in court if it comes to that.

    Tuesday, August 24, 2010

    silly cyclists sick music

    The compression of this data and the characteristic effects of lossy transcoding actually enhance the aesthetics of this particular audio signal, imo. Recommended signal transduction via nothing less than 5" stereo drivers capable of 50 watts RMS (roughly). It's White Rhino by Trans Am:

    Monday, August 16, 2010

    Spectrogram of a Swept Triangular Wave

    I was going about in my typical atypical way and by chance did discover a very attractive fractal that is the frequency spectrogram of a swept triangular wave. I made this quick and dirty animation of a ping-pong zoom of it:



    This was done with Audacity, GIMP, and NCH Tone Generator, all of which are free--my thanks to everybody who ever contributed code to any, it should be known that my thanks is an exponential function, for anybody who may have contributed to more than one. Also, thanks to anybody who understands any of what I write.

    It should be noted that a number of other interesting fractals can be generated, depending on the wave type and the sweep.

    Sunday, August 15, 2010

    Rise of the Velomobile

    The velomobile will be the next great technology to reach ubiquity. 

    (Assuming that everybody behaves in a perfectly rational manner, which is not a safe assumption, unfortunately)

    Near the beginning of August the web was abuzz with news that obesity incidence in the US has continued to increase; more recently, it was suggested that obese people visit general practitioners more frequently than smokers and generally unfit folks. Obesity is bad, this is not news--with the distributed costs of public health care, obesity is even worse. Another bit that isn't news is that a moderate, sudden, and sustained escalation of petroleum prices, perhaps as a consequence of finite/dwindling supply, would likely lead to cataclysmic economic destabilization because of our profound reliance upon it--a point practically self evident in the most rudimentary economic perspective. Of course for whatever reason many more people have petroleum centric anxiety manifested as fear of global warming, for which the more dire consequences won't happen until a fair while after we've already run out of gas if we keep increasing our consumption.

    But for a culture in which the automobile was supplanted by the velomobile, these problems amongst many others would be made irrelevant.

    What is a velomobile? It's a pedalcar, resembling a grown-up soapbox racer with bicycle pedals. This is a velomobile:



    The typical modern velomobile is little more than tricycle recumbent with a fairing, but these two things together make for something of an advanced vehicle. Here's what it looks like in the cockpit of a good DIY velomobile that was constructed for under $1500 (full flickr here):



    Recumbents are increasingly popular as they can provide more comfort than the usual bicycle and also utilize the mechanical advantage from having lower back support while pedaling. The fairing adds the benefit of aerodynamics, a good thing as air is the principle force that slows a cyclist. But the fairing does more than that: by enclosing the tricycle, it is suddenly a vehicle equipped to ride in inclement weather; perhaps even more important, what was a bike now strikes the casual bystander as a car. Unfortunately the fairing adds weight... and with intuition it becomes clear that with the minor addition of a small electric motor, this vehicle is the most sensible form of transportation ever devised.

    On flat terrain with no wind, an average person can sustain 25 MPH in a velomobile without much difficulty. With an electric motor I'd expect one would be able to sustain 25 MPH while going up a decent hill.

    There are many exciting things about velomobiles--by my figuring they potentially represent the cheapest, safest, cleanest, healthiest, and most sustainable form of transportation ever conceived--but the most exciting thing about it all is that like bicycles there's already an international legal precedent for their use on public infrastructure. In the US a velomobile is classified as a moped, as long as it has pedals and doesn't exceed 20 MPH (varies by state). Because of this a velomobile can be piloted on public roads with all the rights of a cyclist, which tend to be more generous than the rights of motorists, no registration or insurance necessary. Newer velomobile designs incorporate headlamps, turn signals, and brake lights; with an electric motor you could drive with city traffic as though you were one of the internal combustion monstrosities. The biggest problem with velomobiles is that they haven't caught on yet, and as part of that, nobody has been able to produce one on a large scale for a price within reason.

    This is an incredible custom velomobile, replete with water-filled airbag suspension (full flickr here):


    This velomobile is somewhat commercially available, total price >$6000 (retail site here, worklog here):



    With the widespread adoption of velomobiles our country could reap the benefits of increased general health with vastly reduced vehicle related expenditure, and thus an increase in overall prosperity. Perhaps even more important, we'd reduce our exposure to calamity by decreasing our extreme dependence on a steady (and foreign) supply of petroleum at a steady (and low, and further subsidized) price. Not that I think adoption should be limited to US.

    Saturday, July 24, 2010

    Predictive prose

    One of the great things about a software keyboard (and open software) is that a different keyboard can be had with no more than a download. What is even more interesting is that by digitizing the keyboard, it can easily function in ways that were previously impossible. Recently I downloaded the beta for SwiftKey, an android software keyboard that aims to improve with a feature whose removal I've long bemoaned: predictive text. The short story is that I'm (naturally) very interested in the behavior of this software, and simultaneously impressed and disappointed at its performance. Quickly it became clear to me that I was witnessing artificial intelligence/machine learning, and aloof with a sense of uninhibited exploration I sought to set free the voice inside the machine. With minimal input, I guided the software in constructing sentences, in the process revealing patterns that were part of prior training. This is what my keyboard had to say:

    My plan relied on Sunday morning, so if we could find a little bit more time to get a chance to win. I am feeling very well presented and I will be in a few weeks. Hey, you're sure that you are interested in joining us? I think we should be able to make a difference. I am going to have the capability to be a great deal of More information on this one. I am a beautiful place on the web, and I will have a great time. Hey everyone, I have a good idea to advertise. Good luck with the word of mouth upon discovery of the many authors, and thats what you think about this product. Good morning!! Good morning 2,I. Good luck with the latest version of the week. Good luck with your own virus checking software. Good luck with the new year. Good morning, but it feels like a plan to use the search page, or if you want me to come over? Just wondering if you have to get the most popular videos. Is it possible to get a bit of funding for balsa wood and aluminum foil balloon attached to the following models of common knowledge and experience of the day off, but it feels like a good idea to me. We will be able to make it go faster before it finishes and then we can get some work done. I think, and I am. I am feeling very tempted by electric bike kits. I am going to be a good idea to advertise your company slogan. I am a beautiful person. I am a man who has been a bit of a question about the whole thing was that the top prediction for the letter i when following for is instance ; most other times the recommendation is simply " I. I am a bit of a question about the whole thing was that the top prediction for the letter i when following for is instance ; most other times the recommendation is simply " I. Hey, your skate is still on the web, go to the list. I am feeling very tempted by electric bike kits. Hey guys. Hey everyone else. Hey everyone, I am a beautiful person. Hey everyone, I think I have to retake calculus 2,just. Hey, you're way amazing and the rest of the many advantages of open software, new research has revealed that the top prediction for the letter i when following for is instance ; most other times the recommendation is simply " I. Thanks for the next few weeks. Thanks, but I think I'll be back for more information about yourself and your function in the morning, and thanks for the next few weeks.

    Tuesday, July 6, 2010

    Matter and Electromagnetism

    With precisely 20 minutes of focus anybody can come to know a very significant portion of the foundation of our physical reality.


    Saturday, July 3, 2010

    Motorsport: Rally

    Despite my fervent conviction that cars should not be used as they are, I'm actually something of a sucker for motorsports. In particular, it is with ceaseless amazement that I witness rallying. As far as forms of vehicle races go, few are in the same league as rally racing; certainly none require traversing such a diversity of surfaces, including none at all.

    The World Rally Championship (WRC) is the best known international rally series. This video clearly shows that being a rally driver requires equal portions of insanity and talent, and, in the case of the co-driver, the ability to maintain literacy while under extreme duress. Coincidentally, the song played for most of the video is one that has also been showing up in my Pandora.

    Friday, June 25, 2010

    Regarding Grammar Nazis

    i gotta wunda yzit dey tinkin wedadumwuns wen ryting disway canb far moar efishunt and expresiv. peepol who thro a fit abowt sumdin liek da cowrecked form uv ther mussb dadumwuns cuz da meenins clear frum contxt... uddawyz ther, ther, an ther woodall sownd diffrnt to. point izat if i sed ther sittin ova ther on ther lawn, yad no wat i meen, so ynot makit da same for rytin.

    There are occasions that call for communicative and thus linguistic precision, which demand the correct use of words, syntax, grammar and so forth. However the notion that any non quantitative language can be used with maximum communicative efficacy is foolish. For instance, a studied linguistic prodigy could write a whole story with what was intended to be communicated hidden (but nonetheless objectively discernible) in the etymology of choice words while maintaining a coherent facade--in other words steganography by etymology. Similarly a word might be used such that several of its meanings yield sensible interpretations. The mere fact that many words have multiple distinct meanings is enough to indicate that absolute precision in communication by this language is unlikely. Despite this lack of objective precision, communication is surprisingly robust; people often use words thinking they mean something other than what they actually mean, yet the intended meaning comes across (more often than not, in my experience). The modern paragon of this situation is the phrase "beg the question," commonly used as though it means "causes the question to arise." This usage is unequivocally false: the phrase comes from formal logic as the fallacy of assuming what is to be proven, first defined by Aristotle ~350 BCE.

    It's not just the uneducated masses who abuse conventions, a good number of celebrated authors have as well: Emily Dickinson's work is superficially characterized by a distinct misuse thereof, Jose Saramago won the Nobel Prize for literature for a book that abandoned all rules regarding punctuation of speech, and for his best known work "A Clockwork Orange" Anthony Burgess successfully discarded much tradition in favor of a largely fabricated and evocative lexicon. Even authors for whom the principle intent is not to explicitly subvert tradition will occasionally see fit a bit of unrestrained expression. Intentional subversion of convention is not necessarily better than the accidental, as the important consideration is efficacy of communication; if technically incorrect writing communicates more effectively than the cowrecked alternative it must be qualitatively superior. Objectively the rules of writing should only matter as much as they aid in communication since it is the primary objective. This is a good thing, as the rules of writing are so complicated that even professional authors require editors to point out all the errors. If technical proficiency is more important than communication then language kinda loses its point, amirite?

    Clearly there are cases in which abandoning standards is more effective or desirable than abiding by canonical stricture, thus rendering the concern at hand nebulous. Are we simply to assume that people who replace 'because' with 'cuz' are idiots, or is it possible that certain other people are inflexible pedants unable to realize that 'cuz' is an efficient, effective and unambiguous replacement of 'because'? The truth is that language is evolving, as it has from inception, the only difference being that presently it is happening fast enough for crotchety pedagogues to notice and complain. If it weren't for such odd sociological pressures I think this evolution might happen much faster, at the very least cuz it does (with intriguing results) when distinct languages intersect.

    Some portion of people who started reading this won't make it to this point cuz of my possibly disconcerting choice of ostentatious diction (further rent til but a tortuous enigma did remain :P), which is too bad because they don't get to see this part where I expose my erudite articulation to be a Planck thick veneer over an idiocy so profound it is capable of using cuz and emoticons, and in, liek, a run on sentence. Another portion will get here having not fully understood what I've intended to communicate. Notice that for both of these cases it isn't my failure to comply that causes a communication breakdown but my technically acceptable overzealous use of multisyllabic words that might appear on the GRE.

    To me the emergence of glyphic phenomena such as lol, \o/, :/, :|, :), :D and :P indicate a previously irrelevant deficiency in the ability of our communication medium and language to express ourselves sufficiently; in other words it's really hard to convey any emotion in the terse typed (not even handwritten!) form which has recently rapidly grown to unprecedented ubiquity. To not recognize the validity of these modern phenomena even in traditional print just seems stodgily conservative. Similarly if my use of unconventional symbolic representation lowered a persons judgment of my already limited intellect, I'm afraid I may no longer consider their ability to judge sound.


    I cannahelp but tink dat deybdadumwuns tinkin as dey do dat da comma is anemor dan vizul garbish.

    Wednesday, June 16, 2010

    Garrett Lisi: Unification Theorist

    Garrett Lisi is a particle/theoretic physicist who has come up with a very intriguing theory, one that mathematically unifies the quantum and relativistic branches of physics. The theory is fascinating and attractive, despite being essentially beyond comprehension. I had read about his theory at some point a while back and found it of general interest and know I've brought it up in discussion many times. Those times though my recollection was poor and didn't communicate the very important bit that is the author's name, but now I don't think I'll forget.

    Unification is of course the holy grail of modern physics, an achievement similar in magnitude to curing cancer. A great thing about Lisi's theory is that it makes predictions which should be answered when the LHC makes it to full power. I have mentioned already that the theory is naturally appealing, and I wasn't lying: his paper is the most downloaded of all on arXiv.org, which is probably the largest online collection of pre-print scientific articles.

    At the 2008 TED Lisi gave a presentation, his attempt at a lay explanation of the theory. You might want to take a moment to breathe deep and clear your mind before you watch...


    Saturday, June 12, 2010

    A Million in a Briefcase

    A million dollars in a briefcase is almost the ultimate cliche, and accordingly diverse in its performances. Cliche is usually regarded as derogatory, but I must disagree--after all, where would we be without a million dollars in a briefcase? It is certainly cliche, but not in the sense that it is indicative of an absence of creativity; the briefcase by itself is totally ambiguous, lacking narrative, but it has strong potential to characterize any scene that it is placed in. In this sense the briefcase is more a character than a simple plot refrain.

    For the other half of the brain: have you ever wondered if a million dollars would actually fit in a briefcase? These things are easy enough to figure out these days. The dimensions of US currency (from here) are about 6.1 x 2.6 x 0.0043 inches, and a common briefcase size is 18 x 13 x 5 which is enough space to hold around 17,450 bills. If each of those were hundreds, that would be $1,745,000. In fact a slim 3-inch briefcase can hold a million dollars. If someone really wished to avoid being cliche they could take the money in pennies, though it would be a poor choice; a hundred million pennies weighs just over 550,000 lbs, and all of them stacked would make a tower almost 79 miles tall.

    Saturday, May 22, 2010

    Google Shenanigans

    Google has been all over the news today for making their homepage logo into a playable Pac Man game. Something I find interesting is that while none of the news I saw mentioned it, Google is also running a round of voting for the selection of drawings submitted by primary school children to be used for the logo at a later date. The contest is called Doodle 4 Google and is run in partnership with Smithsonian. The drawings are a handful selected from over 33,000 entries under the theme "If I could do anything, I would...," each with a short statement. I found the remaining candidates interesting despite what seems to be an obvious presence of bias in the selection process prior--I would love to believe that around 40% of US children have the restoration and preservation of Earth as top priority, but I have a feeling that on the whole entries might have been more along the lines of the finalist who answers with "...go to Japan," but with less deft artistry.

    It seems that most of the time I see Google in the news it is over some imagined privacy theft, as though Google is secretly plotting to shame everyone on Earth at the same time by revealing our most incriminating queries (or what have you). Clearly in this case they are harvesting the unbounded imagination of our children... who knows what nefarious deed Google might conspire based on the suggestion to build subsidized housing for the homeless on the moon. And not only that, but Google with their unquenchable lust for data couldn't help but steal our opinions on this information too, as if their stated plot to give away 3 laptops, 80 netbooks, $15,000 scholarship, and a $25,000 computer lab grant weren't nefarious enough.

    Actually I am somewhat disappointed by those figures, they seem a bit paltry (relative to Google); $15k wouldn't even pay for a degree at an in-state public university. Voting takes place here and is only open 5/18-5/25.

    Wednesday, May 19, 2010

    Mandelbrot Composition

    Some more results of exploring reflection and the Mandelbrot set:



    Thursday, May 13, 2010

    Iteration

    I've added threaded scene capture to my ray tracer so that I can make animations. Combine this with a map of the Mandelbrot set, and you can do things like this:


    This animation also uses the reflection model of the ray tracer to complicate things a bit near the end, as you may have noticed.


    One of the first animations I got out plays like a short film:


    This result was accidental, I had meant to iterate by floating point values but was casting to integers at the wrong place; as it turns out, some interesting things happen around integral values.

    If that's a short film, this might be a summary of that film:



    note that I practically always display the set with a basis orientation contrary to convention--this is mainly because the blobs lend themselves more readily to anthropomorphizing than the alternate, and are thus naturally more aesthetic.


    The following shows the set lights off and lights on:


    In fact, the only difference between the two (IIRC) is that for the second I added an additional light to the ray tracer.

    Saturday, May 8, 2010

    Deepwater Horizon

    The recent explosion of Deepwater Horizon and subsequent venting of crude oil has garnered a lot of coverage lately, and rightly so. However, there's an interesting perspective to this story that I think has been overlooked.

    Consider that the estimated minimum leakage rate is 5,000 barrels of crude oil every day (according to Reuters). Is this a lot?  The daily consumption of petroleum in the US is somewhere around 19,500,000 (2008 data, from EIA); 5,000 barrels is 0.00026% of our daily consumption of refined petroleum.

    There's a really important point in this: a sleight 5,000 barrels of crude oil per day seeping into the ocean is enough to do quite a bit of damage. With that in mind, doesn't it seem reasonable that the gases seeping into the air from burning 19,500,000 barrels every single day would probably have some consequences?

    If only all consequences were as obvious as tar covered wildlife washing onto our doorsteps. There was a time, not long ago, that we could get away with pretending that the Earth was an infallible provider of infinite resources. That time has now passed, and the oblivious industrious bustle of humanity elicits tacit threats of autocataclysmic destabilization, by endeavors of awe-some magnitude undertaken at unprecedented pace with slightest regard for the fragile ecosystem from which we emerged. I'm immensely saddened to see the failure to  prioritize the maintenance of viability for life on Earth, particularly when it is overlooked for something as senseless as one more quarter of profitability. If only corporations were most interested in ensuring the future of life, if only...


    *update*
    New estimates place the rate of flow around 200,000 barrels a day. Even though that's a mind boggling amount of oil, it's still only 1% of the daily US consumption--and worldwide consumption is a fair bit more than that.

    Wednesday, April 21, 2010

    The Secret to Weight Loss

    This is a "common misconceptions" post that I've been meaning to do for a long time, and thanks to a recent article in The New York Times I finally have a good reason. More on that later.

    Everybody knows weight loss is a big deal, the fact is obvious from the astounding range of products/services with weighty promises (lose 30 pounds in 30 days!!!); the advertisements assault us constantly, from every possible angle. Given that the majority of US Americans are considered overweight in a culture with highest regards only for the exact opposite build, it's really no surprise that weight loss is big business. The real surprise is just how successful such ventures are when practically all of them make explicitly outrageous claims and just as many (if not more) are wholly ineffective. The truth is that with few exceptions commercial weight loss products are simply fraudulent--they are designed to take your money, not to help you lose weight.

    I know the secret to losing weight, and I'm willing to share it... for free! It is very simple, and not simple in the subtly very complicated way, just simple. Ready?

    How to lose weight:  Eat less.

     It's a matter of physics. Imagine an extreme case where a person doesn't eat or drink anything; by the very laws of nature and obvious from elementary intuition, it is impossible for that person to gain weight. This would be just like setting a scale in a sealed room: it would be very silly to think that the scale might at any point suddenly measure any more weight than it has all along. Humans are magnificently, extraordinarily, incomprehensibly complex systems, but that doesn't exempt us from the laws of physics. Unless more stuff is added to a body, that body will either maintain or lose weight. In case it isn't obvious, let me remind you that abstaining from all consumption for longer than a little while is a bad idea--remember, the rule is to eat less, not to eat nothing.

    Let's explore the physics in slightly more detail. The main reason we eat is to supply our body with energy; our bodies need fuel to keep the magic alive, just like a car needs gas to move. Clearly it would be a bad setup if the energy we consume couldn't be stored, like a car without a gas tank we wouldn't get very far. There are a variety of ways the human body can store energy, but the presently relevant one is best known as fat. Call me crazy, but next time you see that extra bit of flab, try being grateful--if it weren't for that "unsightly" bit of excess, a few missed meals would result in death. I don't know about you, but I'd rather have a less than optimal social image than be dead.

    So fat is stored energy, but what's this energy? Is there any way to quantify it so that its consumption might be regulated? In fact, yes, there is! The energy in food is also known as Calories, which is actually a kilocalorie or 1,000 calories. A calorie is a unit of energy, just like an hour is a unit of time. If you eat 2,000 Calories in a day and only use half of them, the rest will be stored, with some portion of them being stored as fat, it's as simple as that! If you are gaining weight and it's not because you're building muscle mass, you are eating more energy than you're using. Here's the Eureka moment!

    How to lose weight (revised): Eat fewer calories than you use.

    But wait, what about fatty foods, exercise, and metabolism, don't these play a major role in weight loss? Lets look at each of them.

    Fatty Foods
    One of the strongest diet related misconceptions around is that eating foods with excess fat, saturated, unsaturated, or otherwise will lead to increased body fat. This isn't true, food fat doesn't automatically turn into body fat. Perhaps this misconception arose because lipid nutrients and adipose tissue are both known colloquially as fat, but the notion that consumed lipids will transform into adipose tissue is as silly as the notion that eating brain will make a person smarter. Anybody can eat pure fat every day and lose weight, because the amount of fat in a food doesn't matter for weight management, what matters is the amount of Calories in the food and how much food (ergo how many Calories) is consumed. It's true that fat, with 9 Calories per gram, has a higher energy density than protein and carbohydrates, which have 4 Calories per gram, but for the purposes of weight loss this is moot--all Calories in a food, regardless of the source, are accounted for by the "Calories" figure on every nutritional label. Predictably there's a fair degree of complexity in how effectively food energy is captured, but the given number of Calories represents the maximum; if you closely regulate energy intake, you will realize there are no magical foods that cause body fat. Often, however, energy intake is far from regulated, far even from monitored, and it is very easy to underestimate how many Calories are eaten in a day. One case deserves special mention: high-fructose corn syrup (HFCS), the modern sweetener du jour, has been shown in a recent Princeton study to lead to more weight gain in mice than equal amounts of cane sugar. The theory I've heard is that HFCS is far more easily digested than cane sugar, and since digestion requires energy, HFCS results in more energy than an equal amount of sugar.

    Exercise
    When people think weight loss, they usually think exercise. It's always a point of contention when I say it, but exercise does very little to hasten weight loss. The reason is that the body burns a lot of energy no matter what its doing; for most people exercise causes only a marginal increase in energy consumption from the already high baseline. Remember the NYTimes article I mentioned? Here's a quote from it:
    “In general, exercise by itself is pretty useless for weight loss,” says Eric Ravussin, a professor at the Pennington Biomedical Research Center in Baton Rouge, La., and an expert on weight loss.
    The exception here is athletes, whom require many more calories than everybody else. This is because athletes have bodies that are especially efficient in utilizing energy--in other words, they have a higher basal metabolic rate. For those of us who aren't professionally physically fit, the connection between exercise and weight loss isn't anywhere near as clear cut. For more information on this topic I recommend reading the aforementioned NYTimes article: "Weighing the Evidence on Exercise." Beyond weight loss, keep in mind that frequent aerobic exercise is universally acknowledged as a critical component in the maintenance of cardiovascular health.

    Metabolism
    One of my pet-peeves, if you can call it that, is when people disseminate false information. We live in an age when almost the full knowledge of Earth is accessible on demand, so the reasoning goes that it's time we stop defaulting to wild speculation and just google it. Of course I have nothing wrong with wild speculation, my displeasure arises when the speculation is presented as fact. I'm bringing this up because it's relevant to the topic at hand, metabolism. Everybody has heard the word, it's used all the time, especially in regard to weight management, but what does it mean? What is metabolism? For all the mention it gets, I'd think everyone would be familiar with what exactly was being referred to. If you visit the Wikipedia page for metabolism, you might find that the subject is rather complicated; the summary refers to cellular respiration, metabolic pathways, and the carboxylic acids that are part of the citric acid cycle. That doesn't sound like weight loss! Metabolism is something of a shotgun term that refers to the chemistry of life. The basal metabolic rate is a bit more specific, as it refers to the amount of energy an organism expends while at rest and in a post-absorptive state. Since basal metabolic rate is roughly energy expenditure, it must be able to indicate how many Calories are needed to manage weight, and indeed it does. Interestingly enough, metabolic rate is strongly correlated with lean muscle mass and the same figure has been arrived at for all people: 16 Calories per pound of lean mass per day. This means an estimate for how many Calories you need each day can be found by multiplying your lean mass by 16. This also indicates what has been shown in other studies as well: the best known way to increase the basal metabolic rate is by increasing lean muscle mass.

    Just one final note: losing more than a pound or two a week is neither healthy nor permanent.

    Sunday, April 18, 2010

    Nexus One, an Android

    I've had an iPhone since shortly after they were first released, nearly three years now. For the most part, I've enjoyed it. These days, particularly when it comes to electronic devices, three years is a really long time; as such, it's almost difficult to recall why the iPhone had the hype it had. One thing to recall is that the app store, which is now probably the most attractive and well known feature of the phone, didn't exist when the phone first came out. The reason the iPhone was viewed as revolutionary (and that it was) was because it was the first cell phone to give what could be called functional access to the Internet, where most all websites were available to a mobile phone without any modifications. Clearly the Internet has revolutionized society; the movement from being available only on home computers to being available almost anywhere with cell reception is undoubtedly a movement that has been similarly transformative.

    The availability of the whole content of the Internet, many Terabytes of information, on a diminutive device feeling like a polished stone, is practically inconceivable to me. But the notion is one conceived many times over in the science fiction canon. The most obvious example I know of is the device which shares the name of the book in which it resides: The Hitchhiker's Guide to the Galaxy. In his remarkable series Cosmos, Carl Sagan repeatedly fantasizes about perusing the fundamentally similar, fictional Encyclopaedia Galactica, a compendium of all the knowledge gathered throughout the existence of an intergalactic species. Both of these bits of media originate around 1978, a time in which something like the iPhone and the Internet must have been considered far out by any reasoning; it is apparent that at least two foraward thinking people saw such a device as a product of civilizations living on a galactic scale.

    From 1978 the iPhone must have been a long way away, considering the primitive original Apple Macintosh didn't even hit the market until January of 1984, though development started in 1979. The Macintosh had an 8 MHz processor, 128 KB of RAM, and a 9" 512x342 monochrome display. Fast forward 23.5 years, and though our progress in intergalactic exploration hadn't much changed from naught, our computers had made unexpected advances! The original iPhone runs at 412 MHz, 128 MB of RAM, and a 3.5" 320x480 18-bit color display--it's roughly 52 times faster, has 1,000 times more memory, and a far superior display. It fits in a pocket and can run all day without needing a charge, it can replace books, newspapers, televisions, and the list goes on beyond any reasonable expectations.

    Three years later, the revolution of Internet on a phone has taken place, and giant leap taken all that remains is incremental improvements: the Nexus One. This past December there was a buzz about the web as rumors of a Google phone spread. The buzz persisted for a little while and then mysteriously subsisted. The Google phone arrived almost as if it were secret all along, almost as if it remained a secret--from what I've read, the sales of the device aren't remotely as impressive as those for the iPhone. But for what it lacks in popular perception, it makes up for in spec: 1 GHz processor, 512 MB RAM, 3.7" 800x480 display, or about twice an iPhone. Having just recently mentioned that GHz isn't a very important measure, I'd be foolish to regard that as a concrete measure of performance; it isn't, but the Nexus One noticeably outperforms the iPhone in every respect. Interestingly enough, the Nexus One matches or exceeds the recently released iPad in almost every spec except for screen resolution--it's truly a remarkable device.

    One of the things about today's cell phones, also called smart phones or super phones, is that they're actually powerful little computers masquerading as phones. The iPhone does a very good job at hiding the power under it's hood, and this is very much one of the reasons I chose to go with a Nexus One over another iPhone; the Nexus One has only a thin veil to hide the fact that it's a computer running a version of Linux. In order to write an application for the iPhone, one needs to pay Apple about $100 to apply for the opportunity. If they choose to accept you, there are a number of steps to follow, including authorizing a particular device, associating it with a particular machine, writing particular code, and accepting a very hefty agreement which includes conditions such as not displaying your device in public and the right of Apple to take ownership of your code without notification or recompense. The $100 only covers one year--every year requires another $100 to continue participation. I did go through this process at some point, but I didn't get as far as getting code onto a device before my membership expired; after that, I gave up. The Nexus One is a different story: anyone can write anything and put it on their phone at any time, for free. The first day I had my new phone I had a custom application uploaded to it. The second day I gained root access, installed a custom bootloader and a modified version of the Android operating system known as CyanogenMod; in other words, I now own my phone.

    The subject of science fiction is relevant for one last note: the name Nexus One comes from the most advanced android in a story called "Do Androids Dream of Electric Sheep?" better known as "Blade Runner," by Philip K. Dick.

    Nothing says "I'm a geek and I know what I'm doing" like a command line:


    One thing that really stands out about the Nexus One versus the iPhone is the much higher resolution display (click to see a version large enough to tell the difference, also note that some aliasing in the form of red, blue, and green banding may appear depending on your monitor):



    Here's a side by side comparison:



    There are still a few things I like about one more than the other, but the power of the Nexus One is that I can change nearly everything as I see fit--the same most certainly cannot be said for the iPhone.