From: Hector Santos on 30 Mar 2010 18:03 Peter Olcott wrote: >>> What if the only possible access to the machine was >>> through >>> port 443? >> **** >> HTTPS/SSL? Actually, not much would change. it just adds >> a little more effort to the >> problem of cracking. The experts already know how to get >> around it. Do you know the role >> of port 443, really? Do you know what it promises? What >> it delivers? Do you know what >> HTTPS really is? Have you read RFC 2818? Or RFC 2246? >> And what "protections" do you >> think you get, other than encrypted data transfer? >> Explain how encrypted data transfer >> prevents me from exploiting a buffer overrun in the >> server? Or invoking an insecure >> ActiveVirus control? Or accomplishing any other exploit? >> Have you even READ about how >> exploits work? Again, maybe I'm just biased by my years >> of studying computer security, >> but I don't think much of the idea; it only authenticates >> a sender/receiver transfer, and >> encrypts the data, but nothing else. You have a lot to >> learn. >> joe > > > Remember how we met? (In a 2005 email, about this article > of yours) > http://groups.google.com:80/group/microsoft.public.vc.mfc/msg/74db496855f60a0f > > That said, there is almost no reliable way to send mouse > clicks to an application; lots of > people have tried this and failed. You are in the model of > "I want to write a Windows > scripting language", and it is nearly impossible to get > right. I've been involved with at > least two projects that failed miserably Yeah, and you didn't finish that PROJECT as well! -- HLS
From: Hector Santos on 30 Mar 2010 18:31 Didn't work, eh? <g> Tom Serface wrote: > Yeah. I have never marked a thread to ignore in this forum, but this is > the first... > > "BobF" <nothanks(a)no.spam> wrote in message > news:#9ig$8C0KHA.3264(a)TK2MSFTNGP06.phx.gbl... >> >> This was amusing for a while, but I'm getting bored now ... >> <yaaaawwwwwwwwwn ....> > -- HLS
From: Peter Olcott on 30 Mar 2010 18:50 "Joseph M. Newcomer" <newcomer(a)flounder.com> wrote in message news:q3v3r594leecok45c018d1m5mcljg48i0i(a)4ax.com... > > > On Mon, 29 Mar 2010 22:33:57 -0500, "Peter Olcott" > <NoSpam(a)OCR4Screen.com> wrote: > >> >>"Joseph M. Newcomer" <newcomer(a)flounder.com> wrote in >>message news:uk12r5die24557r1evjkvrqovj58qjvc9e(a)4ax.com... >>> See below... >>> On Sun, 28 Mar 2010 23:03:42 -0500, "Peter Olcott" >>> <NoSpam(a)OCR4Screen.com> wrote: >>> >>>>>But you can run >>>>> with virtual memory WITHOUT paging being a part of it, >>>> >>>>How is that not like running an automobile's engine >>>>without >>>>any form of fuel? >>> **** >>> Because you are being dense and stupid. For example, a >>> better analogy would be running an >> >>Calling me stupid (an opinion) > **** > Actually, it is a demonstrated fact, as anyone who has > been following this thread can > attest. We keep telling you "X" and you keep saying "not > X", not because you have any > evidence of not-X, but simply because you believe non-X > MUST be true (apparently based on > once having read half of an introductory textbook, 25 > years ago), and all attempts to > educate you seem to have no effect; your insistence that > "virtual memory" == "paging > activity" in spite of massive efforts to tell you that you > are completely wrong proves you > are uneducable. This is easily shortened to "stupid". I > got tired of trying to be > polite, since all my efforts to educate you failed and you > kept insisting "not-X" when we > kept telling you "X" (and "go read this article by Mark > Russinovich" and "go read the > MSDN" and "go read the Intel manuals", and you kept > insisting "I don't need no stinkin' > details, I know what I know, and by gum, that's good > enough for me!") You kept insisting > that you wanted to boil things down "to their essence" and > when you had boiled them down > to a thick sludge, you stopped and said "this, I believe, > is the essence" and when > everyone else said "No, you have nothing but a thick > sludge, and you don't have the > essence, the essence is THIS" you ignored them. What > adjective would YOU apply to someone > who so pig-headedly refused to learn from all our answers? > I decided that it was time to > stop being polite and hit you over the head with what you > were showing. If you can > demonstrate that you are not stupid, we would all be very > pleased, but thus far you have > been very consistent in demonstrating a lack of knowledge, > and you have explicitly stated > that you have no desire to learn (something about all > those details just getting in the > way of the essence, or something like that...I forget the > actual reasonably incoherent > rantings about why you didn't think it was inappropriate > to spend any effort to learn > more, so you didn't sound like a complete fool) I have a > label for this kind of person, > and I used it. If you think the label is inappropriate, > demonstrate some behavior that > convinces us otherwise. > **** >> demonstrate a lack of >>professionalism (a fact). > **** > A refusal to learn the proper vocabulary, based on a view > that it is not necessary to use > the technical language correctly, also demonstrates a lack > of professionalism (a fact). > > When you stop talking about the need to allocate > contiguous physical memory, recognize The official C++ standard defines a std::vector as contiguous memory are they wrong too? > virtual memory for what it really is, and stop explaining, > erroneously, that memory-mapped > files induce more paging than other forms of data > representation, then I'll start to > recognize you are a professional. Because after we have > carefully explained that you are > incorrect in all of these ideas, you continued to insist > they HAD to be correct, because > you THOUGHT they had to be correct! When you acknowledge > that meaningful performance > tests must be conducted, and stop extrapolating from a > single experiement, I will > recognize that you are showing comprehension. But > explaining "I don't need no stinkin' > valid experiment, I have my experiiment and I INFER, > without evidence, that it tells me > everything I will ever need to know" flies in the face of > common sense. Right now, you > are failing to demonstrate that you have a clue as to what > is going on, and you are > ignoring the facts, advice by experts, etc. in your > ill-conceived attempts to tell us what > the truth REALLY is, which we recognize to be mere > fantasies you are spinning. > Professionals don't make statements that contradict > reality when they are told what > reality is. What would you use to label a person who > consistently refused to accept > advice, even simple advice such as how to use technical > terms accurately? As long as you > continue to have erroneous interpretations of the > technical vocabulary, you will bias your > decisions based on those errors, and consequently never > arrive at correct answers. You > yourself said it: start with a set of axioms and derive > proofs. You keep mis-stating the > axioms, so conclusions you arrive at are going to be > flawed. If your conclusions are > consistent with what we have told you, you have not > convinced us, because you keep > re-stating, incorrectly, the "axioms" of your system, > which leave us with the impression > you are reasoning from flawed permises. > > Your definitiions of "realtime" contradict accepted > definitions, your definition of > "virtual memory" is pure fantasy, and you expect us to > think you are reasoning properly > about these issues? Get real! > joe > > I know it is useless to give you articles to read, but > just to point out, the wikipedia > definition of realtime corresponds to the one I gave you: > > from http://en.wikipedia.org/wiki/Real-time_computing : > ============== > In computer science, real-time computing (RTC), or > "reactive computing", is the study of > hardware and software systems that are subject to a > "real-time constraint"--i.e., > operational deadlines from event to system response. > ============== > > It further goes on to explain that your system is NOT a > real-time system: > > ============== > By contrast, a non-real-time system is one for which there > is no deadline, even if fast > response or high performance is desired or preferred. > ============== > > and reinforces this somewhat later (under the heading > "Real time and High Performance" > =========== > Furthermore, if a network server is highly loaded with > network traffic, its response time > may be slower but will (in most cases) still succeed. > Hence, such a network server would > not be considered a real-time system: temporal failures > (delays, time-outs, etc.) are > typically small and compartmentalized (limited in effect) > but are not catastrophic > failures. > ============ > So stop with the meaningless noises and start using the > language correctly, or people will > come up with other labels to describe you, They will be > less polite. > **** >> >>> automobile engine without transferring the power to the >>> wheels. Running the engine is a >>> valid act; whether or not that power is transferred to >>> something that generates motion is >>> a second-order effect. >> >>OK granted you analogy is better than mine. Yet even your >>analogy still makes my point. The essential purpose of an >>automobile is to drive around. Running the engine in >>neutral >>is not meeting the essential purpose of an automobile. >>Likewise for virtual memory. Virtual memory without page >>faults is like running and engine in neutral not meeting >>the >>essential purpose. > **** > No, you are talking now about the essential purpose of an > automobile, not the essential > purpose of an engine. I might be adjusting the > carbuerator, or the timing. Suppose I'm > doing what is called "static testing"? That's a valid > action, and the engine has to work > to do static testing; perhaps I'm calibrating the > speedometer. The wheels move, and a > highly-accurate set of transducers tells me what the > actual MPH is, and I can adjust the > speedometer so it reads correctly. It is clear that you > are clueless, becuase you think > the ONLY valid use of an automobile engine running is to > move the car. > > Running virtual memory without page faults is what you > want, and which many systems using > CP Embedded DO, and you cannot argue that virtual memory's > sole puprose is to have paging > faults. This is what I mean when I say you are "stupid". > You have come up with some > silly idea that the purprose of virtual memory is to take > page faults (erroneous) and that > failure to take page faults invalidates the idea of > virtual memory (erroneous), and any > attempt to explain to you that page faults are just an > add-on to the basic concept falls > on deliberately deaf ears. "I don't care that the > definition isn't what I think it is!" > is just STUPID, and I finally had to say so. The > consequence of your flawed definition is > a long chain of flawed reasoning leading to a flawed > conclusion. So can I ask, if you > want to defend yourself against the label I applied, why > you then make a statement that > removes all doubt that I was correct? > **** >> >>Is the car driving around with the engine in neutral, No. >>The practical effect of running a car with its engine in >>neutral is the same practical effect as if the car is >>turned >>off when measured against the essential purpose of a car, >>driving around. > *** > OK, genius, tell me how to adjust the timing on a > turned-off engine. Or adjust the > carbuerator. Or measure the effectiveness of the fuel > injection. And exactly how you > propose these should be done, if the engine is on, with > the car in motion down the > highway. > --------- > "It is better to keep your mouth shut, and be thought a > fool, than to open it and remove > all doubt" > --Mark Twain > --------- >> >>Is the Virtual Memory meeting its essential purpose with >>zero page faults, No. Is the practical effect of VM >>without >>pages faults essentially the same as if VM was turned off >>in >>terms of it fulfilling its essential purpose, yes. > **** > Sorry, it is meeting its essential purpose. You just > don't understand the essential > purpose of virtual memory. Instead, you invent your own > definition, and when reality > doesn't meet your fantasy definition, you insist that > something else is happening. > > Your insistence that virtual memory can be turned off in > spite of the fact we have tried > to educate you that you are wrong proves beyond any doubt > that my label is based not on > opinion but demonstrated fact! > **** >> >>So for short hand notation a car turned off or a car with >>its engine in neutral could be considered essentially the >>same in terms of the car fulfilling its essential purpose, >>driving around. > *** > The essential purpose of a CAR is to drive around. The > essential purpose of an ENGINE is > to consume gasoline and convert the energy of the gasoline > to rotational energy. The > engine is an IMPLEMENTATION STRATEGY by which an > automobile achieves its purpose. The > essential purpose of a multiprocess operating system is to > run multiple processes. To do > this, certain decisions were made. One decision was that > each process will run in a > private address space. Virtual memory is an > implementation mechanism that makes that > possible. Some people decided that they would like to > oversubscribe physical memory. The > paging mechanism, built on top of virtual memory, provides > that capability. If you EVER > claim something different from the fact that virtual > memory is anything more than a > mapping scheme that maps virtual addresses to physical > addresses, you are WRONG, and > demonstrate that my label is appropriate. > > Does a Prius running on battery consume "no fuel"? Be > careful with your analogies! > > Note that some operating systems in the past and present > do not require separate address > spaces. The JVM is capable of running multiple processes > without separate address spaces, > as was the CEDAR system from Xerox PARC (ca. 1980) which > was programmed in a language > called MESA (which was quite similar in philosophy to > Java; it is not surprising that one > of the architects of MESA, Jim Mitchell, was the person > who gave Jim Gosling the go-ahead > to form the Java project at Sun (Jim was VP Research there > at the time)). The point was > that the nature of these languages meant that even running > in a single, flat physical > address space, it was not possible to cause damage or > compromise security because the > language had no way to break out from the protected > environment of references that it > used, just like Java. So virtual memory is not required > to build a multiprocess > environment. But it IS required in WIndows, and your > denial is about as credible as the > Holocaust Deniers. Your claim that you can "turn it off" > is a demonstrable falsehood, and > any insistence that you can is further evidence that my > label is valid. Because we have > already told you that this whole viewpoint is completely > nonsensical, complete with > citations. Go read the Russinovich article Hector pointed > you at. > joe > ***** >> >> >>> **** >>>>Please try to be very concise. >>> **** >>> Concise: you are stupid. Slightly longer: virtual >>> memory >>> is a system that maps virtual >> >>You ramble far too much around the point without ever >>actually getting to the point. I could make up all kinds >>of >>childish insults to address this, but, that would be both >>unprofessional and inaccurate. > **** > What is rambling about > > "Virtual memory is a system that maps virtual addresses to > physical addresses" > > THis says EXACTLY what is going on! I do not know how to > say it more concisely, since > that is the absolute, complete, and ONLY definition of > virtual memory! READ IT! Nowhere > in that statement is a hint about "paging". This is > because paging is not an essential > part of virtual memory. It is, as I explained, an > optional add-on. >> >>> addresses to physical addresses (which I have said >>> several >>> times, and I know of no reason >>> you would ignore this other than being stupid). Even >>> longer: one of the possible mappings >>> is etended to include the value "not in memory". which >>> induces paging. > **** > This is where I have introduced the concept of page > faults. Note that this is an > EXTENSION of the mapping to include the value "invalid > mapping" as a result, and the > consequence of hitting an "invalid mapping" value is to > cause the processor to take an > access fault interrupt; the operating system examines the > reason for the failure, > determines that the page exists but not in memory at this > instant, and initiates a > transfer to bring the page into memory. It then repairs > the mapping to map to a valid > physical address, and restarts the instruction that > failed. > > Is this terribly hard to understand? READ THE WORDS! > Then tell me why I am wrong. And > if you ONCE appeal to your flawed definition of virtual > memory, then my label was correct! > **** >>>But if there are >>> no page faults, virtual memory is still running (which >>> Hector and I both told you, and >>> which Hector pointed you at a Mark Russinovich article, >>> in >>> which he explicitly stated that >>> virtual memory is ALWAYS running). Realy concise: >>> CR0<0>==1. > **** > It is impossible to get more concise than this last > definition. I even gave you the > citation to the Intel manual. This took 9 characters. > Show me where I am "rambling". And > tell me why I am wrong (if you try, you will demonstrate > that my label was correct, > because the Russinovich article will contradict anything > you can say) > joe > **** > Joseph M. Newcomer [MVP] > email: newcomer(a)flounder.com > Web: http://www.flounder.com > MVP Tips: http://www.flounder.com/mvp_tips.htm
From: Hector Santos on 30 Mar 2010 20:09 Peter Olcott wrote: >> When you stop talking about the need to allocate >> contiguous physical memory, recognize .... > > The official C++ standard defines a std::vector as > contiguous memory are they wrong too? But its still virtualized contiguous memory! It still uses the HEAP MANAGER which means you are 100% under the control of virtual memory manager. While you can attempt to lock this virtual memory and I don't think you can mix the HeapXXXXX functions with the VirtualXXXXX functions, but even if you can, you are still LIMITED to locking a certain system set "view" size of this total allocation - thats called your WORKING SET. From my readings, the system maximum working set per process is: 32 bit: 1.5 GB 64 bit; 8 GB If this "VIEW SIZE" is too small for you, you need to use AWE. What you are not understanding is the Windows will intelligently manage the memory fragments that you need and mostly use and your Windows 7 does this better. Think of your disk. At the application level, the file data looks contiguous data to you. It appear serialized. But in reality, it could be fragments into clusters on the disk. Same idea with Virtual Memory. Overall, you keep thinking that the system is too slow for you, when the reality is you are too slow for it. But you are driving 25 mph on at 60 mph highway, not only are you slower, you are taking up two lanes slowing everyone else up. -- HLS
From: Joseph M. Newcomer on 31 Mar 2010 09:23
See below... On Tue, 30 Mar 2010 17:50:27 -0500, "Peter Olcott" <NoSpam(a)OCR4Screen.com> wrote: * >> A refusal to learn the proper vocabulary, based on a view >> that it is not necessary to use >> the technical language correctly, also demonstrates a lack >> of professionalism (a fact). >> >> When you stop talking about the need to allocate >> contiguous physical memory, recognize > >The official C++ standard defines a std::vector as >contiguous memory are they wrong too? **** They require contiguous VIRTUAL memory. Essentially, they require contiguous memory in the environment in which the code is operating, and in the case of a virtual memory system, that means contiguous VIRTUAL memory, which probably is NOT contiguous physical memory! The fact that you can even ask this question demonstrates that you learned NOTHING from the discussion of memory! joe *** > Joseph M. Newcomer [MVP] email: newcomer(a)flounder.com Web: http://www.flounder.com MVP Tips: http://www.flounder.com/mvp_tips.htm |