Monday, November 4, 2013

Please check out some other posts I made after I decided I didn't like the name Hacker Complex...



http://missingeyebrows1.blogspot.com/

Some (ancient) updates are there.

Since this website got roughly one thousand times the hits that the others did, I'm sticking with this blog, The Hacker Complex. Maybe people just like to look up the word "weed"?

Here's my intro from the abortive blog http://missingeyebrows.blogspot.com/2012/01/life-is-experiment.html .

Hi. I'm Bryan.

Life is an experiment. And for me, sometimes it's thought experiments. But I do actually make stuff sometimes. I like to consider myself part of the "maker" movement, or what some call "hackers"-- but creative hackers, who break stuff to make stuff, not crack passwords and crap like that.

This will hardly be new for folks who like that sort of thing, but here are a few of my favorite websites:

Hack A Day

Make: Magazine

Geek Dad

Lifehacker

Although I may never forgive that last one for taking my first name choice. Maybe "Hackitall"? But I like Missing Eyebrows.

Is "hacking" or "making" all about electronics and computers? Well, here are some things I am interested in, and will probably get around to blogging about:

  • Holography and Digital Holography

  • Lasers and Other Optics

  • Cooking and Molecular Gastronomy

  • Bio-Hacking

  • Gardening

  • Fungus Hunting and Culturing

  • Sewing

  • Mathematics

  • Simulations

  • Aquaria, Terraria, and Palludaria

  • Kinetic Art

  • High Voltage / Energy experiments

  • Relativity and other Thought Experiments

  • Links links links!

I suspect things will soon become very interesting. So tune in next time-- same bat-time, same bat-channel!
-BJL

Saturday, May 9, 2009

Weed Gardening


Today we're going to take a different tack and go with a more nurturing side of hacking: gardening. Dirt engineering is a down-to-earth activity that, IMHO, is good for the soul. It's surprising how many ways there are to garden; I had a plot in a community garden, and there were some divergent and dearly-held opinions about how to do things. I'll do a blog sometime about my favorite method, Square Foot Gardening.

Today, though, I want to throw out an idea I had: Weed gardening. I may not be the first to have this idea-- in fact, many have invented weed gardening spontaneously. It takes practically no effort at all! And that's the advantage. Now stick with me and hear me out. I'm not advocating agricultural anarchy-- there's more to it.

One thing everyone knows about weeds is that they grow better that the plants you actually want to grow. Our domesticated plants come from different biomes all over the world, and some are picky, whereas weeds, whether native or introduced, thrive everywhere. But there are two kinds of weeds. One kind is the noxious weeds, plants with nothing to offer that spread without limit, often poisoning other plants (really). The other kind is the sort that American Indians used to eat and make into cloth and use to treat fevers or whatever. In truth, every plant is a mix of these two, but we're going to focus on plants that are most like the latter.

By "weed gardening", I really mean the purposeful ordering, planting, and nurturing of improved varieties of plants that grow locally as weeds. For the first on our list, let's pick something very familiar. The French call this plant dent de lion, "lion's tooth", after the jagged appearance of the leaves. Before flowers appear, the tender, somewhat bitter leaves make excellent salad greens. After flowers, the leaves become more bitter, but would still be palatable as a potherb (a cooked vegetable like spinach). The flowers themselves are edible, substantial, and mildly flavored, and can be made into wine or fritters (dipped in batter and fried). As with lettuce or any green, letting the plant go to seed should be avoided by picking off blooms that have gone too far or harvesting the entire plant if blooms become overwhelming. The roots can be roasted for a chicory-like coffee substitute, and many swear the plant has medicinal properties.

If you haven't guessed by now, this is the dandelion. Improved varieties are available-- plant these, not actual weeds. More about growing dandelions can be found here. Some of my favorite seed providers are Pinetree Garden Seeds (cheap and a good variety) and Johnny's Seeds (more expensive, but an amazing array of specially bred plants). A good source of unusual and native seeds are available from Redwood City Seed Company. Improved dandelion seeds can be found here and here.

