Thursday, October 30, 2008

Spread the Wealth

John McCain official photo portrait.Image via WikipediaMcCain...

http://thinkprogress.org/2008/10/30/mccain-larry-king-wealth/

To me this appearance on Larry King sums up why McCain doesn't come off so well. He is really bad at spewing nonsense the way many others on the right do. McCain, of course, as any sane person does, actually has reasonable views on things (we might disagree with him, but he's (probably) not crazy (I think...)). When his natural inclination to be reasonable collides with hysterical political slogans and mud slinging, McCain does a poor job of explaining himself.

When McCain did his best, it was just him, on a bus, talking with people. He barely even had a staff at the time. The trouble is, as many pointed out back then, you can't run a national campaign that way.

Reblog this post [with Zemanta]

Wednesday, October 29, 2008

Phones

Friday, October 24, 2008

1,000

Image via Wikipediahttp://www.theglobeandmail.com/servlet/story/RTGAM.20081024.WBmarkets20081024090604/WBStory/WBmarkets

"Douglas McIntyre, writing on the 24/7 Wall Street blog, believes the Dow Jones industrial average could fall 1,000 points on Friday – and he does a nice job of summarizing why investors have suddenly become pessimistic about a rebound in either the stock market or the economy.

“The most deeply pessimistic economists that most of the world thought were crazy six months ago, even one month ago, are turning out to be right,” he said."

TGIF!
Reblog this post [with Zemanta]

Friday, October 17, 2008

All's Not Well in the Kingdom?


"Home > Edgefield


The information you requested does not exist"

Buy Low, Sell High

WASHINGTON - MARCH 13:  Warren Buffett, chairm...Image by Getty Images via Daylifehttp://www.huffingtonpost.com/2008/10/17/warren-buffett-buy-americ_n_135520.html

"I've been buying American stocks. This is my personal account I'm talking about, in which I previously owned nothing but United States government bonds. (This description leaves aside my Berkshire Hathaway holdings, which are all committed to philanthropy.) If prices keep looking attractive, my non-Berkshire net worth will soon be 100 percent in United States equities."



Reblog this post [with Zemanta]

Burger

Hamburger Experiment 5Image by PixelAndInk via Flickrhttp://www.huffingtonpost.com/2008/10/17/pa-man-takes-eats-15-lb-b_n_135530.html

"It took Brad Sciullo 4 hours and 39 minutes to finish a marathon. A meat marathon, that is. The 5-foot-11, 180-pound western Pennsylvania chef is the first person to eat a monstrosity called the Beer Barrel Belly Bruiser: a 15-pound burger with toppings and a bun that brought the total weight to 20.2 pounds."



Reblog this post [with Zemanta]

Feline Diabetes

My cat Calic was diagnosed with diabetes this week. After doing a lot of reading on the subject, I concluded that I should try treating it. This will involve injecting insulin twice a day. Fortunately this is not very expensive, although there is a high up-front cost of a lot of testing at first to determine the correct dose. Cats are very hard to regulate in this respect, and every one is different.

And she needs to switch to a food low in carbohydrates from grain (luckily she likes the new food).

The worst thing about this is that she will really need the shot at the same times every day. I will have to plan everything I do with that in mind. I figured it's worth a try though if she can be brought to a stable state, since diabetes is not at all fatal, if treated, in cats. It seems to be less of a problem than it is in humans, once the correct dosage of insulin is determined. And she can still live relatively normally for an indefinite amount of time. I hope it's not a dumb thing to do.

Calic was a surplus, unused, lab animal from a project at a neuroscience lab. She was raised at a cat farm without human contact. There are numbers tattooed in her ears.

Thursday, October 16, 2008

Not Exactly Uplifting

Performance of the Dow Jones Industrial Index ...Image via Wikipediahttp://www.economist.com/finance/displaystory.cfm?story_id=12437747

"At the end of 1964 the Dow Jones Industrial Average traded at 874.1. Seventeen years later, despite rapid inflation, the average had inched forward only to 875. It was the kind of grinding bear market that drove investors to despair. Near its end, Business Week famously proclaimed “The Death of Equities”."



Reblog this post [with Zemanta]

BOMed


Lately I've been working with Netbeans and OpenESB on a project requiring the use of a number of features of this relatively new JBI technology. It's been interesting to say the least. Here's an issue I've uncovered this morning.

Several of the projects actions can be triggered by XML files appearing it directories which the server polls. I've used the file binding component for these with no difficulty - that is until I got to one for which the input and XSD schema are provided for me. They're part of another system with which the new server must interact.

