• Newspaper industry: Part 2

    In a previous post, I had some very negative remarks about the news media.  In this rant, I went over some serious problems in today’s news reporting that I don’t feel are being addressed.

    Despite some semi-constructive criticism at the end, I think it comes off as both weak and harsh at the same time.  The tone is a lot meaner than it should have been, and yet in many ways my complaints don’t go far enough.

    Fortunately, via BoingBoing I was alerted to a similar posting by Dan Gillmore which says a lot of what I tried to say, only better.  Read his post here.

    (No really.  Go read it.  Come back when you’re done!)

    The key message of Gillmore’s post is that the news media has an important role in its community and a responsibility to maintain reporting quality standards.  Some of his points are more important than others.  I would argue that the online-only components (4 and 8 ) are actually the least critical; assuming the remaining suggetsions are actually put into play, links and online services are merely nice to have.  Whereas interpretations instead of copying quotes, aiding the community as a top priority, etc. are absolutely mandatory.

    There is a simple conclusion to all of this: as a news organization, the responsibility to report the whole truth and nothing but the truth is key.  Telling us what someone said is good, but without fact checking, it’s irrelevant.  Our leaders bend the truth all the time, and if our news organizations don’t show us where reality ends and the distortion begins, then who will show us?

    For now, it seems, nobody will.  What a shame.

  • C/C++ with Eclipse Galileo on Mac OS 10.6

    Getting Eclipse to compile your C/C++ applications on Linux has always been a breeze.  On Windows, it’s always been hell.  And on Mac, it’s somewhere in between.

    Here’s what you need to get started:

    Your Mac OS install DVD has a few optional components that aren’t part of the standard installation.  One of these is XCode, which is Apple’s wonky IDE.  It comes with the GNU toolchain, which is exactly what you’ll need.  If you’ve installed the right thing, you should be able to open a new terminal window (note: a NEW terminal window) and run “gcc”.  If it’s installed, it will return with something like “gcc: no input files.”  Which is true — you didn’t give it any input files.

    Now onto the next problem.  Eclipse’s C/C++ Development Tools (CDT) plugin doesn’t work with 64-bit binaries without some significant tweaks because it won’t recognize the binary as a valid application. And on Snow Leopard, GCC compiles 64-bit by default.  Damn!

    There’s two workarounds for this, use whichever one suits you best (but not both!):

    1. Switch back to 32 bit binaries. In each project, right click and select Properties, and open the C/C++ Build section, and click settings.  Under MacOS X C++ Linker, click Miscellaneious.  There’s three text fields; in the one that just says Linker flags, add “-arch i386” (without the quotes).  Then go to the GCC C++ Compiler section, hit Miscellaneous, and add the same text to the Other flags box.  Now you just need to do a clean build, and you should be good to go.
    2. Don’t use the Run dialog.  You can use the Run External command to run the 64-bit executable.  This can be somewhat annoying if you have several build options, or you like changing the name of your project.  But it works.

    Remember, you only need to make ONE of the above changes. Don’t make both!

    Hopefully this helped someone out there.  And even more hopefully, this will be fixed in the next verison of Eclipse.

    Update: forgot the “i” in “i386” and added emphasis about only making one of the two changes.

  • Anger 2009

    Everywhere you look recently, people seem more angry than usual.  It’s not that we’re angry about something new — we’re all just letting the little things get blown out of proportion. We’re placing our anger where it doesn’t seem to fit.

    We see it every day. On the road and on the street, people are getting into verbal confrontations over small mistakes. On the news, we see citizens yelling misguided and untrue talking points at their government representatives. The spitfire threads on the internet seems to be outpacing everything else (even porn) for the first time.

    What is all this? Why is this happening?

    My first hypothesis was that the echo chambers are getting louder. The obvious example is cable news networks, which sink to lower lows with every passing day. People watch these “news” networks to have their own opinions validated. It’s like fans of WWE wrestling yelling at one another to suppor their favorite wrestler. The key difference being that WWE matches are fake and don’t really matter, whereas decisions made by governments can have far-reaching implications on our dalies lives. But in both examples, people get mad when their “side” isn’t victorious.

    Another example of the “echo chamber effect” is online. Again, we have political shouting games, with DailyKos, Drudge Report, etc. taking the little things out of proportion. But we also see this anger effect on personal blogs, celebrity gossip sites, and bastillions of stupidity like Encylopedia Dramatica or 4chan. It’s no different than the echo chambers on TV.

    But the echo chamber effect hypothesis leaves a lot unexplained. These echo chambers have existed for a decade or more. Why are things getting so out of hand only now?

    This line of thought lead to an interesting conversation the other day with an acquaintance of mine recently. I think we came up with a better answer:

    Let’s assume I’m correct about the premise that people are more angry recently; this is difficult to prove (I’m not a psychologist or a statistician) but the observation seems correct. If that’s true, then what else could be causing the anger problem?

    Answer: the recession.

    And if you think about it, this makes a lot of sense. Even if your job or school is doing fine, you know someone who has been affected. Probably more than one person. Things we took for granted are going away, like workplace benefits, low taxes, cheap public transportation, etc. Here in California, state parks are being shut down, college is becoming more expensive, and even the poison control hotline is in jeopardy.

    A recession is something outside of our control, we can’t do anything about it. Most of us don’t even understand the cause. But we all feel the same helplessness.

    Q: What do we do when we’re helpless?
    A: We get angry.

    In short: it’s the economy, stupid. We’re mad for a reason, and that reason is that our safeguards have failed us. Our government failed us. We all should have seen this coming and we all should have saved more, worked harder, and fought it off.

    But getting angry at each other doesn’t help. Anger makes everyone’s life unpleasant.

    I have a temporary solution — humor is the best medicine. To cure all this negativity, I propose laughing at our own perils and not taking ourselves too seriously. The recession is a tragedy; permanent or temporary, us humans have been laughing off our own personal tragedies for centuries.

    Let’s take it gently, and remember that no matter how mad we are at the moment, we’re all humans in the end. You… me… everyone.  We can never forget that.

  • How to survive a nuclear blast

    In the mid-20th century, Americans were concerned with surviving a new threat: nuclear weapons. Unlike previous types of bombs, nukes could wipe out entire cities in a single blast, burn the surrounding area, and give survivors cancer and other serious health problems.

    Thankfully, American scientists invented two foolproof methods of surviving a nuclear blast: hiding under your desk, and keeping your house clean.

    That’s right — you can prevent certain death with a desk and a broom! And if you survive, you can just buy a toupee to hide your bald spot. Here, I’ve collected three 1950’s nuclear blast safety videos narrated by 1950’s narrators. Enjoy.

    1. Duck and Cover

    The message of Duck and Cover is simple: turtles are impervious to nuclear attacks. If you’re not a turtle and/or you don’t have a shell, a desk, table, or even your hands will suffice. Also: watch out for monkeys.

    2. The House in the Middle

    Who knew cleaning and painting your house could protect you from hydrogen bombs? Actually, the video never really implies that you will survive; just that your house will still be standing, or will burn more slowly. At the very least, whatever is left of your body will be in a tidy house. That alone should be comforting to the rescue crews, assuming anyone survived the nuclear holocaust long enough to find out. Isn’t that reassuring?

    3. Medical Aspects of Nuclear Radiation

    Okay, this one is a little long. But did you know that your body is run by tiny dwarfs? Or that you have “sex cells” which are conveniently off-screen? Or that a toupee is “treatment” for radiation exposure? They did have one good piece of advice about a nuclear blast: “Be somewhere else when it happens.” Wow, thanks for that advice.

    Now that you’ve seen these videos, I’m sure you’re an expert in surviving a nuclear blast. Especially if you’re a disembodied 1950’s narrator. Good luck, and don’t forget to keep your desk tidy.

  • Impromptu punk show at 16th and Mission Bart plaza

    Today (Aug 31st) I arrived at the 16th St. Bart at around 7pm and walked right into a punk show. There were at least three bands rotating with 2 song sets. Unfortunately I have no idea who these bands are or what the event was called, if anything.

    I managed to get a few crappy iPhone pics for your enjoyment.

    All three bands used the same equipment, including this PBR microphone.

    PBR microphone

    Due to the rotation, I saw this band first and last.

    IMG_0450
    IMG_0475
    IMG_0474

    The drummer in this band had a very long and very blond rat tail.

    IMG_0456
    IMG_0458
    IMG_0460

    The singer in this band moved much faster than my crappy iPhone camera could handle. But you go to the impromptu punk show with the camera you have — not the camera you might want or wish to have at a later time.

    IMG_0468
    IMG_0471


    Dancing at a punk show isn’t normal. But on meth it is.

    IMG_0454


    It ended exactly like you would expect.

    Police bike
    Party's over, man

    Full set is here.

    Update: a commenter at Mission Mission provided a band list.

  • Programming is a lot like writing

    Computer programming is a lot like writing. You use the same tools to do both (chair, computer, scraps of paper) and you have to follow a similar set of rules.

    What sort of rules? There’s the strict rules, like syntax, grammar, and spelling. Then there’s the not-so-strict rules, like style and taste. Same idea, slightly different type of language.

    Your program also has to “tell a story” in the sense that it’s telling the computer what to do. The stories have varying levels of complexity, but they often involve the same basic overall structure. Both tend to re-use tried and true plot devices that change the story as it goes along.

    What are some differences between programming and writing?

    • No matter how great you think your program is, it will never be printed out on paper. (Unless you’re writing a book about programming, in which case you’re writing as well so ha!)
    • If nobody understand your book, it could still be a bestseller. If a computer doesn’t understand your program, nobody will buy it.
    • Writers don’t have SCO filing patent claims on their work.

    Next week’s post: Driving a car into a lake is a lot like making silly analogies.

  • Newspaper industry

    There’s a lot of talk about how the newspaper industry is dying. And there’s some truth to this — NY Times is in debt, Seattle PI went out of business, etc. etc.

    And yet we have more sources for our news than ever before: 24 hour news networks, blogs, Twitter…

    Has our attention has shifted from newspapers to other forms of media?

    It seems like the answer to this is a resounding YES. But unfortunately, we’ve made a terrible trade off.

    Before we discuss this, let’s think of a few reasons about why having several local newspapers is a good idea:

    1. We need to see different informed views on a subject. One voice means there’s only two views: for or against. This is a bad place to be, because any sufficiently complex issue needs to be looked at from a variety of angles before a reasonable assessment should be made.
    2. We need to have good local news. Without a good local paper, who’s going to call out the mayor on stealing money from the city? Who’s going to tell us that our schools are failing too many kids? Without a local paper, our communities are lost in the dark. The local TV and radio news will never have the same depth as a solid local paper.
    3. We need real news. In a world of hype, angry yelling, and ignorant opinions, newspapers have managed to maintain a calm and informed voice, for the most part. Occasionally, newspapers even engage in reporting real news and conducting investigations. Imagine that!

    So what’s wrong with the “new” news media? Why is it different than a newspaper?

    • 24 Hour News Networks. All you have to do is watch a few minutes of so-called “reporters” blathering on and on about nothing for hours on end on CNN. Then try watching Glen Beck and friends yelling on Fox. It’s easy to see that 24 hour news networks aren’t reporting anything new at all. It’s mostly reactions to news that was originally reported in a newspaper. Even local news shows do a better job at investigative reporting than the 24 hour networks (and that’s not saying much.)
    • Blogs. Likewise, blogs do very little reporting and mostly tend to be humor or angry yelling (think Jon Stewart and Bill O’Reilly.) Those that do actual reporting have a narrow focus and only a handful of reporters. This is fine, but the idea doesn’t seem to scale. Blogs just don’t make enough money to be effective at covering an entire locale.
    • Twitter. And how about Twitter? Come on. Twitter is a way for ADHD celebrities to communicate with their ADHD fans. If something can be said in only 140 characters, it’s not new and therefore not worth saying to an audience.

    Don’t get me wrong, the consumers of news are not entirely to blame. Sure, they should be demanding better news. We could (and should) all call up Glen Beck and Keith Olberman’s advertisers and tell them we won’t buy their products anymore. That would be a good start.

    But the news media needs to make changes as well. The newspaper industry is to blame here as well. Newspapers are looking quite thin these days, and the content remaining is not up to par. To sell papers, they need to make some big changes, particularly in the face of their boisterous competition.

    So what can the newspaper industry do?

    1. Do some actual reporting. This facet of running a newspaper seems to be lost on many. An opinion page is fine, but anything more than that and you run the risk of overshadowing your editorials with journalism. That said, the opinion page shouldn’t be a bunch of insane rants. If there are factual errors or obviousl problems with the reasoning, they simply should not be printed.
    2. Stop lying. Recently, Fox News was sued for reporting false information as news. Unfortunately, the ruling was in favor of Fox, because there’s no law against reporting false information. While we’ve all come to expect ridiculous lies from Fox, the newspaper business needs to hold itself to a much higher standard if they want to continue to command respect from their readers. But even at the NY Times, a reporter was fired for making up stories, and he wasn’t the only one. Who would trust a source who constantly lies to them? People stop subscribing when they’re lied to, and rightfully so.
    3. Investigate. When a newspaper reports on opinion polls and what someone said, it’s hardly newsworthy. Our world is filled with scandals, injustices, and other actual hard news. This is real journalism. Reporting on a car crash or whether babies should really be wearing diapers are not journalism. It’s that simple.
    4. Stop whining. Not a month goes by without a newspaper story about how nobody reads newspapers anymore. Maybe if the news reporters would do their job instead of whining constantly, they would get more readers. Crazy idea, huh? Must not be — the NY Times mentioned this idea in a story about (what else?) how nobody reads newspapers anymore. It’s time for the editors to tell their reporters to stop their whining.
    5. Get serious about the internet. Almost every newspaper has a website. But why? Most of them don’t make money or even have plans to make money on their website. The news organizations are stuck in the 1980’s, treating the internet like some exotic new thing instead of a real distribution format. If they have to charge for it, so be it. But the subscription model isn’t likely to work in a world of links and copy/paste. I’m not saying there’s a right answer to this. This is something the newspapers need to take a lot more seriously.

    Conclusion: even though newspapers are becoming worse and worse, they’re still the best news source we have, by far. And they probably won’t get any better until the industry takes a good look in the mirror.

    What a mess.

  • Jejune Institute

    I was walking to my job in the SOMA district of San Francisco one morning, and I came across a strange poster. The content was completely off the wall — according to the poster, there was a camera that could see through time.

    The Time Camera

    A few days later, I saw a similar advertisement for speaking to dolphins.

    Aquatic Thought Foundation

    Finally, I came across this poster for recording your memories to a VHS tape.

    Memory to Media Center

    It was no surprise that all three posters had similar contact information and lead to the same people.

    Who was behind these crazy ads?

    The Jejune Institute.

    I won’t try to describe what the Jejune Institute is, but I’ll allow their leader, Octavio Coleman, Esquire, to explain:

    I highly recommend visiting; I don’t want to give anything away, but it’s an experience you won’t soon forget, to say the least.

    The Jejune Institute

    Where: 580 California St, 16th Floor, San Francisco (map)

    URL: http://jejuneinstitute.org/

    Phone: (415) 325-4014

    Visit: Tuesday through Saturday, noon to 4 (don’t go later than 4, or you may not make it.)

    Bring: $1 + tax, a cell phone, comfortable shoes, and an umbrella if it’s raining. Keep in mind there may be a 10-30 minute wait on busy days.

    UPDATE: The Jejune Institute closed for good in April 2011.

  • Bookmark: Auto-Tune the News

    Auto-tune is the latest pop music novelty. Thanks to auto-tune, singers like T-Pain sound like a robot designed to output R&B hits.

    Michael Gregory (no relation, afaik) has taken auto-tune to a new extreme: singing along with the news.

    And it’s amazing.

    But you don’t have to take my word for it. I’ll stop typing and let you see for yourself.
     

    Auto-Tune the News #7: texting. rhyming. pat buchanan fail.

    Auto-Tune the News #6: Michael Jackson. drugs. Palin.

    Auto-Tune the News #5: lettuce regulation. American blessings.

    Auto-Tune the News #4: spa regulation. serbians. sotomayor.

    Auto-Tune the News #3: cuba. afghan friendship. 2-party woes.

    Auto-Tune the News #2: pirates. drugs. gay marriage.

    Auto-Tune the News #1: march madness. economic woes.

    For future Auto-Tune the News videos, see this YouTube playlist.

  • Bookmark: TheDailyWTF

    It wasn’t so much that Richard, a software engineer, sat in his cubical making animal noises all day — as it was that he was getting very little done.  And what he had been doing needed a sort of Rosetta Stone to explain.  If you never considered how one variable might be a “ghost” and another might be a “warrior,” and how each might be referred to  using a cryptic dialect you made up, then you must not be Richard.

    There are many such tales of absurdity in the world of professional software development.  Richard’s boss, Taka, had to sort through that mess after Richard was let go.  In an industry that wavers between extreme stress and extreme boredom, it’s cathartic to here about someone who’s in a worse position than you.  And Taka is definitely one such engineer who knew about stress.

    This aforementioned story, titled “A Peculilar System,” is one of many excellent tales collected by a programmer humor website called The Daily WTF.  I read their site religiously and find it educational, hilarious, and, well, calming — all at the same time.  If you’re a computer programmer with a sense of humor you’ll definitely enjoy The Daily WTF.

    Here’s a few of my favorites from their site:

    Bitten by the Enterprise Bug.  Why develop a simple in-house tool when a third party “consultant” can write the same application with substantially more complexity?

    The Virtudyne Saga.  Sure, there’s Microsoft Office.  But you’ve got a lot of money and could do better, right?  Warning: several pages long, and completely insane.

    Just a Wiring Problem.  You’re familiar with the term “ad-hoc network”?  Well if this network isn’t ad-hoc, I don’t know what is.  If you’ve ever done any type of IT or repair for a living, and dealt with crazy clients, you can relate to this story.