I live in the Rocky Mountains, so I know what weeds grow here, and they are the ones I'm going to talk about. A chat with your local nursery will probably teach you volumes about both weeds and domestic plants.

Next up: amaranth. Amaranth seed was considered a wonder food by the Aztecs, and is highly nutritious and palatable. My wife loves it. The leaves can also be eaten (go easy on them at first-- young ones raw, older ones cooked). Of course, the plant grows like a weed! It enjoys lousy soils with little water. But the best thing about amaranth is the sheer variety. Amaranth has been bred into several showy ornamental varieties that also produce edible seed; in fact, all the photos in this blog are of different amaranth varieties. (From top to bottom: Red-Green Calloo, 'Hot Biscuits', Opopeo,  Globe var. 'Mardi Gras', Asia Red, 'Golden Giant', Asia White, Love-Lies-Bleeding, and Joseph's Coat.)  I've considered a garden made of nothing but amaranth. The Seedman has several varieties, and looks to be a good source for other unusual seeds. The Domestic Goddess also has a list of varieties here. You are sure to find much more on the web.

Quinoa is a related wonder grain that is cold-tolerant, and Celosia is a pretty related genus (although I don't know about its edibility).

I could go on and on, but I just don't have the time. So the rest of the weeds won't get much more than a mention...

Purslane is a sprawling succulent that tastes something like prickly pear, but not as sour. Mexicans and the French like it. Seed is edible. Rose moss (portulaca) is an attractive and hardy relative, although I don't know how edible it is. Purslane is very hardy; if a careless weeder throws the plant on dirt, it will reroot.

Salsify or oysterplant looks like a small fountain of narrow leaves aboveground. It produces one large flower that turns into a giant dandelion puff. But the real treat is the long taproot that has a unique flavor some describe as oysterlike (but not very). 'Sandwich Island Mammoth' is a common improved variety.

Mallows are a sprawling herb with round, hairy, bumpy-margined leaves. The immature seedpods resemble tiny wheels of cheese (although segmented). The leaves, flowers, and seedpods are edible and somewhat mucilaginous. Improved varieties include curly leaf, red chinese, zabrina/zebra, and "miniature hollyhocks". Related to hollyhocks.

Buckwheat is related to rhubarb and produces a seed that is popular in pancakes. There are dozens of species called buckwheat, and frankly, I can't make heads or tails of the whole mess. But just plain buckwheat is easy to identify.

Tiger lilies have become naturalized here-- besides being pretty, the unopened flower pods can be incorporated into Chinese cooking. They taste a little like an oniony green bean.

Other weedy edibles and medicinals include cattails (a favorite of survivalists, but need marshy soil), mint (invasive!), plantain (not the bananas), nasturtiums (love lousy soil and taste like watercress), Mexican tea, prickly pear (a very thirsty spineless variety is available in California), and maybe even oyster mushrooms (not a plant, but the easiest mushroom to cultivate).

Pretty weeds include milkweed/butterflyweed, blue flax (can be made into cloth, but invasive), jimsonweed (pretty but poison), prickly poppy (pretty and prickly and poison), and cleome or spider flower.

Ersatz weeds: Deadly nightshade is also pretty, but it is perhaps better to substitute garden huckleberry, a related plant that produces an edible berry (if you harvest it just right). Nobody in their right mind would plant field bindweed (usually called morning glory), but genuine tropical morning glory is eager to grow-- and dies each winter. (Just beware of reseeding.)

Ask a local nursery or agricultural extension service for help with your ideas. They're sure to love it. After all, when you think about it, every plant was once a weed!


**** UPDATE*******

NPR's Science Friday for May 22, 2009 had a segment on revitalizing wild ecosystems by replacing grass with native local plants.  Check it out.

I cannot believe I left out sunflowers! Sunflowers love crappy soil, hot sun, and dry weather.  They look terrific all season long, produce edible petals and seeds, and they come in zillions of beautiful varieties! Check out 'Infrared', 'Teddy Bear', 'Lemon Ice', and 'Sunspot'.

Chicory is an unusual plant with pretty blue flowers.  The young flowers can be eaten raw or cooked.  The roots can be roasted for "coffee" (that's Postum, folks).  And if you bury the living root in sand overwinter, you'll get Belgian endive.  Whoa.

Wednesday, May 6, 2009

Comment on my ruddy blog already!

I know SOMEBODY has read this blog, because I told all my friends on Facebook about it, and at least one of them remembered the blog's name. So COMMENT already. Nobody's agreeing or arguing with me. Well, you ought to. Or at least say hi.

Coming soon: Cure for the common cold. Swine flu will have to wait.

Saturday, April 25, 2009

Laser Popcorn


First, please note that Lightsaber pt. 1 is illustrated for easier understanding.

So I'm hoping to soon get my 170 mW laser diode in the mail. (It was pulled from a 20X DVD burner, and it's visible red). This is sufficient to make electrical tape melt and blue balloons pop and carbon paper smoke.   So after ordering, I sat back and thought, "Now what?"

What sort of application should my diode apply itself to?  The first idea I had brought a smile to my face: a popcorn popper.

Popcorn poppers have been on the 'Web lately: see http://www.everythingusb.com/diy-usb-popcorn-popper-15007.html for a USB popper, or http://www.youtube.com/watch?v=jgjx4JROjR4 for a video of cellphones popping corn (what a pity it's a hoax, and furthermore by a corporate wickdeed (that means a person who does a wicked deed, of course)). My thought? Bring a high-powered laser to a tight focus, and drop a stream of unpopped kernels (Fig. 1a)  through that point.  As each kernel hits the hot spot (Fig. 1b), it explodes into fluffy goodness (Fig. 1c) and continues into a waiting bowl (Fig. 1d). 

Sadly, I was not the first to think of it (http://www.metacafe.com/watch/847876/laser_popcorn/).  It's clear from this video that my laser diode is NOT going to instantaneously turn kernels into clouds.  I was reassured, however, that it was not necessary to paint the unpopped corn black (they burn instead of popping).  I do wonder if naturally blue corn might pop more effectively.  

So how to get the popcorn to pop fast? Well, one could try a more powerful laser, of course. A ruby laser pumped by a flashlamp would be ideal.  The kernel would interrupt a light beam as it falls (maybe even a weaker laser), and an appropriately-timed trigger circuit would fire the flashlamp at just the right instant, blowing endosperm into a starchy Styrofoam.  Might even work for puffing wheat. The flashlamp circuit will require some time to recharge, so the time between kernels will have to be moderated, maybe by a synchronized solenoid that releases the popcorn from its chute (where the kernels line up in single file as they come out of the hopper).

A continuous-mode laser would pop corn at a much higher rate; however, other visible colors wouldn't do any better.  Popcorn pops because of steam buildup, so I'm thinking the water absorption spectrum (seen here  ) is the most relevant-- although the color of the outside husk might have a lot to do with it.  Apparently, the redder the light, the better the H2O absorption.  I'm sure a lot of you will correct me, but I can't think of any high-intensity red lasers; well, I suppose argon ions lase in red, and maybe mercury or something. 

The water absorption spectrum makes it clear that visible light is a lousy medium for exciting water.  The deeper the infrared, the better-- in fact the peak is at a wavelength of ~ 3 micrometers (3000 nanometers, as compared to 700-400 nm as a generous estimate of visible light). (Water apparently also absorbs well in the X-ray regime, but X-ray lasers are inconvenient.) So what to use?

A nice option is the carbon dioxide laser, which is fairly efficient and somewhat close to the absorption peak.  Perhaps an even better option would be the water laser.  Yes, water vapor can be made to lase, but it doesn't really coincide with the absorption peak of liquid water. So it looks like CO2 is it.  Any dissenting opinions?

Other options? The microwaves in a microwave oven are gigantic, with a wavelength of about 12 centimeters.  They are effective at heating water only because they rotate the molecules, which then "rub" against each other, making heat essentially by friction. This size, however, won't come to a nice tight focus, which is why your microwave scatters the radiation with a stirrer fan. Looks like a poor choice.  Masers are microwave equivalents of lasers, but would not really improve matters.  

But microwaves give me an idea-- perhaps a high-voltage arc? The electrodes could have just the right spacing and voltage so that they would not arc until the kernel fell between them-- like a bug snapping in a bug zapper.  I can't help but think that the odor of ozone might be unpleasant in your popcorn.  But it's got potential.

Now another problem.  Presuming that the popcorn popper pops popcorn, the fluffy product will suddenly decrease its terminal velocity drastically, going from a projectile to a parachute.  This could cause the nascent popped-corn kernel to hang around the hot zone too long, possibly burning.  Of course, the albedo of the corn also goes up drastically, but this might not be true in the infrared.
 
My thought? If the unpopped corn is grain, the popped corn is chaff.  Place a fan at right angles to both the laser and the drop path (Fig. 1e.), and the suddenly wind-catching popped stuff will immediately waft to the side (Fig. 1f.), no doubt into a prepared melted-butter bath.  This minimizes time in the hot spot. (See illustration). This is the principle behind a hot-air popper, where the popped popcorn gets blown out the top while unpopped seeds swirl around the bottom.

Now that we've figured it out, who's going to build it?


Thursday, April 9, 2009

Smearing the Name

Apparently I didn't notice that "hacker complex" (usually spelled "hacker" complex) has a negative connotation out there on the Web. Looks like folks want it to mean "a pathological personality that develops when somebody is a loser and wants to shore up his ego so he starts breaking into computer systems and believing he is God."

Well, they're wrong. I defined The Hacker Complex(tm) for perpetuity throughout the universe in my first post. So be sure to correct anybody who uses the term incorrectly. The words "nerd" and "geek" use to have similar negative connotations, and now they're practically complimentary. Thus will be the fate of the phrase "The Hacker Complex". As for the definition above, I think a better name would be "cracker complex". Hmm, might have racial overtones. How about "patho-hacker"? Or HCPGB (hacker/cracker/phreaker gone bad)? Any other suggestions?

So you want to build a lightsaber?


Welcome to my first installment on building a lightsaber. This will be the first of a few installments, as I just won't have time to disgorge the whole thing at once. ByTheWay, "lightsaber" is no doubt a trademark of Lucasfilm Ltd. There, I said it.

So what exactly is a lightsaber?  In the original script of "The Star Wars", it was called a "lasersword". Way less catchy.  The name implies that it is a sword of laser energy-- that is, a laser beam that doesn't go on forever as a ray, but has a limited length like a sword.  Tricky.

In the actual "Star Wars" trilogy/sexology (snicker), some random book I read defines a lightsaber as a beam of high-energy particles that goes to the end of the beam, makes a sharp 180, and comes back into the handle.  A laser may have been part of the thing.  There's also a lot of quasi-mystical stuff about some sort of crystal or gem in the handle.  Hmm.

Ok, so how to create the effect?  If you just want to know how to create the appearance or sound of a lightsaber in a movie or something, I'm sure you'll find other stuff on the web.  If you actually want to cut something, let's talk.  

The difficult part of a lightsaber or just plain "lasersword" is the self-termination. (But it's not the most technically challenging part-- more on that later.)  Sure, you can just carry a powerful laser around and burn stuff, but it inconveniently keeps going, risking burning and blinding everywhere it's pointed.  A lightsaber, on the other hand, can be pointed menacingly at an opponent without punching a hole in them, at least if they are more than a meter away.

The most basic way to do this is to use a mirror or absorbing target at the end of the blade.  This would require some sort of solid support, which is patently uncool.  Maybe one could fiddle around with magnetic levitation, but that might require holding the lightsaber pretty close to vertical the whole time, cramping a Jedi's fighting style.  No doubt you will find a way around this-- superconductive vortex trapping, perhaps?

The next solution is to use a lens that, instead of collumating the beam, focuses it to a point a short distance from the handle-hilt thingy. A cone of diffuse laser light converges as it comes out of the handle, becomes intense at and around the focus, and then diverges afterwards.  (Need a picture? Maybe later.) So at a distance from the focus, the beam becomes a lot less dangerous, although still prone to blinding people.  To get a nice blade, the cone should converge slowly, elongating the effective focus into a stretched-out ellipse.  The problem is that the laser light then diverges slowly out of the focus, making the danger zone very long.  As in all engineering, there is a trade-off; a long blade requires slow divergence; a nice cut-off makes the beam inconveniently short.

Is there some way to get around this?  Well, since the optics are all in the hilt, it's difficult to change the beam once it's gone out.  But here's something that could be done. What if, instead of a single lens, the laser were focused by a series of concentric rings?

Here's the idea.  The blade is a dotted line instead of continuous. The innermost ring/lens focuses the laser light to a bright point very close to the hilt.  This laser light disperses quickly as one moves away from the hilt.  The next ring out focuses laser light into a point just beyond the first. This disperses slightly more slowly as one moves away from the handle-- but this is only a portion of the total laser energy, so it's not as dangerous as focusing the whole beam there.

So continue until you have a series of bright points the length of the blade. Now the laser energy is distributed in a way much closer to our ideal-- evenly along the blade, and much less elsewhere.   By making more and more points closer and closer together, in the limit, we get a continuous beam.  The Force is now with us!

I haven't done a study of this, but I imagine the optical element to resemble a Fresnel lens, a CD, or some sort of holographic optical element.  Actually, it might be a lot more boring than that, just a properly shaped piece of glass. 

Hmm, maybe this isn't such an imaginary hack. I wonder...

But what about high-energy particles? More on that later.

Hi, I'm Bryan! Welcome to my new Epic Blog!

Welcome to my epic blog, The Hacker Complex (tm)!

This is a place for your brain to have some fun or exercise -- a mental playground, or gym, or however you want to look at it.  As our wise elders say, "Get out and play for an hour a day!"  They are, of course, referring to this web site.  So let your brain out so it can swing on the monkey bars already! 

Why is it called "The Hacker Complex(tm)"? 

IT'S NOT ABOUT BEING COMPLICATED. Instead, chew on these...

!) I've always had lots of great ideas, but trouble implementing them-- time, money, even skill and brains at times.  Therefore I've always been a wannabe hacker, pining to join the 'l33t! So I have the "Hacker Complex"...  but I'm okay with that now! Because what I excel at is inspiration: communicating enthusiasm, ideas, knowledge.   So come join me! WANNABES WELCOME! If you just want to have a "virtual hacker" lifestyle, even if you feel you don't have the brains, come join the dang conga line already! C'mon, get happy!

@) Phew, all that enthusiasm wore me out.  The second reason it's called "The Hacker Complex" (just pretend there's a (tm) from here on out, okay?) is because it's complex in the mathematical sense: it has both Real and Imaginary components.  I (or we!) will talk about real hacks, such as building robots and automated antimacassars, and imaginary hacks, from I'll-never-afford-that hacks to pure mathematics to let's-build-a-wormhole hacks.

#) The third reason? It's because being a hacker, or wannabe hacker, an engineer, a scientist, an armchair rocketman-- it's all addictive. It gets in your blood, or it was always there to begin with.  And that's another definition of "The Hacker Complex". When eating breakfast, you wonder if one could genetically engineer chickens to make bland egg whites salty from the start.  Or if bread could be spread with a catalyst that would brown it into toast upon contact with air.  Or you wonder if a fork could be improved with a microcontroller and a few servos. And so on.....

So enjoy the ride. 

Bryan J. Lowder

P.S.  Check out my buddy Alan's page at http://www.damninteresting.com .  It's so professional it goes beyond blog and e-zine to a journal. But the subject matter is just what the title says. The writing is absolutely top-notch.  Alan and his minions are on the verge (and when I say "verge", I mean the advance has been payed and the manuscript is in final editing) of publishing a book, the "dead tree edition" of DamnInteresting.com.  I am an occasional contributor to the web site, and have some mini-articles in the book.

P.P.S. This blog is about doing cool things with hardware and software.  It is not about breaking into servers, cracking commercial software, writing viruses, or anything illegal, unethical, or immoral.  This is hosted under the auspices of Google, and their motto is "Don't Be Evil."