Back to Home / #openttd / 2017 / 11 / Prev Day | Next Day
#openttd IRC Logs for 2017-11-02

---Logopened Thu Nov 02 00:00:05 2017
00:15-!-DDR_ [~DDR_unhap@S0106f0f249839863.vc.shawcable.net] has joined #openttd
00:15-!-DDR_ is "David" on #openttd
00:15-!-DDR [~DDR_unhap@S0106f0f249839863.vc.shawcable.net] has quit [Read error: Connection reset by peer]
00:22-!-Guest8067 is now known as Prof_Frink
00:22-!-Prof_Frink is now known as Guest8070
00:45-!-ToffeeYogurtPots [~ToffeeYog@0BGAADD6E.tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
00:46-!-ToffeeYogurtPots [~ToffeeYog@4G4AADFXW.tor-irc.dnsbl.oftc.net] has joined #openttd
00:46-!-ToffeeYogurtPots is "realname" on #debian-hurd #debian-offtopic #apparmor #tor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytools.io #privacytech #oftc
01:09-!-sla_ro|master [~sla.ro@78.96.209.89] has joined #openttd
01:09-!-sla_ro|master is "slamaster" on @#sla #openttd #love
01:23-!-Guest8070 is now known as Prof_Frink
01:23-!-Prof_Frink is now known as Guest8075
01:24-!-Cubey [~Coobies@pool-96-241-233-56.washdc.fios.verizon.net] has quit [Ping timeout: 480 seconds]
01:28-!-sla_ro|master [~sla.ro@78.96.209.89] has quit []
01:50-!-berndj [~berndj@mail.azna.co.za] has joined #openttd
01:50-!-berndj is "Bernd Jendrissek" on #tor #osm-za #oftc #openttd #osm #gcc #openttdcoop #geda
02:24-!-Guest8075 is now known as Prof_Frink
02:24-!-Prof_Frink is now known as Guest8077
02:41-!-PressureLine [~PL@122-59-116-208.jetstream.xtra.co.nz] has joined #openttd
02:41-!-PressureLine is "realname" on #openttd
02:47<PressureLine>damn slow Czarist trains
02:55-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
02:55-!-tokai|noir is "Christian Rosentreter" on #openttd
02:56-!-mode/#openttd [+v tokai|noir] by ChanServ
03:03-!-tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
03:25-!-Guest8077 is now known as Prof_Frink
03:25-!-Prof_Frink is now known as Guest8080
03:30-!-ToffeeYogurtPots [~ToffeeYog@4G4AADFXW.tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
04:05-!-ToffeeYogurtPots [~ToffeeYog@8VQAADFM7.tor-irc.dnsbl.oftc.net] has joined #openttd
04:05-!-ToffeeYogurtPots is "realname" on #debian-hurd #debian-offtopic #apparmor #tor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytools.io #privacytech #oftc
04:26-!-Guest8080 is now known as Prof_Frink
04:26-!-Prof_Frink is now known as Guest8082
04:31-!-Wolf01 [~wolf01@host92-132-dynamic.248-95-r.retail.telecomitalia.it] has joined #openttd
04:31-!-Wolf01 is "Wolf01" on #openttd
04:32<Wolf01>o/
04:43<PressureLine>\o
04:47-!-Progman [~progman@p548D9CDA.dip0.t-ipconnect.de] has joined #openttd
04:47-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttdcoop #openttd
05:05-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has quit [Quit: ZNC - http://znc.in]
05:05-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has joined #openttd
05:05-!-mindlesstux is "ZNC - http://znc.in" on #virtualization #virt @#tuz-oftc @#tuz #qemu #osm #openttd #openconnect #observium #linode #ipv6 #OpenRailwayMap
05:10-!-Breckett [~DDD@poolvpn175-180.RZ.HS-Augsburg.DE] has joined #openttd
05:10-!-Breckett is "Breckett" on #openttd
05:21-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has quit [Quit: ZNC - http://znc.in]
05:23-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has joined #openttd
05:23-!-mindlesstux is "ZNC - http://znc.in" on #virtualization #virt @#tuz-oftc @#tuz #qemu #osm #openttd #openconnect #observium #linode #ipv6 #OpenRailwayMap
05:27-!-Guest8082 is now known as Prof_Frink
05:27-!-Prof_Frink is now known as Guest8086
05:37-!-PressureLine [~PL@122-59-116-208.jetstream.xtra.co.nz] has quit [Quit: Leaving]
06:10-!-ToBeFree [uid51591@id-51591.tooting.irccloud.com] has joined #openttd
06:10-!-ToBeFree is "ToBeFree" on #openttd @#freiwuppertal #https-everywhere #oolite-dev #oolite-ger #oolite #tor #linux
06:15-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has quit [Quit: ZNC - http://znc.in]
06:16-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has joined #openttd
06:16-!-mindlesstux is "ZNC - http://znc.in" on #virtualization #virt @#tuz-oftc @#tuz #qemu #osm #openttd #openconnect #observium #linode #ipv6 #OpenRailwayMap
06:23-!-Breckett [~DDD@poolvpn175-180.RZ.HS-Augsburg.DE] has quit [Quit: Verlassend]
06:28-!-Guest8086 is now known as Prof_Frink
06:28-!-Prof_Frink is now known as Guest8089
06:29-!-andythenorth [~andytheno@194.168.185.226] has joined #openttd
06:29-!-andythenorth is "andythenorth" on #openttd
06:29<andythenorth>V453000: just leaving this here https://www.eyeonspain.com/userfiles/image/mac75/410.jpg
06:30<andythenorth>Talgo train in Spain
06:30-!-andythenorth [~andytheno@194.168.185.226] has left #openttd []
06:30<V453000>:D
06:59-!-Progman [~progman@p548D9CDA.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
07:07-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has quit [Quit: ZNC - http://znc.in]
07:08-!-mindlesstux [~mindlesst@2001:19f0:5:238:5400:ff:fe30:7f01] has joined #openttd
07:08-!-mindlesstux is "ZNC - http://znc.in" on #virtualization #virt @#tuz-oftc @#tuz #qemu #osm #openttd #openconnect #observium #linode #ipv6 #OpenRailwayMap
07:29-!-Guest8089 is now known as Prof_Frink
07:29-!-Prof_Frink is now known as Guest8092
08:27-!-ToffeeYogurtPots [~ToffeeYog@8VQAADFM7.tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
08:27-!-ToffeeYogurtPots [~ToffeeYog@8VQAADFVC.tor-irc.dnsbl.oftc.net] has joined #openttd
08:27-!-ToffeeYogurtPots is "realname" on #debian-hurd #debian-offtopic #apparmor #tor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytools.io #privacytech #oftc
08:30-!-Guest8092 is now known as Prof_Frink
08:30-!-Prof_Frink is now known as Guest8095
09:14<Wolf01>https://img-9gag-fun.9cache.com/photo/aZgdrvz_460sv.mp4 lol
09:21-!-Biolunar [Biolunar@dslb-092-073-144-084.092.073.pools.vodafone-ip.de] has joined #openttd
09:21-!-Biolunar is "Biolunar" on #openttd #suckless
09:31-!-Guest8095 is now known as Prof_Frink
09:31-!-Prof_Frink is now known as Guest8100
09:32-!-Flygon [~Flygon@124-148-158-195.dyn.iinet.net.au] has quit [Read error: Connection reset by peer]
09:38-!-onironauta [~onironaut@177.80.41.50] has joined #openttd
09:38-!-onironauta is "realname" on #openttd #openttd.compile
09:42<supermop>good morning
09:42<__ln__>good "morning"
09:43<Wolf01>Sure it's morning somewhere in the world
09:43<__ln__>not if you believe earth is flat
09:45-!-onironauta [~onironaut@177.80.41.50] has quit [Quit: Leaving]
09:47-!-ToffeeYogurtPots [~ToffeeYog@8VQAADFVC.tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
09:53-!-ToffeeYogurtPots [~ToffeeYog@4G4AADGJA.tor-irc.dnsbl.oftc.net] has joined #openttd
09:53-!-ToffeeYogurtPots is "realname" on #oftc #privacytech #privacytools.io #openttd #privacybadger #https-everywhere #i2p #tor-offtopic #tor-onions #tor-project #tor #apparmor #debian-offtopic #debian-hurd
10:01<supermop>gah i totally missed this show i wanted to see: https://www.davidzwirner.com/exhibitions/ruth-asawa
10:04-!-D-HUND [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
10:04-!-D-HUND is "Wowbagger" on #openttd
10:07-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Ping timeout: 480 seconds]
10:14-!-Gustavo6046 [~Gustavo60@177.18.77.88] has joined #openttd
10:14-!-Gustavo6046 is "I open with sandwich!" on #openttd #ohnx @#gusbot #doom64ex
10:19-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
10:19-!-Samu is "OFTC WebIRC Client" on #openttd
10:20<Samu>hi
10:29-!-ToBeFree [uid51591@00019d36.user.oftc.net] has quit [Quit: Connection closed for inactivity]
10:32-!-Guest8100 is now known as Prof_Frink
10:32-!-Prof_Frink is now known as Guest8104
10:41-!-Breckett [~DDD@2001:638:102:e1::102c] has joined #openttd
10:41-!-Breckett is "Breckett" on #openttd #openttd.dev
10:57-!-Gustavo6046 [~Gustavo60@177.18.77.88] has quit [Ping timeout: 480 seconds]
11:00-!-Gustavo6046 [~Gustavo60@177.18.77.88] has joined #openttd
11:00-!-Gustavo6046 is "I open with sandwich!" on #openttd #ohnx @#gusbot #doom64ex
11:01-!-Gustavo6046 [~Gustavo60@177.18.77.88] has quit [Read error: Connection reset by peer]
11:04-!-Gustavo6046 [~Gustavo60@177.18.77.88] has joined #openttd
11:04-!-Gustavo6046 is "I open with sandwich!" on #openttd #ohnx @#gusbot #doom64ex
11:16-!-Thedarkb [~beno@51-171-49-138-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
11:16-!-Thedarkb is "realname" on #openttd #oolite
11:19-!-Gustavo6046 [~Gustavo60@177.18.77.88] has quit [Ping timeout: 480 seconds]
11:25-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
11:25-!-frosch123 is "frosch" on #openttdcoop.devzone #openttd.dev #openttd
11:33-!-Guest8104 is now known as Prof_Frink
11:33-!-Prof_Frink is now known as Guest8108
11:36<FLHerne>Hey, even the great Gene Ray accepted that it's always morning somewhere
11:42<FLHerne>"You are not allowed to know truth - that in one rotation of Earth, there are:
11:42<FLHerne> * 24 hours in midnight to midnight.
11:42<FLHerne> * 24 hours in sunup to sunup...........
11:42<FLHerne>* 24 hours in midday to midday.....
11:43<FLHerne>* 24 hours in sundown to sundown.
11:43<FLHerne>(IRC formatting can't really do Time Cube justice)
11:44<FLHerne> * 4 days in only 1 Earth rotation...
11:44<FLHerne> * 4 simultaneous years of the seasons.
11:44<@Rubidium>except that the earth doesn't do 1 rotation in 24 hours
11:45<FLHerne> * No infinite days within 96 hours.
11:45<FLHerne>* 4 different directions in clockwise.
11:46<FLHerne> * 3 days lost to academic stupidity.
11:47-!-Gustavo6046 [~Gustavo60@177.18.77.88] has joined #openttd
11:47-!-Gustavo6046 is "I open with sandwich!" on #openttd #ohnx @#gusbot #doom64ex
11:48<FLHerne>Rubidium: How dare you?! Teaching that Earth has only 1 day in 1 rotation, is adult poison forced on their children, as in the Jonestown mass murder.
11:48<FLHerne>You shouldn't assert such evil things.
11:56<Samu>I dunno how to ask this of you
11:56<Samu>can i sort vectors?
11:56<Samu>https://docs.openttd.org/classSmallVector.html
11:57<LordAro>Samu: that StationLidt thing you were on a few days ago was a smallvector
11:58<LordAro>i.e. the same way
11:58<Samu>i'm back to it again, how did u guess
11:58<Samu>bool  Include (const T &item)   Tests whether a item is present in the vector, and appends it to the end if not.
11:58-!-Breckett [~DDD@2001:638:102:e1::102c] has quit [Quit: Verlassend]
11:59<Samu>instead of appending it to the end, I insert it somewhere between two other items
11:59<Samu>is that possible?
12:00<Samu>trying to sort by insertion
12:03<LordAro>QSortT is already a thing
12:04<LordAro>whatever you're trying sounds awful
12:16<Samu>:8
12:16<Samu>I failed to use QSortT
12:16<Samu>is it really that easy?
12:16-!-Cubey [~Coobies@pool-96-241-233-56.washdc.fios.verizon.net] has joined #openttd
12:16-!-Cubey is "Jaybar" on #openttd
12:17<LordAro>Samu: yup
12:17<LordAro>Samu: hint, exactly the same interface as qsort
12:27-!-HerzogDeXtEr [~farci@dslb-188-103-225-012.188.103.pools.vodafone-ip.de] has joined #openttd
12:27-!-HerzogDeXtEr is "purple" on #openttd
12:34-!-Guest8108 is now known as Prof_Frink
12:34-!-Samu_ [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
12:34-!-Samu_ is "OFTC WebIRC Client" on #openttd
12:34-!-Prof_Frink is now known as Guest8111
12:35-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Remote host closed the connection]
12:38-!-Thedarkb [~beno@51-171-49-138-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
12:39-!-TheMask96 [martijn@wrath.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
12:40-!-Thedarkb [~beno@51-171-49-138-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
12:40-!-Thedarkb is "realname" on #oolite #openttd
12:40-!-TheMask96 [martijn@gluttony.vhost.ne2000.nl] has joined #openttd
12:40-!-TheMask96 is "Martijn Zweistra" on @#altcontrol #openttd #openttd.notice
12:45-!-Samu_ [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Remote host closed the connection]
12:45-!-oskari89 [oskari89@213-186-253-145.bb.dnainternet.fi] has joined #openttd
12:45-!-oskari89 is "Oskari Kvist" on #openttd
12:48<Wolf01>https://youtu.be/MgqHi3SBrLY Hughes did it first (bananas)
12:56-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
12:56-!-Samu is "OFTC WebIRC Client" on #openttd
12:57<Samu>LordAro: how do I pass the cargo type in the comparator?
13:00<LordAro>Samu: not easily
13:01<LordAro>i think you can do something with a comparator "object"
13:01<Samu>static int CDECL CompareCargoRatings(Station * const *a, Station * const *b) { return (*b)->goods[type].rating - (*a)->goods[type].rating; }
13:01<Samu>type is missing
13:02<LordAro>yes
13:07<Samu>comparator object?
13:09<LordAro>sorry, i believe "comparison functor" is the more usual term
13:10<LordAro>essentially you have a class with some state (type), and an operator() overload for the types you're interested in (Station *...)
13:10<LordAro>i *think* that will work
13:11<LordAro>there's an example in src/linkgraph.mcf.cpp, but it's a bit templatedised
13:13<Wolf01>http://justacarguy.blogspot.it/2010/09/san-diego-1929-graham-paige-sound-train.html supermop
13:13<Samu>i feel like copy pasting GSortT and adapt the comparator in it
13:15<supermop>Wolf01: a suggestion to add to grf?
13:15<LordAro>Samu: QSortT
13:15<LordAro>but yes, that will work
13:15<Wolf01>supermop: it might be an interesting theme
13:15<Samu>QSortT code is HELL
13:15<Samu>i mean qsort
13:15<LordAro>Samu: well no, you don't copy that
13:15<LordAro>that would be silly
13:16<LordAro>Samu: if you could use C++11, i'd just say that you should just use a lambda
13:16<LordAro>and variable capture
13:16<LordAro>but alas ottd is not there yet
13:17<Samu>qsort.cpp is a microsoft file :(
13:17<LordAro>qsort.cpp is microsoft's implementation of the POSIX function qsort
13:17<LordAro>it's part of the standard library and no one is suggesting that you even look at that file
13:18<supermop>Wolf01: current project is generating arbitrarily many random gourds for autumnal decoration
13:18<Wolf01>:D
13:22<supermop>https://imgur.com/a/txTNk
13:25<supermop>maybe i'll add some lumpiness
13:26<Cubey>Neat but you've gotta bend the central axis somehow
13:28-!-Defaultti [defaultti@lakka.kapsi.fi] has quit [Remote host closed the connection]
13:28-!-Gustavo6046_ [~Gustavo60@177.18.77.88] has joined #openttd
13:28-!-Gustavo6046_ is "I open with sandwich!" on #doom64ex #gusbot #ohnx #openttd
13:28-!-Gustavo6046_ [~Gustavo60@177.18.77.88] has quit [Read error: Connection reset by peer]
13:30<supermop>Cubey: considered it but probably won't
13:31<Cubey>You're in the uncanny valley of gourds!
13:31<supermop>only really long necked gourds really have that, and then they might look like dicks
13:31<supermop>uncanny valley is sort of the point
13:31<Cubey>Ah yeah I guess that would be a problem
13:32<supermop>going to use like 80s graphic patterns for the gourd skin
13:32<Cubey>Some of those bowling pin looking ones just don't look right to me... making them gnarly and lumpy would probably help though
13:32<supermop>yeah
13:33<Cubey>This is neat though, I don't know exactly what it is but it looks like you set up parameters for procedurally generating a 3D model as a graph
13:33<Cubey>And gourds are a great candidate for procedural generation
13:33<supermop>well can add bump or displacement maps when rendering
13:34<supermop>exactly, as they are sort of modular in their growth, despite having a huge diversity of shapes
13:34-!-Gustavo6046 [~Gustavo60@177.18.77.88] has quit [Ping timeout: 480 seconds]
13:35-!-Guest8111 is now known as Prof_Frink
13:35-!-Prof_Frink is now known as Guest8112
13:36-!-ToffeeYogurtPots [~ToffeeYog@4G4AADGJA.tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
13:36-!-Gustavo6046 [~Gustavo60@177.18.77.88] has joined #openttd
13:36-!-Gustavo6046 is "I open with sandwich!" on #openttd #ohnx @#gusbot #doom64ex
13:36-!-ToffeeYogurtPots [~ToffeeYog@8L3AACJPO.tor-irc.dnsbl.oftc.net] has joined #openttd
13:36-!-ToffeeYogurtPots is "realname" on #debian-hurd #debian-offtopic #apparmor #tor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytools.io #privacytech #oftc
13:40<supermop>hmm seems most decorative gourds have 10 radial segments
13:41-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Remote host closed the connection]
13:41<supermop>i sort of expected it to be an even distribution over a range of values
13:44-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
13:44-!-Samu is "OFTC WebIRC Client" on #openttd
13:44<supermop>also currently in the 'fat' part of the gourd, i have the radius vary randomly, and just discard seed values that do not produce good looking results
13:44<supermop>whereas i should make some rules about what range they can have
13:45<Samu>LordAro: https://paste.openttdcoop.org/p5m94nyp8
13:45<Samu>that's what i got, pseudo-copy of my code
13:46<Samu>how do I do this :(
13:46<LordAro>i know what you've got
13:47<Samu>CompareCargoRatings doesn't compile
13:47<Samu>doesn't know the variable type
13:47<Samu>named "type"
13:47<LordAro>i understand what's going on, there's no need to repeat it
13:48<Samu>sorry, i'm noob
13:50<Samu> QSortT<Station *>(used_stations.Begin(), used_stations.Length(), CompareCargoRatings "insert variable 'type' somewhere here to pass it to the comparator");
13:50<Samu>lel
13:52-!-ToffeeYogurtPots [~ToffeeYog@8L3AACJPO.tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
13:52<Samu>@logs
13:52<@DorpsGek>Samu: https://webster.openttdcoop.org/index.php?channel=openttd
13:53-!-ToffeeYogurtPots [~ToffeeYog@0BGAADE2M.tor-irc.dnsbl.oftc.net] has joined #openttd
13:53-!-ToffeeYogurtPots is "realname" on #debian-hurd #debian-offtopic #apparmor #tor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytools.io #privacytech #oftc
13:53<Wolf01>Heh, imgur broken
13:56-!-blathijs [matthijs@tika.stderr.nl] has quit [Ping timeout: 480 seconds]
13:57<Samu>what's a functor
13:58<LordAro>Samu: google
13:59<LordAro>Samu: however, i'm not sure there is actually a good solution with <C++11
13:59<LordAro>nontrivially, anyway
13:59<LordAro>a global variable would work
13:59<Samu>hmm go easy on me, a global variable, like how :(
14:00<LordAro>as in, declare a variable (CargoType or w/e) outside of a function
14:00<LordAro>and refer to it that way
14:00-!-blathijs [matthijs@tika.stderr.nl] has joined #openttd
14:00-!-blathijs is "Matthijs Kooijman" on #openttd
14:00<LordAro>it's not good, but i can't actually think of another way to do it with qsort
14:02-!-as [~oftc-webi@host7-227-dynamic.117-80-r.retail.telecomitalia.it] has joined #openttd
14:02-!-as is "OFTC WebIRC Client" on #openttd
14:02<as>a
14:02<LordAro>b
14:02<as>as
14:03<Samu>CargoID this_is_a_global_variable;
14:03-!-ToffeeYogurtPots [~ToffeeYog@0BGAADE2M.tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
14:03<Samu>return (*b)->goods[this_is_a_global_variable].rating - (*a)->goods[this_is_a_global_variable].rating;
14:03<Samu>let's see what happens
14:03-!-ToffeeYogurtPots [~ToffeeYog@8VQAADF47.tor-irc.dnsbl.oftc.net] has joined #openttd
14:03-!-ToffeeYogurtPots is "realname" on #debian-hurd #debian-offtopic #apparmor #tor #tor-project #tor-onions #tor-offtopic #i2p #https-everywhere #privacybadger #openttd #privacytools.io #privacytech #oftc
14:05<as>is still updated openttd?
14:06-!-Thedarkb [~beno@51-171-49-138-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
14:07<Samu>that seems tohave worked
14:08-!-Samu_ [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
14:08-!-Samu_ is "OFTC WebIRC Client" on #openttd
14:09<as>ok
14:09-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Remote host closed the connection]
14:09-!-Thedarkb [~beno@51-171-49-138-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
14:09-!-Thedarkb is "realname" on #oolite #openttd
14:09<Samu_>do i relly have to use QSortT? isn't GSortT better?
14:09<Samu_>at least I understand what it's doing
14:10<LordAro>those are not equivalent :p
14:10<LordAro>qsort is an implementation of quicksort, that is in nearly all cases faster than gnome sort
14:10<LordAro>you should only use GSort if you know that you need to
14:13<as>you know if some servers will organize tournament soon
14:13-!-Samu_ [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Remote host closed the connection]
14:16-!-as [~oftc-webi@host7-227-dynamic.117-80-r.retail.telecomitalia.it] has quit [Quit: Page closed]
14:18-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
14:18-!-Samu is "OFTC WebIRC Client" on #openttd
14:18<Samu>sorry my internet today is doing weird stuff
14:23<Samu>yeah, global variable was just what I needed, thx
14:24<Samu>static CargoID cargotype;
14:24<Samu>is it static?
14:24<Samu>static inline?
14:24<Samu>nop
14:26<Samu>not really sure about QSortT vs GSortT, they seem to produce the same result
14:26<Samu>i'll leave it as QSort
14:26<Samu>QSortT
14:31<LordAro>Samu: of course they produce the same result
14:31<LordAro>what on earth did you expect?
14:31<LordAro>if your sorting is nondeterministic, you have problems
14:32<Samu>the code of qsort looks much larger
14:32-!-Gustavo6046 [~Gustavo60@177.18.77.88] has quit [Ping timeout: 480 seconds]
14:32<Samu>in comparison to GSortT
14:33<LordAro>so?
14:33<Samu>it does more things
14:34-!-Gustavo6046 [~Gustavo60@179.181.78.9] has joined #openttd
14:34-!-Gustavo6046 is "I open with sandwich!" on #openttd #ohnx @#gusbot #doom64ex
14:34<LordAro>Samu: go look up sort algorithms
14:34<LordAro>and time complexity
14:35<Samu>GSortT is about 40 lines, the other is 380 lines of code
14:35<LordAro>so?
14:36<LordAro>while(true) {}
14:36<LordAro>one line of code
14:36<LordAro>not very fast
14:36-!-Guest8112 is now known as Prof_Frink
14:36-!-Prof_Frink is now known as Guest8115
14:39<Samu>https://paste.openttdcoop.org/pxwjx24zl this is qsort
14:40<LordAro>what is your point?
14:40<Samu>https://paste.openttdcoop.org/p1xjx4tqv GSortT
14:41<Samu>it's much easier to follow GsortT
14:41<LordAro>i am quite capable of reading source code
14:41<Samu>i dunno, seems too complex to be quicker
14:43<LordAro>you should look inside some other standard library files some time
14:43<LordAro>of course they're complicated, they're highly optimised
14:43<LordAro>whereas gsort is not
14:45<@DorpsGek>Commit by translators :: r27930 trunk/src/lang/simplified_chinese.txt (2017-11-02 19:45:39 +0100 )
14:45<@DorpsGek>-Update from Eints:
14:45<@DorpsGek>chinese (simplified): 2 changes by yfdyh000
14:55-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
14:55-!-andythenorth is "andythenorth" on #openttd
14:58<andythenorth>o/
14:59<frosch123>boo
14:59<supermop>ok i think i have it so gourds only vary on 9 variables now
15:00-!-gelignite [~gelignite@x4e304c8c.dyn.telefonica.de] has joined #openttd
15:00-!-gelignite is "gelignite" on #openttd #openttdcoop.devzone
15:00<supermop>should be pretty easy to manually look through millions to find 20 or so that look best
15:01<andythenorth>write an AI to do it ;)
15:01-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Remote host closed the connection]
15:01-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
15:01-!-Samu is "OFTC WebIRC Client" on #openttd
15:03<supermop>wife suggested genetic algorithm
15:03<supermop>and grasshopper comes with evolutionary solver
15:03<Samu>anyway, now that I got all stations sorted by rating
15:03<Samu>what to do next hmm :)
15:04<Samu>must thikn
15:04<supermop>but hard to define fitness for 'some bumpy, some smooth, basically looking like a variety of gourds'
15:04<supermop>unless you have already trained something on millions of photos of gourds
15:05<supermop>if i had a million photos of gourds, wouldn't need to generate them
15:06<supermop>Samu: want to write an AI to select nice looking autumnal decorative gourds?
15:06-!-Thedarkb [~beno@51-171-49-138-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
15:08<Samu>what?
15:08<Samu>i don't know how to write an AI
15:12*andythenorth got a new computer
15:12<andythenorth>compile is still super slow though :P
15:16-!-Thedarkb [~beno@51-171-48-115-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
15:16-!-Thedarkb is "realname" on #oolite #openttd
15:17<andythenorth>should I add tyres? o_O
15:17<andythenorth>http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/economies.html#steeltown
15:18<ST2>andythenorth: and engines... how do you make vehicles xD
15:18<andythenorth>vehicle parts
15:18<andythenorth>from the foundry
15:19<ST2>fair enough :)
15:19<andythenorth>I tried 'powertrain components' for a while, was weird, dunno why
15:19-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
15:24-!-sla_ro|master [~sla.ro@78.96.209.89] has joined #openttd
15:24-!-sla_ro|master is "slamaster" on @#sla #openttd #love
15:26-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Remote host closed the connection]
15:30-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
15:30-!-andythenorth is "andythenorth" on #openttd
15:35-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
15:35-!-Samu is "OFTC WebIRC Client" on #openttd
15:37-!-Guest8115 is now known as Prof_Frink
15:37-!-Prof_Frink is now known as Guest8120
15:44-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Remote host closed the connection]
15:46-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
15:46-!-Samu is "OFTC WebIRC Client" on #openttd
15:49-!-Gustavo6046_ [~Gustavo60@191.35.219.193] has joined #openttd
15:49-!-Gustavo6046_ is "I open with sandwich!" on #openttd #ohnx #gusbot #doom64ex
15:52-!-Gustavo6046 [~Gustavo60@179.181.78.9] has quit [Ping timeout: 480 seconds]
15:52-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Remote host closed the connection]
15:52-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
15:52-!-Samu is "OFTC WebIRC Client" on #openttd
16:04-!-Gustavo6046 [~Gustavo60@191.35.219.193] has joined #openttd
16:04-!-Gustavo6046 is "I open with sandwich!" on #doom64ex #gusbot #ohnx #openttd
16:05-!-Gustavo6046 [~Gustavo60@191.35.219.193] has quit []
16:07-!-glx [~glx@000128ec.user.oftc.net] has joined #openttd
16:07-!-mode/#openttd [+v glx] by ChanServ
16:07-!-glx is "Loïc GUILLOUX" on +#openttd
16:12-!-Gustavo6046_ [~Gustavo60@191.35.219.193] has quit [Ping timeout: 480 seconds]
16:16-!-urdh [~urdh@00013d7a.user.oftc.net] has quit [Quit: Boom!]
16:18-!-urdh [~urdh@00013d7a.user.oftc.net] has joined #openttd
16:18-!-urdh is "Simon Sigurdhsson" on #openttd #moocows #fish
16:19-!-Gustavo6046 [~Gustavo60@191.35.219.193] has joined #openttd
16:19-!-Gustavo6046 is "I open with sandwich!" on #openttd #ohnx @#gusbot #doom64ex
16:32-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Remote host closed the connection]
16:36-!-Thedarkb [~beno@51-171-48-115-dynamic.agg3.kny.prp-wtd.eircom.net] has quit [Ping timeout: 480 seconds]
16:38-!-Guest8120 is now known as Prof_Frink
16:38-!-Prof_Frink is now known as Guest8126
17:15-!-Gustavo6046_ [~Gustavo60@189.27.245.221.dynamic.adsl.gvt.net.br] has joined #openttd
17:15-!-Gustavo6046_ is "I open with sandwich!" on #openttd #ohnx #gusbot #doom64ex
17:18-!-Gustavo6046 [~Gustavo60@191.35.219.193] has quit [Ping timeout: 480 seconds]
17:18-!-Laedek [~quassel@24-113-145-42.wavecable.com] has quit [Remote host closed the connection]
17:24-!-Laedek [~quassel@24-113-145-42.wavecable.com] has joined #openttd
17:24-!-Laedek is "Laedek" on #openttd
17:29-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
17:30-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has joined #openttd
17:30-!-andythenorth is "andythenorth" on #openttd
17:39-!-Guest8126 is now known as Prof_Frink
17:39-!-Prof_Frink is now known as Guest8129
17:48-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has joined #openttd
17:48-!-Samu is "OFTC WebIRC Client" on #openttd
17:52<andythenorth>can I delete Food?
17:52<andythenorth>http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/economies.html#steeltown
17:52<andythenorth>then I can add Tyres
17:52<Wolf01>Replace it with tyres, deliver tyres to people homes
17:52<Samu>:)
17:57-!-sla_ro|master [~sla.ro@78.96.209.89] has quit []
18:01<frosch123>andythenorth: i wondered whether vehicled bodies should be renamed to sheet metal
18:02<frosch123>wondering about vehicle graphics for it
18:02<andythenorth>they are trucks with blacked out windows :)
18:02<andythenorth>it used to be galvanised steel
18:02<frosch123>also, what cargo has the TE_WATER?
18:02<andythenorth>dunno :)
18:02<andythenorth>http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/code_reference.html#cargos
18:02<frosch123>pipe? :p
18:03<andythenorth>ha
18:03<andythenorth>none currently :P
18:03<andythenorth>TE is probably quite broken in FIRS
18:03<andythenorth>I haven't paid attention to it
18:03<frosch123>so, you already broke tropic
18:03<frosch123>also break arctic by removing food?
18:04<frosch123>vehicles can take the role
18:04-!-urdh [~urdh@00013d7a.user.oftc.net] has quit [Quit: Boom!]
18:06<andythenorth>I should unbreak tropic eh :P
18:06-!-urdh [~urdh@00013d7a.user.oftc.net] has joined #openttd
18:06-!-urdh is "Simon Sigurdhsson" on #openttd #moocows #fish
18:07<frosch123>anyway, the main argument for/against raising the cargo limit seems to be whether it is good or bad for andy's health
18:08-!-urdh [~urdh@00013d7a.user.oftc.net] has quit []
18:11-!-ToBeFree [~tobefree@00019d36.user.oftc.net] has joined #openttd
18:11-!-ToBeFree is "Tobias "ToBeFree" Frei" on #https-everywhere @#freiwuppertal #oolite-dev #openttd #tor #debian #linux #oolite #oolite-ger
18:12-!-ToBeFree [~tobefree@00019d36.user.oftc.net] has quit [Remote host closed the connection]
18:12<andythenorth>32 is very good
18:13<andythenorth>I never wish for more
18:13<andythenorth>whereas I often wish for 3 output cargos
18:13<supermop>oops
18:14<supermop>broke grasshopper with myriads of gourds
18:14<frosch123>ok, 8 input, 8 output? or other numbers?
18:14<frosch123>any other kind of effect?
18:14<andythenorth>3 input, 3 output
18:14<andythenorth>effect?
18:14-!-urdh [~urdh@00013d7a.user.oftc.net] has joined #openttd
18:14-!-urdh is "Simon Sigurdhsson" on #openttd #moocows #fish
18:15<frosch123>in the past we talked about electricity, but in the end it was not considered good
18:15<andythenorth>V453000 also talked about electricity
18:15<andythenorth>I would do electricity per tile :P
18:15<andythenorth>or per region of tiles
18:15<frosch123>afaik noone used the things that were added to make industries talk between each other
18:16<andythenorth>industries can talk between each other? :o
18:16<frosch123>per town
18:16<frosch123>industries within a town can talk to each other
18:16<andythenorth>I thought it was deleted from spec
18:17<frosch123>town persistent storage was implemented like 5 years ago :p but i do not recall ever being used
18:17<andythenorth>maybe I looked in wrong places in docs
18:17<andythenorth>I looked recently, I had silly ideas
18:18<andythenorth>maybe here https://newgrf-specs.tt-wiki.net/wiki/Storages#Persistent_storage
18:18<andythenorth>ok, so it does exist
18:18*andythenorth might have to revisit silly ideas
18:19<andythenorth>means electricity and gas are possible
18:27<andythenorth>also bed
18:27-!-andythenorth [~andytheno@cpc87219-aztw31-2-0-cust178.18-1.cable.virginm.net] has quit [Quit: andythenorth]
18:39-!-urdh [~urdh@00013d7a.user.oftc.net] has quit [Ping timeout: 480 seconds]
18:39-!-urdh [~urdh@00013d7a.user.oftc.net] has joined #openttd
18:39-!-urdh is "Simon Sigurdhsson" on #openttd #moocows #fish
18:40-!-Guest8129 is now known as Prof_Frink
18:40-!-Prof_Frink is now known as Guest8135
18:41-!-Flygon [~Flygon@124-148-158-195.dyn.iinet.net.au] has joined #openttd
18:41-!-Flygon is "Flygon" on #openttd
18:41-!-urdh [~urdh@00013d7a.user.oftc.net] has quit []
18:44-!-urdh [~urdh@00013d7a.user.oftc.net] has joined #openttd
18:44-!-urdh is "Simon Sigurdhsson" on #openttd #moocows #fish
18:54-!-Thedarkb [~beno@51-171-48-115-dynamic.agg3.kny.prp-wtd.eircom.net] has joined #openttd
18:54-!-Thedarkb is "realname" on #oolite #openttd
18:55<Samu>how do I iterate backwards? :(
18:55<Samu>from End() to Begin() ?
19:02-!-supermop [~supermop@rrcs-50-74-53-242.nyc.biz.rr.com] has quit [Ping timeout: 480 seconds]
19:03-!-gelignite [~gelignite@x4e304c8c.dyn.telefonica.de] has quit [Quit: I have always found that mercy bears richer fruits than strict justice.]
19:07-!-supermop [~supermop@rrcs-50-74-53-242.nyc.biz.rr.com] has joined #openttd
19:07-!-supermop is "A CIRC user" on #openttd #tycoon
19:18-!-Progman [~progman@p548D9CDA.dip0.t-ipconnect.de] has joined #openttd
19:18-!-Progman is "Peter Henschel" on #openttdcoop.dev #openttdcoop #openttd
19:32<Wolf01>'night
19:32-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
19:33-!-oskari89 [oskari89@213-186-253-145.bb.dnainternet.fi] has quit []
19:37-!-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]
19:41-!-Guest8135 is now known as Prof_Frink
19:41-!-Prof_Frink is now known as Guest8145
20:25-!-Progman [~progman@p548D9CDA.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
20:32<Samu>C4715 'MoveGoodsToStation': not all control paths return a value openttd d:\openttd\trunk\src\station_cmd.cpp 3913
20:32<Samu>what does it mean not all control paths return a value?
20:32<Samu>they do
20:33<ST2>well, I must say: after people try some online servers... they come back to BTPro trying todo the same
20:34<Samu>st2, hi
20:34-!-HerzogDeXtEr [~farci@dslb-188-103-225-012.188.103.pools.vodafone-ip.de] has quit [Read error: Connection reset by peer]
20:35<ST2>and, imo - there should be a window shown to when joining a MP server
20:35<ST2>saying something
20:35<Samu>it's that for cycle at line 56 https://paste.openttdcoop.org/pbftxsvuw that's telling me not all control paths return a value, can u take a look, plz?
20:36<ST2>Samu, STFU, I'm pissed now, not with you or the game ^^
20:36<Samu>:)
20:40<Samu>gonna try use a while
20:40<ST2>once upon a time, someone suggested to link logins (game) to OpenTTD related stuff (tt-forums)
20:42-!-Guest8145 is now known as Prof_Frink
20:42-!-Prof_Frink is now known as Guest8149
20:44<ST2>I guess that won't go into production because couldn't make it work with SOAP, even on the openttdcoop servers
20:46<ST2>anyway, better I stop whining - people is away ^^
20:58-!-Biolunar [Biolunar@dslb-092-073-144-084.092.073.pools.vodafone-ip.de] has quit [Ping timeout: 480 seconds]
21:10-!-FLHerne [~flh@cpc129772-papw8-2-0-cust286.know.cable.virginm.net] has quit [Ping timeout: 480 seconds]
21:25-!-Samu [~oftc-webi@pa4-84-91-142-34.netvisao.pt] has quit [Quit: Page closed]
21:43-!-Guest8149 is now known as Prof_Frink
21:43-!-Prof_Frink is now known as Guest8153
21:46-!-Gustavo6046_ [~Gustavo60@189.27.245.221.dynamic.adsl.gvt.net.br] has quit [Quit: yay]
22:44-!-Guest8153 is now known as Prof_Frink
22:44-!-Prof_Frink is now known as Guest8155
23:10-!-Cubey [~Coobies@pool-96-241-233-56.washdc.fios.verizon.net] has quit [Ping timeout: 480 seconds]
23:17-!-glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye]
23:45-!-Guest8155 is now known as Prof_Frink
23:45-!-Prof_Frink is now known as Guest8163
23:52-!-cHawk [chawk@67-60-238-210.cpe.cableone.net] has joined #openttd
23:52-!-cHawk is "realname" on #openttd #tor-project #tor
---Logclosed Fri Nov 03 00:00:07 2017