The online racing simulator
Searching in All forums
(372 results)
Stigpt
S2 licensed
I slalom middle-lane drivers.
Stigpt
S2 licensed
OMG! OMG! OMG! A thread that has Hitler on every post! QUICK! LOCK IT!
Stigpt
S2 licensed
what is completely retarded is that he is actually right. But oh noes, he mention the name Hitler... so it is automatically a very bad phrase and the content doesnt matter.

What he MEANT was "a strong dictator gets stuff done, cause he doesnt care what others say - and sometimes this is exactly what's needed".

THEN he gave a few examples, one being hitler (who DID get a LOT done - usually BAD, but they got done), also noting that hitler was a tad too soft for a good dictator, cause he let himself be influenced and controlled by his advisors.

What the media heard was "I wanna be like hitler cause he was teh bomb!"


Is the requirement to work in the media an IQ of at most 50??? Jeez.
Stigpt
S2 licensed
what light outside? you cant see out of any window there...
Stigpt
S2 licensed
Not only that, but if you buy a toyota hilux NOW, the user manual references that episode. It states what top gear did to the truck, and how it just kept running -even though it was not street-legal, nor it can actually be driven, but the whole thing still moves, and steers (somewhat steers, it has a damaged front susp.)
Stigpt
S2 licensed



THREAD DERAILED!!!
Stigpt
S2 licensed
just a little warning to take everything the media says with a grain of salt. Or rather - a MOUNTAIN of salt.
[FAKE REPORT] Barrichello quits! [/FAKE REPORT]
Stigpt
S2 licensed
"the team are favouring Jenson, I'll hang up my helmet tomorrow," he declared to the American broadcaster Speed TV.


So there he goes!
Stigpt
S2 licensed
ah just bought a silencer, a red-dot sight and a laser for my beloved mp5-M!
Stigpt
S2 licensed
Quote from piggy501 :
  • No world in the English language rhymes with month, orange, silver or purple.

Purple -> turtle.
Stigpt
S2 licensed
oh THATS gonna work...
Until someone invents a way to contact websites via another computer.. lets call it a "proxy" computer, that acts as a "proxy" between you and the interne....

Oh wait... Its done already!



(I can see the free webproxy hosts going to jail for acessing weird sites )
my latest
Stigpt
S2 licensed
Stigpt
S2 licensed
Think of a function as a black-box factory.

Oil, rubber and steel go in, cars emerge on the outside.

That is all the "outside" program sees. Only the dudes inside the factory actually see what goes on. All the main prog cares is what goes in, out comes out, and what to do with it.
Stigpt
S2 licensed
I dunno how the finer details of c++ are, but in the usual manner there are no "string" functions:

This is java (should be VERY close to c++)


String myFunction (String argument){
return argument+"this is my argument";
}
...

String myString = "";

myString = myFunction ("hello World");

this code should return "hello Worldthis is my argument"


a function RETURNS a value, you can do whatever you want with it - or nothing at all, even.

Note as the function is attributed to a string - bascially the function does something or other, then returns a string. That string is then "put" inside the myString variable.
Stigpt
S2 licensed
EDIT: this is meant to the OP, not becky, as becky's code is pretty damn on the money.
DONT.

Thats as elegant as a drunk elephant in a china shop.

DO NOT start by creating bad habits.

You can also create a huuuuge string that will have all the info you want to write to the file. your smaller method/function can simply return a string.

IMPORTANT: RETURN a string. do not change the string build built directly - thats a no-no.
Your method declaration should be somewhat like this:

String myMethod (int arg1, int arg2, int arg3){}

I had a teacher that flunked a student in his very FIRST class cause...
...

he declared a global...
int i;

and that was a 2nd year student.
Last edited by Stigpt, .
Stigpt
S2 licensed
Its not just In C, but from your clear as mud description () I get the following.

You have an object that writes to the file. Then you call a method to write some other stuff, and you cant write to the file from that.

Solution is simple, and two-fold:

