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

---Logopened Sun Oct 14 00:00:24 2018
00:21-!-triolus [~triolus@97-115-34-1.ptld.qwest.net] has quit [Quit: WeeChat 2.2]
00:31-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has quit [Quit: snail_UES_]
00:40-!-triolus [~triolus@97-115-34-1.ptld.qwest.net] has joined #openttd
00:40-!-triolus is "triolus" on #openttd #debian
01:11-!-sla_ro|master [~sla.ro@84.117.88.126] has joined #openttd
01:11-!-sla_ro|master is "slamaster" on #sla #openttd
01:25-!-Wacko1976 [~IceChat9@027-161-128-083.dynamic.caiway.nl] has joined #openttd
01:25-!-Wacko1976 is "The Chat Cool People Use" on #openttd #/r/openttd
01:49-!-Netsplit synthon.oftc.net <-> resistance.oftc.net quits: Jyggalag, Thedarkb-T60, XeryusTC, Hazzard, Yotson, Antheus, dihedral, Exec, Mavy, Heiki, (+81 more, use /NETSPLIT to show all of them)
01:50-!-Hobbyboy is "Andrew" on #oftc #moocows #linode @#YourBNC
01:50-!-Netsplit over, joins: Hobbyboy, Ttech, ericnoan, Maarten, Mahjong, urdh, funnel, ccfreak2k, berndj, eirc (+81 more)
02:43-!-Netsplit synthon.oftc.net <-> resistance.oftc.net quits: Jyggalag, Thedarkb-T60, XeryusTC, Hazzard, Yotson, Antheus, dihedral, Exec, Mavy, Heiki, (+81 more, use /NETSPLIT to show all of them)
02:47-!-Hobbyboy is "Andrew" on #oftc #moocows #linode @#YourBNC
02:47-!-Netsplit over, joins: Hobbyboy, Ttech, ericnoan, Maarten, Mahjong, urdh, funnel, ccfreak2k, berndj, eirc (+81 more)
---Logclosed Sun Oct 14 03:14:31 2018
---Logopened Sun Oct 14 03:14:37 2018
03:14-!-mikegrb [~mikegrb@mikegrb.netop.oftc.net] has joined #openttd
03:14-!-Irssi: #openttd: Total of 101 nicks [5 ops, 0 halfops, 2 voices, 94 normal]
03:16-!-Irssi: Join to #openttd was synced in 100 secs
03:38-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has joined #openttd
03:38-!-nielsm is "Niels Martin Hansen" on #openttd #tycoon
03:59-!-Progman [~progman@p57A2B607.dip0.t-ipconnect.de] has joined #openttd
03:59-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttdcoop #openttd
04:28-!-matt21347 [~matt21347@77.86.33.102] has joined #openttd
04:28-!-matt21347 is "matt" on #openttd #debian-next #debian-welcome #debian
04:36-!-gelignite [~gelignite@55d468e3.access.ecotel.net] has joined #openttd
04:36-!-gelignite is "gelignite" on #openttd
04:40-!-Stimrol_ [~Stimrol@89-160-153-213.du.xdsl.is] has joined #openttd
04:40-!-Stimrol [~Stimrol@89-160-153-213.du.xdsl.is] has quit [Read error: Connection reset by peer]
04:40-!-Stimrol_ is "Stimrol" on #openttd
04:47-!-Thedarkb-T60 [~Thedarkb-@51-171-111-125-dynamic.agg2.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
05:00-!-HerzogDeXtEr [~farci@dslb-178-008-119-201.178.008.pools.vodafone-ip.de] has joined #openttd
05:00-!-HerzogDeXtEr is "purple" on #openttd
06:15-!-Progman [~progman@p57A2B607.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
06:51-!-Thedarkb-T60 [~Thedarkb-@51-171-111-125-dynamic.agg2.kny.prp-wtd.eircom.net] has joined #openttd
06:51-!-Thedarkb-T60 is "realname" on #oolite #openttd
07:11-!-Thedarkb-T60 [~Thedarkb-@51-171-111-125-dynamic.agg2.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
07:16-!-Thedarkb-T60 [~Thedarkb-@51-171-111-125-dynamic.agg2.kny.prp-wtd.eircom.net] has joined #openttd
07:16-!-Thedarkb-T60 is "realname" on #openttd #oolite
07:24-!-Thedarkb-T60 [~Thedarkb-@51-171-111-125-dynamic.agg2.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
07:29-!-Thedarkb-T60 [~Thedarkb-@51-171-111-125-dynamic.agg2.kny.prp-wtd.eircom.net] has joined #openttd
07:29-!-Thedarkb-T60 is "realname" on #openttd #oolite
07:35-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
07:35-!-frosch123 is "frosch" on #openttdcoop.devzone +#openttd.dev #openttd
07:52-!-wodencafe [~cboyd@cpe-66-25-7-231.tx.res.rr.com] has joined #openttd
07:52-!-wodencafe is "Woden Cafe" on #432 #openttd #oftc #moocows
07:57<nielsm>what a silent weekend, this one
07:57<Eddi|zuHause>and you broke it
07:57<nielsm>yes
08:06<Arveen>rekt
08:15-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
08:15-!-Samu is "OFTC WebIRC Client" on #openttd
08:23<greeter>oh i thought today was monday, yeah it's broken now
08:26-!-Thedarkb-T60 [~Thedarkb-@51-171-111-125-dynamic.agg2.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
08:30-!-APTX_ [~APTX@2001:470:71:71d:defe:7ff:fee1:3d5d] has quit [Remote host closed the connection]
08:30-!-APTX_ [~APTX@2001:470:71:71d:defe:7ff:fee1:3d5d] has joined #openttd
08:30-!-APTX_ is "APTX" on #openttd #kernelnewbies
08:36-!-sim-al2 [~sim-al2@c-75-65-196-171.hsd1.tn.comcast.net] has joined #openttd
08:36-!-sim-al2 is "sim-al2" on #openttd
09:08-!-Thedarkb [~beno@51-171-49-230-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
09:08-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
09:53-!-Mahjong1 [~qq@2a00:23c5:6507:1a00:50de:da7a:eba9:98d0] has joined #openttd
09:53-!-Mahjong1 is "realname" on #ohnx #openttd #moocows
10:00<Samu>170 km/h wins
10:00-!-Stimrol_ [~Stimrol@89-160-153-213.du.xdsl.is] has quit [Read error: Connection reset by peer]
10:00<Samu>winds
10:00-!-Mahjong [~qq@2a00:23c5:6507:1a00:c41c:905d:ef28:2373] has quit [Ping timeout: 480 seconds]
10:04-!-glx [kvirc@000128ec.user.oftc.net] has joined #openttd
10:04-!-mode/#openttd [+v glx] by ChanServ
10:04-!-glx is "Loïc GUILLOUX" on @#opendune @#openttd.noai #openttd.notice +#openttd
10:10-!-Stimrol [~Stimrol@89-160-153-213.du.xdsl.is] has joined #openttd
10:10-!-Stimrol is "Stimrol" on #openttd
10:17-!-Flygon [~Flygon@106-68-83-162.dyn.iinet.net.au] has quit [Read error: Connection reset by peer]
10:27-!-snail_UES_ [~snail_UES@cpe-98-14-137-148.nyc.res.rr.com] has joined #openttd
10:27-!-snail_UES_ is "Jacopo Coletto" on #openttd
10:34-!-sim-al2 [~sim-al2@c-75-65-196-171.hsd1.tn.comcast.net] has quit [Ping timeout: 480 seconds]
10:41-!-Wormnest [~Wormnest@35.136.176.177] has joined #openttd
10:41-!-Wormnest is "Wormnest" on #openttd
11:14-!-gelignite [~gelignite@55d468e3.access.ecotel.net] has quit [Quit: Good fight, good night!]
11:32-!-wodencafe [~cboyd@cpe-66-25-7-231.tx.res.rr.com] has quit [Quit: Konversation terminated!]
12:18-!-Thedarkb [~beno@51-171-49-230-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
12:43-!-Wacko1976 [~IceChat9@027-161-128-083.dynamic.caiway.nl] has quit [Ping timeout: 480 seconds]
12:51<LordAro>frosch123: newgrf.cpp:3790, is there a missing break, or are the size & copy_from assignments just redundant?
12:51-!-Thedarkb [~beno@51-171-49-230-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
12:51-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
12:52<LordAro>similar situation at 3475
13:00<frosch123>what a crappy piece of code
13:00<LordAro>mm
13:00<frosch123>anyway, there should be no "break". the assignment of "size" and "copy_from" is pointless
13:01<LordAro>thought as much
13:01<frosch123>copy_from in a whole seems to pointless
13:01<LordAro>i noticed it was newgrf airport layouts, so wondered if the code was just unused :)
13:01<LordAro>s/unusued/untried/
13:01<frosch123>att seems to be some std::vector, which has a preassigned size of "defsize"
13:01<frosch123>but nothing is checked ever
13:02<LordAro>sounds about right :)
13:02<frosch123>no, it's not unused, it's probably even the most used case
13:02<LordAro>(i've gotten scan-build working, am going through some of the reported "issues")
13:03-!-gelignite [~gelignite@55d468e3.access.ecotel.net] has joined #openttd
13:03-!-gelignite is "gelignite" on #openttd
13:03-!-Wacko1976 [~IceChat9@027-161-128-083.dynamic.caiway.nl] has joined #openttd
13:03-!-Wacko1976 is "The Chat Cool People Use" on #openttd #/r/openttd
13:04<LordAro>https://i.imgur.com/ox3pQhv.png many of them look like this
13:04<frosch123>oh, industries layouts even check def_num_tiles :)
13:04<frosch123>so, that part was not copied to airports
13:16-!-Progman [~progman@p57A2B607.dip0.t-ipconnect.de] has joined #openttd
13:16-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttdcoop #openttd
13:30-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
13:30-!-andythenorth is "andythenorth" on #openttd
13:34<andythenorth>o/
13:35<LordAro>/o
13:36-!-Thedarkb [~beno@51-171-49-230-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
13:38<andythenorth>so
13:38<andythenorth>I broke bananas :)
13:39<andythenorth>"Unhandled Exception" when trying to update FIRS
13:41<LordAro>gj
13:42<andythenorth>GG, WP
13:43<frosch123>if it was on devzone i would guess for disk full
13:43<frosch123>no idea about ottd :)
13:43-!-Thedarkb [~beno@51-171-49-230-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
13:43-!-Thedarkb is "realname" on #oolite #openttd #/r/openttd
13:46<andythenorth>need a brain
13:52-!-Gustavo6046 [~Gustavo60@189.6.232.99] has quit [Read error: Connection reset by peer]
13:57-!-Gustavo6046 [~Gustavo60@189.6.232.99] has joined #openttd
13:57-!-Gustavo6046 is "Non dico nomen." on #openttd
14:01-!-wodencafe [~cboyd@cpe-66-25-7-231.tx.res.rr.com] has joined #openttd
14:01-!-wodencafe is "Woden Cafe" on #432 #openttd #oftc #moocows
14:04-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
14:12-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
14:12-!-andythenorth is "andythenorth" on #openttd
14:21-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
14:40-!-Thedarkb-T60 [~Thedarkb-@51-171-49-230-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
14:40-!-Thedarkb-T60 is "realname" on #openttd #oolite
14:59-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
14:59-!-Gja is "Martin" on #ceph #bcache #openttd
15:01-!-HeyCitizen_ [~HeyCitize@199.229.249.154] has joined #openttd
15:01-!-HeyCitizen_ is "Got ZNC?" on #openttd
15:02-!-triolus [~triolus@97-115-34-1.ptld.qwest.net] has quit [Ping timeout: 480 seconds]
15:05-!-HeyCitizen [~HeyCitize@199.229.249.154] has quit [Ping timeout: 480 seconds]
15:15-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
15:15-!-andythenorth is "andythenorth" on #openttd
15:16-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
15:19-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit []
15:21-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
15:21-!-andythenorth is "andythenorth" on #openttd
15:25<LordAro>frosch123: tree_cmd.cpp:718 calls AddTreeCount with a value of -1... which is then does `-1 << 6`, which is undefined
15:25<LordAro>thoughts?
15:26<nielsm>is it really,undefined?
15:27<nielsm>I'd expect it to shift in 6 zeroes, effectively multiplying by 64
15:28<frosch123>"-1 << 6" is not undefined
15:28<frosch123>but likely not intentional
15:28<frosch123>actually, it is just fine
15:29<frosch123>so, yeah, i see nothing wrong with that
15:30<frosch123>it correctly decrements the treecount by one
15:32<LordAro>bitshifting negative numbers is undefined, last time i checked
15:33<frosch123>the right-hand side must be >= 0
15:33<frosch123>but the left is just fine
15:33<frosch123><< works fine with negative left side
15:34<frosch123>>> is a bit more tricky since ((uint)-1) >> 1 != ((int)-1 >> 1)
15:35<frosch123>right-hand side must be >= 0 and < total number of bits to be well defined in languages which directly translate it to assembler
15:35<frosch123>since most(all?) processors just mask it to 5/6/... bits
15:38<LordAro>https://stackoverflow.com/a/8416000 seems to disagree
15:38<LordAro>"if E1 has a signed type and non-negative value, and E1 × 2E2 is representable in the result type, then that is the resulting value; otherwise, the behavior is undefined."
15:39<LordAro>if it helps, this does seem to have changed between C89/C++03 & C99/C++11
15:42<frosch123>c++98 says nothing about that
15:43<frosch123>but c++ has always been more defined than plain c
15:43<frosch123>c++98 5.8 [expr-shift] makes the restrictions about the rhs as said above
15:44<frosch123>and then defines << in general, and >> for signed and unsigned separately
15:50<frosch123>LordAro: i checked the plain c standard. there they distinguish platforms which do and do not support "negative zero"
15:51<frosch123>and depending on that "<<" is undefined
15:51<frosch123>so, it is a C issue, no C++ issue
15:55<frosch123>funnily in the beginning of the c++ standard they explicitly mention that integer with ones-complement are also an option, but then never follow it up
15:56<frosch123>but eh, i am not aware of any processor not doing twos-complement integers in the past 50 years
15:57<LordAro>true enough
15:57-!-gelignite [~gelignite@55d468e3.access.ecotel.net] has quit [Quit: Good fight, good night!]
15:58-!-Wormnest [~Wormnest@35.136.176.177] has quit [Quit: Leaving]
15:58<frosch123>https://en.wikipedia.org/wiki/UNIVAC_1100/2200_series <- oh, they still build them in 1996
15:58<frosch123>so, definitely ttd era :)
15:58<LordAro>haha
16:04<frosch123>https://www.unisys.com/offerings/clearpath-forward/clearpath-forward-products/clearpath-forward-dorado-systems <- i can't find their shop
16:04-!-sla_ro|master [~sla.ro@84.117.88.126] has quit []
16:07<frosch123>they promise a quite big single-thread performance. so, maybe it's an option for ottd
16:14<frosch123>hmm, the single one ebay offer i can find has ordinary xeon cpus
16:16-!-wodencafe [~cboyd@cpe-66-25-7-231.tx.res.rr.com] has quit [Quit: Konversation terminated!]
16:18-!-wodencafe [~cboyd@cpe-66-25-7-231.tx.res.rr.com] has joined #openttd
16:18-!-wodencafe is "Woden Cafe" on #432 #openttd #oftc #moocows
16:58-!-sim-al2 [~sim-al2@c-75-65-196-171.hsd1.tn.comcast.net] has joined #openttd
16:58-!-sim-al2 is "sim-al2" on #openttd
17:10-!-nielsm [~nielsm@176-23-103-56-cable.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds]
17:11-!-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]
17:26-!-Progman [~progman@p57A2B607.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
17:32-!-Thedarkb [~beno@51-171-49-230-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Remote host closed the connection]
17:44-!-matt21347 [~matt21347@77.86.33.102] has quit [Quit: Leaving]
17:56-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has left #openttd []
19:31-!-HerzogDeXtEr [~farci@dslb-178-008-119-201.178.008.pools.vodafone-ip.de] has quit [Read error: Connection reset by peer]
19:38-!-triolus [~triolus@97-115-34-1.ptld.qwest.net] has joined #openttd
19:38-!-triolus is "triolus" on #openttd #debian
19:58-!-Lejving [~Lejving@81-233-148-192-no524.tbcn.telia.com] has joined #openttd
19:58-!-Lejving is "realname" on @#openttdcoop.pz #openttdcoop.stable #openttdcoop #mashinky #factoriocoop #/r/openttd #openttd
20:21-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Quit: Page closed]
20:28-!-Thedarkb-T60 [~Thedarkb-@51-171-49-230-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
20:45-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has joined #openttd
20:45-!-Supercheese is "Supercheese" on #openttd
20:53-!-Flygon [~Flygon@106-68-83-162.dyn.iinet.net.au] has joined #openttd
20:53-!-Flygon is "Flygon" on #openttd
21:12-!-Mazur [~mazur@5ED2A7DE.cm-7-3c.dynamic.ziggo.nl] has joined #openttd
21:12-!-Mazur is "Stefan Linnemann" on @#openttdcoop @#openttdcoop.stable #openttd #oolite
21:29-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
21:29-!-mode/#openttd [+v tokai|noir] by ChanServ
21:29-!-tokai|noir is "Christian Rosentreter" on +#openttd
21:36-!-tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
21:54-!-glx [kvirc@000128ec.user.oftc.net] has quit [Quit: Bye]
22:25-!-Pikka [~Albert@203.63.189.131] has joined #openttd
22:25-!-Pikka is "realname" on #openttd
23:05-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has quit [Read error: Connection reset by peer]
23:05-!-Supercheese [~Superchee@cpe-98-146-230-183.natnow.res.rr.com] has joined #openttd
23:05-!-Supercheese is "Supercheese" on #openttd
23:09-!-haudrauf [~haudrauf2@00021656.user.oftc.net] has quit [Ping timeout: 480 seconds]
23:10-!-haudrauf [~haudrauf2@p200300C35F099000494FC94D94630D8B.dip0.t-ipconnect.de] has joined #openttd
23:10-!-haudrauf is "Haudrauf" on #openttd #frickelplatz @#ffod @#ffnord @#ffki @#ffhl @#ffhh @#fffl #cryptoparty @#ccchh @#ccc.do
---Logclosed Mon Oct 15 00:00:26 2018