The online racing simulator
Searching in All forums
(985 results)
wsinda
S2 licensed
Version 1.1.3 works fine. Bug solved.
wsinda
S2 licensed
After some more thinking, I've come to the conclusion that MCI packets are useful after all. I wrote:
Quote from wsinda :Either the packets must arrive at regular intervals in the correct order, or they must carry an LFS timestamp.

It turns out that LFS generates the packets at a constant rate (= the rate that is requested in the IS_ISI message). I compared samples from RAF files with MCI packets of the same hotlap, and it appears that LFS reliably creates the packets at that fixed rate. I had assumed that the game engine would only make a "best effort" to produce the requested rate, but it seems that packet generation really is part of its schedule.

So, the arrival may not be at regular intervals, but the creation is. And that is precisely what I need for my purpose.
wsinda
S2 licensed
This is the crash report:
Version: 1.1.2.0
Date: 6-12-2010 19:09:30
OS: Microsoft Windows NT 6.0.6002 Service Pack 2
Culture: en-US
Exception: NullReferenceException
Message: Object reference not set to an instance of an object.
Source: InSimSniffer
Target: Void GetLfsPathFromRegistry()
Stack Trace: at InSimSniffer.Program.GetLfsPathFromRegistry()
at InSimSniffer.Program.Main(String[] args)
Inner Exception:

Might be worth adding that LFS was installed under a different user account than the account that I used when I got the crash.
Running MS Vista, BTW.
wsinda
S2 licensed
Quote from DarkTimes :You could try using UDP for the position updates, although it seems that your program might require that the packets arrive in the correct order, which UDP does not guarantee.

Yep. Either the packets must arrive at regular intervals in the correct order, or they must carry an LFS timestamp.

Quote : It sounds like the culprit may be the Nagle algorithm, which improves network efficiency by sending packets in batches. You can learn more about Nagle on the WinSock FAQ.

That seems a likely cause. The page you link to also explains that it's unwise to turn Nagle off, plus that it's not even guaranteed to work. Looks like MCI packets are not going to be of any use for me.
Quote :Another option might be to to use OutSim or OutGauge packets, which do include a timestamp when they are sent.

I'll have a try. The data from OutSim and OutGauge combined would provide enough lap data, and I'll have to re-order the packets when they arrive.

Thank you for a quick and helpful reply. Much appreciated.
wsinda
S2 licensed
Quote from Whiskey :Open InsimSniffer->Options->General->Location of LFS.exe

Can you do that or it crashes before?

It crashes immediately. I don't even get to see the main screen.
MCI packet timing problem
wsinda
S2 licensed
I'm trying to grab lap data from InSim, to display in LRA, my replay analyser.
For this I need LFS to send MCI packets, at a fairly high rate (every 100 ms or less). These should give me the car's position and speed. Together with a timestamp, these will enable a basic analysis of the lap.

The problem I have encountered is that the packets arrive at irregular times, sometimes in bursts of 5 or more within the same millisecond. This is in single player, so there's only 1 car per packet.

That means they are useless for my purpose -- there is no timestamp in the packet, so I have to use the time of arrival as the sample time. It looks like LFS is buffering the packets, and sends them only when it has some "spare time". (My PC is very old.)

My question is: would using UDP help for this problem? Until now, I used only TCP.
wsinda
S2 licensed
This is a great tool, thanks! It really helped me to figure out the InSim traffic, before taking the plunge into InSim programming.

One minor bug: after I moved the location of the LFS installation, InSimSniffer stopped working. It exited with a null pointer exception at startup. (Can send you the details if you want.) Apparently, InSimSniffer assumes that when it finds an LFS registry key, it will also find the LFS install at that location.

Improvement suggestion: Put the filter settings in a different sidebar, so the user doesn't have to switch tabs between filter settings and message list. (Even nicer: apply filter changes immediately, without needing to click "Apply".)
wsinda
S2 licensed
Quote from majod :Do you believe in NWO? that we are controlled by a small group of people? that democracy doesnt actually exist? etc.

I think you have failed to apply Hanlon's razor.
Quote :You are right, democracy is here...partially...you have freedome of speech(mostly), you can vote in elections, you can choose your own way...thats pretty much it...but there are many things you cannot change

That is also called democracy: not everyone has the same opinion as you.

The biggest threat to democracy is failure to think critically. You need to be skeptic of what other people tell you.
Conspiracy theorists make a different mistake: they are not critical about their own ways of thinking.
wsinda
S2 licensed
Lists like these have a pretty long history, and I'm sure I read this one before, at Uni, back in the early nineties. But it's worthy of recycling. Only I missed "Dont' use no double negatives".

A bit of googling brought up more examples here.
wsinda
S2 licensed
Quote from Dygear :No, allergic reactions never happen the first time. Allergic reactions happens the second time when the body sees the invader and freaks out and over reacts.