The sample XML is UTF-16, little endian, which Windows knows as "unicode". I built the module to poll the directory and read this file just like I had with other operations, but there was an error validating the XML; "Content is not allowed in prolog."

I made sure that the schema declared UTF-16, the input file declared UTF-16, and everything actually was in fact UTF-16LE, no luck. Experiments revealed that the file worked perfectly if I opened it in Windows Notepad and saved it as "ANSI" file type. In fact, if I did that, the file would read in file regardless of the encoding stated in the header of either the XML or the XSD.

Further reading lead me to the Byte Order Marker (BOM). The BOM is FEFF in hex, a unicode, two byte character, denoting a zero-width, non-breaking space. A file designated as UTF-16 will have a BOM at position zero that will be either FEFF or FFFE (the reverse). The order of these bytes indicates the file's endian-ness. Hex-dumping my sample file revealed the BOM.

00000000: FF FE 3C 00 3F 00 78 00 6D 00 6C 00 20 00 76 00 ■<.?.x.m.l. .v.

00000010: 65 00 72 00 73 00 69 00 6F 00 6E 00 3D 00 22 00 e.r.s.i.o.n.=.

I get the error about content in the prolog because of the BOM character appearing before the XML header.

This maybe related to this Netbeans bug declared fixed earlier this year.

http://www.netbeans.org/issues/show_bug.cgi?id=83321

Maybe not quite... I'm not sure what I'll have to do about it.


Jeff Sexton

