The Thread Of Randomness

This is the place to talk about anything not related to Transport Tycoon itself.

Moderator: General Forums Moderators

User avatar
thphwh
Director
Director
Posts: 516
Joined: 23 Dec 2011 13:50
Location: Letchworth GC

Re: The Thread Of Randomness

Post by thphwh »

Anyone seen/interested in the new Train Sim World DLC for the GWML? Simulation has been in a sorry state for so many years considering the engines and tools available. OpenBVE is still a viable and enjoyable alternative to DTG's Train Simulator, even after being abandoned and using routes created 5+ years ago. Let's see how this one turns out.
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7249
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: The Thread Of Randomness

Post by Redirect Left »

Saw what can only be described as a peculiar sight this morning.
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Re: The Thread Of Randomness

Post by orudge »

That is certainly unusual!
User avatar
Drury
Tycoon
Tycoon
Posts: 2168
Joined: 09 Dec 2008 16:20
Skype: yes
Location: Slovakia
Contact:

Re: The Thread Of Randomness

Post by Drury »

Redirect Left wrote:Saw what can only be described as a peculiar sight this morning.
no kidding, I don't think I've ever seen so much gum on a pavement before
Image

Only dumb people quote themselves, and only the truest retards put such quotes in their forum signatures
-Drury
User avatar
Chrill
Moderator
Moderator
Posts: 15979
Joined: 18 Dec 2004 17:35
Location: Stockholm, Sweden
Contact:

Re: The Thread Of Randomness

Post by Chrill »

Are you my clever math friends?

I want to work out an average from a csv file that looks a bit like this:

X cases, Y days
1000, 3
900, 6
800, 2
700, 4
650, 8
620, 7
450, 5
etc.

What I want to find is the average value of Y, which in this case represents days. Basically, for this, 1000 cases took 3 days to complete, 900 cases took 6 days, etc. How long does a case last on average?

(These are pretend numbers, but used for a real life equation :P )
Image
My Scenarios:
Archipiélago Hermoso (Latest Release: Version 3.2)
Turnpike Falls (Latest Release: Version 0.91)
User avatar
Pyoro
Tycoon
Tycoon
Posts: 2558
Joined: 17 Oct 2008 12:17
Location: Virgo Supercluster

Re: The Thread Of Randomness

Post by Pyoro »

Instinctively I'd take the average for each pair and then the average of all averages.

But who knows whether that methodically is correct. Probably depends on what the results is desired to be ;p
User avatar
SkeedR
Tycoon
Tycoon
Posts: 2264
Joined: 11 Jul 2004 14:55
Location: West Midlands
Contact:

Re: The Thread Of Randomness

Post by SkeedR »

Chrill wrote:Are you my clever math friends?

I want to work out an average from a csv file that looks a bit like this:

X cases, Y days
1000, 3
900, 6
800, 2
700, 4
650, 8
620, 7
450, 5
etc.

What I want to find is the average value of Y, which in this case represents days. Basically, for this, 1000 cases took 3 days to complete, 900 cases took 6 days, etc. How long does a case last on average?

(These are pretend numbers, but used for a real life equation :P )
You'd do SUM(Y)/COUNT(Y) where SUM is the total number of days and COUNT is the number of different totals of cases. So for your supplied data, without the "etc", you'd get;

Code: Select all

Cases  Days     Avg Case/Day
1000   3        333.3333333
900    6        150
800    2        400
700    4        175
650    8        81.25
620    7        88.57142857
450    5        90
____________________
5120   35       5 Days per case on average
Last known as: Weirdy
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: The Thread Of Randomness

Post by Transportman »

I would go with SUM(Y)/SUM(X). With your example-numbers, that would be around 0,007 days/case, or just under 10 minutes/case.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
User avatar
Chrill
Moderator
Moderator
Posts: 15979
Joined: 18 Dec 2004 17:35
Location: Stockholm, Sweden
Contact:

Re: The Thread Of Randomness

Post by Chrill »

Transportman wrote:I would go with SUM(Y)/SUM(X). With your example-numbers, that would be around 0,007 days/case, or just under 10 minutes/case.
I might have expressed myself incorrectly. These do not run after each other but simultaneously. SkeedR's number of 5ish days appear closer to what I'm after.

Thank you both :)
Image
My Scenarios:
Archipiélago Hermoso (Latest Release: Version 3.2)
Turnpike Falls (Latest Release: Version 0.91)
User avatar
kamnet
Moderator
Moderator
Posts: 8582
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: The Thread Of Randomness

Post by kamnet »

According to my profile, I make half of 1% of all the posts on the site.
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7249
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: The Thread Of Randomness

Post by Redirect Left »

