Back to Home / #openttd / 2014 / 12 / Prev Day | Next Day
#openttd IRC Logs for 2014-12-29

---Logopened Mon Dec 29 00:00:02 2014
00:04-!-HerzogDeXtEr [] has quit [Quit: Leaving.]
00:25-!-liq3 [] has joined #openttd
00:33-!-liq4 [] has quit [Ping timeout: 480 seconds]
00:56-!-Eddi|zuHause [] has quit []
00:56-!-Eddi|zuHause [] has joined #openttd
01:23-!-DDR [] has joined #openttd
01:23-!-supermop [~supermop@2605:a000:1121:24:4cf5:a73c:f137:e12a] has quit [Ping timeout: 480 seconds]
01:25-!-liq4 [] has joined #openttd
01:30-!-Elie [] has joined #openttd
01:32-!-liq3 [] has quit [Ping timeout: 480 seconds]
01:39-!-Buntunub [] has joined #openttd
01:40-!-Elie [] has quit [Remote host closed the connection]
01:46-!-Supercheese [] has joined #openttd
01:54-!-DDR [] has quit [Read error: Connection reset by peer]
01:54-!-DDR [] has joined #openttd
02:22-!-Yotson [~Yotson@2001:980:6ac8:1:96d:442a:3760:f42a] has joined #openttd
02:25-!-liq3 [] has joined #openttd
02:32-!-andythenorth [] has joined #openttd
02:32-!-liq4 [] has quit [Ping timeout: 480 seconds]
02:50-!-DDR [] has quit [Read error: Connection reset by peer]
02:55-!-Alberth [~hat@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
02:59<andythenorth>moin Alberth
03:00*andythenorth -> coffee
03:05<Alberth>sounds like a plan
03:09<andythenorth>Alberth: think we’ll need to store the goal uid (GoalID) in the company goal structure
03:10<andythenorth>I wasn’t sure whether we could use the goal num in the company goal structure
03:10<andythenorth>probably they’re different
03:11<andythenorth>GoalID appears to be globally unique (which is what I would expect)
03:11<Alberth>nah, just make a new entry in the table
03:11<andythenorth>I added a line to log GoalID, I didn’t want to touch the company structure without checking with you first :)
03:11<Alberth>amount of delivered stuff also needs storage
03:13<andythenorth>I read some squirrel docs last night just to get acquainted with it a bit more
03:20<Alberth>maybe we should have a companygoal class so you can add code to the goal?
03:20<andythenorth>I think so
03:20<andythenorth>afaict we can then subclass for different goals
03:21<andythenorth>or over-ride methods
03:21<andythenorth>the class stuff in Squirrel looks pretty familiar
03:22<andythenorth>give each goal subclass a ‘CheckProgress()’ method or such
03:22*andythenorth afk
03:24-!-sla_ro|master [slamaster@] has joined #openttd
03:26-!-liq4 [] has joined #openttd
03:32-!-andythenorth [] has quit [Ping timeout: 480 seconds]
03:33-!-liq3 [] has quit [Ping timeout: 480 seconds]
03:47-!-andythenorth [] has joined #openttd
03:51<Alberth>andythenorth: pushed a structure, currently working on monitoring and updating goal progress
03:59*andythenorth pulls
03:59<andythenorth>been thinking about how to report progress
03:59<andythenorth>the goal window might get quite long, and I’m not sure if we can control order there
04:00*andythenorth will experiment in a bit
04:01<Alberth>only show incomplete goals? perhaps add an overall goal (x of y goals achieved)
04:06<andythenorth>agreed, incomplete + overall
04:06<andythenorth>maybe the story book for history, if it seems worth it
04:13<argoneus>how are my train friends doing
04:14<Alberth>if you want an unknown number of challenges, story book or newsitem perhaps
04:15<Alberth>maybe you can adjust the goal? (n-1 of n goals done, and adjust n every time a goal is done :p )
04:25<andythenorth>history of last n goals
04:30-!-andythenorth [] has quit [Quit: andythenorth]
04:37-!-Quatroking [] has joined #openttd
04:38-!-mode/#openttd [+v peter1138] by ChanServ
04:38-!-mode/#openttd [+o Rubidium] by ChanServ
04:38-!-mode/#openttd [+v Belugas] by ChanServ
04:38-!-mode/#openttd [+v Terkhen] by ChanServ
04:38-!-mode/#openttd [+v DorpsGek] by ChanServ
04:38-!-mode/#openttd [+v planetmaker] by ChanServ
05:09-!-Myhorta [] has joined #openttd
05:27-!-Progman [] has joined #openttd
05:32-!-oskari89 [] has joined #openttd
06:17-!-andythenorth [] has joined #openttd
06:19-!-MJP [] has joined #openttd
06:22<andythenorth>also download count is a meaningless stat
06:23<Alberth>pushed monitoring and updating of delivered amounts
06:23<Alberth>as in, it doesn't crash when you start a new game :p
06:23<andythenorth>Feature: doesn’t crash
06:23<Alberth>always a useful feature :D
06:25-!-TheMask96 [] has quit [Ping timeout: 480 seconds]
06:28*andythenorth wonders about a range settting for goal size
06:30-!-TheMask96 [] has joined #openttd
06:40<Alberth>I wondered whether the upper limit is a bit too high
06:42<andythenorth>it’s 7500 currently?
06:42-!-TrueBrain [] has quit [Ping timeout: 480 seconds]
06:56<Alberth>think so
07:05<andythenorth>seems reasonable
07:20-!-Jinassi [~jinassi@] has joined #openttd
07:22-!-Progman [] has quit [Remote host closed the connection]
07:23<andythenorth>“Deliver 500 of <invalid cargo> to Flippertyworth Recycling Plant"
07:23<Alberth>ieks :)
07:24<andythenorth>label RCYC
07:24<andythenorth>wonder if that’s a FIRS bug
07:24<Alberth>that, or you swapped the {cargo} values
07:25<Alberth>(or I did :) )
07:25<andythenorth>it’s 1 of 10 goals
07:25<andythenorth>the other 9 are fine
07:25<andythenorth>I just happened to leave a game running with AI companies, and it appeared
07:27<Alberth>try printing all cargoes of this.cargoes ?
07:27<Alberth>afk for some shopping
07:30-!-Alberth [~hat@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
07:30-!-andythenorth [] has quit [Quit: andythenorth]
07:32-!-Supercheese is now known as Guest38
07:32-!-Supercheese [] has joined #openttd
07:33-!-Wolf01 [] has joined #openttd
07:34-!-andythenorth [] has joined #openttd
07:37-!-Guest38 [] has quit [Ping timeout: 480 seconds]
07:37<Wolf01>hello o/
07:40<andythenorth>hi Wolf01
07:44-!-mgpl [] has quit [Quit: leaving]
07:46<Wolf01>seem it's monday, back to refactoring
07:57*andythenorth refactors childrens’ lunch
07:57<andythenorth>or children’s even
07:57<andythenorth>stupid ‘
08:04-!-Jinassi [] has quit [Ping timeout: 480 seconds]
08:06<Wolf01>what one should test when the test is equal to the implementation of the function to test?
08:11<andythenorth>test integration
08:11<andythenorth>I read a good thing recently about the over-reliance on unit tests
08:11<andythenorth>which I don’t have a link for :P
08:12<andythenorth>and the chance that the tests inevitable have as many defects as the code they’re attempting to test
08:12<andythenorth>also that, to meet coverage targets, people write stupid tests, like asserting 1+1=2
08:12<andythenorth>I recently deleted some tests from an app that just tested python was behaving according to python spec :P
08:13<andythenorth>assert on setattr
08:17<Wolf01>yeah, I know it well, but as I'm testing our DateTime wrapper, I don't want to test eg. the localised format() against a string, as it could be slightly different for each system which runs the test, so I thought of testing against a generated string, but to generate it I would write the same code (it uses strftime()) used internally :P
08:32-!-mgpl [] has joined #openttd
08:32-!-Myhorta [] has quit [Ping timeout: 480 seconds]
08:34-!-Jinassi [] has joined #openttd
08:35-!-Pereba [~UserNick@] has joined #openttd
08:46<andythenorth>tautological :)
09:00<Wolf01>mmh, DateTime::createFromFormat() acts strange, I expected that giving a constant "seconds" it would create a date with "now" and the seconds I fixed
09:00<Wolf01>instead it creates 00:00:seconds I fixed
09:01<Wolf01>but with the date part it acts right
09:02<Wolf01>bah, PHP inconsistencies
09:02-!-Myhorta [] has joined #openttd
09:03<andythenorth>testing datetime formatting is notoriously hard
09:03<andythenorth>especially if you have locale, TZ, *and* user preferences support :)
09:05<Wolf01>not that I want test their DateTime, but since our class sets up some defaults in case of missing/wrong data, I'm in trouble with the core implementation
09:05<Wolf01>I need to find a way to test our stuff without trigger their weirdness
09:16<Wolf01>what's the point of using italic in docs... | looks like / :D
09:17-!-Alberth [~hat@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
09:17-!-mode/#openttd [+o Alberth] by ChanServ
09:20<@Alberth>hi hi
09:40<@Alberth>delete some completed company goals would be next?
09:45<andythenorth>yes :)
09:47-!-TrueBrain [] has joined #openttd
10:11-!-Jinassi [] has quit [Quit: Nettalk6 -]
10:15-!-Jinassi [~jinassi@] has joined #openttd
10:18-!-Myhorta [] has quit [Ping timeout: 480 seconds]
10:21-!-smoke_fumus [~smoke_fum@] has joined #openttd
10:30<Wolf01>uh uh, a singleton class, this could be nice to test
10:32-!-supermop [~supermop@2605:a000:1121:24:4cf5:a73c:f137:e12a] has joined #openttd
10:32-!-mgpl [] has quit [Quit: leaving]
10:35<@Alberth>andythenorth: pushed 'done' detection, and removal
10:35<@Alberth>goal window needs to be updated and removal :p
10:35<andythenorth>you are working much faster than me
10:35<andythenorth>I have….children interruptions
10:36<argoneus>are you guys racing
10:36<@Alberth>programming with obstacles :)
10:37<@Alberth>no, we're doing remote pair programming :)
10:37<@Alberth>or perhaps co-operative programming :)
10:38<Wolf01>I'm programming with obstacles too, but my track is this:
10:40<@Alberth>Wolf01: sort of lemmings programming?
10:52<andythenorth>mostly alberth programs, and I make some strings appear twice a day
10:54-!-TheMask96 [] has quit [Ping timeout: 480 seconds]
10:54-!-Jinassi [] has quit [Ping timeout: 480 seconds]
10:55<Wolf01>Alberth, it could be like that, yes
10:59-!-TheMask96 [] has joined #openttd
11:01-!-urdh [] has quit [Quit: boom]
11:02-!-mgpl [] has joined #openttd
11:06<Wolf01>mmh, tried mocking the class, the track suddenly became this:
11:07<Wolf01>I need a rocket launcher
11:10<@Alberth>too many weird dereferencing to foreign sites :)
11:13<Wolf01>eh they also warned me " You can't control the creation of the singleton object because often it is created in a static initializer or static method. As a result, you also can't mock out the behavior of that Singleton instance."
11:19<@Alberth>as long as you don't do anything when creating the singleton, there wouldn't be a problem right?
11:19<@Alberth>alternatively, create it on the first call?
11:20<Wolf01>no, that's not the problem, the problem is that I need to destroy it for every test or it carries the stuff other tests put in
11:21<Wolf01>but, I can't destroy a singleton :D
11:21<@Alberth>nice eh? :p
11:22<Wolf01>I could write some reset methods, but I don't want to change the class yet, I need to test it first
11:23<Wolf01>also, that weird thing is a dependency injection container too, and it have its own hardcoded dependencies
11:23<@Alberth>yeah, testing is overrated :p
11:24<Wolf01>and that code is so weird it relies on classes instead of interfaces
11:26-!-Myhorta [] has joined #openttd
11:28-!-HerzogDeXtEr [] has joined #openttd
11:29<@Alberth>if you just have 1 implementation, wouldn't that be the solution you want in the first place?
11:29<Wolf01>no, because it's not testable
11:30<@Alberth>oef :(
11:31<Wolf01>oh, there is a nice way to reset the parameters :D... no it just does nothing D:
11:35<andythenorth>so the singleton isn’t recreated for every test?
11:35<Wolf01>no, it's a singleton
11:36<andythenorth>but the app isn’t torn down and rebuilt for each test?
11:36<andythenorth>that can be slow :P
11:36<Wolf01>I could move each test on a different thread
11:36<Wolf01>but I'm sure it will blow up
11:38<Wolf01>eh, it does
11:38<@Alberth>of course, threads share memory
11:39-!-Jinassi [] has joined #openttd
11:39<Wolf01>no, I have thread safe PHP, but I think there's something else to disable in PHPUnit
11:40<Wolf01>for example I forgot: @preserveGlobalState disabled
11:40<Wolf01>and now it passes all the tests nicely :D
11:53<@Alberth>more coffee time :)
11:55<Wolf01>I'm trying to limit the absumption of that substance, just the minimum to not get headaches
12:00<@Alberth>switch to tea :)
12:02<supermop>gah "goods Valley" id been playing off and on for two weeks failed
12:03<supermop>i guess i will try for the cookie
12:08-!-zeknurn` [] has joined #openttd
12:09-!-Buntunub_ [] has joined #openttd
12:09-!-MTsPony [] has quit [Read error: Connection reset by peer]
12:09-!-zeknurn [] has quit [Read error: Connection reset by peer]
12:09-!-Buntunub [] has quit [Quit: No Ping reply in 180 seconds.]
12:09-!-MTsPonyZzZ [] has joined #openttd
12:09-!-zeknurn` is now known as zeknurn
12:11-!-tokai|mdlx [] has quit [Ping timeout: 480 seconds]
12:13-!-tokai|mdlx [] has joined #openttd
12:13-!-jA_cOp [~yakobu@2001:41d0:1:c5ab::1] has quit [Ping timeout: 480 seconds]
12:14-!-davidstrauss_ [~quassel@2001:4800:7813:516:62f:ce48:ff05:1b82] has joined #openttd
12:16-!-jinks [~jinks@2602:ffe8:102:213::1c:34ac] has quit [Ping timeout: 480 seconds]
12:16-!-Cursarion [] has quit [Ping timeout: 480 seconds]
12:16-!-Flippy [~flippy@2a02:25b0:aaaa:5da:face:face:face:1112] has quit [Ping timeout: 480 seconds]
12:16-!-davidstrauss [~quassel@2001:4800:7813:516:62f:ce48:ff05:1b82] has quit [Ping timeout: 480 seconds]
12:16-!-Flippy [~flippy@2a02:25b0:aaaa:5da:face:face:face:1112] has joined #openttd
12:17-!-jinks [~jinks@2602:ffe8:102:213::1c:34ac] has joined #openttd
12:17-!-jA_cOp [~yakobu@2001:41d0:1:c5ab::1] has joined #openttd
12:19-!-Cursarion [] has joined #openttd
12:26-!-liq4 [] has quit []
13:01-!-MTsPony [] has joined #openttd
13:02<NGC3982>Oh hai.
13:04-!-urdh [] has joined #openttd
13:05*andythenorth tried limiting coffee
13:05<andythenorth>no benefit
13:05<andythenorth>no upside
13:05<andythenorth>much downside
13:06-!-MTsPonyZzZ [] has quit [Ping timeout: 480 seconds]
13:12-!-smoke_fumus|2 [~smoke_fum@] has joined #openttd
13:13-!-andythenorth_ [] has joined #openttd
13:14-!-TrueBrain_ [] has joined #openttd
13:16-!-Pereba_ [~UserNick@] has joined #openttd
13:17-!-Netsplit <-> quits: Pereba, andythenorth, TheMask96, MTsPony, sla_ro|master, smoke_fumus, TrueBrain, oskari89, __ln__
13:17-!-andythenorth_ is now known as andythenorth
13:17-!-Pereba_ is now known as Pereba
13:18-!-Netsplit over, joins: MTsPony, TheMask96, oskari89, sla_ro|master, __ln__
13:18-!-oskari892 [] has joined #openttd
13:19-!-TrueBrain_ is now known as TrueBrain
13:20-!-oskari89 [] has quit [Ping timeout: 480 seconds]
13:20<Wolf01>andythenorth, you can drink as many coffee as you want, yours it's like tea, if I would drink more than 5 espresso in a day I'll die in a week
13:24-!-MTsPonyZzZ [] has joined #openttd
13:27*NGC3982 drinks like four espresso's a day.
13:27<NGC3982>Although, in 6-10cl pints.
13:28-!-Netsplit <-> quits: __ln__, MTsPony, TheMask96, sla_ro|master
13:28-!-Pensacola [] has joined #openttd
13:29-!-Netsplit over, joins: TheMask96, sla_ro|master, __ln__
13:32-!-Alberth [~hat@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
13:38<andythenorth>Wolf01: I am drinking espresso or americano
13:38<andythenorth>or lungo
13:39<andythenorth>or ristretto
13:40<NGC3982>Isn't Americano diluted espresso?
13:41<Wolf01>americano is ghost coffee
13:41<FUZxxl>Greetings from Congress to all of you!
13:41<andythenorth>mine is usually expresso filled up with water
13:42<@Rubidium>NGC3982: word crimes?
13:43<NGC3982>I guess that is the equivalent to the Europeean Néscafé.
13:43<NGC3982>No, i do actually think Expresso is a brand name for dry freece'd coffee.
13:44*NGC3982 has seen it somewhere.
13:45<andythenorth>it was a word crime
13:45<andythenorth>obiwan on my keyboard :P
13:46<@Rubidium>now something more openttd related...
13:46-!-Pensacola [] has quit [Remote host closed the connection]
13:46<@Rubidium>this cargodist in the real world, how long does it take (specifically) UPS to update they status of packages?
13:46<andythenorth>a commit? :o
13:46<andythenorth>not a commit :P
13:47-!-mgpl [] has quit [Ping timeout: 480 seconds]
13:47<@Rubidium>because apparantly they are to deliver a package today before 19:00 local time (45 minutes ago), but based on their tracking stuff it isn't even in my country yet
13:48<Wolf01>one of my tracking shown the package was in Germany while I had it in my hands
13:48<andythenorth>probably using cassandra
13:48<NGC3982>Oh, sorry.
13:48<andythenorth>the database will be consistent….eventually
13:49*NGC3982 has hilight on his wife's name.
14:02-!-mgpl [] has joined #openttd
14:19-!-andythenorth [] has quit [Quit: andythenorth]
14:40-!-mgpl [] has quit [Quit: leaving]
14:41-!-Myhorta [] has quit [Ping timeout: 480 seconds]
14:44-!-ToBeFree [] has quit [Quit: Ping timeout: 1337 seconds]
14:45-!-ToBeFree [] has joined #openttd
14:48-!-mgpl [] has joined #openttd
14:54-!-andythenorth [] has joined #openttd
15:09-!-Zeetherdroid [] has joined #openttd
15:43-!-Biolunar_ [] has quit [Quit: leaving]
15:46-!-Zeetherdroid [] has quit [Quit: Bye]
15:55-!-Myhorta [] has joined #openttd
15:57-!-TheMask96 [] has quit [Ping timeout: 480 seconds]
16:03-!-TheMask96 [] has joined #openttd
16:10-!-gelignite [] has joined #openttd
16:13-!-Extrems [] has joined #openttd
16:19-!-Extrems2 [] has quit [Ping timeout: 480 seconds]
16:21-!-Extrems [] has quit [Ping timeout: 480 seconds]
16:24<Wolf01>boring games for boring people, back to clicker heroes :P
16:25-!-mgpl [] has quit [Quit: leaving]
16:26<Wolf01>good, not so much improvement since this afternoon, I'll need some other boring thing to do
16:32-!-Yotson [~Yotson@2001:980:6ac8:1:96d:442a:3760:f42a] has quit [Quit: .]
16:39-!-mgpl [] has joined #openttd
17:21-!-Rubidium_ [] has joined #openttd
17:21-!-SpComb^_ [] has joined #openttd
17:21-!-FUZxxl_ [] has joined #openttd
17:21-!-orudge [] has joined #openttd
17:21-!-jinks- [~jinks@] has joined #openttd
17:21-!-Xaroth|W1rk [~XarothAtW@] has joined #openttd
17:22-!-Netsplit <-> quits: Sheogorath, SpComb, fkinglag, glevans2, dfox, davidstrauss_, @Belugas, joho, ^Spike^, CosmicRay, (+43 more, use /NETSPLIT to show all of them)
17:22-!-Belugas [~belugas@] has joined #openttd
17:22-!-mode/#openttd [+o Belugas] by ChanServ
17:23-!-Netsplit over, joins: Ttech, SpComb, ToBeFree, ccfreak2k, urdh, Born_Acorn, theholyduck, joho, Xaroth_, jonty-comp (+20 more)
17:23-!-smoke_fumus [~smoke_fum@] has joined #openttd
17:23-!-Netsplit over, joins: funnel, dfox, APTX, CosmicRay, MTsPonyZzZ, oskari892, Pereba, Supercheese, Quatroking, Fuco (+9 more)
17:23-!-smoke_fumus|2 [~smoke_fum@] has quit [Read error: Connection reset by peer]
17:23-!-andythenorth [] has quit [Quit: andythenorth]
17:23-!-Rubidium [] has quit [Read error: Connection reset by peer]
17:23-!-ToBeFree [] has quit [Max SendQ exceeded]
17:23-!-orudge` [] has quit [Remote host closed the connection]
17:23-!-urdh [] has quit [Quit: boom]
17:23-!-Xaroth|Work [] has quit [Read error: Connection reset by peer]
17:24-!-dihedral [] has quit [Remote host closed the connection]
17:24-!-SpComb [] has quit [Read error: Connection reset by peer]
17:24-!-MTsPonyZzZ [] has quit []
17:24-!-ToBeFree [] has joined #openttd
17:24-!-Netsplit over, joins: ivan`
17:25-!-dihedral [] has joined #openttd
17:28-!-urdh [] has joined #openttd
17:29-!-MTsPony [] has joined #openttd
17:46<argoneus>so what are you guys going to do in 2015
17:51<Wolf01>I'll become a wizard
17:54<NGC3982>I will turn into a solid block of barium-132.
17:57-!-luaduck_zzz is now known as luaduck
18:01-!-Xaroth|W1rk [~XarothAtW@] has quit [Quit: Reconnecting]
18:01-!-Xaroth|Work [~XarothAtW@] has joined #openttd
18:20-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
18:25-!-sla_ro|master [slamaster@] has quit []
18:33-!-Progman [] has joined #openttd
18:35-!-Flygon [] has joined #openttd
18:41-!-Flygon_ [] has quit [Ping timeout: 480 seconds]
19:08-!-Belugas [] has quit [Ping timeout: 480 seconds]
19:08-!-Belugas [~belugas@] has joined #openttd
19:08-!-mode/#openttd [+o Belugas] by ChanServ
19:10-!-Quatroking [] has quit [Read error: Connection reset by peer]
19:23-!-Jinassi2 [~jinassi@] has joined #openttd
19:26-!-Jinassi [] has quit [Ping timeout: 480 seconds]
19:26-!-Jinassi2 [~jinassi@] has quit []
19:26-!-Jinassi [~jinassi@] has joined #openttd
19:29-!-Myhorta [] has quit [Remote host closed the connection]
19:45-!-tokai|mdlx [] has quit [Quit: c('~' )o]
20:10-!-oskari892 [] has quit []
20:20-!-Pereba [~UserNick@] has quit [Quit: better late than never -]
20:25-!-Progman [] has quit [Remote host closed the connection]
20:43-!-smoke_fumus [~smoke_fum@] has quit [Quit: KVIrc 4.2.0 Equilibrium]
20:55-!-liq3 [] has joined #openttd
21:01-!-tokai [] has joined #openttd
21:01-!-mode/#openttd [+v tokai] by ChanServ
21:04-!-supermop_ [] has joined #openttd
21:11-!-supermop [~supermop@2605:a000:1121:24:4cf5:a73c:f137:e12a] has quit [Ping timeout: 480 seconds]
22:04-!-DDR [] has joined #openttd
22:32-!-gelignite [] has quit [Quit:]
22:39-!-MJP [] has quit [Ping timeout: 480 seconds]
23:41-!-MTsPony [] has quit []
23:42-!-MTsPony [] has joined #openttd
23:47-!-Extrems [] has joined #openttd
---Logclosed Tue Dec 30 00:00:04 2014