| Hank, think about how often Point subtraction must occur in Squeak. It may even be already compiled out, not a message send. By redefining it, you force the method to be executed. Why not define something like mySubtract:? Why would you have to redefine subtraction? Mark Guzdial |
| what I did when I was trying to run p4 was added a classVariable to GTCampusMap. It is set to nil by default so instead of saying buildingsDB := collect: [:...] you test whether your classVariable is nil or not and then store this biuldingsDB collection in your classvariable... that way on successive calls to this initialization method the variable will no longer be nil and the arduous webcrawling is avoided. Webb -it occurs to me you may be asking "how do I add a classVariable?" you add it just below where you add instanceVariable (instanceVariableNames: ' '), below is (classVariableNames: ' ') |
| Or store stuff to a file accessible via the Web. Mark Guzdial |
| You don't have to support those. Mark Guzdial |
| That's one of the downsides of using a web service. You'll probably have to implement some filter that will translate some of the MapQuest data to your map. Mark Guzdial |
| Obviously, it's not. In fact, mapquest doesn't even have to extend to P6. Read it carefully: I let you specify routes anyway you want in P6 and P7. Mark Guzdial |
| You can't do that, but you can look for all senders of close and all senders of open within your own code (using Method Finder, among other tools). Then it's pretty easy to match them up. Mark Guzdial |
| Or....you COULD make modifications such that doing an accept in a browser will automatically scan your code, and insert file closes where needed. That would be fun, eh? Shaggz |
| (2(Float infinity)) = (Float infinity). (Float infinity) > (SmallInteger maxVal). Of course, if you're talking about floating point numbers, there is the argument that since the set being representend (real numbers) is not countable, determining if infinity will always be larger than every other member of the set is more difficult. Fortunately, squeak doesn't include a complete description of reals, so this really isn't an issue... Shaggz |
| The Map doesnt have a marietta Street, what do we do about buildings that are located on marietta street? Chase Peeler |
| Add the street to your Map. I never said that your P1 map would work for P4. Mark Guzdial |
| Sounds like you're running in Linux (if not, then this probably doesn't pertain to you). Try "squeak -memory 50m |