Friday, December 31, 2010

Autosmoker

I am not a smoker, but many of my coworkers are. Smoke breaks are super super common, and e-cigarettes are popular too, as they allow smokers to smoke at their desks. (Traditional cigarettes would set off the smoke detectors, as well as making the entire office smell like an old cigarette.) One of my coworkers I remember complaining that he had two e-cigarettes, and this used up his hands, making it somewhat difficult to smoke and work at the same time. (If I'm remembering right, this same guy goes through a pack and a half of cigarettes per day, and this goes up to two packs per day on stressful days.) He idly pondered if there was some mechanical way to help, and although I said nothing, the wheels of my mind were already at work.
I'm imagining a collar-like machine with two robotic arms attached, and the arms hold the e-cigarette. Or two of them. Upon a pre-conceived signal, which could be two blinks, or a shrug, or any other gesture that can be made while typing, the machine pops the e-cigarette into the user's mouth for a quick inhale. It then extracts the cigarette and moves it to the side so he can get back to work.
Such a machine would increase the productivity of my smoking coworkers, who can now get their nicotine fix while at work, and would probably improve their smell a bit. (I can tell when they've had a cigarette, because they come back from outside smelling like an old ashtray.) Unfortunately, I think it would deepen their nicotine addiction. To the point that they'd never really stop smoking. And nicotine is made by tobacco plants specifically to make insects that eat them die of heart failure. Then again, so is caffeine, and I've developed quite the coffee habit, I'm afraid.
I'll be sitting in a major certification exam today. A little nervous.

Thursday, December 30, 2010

Freeway Redundancy

I used to live in Los Angeles. The Westernmost cities of the United States tend to have a grid shape where the terrain permits. There are a lot of advantages to a grid shape, one being that it's much much harder to get lost. Another is that one blockage can always be routed around. The Internet was built on this idea, though in practice it has a lot of choke points.
Then I ended up moving east. The easternmost cities of the United States tend to have roads based on cattle trails, so everything bends and curves around for no apparent reason. And one immediate thing I notice: There are ways around clogs, but they're not always direct. In fact, they often make little to no sense. Except New York. New York is a grid.
Most communication, including transportation, benefits from redundancy. When there's more than one way to do something, no blockage is genuinely possible. You can always go around. This is helped by GPS devices that know where you are, and where the roads are, and how your road can lead to your destination. This is helped more by ones that have live traffic reports, quickly showing to you to the fastest possible route.
Another theory says that traffic grows to fit road capacity.

Wednesday, December 29, 2010

Fiber upgrade

Most telecom in the united states was built in the 19th century for telegraphs, and later telephones. A massive network of copper wire enables Americans to call anywhere in the country, and getting a new telephone line is trivial even in rather rural regions. (It may be difficult far out in Alaska due to the remoteness...it's hard to get anything there, really.) This is the backbone of our internet access too now.
However, in much of the rest of the world, the telecom infrastructure was completely destroyed by wars. World War 2 basically burned the vast majority of Europe, and coastal Asia, completely to the ground, and everything was rebuilt from scratch. With much of these regions managing to maintain a high population density, it was profitable to rebuild this infrastructure with what was then the best technology available. And a difference shows.
In America, a $40/mo broadband connection willl give you maybe 1mb (megabit) per second, but a compare this to, say, a Swedish connection gives you 4mb per second for 25 euros ($32 USD?), and people are outraged because they think they should have 6mb/s. And that they should only have to pay 20 euros instead.
Part of the difference is population density. The denser people live, the more people can be connected with less wire, and the more profitable it is to serve them. Sweden's people mostly live in the southern portion of their country, where it's cheap to keep them connected, while America's population is deeply scattered across the entire continent, and the four largest cities are practically at opposite extremes of the country. (New York, America's most populous city, is practically in the northeast corner of the continental United States, and Los Angeles, the second most populous, is practically in the southwestern corner.) South Korea has a great telecom system....because it has a huge population in a smallish area. Koreans get on the Internet for super cheap because it's not too expensive for companies to provide this for them.
I think that the cost might go down quite a lot if we replaced a lot of our old copper installations with fiber optic. Fiber optic cables are mirrored glass strands that can transmit information by shining colored light down its length, and the light bounces down the strand to the destination. By using many colors, outrageous bandwidth can be achieved. Fiber optic is also very cheap once installed, as it requires very little maintenance. Glass, unlike copper, doesn't corrode.
I think this upgrade to our infrastructure would make Internet access cheaper and faster, but I don't see it happening on the grounds that people tend not to like to fix things that aren't broken.

Tuesday, December 28, 2010

Wintermobile

I have what I think is an interesting idea for a cold weather car. Cars generally drive through environments colder than their engine, even in the desert, though this will gain the most usefulness in the more freezinger parts of the world. The car would have pipes going all throughout its outer chassis. The pipes would be full of an antifreeze and water mixture, and would end on either side in a bypass valve.
In cold weather, the driver can flip a switch, to open the valve, and now circulate the coolant in the car around the entire body of the car. Much heat leeches out the top, into the driving compartment, and out the back. In cold weather, it'd feel nice.
The engine would also benefit. Gasoline engines work by heat exchange -- the more heat it can pump out, the more efficiently the engine works. Coolant would come in cold as can be, and the solid parts of the car would have fewer heat differences over time. With fewer heat differences, there's less thermal stress.
I think taking this car to a hot region, though, like a jungle or a desert, would be worse than a conventional car.

Monday, December 27, 2010

Defeating CAPTCHAs

Another coworker of mine mentioned to me that a hobby of his was defeating CAPTCHAs, and that instant, I realized that there were two completely different routes to do that. One social, and one technological. CAPTCHAs are, of course, a Completely Automated Public Touring test to tell Computers and Humans Apart. Those squiggly letters you're forced to enter to post on a forum, register new accounts, or whatever. They make them to prevent mechanical submissions, which get really annoying, really quickly.
The technological approach is to basically reinvent OCR, Optical character Recognition. OCR has gotten a lot of funding as a way of automating the conversion of paper documents into computerized ones, to gain the advantages of computerized documents -- easy transmission, copying, editing, and so on. An OCR approach analyzes the graphical elements to determine which letter they were originally, and enters that. Supposedly, really good ones can work with just a 3-pixel row.
The social approach is to decide that only humans are capable of reading the bent and distorted letters of a CAPTCHA and convinces them to do so. One common approach is to offer something in exchange, like file downloads, or pornography. There are plenty of people who will willingly do just about anything to get more of those things, including decipher letter puzzles. It's not as fast, but it is plenty reliable. After all, the goal of the CAPTCHA maker is not technically circumvented, a human being is solving each and every one of their little puzzles. Just...not in the way they had hoped. Social attack CAPTCHA are promptly cached and used to hammer the server with mechanical submissions.
My coworker, however, said he took the technological approach. He took pride in the quality of his OCR craftsmanship, boasting on his only requiring of the right three rows to totally guess the correct answer.

Sunday, December 26, 2010

Auto Gaming

I think I heard this story a while ago, but now is the first time I actually remembered the address. An electronics engineer made a small device that automatically plays the game Guitar Hero, scoring better than any human ever possibly could, because it never makes mistakes.
Guitar hero is a "rhythym game," in which players use a plastic replica of an electric guitar to press buttons as they appear on a scrolling musical scale, in tribute to Bach's famous quote about musicianship: “I just press the right keys (buttons) at the right time and the organ does the rest. ” The guitar vaugely resembles the actual action of playing a guitar, in which a guitarist holds down some of the strings to change the effective length, and thus the pitch, of the vibrating string. Players of Guitar hero have about two seconds head-warning before they need to press the respective button.
Anyway, the machine receives a video signal, analyzes this signal, and uses it to determine when to send the button-push signal back to the game console. Two seconds is enough time for the computer to have completed its analysis, so the machine literally can't fail.
Why do this project? For one, it's an interesting look at video-analysis. Visual recognition is currently one of the weaker areas in computers. Show a computer a picture and it will interpret it only as a matrix of colors. Attempts to recognize pictures of people, useful for "We have a picture of a person walking into an airport. Is this person one of these people who are wanted criminals?" have been foiled by wearing different glasses, growing or shaving facial hair, or other things that wouldn't fool a human for even a second. There is big money, then, in getting computers to actually understand what it is that they are looking at.
For another, it's the "because I can" effect. Getting a computer to exactly copy a human action is an impressive boast.

Saturday, December 25, 2010

Merry Christmas

With peace on earth and good will to humankind.
Also, a psychotic machine made of drills and hacksaws in every driveway.

Friday, December 24, 2010

Cell Tower House

A coworker of mine has a very interesting idea: A house built upon a series of cellular towers. He's experienced with such technology, and knows it comes in various grades, and the strongest grades come with the ability to carry hundreds of tons up hundreds of feet. Perch a small house on four of them. This house is accessible by winch-elevator, which all cell phone towers have because the equipment can weigh over 150 pounds, and no human being is willing to carry that much up what amount to a ladder, by hand.
Slightly over one hundred feet in the air seems like a manifestly insane place to build a house, but there are a lot of good reasons for building it there. For one, it tends to have a good strong wind. Open the windows of this house in the summer, and a cool breeze banishes the excess heat. In the winter, keep it sealed up tight and the sun will pleasantly warm the complex.
For another, security. Cover the support legs in solar panels, and climbing the legs is now impossible. Only the winch elevator can get you in and out, and that you can key so that it only works in your presence (perhaps you have to enter a password to unlock it, or perhaps you need a physical key.) Burgle a house 100 feet in the air? Pffft. Burglers would move on to easier to enter structures. It's also safe in inclement weather: build it strong enough to endure a hurricane, and it's literally the best place in town in case of flooding.
Quality enginering is the key. It needs to start with an excellent base, one well-fit to stand strong and immobile in the local earth. It needs to be built of reasonably high tension materials that won't break when hit with 100MPH winds. It needs to be able to lift 400kg. (Let's say up to 200kg of people, about 3 or 4, and 200kg of cargo, like groceries, furniture, etc.)
For best results, it would also have batteries and pumps, so it could be relatively self sufficient.

Thursday, December 23, 2010

Feed Speaker

I am subscribed to a lot of blogs. They have interesting content, and I'd like to be able to read them. I'm also strapped for time and really should exercise more. Something's got to give.
I'm imagining a device like an mp3 player. Only, instead of mp3s, it's loaded with text. Text that it loaded from my various feeds. I put on the headphones and hit play, and it reads me the news of the world in a synthesized voice. I can keep up to date with information...while jogging, lifting weights, or otherwise occupied.
This would probably be useful to other people too -- citizens of a democracy have to be well informed on current events, or democracy dies. In an increasingly time-strapped world, being able to do two things at once reasonably well is a welcome gift. I'm hoping that this leads to more news consumption than before, but somehow I doubt it.

Wednesday, December 22, 2010

Steampunk

Part of Charles Babbage's Difference Engine in...Image via Wikipedia

Steampunk is an art movement stemming from alternative history -- what if Charles Babbage's differential engine had worked, kicking off the Information age in Victorian times? The result combines Cyberpunk -- a grim cybernetic future where hacking cyborgs struggle against evil governments and corporations with superior skill, with Victorian fashion and steam-era technology, to form some sort of weird retro-future hybrid.
This does lead to some unusual technology choices. Steam was the power source of choice in Victorian times. If something needed energy, a boiler was the usual way to do it back then. Steam was well understood. Electricity was known, but it was known so poorly that it was seen as semi-divine, and only a truly mad scientist would be willing to mess around with it. So to make your car or train go? Steam. You need your computer to send signals? Steam based valve. You need to power your factory? Steam.
So...some very interesting art comes from this. Much of today's technology could have been made in victorian times, although they would have made it in a very different style. Brass instead of plastic. More showing of mechanism out of technological pride, than hiding it out of aesthetic purity. How would the world have been different?
Enhanced by Zemanta

Tuesday, December 21, 2010

Watering Afghanistan

Japan and Algeria have a joint project going to make solar power plants that also refine solar cells from the desert sand. This would enable plants to effectively reproduce themselves -- haul the solar cells a few miles away, set them in a concrete lattice, and this is power plant #2. They hope to cover the Sahara desert in these power plants, which would provide half the energy needs of humankind. Here's the video:

This inspired another Japanese scientist to cut a deal in Afghanistan to bring water for humanitarian purposes, as well as sociological studies of the plausibility of this kind of thing. There's a video of that too except it's in Japanese and I can't find an English language version of it. Sorry. I'll report on the English language report that brought this to my attention.
It seems that his original plan was to make concrete rivers that slowly leech water into the surrounding environment, which encourages plant growth and fertility, which reinforces the river in a continuous positive feedback cycle. Japan has many concrete rivers due to paving over natural rivers (and then, to the bafflement of the rest of the world, claiming that the river is still in its natural state). So this technique would be quite familiar to him. Only...turns out concrete is kind of hard to buy and pour in Afghanistan. Too much disruption. So he changed the plan to use chicken wire and rocks. Afghans are often quite familiar with chicken wire for use in caging in domestic animals, and there's no shortage of rocks. Already a number of rivers have been built this way. First, make a box with chicken wire. Then fill that box with rocks. this is now the bank of the river. Make a bank all the way up a mountain, where one finds likely sources of water, and let the water flow. A small amount of the river's water leeches into the ground water, irrigating miles around it.
The scientist, Dr.Tetsu Nakamura, also likes this plan because it can now continue without him. Already Afghans have been trained in the basic techniques, and are now improving conditions in their own country on their own effort. If this succeeds, they will not need foreign aid, relief work, or any of the other usual solutions to poverty and want. And that's the way the charitable want it.
It was speculated that all this kicked off from a pun. Japan's native name for itself ("Nihon") translates to something like "Origin of the Sun," which leads Japanese people to think of the sun quite a lot, and makes them very enthusiastic about solar power. If this is true, then perhaps I should ask Chinese people for advice on geothermal energy, because their country's name translates literally as "Center nation."
(America is named after an explorer, and my country's full name is the United States of America because we're not very creative at coming up with national names.)

Monday, December 20, 2010

Emergency Pie Vault

One of the funnier, if slightly dark, things in the comic FreeFall is the emergency pie vault. FreeFall takes place on a terraformed extrasolar planet, and one precaution taken when the planet was terraformed was an emergency food supply in case local agriculture failed. The emergency food supply takes the form of several jillion varieties of pie. FreeFall being what it is, you learn about it when some of the main characters get into a massive irrational pie fight using a tiny portion of its pies.
However, an emergency food supply strikes me as an excellent preparation. One can make a large amount of food in times of plenty, and have it immediately ready in case of disaster. South Korea recently had a major disaster in which heavy rains wiped out the local cabbage crop. Cabbage is the main ingredient in the national dish, Kimchi. Accordingly, the price of Kimchi skyrocketed, and all hell promptly broke loose. The difference has been made up with American cabbage, resulting in some slightly bizarre kimchi. If South Korea had a vault full of kimchi (which is fairly easy to pull off, kimchi is pickled and has a long shelf life), then this wouldn't have happened -- kimchi would be extracted from the vault and replenished next time to much cabbage was farmed.
This would have a secondary benefit of stabilizing crop prices, to the relief of farmers everywhere. In times that the crop is plenty, farmers sell their surplus to the vault. In times of famine, the vault is drawn upon, keeping consumers from starving. Everyone wins. Especially if the vault is in space that wouldn't otherwise be useful, like the bottom of an abandoned mine.
The stored food should be of high nutritional value and have a very long shelf life. Pie fails the first criteria.

Sunday, December 19, 2010

The Fruit Machine

Mentally-ill engineering can also be used for evil. In Canada shortly after World War II, there was a paranoid fear that homosexual people would infiltrate the government and do whatever things that right-wing homophobes think that gay people are plotting to do. As an attempt to counter this, a machine was invented for the supposed purpose of identifying gays, which was about as effective as modern polygraph or the Vietnamese war's famous "Magic Eye." That is, it worked because people thought it did and then their own paranoia gave them away. They called it the "Fruit Machine," "Fruit" being one of many slang terms for a gay person.
The device resembled a dentist's chair, and had a screen and a camera. The screen showed pictures. Some were neutral pictures of scenery, math, or some other thing that held no interest. Some were pictures of naked women. Some were pictures of naked men. A crank theory popular at the time claimed that a person's eye dilated when exposed to things of interest to the person, so if a man's eyes dilated for the naked men pictures and not the naked women pictures.....WHOOP WHOOP GAY DETECTED!!!! Same if a woman responded more to the naked women pictures.
Except that this whole thing was fatally flawed. Pupils dilate more in response to changes in light than to perception of objects of interest. So if the lightbulb on the ceiling happened to flicker while the thing showed you pictures of your gender, it falsely flagged you as gay. And many gays went undetected. The camera had to be off to the side to prevent it from interfering with the screen, which made it often report dilation when actually there was merely a reflection in the pupil. It also produced unpredictable results if the subject had larger-than-average pupils, because it measured dilation by the diameter of the pupil and didn't calibrate first.
The devices were all dismantled in the 1970s after withering criticism from all angles. The device was demonstrably faulty, not only from the engineering standpoint, but also technically and even ontologically as homosexuality was ruled by a number of psychological institutes as not being a mental illness, but a normal human variation. Small comfort to those who lost their jobs and were forever scorned because of the errors of a machine, but at least the abuse stopped there.

Saturday, December 18, 2010

Brain Hacks

There is a birth defect that leads to people who have no sense of pain. They can handle hot frying pans without flinching. They can have their fingers viciously bit by animals without noticing. Awesome, right?
No, not awesome. The average life expectancy for these people is 17, because pain is actually a pretty good warning system against damage. People with the disorder have a nasty tendency to accidentally bite off their tongues, not notice that an object is too hot to touch until they have second (or worse, third) degree burns (and the first hint they get that it's too hot in the smell of burning flesh), and didn't learn lessons in childhood about dangerous things that get them killed, like that electrocuting yourself is a bad idea.
So when a woman recently lost her ability to feel fear to neurological disease, science was very interested. She is never afraid of anything. When she was taken hostage at gunpoint, she only became angry and upset and gave the gunman a thrashing. People who give her death threats are quite surprised when she responds with face-withering invective. And all this because something damaged her amygdala slightly.
If we reverse engineer what happened, it may come to pass in the future that we can turn off our own fear, something that militaries and police departments would surely pay huge amounts of money for. Same with the pain thing -- save bundles on anesthetic in any hospital. Just so long as you turn it back on again afterwards.

Friday, December 17, 2010

Barter Economy

Before there was money, people dealt with their desire for things they didn't own with trading. This allowed you to turn extra goods that you didn't want (let's say you're a cattle rancher. You would have lots of milk, cheese, and beef, but you'd be disappointed if you needed say a potato), into goods that you do want.
Now, there's a reason we stopped doing it this way. For one, you have to find someone who wants what you have, and has what you want. There's a famous German story about a group of Prussian officers trying to trade around their possessions, and some 62 trades have to be made to finally get everything they want. This is essentially the ancestor that famous red paperclip story in which a series of trades turns one ordinary, fraction-of-a-cent in value paperclip into a house, but has to do a lot of trades for things he didn't want in order to get there. Money, by contrast, is a singular store of value that I can trade for almost anything under the sun.
However, in the depression climate, Barter can be useful again. Many Americans have old, unwanted possessions from fatter times. What we need is money, and money is hard to come by, but I still think we can get what we want. By trading. Trade that old stereo that you're tired of to someone who has more booze that he can drink. Trade your old car to an enthusiast, who can give you, say, a new set of tools. No money traded hands, but as I understand Economics, all of this trading would make us all richer. Something we didn't want has been turned into something we do. And that thing need not be a good. There's no reason that services couldn't also be bartered.
See, wealth is not just dollars. Wealth is also having things that you want, and more importantly, need. A broken old car isn't wealth to you, unless you're a mechanically minded old car fan. A book on how to speak Russian isn't very useful...unless you need to learn to speak Russian. Maximize the wealth.
And when the depression ends, there's an even better thing you can do -- garage sale. You unload stuff that's worthless to you, in exchange for cold hard cash, and the people who bought it get it way cheaper than it would have cost new or in a secondhand store. Everyone wins, and that's pretty rare in Economics.

Thursday, December 16, 2010

The Chinese Room

Imagine that there is a room with a man, a device that can stop time outside the room, and a huge book. The huge book describes lists and lists of Chinese characters, and a good response to being shown particular sets of them. The man does not speak Chinese, nor can he grasp any meanings from their writings, but is otherwise reasonably intelligent and literate in whatever his native language is. The room also has a slot that can move letters in and out.
I take a friend who speaks one of the many Chinese languages (They're unified only by their form of writing), and I tell him, "Hey check out my Chinese-writing room. It totally understands Chinese." He doesn't believe me, but writes a message on a slip of paper. A minute later, the paper comes back out of the slot with a response. He reads the response -- it matches exactly what a reasonably intelligent Chinese-writing person would have written in response to what he wrote. "Huh, I guess your room does. Neat."
Now this is an abstraction of AI. Even if we do write AI, it will essentially work by having responses to stimuli that it applies deterministically. The program is the book, and the computer is the man. Many philosophers therefore argue that all AI can only provide the illusion of consciousness. After all, the computer (the man) doesn't understand what he's writing, but only writes what the book tells him. The book doesn't have any consciousness -- it's a thing. And the room doesn't have any consciousness, as it is a shaped chunk of plaster, wood, and metal. But I can make the argument that the system of the room, the man, and the book amounts to consciousness.
Consciousness after all is very mysterious, and we can only really observe our own. One philosopher said that it was like the only way we could know about beetles is if we each had a box, and were told that what was in the box was a beetle, and we somehow couldn't look in each other's boxes. There's a distinct possibility that different people could have different things in their boxes. Or that some boxes could even be empty.

Wednesday, December 15, 2010

I has a job

Good news, Readers. I'm working, which means that I get not to starve to death. Yay!
My employer is a preeminent ISP.
The bad news for you is that this sucks up lots and lots of time.
Still,yay, money, I can afford things.
I'm tired.

The Prisoner's Dilemma

The Prisoner's Dilema is an intellectual game with implications in the real world of dealing with people who you may not be able to trust. It comes up commonly, and recently one such scenario actually did happen as a current event.
In the game, you and another person (a smalltime acquaintance of yours who you don't know very well), are accused of committing a crime. The police separate the two of you and ask each of you separately if the other person is guilty. You both have the choice of cooperating with each other and proclaiming the other's innocence, or tattling on the other person.
The results depends on what the police learn from this investigation. If neither of you talks, they'll probably be able to press a lesser charge on you both, and you'll both spend a week or two in jail, but you'll escape conviction . If both of you tattle, you'll both surely be convicted on this evidence, and you'll both spend 3 years in jail. And if one of you talks and the other doesn't, then the tattler escapes and the victim rots in prison for 5 long years. So....what will you tell them? The best possible result for you may be to play the other guy for a sucker, but the net benefit is for you both to cooperate.
Worse, the real life versions tend to be iterated, where you and the other guy show up over and over and over, and have the same choices every time. Reward vs. Punishment are on the line, and the other guy definitely remembers what you did the last time.
A university did a simulation of iterated prisoner's dilemma to see if there's a rational way to handle scenarios like this, and the results were surprising. Various programs were put in that used various strategies. There were programs that always cooperated. There were programs that always attacked. These tended to get eliminated pretty quickly when their bad choices caught up to them. One early winner was a strategy that they called "Tit for Tat." This program started out cooperating, and then always used the same strategy that the partner used last time. So if you cooperated with it, it cooperated with you. If you wronged it, it got revenge. But the ultimate winner was "Generous Tit for Tat," which sometimes declined to go for revenge, thus getting out of some vicious cycles.
I say this came up in the news due to the situation with Russia, America, and Nuclear Weapons. Russia would like to inspect US uranium mining and nuclear production, and limit both countries supplies of nuclear weapons. This is an iterative prisoner's dilemma, with the "cooperate" option being to let the other country's inspectors in and limiting the production of nuclear weapons, and the "defect" option being to eject the other country's inspectors and build more nuclear weapons to gain the other hand.
Previously, both of us have chosen "cooperate" with the SALT and START treaties. Shortly after SALT II was an arguable defection on both sides, when the Reagan administration refused to sign the treaty on the grounds that Russia violated it, and Russia responding with a large construction of additional nuclear weapons.
So then, America, we have a choice. Cooperate or Defect. And Russia is watching.

Tuesday, December 14, 2010

Hub and Wheel Transport

Shipping company FedEx has a very interesting system for achieving shipping efficiency: It all goes through one point. Hub and Spoke seems like a poor model for moving goods, especially considering it can up to double the distance that a given package has to travel. The primary advantage is in the economy of scale.
Let us take the example of mail. I can mail a letter to a faraway country for a mere $5, which will travel by plane and be in the recipient's hands by the end of the day. This could not possibly be so if this were the only letter going, because it costs $40,000 for the plane to even take off, and the plane cost several million dollars to purchase in the first place. However, there are lots of letters going. The plane will be full of letters, and each letter writer has paid $5 to send the letter. The millions of letters have funded millions of dollars for the operation to go through, and so it does, and everyone gets their letters for a reasonable price.
Similarly with the parcels. Lets say that I'm sending Christmas presents to various friends and family members located all over the country. A traditional distributor has to put them all on separate trucks that all race to their respective destinations, but the hub and spoke model can take them to the nearest big city (Houston), which puts them on a train with all the millions of other packages. One big advantage of a train is that once you have one going, adding one more package is so trivial as to be practically free. All of this goes to the center distributor.
And at that center, they have a concentration of expertise. People who excel at making sure the package is definitely on the right train, knowing that "Settle" is a common typo of "Seattle," knowing that people tend to mispell "Jonston Road" or whatever, and being able to fix it. And again, the train going to Seattle has every package in the country that's headed there. One train is way way way cheaper than ten thousand trucks.
This makes me wonder if there would be a way to do this for personal transportation. One very fast subway takes you to a big station at a common location (like the center of a large city), and from there, one can take very fast trains straight to whatever other place you need to go to. All trains would be high speed express trains, and collisions would be impossible because no two trains overlap in any way. You might have to go from point A to point B first, but B to your destination C isn't interrupted by all the people who first want to stop at D, E, or F.

Monday, December 13, 2010

Watt Step

I have a watch that's wound by the movement of my arm during the day. This does not violate conservation of energy. Movement is energy. It uses a complicated mechanism to extract a little power from the movement it experiences, and uses this power to charge the watch's battery.
I'm thinking of scaling this up. You would wear a bracelet on each wrist, and an anklet on each leg. And as you walked, ran, and went about your day, they would each trickle charge a small battery. You might only get an AA battery's charge out of each one bracelet and anklet, but that's an AA battery's charge more than you had before. You could power a small gadget with just your own movement. Maybe a cell phone, an embedded computer, or a PDA? The "free" power would be nice, anyway.
The energy would come from making it sliiiiiightly harder to move, but not in such a way that would be a big deal. And frankly, we could use the exercise, nationally.

Sunday, December 12, 2010

Music Education

Once upon a time, I was a hobby musician who would engage in one hour music writing contests -- you had to write a song in one hour, songs are voted by the writers (excluding your own), and winner gets...bragging rights for the week. I even took a music class to become a better writer, which was linked to a singing class that I was no good at. I think it's hilarious that I got an A in the music writing, but an F in the actual performing, making me some sort of hypothetical musician. Can write great songs, but only in theory. And of course with the weekly contests...I was almost always last place.
Anyway, all I've studied music all my life, and all the crazy things I tried to do for just the write sound, are all quite familiar to an amazing group of musicians that I just discovered. Los Doggies are musicians who dissected for me tons and tons of incidental music. Video games. Animals. Telephones. All of them have a complex musical basis. The website takes them all apart, showing them sheet music, and even playing the sound note by note if you don't know how to read sheet music. (I can, not quite fast enough to play the song in question.) This site has taught me more about music than years and years of musical education in only a few minutes.
I'd like to know why. All of education could probably benefit if I could just figure out why this site is so engaging and informative.

Saturday, December 11, 2010

Magnetic Double Blind

One of the hardest hypotheses to test today is the theory that magnets can cure a surprising range of diseases and disorders, and part of it is ruling out the placebo effect. The placebo effect occurs when any treatment at all, even one that clearly has no effect (like giving the patient a sugar pill) still cures their disease because the patient expected it to happen. "I got treatment because people care about me" is a powerful thought to a person who is ailing. To rule out the placebo effect, most clinical trials do a double blind study. Neither the patients nor the doctors administering it know which is the real treatment, and which are a fake chalk tablet that only gives the impression that you're getting powerful drugs. And here's where we have the problem.
Any American who graduated the fifth grade, basically all of them, know how to tell the difference between a magnet and an inert chunk of iron. If you press it against metal and the metal sticks, it's a magnet. If you bring it up to a TV and the picture distorts, it's a magnet. If it deflects a compass needle, it's a magnet. The double blind will be ruined, I guarantee. The people with the fake magnets will find it obvious.
If we can resort to some very totalitarian methods, and we can because this study will pay handsomely and "scientific firm reserves the right to dickishly control every aspect of your life for the duration of the study" will be in the contract, if not in those exact words. If you've ever seen the X-men movie, the scene where the villain Magneto is imprisoned in a plastic bubble suspended by fiberglass line, because of his ability to control basically any piece of metal anywhere near him makes imprisoning him in a tradition prison stupid, inspires the perfect impossible-to-detect-magnetism environment ever. You will live in an all plastic and ceramic environment with no metal or electricity. You are encouraged to bring books, writing materials like pencils and paper, and metal-free hobby things. All metal or electronic devices will be confiscated for the duration of the study. You will have a device with something heavy and metal-ish sewn into a cloth pocket strapped onto you. Half of these will contain an actual magnet. The other half, an inert piece of metal of the exact same size, shape, and weight. Participants will journal their recovery from disease over the course of two weeks to a month. We will also have to keep you isolated from each other, except for maybe a ceramic-can-on-a-string telephone. We can't run the risk that you'll "test" each other's "magnets."
After the study is over, we can then reveal who actually had a magnet, and who had just a chunk of metal. And we will finally have determined if magnet therapy offers any actual benefit, or is just another attractive woo-woo claim.

Friday, December 10, 2010

Paranoia will Destroy Ya

Talking to paranoid people seems really trippy. They're totally detached from reality, it seems like. They believe in utterly insane things like massive conspiracies dedicated to ruining their morning coffee, or some other result completely short of the millions and millions of dollars it would have taken to do everything they describe. Pointing this out does not deter them in the slightest -- obviously their enemies are both unreasonably wealthy and impossibly petty.
Surprisingly, one psychology book I read claimed these beliefs all stem from one erroneous belief, which proceeds to compound everything else. That belief? I am never wrong. And with that in place, suddenly all the craziness makes total sense. How? Think about how often the average person is thwarted, frustrated, annoyed, or defeated. It's quite often. Now imagine having to blame all of that on things other than yourself. Let's go through a common day.
You wake up, only to notice that the alarm you set last night was not on, and now you're late to school or work. You quickly rush to avoid being even later...and are stuck in traffic. People cut you off repeatedly, and one guy flips you off. "Nice." At your laboring place, your supervisor is enraged at your lateness and incompetence, and chews you out quite a lot. It's a rough day, and coming back home you again have to suffer in traffic. At home, you have misplaced the remote, and you left a cup of coffee out on the counter this morning that has now gone stale and must be thrown away. You sit to watch your favorite TV show...but it got preempted, in favor of some inane thing that you don't really care about. In irritation, you go to bed early, grumbling to yourself.
Now, if you're a sane person, you blamed the alarm on forgetting to set it last night, the traffic to the fact that you're rushing and probably driving a little rudely (plus there being a lot of people, some of who are jerks), your boss's anger at you is genuine rage, but out of proportion to the true level of your faults, the news at home is more important to many people than what you wanted to watch which is why the tv station preempted your show, the remote and the coffee were lapses of your memory that annoy you, but can nonetheless be worked around. In short, you mostly blamed yourself for what went wrong. You assure yourself that you will try harder tomorrow, and it will be less bad for you.
Now let's try it again, only this time, you are never wrong. Your alarm didn't go off. Clearly it's the evil conspiracy trying to prevent you from succeeding! They must have secretly turned it off during the night. The fiends! The traffic? Another evil plot!!!! Especially that one guy who flipped you off. Your supervisor is mad that you came in late and are now bungling yet another project? No, he's clearly in on it! You come home and your remote has been stolen!! And they hid your coffee until it went bad! They will clearly stop at nothing to irritate the living shit out of you! You sit down to enjoy a little TV, but the conspiracy people clearly saw this coming, and had your show preempted. Clearly they will stop at nothing!!! As you go to bed in irritation, you resolve that tomorrow you will get the upper hand for a change. After all, for all their evil plotting, you were not truly beaten.
The paranoid outlook is more satisfying, even if it does lead to being afraid of your own shadow and believing that your least favorite type of music is a secret plot to annoy you. After all, you're never wrong.
I think a lot of these psychological conditions are actually spectrum. One can be a little paranoid, and very into conspiracy theories, hard headed, and fearful, or very paranoid and blame the Martian space monkeys for your missing car keys. Or any amount in between.

Thursday, December 9, 2010

Schrodinger's Car

All that non-physicists tend to remember about Erwin Schrödinger was his cat thought experiment. The one with the cat in the box with one atom of radioactive material and the diabolical setup that will kill the cat if the atom decays, and the nonsensical result of the cat being both alive and dead at the same time. And suddenly, my unsleeping mind goes to some very strange places.
I'm imagining a car that works by controlling, sort of, quantum teleportation. It restricts the teleports to one particular direction, so you move forward at a random, not readily predictable speed. Teleporting against that direction is prevented by a brownian-ratchet type of mechanism. Given this much, it wouldn't even really need fuel. You will get there, eventually.
It's probably not even technically possible, but it would be so much fun to try.

Wednesday, December 8, 2010

Microphone power

When I was a little kid, I had an electronics kit, the kind where you connect transistor 22 to resistor 25, to capacitor 9, to diode 13, and it becomes a water level detecting kit. It also had an astounding proof of a scientific concept introduced to me in the fifth grade: sound is energy. For this proof, the kit instructed you to connect the microphone to the voltmeter and light bulb. And then scream really really loud into the microphone, which would lead to the bulb lighting up and the voltmeter jumping, as this was the kind of kit that grandparents buy their grandchildren, in order to annoy the parents. Parents, I'm sure you're quite familiar with this kind of toy.
Anyway, microphones do change sound into electrical energy, primarily because the electricity retains the pattern of the noise, but can be amplified, rerouted, edited, and a whole host of interesting tricks. Speaking into a microphone actually generates a tiny amount of power, which leads me to my idea.
Freeways often have tall walls built around them to cage in the annoying whooshing noise that the cars make as they zoom past at high speed. This noise now dissipates into the upper atmosphere instead of your windows. So I think we should take these walls....and line them with microphones, hooked to diodes, hooked to battery banks. I'm hoping that this will further dampen the noise as well, so it's win-win.
Well, except that physics is never totally win win. It'll probably slightly increase the air resistance or in some other way steal energy from the cars in a way only a physicist can explain.

Tuesday, December 7, 2010

Carbon Dioxide Seperator

I want to create a system to flush carbon dioxide from air. Why? I do have a good reason.
"Stuffiness," the sensation commonly found in enclosed rooms with no air circulation, is almost assuredly a carbon dioxide buildup symptom. The air feels oppressive and stale, and one has an immediate urge to try to open a window. One feels drowsy and irritated, and everything smells bad. I know this because as a small child, I used to like to hide under blankets, which would become stuffy in short order, to the point where I started to associate hot air with stuffy and cold air with fresh. The stuffiness was due to poor air circulation: the carbon dioxide of my breath would build up until I exited the blanket.
NASA probably knows a few ways to do this, as it became critically important on space missions. You only have the air you bring with you in space, so it is critical to keep it as fresh as physically possible. Drowsy, confused, astronauts poisoned by their own breath is a bad thing. Their technique involves a rather complicated membrane system performed under pressure.
If I were to invent my own system, I think I would work with the chemical properties of carbon dioxide itself. I can extract it by cooling it off -- carbon dioxide sublimates long long before oxygen precipitates into a liquid. I can extract it with pressure, bringing the carbon dioxide into its liquid state and siphoning it off. I could even extract it with chemical combinations, like Sodium or Potassium Hydroxide, which tend to absorb carbon dioxide until they reach a saturation point, but I'd want an industrial type technique that I could set up and not have to personally fuss with afterwards.
Having installed one of these systems in a house, stuffiness is banished forever. What to do with the carbon dioxide? I can shunt it out of the house, thus getting all the benefits of opening a window without losing all my heating, which is sweet, but for even better works, I can use it as the security system for a greenhouse. The greenhouse is, when no humans are expected inside, flooded with all the carbon dioxide from the house. All pests die. Any intruder dies. It's just plants and a few bacteria, with the plants slowly reoxygenating the place.

Monday, December 6, 2010

Pneumatic Net

I just read an interesting proposal of adding to, or replacing, the internet with a network of pneumatic tubes to allow it to handle any physical object. This will require some explanation.
Before personal computers were common, large organizations like banks typically had a pneumatic network for exchanging paperwork. One would roll up the relevant paper and put it into a tube, and then put the tube into a slot. A vacuum would then pull this tube to its destination. One could exchange anything that fit into that tube through the network. So while the most common use was paperwork, one could also send keys, a packet of potato chips, or really anything that could be fit into the little canister.
Computers did away with pneumatic networks for the most part because of the difficulty involved. Setting it up was difficult. A preposterously complex network of tubes had to be built in the building, you had to have a dedicated routing room, because the vacuum only went one way, and you had to have really powerful pumps to abruptly suck the air out of any particular tube. So when personal computers became common, most organizations ran screaming from pneumatic systems. After all, the routing room had to sort who got what canister by hand.
I don't see a worldwide pneumatic system coming about without some serious automation of identifying and routing, because the internet has billions of nodes. The routing room, wherever on earth we put it, would have to be a nightmarish maze of pipes with many many OCR readers and supercomputers and robot claws for identifying the tube, putting it in the correct destination, and sending it on its way. No human being could ever hope to keep up. Hence the sheer insanity of this idea.

Sunday, December 5, 2010

Spamdomness

Randomness is an interesting thing in computer science, because a computer's numbers are only pseudo-random. Computers are quite deterministic, which makes it quite difficult to produce anything random. And yet, many mathematical techniques depend on reasonably random numbers. What's a programmer to do?
Most existing pseudo-random numbers are based on things that are difficult to detect or determine ahead of time, like a statistical study of keystroke timings, mouse movements, or the thermal entropy in the various capacitors. An "entropy pool" is maintained from the study of numbers like these that accumulates enough to be sufficiently random to, say, produce an encryption key that can't readily be guessed.
When sites want a stronger randomness than that, they often resort to the study of random events outside the computer to maintain an even bigger, and more rigorous random, than can be done inside the computer itself. One common technique is to point a webcam at a television that is tuned to a non-broadcasting channel. The resulting static is effectively random data, which is fed to the entropy pool. One site, Games By Email, has an elaborate machine to throw dice and record their rolls for later use. The site also promises to melt down any die that produces a roll that a customer is not satisfied with, because the customer base tends to strongly anthropomorphize dice and sometimes want to "punish" dice that don't roll the way they want. (And why not, dice are cheap and a satisfied customer is a returning customer.)
This all gave me an idea for a cheap source of pseudo-random numbers: Spam. Spam are unwanted emails that constantly hammer servers and annoy the crap out of millions of people, all because .00001% of people take them seriously and buy stuff because of them, thus handsomely profiting the group that put them out. Most spam is today thrown away, often by automatic means before any human being ever sees it. Or if not, is tossed into a special spam box to be discarded later. Just in case a real message is falsely flagged as spam. Spammers go to elaborate lengths to ensure that the recipient looks at the message.
So, from now on, when a message is flagged as spam, we take a quick hash of it, like an MD5 sum, and then manipulate this into the entropy pool by a pseudo-random means. (Arbitrarily pick one of: Add, subtract, XOR, OR, AND, Replace, Append). This should slightly improve the quality of the entropy pool with every spam you receive. After the summing, the spam can be discarded or added to the spam box or whatever the mail receiving program was going to do with it.
I don't recommend this technique to sites in need of high quality randomness, as it leaves a gaping security hole: An attacker can spam the site with several trillion copies of the same message, thus setting the entropy pool to a known quantity, thus effectively giving the attacker control of the encryption keys. But sites like that probably have a TV static, nuclear decay, or other basically impossible to control source of random numbers in the first place. They also have a lot of money to ensuring the security of their randomness.

Saturday, December 4, 2010

Mouse Fountain of Youth

Discovery news says that a group of mice genetically engineered to age rapidly and grow telemerase when exposed to estrogen tend to recover their youth when exposed to estrogen. Already visions of a technological fountain of youth dance in many a journalist's head. Especially because telemerase is something easily obtainable that you could probably inject yourself with as early as tomorrow if you ordered it this morning.
Ah, but not so fast cowboy. The article also points out that this may be a quirk of the rapid aging genes. So maybe it might help someone with a rapid aging condition, but not provide boundless youth to whoever wants it. Even so, this is a remarkable piece of medicine going on here.

Friday, December 3, 2010

Lifting the Low Countries

The low countries of Belgium and the Netherlands, and the Maldives, are quite worried, and justifiably so, about the rising ocean. All three countries are very close to sea level, and parts of the Netherlands were actually reclaimed from the sea at great effort and expense. This post concerns the Netherlands and Belgium the most, as the Maldives can't afford this solution just yet.
I think, starting from the German border, we should carefully record each building's blueprint, demolish it, and rebuild it on poles 60 meters high. We'd also retrofit the plans for things useful to the people, like electricity, phones, central heating and air conditioning, and whatever else could sensibly be installed in the plans, because, well, why not. The streets would be on poles (like a freeway), the houses on poles, with yards on poles. It would be very tall. We'd sweep through the countries doing this until we reached the sea. Then, when the crops are harvested, the dearest plants transplanted, and everyone high and safe, we'd board off the sides and fill the inside with cement to stabilize everything. The low countries would now be the high countries, and would survive the highest sea rise possible.
Expensive, for sure, but I think if national survival were ever on the line, they'd find a way. Also, I think the highness would form a tourist attraction.

Thursday, December 2, 2010

Human powered copter

Imagine a device with a little seat, a large propeller, and huge rotors. A small counterotor in the back retains the balance. Sitting in the seat and violently pedaling, the user could lift himself aloft.
...eeeexcept that the rotors would have to be about 30 feet across, and one would have to pedal really really hard. It'd have to be made of the lightest carbon fiber, and even then it probably wouldn't work.

Wednesday, December 1, 2010

Planar Furniture

I'm imagining a super cheap form of furniture made of boards. Boards in little shapes slapped together to form a chair, and filled with expanding foam in the middle. Or, perhaps just an "X" like shape of more boards. A board chair could be had for $10, and a board bed for $30. Board desks would be maybe $5. For the cost of a professionally made chair, one can buy an entire studio's worth of furnishings. Furnishings that can easily be taken apart and hauled away. Just one problem: They'd be ugly.
True, to make them bearable I'd want to attach lots of cushions, but their primary benefits are also their main detractions. They're going to be boxy, kludge-like in appearance, and tacky. And yet, I believe there is a big market for them with college students (who have to make the most of every cent) and nomads (who can enjoy the benefits of furnishings by being able to take them apart and haul them away.

Tuesday, November 30, 2010

Linus Akesson's Auto Plant Maintainer

A Swedish programmer, engineer, and mechatronics expert, Linus Akesson, made an interesting device to detect the moisture level in a potted plant's soil. He stopped there, on the grounds that if it over-watered, it would ruin the wood floor under the pot. Based on his work, I think I have a completely automated plant care device.
His machine measures the soil's resistance to electrical flow. Moisture decreases this resistance. So, a microcontroller, connected to a probe wire and a relay, can probe periodically as in Mr. Akesson's design, but rather than merely recording and reporting this resistance, will, at a certain level, activate the relay, which will open a valve and water the plant. It can close it after a set period of time, or it can close it when the resistance has reached a certain level.
A microcontroller could also log this data to a computer, turn on or off an electric light for indoor or space growing operations, alert me if it runs out of water, or activate some sort of a camera and store the pictures so I get a "time lapse" of the plant's growth.
If I could only get it to monitor soil nutrition and chemistry too, then I've pretty much made a machine that automates plant care. And that's of interest to homeowners, gardeners, and farmers.
Mr. Akesson also does projects with musical microcontrollers, a chiptune piano, which he also demonstrates to great effect, and a rather good description of the historical applications of TTY technology and why modern computers support them despite very few people or institutions still having anything remotely similar to a teletype.

Monday, November 29, 2010

Entangled Tablet

So lately I've seen searches in the analytics for a "Quantum Entanglement NIC." This isn't possible under current technology, but it gives me an excellent idea.
A Quantum Entanglement network interface card would be useful because it would be linked to another card, and the two cards would act as if physically touching, even if separated by miles, astronomical units, or even lightyears. Literally instantaneous and uninterceptable communication. If it had a slot for a RJ-45 or wireless connection on top of that, so much the better. If it didn't, well, there's enough add-on slots in the desktop computer's motherboard to have a traditional network interface card.
Anyway, my idea is that we have an internet tablet (think like an i-Pad), and it has a quantum entanglement NIC connection to your desktop computer. The tablet will not run its own software, but instead be a mobile peripheral to your desktop machine. It is a terminal that fits in your briefcase, backpack, or other carrying device. It probably doesn't fit into a pocket or purse, but they're working on those. You would have all the features of your desktop machine, like high speed internet, your data, games, and so on, in a portable and useful form. The only thing the tablet wouldn't do well is type, unless your brought some sort of keyboard attachment.
You could have one entanglement tablet per quantum NIC installed, up to as many expansion slots as your computer has. This further expands the usefulness of computers if they have multi-user operating systems installed, and most these days are, for security and remote access's sake. One computer could be shared by four or five people, who access it through their tablets.
If you're not prone to losing physical objects, this would be good for security, too. It is literally not possible to intercept a quantum entanglement. There is no signal to snoop. However, if you do lose the tablet, you've basically given your computer over to whoever takes it, at least until you shut it down and remove the entanglement card. That would be scary.
Now, the current obstacles to this are in entanglement itself. For all its promises, quantum entanglement is a very fragile phenomenon. Entangled particles are difficult to keep entangled. If you disturb them, the entanglement is lost. If you read or write to the connection, it typically breaks immediately after. We're not even sure that a permanent entanglement is possible in theory. We're not even sure if that instantaneous effect works over long distances, or if it's limited to the speed of light like everything else. The current world record for entangled particles brought them 16km apart before the connection was lost. If you want a NIC, it's going to have to read or write so much more than than 1 bit before failing.

Sunday, November 28, 2010

Common Dreams

A study by a Hong Kong area psychologist found out that you, and I, and random people in Hong Kong, often have extremely similar dreams. There are some dreams that pretty much everyone on earth has, which is kind of strange because of the variety of cultures and lifestyles out there. I'll tell you some of mine, and the study shows that you almost certainly had them too.
As a young child, I often dreamed that I was driving a car with some other children. Sometimes the incongruity of this never hit me at the time, other times I had a nagging suspicion that maybe children shouldn't be driving cars, and maybe I'd get in trouble for it. Those stopped when I learned to actually drive. I also used to dream about having a fist fight with a person who couldn't be damaged. They could hurt me, though, and thankfully those stopped in college.
I used to dream about being naked in public, and boy was it embarrassing. In the more recent ones, however, I always seem to come to the realization that no one cares (at least in the dream), and so I don't have to be embarrassed. Perhaps my subconscious thinks that what I'm most embarrassed about really is no big deal to everyone else? And about two weeks ago, I had for the first time in my life that old chestnut of dreamers, falling out teeth.
In my senior year at college, I would have dreams in which a professor ruled me to be "stupid," and thus required me to repeat high school, or worse, junior high school. And I would feel humiliated...but the kids there only made fun of me for being "old," which really didn't bother me at all. Even though I'm easily now twice their age. And repeat high school was always so....easy.
Dreams common with other people, but that I generally haven't had, include being chased, searching for a specific place, having to pee but there being no suitable toilets (which I've had maybe once), eating lots of delicious foods (I'm going to guess these people are dieting), and suddenly being famous.
The psychologist, Dr. Calvin Kai-Ching Yu, also said that psychotic thinking was far more common in dreams than in people's waking environment. Believing that a famous person is in love with you despite any evidence to the contrary is, in waking life, a disorder called Erotomania, which suggests we keep you away from this person before you hurt that person or yourself. But in dreams, at least half the people worldwide have that experience. Dr. Yu said that psychotic-thinking based dreams are actually the most common kind, and that draws some interesting questions. Could many mental disorders actually stem from a damaged ability to tell dreams from waking experience? (And I can't tell you how many times I've woken up convinced of something, only to realize that it couldn't possibly be true.)
The most surprising thing about this is the way that people from different cultures have almost exactly the same dreams. One would think that, say, French and American and Hong-Kong-ian people would have different dreams because their waking lives are so totally different. What those three people would chose to wear, and do, and deal with other people, and eat, and so on, are all totally different. Then they all go to bed and have a dream where their teeth fall out. That is the weirdest thing I have heard all month.

Saturday, November 27, 2010

Ant Hunting

I've had a long running war against ants. They're an annoyance that seeks to steal my food, damages the house foundation, and occasionally bites me during the night. The usual way to deal with them involves dumping neurotoxins disguised as food on their nests. They eat it, share it, and all collectively die. Especially the queen ant, who is more literally "mommy ant." Without her, the last ant of the colony dies of old age, squishing, or being eaten in short order.
A big annoyance, however, is that I can only really find their nests after they've built up a bit. A small ant nest goes completely unnoticed. Until they build up to extreme irritation levels.
Biologists have successfuly reverse engineered the chemical signals that ants use to navigate, so I'm tempted to get their "ant pencil," which traces lines not of graphite, but of "food" signal, and leading them to a big pile of the neurotoxin. They won't be able to resist. Muahahahaha!!!

Friday, November 26, 2010

Space Internet

People love the internet. Especially astronauts. You can get all kinds of practical information, keep in touch with family, and there are countless amusements for the boring parts. Just one problem: It's hard to get off-planet. It's really hard in high earth orbit, and past about the moon or so, just plain outright impossible. TCP/IP, the backbone of the internet, would literally time out before signals could reach, say, Mars, even when Mars is at its closest. To say nothing of the return trip. My Mars base is ruined!
NASA does have a solution that they call DTN, which they use in the space station and other orbital places. DTN has a much much much longer timeout. If you're patient, you could run signals as far as you need to. And this gives me an idea.
A DTN over radio link connects a caching computer to the Internet...by downloading all the pages it can get a hold of, transferring email, and uploading new pages and transmissions (such as, say, blog posts), and storing this. It would transmit once per day. Space stations or other planets now receive the internet via the caching computer. Admittedly, every page in it is, on average, a day old, but it is as it appeared on Earth yesterday, and it would work at area network speeds (100Mbs is cheap, and 10,000 Mbs is...available.)
This way, people in space can look up things on wikipedia, or write blog posts, or upload the Mars vacation photographs to their blog. From their perspective, the Internet just doesn't update very often, but it still works. And back on Earth, you might get notification late, but you will get it. It's the best I can think of without, you know, altering the speed of light.

Thursday, November 25, 2010

Leaf Hunting Robot

In the forest, when leaves fall to the ground, small animals tend to eat them, and if the leaf escapes that, the worms get them. Ultimately, the nutrition that went into the leaf is returned to the forest as a whole. Nature is one big cycle. We like trees too, but when those trees drop their leaves, as happens in the forest...well, the animals that would have eaten them aren't there. If nothing else, your fence is in the way. And nothing's trampling them into the ground where the worms can get them. Typically, you rake them up and throw them away, where they rot in a landfill somewhere.
I'm imagining a small robot. You active it at the beginning of fall. It wanders around your yard, looking for leaves. When it finds one, it shreds it, and buries the shreds in a convenient way. (Say, it injects it under the grass in a way that won't be readily apparent the next day.) The raking is done for you, and the worms benefit. When the worms benefit, so does the soil quality, which now has been aerated and fertilized, which the grass will appreciate. And the robot can't cost too much. You won't have to rake much. Only on the heaviest days. When the leaf fall stops, you can take your robot back into storage, or maintenance.
People's yards and spare time would both benefit.

Wednesday, November 24, 2010

Population Pressure

Governments and corporations would like there to be more people. More people means more money flowing about, and more power to be had, and everything just goes faster. Environmentalists would like there to be less. More people means more used resources. More displaced wilderness as we require more cities, more farms, more mining, more everything. And both sides would, I imagine, like to apply pressure. Most famously, earlier this week Iran's government suggested dialing back the marriage age as a way of encouraging growth.
I think a major factor in people's decisions about reproducing are about resources. Not the biggest factor. The biggest factor is personal attitude towards reproducing. Someone who thinks it's their duty to God to have more children will have more than someone who thinks it's a burden on the Earth's ever-dwindling resources. But resources plays a role too. When food and toys and housing and education are expensive, and work opportunities are few, children are going to feel like a luxury that one just can't afford. One feels that any children one brings into the world will be living a life of deprivation and want, never sure where their next meal is coming from.
Or, even connecting couples can be a problem. In societies that strictly segregate men and women, men and women tend not to know each other very well. One may want to start a family, but in this kind of society, one has no idea how to go about doing it. Maybe you could talk to your parents or friends about it, and maybe someone knows someone who knows someone who you can hook up with, but it does make it far less likely. And even if you do manage to meet, you're so unfamilar with each other's upbringings that you may very well develop a relational train wreck. In other societies, people are so shy that they don't connect well. It's hard to want to marry someone who's afraid to hang out with you, or tell you what they're really thinking.
So, should society encourage more or less reproduction, and if so...how?

Tuesday, November 23, 2010

Synthetic Hair

A number of charities allow you to donate hair. You wouldn't think hair would be useful, but the most common use is making wigs for little girls who have cancer. The treatment for cancer costs them their natural hair, and having a wig makes them feel more...normal...about the whole thing. For this reason, they want long hair pretty much exclusively. If the hair is too long for the recipient, she can always cut it. If the hair's too short...well, not much can be done about that. If hair isn't long enough for that, it's also proven well at absorbing oil slicks. Or it can be made into brushes.
All hair use, however, is just a little insufficient. We get a lot from haircuts, and from Indian widows who are required, for religious reasons, to shave their heads when their husbands die, but we need so much more. So it's time to look into substitutes. Doll hair uses nylon fibers, and kind of resembles hair good enough for a paint brush. Not quite good enough on a human being.The texture is vaugely wrong, and not quite bouncy enough. A better substitute can be found in animal hair. Horses have some very good hair for this purpose in their manes and tails, and angora rabbit's hair would be perfect if it could be gotten long enough. Either would be fine with being shaven in hot weather. In fact, horses often prefer it, as their natural mane has a way of getting dirty and tangled, requiring vigorous brushing. Ask a parent with a toddler what their child thinks of being brushed, horses are about the same about it.
I think the best solution, however, would be reverse-engineering the way that horse and rabbit hair grows, and producing an artificial version of the same, be it chemical or biological (grown in a vat). Then we'd have all the hair we want. Wigs? One for everybody. Insulation? Now with hair for extra creepiness! Oil slick? We'll drown it in nylon hair bags!

Monday, November 22, 2010

Zero, One, Infinity

The three most useful numbers to programmers are zero, one, and infinity. Let's talk about why: It's the number of times something is used. That something can be a program, a block of code, or a data object.
Zero and one are pretty straightforward. Zero, it's not coming up at all. We're skipping it, because it's irrelevant, because we're low on resources, or because we just don't want it. If it comes up and we tried to skip it, it's a bug. One, we're doing this once. One copy of your business proposal. One copy of your personal finances. One copy of the pipe-flow model so the oil company can prevent blowouts in the new well. One copy of the game you're playing. It runs alone, and other things must be prevented from altering it. So far so good.
By infinity, we don't mean the mathematician's infinity. That would require literally forever to run if we ran it in serial, and an infinite number of CPUs and RAM chips if we ran it in parallel. No, by infinity, we mean arbitrarily many until we run out of resources. If you can run two, why not three? If you can run 3, why not 5? If you can run 5, why not 100? If you can run 100, why not 1,000,000? And something interesting comes up here.
A good example of the infinity model was back in the days when the significant computers were mainframes owned by an institution, and used by hundreds of users. They had text editors to take notes, program, and a myriad other things that store as words. The first attempt was to have a separate copy for each user, but that used too many resources. Programmers had to consider what could be shared, and what couldn't. Obviously, users should not see someone else's text stream, but the code to, say, draw up the text on the screen was invariant, and only one copy was necessary. So they all shared those parts of the code, and only one was in memory.
As an example in modern computing, take your media player. You probably have more than one media file on your computer, be it a movie, a song, or a MIDI sequence. It's quite rare that a media player requires your to load up the files one by one at the time you want to hear them, but more likely that it maintains a playlist. When you're tired of what's playing, you just press the 'next' button, and it goes to the next song in the list. The playlist is the infinity model, you can add songs to it until you run out of resources. Probably the hard drive fills up, and no more media can be obtained. It's not likely that your playlist grows so large that you run out of RAM to store it all, since the playlist is fairly compact, being only a pointing to the file name of the media, which it can load up quickly when indicated.

Sunday, November 21, 2010

Automated Data Entry

made this myselfImage via Wikipedia

Data entry is a frustrating job with little intellectual satisfaction, and practically a guarentee of carpal tunnel syndrome and other sore finger problems. It requires a clerk to be given reams of paper on a subject, and he or she must type them into a computer, quickly and accurately. Quickly because another shipping crate of paper is coming tomorrow, and because the computer can't really help with this problem until it has the data on hand. Regular saving is a must, as is passing this now computerized data over to IT to plug into the number crunching machine proper.
If one asked me to automate it, I would first start with OCR technology. OCR can, given a scanned page, translate the pixels into words. The reliability is pretty good if one can guarentee that the paper was scanned perfectly straight, and the original page's handwriting is reasonably legible. A mechanical arm would place the paper in the scanner, activate the scanner, and pass the result to an OCR program, and the data entry clerk's job is now reduced to verification. Any words missed or copied erroneously must be fixed, but it's easier than typing out everything by hand.
Of course, this is all expensive and difficult, which is why they pay you to do it.
Enhanced by Zemanta

Saturday, November 20, 2010

Traffic Tech

I was born in Los Angeles, a city with miserable amounts of traffic. Every rush hour, the entire city comes to a standstill, because there are too many cars on the road and they are in each other's way. The slightest slowdown anywhere in the traffic grid makes slow-moving, congested, stop and go traffic lines that go on for miles and miles. A traffic engineer once told me that traffic jams like that start when there is over a critical threshhold of cars, and one of them goes slower than 35MPH on the highway. (That would be 20 - 30 MPH under the limit, a significant slowdown.) Often, this is an accident, reducing at least two cars to 0 MPH and other cars around it to speeds under 20MPH as they slow or stop to gawk.
Most of China's cities are even denser than Los Angeles, and can suffer traffic jams that are longer than the city itself. So there's a big effort to push some of this traffic to busses, trains, and subways. And now on top of that, busses just got a big improvement. Busses may just be one very large car, but it's one very large car that takes so many people around that 30 or 40 other people aren't driving a private car. So it reduces traffic slightly. The new busses from China are raised above the street with a hollow first floor that cars can drive right through. Busses and their perpetual stopping are no longer a source of traffic jams. If the bus isn't going fast enough for you, you can drive right under it. If the bus stops to pick up passengers, you'll go right under it and no one on the bus will notice. The people are still transferred about...but as far as the cars below are concerned, it's like it's not even there.
I'm now thinking, what else can we do to alleviate the traffic problem? Near Los Angeles there's a really great light rail system, but it stops short of the city where'd be useful. Why? Taxi lobby bitched and the city caved. It would be helpful if that would be extended, perhaps into a subway system? And speaking of subways, if we build a tunnel highway beneath existing ones, we'd have twice the capacity in the same space.
But to really solve the problem, we'll need some sort of transportation that's completely different altogether.

Friday, November 19, 2010

Minix

Minix is the Unix-like operating system that inspired Linux in the first place. It's a very tiny microkernel based OS, written primarily to teach the design of a Posix-compatible operating system. Since then, it's had some rewrites, and is now capable of operating your home computer. They would like some additional driver support, and offer their OS with a BSD license, which allows you to do...pretty much everything except claim you wrote it or sue.
When I tried it out, I was expecting a repeat of my horrible experience with HURD, but Minix was different. Yeah, they're both microkernel Unix-alikes, but Minix was far less fragile. Everything ran. Everything ran reasonably fast. There was extra software, and it installed without the usual whining and carrying on from the OS, and nothing broke when I installed something else. Everything just flat out worked. Part of the reason for this may be the "reincarnation server" that keeps copies of critically important programs, and can kick-start them again if something makes them stop working, whereas in other microkernel operating systems, a failure in anything critical means you're restarting. It was a Linux-like experience....but slightly faster, because all the code was smaller. Sweet.
On the downside, Minix insists on its own weird little partitioning scheme, which confused me. I also dislike the bootloader, in which a mini-os loads before the main OS and requires your intervention, whereas other unix-likes can be left alone until login time. That was kind of annoying. I also worry that if I screwed something up, that I'd be permanently locked out of the system. In Linux systems, I do have ways to break back in and take back my files if the OS screws up. Or, more likely in Minix's case, I forget my passwords.
I feel like it would make a great install-to-ram bootstrapping OS, but I can't find any documentation on how to do that. Oh well. My experiments on this were some time ago, so I've forgotten a lot about it since then.

Thursday, November 18, 2010

Sea City

70% of the earth is covered by ocean. It's wet and salty, and only really populated with life in the shallows near the continents. Further offshore in the deep, life lacks the shelter to survive, so there's just an endless expanse of water. On the depths below, there is darkness, as the ocean has absorbed all light, and a sand-and-rock bottom. I have a plan to make this...useful. I wrote about it once before, so let's see
Using construction submarines, we build a large and hollow structure, and use cans of strongly compressed air to purge it of water. The structure will need a semipermiable membrane filter, to filter seawater into drinkable water, a submarine airlock, so people can reach it, and be divided into rooms. This is now an undersea city. It can be sold to the nearest nation....or an exploratory sort of person to found a new one, if it's far enough away from the others. The city will need electric power for lighting, some sort of commerce or hydroponics for food, and some plan to deal with the brine and wastewater. (They could be taken to treatment plants onshore with pipes, or they could be just flushed back out to the ocean at large.)
A better still idea would be an underground tunnel at the bottom, below even the surface, with rail and road lines that lead to the nearest on-land nation. Better than that would be to connect to the nearest several, thus becoming a transit hub. Air would flow through the tunnel, as would trains and cars carrying goods and people. The self-sufficiency of the sea city would be greatly improved. And you wouldn't need the expensive and difficult submarine lock anymore.
Last time, I suggested windows. These would be, from the point of view of the inhabitants of the city, useless. In the kinds of locations where this would be most plausible, there isn't enough light to see anything. It's dark 24/7, because the ocean above absorbed all the light that falls on it. Windows would only be interesting ecologically, as there could now be an ecosystem that starts with plants living on the light that leaks out sea city's windows. What plant could endure the pressure? Not many. The windows would be as helpful as your house's windows are on a dark and moonless and cloudy night. You can see your own reflection...and not much else.
I predict this will gain little traction until it becomes necessary. Already, every scrap of land on Earth is claimed by some nation or other, but many nations have large empty tracks. If these fill, perhaps offshore colonies may be considered, but no one's going to bother before. Perhaps a bunch of wealthy libertarians might like to do this, as it would leave them free of existing governments and rules as well as being hard to invade. Perhaps a displaced group might want to find some place, any place, where they won't be persecuted, and this is one of many possible solutions. Perhaps a group fond of solitude might do this to shut themselves off from the rest of the world.
Nah, not likely.

Wednesday, November 17, 2010

Learning By Doing Theory

There's little demand for inexperienced workers. Almost all companies want to hire workers with prior experience in their field, to minimize training expenses, and to start productive working immediately. This leads to the extreme environment I have been seeing for the past year where many companies won't even bother with a person who isn't already working in their field, and all companies demand prior experience. Those with little to none, like myself, where left with a catch-22 of requiring the experience to even get the experience required. This had to be frustrating for the companies too, who keep wondering why the figurative watering hole has been permanently dried up. (Like most professions, IT workers like me do not spring fully formed from Zeus's forehead!)
I think the entire system would benefit from workfare. People would be paid to do things, thereby getting the money to raise them out of poverty, but more importantly, they would have experience that would make them more attractive to hire in the first place. Companies would gleefully hire up the workforce bunch, who have prior experiences doing what they want and can be laboring productively starting immediately, and the training expenses have already been handled. The paying government would also benefit of progressively shrinking welfare rolls as the petitioners get snapped up into the workforce and the economy recovers.
However, for this to work, workfare would have to revolve around all sorts of industry's work, without stepping on that industry's toes by competing. We do need shovelers and road crews to fix our roads, but having done that doesn't benefit any industry. If the government did manufacturing, engineering projects, and IT, three industries with large demand for the foreseeable future, wouldn't companies that do manufacturing, engineering, and IT complain about the competition? (Yes, undoubtedly.) So the government would have people manufacture build and program systems....that would be thrown in a hole and forgotten. Not good for the morale of the workers, nor would the government really benefit from the results of that.
A better idea are institutions like NASA. NASA has a massive crew of engineers with numerous skills that almost any company would want to hire, but it focuses on something that companies can't yet do profitably for themselves -- space travel. (Space engineering is extremely expensive, and won't be profitable until we figure out some way to keep the expenses down.) So a workfare engineering facility would have to manufacture things that are useful to the government, but not profitable for private companies to make. Specialized tools for the CIA, perhaps. And government IT would have to focus on programming and maintaining computer systems that are somehow unprofitable for private contractor work. I can't think of any of these offhand, but I'm sure they exist and the NSA readily knows what these sorts of things would be.

Tuesday, November 16, 2010

Menthol

Menthol is a hydrocarbon extracted from peppermint that gives the impression of coldness when in contact with human skin. It does not actually lower temperature, but does soothe irritation (which feels hot without providing an actual temperature increase). Chemists have recently begun to find other compounds with similar properties.
The most insidious use of menthol has been in cigarettes, which provide a cold sensation while smoking. The menthol soothed the irritation that the tar and other cigarette ingredients provided, and left the smoker with the feeling of cold air with every breath, even while breathing warm and muggy air. It also tended to conceal the effects of smoking for a few years. Not cure, but conceal.
Now, chemically, there are a few reactions that genuinely remove heat. Chemists call this property "Endothermic," and such reactions speed up in a hot environment, and slow down in a cool one. The reaction stops when all of the products have reacted.

Monday, November 15, 2010

Stocked from the back

If I had a grocery store, I think I'd set it up that the behind-the-shelf area was hollow, and accessible from the basement. Clerks would stock the goods from the back, the way the milk refrigerator usually is. This would happen perpetually, so all you'd notice is that the supply of goods on the shelf never seems to run out, no matter how much people are buying it. There's probably some reason that supermarkets don't do this, but I can't think of what it is this morning.
Also, why don't supermarkets ever have a second floor? (Okay, many of them do have an upstairs office for administrative purposes, but the customer-accessible area is all on ground floor.) Stairs would be a bad idea, since most shoppers now use carts, but a ramp up to the top would work. Stores could have more selection on less real estate. What, are people too lazy to push a cart up a ramp?

Sunday, November 14, 2010

Hikkikomori City

"Hikkikomori" is a culturally-specific psychological syndrome, affecting only people of Japanese cultural upbringing. People with this condition are withdrawn and fearful of interacting with other people, and tend to live in their parents basement well into old age. They tend not to work, shrink from education, and spend all of their time on hobbies, much to the great irritation of everyone around them. The closest way to describe them in western psychology terms would be a mix of Agoraphobia (they do not wish to leave their homes at times), avoidant personality disorder (they really don't want to interact with anyone besides their families), Autism (they tend to have very narrow, obsessive hobbies, and again the not fitting in with society thing), and extreme shyness (they find even talking to a shop clerk to buy something unbearable). Japanese psychologists claim there are up to 1 million such people in Japan. Their parents all wish they'd just move out and get a goddamn job already.
I'm imagining a city, built beneath a mountain, and having space for up to 1 million people. A train, subway style, connects this city to the rest of Japan. The city is made of little rooms cut from the stone, and has electricity, water, and Internet. There are many gloomy apartments, perfect for Hikikomori hobbies. And living here has...conditions.
For one, people living here will be charged rent. You can earn it with psychological studies on re-socializing the Hikikomori, or, we'd have a number of jobs that don't require dealing with the general public. (Socializing tends to be easier for 'Hikki" people if the other person is also one. For one, there's a greater chance of empathy in the encounter.) Many jobs would revolve around things the person could do in a small room by them-self, like programming, art, industrial design, or assembly of small objects (which would arrive and be sent back by pneumatic tube). The most extroverted position available would be store clerk, who would sell things to people feeling particularly brave that day. (I predict most goods would be sold by vending machine.) Most contact would be by internet and telephone, which these kinds of people tend to be more comfortable with than face-to-face contact.
The train would regularly go back to surface Japan, so that people could visit their famlies, and hopefully, report an improved quality of life. Japan would probably want to regularly send in psychologists, both to study the disorder and to provide therapy to make people able to function outside this little city beneath the mountain.
If this existed, it would also test a theory popular with Japanese psychologists, that "Hikkis" are the way they are because they have different ideas about independence, interdependence, and the self, which subjects them to intense bullying in Japanese society, which makes them socially withdraw. If this theory is true, then "Hikki City" would thrive. If they are, like western psychologists suspect, just really obsessive agoraphobics with varying degrees of autism, then I think "Hikki city" residents would tend to not pay their rent until forced to move back to their family's home in shame.

Saturday, November 13, 2010

Cockroach Hunter

Cockroaches are the blight of many an urban area. They feast on our food and garbage, and quite sturdy against many biological threats, and few things are willing to eat them. Also, they're gross and they smell bad. So, they proliferate, to our great annoyance. Usually, we try to poison or trap them, with some tricks proving more effective than others.
I'm imagining either a robot, or a specifically bred animal, that seeks out and consumes cockroaches for power. If it were a robot, it would need a bacterial digester to turn the roaches into power. (Animals have a digestive system that turns what they eat into ATP and carbohydrate chains that they can burn for energy.) If it were a robot, it would be programmed with roach-like habits, like avoiding light, and tracking pheromones. If it gets too much power, probably it can go plug itself into the wall, and save you a few cents on your electricity bill. An animal version would, if it fed well, attempt to breed, which we clearly want to encourage. Answers.com suggests that a good starting point for a professional cockroach predator would be the gecko, a small lizard with an immense hunger for insects.
I would want to make this cheap enough to drive roaches into near extinction in cities that expressed interest in this. Cockroaches would continue to survive, if they learned to avoid human settlements. (Already cockroaches know to avoid flickering lights, as this means that a human is coming with things like squishy shoes, poisons, and possibly assistant animals like cats and geckos.)

Friday, November 12, 2010

AutoDefrag

Defragmentation is a useful thing to have on traditional style hard drives. It moves around your data so that it's contiguous, which makes it read and write faster. Fragmented data has been broken into little chunks around your hard drive (because that's all the room there was available at the time), and to operate it, your computer has to play a "choose your own adventure" game from hell, hopping to various sectors to get every little bit.
However, a badly fragmented drive takes hours to fix up. While one can, on more recent OSes, schedule the defrag to run overnight, and leave your computer on, more likely people ignore this until the computer is slow as hell, and then wonder why. When the resulting defrag takes more than 24 hours, they're kind of upset.
More recent filesystems note that one does not constantly write data to the disk, and spends spare moments passing a file around the disk to defragment it. This is called online defragmentation, and it's so efficient that you don't notice it. (Unless you're constantly downloading huge files via your impossibly fast optical fiber connection, but people who do that probably have their own ways of dealing with it.) With online defragmentation, fragmentation never gets a chance to get seriously started, because ignoring it for a few seconds tends to schedule it for defragmentation. A few microseconds later, and it is defragmented.
However, there is one kind of drive that fragmentation is not a bad thing. SSD drives are not a magnetic platter like traditional drives. They are a large connection of Flash EEPROM chips. The drive can get any part of the data on it equally fast, no matter how many pieces it's in. The main downside is that the information can only be changed so many times before that particular chip just plain breaks down. Defragging an SSD drive only prematurely ages the disk for no apparent gain. Other technologies, like load balancing and TRIM, keep the disk lasting longer, and the user will want to use a filesystem that uses these technologies. SSDs tend to be smaller and more expensive, so are primarily useful for things you want to load often and change little, like the operating system and executable files. Your main data would be stored on another, more traditional, disk.
Related Posts Plugin for WordPress, Blogger...