Not that I haven’t already been running PHP on Windows for years, but there’s hope on the horizon for finally having a stable CGI implementation of PHP under IIS. Check out the FastCGI project, which today released its Technical Preview 2 version. For Zend‘s part, they have a special build of PHP 5.2/Zend Core optimized for FastCGI. I need to crank up a virtual machine to try this on, but in concept it sounds promising.
Monthly Archives: January 2007
Three Years to Reach the Command Line
As well as being the first computer-related thing in some time to make me say “cool,” Microsoft’s from-scratch kernel architecture skunkworks—Singularity–is a genuinely interesting project from a comp-sci perspective. Right at the end of this webcast they start talking about trying to do away with the last hundred lines of unmanaged code at the bottom of the kernel. Screw Vista, bring on the “Assembler sharp” (Ass#?).
And if you want to hear them really dig into the theory and practice for an hour, check out this other webcast. It’s tempting to zone out, but there’s some whiteboard stuff past the middle that bears attention. And then right at the end, in the last ten minutes, they get into the hard cross-process performance numbers. And then they run out of tape.
I’ve gotten some complaints recently about old posts percolating to the top of the RSS feed. Apparently this happens when I go back and edit an old post. For example, the survey bias post from a while back, which was rife with typos, may be right below this now. The RSS feed sorts the posts by the “updated” timestamp (which I can’t modify) instead of the “posted” timestamp (which I can). This is just more Blogger (2.0!) suckiness that I can do nothing about. Except avoid typos and never go back and edit anything. I’ll try!
My other option is to go to WordPress, which I’ve been considering for at least two years, but I’m still not that desperate.
Like a DVR for Your Browser
I’ve tried various ad blockers in the distant past, but Adblock Plus (an extension for Firefox) seems to really work. And you can have it exclude certain web sites–like your clients’–where you want to see the ads. It even blocks Google AdSense.
It’s weird (and nice) to go to a site like weather.com and have nothing flashing at you. And very ad-intensive sites like boingboing.net and thesuperficial.com load instantly instead of taking five seconds to render–like most sites, the former is made better in every way by the removal of dynamic ads; the latter’s formatting is less pretty, but not quite broken.
Apple OS Adoption Under 2% Globally?
Current operating system market share, according to this article:
I’d heard the sniping commentary that Apple had basically given up on computers in favor of iPods and phones, but 1.6%? That’s only 14.3 million units. Can there really only be 14 million Macs operating in the entire world out of almost a billion PCs? I guess if you assume virtually 0% adoption of Mac in China, India and the developing world.
By the way, I’m pretty sure all 14 million Macs are at SXSW every year.
Eight of the Million Reasons I Hate Star Wars
This illumination of Jedi fascism really speaks to my Lucas hatred, which cranked up a Grand Canyon-sized notch after the completion of the Star Wars sextology.
The Jedi are, of course, a conflicted and ham-handed crockpot recipe of reverse metaphors (what other kind from Lucas?). The Jedi are simultaneously the upper class (the rich, academia, the intelligentsia, the aristocracy, take your pick), guns, nuclear weapons, Christianity (at any point in history)–or, what we’re supposed to infer, the reverse: all these things are manifestations of the Jedi. It’s the ultimate socio-politico-conspiracy theory mash-up: if you outlaw the Jedi the only way to win is not to play the Jedi card behind the curtain.
It’s no coincidence that all these things happened “a long time ago, in a galaxy far, far away” and not in the traditional sci-fi milieu of a distant future. We’re supposed to accept this as a kind of vignette of an alternate origin story. The history of the Jedi is the history we are continuously reliving here on planet Earth. Except it’s not. It’s cheesy sci-fi that pretends to sagacity and leaves itself so open to interpretation (Nostradamus anyone? The Bible?!) that it can be squished into any historical or current events mold. Or maybe it’s all just the story of a wandering Jew (R2D2?), who knows.
This also explains why the mysterious missing three episodes were never made or even outlined–it’s hard to imagine a more satisfying (or pat) ending than the effective extinction of the Jedi. Creating an Episode VII would ruin the happy ending; it would mean admitting that peace cannot be maintained indefinitely, that evil cannot be extinguished from the soul of humanity, that there is no post-power utopia.
Secrets of the Color Wheel
According to plasmabay.com, Samsung has invented a new color: “Cryan.” (Interestingly, this also describes what you’re likely to be doing after a few minutes of contemplating exactly how a color wheel works.) Three of the colors don’t even warrant a mention, which is too bad because I’d really like to know what they’re calling the purple one. Lavenderler?
Low-carb Diet a "Cure" for Diabetes?
A doctor has finally come out and made the case for addressing diabetes through a low-carb diet. I say itâ€™s about time, but apparently she’s getting shit for it.
This is something I’ve been thinking about for years. I’m not a diabetic (yet), but the risk factors are certainly there in my family. My personal interest started in the 90s when I was trying to lose weight and got the American Diabetes Association materials from my doctor. I tried it, but the intense combination of calorie restriction and blood sugar spikes (from all the bread and sweet fruit) meant I was constantly hungry and would nearly pass out at the gym from low blood sugar.
Then when I started doing the research on low-carb diets around 2000, I at some point had the epiphany–if this diet suppresses blood sugar spikes (at the time this was a question, but in the intervening years more science has been done to back it up), why the hell aren’t they using it for diabetics? There are, in fact, some secondary health issues in play, but if you’re mainly addressing poisonously high blood sugar levels with potentially dangerous insulin injections it seems like keeping blood sugar spikes to a minimum might be a good idea.
I think the initial popularity and media over-simplification of the Atkins Diet contributed to the low-carb equals high-fat reputation (such that many people automatically equate low-carb with greater heart disease risk), but in reality it’s possible to take a more reasonable approach. When I’m serious about it, I usually follow something between South Beach and Atkins–a high-protein, moderate-fat, “good carbs” approach. I have no interest in fruit, and I’ve trained myself to distrust anything that’s available in white (principally bread, rice and potatoes*). For me, what remains in terms of dietary staples is a lot of chicken and eggs (skewing as much as possible toward the whites), some beef, occasional fish, with spinach, green beans and asparagus as the main greenery. Lesser amounts of squash, mushrooms, tomatoes and bell peppers hopefully fill in the antioxidant gaps. My pet avoidance, and where I diverge with what many people think of when they think “low-carb,” is cured meats. Even though it’s technically allowed under Atkins, I try to stay away from bacon, sausage and the entire deli case. I’d like to cut the beef too, but for the sake of expedience and variety, it sticks around. Of course there are also items like cheese, sour cream and salsa used in reasonable amounts for flavor and texture. But we are most definitely not talking about a recipe for a heart attack here.
Here’s the thing: done properly, you’re not consuming any more meat or fat than you would regularly (that is, on anything but the ADA diet, which is skewed toward starches). As this article states, many people actually eat more vegetables on a low-carb diet (it’s amazing how much spinach you can consume once you’ve made it a staple and not a garnish). So here’s my question: if you’re a type-2 diabetic, or especially someone at risk, why wouldn’t you try low carb as a first line of defense? I guess for the same reason that if you’re diagnosed with high blood pressure you don’t “just” lose 50 poundsâ€”it’s hard, a lot harder than taking a pill (or an injection? That’s, maybe, a weightier choice).
I’m not willing to knock the medial establishment too hard on this one. Statistically speaking, insulin injection is probably the solution for most people. Most people, even if their life is threatened, are going to be overweight and are not going to have the discipline to control their diet 100% of the time. On the other hand, the reason these are forgone conclusions could very well be the primacy of white foods. Processed starches are the true evil here. They’re quite literally what the American diet is based on (look at the pyramid), partly due to overwhelming availability and cost efficiency, party because we’re told they’re good for us (what has a more wholesome image than white bread?). I think it’s here that maybe doctors and the nutritional establishment start to become culpable. Shouldn’t they at least be trying to get the “white food = bad” message out? I don’t know. Maybe it’s the New York problemâ€”ban the trans fat and where are you sending people, back to lard? Ban bread, rice and potatoes and do people make a beeline for triple meat patties with bacon and cheese? I’m not willing to kid myself about the average American‘s interest in spinach, green beans and squash (and if you won’t eat these thing, then yes, a low-carb diet might kill you). But then again the average American is 50 pounds overweight, has high blood pressure, is at risk for diabetes and takes 3.7 pills per day just to maintain their current poor level of health. I just made those numbers up, but I’m sure it’s close, or wildly worse. So maybe a heightened level of interest in shifting the dietary spectrum toward green from stark, starchy, comforting, processed white is in order.
* There’s another white food worth mentioning: milk. Having consumed my own weight per month of the luscious white stuff as a kid, it’s hard to come down too hard on it. But as an adult I find it doesn’t agree with me. From a low-carb perspective, lactose isn’t the worst of the carbs, but it’s not great either. On the other hand, most lactose-free milk is just disgustingly sweet. Here in Austin, at least, we have a really good option: HEB’s Mootopiaâ€”a lactose-free, high-protein, low-carb milk that actually tastes like milk. Yum!