1) either pass the writer object as an argument to the method (so it would look something like this *pseudocode*: void krazyFucnktion (Object writer, [other args]){}

2) close the writer object, and declare a new one inside the method.
This is actually better, cleaner.

The idea is write stuff, close stream, open file again for writing, write more stuff... etc. Starting to pass everything as arguments to all funcions will give you HUGE headaches as you begin coding complicated stuff (I reviewed a 1st year student's code that had a function with 27 (yes TWENTY SEVEN) args.
Stigpt
S2 licensed
Stig Racing team is a go!
Stigpt
S2 licensed
needs not only no refuelling but a limit on pitcrew members (im thinking in the cost-cutting perspective). Another way to cut costs would be to limit the amount of people that can enter a team's garage. So no team would have a 200 man crew while another would have 10. (numbers pulled from my arse, but you get the picture)
Stigpt
S2 licensed
Two ways, that are basically the same.

When the cars brake, the braking energy is disspated as waste heat.
The idea is that you connect the brakepads to a small wheel that also touches the brake disk, starting that small wheel to spin. That energy is then transfered to a battery, starting a small electric motor that helps the car accelerate. The idea that when you brake, some of the brake energy is harnessed to charge a battery that will be then discharged at corner exit for extra acceleration. Think kinda like those bike-lights that attach to the front wheel.

The other way, is a mechanical: when the brake pad touches the disc, it starts a small wheel turning (same method as the bike-light), but that is transfered mechanically (via cogs, axels and the like) to a large, heavy disc, and starts THAT spinning. Then when the car starts accelerating, that big spinning disc is connected to the drivetrain, giving extra boost to accelerate.

Think of an upside-down bike: If you crank on the pedal, until the rear wheels is spinning pretty fast, there is a lot of energy stored there, right? if you try to stop it, it can hurt, right? If you right-end-up the bike, it will move forward a bit.
Now think of a rear bike wheel being a lot heavier and/or spinning MUCH faster, and you got the general idea.
Stigpt
S2 licensed
"Life is not a journey to the grave with the intention of arriving safely in one pretty and well preserved piece, but to skid across the finish line broadside, thoroughly used up, worn out, leaking oil, shouting GERONIMO!"
Stigpt
S2 licensed
methinks hamilton is brimmmed. Hes gonna do a huge first stint.
HOWEVER.. hes got softs? Softs+heavy car = crazy strategy?

Could be that they were being conservative, expecting raikonnen to qual in front of hamilton, so much fuel so hamilton can bunny-hop over raikonnen on pitsstops and get THAT menace out the way.

In fact, if they are smart, they'd trade hamilton's and kovalailailainenenenen spots so kovaosjidhasljhdgasld can take out rainkonned
Stigpt
S2 licensed
I hereby withdraw EVERYTHING bad I ever said about James Allen.
I had the displeasure of watching f1 in the Portuguese pay-channel (sporttv).
The commentators there... they comment a f1 race as if it was a golf match. Nearly fell asleep.

That and Tiago Monteiro (a Portuguese driver, 3rd place in US f1gp a couple years back) commenting.... agh. He sucks in air between his teeth to illustrate a point, as if its punctuation. The most annoying thing EVER on tv.
"So driver XYZ has braked too late, and seems to have spun. that happens *squeeek*"

ARGH.

EDIT:
For example (this was the singapure GP), when raikonnen hit the wall at the end, the comment was (while the onbaord replay was on, no less!) "A ferrari seems to have had a problem.... looks like he may have touched the wall. Oh yes, he did touch the wall, his race might be over."

MIGHT be over? He get hit on the head with his own wheel and MIGHT be over? JEEEEZ.
Stigpt
S2 licensed
thing is.. 50pounds + shipping is about what it would cost to buy one HERE.
And I want something pretty cheap - I gotta pay my minivan's insurance, and its 105'000km overhaul - which will entail some work to the clutch (prolly new clutch), alternator belt.... its gonna hurt, that.
Stigpt
S2 licensed
Brilliant, that office chair idea
I got a pretty sturdy one, with 4 HUGE screws on the underplate that grips the chair itself
FGED GREDG RDFGDR GSFDG