Here in AT the ÖAMTC (our equivalent to the AA) provides a fairly complete and ... stations and their prices (including premium, bio fuel, LPG and ethanol / E85), perhaps the AA does the same? The ÖAMTC one is publically accessible even without club membership, from what I've found so far the German ADAC and your AA are a bit more "club introverted" if you will, so perhaps you have to sign in to gain access.
I sure hope my sarcasm detector is glitching, otherwise that'd probably be the most retarded thing I've read... well, this week! But yeah, was a glitch, it's working now. Nevermind...
You may use it on 42D DriftWars and 42D MultiMod (currently private), other than that a quick look at the serverlist on LFSW shows the following (empty) hosts:
Well I'm most concerned about readability when it comes to scopes. If
if (...) { }
and
if (...) { }
are mixed within a single file, readability will suffer tremendously. If we leave it like that, we should at least enforce curly braces even for one-liners, which is good practice anyway.
I approve of the changes though, LF and 4-space wide tabs are my default settings anyway
That's pretty much all there is to it, check if we've got Size bytes in our buffer, if so check if Size matches the Type and for variable sized packets, check if it's at least the size of the header and a multiple of 4.
Well that's weird because my car is from the UK (although it's not a British car, but neither is the Focus) and the manual has 2 pages on economical driving. It's a '94 TT Supra, so if they bother giving advice on economical driving for a car that'll rarely be driven economically by design (I actually manage between 33 and 40mpg with a relaxed driving style and the occasional "leave the <insert German car> behind"), one would expect them to include such advice in manuals for significantly more economical cars
It's not quite that simple though, a slightly(!) rotated tyre might deform in a way that provides a larger contact patch.
I wouldn't recommend this because you're unlikely to do it exactly right in a situation where it counts; emergency braking. I'm not convinced of its effectiveness either.
I'm not a physicist and all of this could be utterly incorrect.
I suggest you read your vehicle's owner's manual, it should contain tips on economical driving which should mention coasting and the minimum RPM to cut off fuel.
This is actually part of the Austrian theoretical driver's licence exam, 1400rpm is provided as typical minimum RPM.
You know, hoping a complete moron survived an utterly irresponsible and extremely dangerous act of pure stupidity is not rational. He'll now be a burden on society and his parents and he probably can't appreciate what they do for him because he's a vegetable.
I wouldn't do something like this, but if I did, I would make sure to get myself killed in the process.
1)
What about if i wanted to make a tracking tool for a league that runs with multiple hosts?
I had that planned from the start, just never had the time to provide any code. My only concern is that a single-threaded PHP based app might not deliver the required performance for multiple hosts, especially with high MCI/NLP frequencies.
3)
How will you handle console input?
A note - I think it's (STILL) not possible to have console input on windows. Correct me if I'm wrong - i'd be interested
It is possible, but we'd have to provide php binaries compiled with the necessary packets in cygwin. Alternatively we could introduce a second process for console I/O that connects to the PRISM instance via socket, thus integrating itself into the select() set. Problem there: stream_select() will return STDIN even if it is still blocking, i.e. if the window loses focus or if you start typing.