One thing to watch out for is when the allergic reaction gets stronger and stronger each time. Eventually, a life-threatening reaction might occur (anaphylactic shock).
wsinda
S2 licensed
Quote from gusep :In Program it says under options CSV export settings.
Does that mean i can run the file with motec?

It's been a while since I looked at it, but AFAIK Motec has a proprietary file format, which is not published.
But I'd like to be proved wrong. Motec is a magnificent piece of software, and if it would accept CSV, then we'd only need to write a RAF-to-CSV converter and then use Motec, without needing any LFS-specific analyser.
Quote : How do i export Csv from here?

In the "Legend" pane, right-click on the file you want to export and choose "Export to CSV" from the menu.
wsinda
S2 licensed
Normally, I kill people for money.
But you, you are my friend. I kill you for nothing.

-- Chico Marx
wsinda
S2 licensed
Wisdom is one of the few things that look bigger when you're further away.
-- Terry Pratchett
wsinda
S2 licensed
Mangosteen, passion fruit, raspberries, strawberries, ...
wsinda
S2 licensed
Quote from U4IK ST8 :So, let me get this straight, you need a degree on the subject to actually understand whatever it is you are reading? F*ck off...

I can tell you, I don't need to read a lot of scientific papers to understand that individual governments and NGO's are covering up big time. It's people like you and wsinda with your "I'm smarter than you" bullshit, that think the lesser "educated" just don't have the understanding to know what's going on. It's people like you who are keeping this propaganda bullshit alive... attempting to intimidate anyone who can't flash a degree or whatever...

What's such a damn shame about the whole AGW debate is that it has become a political issue. Everybody is taking sides, and I fear that most of them base their decision on which side they trust. Do you trust the scientific authorities or do you mistrust them? Do you believe the skeptics or do you mistrust their motives or abilities?

It's a shame, because it should be a scientific question. The data, models and calculations should be open for discussion, accessible for everyone to read and check. That's how the debate should be held. I hate all these accusations about emails proving cover-ups, or about skeptics being sponsored by large corporations. Let's stick to facts and figures.

But the science does get pretty complicated. Scientific questions usually do. You don't necessarily need a university degree, but you do need to think long and hard.

As to myself, all I know is that I haven't spent enough time studying AGW to have a well-founded opinion about it. I'm undecided. And to me it's a mystery how other people in this thread can be so sure of their views.

So, U4IK ST8, what do you base your certainty on?
wsinda
S2 licensed
Quote from Electrik Kar :New paper just out casts serious doubt on the ability of Michael Mann's proxy reconstructions in determining historical temperatures.

The link doesn't work (page not found).
Quote from SamH :I read that paper last night.. brilliant read.

Does that mean that the writing style is good, or that the scientific results are correct? I guess it's the former, since you continue with
Quote : I'm not a capable statistician at all

..., which would mean you're not able to verify the correctness. AGW is all about statistics. I have an MSc in math, but in a different specialisation. I'm pretty damn sure I can't tell correct results from shoddy work in this area.
wsinda
S2 licensed
Quote from Nathan_French_14 :I did not know who he was, so I've just finished reading the Wiki Article online, and it's certainly interesting. I can't quite see what you mean by counter example though. I'm pretty sure that most of the people he murdered would of been innocent honest people, just like almost everyone else taken to Nazi Camps during that time.

Mengele is the prototype of someone who did evil deeds, got away with it and lived happily ever after. That is hard to rhyme with the notion of Karma, which says that you will eventually be punished for the bad things you've done. (Well, unless you also believe in reincarnation. Then you get your punishment in the next life, and it becomes a bit hard to track down whether justice has been done.)
wsinda
S2 licensed
Quote from gabriel.i :it says when i try to download the rar "C:\Users\Iliescu\AppData\Local\Temp\YE73D_xG.zip.part could not be saved, because the source file could not be read.
" and then the antivirus (Nod 32 Smart with license) says New_Heur.virus or something like that

I googled a bit, and found several people complaining about false positives. Apparently, this notification means that NOD32 found patterns in the file that are similar to what viruses have, so it warns that it might be a new variant.

I also ran LRA.exe through the check at virustotal.com, and here are the results. Only NOD32 suspects a virus, all the other virus scanners think the file is OK.

For the explanation of the message from the makers of NOD32: http://www.eset.com/threat-cen ... opedia/glossary/newheurpe
wsinda
S2 licensed
Quote from JJ72 :But have you consider the option that "god" intentionally made up these stories to fool you on purpose, that it is all a deliberate scam to separate those who seeks the truth, and those who simply follows?

Like Last Thursdayism, you mean? I can't take that seriously. It violates Occam's Razor, and it sounds like a stopgap hypothesis to protect a cherished religious view from nasty facts. I'll admit that it can't be disproved. But it also means the end of our search for knowledge, because any puzzling observation can be explained away by assuming that this treacherous deity is messing with our minds again.
Quote :Disproving the existence of a human definition of god does not disprove the existence of god

