Back to Home / #openttd / 2018 / 06 / Prev Day | Next Day
#openttd IRC Logs for 2018-06-06

---Logopened Wed Jun 06 00:00:42 2018
00:11-!-chomwitt is "chomwitt" on #debian #debian-games
00:11-!-chomwitt [~chomwitt@2a02:587:dc0d:6600:ac63:8e1:a7ba:7e1e] has joined #openttd
00:23-!-chomwitt [~chomwitt@2a02:587:dc0d:6600:ac63:8e1:a7ba:7e1e] has quit [Ping timeout: 480 seconds]
01:30-!-cHawk [chawk@67-61-223-2.cpe.cableone.net] has quit [Ping timeout: 480 seconds]
01:32-!-cHawk [chawk@67-61-223-2.cpe.cableone.net] has joined #openttd
01:32-!-cHawk is "realname" on #tor #openttd
01:41-!-cHawk [chawk@67-61-223-2.cpe.cableone.net] has quit [Ping timeout: 480 seconds]
01:57-!-Thedarkb-X40 [~beno@51-171-49-17-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
02:12-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
02:12-!-andythenorth is "andythenorth" on #openttd
02:19-!-HeyCitizen_ [~HeyCitize@ip-45-41-54-196.montreal.ca.northamericancoax.com] has quit [Ping timeout: 480 seconds]
02:27-!-Wacko1976 [~IceChat9@027-161-128-083.dynamic.caiway.nl] has quit [Ping timeout: 480 seconds]
02:31-!-HeyCitizen [~HeyCitize@sttrpq3809w-lp130-03-67-68-202-204.dsl.bell.ca] has joined #openttd
02:31-!-HeyCitizen is "Got ZNC?" on #openttd #/r/openttd
02:33-!-HeyCitizen_ [~HeyCitize@ip-45-41-54-196.montreal.ca.northamericancoax.com] has joined #openttd
02:33-!-HeyCitizen_ is "Got ZNC?" on #openttd #/r/openttd
02:39-!-HeyCitizen [~HeyCitize@sttrpq3809w-lp130-03-67-68-202-204.dsl.bell.ca] has quit [Ping timeout: 480 seconds]
02:45-!-Cubey [~Coobies@pool-108-45-155-209.washdc.fios.verizon.net] has quit [Ping timeout: 480 seconds]
02:51<peter1138>hm
02:53<andythenorth>yes
02:54<LordAro>maybe
03:00<peter1138>hehe, home via pub. 21m moving time, 4 hours total :p
03:00<peter1138>Fortunately I leave work a bit too early to consider stopping at pubs.
03:03-!-sla_ro|master [~sla.ro@78.96.209.89] has joined #openttd
03:03-!-sla_ro|master is "slamaster" on #sla #openttd
03:04-!-ToBeFree [~tobefree@00019d36.user.oftc.net] has joined #openttd
03:04-!-ToBeFree is "Tobias "ToBeFree" Frei" on #https-everywhere #oolite-dev #openttd #tor #debian @#linux #oolite #oolite-ger
03:05<andythenorth>ha ha commits :)
03:11<LordAro>peter1138: :p
03:14-!-ToBeFree [~tobefree@00019d36.user.oftc.net] has quit [Quit: Leaving]
03:27-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
04:05-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
04:05-!-andythenorth is "andythenorth" on #openttd
04:16<peter1138>Hmm, Conquest Reforged looks interesting.
04:16<peter1138>Also way too many added blocks.
04:23-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
05:06-!-andythenorth [~andytheno@81.171.232.172] has joined #openttd
05:06-!-andythenorth is "andythenorth" on #openttd
06:20<LordAro>peter1138: pretty sure that's the fastest PR yet
06:21<andythenorth>is someone data mining stats? o_O
06:21<andythenorth>we could have a league table
06:21<andythenorth>meta-game in the meta-game :P
06:29<peter1138>LordAro, was thinking that :)
06:29<andythenorth>good eh
06:29<peter1138>LordAro, it was simple enough I didn't need to do any testing... and the CI makes sure it compiles so no worries there.
06:29<andythenorth>patchpack by a good author > cherrypick improvements > stronger core
06:29<peter1138>Yes
06:29<andythenorth>stronger core > more better patchpacks
06:30<andythenorth>singularity
06:30<peter1138>Althoguh
06:30<peter1138>Now it can't be built. What?
06:31<andythenorth>how rude
06:31<LordAro>ono
06:31<peter1138>"Notifies GitHub of the status of a Pull Request"
06:32<peter1138>is Red.
06:32<peter1138>Hmm
06:32<peter1138>https://farm.openttd.org/jenkins/blue/rest/organizations/jenkins/pipelines/OpenTTD/pipelines/OpenTTD/branches/master/runs/82/nodes/97/log/?start=0
06:32<peter1138>I don't think I touched any of that!
06:33<LordAro>looks like it all compiled anyway..
06:33<LordAro>#blameTB
06:33<peter1138>Oh those warnings are there anyway. Hmm.
06:34<LordAro>did you merge before the CI completed?
06:34<LordAro>if the error is it trying to notify on a merged PR
06:34<LordAro>wonder if*
06:34<peter1138>Is that possible? o_O
06:34<LordAro>¯\_(ツ)_/¯
06:35<peter1138>Maybe I did.
06:35<peter1138>If it's possible. Hmm.
06:36<peter1138>TrueBrain, i broke it ;(
06:43<peter1138>11:20 < LordAro> peter1138: pretty sure that's the fastest PR yet
06:43<peter1138>Not so good now ;(
06:43<LordAro>:(
06:43<LordAro>PR ci passed though
06:43<LordAro>clearly it's MS breaking things
06:44<peter1138>Must be, github isn't even loading for me now.
06:44<peter1138>Maybe I've been permabanned.
06:46-!-sla_ro|master [~sla.ro@78.96.209.89] has quit []
06:49<peter1138>"The connection to github.com was interrupted while the page was loading." :)
06:54-!-andythenorth [~andytheno@81.171.232.172] has quit [Remote host closed the connection]
07:05-!-andythenorth [~andytheno@81.171.232.172] has joined #openttd
07:05-!-andythenorth is "andythenorth" on #openttd
07:16-!-chomwitt is "chomwitt" on #debian #debian-games
07:16-!-chomwitt [~chomwitt@2a02:587:dc0d:6600:ac63:8e1:a7ba:7e1e] has joined #openttd
07:20<peter1138>dbg: [grf] Base music set song missing from CAT file: gm-tto.cat/0
07:20<peter1138>Is that necessary?
07:23<peter1138>Strava says I'm 1527 miles behind pace :(
07:23<peter1138>Don't think I'll catch that up.
07:24<andythenorth>take a week off
07:25<peter1138>Need more than a week for that.
07:26<LordAro>peter1138: pace compared to what?
07:26<LordAro>last year?
07:26<peter1138>Yearly target.
07:26<peter1138>This year I did much more MTB riding.
07:26<peter1138>Distance isn't everything :)
07:27<LordAro>indeed
07:27<LordAro>i'm on 1.3k miles this year
07:28<LordAro>ehich i'm guessing is a long way behind you :p
07:28<peter1138>Not much, I'm on 1947.
07:29<andythenorth>I reckon I've done at least 100 miles this year
07:30<peter1138>Well done.
07:31<peter1138>I did 8000 in 2016, but only 6900 in 2017.
07:31<LordAro>nice.
07:32<LordAro>my all time is only 6k :p
07:33<LordAro>need to get my bike serviced, i'm just shy of 2k on it, with original tyres & chainset
07:41<peter1138>Should be fine.
07:43<peter1138>My road bike did 6000 on just 2 chains.
07:43<andythenorth>mine is probably 2k on original tyres and chain
07:43<peter1138>Parts wear but if they're still working I don't see the point of replacing them.
07:44<andythenorth>tyres are slammed because of cobbles, they have cracks all round
07:44<andythenorth>but eh
07:45<peter1138>If the tyres are cracked that just means they're old, nothing to do with holes.
07:46<andythenorth>that too
07:46<andythenorth>but in our office we liked to blame the cobbles
07:46<andythenorth>:P
07:47<LordAro>peter1138: thry're starting to not :p
07:47<LordAro>chain is definitely stretching, hanger is bent, and i can't get the dereileur alignment right anyway
07:47<peter1138>Well, at 2k just a new chain should suffice.
08:40<LordAro>peter1138: you fixed it \o/
08:42<Eddi|zuHause>i technically have a bike i got as a kid in 1991-ish
08:42<Eddi|zuHause>i don't think that is usable
08:46<andythenorth>https://i.ebayimg.com/00/s/NzA5WDEwMjQ=/z/4xsAAOSwhMFXlKVk/$_86.JPG
08:47<andythenorth>^ 1991 ish my boke
08:47<andythenorth>bike *
08:47<Eddi|zuHause>well, mine was probably a lot cheaper :p
08:47<andythenorth>in retrospect it was crap, but I loved it at the time
08:50<andythenorth>then I got this https://www.gumtree.com/p/bicycles/raleigh-kandara-bike/1268270699#ad-title
08:50<andythenorth>which was also crap, but I didn't know it at the time
08:57-!-cHawk [chawk@67-61-220-107.cpe.cableone.net] has joined #openttd
08:57-!-cHawk is "realname" on #openttd #tor
09:04<Eddi|zuHause>if i were looking for a new bike, how would i find one that isn't crap?
09:04<Eddi|zuHause>(also, let's keep it below 4 digits)
09:11<peter1138>You'd need to research the frame and components
09:13<LordAro>find nearest cycle shop, go talk to them
09:13<LordAro>done
09:14-!-_dp_ [~dP@78.24.222.213] has quit [Ping timeout: 480 seconds]
09:14<peter1138>That
09:14-!-dP [~dP@78.24.222.213] has joined #openttd
09:14-!-dP is "dP" on #/r/openttd #openttdcoop #openttd.dev #openttd
09:14-!-dP is now known as _dp_
09:16<LordAro>peter1138: i'd probably say it's not worth worrying about individual components if your bike is below 4 digits
09:16<LordAro>premature optimisation and all that
09:17<peter1138>Probably not.
09:17<Eddi|zuHause>well, it'd be weird if my bike was more expensive than my car?
09:18-!-Thedarkb-X40 [~beno@51-171-49-17-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
09:18-!-Thedarkb-X40 is "realname" on #openttd #/r/openttd
09:18<peter1138>https://lkml.org/lkml/2018/6/5/769
09:18<peter1138>Eddi|zuHause, not really.
09:18<peter1138>Weird for maybe :)
09:19<peter1138>I think my 18 year old car is probably worth less than my MTB.
09:21<Eddi|zuHause>peter1138: it would be way better if they were writing the kernel in modern languages that don't need specs
09:23<peter1138>heh
09:23<peter1138>andythenorth, you know, livery overrides also remove wagon speed limits?
09:23-!-Thedarkb [~beno@51-171-49-17-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
09:24<peter1138>andythenorth, this may not be known and isn't visible in the build vehicle gui.
09:24<andythenorth>what are 'livery overrides'? :P
09:25<peter1138>Very important part of the newgrf spec.
09:25<andythenorth>orly
09:25<andythenorth>I never figured out how to use them
09:25<Eddi|zuHause>if you were making a grf 10 years ago...
09:25<andythenorth>they seem super-complicated tbh
09:25<peter1138>if ((rvi_u->railveh_type != RAILVEH_WAGON || _settings_game.vehicle.wagon_speed_limits) && !UsesWagonOverride(u))
09:25<Eddi|zuHause>it's not really complicated
09:26<peter1138>^ if condition just before checking the wagon speed limit.
09:26<Eddi|zuHause>it's just the quickest hack available
09:26<Eddi|zuHause>before wagons had all sorts of varaction2 capabilities
09:26<peter1138>Heavily used by DBSetXL.
09:26<peter1138>And probably UKRS, etc.
09:26<peter1138>Maybe NARS, I never played that that much to tell though.
09:26<Eddi|zuHause>dbsetxl is now what? 13 years ago?
09:27<peter1138>Just as well we're not Apple, else it would never work.
09:27<Eddi|zuHause>wagon override is how the dbset gets away with just having a 160km/h wagon, but some engines go 200km/h or more
09:48-!-Mahjong1 [~qq@host86-174-103-146.range86-174.btcentralplus.com] has joined #openttd
09:48-!-Mahjong1 is "realname" on #ohnx #openttd
09:52-!-nielsm [~nielsm@80-162-205-79-cable.dk.customer.tdc.net] has joined #openttd
09:52-!-nielsm is "Niels Martin Hansen" on #openttd #tycoon
09:53-!-Mahjong [~qq@host217-44-134-149.range217-44.btcentralplus.com] has quit [Ping timeout: 480 seconds]
09:55-!-henry [~henry@62.254.119.26] has joined #openttd
09:55-!-henry is "henry" on #openttd
10:20-!-Alberth [~alberth@00015f9e.user.oftc.net] has joined #openttd
10:20-!-mode/#openttd [+o Alberth] by ChanServ
10:20-!-Alberth is "purple" on @#openttd
10:21-!-henry is now known as m3henry
10:22-!-TheHawk [chawk@67-61-0-170.cpe.cableone.net] has joined #openttd
10:22-!-TheHawk is "realname" on #tor #openttd
10:29-!-cHawk [chawk@67-61-220-107.cpe.cableone.net] has quit [Ping timeout: 480 seconds]
10:29-!-Thedarkb-X40 [~beno@51-171-49-17-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
10:31<m3henry>With the move to GitHub, are we any closer to being able to compile C++11/14/17 for all targets?
10:34<Eddi|zuHause>i don't think those things are related
10:34<peter1138>Are the two related?
10:34<peter1138>Heh
10:35<m3henry>I was reading through the logs of the past few days
10:35<m3henry>and saw some mentions of CI
10:35<@Alberth>how is that related to the programming language you use?
10:36<m3henry>Because I recall the reason C++11 isn't currently accepted to OpenTTD code is that the Build Server isn't up to date
10:37<m3henry>And mentions of CI indicate to me that this may have been replaced
10:37<peter1138>Who says it's not accepted?
10:40<m3henry>I suppose I'm remembering incorrectly then
10:41<m3henry>So pull requests are the preferred method of submission these days I assume?
10:42<LordAro>technically speaking yes, the new compile farm was unrelated to moving to github
10:43<LordAro>in practice, it was done at the same time
10:44-!-supermop_work [~supermopw@cpe-67-244-98-130.nyc.res.rr.com] has quit [Ping timeout: 480 seconds]
11:00-!-KouDy [~koudy@ip4-83-240-28-102.cust.nbox.cz] has quit [Remote host closed the connection]
11:02-!-KouDy [~koudy@ip4-83-240-28-102.cust.nbox.cz] has joined #openttd
11:02-!-KouDy is "KouDy" on #openttd
11:03-!-TheMask96 [martijn@greed.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
11:06<@Alberth>I think pull requests are the only accepted form :)
11:06<andythenorth>can the topic include how many PRs open, how many closed last 30 days? o_O
11:07-!-TheMask96 [martijn@greed.vhost.ne2000.nl] has joined #openttd
11:07-!-TheMask96 is "Martijn Zweistra" on #openttd @#altcontrol #openttd.notice
11:10-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
11:10-!-mode/#openttd [+v tokai|noir] by ChanServ
11:10-!-tokai|noir is "Christian Rosentreter" on +#openttd
11:17-!-tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
11:29<nielsm>I'm constantly weirded out by how clicking "exit" on the main menu somehow triggers a but of extra DLL loads on windows
11:30<nielsm>only really visible after various system files have been updated and the symbol cache for those needs to download new PDB files
11:30<peter1138>dbg: [grf] Base music set song missing from CAT file: gm-tto.cat/0
11:30<peter1138>Is that message necessary every time?
11:31<nielsm>hmm probably not...
11:32<nielsm>ought to raise that to level 1
11:32<peter1138>Does it need a message?
11:33-!-supermop_work [~supermopw@cpe-67-244-98-130.nyc.res.rr.com] has joined #openttd
11:33-!-supermop_work is "A CIRC user" on #openttd
11:34<peter1138>There's no missing files message from missing graphics or sound basesets.
11:39<nielsm>yeah it shouldn't complain if the CAT file is missing entirely, only if you specify an index into it that doesn't exist
11:40<nielsm>I'll make a fix for that
11:46-!-Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has joined #openttd
11:46-!-Wormnest is "Wormnest" on #openttd
11:56<peter1138>m3henry, we have commit-message style rules that need to be followed.
11:57<m3henry>okay
12:11<m3henry>Looks like doing a force push updates the pull request
12:11<andythenorth>it's the recommended technique
12:11-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
12:11-!-Gja is "Martin" on #ceph #bcache #openttd
12:11-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit []
12:11<nielsm>yep get used to rebasing and force pushing when working on this
12:12<m3henry>I've only ever used git send-email for open source collaborating
12:12<m3henry>woo linux kernel
12:12<andythenorth>force push is definitely not conventional everywhere :)
12:14<m3henry>I do wish that git pull defaulted to either --no-ff or --rebase rather than merging
12:14<m3henry>I know it can be aliased
12:14-!-synchris [~synchris@139.138.202.72] has joined #openttd
12:14-!-synchris is "Synesios Christou" on #openttd
12:14<m3henry>But it's just a pain when I forget to set it up
12:15<andythenorth>if you haven't seen it btw... https://github.com/OpenTTD/OpenTTD/blob/master/CONTRIBUTING.md
12:17-!-Cubey [~Coobies@pool-108-45-155-209.washdc.fios.verizon.net] has joined #openttd
12:17-!-Cubey is "Jaybar" on #openttd
12:17<m3henry>Yeah I just read that
12:23<nielsm>michi_cc I'm going to need your help with the new dmusic driver :) re. this branch https://github.com/nielsmh/OpenTTD/tree/ttdw-music-fixups - the dmusic driver's preload prevents mostly-smooth looping on the title screen as far as I can tell, the calculated timeout in dmusic.cpp:745 seems to make it just skip past the end-of-song override check
12:28<LordAro>m3henry: pretty sure there some config you can set somewhere...
12:29<m3henry>pull.ff = only
12:30<m3henry>or pull.rebase = true
12:31<m3henry>I was merely grumbling at poor defaults :3
12:31<LordAro>:p
12:35-!-m3henry [~henry@62.254.119.26] has quit [Quit: WeeChat 1.9.1]
12:37*andythenorth did a pr :P
12:37<LordAro>wut
12:37<andythenorth>https://github.com/OpenTTD/OpenTTD/pull/6818
12:37<andythenorth>waiting for builds to complete :P
12:37<andythenorth>hope I didn't break them
12:40-!-Stimrol [~Stimrol@82.221.253.241] has joined #openttd
12:40-!-Stimrol is "Stimrol" on #openttd
12:43<peter1138>Why does git on Windows do this to me?
12:43<peter1138>git status tells me a file is modified, git diff tells me not.
12:44<LordAro>line endings?
12:44<LordAro>you've added autocrlf to your config, i hope?
12:51-!-m3henry [~m3henry@host-212-139-194-114.static.as9105.net] has joined #openttd
12:51-!-m3henry is "realname" on #openttd
12:51<m3henry>bak
12:52<andythenorth>peter1138: something else comes by and touches metadata? o_O
12:52<andythenorth>or you're holding it wrong? o_O
12:52<andythenorth>"hodling it wrong" :P
12:52<andythenorth>world ends
12:55-!-gelignite [~gelignite@55d4d0f1.access.ecotel.net] has joined #openttd
12:55-!-gelignite is "gelignite" on #openttd #openttdcoop.devzone
12:55<peter1138>m3henry, hmm, any way to make the helper functions be in a template class that can be used instead of std::vector directly? I wonder if that is more desirable than standalone functions.
12:57<LordAro>template <typename T> class Vector : std::vector<T> {...} sort of thing?
12:58<peter1138>Something like that?
12:58<LordAro>ideally you wouldn't need nearly as many of those helper functions, i think
12:58<LordAro>especially Extend
12:58<peter1138>Seems a bit strange to have these standalone functions. Not very C++ like :-)
12:58-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
12:58-!-Gja is "Martin" on #ceph #bcache #openttd
12:59<peter1138>I think Find() doesn't need to exist.
12:59<LordAro>mm, i'd have no issues with std::find being scattered throughout the code
12:59<peter1138>Hmm, I see, other stuff uses them.
13:02<peter1138>If it was a template class then stuff like https://github.com/OpenTTD/OpenTTD/pull/6817/files#diff-5aeecbea3a8b279cc264adfb2ac5f84dL303 change wouldn't be needed.
13:04-!-Progman [~progman@p548D959D.dip0.t-ipconnect.de] has joined #openttd
13:04-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttdcoop #openttd
13:09<LordAro>or, if (std::find(list->keycodes.begin(), list->keycodes.end(), [keycode, global_only](uint16 k){return k == static_cast<uint16>(keycode | WKC_GLOBAL_HOTKEY) || (!global_only && k == keycode); }) != list->keycodes.end()) { return list->num };
13:09<LordAro>hmm.
13:09-!-Wolf01 [~wolf01@host118-194-dynamic.61-82-r.retail.telecomitalia.it] has joined #openttd
13:09-!-Wolf01 is "Wolf01" on #openttd
13:09<peter1138>It's a little verbose.
13:09<Wolf01>o/
13:10<LordAro>i *guess*
13:10<LordAro>only one pass through each list though
13:10<LordAro>better performance!
13:11<LordAro>https://herbsutter.com/2011/10/07/why-no-container-based-algorithms/ also
13:12-!-sla_ro|master [~sla.ro@78.96.209.89] has joined #openttd
13:12-!-sla_ro|master is "slamaster" on #sla #openttd
13:14*Rubidium wonders is push_back is still copying data
13:16<@Alberth>you'd hope compilers would know about that by now
13:17<@Rubidium>well, the copying behaviour was AFAIR the whole reason to not go with it, but that might've changed (not sure though)
13:18<@Alberth>emplace_back is also c++11
13:19<@Alberth>http://en.cppreference.com/w/cpp/container/vector/emplace_back
13:21-!-andythenorth [~andytheno@81.171.232.172] has quit [Quit: andythenorth]
13:21<LordAro>^
13:23-!-Thedarkb [~beno@51-171-49-17-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
13:23-!-Thedarkb is "realname" on #/r/openttd #openttd #oolite
13:24<m3henry>I was aiming to keep the existing names that SmallVector had, to ease transition
13:27<m3henry>Rubidium: push back() can do copy or a move: Appends the given element value to the end of the container. (1) The new element is initialized as a copy of value. (2) value is moved into the new element.
13:27<@Alberth>keeping existing semantics is more valuable than keeping a name, probably
13:29<@Alberth>ie Append was needed to get emplace_back behavior before that was standardised
13:30<m3henry>well if plain vector would be preferred, than I could do that instead
13:31<@Alberth>eventually you'd end with a plain vector, wouldn't you?
13:32<@Alberth>so eventually names are going to change?
13:33<@Alberth>what transition is difficult by doing that directly?
13:35-!-m3henry-roaming [~oftc-webi@92.40.249.108.threembb.co.uk] has joined #openttd
13:35-!-m3henry-roaming is "OFTC WebIRC Client" on #openttd
13:36<@Alberth>did someone write a nice git gui tool yet?
13:36<@Alberth>for browsing history mostly
13:36-!-m3henry-roaming [~oftc-webi@92.40.249.108.threembb.co.uk] has quit [Remote host closed the connection]
13:36<LANJesus>Alberth: huh?
13:36<@Alberth>thg was good, but all git gui things are crap
13:37<LANJesus>i've had decent luck with the git extension for VS. i've also used sourcetree
13:37-!-m3neryroaming [~oftc-webi@92.40.249.108.threembb.co.uk] has joined #openttd
13:37-!-m3neryroaming is "OFTC WebIRC Client" on #openttd
13:37<@Alberth>well, yeah, for linux
13:37<Wolf01>Alberth: let's see if now MS could do something :P
13:37-!-m3neryroaming [~oftc-webi@92.40.249.108.threembb.co.uk] has quit [Remote host closed the connection]
13:38<@Alberth>no doubt they can if you use their linux interface at windows? :p
13:38<Wolf01>:D
13:39-!-qwebirc_m3henry [~oftc-webi@92.40.249.108.threembb.co.uk] has joined #openttd
13:39-!-qwebirc_m3henry is "OFTC WebIRC Client" on #openttd
13:41-!-qwebirc_m3henry [~oftc-webi@92.40.249.108.threembb.co.uk] has quit [Remote host closed the connection]
13:43<peter1138>I use gitg for browsing.
13:43<peter1138>Although I preferred older versions as they showed every stash in a simple way too.
13:45<peter1138>Hmm, probably time to go out.
13:45<LANJesus>have you tried smartgit?
13:46<peter1138>There's also github's desktop client.
13:46<peter1138>LANJesus, "purchase"? What is this crazy talk?
13:46<LANJesus>if smartgit sucks, try giteye or gitk
13:46-!-Flygon [~Flygon@210-84-48-231.dyn.iinet.net.au] has quit [Read error: Connection reset by peer]
13:55-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
13:55-!-andythenorth is "andythenorth" on #openttd
14:02<andythenorth>well
14:03<peter1138>Is it?
14:03<peter1138>Time to leave, andythenorth's here.
14:03-!-Thedarkb [~beno@51-171-49-17-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Read error: Connection reset by peer]
14:03<peter1138>-> mtb
14:03<@Alberth>looks that way at least
14:03*andythenorth -> tanks?
14:04<@Alberth>open wagons with barrels?
14:04<@Alberth>at least you can see it loading :)
14:04<andythenorth>I was thinking about Blitz but eh :)
14:04<@Alberth>oh, other tanks :D
14:05<@Alberth>still hooked? :)
14:05<andythenorth>comes and goes
14:05-!-KouDy [~koudy@ip4-83-240-28-102.cust.nbox.cz] has quit [Remote host closed the connection]
14:05<andythenorth>as addictions go, it's more satisfying than spider solitaire :P
14:07-!-KouDy [~koudy@ip4-83-240-28-102.cust.nbox.cz] has joined #openttd
14:07-!-KouDy is "KouDy" on #openttd
14:08-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
14:08-!-frosch123 is "frosch" on #openttdcoop.devzone +#openttd.dev #openttd
14:11<m3henry>Alberth: I find this good for viewing history: `git log --decorate --oneline --graph --summary -s --all`
14:11<@Alberth>fair enough, andy :)
14:12<@Alberth>m3henry: I have log -20 --graph --pretty=oneline --abbrev-commit --decorate --date=relative
14:13<@Alberth>but that doesn't come close to a gui tool
14:14<m3henry>I suppose it comes down to how much time you spend in CLI as to preferences
14:14<@Alberth>especially one with search facilities and browsing in files of old versions with blame information
14:14<@Alberth>day-to-day I use CLI
14:15<@Alberth>just looking through history to find how a change was introduced is just horrible at command-line
14:15<@Alberth>line x of file y is broken, how did that happen?
14:16<@Alberth>especially in the context where files were refactored etc
14:16<m3henry>I love using bisect for things like that
14:16<LANJesus>Alberth: i'm guessing the web interface is garbage for that?
14:16<@Alberth>try thg then :)
14:17<@Alberth>all git tools suck, I tried everything with git gui in the package manager
14:17<@Alberth>gitg is the least bad, but you can't even search for changes
14:17<andythenorth>I use CLI git
14:17<andythenorth>and don't try to do anything complicated ever :P
14:17<andythenorth>I rely on bitbucket / github a lot
14:18<@Alberth>m3henry: not broken in the sense that you can test it simply
14:18<@Alberth>you have to look at the line or the section of code to see what happened
14:19<@Alberth>so you need to step back through the change history of that section of code
14:19<@Alberth>and skip file/function moves, variable renames, etc
14:25<nielsm>"blame" is generally okay to trace back when something changed? if you know the file and line
14:29<@Alberth>yeah, but that repeatedly, and check what line to verify each step, as code may have moved
14:30<@Alberth>including to other files :)
14:30<TrueBrain>peter1138: rarely, but sometimes, a job fails for no clear reason
14:30<TrueBrain>seems this was one of them
14:30<@Alberth>unlucky throw of the dice
14:32<TrueBrain>and because 2 new commits have been on master, I also cannot retrigger it :D
14:32<TrueBrain>which is silly :P
14:32<Wolf01>I tried to use the client integrated on VS, but it misses something... sometimes it breaks and you need to get the cli to do a reset (the gui seem to not be able to reset --hard successfully)
14:35<@Alberth>it's just this advanced search stuff that I need a gui for, I use the command-line for everything else
14:35-!-HerzogDeXtEr [~farci@dslb-188-103-240-068.188.103.pools.vodafone-ip.de] has joined #openttd
14:35-!-HerzogDeXtEr is "purple" on #openttd
14:36<Wolf01>https://www.hanselman.com/blog/CarriageReturnsAndLineFeedsWillUltimatelyBiteYouSomeGitTips.aspx
14:36<@Alberth>and looking through diffs by clicking is also nice, don't need that often though
14:38<LordAro>...tortoisegit?
14:38<Wolf01>That's shitty enough :(
14:38<LordAro>does the job though
14:39<Wolf01>I was really used to TortoiseSVN and I thought I would be happy with TortoiseGit.. but no
14:39<@Alberth>indeed tortoisegit doesn't come close
14:40<@Alberth>ah, the myth that text-files are platform independent :)
14:40<Wolf01>They are, just always use LF
14:41<Wolf01>And don't use notepad, ok, the unfixed one :P
14:41<@Alberth>and utf-8 :)
14:41<@Alberth>yeah, I switched to wordpad decades ago :)
14:42<Wolf01>My boss is still fighting against the accented chars on the newsletter, he seem to not be able to fix the templates he uses, and I shown him how to do it many times
14:43<@Alberth>maybe show him how to save a template :p
14:43<Wolf01>Maybe is the stupid editor he uses which still write or encode in ansi
14:44<andythenorth>doesn't MailChimp take care unicode issues?
14:44<andythenorth>I've never had problems with it
14:46<Wolf01>Nah, we have html files to load on our crm, and that works well if you provide html files which agree between the encoding used to save it and the encoding specified in the html header
14:46-!-techmagus [~Laibeus_L@00022bb9.user.oftc.net] has quit [Ping timeout: 480 seconds]
14:47<Wolf01>BTW, /me -> python... monty
14:47<nielsm>ahh FINALLY got that theme to loop properly again
14:48<andythenorth>hmm spider solitaire is winning
14:49<andythenorth>even when I undo a lot :P
14:54-!-glx [~glx@000128ec.user.oftc.net] has joined #openttd
14:54-!-mode/#openttd [+v glx] by ChanServ
14:54-!-glx is "Loïc GUILLOUX" on +#openttd
15:00<@Alberth>spider is a difficult game
15:01<Eddi|zuHause>it took me a lot of time to learn it
15:02<andythenorth>if I undo enough, I win
15:02<andythenorth>:P
15:07<Eddi|zuHause>why did the "melody of the mouse" just pop up in my head for no reason?
15:09-!-synchris [~synchris@139.138.202.72] has quit [Quit: yeeha!]
15:09<Eddi|zuHause>https://www.youtube.com/watch?v=tLpdMToxngU
15:15<LANJesus>and now i have https://youtu.be/wXDxF1BvlqM stuck in there
15:16<Eddi|zuHause>not entirely sure how these two are related?
15:16<LANJesus>they're not, really
15:18<Eddi|zuHause>well, they're probably around the same age
15:30<Wolf01>No monty python... parents can't read subtitles :|
15:33<@Alberth>is that even translatable? I would think translating monty python is less than trivial
15:33<Wolf01>You can get most of the jokes
15:35-!-Cthulhux [~Cthulhux@00027534.user.oftc.net] has joined #openttd
15:35-!-Cthulhux is "he who etc." on #gentoo #C #openttd #suckless
15:37<michi_cc>Windows breakage incoming... :p
15:38<LordAro>but how will we know?
15:40<michi_cc>Know what? That it has come in or that it has broken?
15:40<LordAro>no windows CI
15:40<michi_cc>The first by joining #openttd.notice, the second by TB getting nightlies running again.
15:41<LordAro>which is clearly the only way we could know that something is broken
15:42<Wolf01>Meh, I wanted to play cities skylines... I need to download it first :(
15:45<Eddi|zuHause>Alberth: monty python did a show in german
15:45<@Alberth>:o
15:46<Eddi|zuHause>also, all the monty python stuff was dubbed into german, as far as i know
15:50<Wolf01>Were dubbed in italian too, but netflix only has original audio with subs
15:50-!-Fuco [~foobar@ip-86-49-246-22.net.upcbroadband.cz] has joined #openttd
15:50-!-Fuco is "O_o" on #openttdcoop #openttd
15:52-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
16:16-!-Thedarkb [~beno@51-171-49-17-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
16:16-!-Thedarkb is "realname" on #/r/openttd #openttd #oolite
16:30<m3henry>Gah, emplace_back() doesn't return a reference to the constructed element until C++17
16:43-!-gelignite [~gelignite@55d4d0f1.access.ecotel.net] has quit [Quit: Match found!]
16:47-!-Guest4850 [~Laibeus_L@69.51.16.249] has joined #openttd
16:47-!-Guest4850 is "Yahanan Xie" on #tor #openttd #/r/openttd
16:48<m3henry>So I have two approaches to providing same functionality as before
16:50<m3henry>The approach taken previously, having free functions, which does change semantics from member calls, but is more consistent with modern C++
16:50<m3henry>Or having a templated container adapter, which provides the functionality as member functions
16:51<@Alberth>:(
16:51<m3henry><template typename T> struct VectorAdapter : T { ... additional public methods };
16:51<LordAro>personally i'd try to avoid doing anything extra if at all possible
16:52<m3henry>Which would keep current semantics intact
16:52<m3henry>And only require type changes on the most part
16:52<LordAro>requires a bit more "look at what the code is actually doing", but i think it'd make it better overall
16:52<@Alberth>in the current implementation you need the reference to fill the value
16:52<@Alberth>it may not be used much otherwise
16:53<m3henry>Well you can't find something without the object you want to find in
16:53<m3henry>(or an iterator pair)
16:53<nielsm>are you trying to reinvent boost's intrusive containers?
16:53<m3henry>no
16:53<m3henry>Scrap SmallVector
16:53<@Alberth>it's at the end, right?
16:54<@Alberth>first entry of the reverse iterator, eg
16:54<LordAro>emplace_back(foo) + .back() ?
16:54<@Alberth>but I'd guess you don't need that reference often, if at all
16:54<m3henry>emplace_back() returns void until C++14
16:55<m3henry>it returns T& from C++17
16:55<LordAro>back() returns a reference
16:55<nielsm>I (ab)used SmallVector as a variably-sized buffer in my midifile code, that usage is definitely not suited to be converted to std::vector
16:56<LordAro>how so?
16:56<nielsm>or well it _could_ but it'd be awkward
16:56<m3henry>What do you mean though
16:57<LordAro>for the vast majority of uses smallvec -> stdvector is a near one-to-one conversion
16:57<@Alberth>night
16:57-!-Alberth [~alberth@00015f9e.user.oftc.net] has left #openttd []
16:58<nielsm>really std::string would probably be a better replacement in this particular use
16:59<m3henry>Why though?
16:59<nielsm>or maybe std::basic_string<byte>
16:59<nielsm>it's chunks of raw byte-stream data
17:02*LordAro notes src/misc/array.hpp
17:02<m3henry>I don't see why a resizable contiguous container is inferior to a resizable contiguous container, std::vector certainly has a better reallocation stregy for expansion
17:02<LordAro>i don't think i've ever seen this before
17:02*m3henry looks too
17:03<Wolf01>'night
17:03-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
17:03-!-sla_ro|master [~sla.ro@78.96.209.89] has quit []
17:04<m3henry>Looks like a vector of fixed sized blocks
17:07<peter1138>evening
17:08<m3henry>wb
17:09<peter1138>Ooo, software update for my Garmin
17:09<LordAro>peter1138: i'm very close to pressing the "buy" button for a bryton
17:10<peter1138>Do it, it's way nicer than sticking a phone on your bike.
17:16<m3henry>Then the question comes, what to do about case of similar methods
17:17<m3henry>So Adapter::Assign() is provided by std::vector::assign()
17:17<peter1138>LordAro, don't forget your cadence and heart rate monitor for some stats you probably won't ever need but hey, stats!
17:17<LordAro>peter1138: exactly!
17:18<m3henry>But would either require a forwarding function, or a code to use the new name of assign()
17:21<m3henry>So avoiding code changes by having member functions wouldn't be avoided if the new name is used
17:22<peter1138>LordAro, I want power meters but they're so expensive :(
17:24-!-iSoSyS [~iSoSyS@2001:8a0:e96d:ca00:8637:9192:a54d:d96] has joined #openttd
17:24-!-iSoSyS is "realname" on #/r/openttd #openttd
17:26<LordAro>peter1138: i pressed the buy button
17:26<LordAro>...and also bought a bottle of whiskey and 2 CDs
17:26<peter1138>Welcome to the club.
17:27<peter1138>Ooh, whatcha get?
17:27<LordAro>the cycle computer, or the whiskey? :p
17:28<LordAro>(Bryton 530T & Jameson Caskmates Irish whiskey)
17:28-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has left #openttd []
17:29-!-nielsm [~nielsm@80-162-205-79-cable.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds]
17:30<peter1138>I'd celebrate with a glass of Glenlivet but it's a school night.
17:38-!-Progman [~progman@p548D959D.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
17:56<Eddi|zuHause>https://www.jwz.org/blog/2018/06/lol-github/
18:09-!-iSoSyS [~iSoSyS@2001:8a0:e96d:ca00:8637:9192:a54d:d96] has quit [Remote host closed the connection]
18:13-!-HerzogDeXtEr [~farci@dslb-188-103-240-068.188.103.pools.vodafone-ip.de] has quit [Read error: Connection reset by peer]
18:18-!-frosch123 [~frosch@00013ce7.user.oftc.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
18:27-!-Stimrol [~Stimrol@82.221.253.241] has quit [Ping timeout: 480 seconds]
18:43-!-iSoSyS [~iSoSyS@2001:8a0:e96d:ca00:8637:9192:a54d:d96] has joined #openttd
18:43-!-iSoSyS is "realname" on #/r/openttd #openttd
18:43-!-Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has quit [Quit: Leaving]
18:46-!-iSoSyS [~iSoSyS@2001:8a0:e96d:ca00:8637:9192:a54d:d96] has quit []
18:53-!-m3henry [~m3henry@host-212-139-194-114.static.as9105.net] has quit [Quit: Leaving]
19:19-!-Fuco [~foobar@ip-86-49-246-22.net.upcbroadband.cz] has quit [Ping timeout: 480 seconds]
19:53-!-Smedles [~quassel@58.174.161.186] has quit [Ping timeout: 480 seconds]
20:25-!-Thedarkb-X40 [~beno@51-171-49-17-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
20:25-!-Thedarkb-X40 is "realname" on #openttd #/r/openttd
20:32-!-Thedarkb [~beno@51-171-49-17-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
21:08-!-Cthulhux [~Cthulhux@00027534.user.oftc.net] has quit [Remote host closed the connection]
21:08-!-glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye]
21:20-!-chomwitt [~chomwitt@2a02:587:dc0d:6600:ac63:8e1:a7ba:7e1e] has quit [Ping timeout: 480 seconds]
22:14-!-supermop [~supermop@pool-71-105-33-106.nycmny.fios.verizon.net] has joined #openttd
22:14-!-supermop is "A CIRC user" on #openttd
22:40-!-Flygon [~Flygon@210-84-48-231.dyn.iinet.net.au] has joined #openttd
22:40-!-Flygon is "Flygon" on #openttd
22:52-!-muffindrake3 [~muffindra@p200300864E070E00E097730F723060AD.dip0.t-ipconnect.de] has joined #openttd
22:52-!-muffindrake3 is "muffindrake" on #openttd
22:53-!-muffindrake2 [~muffindra@p200300864E055400B746697151FD69DE.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds]
23:03-!-tragique [~tragique@0002172a.user.oftc.net] has joined #openttd
23:03-!-tragique is "tragique" on #openttd
23:03-!-tragique [~tragique@0002172a.user.oftc.net] has quit [Remote host closed the connection]
23:04-!-tragique [~tragique@0002172a.user.oftc.net] has joined #openttd
23:04-!-tragique is "tragique" on #openttd
23:37-!-supermop [~supermop@pool-71-105-33-106.nycmny.fios.verizon.net] has quit [Ping timeout: 480 seconds]
---Logclosed Thu Jun 07 00:00:43 2018