12 July 2011

Behold, Some Code!

Since my life reboot, my leet code skillz have gone to whole new levels. Here's a representation of the kinds of things I've been doing for the past three months:

s = 1; %blort-cell counter
interpnum = cell(1,6);
for t = {East_u, North_v, Vert_w, VelError, Mag, DIR}
    blort = t{1};
    k = 1; %within blort-cell counter
    for i = 1:length(SerYear)
        badeast = find(isnan(blort(i,:)));
        for j = 1:length(badeast)
            m = badeast(j);
            while isnan(blort(i, m))
                if m > 1
                    m = m - 1;
                else
                    break
                end
            end
            n = badeast(j);
            while isnan(blort(i, n))
                if n < SerBins(end)
                    n = n + 1;
                else
                    break
                end
            end
            interpnum{s}(k, 1) = i;
            interpnum{s}(k, 2) = badeast(j);
            if n - m < 5 && ~isnan(blort(i, m)) && ~isnan(blort(i, n))
                interpnum{s}(k, 3) = interp1([m n], [blort(i, m) blort(i, n)], badeast(j));
            elseif n - m < 5 && isnan(blort(i, m)) && ~isnan(blort(i, n))
                interpnum{s}(k, 3) = blort(i, n);
            elseif n - m < 5 && ~isnan(blort(i, m)) && isnan(blort(i, n))
                interpnum{s}(k, 3) = blort(i, m);
            else
                interpnum{s}(k, 3) = NaN;
            end
            k = k + 1;
        end
        clear badeast j m n
    end
    clear i blort k
    s = s+1;
end
badeast = interpnum{1};
badnorth = interpnum{2};
badvert = interpnum{3};
baderr = interpnum{4};
badmag = interpnum{5};
baddir = interpnum{6};
clear s t interpnum

It looks at a big block of numbers, one row at a time, and interpolates for any missing values - assuming that there are no more than four missing in a row (in the row). It does this for six individual same-sized blocks.

It's in Matlab. There might actually be a simpler way to do this, but if so I don't know about it. (Obviously.) The fun part is: it only took me two days to work all that out. Leet skillz progress! :D

20 May 2011

Things Learned from a Gulf of Mexico Science Conference

One

The preliminary results are in on the Deepwater Horizon oil spill.

There basically wasn't any hugely negative impact to wildlife in the immediate aftermath of last summer's oil spill. Some stuff died because the oil was toxic, but other stuff stepped right up because the oil was food. A lot of stuff that looked like it ought to be affected ... wasn't. The stuff that was knocked down recovered within a few months after they capped it. In short, some short-term changes in ecological composition occurred, but no overall increases or decreases of anything.

Also, commercially important fish had an outstanding year due to the lack of commercial fishing.

This is not to say that the Gulf ate the oil and is just fine now. Although there weren't immediate effects, the oil is still there and will likely have longer-term chronic effects. Some fisheries might not collapse until a couple years later, depending on how long the life cycles work for the seafood involved.

Two

The next time I find myself on the job market, all I really have to do is show up to a science conference and talk to people about what I can do with their CTD data. Voila, jobs will magically appear! Send out resumes? Phhht.

16 May 2011

New Chapters Begin, Old Chapters End

In mid-2008, my friend Robert talked me into signing up at eHow to write articles. He was making some serious pocket money and thought I could too.