True, but disproving all observable effects does mean that the question of god's existence has become irrelevant for us.
Quote from Nathan_French_14 :I personally do believe in Karma, and that if you continue to do bad things, they will eventually catch up to you and bite you in the ass, figuratively speaking.

Would Josef Mengele be a valid counterexample?
wsinda
S2 licensed
Atheist.

For a while I thought you could at most be agnostic, because there are some many possible definitions of a god, and many of them are impossible to disprove. Later I realised that I should only look at the factual claims. Definitions that include any factual, testable claims (e.g. the earth was created 6000 years ago, god observes us and actively interferes with the world) have failed with the advance of our knowledge. There's not a shred of evidence.

What remains are definitions like deism, where god is untestable -- the gods of the gaps. You can't disprove that. On the other hand, it doesn't really matter whether those gods exist. Our life isn't any different if they exist or not.

My conclusion was that for all practical purposes, there is no god. I have dropped the hesitation to call myself an atheist.
wsinda
S2 licensed
Quote from gabriel.i :I use windows 7. Even the windows defender block the dowloand:-?? strange if you said that there is no virus. cause the antivirus and the windows 7 defender says there is

[A bit late to reply. Been on vacation.]

Does it tell you the name of the virus?
Or does it block he download because there is an executable (.exe) file in the download?
wsinda
S2 licensed
Quote from AtomAnt :I am truly disgusted with the lack of Canada's best police force doing this.
  • In hindsight, it's always easy to say they were stupid to ignore the signs. It seems so obvious. But in practice it's hard to spot the case where something is really wrong between the 1000s of normal events that look almost the same.
  • Screwups happen in every organisation.
  • One bad screwup attracts more media attention than 100 cases that were brilliantly solved.
  • If you want to claim that the RCMP does its job badly, then it's the amount of failures that counts, not this one case.
I'm not saying that the cops did a good job on this one, just that you seem to draw your conclusions rather quickly.
Quote :one thing they might consider is Firing some of these lack luster cops and hire someone who cares about public safety instead of protecting their own.

If you fire people after they make one mistake, then you will create CYA behaviour: the cops will put more effort in making sure they can't be blamed than in actually solving the crimes.
wsinda
S2 licensed
Quote from BlueFlame :But for christ sake, grow some stones and own up to the fact that it is bad for you and shouldn't be legalized.

Being bad for you is not reason enough. So many things are bad for you, and still legal: hamburgers, rock climbing, apple pie, driving a car...
To get anywhere in this discussion, you need to know how bad exactly the substance is, and how easy it is for a user to control the risk. If the risk is no higher than other, everyday risks, then we have no grounds to make/keep it illegal.

(At least, no rational grounds. Emotions play a big part in the war on drugs. Alcohol is less "scary" than cannabis because it has been part of Western life for many centuries, and thus seems easier to control. But the data shows it's a pretty hard drug.)
wsinda
S2 licensed
Quote from BlueFlame :All you people voting for Cannabis, I bet you don't have children.

Don't bet your money on that.
Quote :When you have children (for most people) you stop thinking about needless matters, start thinking about your own children

I am thinking about my children. I want them to grow up in a free society that lets them make their own choices without needless restrictions (like amp88 described), and I want them to grow up to become responsible adults who are able to make those choices. And that includes using cannabis or not. (It excludes using it before they're 18, because they won't be mature enough for a good choice. It also excludes using heroin, because it's way too addictive.)
Quote :and stop thinking about yourself!

You're assuming selfishness again. You seem unwilling to accept that others may disagree with you for valid, honourable reasons.
wsinda
S2 licensed
Quote from BlueFlame :Children find ways to drink underage, they will sure as hell find a way to smoke cannabis underage too. If you think that is ok, then you need to be shot.

Straw man argument. Nobody here advocates legalisation of cannabis/pot for underage kids.
Quote :You all moan that legalizing cannabis will sort out the prison and legal system

Haven't seen anyone stating that. Straw man, again.
Quote :How many people get sentenced for illegal substances.. Too many.

Ah, now there's a problem where legalisation will surely help!
Quote :Some people have never smoked cannabis because they've never encountered it. These people are few, and you want to minimalize this number

So you prefer blissful ignorance over an informed decision by an adult?
Quote :to suit you and your friends habits?

I never used any of the stuff. I'm in favour of legalisation because the current policies are grossly inconsistent. By any reasonable standard, cannabis is less harmful than alcohol/tobacco, yet only the former is illegal.

You can favour restrictive policies. But at least be consistent: if you rant against cannabis and pot, then you should rage even more against booze.
FGED GREDG RDFGDR GSFDG