007 1:144 Scale 1:350 Enterprise 10 Barrel Brewing 14 1856 2001 A Space Odyssey 3D modeling 40and20 4th of July 78 RPM Abyss Adam West Advertising Agora Models Air Canada Airline Airways Brewing Alan Bennett Alaska Alberta Alberta Street Pub Alfa Romeo Spider Touring Gran Sport Amati Amazon Amnesia Brewing AMT Analog signal Android Anomalies and Alternative Science Antiques Apache Apollo Apple Apple Stores Art Artisanal Beer Works Assembly Brewing Aston Martin Astoria Asus Atlas Audrey Augmented reality Aurora Famous Fighters auto-awesome Automobile Autos Aviary Aviation Backups Baelic Brewing Bale Breaker Brewing Bandai Barack Obama Barley Brown's Beer Bars Base Camp Brewing Batman Battery Beards Beer Beer Bar Bell System Bellwether Berkshire Hathaway Betty White Beyond the Fringe Bigfoot Bikes Bill Clinton Bird Food Bird Toys Birds Birthdays Bleriot Bleriot XI Block 15 Brewing Blogger Bojack Horseman Bolton Landing Brewing Boltons Boneyard Brewing Books Boxer Ramen Boxer Ramon Breakside Brewing Brian Eno Build Management Buoy Brewing Burger King Business and Economy Business Process Execution Language Bye & Bye Byte-order mark Canadian Carrot Cats Chex Mix Chihuly Chipmonk Christmas Civil Defense Clinton Clocks Closet Doors CNN Cockatiels Cocktails Collections Columbia Grafonola Columbia River George Columbia River Gorge Corners Corvallis County Cork Crooked Stave Brewing Crows Crux Brewing Cuisinart Culmination Brewing David Byne DB5 Dear Jane Debian Deschutes Brewing DFW C.V Diabetes Dick Curtis Digital Living Network Alliance Digital television Dinosaurs Disney Doll House Don the Beachcomber Double Mountain Brewing Dow Jones Industrial Average Dragons Dudley Moore Duesenburg SJ Roadster Durham University DVD E-mail address E9 Eagle Eagle Creek Fire Eaglemoss Easter ebauche Ecliptic Economics Ed Ed and Olive Eels EJB Elgin Elysian Brewing Energy development Enterprise Enterprise JavaBean ESP Evergreen Air Museum Everybody's Brewing Ex Novo Brewing F-84G Thunderjet Facebook Family Photos Fathers Day Fearless Brewing Fedora Ferment Brewing Ferns Festival of The Dark Arts Filesharing Finance Finger Firesign Theater Fireworks Flowers Flying Sub Food Ford Fort George Brewing Fossil fuel Free House Garfield James Abram Garfield Minus Garfield Gateway Brewing Gene Sexton Gene Wilder George Carlin Gigantic Brewing Gilgamesh Brewing Glass Glassfish Global warming Golden Arches Goldfinger Goofy Google Google Assistant Google Buzz Google Docs Google Home Google Lively Google Photos Google Reader Google Wave Google+ Goose Graffiti Grammar Gravy Great Divide Brewing Great Notion Brewing Greek Festival Greenhouse gas Gruen GT40 H. G. Wells Half-Life 2 Halloween Harlan Hawaii Helbros High-definition television Hilo Hilo Brewing History Ho 229 Hollywood Theater Hopworks Urban Brewery Horizon Models HP Hybrid electric vehicle IBM Impala Inner city Instagram Insulin Investing IPMS Iris Irony J.C. Penny James Bond Jane Austen Java Java Architecture for XML Binding JC Penny JDBC Jeannine Stahltaube Jeff's! Jim Davis joe the plumber John McCain Jonathan Miller Jubelale Kapaau Karma Kauai Kay Thompson Kermit the Frog Keys Keys Lounge Kids and Teens Kona LA Auto Show Labrewtory Larry King Laser Laserdisc Leavenworth Wenatchee River Level Brewing Lilly Tomlin linux Little Beast Brewing Lloyd Center Logging Lowry Sexton LPs Lucky Lab Magnets Mark Cuban Market trends Martin Mull Maytag McDonald Mediatomb Meier and Frank Mel Brooks Mercury Microsoft Microsoft Windows Migration Brewing Mobius Models modern Times Brewing Money Monkey monsters Moon MOUNT HOOD Mount Tabor Movie Reviews Multnomah Falls Music Music industry Muxtape MySQL NetBeans Netflix Nikon Nikon Z50 Ninkasi Brewing Nintendo Nissan Cube Norm Coleman North Bar Nuclear fallout Nuclear warfare Nuggest Nuts OBF Office Depot Offshoot Beer Co Oktoberfest Ola Brewing Old Town Brewing Olive Open ESB Oracle Corporation Orca Oregon Orion Space Clipper Otto Owls Pacific Ocean Packard Boattail Pam American Parrots Patio Sale PDX Pearl District Pearl District Portland Oregon Peppers Performance Review Peter Cook Peter Iredale Pets Pfriem Brewing Philip K Dick Phone Book photography Pizza Plank Town Brewing Play Station PlayStation 3 pluspora Pocher Podcast Poke Pokémon HeartGold and SoulSilver Polar Lights Politics Pono Brewing Portal Portland Portland Development Commission Presidents Pride and Prejudice Programming Projects PS3 PS4 Pumpkins Quotation Marks Rad Power Radio Radio Room Ramen Ramon Recipes Recording Industry Association of America Renewable energy Reservoir Reuben's Brewing Reubens Brewing RIAA Richmond Pub Robot Chicken Rock-paper-scissors Rogue Brewing Round 2 Sales San Francisco Santa Sarcasm Sasquatch Brewing SATA Science fiction film Sea Quake Brewing Seattle Selfie Serbia Service-oriented architecture Seward Shelby Cobra Shipwreck Shopping Signs Silver Moon Brewing Slide Rule Snow Soap Soap Cutter Social Security Social Studies Society6 Sony Sopwith F.1 Camel BR.1 Soviet Space 1999 Space Race Spad XIII Speaker Repair Spirit of St. Louis Spitfire SQL Squirrel's St Patricks Day Stanford Hospital Star Trek Star Wars Starbucks Stock market Storm Breaker Strip search Stripes Studebaker Studellac Sun Microsystems Supernatural T-Mobile Tablet Tamiya Tamiya Spitfire Taube TechCrunch Technical Television Terminal Gravity Thanksgiving The Producers ThinkGeek Three Creeks Brewing Thunder Island Brewing Tiki Time Bandits Toaster Tom Peterson Tools Top Ferment Total Recall Transportation Security Administration Trumpeter Tubboat Tyco UFOs Unicode United States United States Department of Homeland Security Universal Plug and Play Unknown Primates USB USS Yorktown Valcom Van Gilder Hotel Vegetable garden VHS Victoria Video Video game Vintage Images Vintage Vintage! Virtual world Volcano Hawaii Volvo C70 Voyage to the Bottom of the Sea Wall Street War of the Worlds Warren Buffett Warrenton watches Watercolor Wayfinder Brewing We Can Remember It for You Wholesale Web service Web Services Description Language Whiskey Wii Windows 7 Windows Phone 7 Windows Vista Windows XP Windy Wingnut Wings Wood Worthy Brewing WWI WWII X-Files X-ray vision XML XML Schema Y2K Yeti YouTube Yugo Zero Mostel Zima Zoom H2n