Two years, ten months, and 44 articles later, I have $478.57 more than I did before. Some articles made a lot - one of them over $130. Others made diddly squat. In the process, I learned all sorts of things about freelance writing for content sites. Most importantly:

  • A whole lot of people make living-level wages doing it, for example this guy. Over at Demand Studios, the people who qualify to write the $30 medical/health articles, and who can crank out 10 of them per day, 6 days per week, from home while watching their toddlers, and without having to do any of the pitching/rejection of traditional freelancing, those people have it pretty good.
  • I'm never going to be one of them. In the end, I'm just not that fast.

    So, what's next? Who knows. I sure know lots more about SEO than I did before. But not enough about any actual topic to write a good-sized website of my own. My friend Robert keeps trying to talk me into making one about something marine biology related, but I've long since passed into the "I know enough to know I don't know anything" phase about that.

    In the meantime, Bright Hub is reeling but still standing after the Google Panda smackdown, most of my extant articles are now there (including several of the eHow refugees I had to move in the past ten days), so maybe I'll just watch what happens for a while...
  • 14 May 2011

    A Tall Shorebird

    Coastal Alabama has a lot of birds of all kinds. Here's one I saw yesterday morning:



    It's a great blue heron. Very common over most of North America. This one let us get real close. There were four of us out there talking, and it just stood there, so I took a picture. :)

    08 May 2011

    Newest Toy

    When the apartment management first told me about my new apartment, they said it wouldn't have any washer/dryer connections. But after I moved down here, they neglected to tell me that there were washer/dryer connections after all - and they especially didn't mention it was going to cost me an extra $10 per month.

    Right around the same time, someone mentioned how they'd just bought a small portable washer. Just like a regular-sized washer, they said, but smaller! Possibly small enough that even I can move it by myself! (This is a plus because I'm a firm believer in only having furniture and appliances that I can personally move by myself.)

    And so, after some shopping around I bought:



    It's a Haier pulsator portable washer. It turns out that I can lift the thing, but just in case I can't it comes with wheels. It's also a lot more roomy on the inside than it looks because it doesn't have that big column thingy up the middle. It's also cute. Cuteness is key when it comes to wanting to do laundry. :)

    30 April 2011

    Life is Grand Again

    Part of my view into work:



    Yes, I think in terms of workplace, I've definitely traded up. :)

    Also, in the hopes that I really am about to resurrect this blog, a picture of a cat:



    Specifically, it's this cat. I got back in touch with his owner, who sent me a more recent picture. Ten years later he's doing well and looks the same. :)

    09 April 2011

    From GA to AL via IN

    BEFORE

    I loved my work and my boss, I liked most of my coworkers, and I had come to hate my workplace.

    AFTER

    I'm doing the same work that I still love, so far I like my boss and coworkers, and I love my workplace.

    All in all, despite two very strange years in between, I think I've traded up. :)

    28 January 2011

    An Idea for Modern Education

    Step One

    Do a traditional lecture on the topic.

    Step Two

    Assign standard homework. But for each question, ask where and how students arrived at their answers.

    You can hope all you want that students will learn the material by attending your lectures, reading things you've assigned them to read, and getting a broad background on the topic from which they can draw to answer specific questions. But this is a day and age where they will just copy/paste the entire question into a search engine (including any misspellings). And there are lots and lots of people on the Internet who will happily write a direct answer to it if enough students input the exact same one. Yay for SEO longtails and ad revenue share.

    Step Three

    Do a second lecture about all the online sources on the topic that students have found. "This one is right because..." "This one is wrong about..."

    In this way, not only do they still learn the actual material, they also get some insight into evaluating sources on their own. And you learn where all the cheat sources are without having to look yourself. Win-win? :)

    Note: I have no education background whatsoever except as a student.

    01 January 2011

    2010 Retrospective

    In January, I was still receiving unemployment money while sending out job applications and receiving rejections. I was in the middle of sorting through nearly two decades' worth of life's paperwork detritus and preparing for a move, whenever that might be. I was waffling about where I wanted to go with content-site freelance writing. It passed the time while I waited for the next part of my path to magically appear, but was it worthwhile to do? Was I in or out on the challenge Bright Hub laid out for me with their new standards? Could any of this possibly make me a living?

    In March, my friends with the seafood market invited me to move into their house and (more or less) join their family.

    In April, eHow's WCP shut down, Demand Studios invited me in in its place, Bright Hub was really starting to grow on me, and all signs pointed to Go on the freelance writing.

    In May, I moved from Savannah to Indiana. Then I spent the next five weeks in Taiwan, two weeks in Hong Kong, and half a week in San Francisco. I went places, saw longlost relatives, and met new people (including my niece). It was both a vacation and a form of imprisonment as I couldn't go anywhere or do anything without other people's approval.

    In July, I finally completed my move to Bloomington. Bright Hub promoted me to Senior Writer (so I met and surpassed the challenge of their standards). Between them and Demand, I started making about half the money I needed to go back to living independently.

    In September, I got a job: to go out on boats in the Gulf of Mexico in support of NOAA's oil spill damage assessment. I went on three cruises before fall sampling shut down for the winter.

    In December, after weeks of no word from the cruise people, I began wondering whether I'd done such a terrible job that I would never hear from them again. Even though I know there's nothing going on until spring sampling begins. Writing continued in the meantime to pass the time.

    And now we're back to January. I'm still living in someone else's house. Nearly all my stuff is packed away in storage. I'm doing really well at Bright Hub, and Bright Hub is doing extremely well on the searchable internet.

    Where am I going next? Well, if all goes according to plan, I'll be working a lot of cruises in the spring and summer, and writing in between - both for Bright Hub and fiction. If all doesn't go that well, Demand Studios is still there as the backup plan. Will my finances become stable enough to move back out to a place of my own? I think that's the goal for 2011. I guess we'll see what happens from here.

    25 October 2010

    Ahh, Prejudice

    On the one hand, I'm really flattered that someone could be so comfy including me in their "us" category that they'll use words like "fag" while talking about their "them" categories. I haven't been part of any offline "us" categories in years.

    On the other hand... well... umm, "fag." T.T

    19 July 2010

    Slice of Life Reprise

    After having lived for several years in a place where people commonly did their best to avoid acknowledging my existence, I can't say how nice it is to be somewhere where people actually look at me and sometimes even randomly talk to me like I'm a normal person, and where service staff actually want to help me. Even if they're old white people! Thank you, Bloomington Indiana, for reminding me what that's like - and restoring some faith that there are at least small pockets of midwestern U.S. where people are decent, even to people who aren't exactly like them.

    (Slice of Life)

    22 April 2010

    Today's Insipid Thought

    At some point your potential is supposed to turn into kinetic. If it hasn't by the time you've reached 30, you've lost it all.

    11 April 2010

    Two Roads Diverge in a Wood, and I

    On one side lies the Science Academia path. I can get another job as a data analyst and continue my endless string of research tech jobs. Or, if I want to actually advance, I can get a PhD in something. So far I've narrowed the "something" down to ecology, which is still kind of broad. Then, once I have a PhD, expectations rise steeply about what I do next: develop a research program and find ways to fund it. This would be exactly what I was avoiding for the past ten years.

    On the other side lies Freelance Writing. Bright Hub has seemingly endless stuff for me to do, and it's certainly a place where I can help them grow. There are lots of other content sites I can write for as well. For that matter there's "real" freelance writing where I query to write stuff for a lot more money than content sites pay. The pay is very low at the start, but then there are my friends with the seafood market who have offered to let me move into their house for free room and board - so I'll stop having any living expenses to speak of. And just as I was waffling about where I should go, eHow folded up its ad-revenue-share program, and suddenly I'm a part of Demand Studios. Suddenly I can actually make decent money at this.

    To go one way, I'd really need to find the right kind of passion for my work. Good scientists don't just go to work, they live and breathe what they study. I don't have that.

    To go the other way, I'll basically lose all my credentials to go back to science later. My degrees are already stale, and my leet skillz will go too. I won't be able to go back.

    Two roads diverging. I can't keep going up the middle or I'll just hit a tree. I don't know that the one I'm choosing is the less travelled, but it certainly seems to be the path of least resistance.

    01 April 2010

    March articles

    My friends with the seafood market have managed to drag me into helping them on the busier weekends, and also at month starts when they have huge hordes of rabid customers rushing to spend their EBT funds. March was extra busy because of Lent, when people stop eating land meat and therefore more seafood. Plus they were down a worker who had to be out of town all month. So, all in all, I wasn't online a whole lot.

    Still, I managed to write four articles for Bright Hub, one for eHow, and one for Bukisa.

    Life Cycle of Seahorses - Seahorses are small fish with a life span of one to five years. The seahorse life cycle includes males that get pregnant, which is as extreme as it gets for male parental care in the animal kingdom.

    Intertidal Zone and Habitat Functions of Estuarine Marsh Areas - Salt marshes in estuaries have two main functions of interest to humanity. They provide crucial nursery habitat for the young of a great many fish, shrimp, and crab species that we like to eat. They are also Nature's septic system for all the organic waste we produce farther upstream.

    How to get ingredients in Restaurant City - there are six ways. I screenshot them all, including pics from inside mine, Anne's, and Carol Elaine's restaurants. :)

    Origin and Phylogeny of Vultures - this one is based on "black vulture phylogeny 'animal diversity web' " which lots of people are running searches on for some reason. So I tried to write an answer. :) There didn't seem to be one when I tried the search myself, at least. (If you've landed here by searching on it, please drop me a comment explaining what you're trying to find, and whether the article I wrote was it... if it isn't, I'd be happy to try again.)

    How to set up housing in Emperor: Rise of the Middle Kingdom - the second in a four-part strategy guide series I'm working on (apparently at the rate of one per month).

    How to remove sticky oil residue from nonstick pans - eHows have the advantage of being quick to write with minimal paperwork overhead fuss. This one, I figured out how to do because I had some uncleanable pans, and then I wrote it down for everyone else.

    As for April, so far I've claimed one slot about ecosystem changes. I have lots of ideas for more gaming articles (which, although less fulfilling to write, are a lot faster and certainly entertaining to research...). It all depends how busy the seafood market keeps me.

    23 March 2010

    First Azaleas of 2010

    This is a view of the patch of woods behind my apartment, as seen from my bedroom window on the second floor. It's my daily regular view now that my computer is upstairs.



    The splash of purple is one of two big patches of azaleas that began blooming last week. Normally they show up back in February, but we've had an unusually cold winter. So far none of the fenceline flowers have appeared yet (and thus, no closeups).

    09 March 2010

    Some recent thoughts with no particular point

    If we burn the prairie in the fall, the grass will grow better in the spring. This will give the elk and buffalo more to eat, allowing them to grow and multiply. Which means that we, in turn, will also have more to eat.

    The above concept comes out of 1491 by Charles C. Mann (p. 279-284) - a great book for short bursts of reading, in that you can turn to just about any page at random, start reading, and learn something interesting about the Americas before 1492. I read the above and thought: Huh. That makes a lot more sense - to work with nature to get what you want, rather than against it, trying to control it. Why don't we do more of that instead?

    (Not that that works well in modern-day container gardening, alas. My inclination is to put the plants out there and let nature do whatever it wants. Unfortunately, this doesn't seem to give me any tomatoes.)

    Then a few days later, I found out via Discover Magazine ("Where the Wild Things Are", March 2010, doesn't appear to be on their website (yet?) dangit) that someone in the Netherlands is trying it out. Or something close to it with the Oostvaardersplassen nature preserve. Basically, put a bunch of large herbivores together, do nothing management-wise, and see what happens. Results so far: you get patches of open forest and grasslands. not unbroken dense forest.

    Anyway, like I said in the title, I don't really have a point. I just thought it was kind of cool. :)

    04 March 2010

    Still Dwelling


    You have killed me by Morrissey


    I don't share this view of how things ended, but this is how I would respond to it. But then, it's not forgiveness from me that matters.

    28 February 2010

    Articles Written This Month

    I've decided to start a new end-of-month feature - list of articles written that month. Herewith, then, are the articles I wrote in February:

    Abiotic (Non-Biological) Factors of an Open Ocean Ecosystem
    A Review of Yakuza Lords on Facebook
    Arctic Ocean Marine Life
    The Dragon Cave: A Review
    How to plan your city in Emperor: Rise of the Middle Kingdom

    There was supposed to be one more article about alleles, but it's taking a really long time to make it past the editors. I'm told it'll be up before midnight; we'll see...

    I also added some pictures to my micro RNA article from last October: Micro RNA and Gene Expression

    My test readers found it confusing when it was just the text. Now they only find it partially confusing. Yay progress! :)

    My full list of every article I've ever written is linked to the top left, if anyone is interested.

    UPDATE: What Are Alleles? is up now. :) This one was really hard to fit in 500-800 words; either I could answer the title question in 8 words ("alleles are different versions of the same gene") or I could write a textbook about population genetics. In the end I just sort of blathered aimlessly for about 600 words and then stopped there instead of coming to any points. Apparently that was good enough to pass muster at Bright Hub.

    19 February 2010

    And now for something completely different

    I've actually been tired of my old blog template for a really long time now, but was not tired enough to overcome my inherent laziness when it comes to actually changing it. Until now, apparently. Because I just now saw the "Edit Pages" tab and thought: "ooo. I should do something with that."

    It occurs to me that both General Comments and My Dragons ought to have been pages, if pages had existed at the time I made those posts. There doesn't seem to be any way to move them over, however.

    Anyway: the biggest thing that annoyed me about the previous template was the width. Pictures refused to sit next to each other unless I forced them to - and then they'd go off the edge of the post area. This current template doesn't have that problem, so it's already a step up. :)

    I might fiddle with the color scheme later on. Or not. I can feel my inherent laziness already setting back in again....

    16 February 2010

    Things I Ponder

    Would it be better or worse if people could actually talk to other cars on the road? Because, at this point, we've probably reached a point in technology level where we no longer need rely on the honk as our only means of communication.

    On the pro side, there could be:

    "Your tail light is out."
    "You left your gas cap open."
    "What's the holdup? Why's nobody moving?" "Because there's a wreck in the intersection."
    "All y'all going the other way are about to run into a mile-long jam."

    But then, on the con side, there would be:

    "You drive like shit." "Fuck you."

    Or, for that matter:

    "Your tail light is out." "Your tail light is out." "Your tail light is out." "YES I KNOW!"

    There could be a way to talk both to individual cars, and to lots of cars at once. But it would have to be quick to pick - trying to type in a license plate number while driving would be a no-go, I think.

    Hmmm.