North Korea is at it again, another missile fired once again over Japanese territory. It's almost like Kim Jong Un wants a war, though surely he knows hell lose quite badly!
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Re: The Thread Of Randomness

Post by orudge »

kamnet wrote:According to my profile, I make half of 1% of all the posts on the site.
Clearly you need to post more. ;)

For what it's worth, for a very long time, I wasn't the top poster on the site - I think Purno was for quite a while, and then spaceman-spiff. My post rate has slowed down considerably in recent years, eventually Dave may overtake me, in a decade or so!
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7249
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: The Thread Of Randomness

Post by Redirect Left »

Random tech question;

a local store is selling a 1TB HDD for £37, or a 2TB external drive for £42, both are good prices, the latter is obviously better value though.
Has anyone ever taken an external drive apart? Is it just a normal SATA drive with a built in USB data/power adapter? If so, I can buy one, take it apart and put in the PC as a normal internal drive?
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: The Thread Of Randomness

Post by Transportman »

Redirect Left wrote:Random tech question;

a local store is selling a 1TB HDD for £37, or a 2TB external drive for £42, both are good prices, the latter is obviously better value though.
Has anyone ever taken an external drive apart? Is it just a normal SATA drive with a built in USB data/power adapter? If so, I can buy one, take it apart and put in the PC as a normal internal drive?
The drives probably are the same, but I'm not sure if the connectors are some USB-SATA connector that you can easily use for your computer. You might also miss the holes and other small issues. Is there a reason not to use it just as an external drive anyways?
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
User avatar
Pyoro
Tycoon
Tycoon
Posts: 2558
Joined: 17 Oct 2008 12:17
Location: Virgo Supercluster

Re: The Thread Of Randomness

Post by Pyoro »

edit: I know this is the thread of randomness, but I'm still baffled how this post ended up in a completely different thread :shock:

editedit: coincidentally, I did dismantle some external drive once. It was a completely normal (low speed) drive inside. But whether this is always the case, no clue.
Last edited by Pyoro on 18 Sep 2017 21:01, edited 3 times in total.
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7249
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: The Thread Of Randomness

Post by Redirect Left »

Transportman wrote:Is there a reason not to use it just as an external drive anyways?
I don't have a spare USB slot 24/7, nor do i have space on my desk 24/7 for it. but if there is a decent chance i'll be able to slap it within the computer as a normal SATA drive, i'd go for it.
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Re: The Thread Of Randomness

Post by orudge »

Redirect Left wrote:I don't have a spare USB slot 24/7, nor do i have space on my desk 24/7 for it. but if there is a decent chance i'll be able to slap it within the computer as a normal SATA drive, i'd go for it.
For the first problem, a simple USB hub ought to do the trick. Doesn't help with the second problem of course!

Performance is likely to be significantly better running a disk via SATA rather than USB, if you do have the option.
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7249
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: The Thread Of Randomness

Post by Redirect Left »

I don't expect the HDD within to be of great performance, low RPM etc. But all i'd have it doing is storing media, and i have a low RPM (5200) 4TB drive storing my media currently and that reads fine for playback of all sizes and rates. Might be worth grabbing one to see.
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
User avatar
TimeLapse1357
Traffic Manager
Traffic Manager
Posts: 132
Joined: 10 Mar 2015 07:13
Location: Southern California

Re: The Thread Of Randomness

Post by TimeLapse1357 »

Redirect Left wrote:Random tech question;

a local store is selling a 1TB HDD for £37, or a 2TB external drive for £42, both are good prices, the latter is obviously better value though.
Has anyone ever taken an external drive apart? Is it just a normal SATA drive with a built in USB data/power adapter? If so, I can buy one, take it apart and put in the PC as a normal internal drive?
AFAK most external HDD's are just an internal HDD with a power/data converter inside a shell. however it is usually a laptop HDD since they can be powered directly from USB.
Check the specs of the external drive to see what the form factor, RPM and brand of the HDD inside.
As to taking the drive out of the shell and using it internally, that should not be a problem but you might need to reformat the drive. And there might be non-standard screws holding it together.

Have you considered using a USB hub to get more ports?
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7249
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: The Thread Of Randomness

Post by Redirect Left »

I get the impression (perhaps wrongly?) that external drives, in their USB nature, are meant for occasional usage, and being in a 24/7 (this PC is rarely powered down) nature will reduce the lifespan somewhat drastically of it?


edit: just realised, if i took the HDD out and put it in as an internal drive, it'd be doing that anyway, so bit of a redundant argument!
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
Post Reply

Return to “Off-Topic”

Who is online

Users browsing this forum: Baidu [Spider] and 33 guests