Dear Lazzie
|
2005-06-20Don't assume undefined is undefinedSarah has a bug where she knows that:
is
it is If you try this in the debugger:
you will get a warning from the compiler, but now when you type:
you will find that it is indeed 42! What’s the right way to test for undefined? It depends. Do you really need to know if a variable is undefined? If so, the typeof test is one valid way. The other valid way would be:
is also true, so if you used If all you need to know is that foo is not undefined,
or:
or:
because all of undefined, The moral of the story is: Don’t assume 2005-06-13Different ThinkerAmidst all of the regular university degrees granted during this season there are always a scattering of honorary awards for special lifetime achievements. One particular honorary doctorate, awarded on May 15 at the University of Illinois Urbana-Champaign, honors a man who more than any other single human being made the Apollo lunar landings possible. And unless today’s space experts learn to emulate his vision, courage, and soft-spoken stubbornness, the grandiose ‘Vision for Space Exploration’ plans for resuming human flight beyond low Earth orbit may fail to be realized. The Space Review: Academic honors for a spaceflight prophet
12:40 | Link
2005-06-07Dark MatterOh, I can hear it now. “So, what do you think about Steve going over to the dark side?” Well, it’s true. I love to hate Intel (what is it with that lazy But I digress. O’Grady expresses much of my opinion. We all knew that Darwin was running on x86 platforms. We all know that BSD (Free, Net, and Open), the underlying technology of many large ISP’s and the flavor of Unix that Darwin is based upon, runs on most platforms. We all knew that Next, the basis for Cocoa, ran on x86. We all know that gcc compiles to practically every instruction set in the universe. So, how hard could it be? Apparently not hard at all. And they’ve been doing it all along. Rosetta was a bit of a surprise. But advances in dynamic recompilation have been happening for a while. The x86 is a popular target. The PowerPC has a very regular architecture, much like a typical virtual machine. So, what do I think? I think that by admitting that they can retarget to the x86, Apple is in a very powerful position to use whatever ISA (instruction set architecture) suits. Right now, Intel has more bang per watt, and that is what us laptop users crave. But if the Power architecture is better for something else (like your server farm, or your car dashboard) they can target that instead. Application developers who buy into the ‘universal binary’ will have the same benefit. Where it gets interesting is — what happens with Virtual PC? It should become very fast on an x86 mac. It becomes a way to sandbox your essential Windows apps so you can run them without risking your entire computer. (Gee, Darwin’s Mach micro-kernel was actually meant to run several operating systems simultaneously…) And what about becoming a software-only company? Like the 47th biggest company in the world? Would that be a good thing? Maybe. I still think there is an advantage in knowing the platform the software is going to run on. The reliability should be better. But for those who prefer an unreliable but cheap platform, should they be denied? Maybe they should. 2005-06-02What is the type of a prototype?I’m trying to beef up the Laszlo debugger to help myself with the SOLO data reimplementation. I have gotten confused a couple of times because the debugger isn’t careful enough. The goal of the « type # uid ( length ) | name » The double-angle-quotes are just there to be distinguish this representation from primitive types (In Lisp, there is a reserved reader macro type is meant to be the most specific class where uid is a unique id assigned by the debugger to distinguish objects whose representation is otherwise the same (e.g., 2 empty objects) length will be displayed if the object has a property name is meant to be some informative information about the object. Users can define a Here’s my plan:
My question is: What is the type of a prototype? For a class |
|