Config
Log for #openttd on 17th December 2018:
Times are UTC Toggle Colours
00:15:44  *** Thedarkb1-T60 has quit IRC
00:17:53  *** Thedarkb1-T60 has joined #openttd
00:22:30  *** APTX_ has joined #openttd
00:30:39  *** APTX_ has quit IRC
00:33:05  *** APTX_ has joined #openttd
00:39:40  *** APTX_ has quit IRC
00:39:41  *** APTX_ has joined #openttd
00:59:09  *** APTX_ has quit IRC
01:26:55  *** APTX_ has joined #openttd
01:35:59  *** APTX_ has quit IRC
02:09:23  *** APTX_ has joined #openttd
02:18:54  *** APTX_ has quit IRC
02:20:29  *** Thedarkb1-T60 has quit IRC
02:31:39  *** APTX_ has joined #openttd
02:43:39  *** APTX_ has quit IRC
02:47:44  *** APTX_ has joined #openttd
02:56:28  *** APTX_ has quit IRC
02:57:12  *** APTX_ has joined #openttd
03:00:52  *** APTX_ has quit IRC
03:01:47  *** APTX_ has joined #openttd
03:04:22  *** APTX| has joined #openttd
03:04:22  *** APTX_ has quit IRC
03:29:29  *** APTX_ has joined #openttd
03:29:54  *** APTX| has quit IRC
03:49:18  *** APTX_ has quit IRC
03:59:05  *** APTX_ has joined #openttd
04:07:56  *** APTX| has joined #openttd
04:08:34  *** APTX_ has quit IRC
04:19:19  *** APTX| has quit IRC
04:20:19  *** APTX_ has joined #openttd
04:23:26  *** glx has quit IRC
04:29:19  *** APTX_ has quit IRC
04:29:26  *** APTX_ has joined #openttd
04:37:18  *** APTX| has joined #openttd
04:37:20  *** APTX_ has quit IRC
04:39:23  *** APTX_ has joined #openttd
04:39:37  *** APTX| has quit IRC
04:47:49  *** APTX_ has quit IRC
04:49:16  *** HerzogDeXtEr has joined #openttd
04:55:44  *** HerzogDeXtEr1 has quit IRC
04:56:00  *** APTX_ has joined #openttd
05:03:56  *** APTX| has joined #openttd
05:04:34  *** APTX_ has quit IRC
05:14:40  *** APTX_ has joined #openttd
05:16:21  *** APTX| has quit IRC
05:21:09  *** HerzogDeXtEr has quit IRC
05:22:32  *** APTX| has joined #openttd
05:25:14  *** APTX_ has quit IRC
05:43:04  *** APTX| has quit IRC
06:01:59  *** Wacko1976 has joined #openttd
06:32:00  *** Wacko1976 has quit IRC
06:58:55  *** APTX_ has joined #openttd
07:16:54  *** APTX_ has quit IRC
07:18:50  *** Progman has joined #openttd
08:00:06  *** APTX_ has joined #openttd
08:09:39  *** APTX_ has quit IRC
08:44:08  <dihedral> morning
08:50:44  <planetmaker> moin
09:24:59  *** Fuco has joined #openttd
09:55:03  *** WWacko1976-work has joined #openttd
10:27:02  *** APTX_ has joined #openttd
10:38:04  *** APTX_ has quit IRC
10:40:32  *** APTX_ has joined #openttd
10:49:58  *** APTX_ has quit IRC
10:51:02  *** APTX_ has joined #openttd
10:59:09  *** APTX_ has quit IRC
11:02:37  *** APTX_ has joined #openttd
11:17:39  *** APTX_ has quit IRC
11:20:22  *** APTX_ has joined #openttd
11:57:24  *** APTX_ has quit IRC
12:32:13  *** APTX_ has joined #openttd
12:41:23  *** APTX| has joined #openttd
12:41:35  *** APTX_ has quit IRC
12:44:34  *** Wacko1976-work has joined #openttd
12:46:28  *** WWacko1976-work has quit IRC
12:54:24  *** APTX| has quit IRC
13:02:35  *** APTX_ has joined #openttd
13:02:59  *** Flygon has quit IRC
13:07:24  *** urdh has quit IRC
13:08:19  *** HerzogDeXtEr has joined #openttd
13:08:36  *** urdh has joined #openttd
13:13:59  *** Fuco has quit IRC
13:16:40  *** APTX_ has quit IRC
13:17:27  *** APTX_ has joined #openttd
13:51:20  *** chomwitt has joined #openttd
14:01:59  *** APTX_ has quit IRC
14:24:50  *** sla_ro|master has joined #openttd
14:35:32  *** Gustavo6056 has joined #openttd
14:40:14  *** Gustavo6046 has quit IRC
14:40:14  *** Gustavo6056 is now known as Gustavo6046
15:02:55  *** nielsm has joined #openttd
15:28:16  <nielsm> I thought about the azure CI in the shower this morning and realized, I think it's making a detached HEAD checkout which explains why the builds have no branch name detected
15:50:31  *** Gja has joined #openttd
15:52:32  *** Wormnest has joined #openttd
15:52:44  *** APTX_ has joined #openttd
16:00:55  *** APTX| has joined #openttd
16:01:22  *** APTX_ has quit IRC
16:03:41  *** lugo has joined #openttd
16:04:18  *** APTX| has quit IRC
16:04:38  *** APTX_ has joined #openttd
16:09:11  *** APTX_ has quit IRC
16:09:56  *** APTX_ has joined #openttd
16:16:47  *** Wacko1976-work has quit IRC
16:28:17  *** tokai|noir has joined #openttd
16:28:17  *** ChanServ sets mode: +v tokai|noir
16:35:09  *** tokai has quit IRC
16:39:36  *** APTX_ has quit IRC
16:40:09  *** APTX_ has joined #openttd
16:50:21  *** Samu has joined #openttd
16:50:24  <Samu> hi
16:55:55  <LordAro> nielsm: interesting
16:56:21  <LordAro> istr planetmaker doing some workaround with nml to do with that
16:56:48  <LordAro> though that doesn't really help when you're trying to build a specific branch
16:57:34  *** Thedarkb1-T60 has joined #openttd
17:01:58  <nielsm> they do provide a build variable specifying the target branch name, but it's as a refs/ path so needs some munging
17:02:18  <LordAro> that's disappointing
17:03:03  <LordAro> but i guess it only matters for "provided builds", which wouldn't be using the normal revision number anyway (tag, nightly, etc)
17:04:19  <planetmaker> hm?
17:04:27  <nielsm> https://0x0.st/skyu.png
17:05:07  <LordAro> nielsm: tags not mentioned...
17:05:27  <nielsm> will have to experiment for those
17:05:33  <LordAro> https://github.com/OpenTTD/nml/commit/de7bdc34a471654f080c032cef58f696e3dd834e this is what i was referring to
17:05:37  <planetmaker> I haven't actually managed that yet, @ LordAro
17:06:53  <planetmaker> though... there's some version detection in that repo, yes. But no builds yet
17:14:08  *** Thedarkb1-T60 has quit IRC
17:14:20  *** acklen has joined #openttd
17:20:07  *** Thedarkb1-T60 has joined #openttd
17:20:17  *** chomwitt has quit IRC
17:21:51  <Samu> where is server 7 ST2 ?
17:22:14  <ST2> died
17:22:16  <ST2> gimme a sec
17:22:50  <Samu> that server doesn't like to serv
17:22:52  <Samu> e
17:27:02  *** Eddi|zuHause2 has joined #openttd
17:32:39  *** Eddi|zuHause has quit IRC
17:39:00  *** glx has joined #openttd
17:39:00  *** ChanServ sets mode: +v glx
17:52:40  *** Thedarkb1-T60 has quit IRC
17:53:01  *** Thedarkb1-T60 has joined #openttd
17:55:27  <planetmaker> LordAro, nielsm but it was my impression, that you need to give the revision you want to build the the CI. So possibly give the branchname via the hook from the repo to the CI
17:58:17  <nielsm> the automatic github integration gets the revision to build
17:59:02  <nielsm> yeah, it doesn't check out the named revision but the hash
17:59:03  <nielsm> git checkout --progress --force 212d1f59cf4e154eb0a56ef79c2bfb53bdb807e5
18:00:23  <nielsm> so we'd have to consume $(Build.SourceBranch) somehow and stuff it into .ottdrev for the build
18:05:15  <planetmaker> dunno how that works with the envisioned system
18:06:23  <planetmaker> for DevZone it works like: the incoming hook analyses the incoming commits. And it knows their branch, and hash. And it tells Jenkins the hash to build. And also gives the branch and / or tag name. So nothing to analyse for the CI - it just gets the version info fed - if it doesn't get the whole repo
18:07:24  <nielsm> I already have a working proof of concept, the entire build works (on windows and linux), it's just that the generated binaries don't have the branch name in the revision string
18:09:29  <planetmaker> I haven't managed to find enough time for the github webhooks. Doesn't it know the branch(es) the changesets belong to?
18:09:36  <planetmaker> Then it could simply communicate them
18:09:41  <nielsm> yes it does
18:09:59  <nielsm> but azure pipelines' github integration does not use the branch name when checking out the sources
18:10:14  <nielsm> so the git checkout is left as a detached HEAD
18:10:24  <nielsm> meaning our method of detecting the current branch name fails
18:10:51  <planetmaker> yep
18:13:01  <nielsm> right now I'm still trying to figure out why the mac build fails so badly, pkg-config simply doesn't pick up on anything
18:13:43  <nielsm> actually, maybe the problem is that pkg-config itself is not found
18:13:45  <nielsm> ........
18:14:09  <nielsm> I think perhaps configure should complain if pkg-config does not exist
18:14:21  <nielsm> (or rather, can not run)
18:14:58  <planetmaker> it should tell so, I guess
18:15:23  <nielsm> config.log says:
18:15:26  <nielsm> executing pkg-config zlib --modversion
18:15:26  <nielsm>   returned
18:15:26  <nielsm>   exit code 127
18:15:42  <nielsm> and exit code 127 matches with "command not found"
18:20:36  *** frosch123 has joined #openttd
18:26:56  <nielsm> ahh
18:26:57  <nielsm> 2018-12-17T18:22:57.9268440Z checking zlib... found
18:26:57  <nielsm> 2018-12-17T18:22:57.9612610Z checking liblzma... found
18:26:57  <nielsm> 2018-12-17T18:22:57.9746510Z checking lzo2... found
18:29:00  <nielsm> to think it was something so stupid, pkg-config itself missing...
18:29:39  *** APTX_ has quit IRC
18:30:00  *** Wolf01 has joined #openttd
18:30:05  <Wolf01> o/
18:34:18  *** APTX_ has joined #openttd
18:34:30  <nielsm> one more time...
18:35:12  <nielsm> HOMEBREW_NO_AUTO_UPDATE=1 certainly shaves some time off
18:36:58  <nielsm> and the machines have two vcpus, make -j2 should also shave some time off
18:41:16  <LordAro> nielsm: hahaha
18:42:27  <nielsm> https://dev.azure.com/jiifurusu/OpenTTD%20test/_build/results?buildId=51
18:42:31  <nielsm> tadaa
18:42:49  *** Wormnest has quit IRC
18:42:55  *** andythenorth has joined #openttd
18:43:07  <nielsm> hi andythenorth
18:43:25  <andythenorth> hi
18:43:25  <nielsm> can you test this? https://dev.azure.com/jiifurusu/7cc55f9b-edc5-4fc9-9ab1-dd588b740de7/_apis/build/builds/51/artifacts?artifactName=macOS&fileId=1E35D9F99F3BAF8AC846AB6D4EF0AABF0BB9C5D2811289B0E2B2893B18DABC7802&fileName=OpenTTD-macOS.a6e4bf5de337cfcc126a317ef145dec43f3166fe.51.zip&api-version=5.0-preview.3
18:43:31  <nielsm> if the link works
18:44:17  <andythenorth> google chrome warns me it's malware :P
18:44:19  <andythenorth> thanks chrome
18:44:21  <andythenorth> not
18:44:47  <nielsm> yes, I've added code that will hypnotize you and force you to paint pixels
18:45:07  <andythenorth> nielsm: are you actually nielsm? :P
18:45:13  <andythenorth> and not a sock puppet?
18:47:27  <andythenorth> nielsm: runs, loads a savegame
18:47:31  <nielsm> awesome
18:47:45  <nielsm> what version name does the main menu show?
18:48:03  <andythenorth> 20181217
18:48:08  <andythenorth> and the rev
18:48:19  <nielsm> so no branch name, as I suspected
18:48:27  <nielsm> probably two dashes between date and rev
18:48:44  <andythenorth> yes
18:49:25  <andythenorth> hash is ga6e4bf5d
18:52:25  <planetmaker> <nielsm> yes, I've added code that will hypnotize you and force you to paint pixels <-- then 'malware' definitely is a matter of perspective :P
18:54:48  <nielsm> ah yeah, building is much faster with -j2, worth keeping
18:57:23  *** APTX_ has quit IRC
18:57:28  *** APTX_ has joined #openttd
19:02:38  *** gelignite has joined #openttd
19:04:11  *** APTX_ has quit IRC
19:05:03  *** APTX_ has joined #openttd
19:12:03  *** APTX| has joined #openttd
19:13:14  *** APTX_ has quit IRC
19:20:14  *** APTX| has quit IRC
19:31:39  <andythenorth> wow
19:31:49  <andythenorth> what goes on in the OpenTTD main menu screen?
19:32:05  <andythenorth> that test build just killed my battery in 30 minutes
19:32:12  <andythenorth> 75% CPU use
19:33:07  <andythenorth> I have two other openttd instances running, paused, at about 7%
19:34:08  <planetmaker> well... game running, one core not throttled?
19:34:36  *** Wolf01 has quit IRC
19:35:02  *** Wolf01 has joined #openttd
19:35:40  <andythenorth> if I unpause the running game in the other instances it's 50%-75%
19:35:57  <planetmaker> it depends on the actual save, ofc
19:36:19  * andythenorth remembers when ottd used to take 30% on a core 2 duo :P
19:36:31  <Wolf01> Mmmh, started netflix, starved the bandwidth
19:42:56  <planetmaker>  8461 planetm+  20   0 2932192 113676  23752 S  16,6  1,4   0:12.29 openttd
19:42:56  <planetmaker> ... 16% for my titlegame
19:43:39  <planetmaker> model name	: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
19:44:02  <planetmaker> but harder to empty my mains "battery" :P
19:52:14  <andythenorth> you have quite a lot more CPU there :P
19:54:49  *** Wacko1976 has joined #openttd
19:57:35  *** Gustavo6046 has quit IRC
19:58:05  *** Gustavo6046 has joined #openttd
20:00:10  *** Gustavo6046 has quit IRC
20:00:43  *** Gustavo6046 has joined #openttd
20:03:55  <planetmaker> old CPU... 5 years at least
20:06:35  <nielsm> ad it's still perfectly adequate for most desktop usage
20:06:45  <nielsm> maybe a little slow for the latest games
20:06:48  <planetmaker> yep. And also for the games I play
20:06:56  <planetmaker> I don't play the "latest" ego-shooters
20:06:58  *** Wormnest has joined #openttd
20:07:19  <planetmaker> but works also for stuff like stellaris or pillars of eternity
20:07:36  <planetmaker> and ofc OpenTTD :)
20:19:00  *** Thedarkb1-T60 has quit IRC
20:19:21  *** Thedarkb1-T60 has joined #openttd
20:29:00  <DorpsGek_II> [OpenTTD/OpenTTD] Wilma456 commented on issue #6943: Music doesn't works https://git.io/fpxWc
20:29:02  <DorpsGek_II> [OpenTTD/OpenTTD] Wilma456 closed issue #6943: Music doesn't works https://git.io/fxPfk
20:57:19  *** sla_ro|master has quit IRC
21:02:11  <frosch123> we should start a competition
21:02:40  <frosch123> find a reasonable case to use the spaceship operator in the desaster code
21:03:04  <planetmaker> spaceship operator?
21:03:12  <frosch123> <=>
21:03:27  <frosch123> returns lower/equal/larger instead of true or false
21:03:40  <frosch123> c++20
21:03:52  <planetmaker> 3-state logic?
21:04:44  <frosch123> it when comparing two values is more expensive than comparing the result of <=> with the constants
21:04:59  <frosch123> you can compare two string using <=> and then switch on the result
21:05:06  <LordAro> haha
21:05:07  <frosch123> like strcmp in C,
21:05:29  <planetmaker> inventing new disasters :)
21:06:47  <frosch123> btw, my ottd-playing coworker was quite upset about the usage of ottd in the msvc cppcon talk
21:07:05  <planetmaker> in your talk about that or which?
21:07:16  <planetmaker> and why be mad about it? :)
21:07:27  <frosch123> did you see the talk?
21:07:31  <planetmaker> nope
21:07:38  <planetmaker> got a link
21:07:39  <planetmaker> ?
21:07:52  <frosch123> basically msvc people wanted to showcase their new debugging features
21:08:02  <planetmaker> ah
21:08:08  <frosch123> but their 5-line testcases did not look fancy enough
21:08:32  <frosch123> so they took a random open source project (guess which) and pasted their 5 lines into some place where they looked nice
21:08:43  <planetmaker> hehe
21:08:58  <frosch123> my coworker meant that would make ottd look bad, as if it were our bugs
21:10:16  <frosch123> planetmaker: https://youtu.be/6NAAuxWNhk4?t=2148
21:10:25  <frosch123> don't bother to watch the complete talk
21:10:31  <frosch123> it's exceptionally boring
21:11:29  <planetmaker> ty
21:11:35  <frosch123> the entertaining part is how they faked their 5 line unit tests into a fancy demo
21:11:48  <frosch123> while none of the regular viewers notice :)
21:12:00  <LordAro> well, why would they?
21:12:56  <frosch123> planetmaker: actually, the most entertaining part is when they debug strgen :)
21:13:07  <planetmaker> :D that sounds fun
21:13:18  <planetmaker> *watches*
21:13:24  <frosch123> first time someone patches strgen :)
21:13:39  <planetmaker> did we incorporate the patches already, did they send PRs?
21:13:51  <LordAro> lol
21:13:57  <planetmaker> :P
21:14:20  <planetmaker> The debugging feature explained on ottd code looks good, though
21:14:51  <frosch123> should we link it from the "how to compile ottd on msvc" page?
21:15:07  <planetmaker> might not be a bad idea, tbh
21:15:15  <frosch123> i think it is :p
21:15:24  <planetmaker> :)
21:15:37  <frosch123> but you can link it to the next manager
21:24:55  <planetmaker> he is a bit... tiring to listen to after some time :P
21:25:04  <planetmaker> artificially cheerful :P
21:25:45  <frosch123> not sure whether c++ jokes are your thing, but there are some funny 5 minute talks
21:29:29  <planetmaker> sometimes :)
21:29:34  *** lugo has quit IRC
21:29:35  <planetmaker> not sure I'd get all of them
21:30:14  *** gelignite has quit IRC
21:31:19  *** lugo has joined #openttd
21:34:48  <frosch123> just be aware that ottd source is west const
21:46:49  *** lugo has quit IRC
21:54:36  *** Gja has quit IRC
21:54:37  *** frosch123 has quit IRC
21:55:07  *** Thedarkb1-T60 has quit IRC
21:55:24  *** Thedarkb1-T60 has joined #openttd
22:18:25  <andythenorth> dunno what to do
22:18:29  <andythenorth> about supplies cars
22:19:15  <andythenorth> they're kind of weird
22:19:43  <andythenorth> http://bundles.openttdcoop.org/iron-horse/push/LATEST/docs/html/trains.html#supplies_car_pony_gen_2A
22:20:38  <andythenorth> are they just for supplies or not?
22:20:53  * andythenorth mostly uses express cars for supplies, for speed
22:24:10  <planetmaker> well, then... is there a reason for special supplies cars then?
22:33:50  <andythenorth> interesting sprites
22:33:58  <andythenorth> but maybe they should carry wider range of cargos
22:34:12  <andythenorth> currently just ENSP, FMSP, vehicles
22:34:16  *** Eddi|zuHause2 is now known as Eddi|zuHause
22:37:44  *** Samu has quit IRC
22:39:38  *** Wolf01 has quit IRC
22:46:33  *** andythenorth has quit IRC
22:49:13  <planetmaker> mail maybe, too (thinking in terms of parcels, not letters)
22:49:38  <planetmaker> other piece goods...
22:50:19  *** Wacko1976 has quit IRC
22:52:19  *** nielsm has quit IRC
23:04:57  *** Guest4632 has quit IRC
23:05:16  *** ToBeFree has joined #openttd
23:14:50  *** lugo has joined #openttd
23:30:52  *** lugo has quit IRC
23:43:28  *** Flygon has joined #openttd
23:54:02  *** Thedarkb1-T60 has quit IRC

Powered by YARRSTE version: svn-trunk