Recent content by eieio

  1. E

    The simplest delicious nutritious meals?

    tgt: From reading your posts and responses, it sounds to me like you have an eating disorder, and that you probably do not need to lose weight. What is your height and weight, if you don't mind me asking?
  2. E

    What are the potential uses for virtual reality technology beyond video games?

    I stumbled upon Johnny Chung Lee's page some time last month. Pretty fun stuff, I must agree. I whipped up my own Python + win32 package. It will end up on my homepage sooner or later.
  3. E

    Up to Date on The Second Coming

    Not everyone feels this way about calculus. Not everyone feels this way about all of the intricate workings of a modern PC. There are plenty of people, many of them contributors to this forum, who find all manner of challenging subjects both interesting and enjoyable. I suspect you are the...
  4. E

    Up to Date on The Second Coming

    It's actually very possible to understand everything that a modern computer and OS does. It just takes some time and commitment, and less than you would think. But it won't come without some effort, just like anything worth while.
  5. E

    What language do computers understand?

    Check out http://www.osdev.org/wiki/Main_Page which has a decent collection of beginner material, and even some advanced material.
  6. E

    How many instructions are there ?

    This is also incorrect. The .bss section IS the uninitialized data section. This section has the IMAGE_SCN_CNT_UNINITIALIZED_DATA bit set in the Characteristics field of the section header. I've implemented PE-COFF executable loaders and object file linkers on several platforms. Here's the...
  7. E

    How many instructions are there ?

    That's actually a very human mindset. No one wants to port an ill featured editor to Linux for you. There's no benefit for them, since there are perfectly fine editors available. Perhaps if you paid someone, they would port EDIT for you, but you really can't expect something for nothing. People...
  8. E

    How many instructions are there ?

    I do see the point you are trying to make. However, like I said before, the bitwise operators are also used for non-short-circuit logical operations, which mandates the precedence they have. And although you may feel like you example is the common case, it really isn't. If you feel up to it...
  9. E

    How many instructions are there ?

    I know you can't use both static and extern at the same time. That would be like saying "hey there is this variable defined in another file, with local linkage, so I can't use it." Let's turn to an example: /* A: *declare* to the compiler that there will be an int variable named foo, in...
  10. E

    How many instructions are there ?

    Hmm, I think you are confusing can't and don't want to. If you want to port EDIT to a UNIX, then go ahead. You'll probably have to learn C if you can get the original source. If you bothered to look, you would notice a simple editor called PICO, which has many similarities to EDIT, and isn't...
  11. E

    How many instructions are there ?

    You are incorrect on both counts. The keyword 'extern' is not the opposite of static, though it may seem that way to new C programmers. It actually instructs the compiler that the specified symbol will be defined in another scope, usually another file. Declaring a variable 'extern' does not...
  12. E

    How many instructions are there ?

    Good one. Or if you want that last bit of efficiency: import os from os.path import join for root, dirs, files in os.walk('/my/path/here'): filename = join(root, name) for line in file(filename): if pattern in line: print "File", filename, "matched." Just iterate the...
  13. E

    How many instructions are there ?

    No, those all mean the same thing; with the exception of the static member function (method), which is a very natural extension that keeps in line with C++'s object oriented features. The keyword 'static' simply specifies that the compiler reserve space for the item in either the initialized...
  14. E

    How many instructions are there ?

    Which dual usage do you speak of?
  15. E

    How many instructions are there ?

    This is a bad idea that violates the very essence of C. Making true/false values their own type with reserved symbols is a contrivance that C intentionally avoids. The "0 is false, everything else is true" is leveraged extensively by good C programmers. Here are some examples to illustrate...
Back
Top