Back to Home / #openttd / 2019 / 01 / Prev Day | Next Day
#openttd IRC Logs for 2019-01-02

---Logopened Wed Jan 02 00:00:03 2019
00:06-!-Mahjong1 [~qq@2a00:23c5:6526:4400:e5a0:4992:d777:9192] has joined #openttd
00:06-!-Mahjong1 is "realname" on #openttd #ohnx
00:09-!-Mahjong [~qq@2a00:23c5:6526:4400:cd88:a3ff:f77f:988b] has quit [Ping timeout: 480 seconds]
00:26-!-nielsm [] has joined #openttd
00:26-!-nielsm is "Niels Martin Hansen" on #openttd
00:43-!-HerzogDeXtEr [] has joined #openttd
00:43-!-HerzogDeXtEr is "purple" on #openttd
00:58-!-APTX [~APTX@2001:470:24:137f:2ff:ffff:fe00:1] has quit [Remote host closed the connection]
01:02<DorpsGek_II>[OpenTTD/OpenTTD] Hezkore opened issue #7006: Hardware mouse cursor
01:46-!-nielsm [] has quit [Ping timeout: 480 seconds]
02:01-!-sla_ro|master [] has joined #openttd
02:01-!-sla_ro|master is "slamaster" on #sla #openttd
02:48-!-Wacko1976 [] has joined #openttd
02:48-!-Wacko1976 is "The Chat Cool People Use" on #openttd #/r/openttd
03:22-!-Wacko1976 [] has quit []
03:36-!-Mahjong [~qq@2a00:23c5:6526:4400:90ca:588b:881a:ba6b] has joined #openttd
03:36-!-Mahjong is "realname" on #openttd #ohnx
03:41-!-Mahjong1 [~qq@2a00:23c5:6526:4400:e5a0:4992:d777:9192] has quit [Ping timeout: 480 seconds]
04:16-!-lugo [] has joined #openttd
04:16-!-lugo is "..." on #debian #openttd
04:53-!-andythenorth [] has joined #openttd
04:53-!-andythenorth is "andythenorth" on #openttd
05:11<LordAro>didn't someone do some work regarding splitting cursor rendering out from the main loop? (re #7006)
05:11<LordAro>i don't think i'm making that up, but i can't find anything...
05:11-!-Progman [] has joined #openttd
05:11-!-Progman is "Peter Henschel" on #openttd
05:15<@planetmaker>not sure... I wonder how feasible that is... we want after all our own cursor sprites which are position dependent. But maybe that can be handled driver-side
05:15<andythenorth>we're not the only game with laggy custom cursor btw, at least on mac os
05:15<@planetmaker>I recall times back then [TM] where I had two cursors on my mac. And I desperately tried to fix that
05:16<andythenorth>I usually have both the openttd cursor and os cursor showing
05:18-!-Thedarkb1-T60 [] has joined #openttd
05:18-!-Thedarkb1-T60 is "realname" on #openttd #oolite
05:22*LordAro randomly finds
05:22<Eddi|zuHause>LordAro: i think that was peter1138
05:24<andythenorth>LordAro: interesting article :)
05:24<LordAro>it's actually really well written
05:24<andythenorth>be a good primer for the project
05:25<LordAro>wonder why they're not a contributor...
05:25<LordAro>they know more than most about the source code
05:25<andythenorth>"I ignore opportunistic messages including: monetization tips, startup ideas, job offers, consulting gigs, volunteer work, community participation, mentorship requests, interviews, speaking engagements, conference appearances, and permission to use/cite my work -- just take it"
05:25<andythenorth>"I'm deliberately difficult to contact."
05:27<andythenorth>repo is here
05:27<LordAro>pretty sure it's the old git mirror
05:27<andythenorth>wondering about contacting them via a PR :P
05:27<andythenorth>just to say 'nice project'
05:30<andythenorth>"Mail Car", "Express Car", "Parcels Car", or "Baggage Car"?
05:31<andythenorth>refits food, goods, diamonds etc
05:31<andythenorth>Road Hog equivalent is "Courier Truck" but eh :P
05:32<andythenorth>"Package Car"?
05:33<Eddi|zuHause>LordAro: might want to post that link to
05:33<Eddi|zuHause>i think it fits very well there
05:33<LordAro>you want me to actually *use* the forums?
05:34<Eddi|zuHause>sometimes it's good to push people out of their comfort zone :p
05:36*andythenorth sticks with "Mail Car" then
05:42<andythenorth>maybe I should an en-gb translation
05:46*andythenorth wonders how NML picks default lang
05:47<andythenorth>I want the default to be en-us
05:47<Eddi|zuHause>maybe it's a command line option?
05:48<andythenorth>eints would need to know too
05:48<andythenorth>probably TMWFTLB
05:49<Eddi|zuHause>eints might be the better place, have nml always process complete .lng files and have eints output duplicate lines
05:50-!-Thedarkb1-T60 [] has quit [Ping timeout: 480 seconds]
05:56<andythenorth>I should translate strings per roster :P
05:56<andythenorth>a caboose is still a caboose in en-gb
05:56<andythenorth>if the train is american
05:57<Eddi|zuHause>eints certainly won't know about that
05:57<LordAro>Eddi|zuHause: ah, looks like i was thinking of #6780
05:57<andythenorth>it's just multiple strings
05:57<andythenorth>again, probly TMWFTLB
06:00<DorpsGek_II>[OpenTTD/OpenTTD] LordAro commented on issue #7006: Hardware mouse cursor
06:09-!-Arveen2 [] has quit [Quit: I like trains]
06:28<Eddi|zuHause>"OverflowSafeInt - Over-engineered black magic" <-- haha :p
06:29*andythenorth should read more of that
06:46<@planetmaker>andythenorth, en_GB *is* the default. For US there is en_US in OpenTTD and NewGRFs
06:46<Eddi|zuHause>planetmaker: he wants to reverse that
06:46<andythenorth>the problem is that en-us should be default
06:46<andythenorth>but nvm
06:46<@planetmaker>the actual default for a *particular person* is given by the settings of your OS / user.
06:46<andythenorth>not in eints
06:46<@planetmaker>eh, sure?
06:47<@planetmaker>it should be
06:47<andythenorth>TL;DR I want to be able to control the US translation
06:47<@planetmaker>become a translator
06:47<andythenorth>currently that isn't achievable without manually checking and reverting eints
06:47<Eddi|zuHause>planetmaker: it's about programming. en-us should be the full translation, and en-gb only the lines that need to be different, drawing the rest from en-us
06:47<andythenorth>I can't find any eints docs that tell how to switch the lang, but I didn't look very far
06:47<andythenorth>I'm not sure it's a 'real' problem
06:48<@planetmaker>you cannot change the base lang
06:48<Eddi|zuHause>but it wouldn't be a "can't be done" problem, but a "nobody needed that yet" problem
06:48<@planetmaker>at least not for a single project in eints as we run it
06:49<andythenorth>imho, it's not a legitimate problem
07:04-!-Thedarkb1-T60 [] has joined #openttd
07:04-!-Thedarkb1-T60 is "realname" on #openttd #oolite
07:04<andythenorth>town cargos :P
07:04<andythenorth>need a purpose>?
07:05-!-sla_ro|master2 [] has joined #openttd
07:05-!-sla_ro|master2 is "slamaster" on #sla #openttd
07:05-!-sla_ro|master2 [] has quit [Read error: Connection reset by peer]
07:06<Eddi|zuHause>if you're writing an industry newgrf, setting a TownEffect should be the limit of your scope
07:06<Eddi|zuHause>if you're writing a game script, you can assign meaning to the TownEffect
07:06<Eddi|zuHause>if you're updating cargodist... well i don't think you are
07:06<andythenorth>I'm not
07:07<Eddi|zuHause>in all other cases, it's a don't-care
07:07<andythenorth>maybe I should write a GS :P
07:08<andythenorth>so town cargos should just grow city? o_O
07:08<andythenorth>problem is, the city grows
07:08<andythenorth>which takes up room I want for freight trains :P
07:09-!-sla_ro|master [] has quit [Ping timeout: 480 seconds]
07:13<@planetmaker>interesting URL find @ LordAro
07:19-!-gelignite [] has joined #openttd
07:19-!-gelignite is "gelignite" on #openttd
07:25-!-sla_ro|master [] has joined #openttd
07:25-!-sla_ro|master is "slamaster" on #sla #openttd
07:41<andythenorth>hmm, Horse supplies trains are a monoculture :P
07:41<andythenorth>all Mail Vans
07:41<andythenorth>bit boring
07:44<@planetmaker>What about a radically different concept (but then your set's description might need rework - or not):
07:44<@planetmaker>simply have the train look *whatever* (random or user choice). Nearly independent of cargo :P
07:44<@planetmaker>Just make the default cargos as like now
07:46<andythenorth>so random sprites?
07:47<Eddi|zuHause><andythenorth> hmm, Horse supplies trains are a monoculture :P <-- what happened to flatcars with tractors/machine parts?
07:48<andythenorth>they're slower
07:48<andythenorth>so they don't get used for supplies
07:48<andythenorth>the mail cars refit to mail, some town cargos, and supplies
07:49<andythenorth>the town cargos have a few other 'express' wagons
07:49<andythenorth>so there's variety
07:49-!-Thedarkb1-T60 [] has quit [Remote host closed the connection]
07:50-!-Thedarkb1-T60 [] has joined #openttd
07:50-!-Thedarkb1-T60 is "realname" on #openttd #oolite
07:50<andythenorth>I did add some alternative 'Express Cars'
07:51<andythenorth>but one form of logic says they're just spamming the buy menu
07:53-!-gelignite [] has quit [Quit: Good fight, good night!]
07:53<Eddi|zuHause>container cars?
07:53<Eddi|zuHause>with randomized colours?
07:53<andythenorth>plausibly yes
07:54<andythenorth>even back to 1920 or so
07:54<Eddi|zuHause>but you have to rely on the fact that some people will be roleplay-y enough to use the slower cars
07:54<andythenorth>I don't mind about other people :)
07:54<andythenorth>it's just bugging me in my current game
07:54<Eddi|zuHause>and the other people won't mind the monoculture
07:55<Eddi|zuHause>i would be more interested in all cargo trains having the same speed, than using the fastest wagon for a specific cargo
07:55<andythenorth>generally yes
07:55<andythenorth>the rationale for the town cargos is that I run them into pax stations
07:55<andythenorth>so they're not reducing line speed
07:56<Eddi|zuHause>i haven't played with gung ho firs, but in my last ancient firs game i just slapped a single supplies car on the regular freight train
07:56<andythenorth>that can work
07:56<andythenorth>but the chances of getting a source of supplies where you want to drop the freight....
07:56<andythenorth>are not high
07:57<Eddi|zuHause>depends on distribution network setup
07:57<Eddi|zuHause>(using cargodist)
07:57<Eddi|zuHause>(which may have its own problems)
07:58<andythenorth>supplies remain troubling :P
07:58<andythenorth>something about them is....wrong
07:58<andythenorth>but not wrong enough to delete
07:58<Eddi|zuHause>i think they're exactly the interesting kind of "wrong"
08:03<andythenorth>mail vans and express cars
08:03<andythenorth>I think the express car needs to lose the windows
08:03<andythenorth>supposed to be approximately this
08:06<Eddi|zuHause>i don't see the problem
08:08<andythenorth>that's useful
08:08<andythenorth>maybe I finish them and include
08:59-!-Samu [] has joined #openttd
08:59-!-Samu is "..." on #openttd
09:05-!-Thedarkb1-T60 [] has quit [Ping timeout: 480 seconds]
09:06<andythenorth>planetmaker: grass heli-stations too :)
09:06<andythenorth>good release
09:09<@planetmaker>thanks. And thank you for reminding me... after obviously kamnet failed to grab my attention and motivation before
09:09-!-Flygon [] has quit [Quit: A toaster's basically a soldering iron designed to toast bread]
09:13<Eddi|zuHause>oh, snow
09:22-!-chomwitt [] has joined #openttd
09:22-!-chomwitt is "chomwitt" on #oolite #openttd #qemu #debian #debian-games
09:29-!-Thedarkb1-T60 [] has joined #openttd
09:29-!-Thedarkb1-T60 is "realname" on #openttd #oolite
09:30-!-Borg [] has joined #openttd
09:30-!-Borg is "Unknown" on #openttd
09:30<Borg>toskete!!!! ;)
09:30<Borg>Action0,0A property 0A dont want to work
09:34<Borg>OpenTTD always complains it read past the sprite...
09:37<Borg>oh never mind :D it woked
09:48<Samu>Zuu, how do I summon you?
09:49<Samu>@seen Zuu
09:49<@DorpsGek>Samu: Zuu was last seen in #openttd 6 days, 13 hours, 38 minutes, and 47 seconds ago: <Zuu> So any data that is slow to determine for saving has to be pre-cached already before Save() is called. Load is easier, just save the data to this._save and handle it in Start() and you are good.
09:54-!-andythenorth is now known as Guest1580
09:54-!-andythenorth [] has joined #openttd
09:54-!-andythenorth is "andythenorth" on #openttd
09:55<Samu>i cannot build openttd on msvc 2017 again
09:55<Samu>seems that everytime you update something, i have to update platform thing
09:56<Samu>6>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution".
09:56<Samu>6>Done building project "openttd_vs141.vcxproj" -- FAILED.
09:57-!-Thedarkb1-T60 [] has quit [Ping timeout: 480 seconds]
09:58-!-Guest1580 [] has quit [Ping timeout: 480 seconds]
09:58<Samu>Retarget solution solves, but... temporarily, until the next upstream update
09:58<Samu>who's the visual studio expert?
10:06<@planetmaker>samu: the "vs141" seems to indicate it's rather another version? But I don't own any windows
10:08<Samu>when i retarget solution, the vcxproj files get this added:
10:09<Samu>next upstream update from openttd forces me to revert these changes
10:09<Samu>before updating
10:09<Samu>then i have to re-do
10:09-!-sla_ro|master [] has quit []
10:12-!-nielsm [] has joined #openttd
10:12-!-nielsm is "Niels Martin Hansen" on #openttd
10:20-!-andythenorth [] has quit [Ping timeout: 480 seconds]
10:21-!-andythenorth [] has joined #openttd
10:21-!-andythenorth is "andythenorth" on #openttd
10:37<DorpsGek_II>[OpenTTD/OpenTTD] Hezkore commented on issue #7006: Hardware mouse cursor
10:47-!-Gja [] has joined #openttd
10:47-!-Gja is "Martin" on #ceph #bcache #openttd
10:57<DorpsGek_II>[OpenTTD/OpenTTD] telk5093 updated pull request #6983: Feature: Town name filtering
10:58<DorpsGek_II>[OpenTTD/OpenTTD] telk5093 commented on pull request #6983: Feature: Town name filtering
11:13-!-Gabda [] has joined #openttd
11:13-!-Gabda is "realname" on #openttd
11:33-!-Gabda [] has quit [Quit: Leaving]
11:35<DorpsGek_II>[OpenTTD/OpenTTD] LordAro commented on pull request #6983: Feature: Town name filtering
11:35-!-sla_ro|master [] has joined #openttd
11:35-!-sla_ro|master is "slamaster" on #sla #openttd
11:37<DorpsGek_II>[OpenTTD/OpenTTD] telk5093 updated pull request #6983: Feature: Town name filtering
11:43<andythenorth>some of FIRS is quite flawed
11:44<Samu>are pools complicated?
11:45<Samu>was wondering if i could do something about keeping the vehicle id after autorenew/autoreplace
11:45<Samu>but it gets into memory territory, i dunno how to handle that
11:47-!-Wormnest [~Wormnest@] has joined #openttd
11:47-!-Wormnest is "Wormnest" on #openttd
11:48<Samu>hi wormnest, i created a library of some sorts
11:48<Samu>are you interested?
11:48-!-Oroburos [] has joined #openttd
11:48-!-Oroburos is "realname" on #biz #redditprivacy #openttd
11:50<Wormnest>Samu: Then you sould add it to bananas and post about it in the forums
11:50<Samu>it's posted
11:51<Samu>i just don't know how to explain to set it up
11:51<Samu>you import it to your ai and also need to import some other library
11:51<Samu>scplib or whatever
11:52-!-erratic [] has quit [Ping timeout: 480 seconds]
11:53<Samu>then use the api methods, functions public ones to interact with it?! yeah, something like this
11:54<Samu>thought it would be ideal for nonocab
11:55<Wormnest>I currently don´t have time for it sorry
11:55<Samu>oh t.t
11:56<Samu>i wanted to post my ai which supports it in version 8, but i'm having lots of trouble with autorenew atm
11:57<Samu>can't update to v8 yet:(
11:59-!-erratic [erratic@] has joined #openttd
11:59-!-erratic is "erratic" on #osm-ru #openttd #openjdk #debian-js #debian-devel-changes #debian-br #iovisor #fsci #freedombox #dfri_se #debian-ruby #msys2 #moocows #mm #lowRISC #linuxfs
12:04<DorpsGek_II>[OpenTTD/OpenTTD] telk5093 closed pull request #6983: Feature: Town name filtering
12:05<DorpsGek_II>[OpenTTD/OpenTTD] telk5093 reopened pull request #6983: Feature: Town name filtering
12:07-!-synchris [~synchris@] has joined #openttd
12:07-!-synchris is "Synesios Christou" on #openttd
12:16<Samu>just noticed aystar is terrible for finding a path of roads on diagonals
12:17<Samu>or im gonna have to increase turn costs considerably
12:20<Samu>nop, turn cost didn't solve it :(
12:26-!-sla_ro|master [] has quit []
12:28-!-sla_ro|master [] has joined #openttd
12:28-!-sla_ro|master is "slamaster" on #sla #openttd
12:31<@planetmaker>iirc it should be somewhat optimal
12:31<Samu>it was cost of no road
12:31<Samu>if i change it to 0, it suddenly becomes smart
12:36-!-frosch123 [] has joined #openttd
12:36-!-frosch123 is "frosch" on #openttd
12:36<Samu>but dirty, doesn't reuse existing roads :(
12:37<@planetmaker>hmpf... is github now rate-limiting me because I accidentially pulled all OpentTD pull requests?
12:38<@planetmaker>and thus denies me page loads? :|
12:38<LordAro>i think it's having issues
12:38<Eddi|zuHause>i'm sure it just has a personal grudge against you
12:42<frosch123>planetmaker: TrueBrain: <- if it is of any use. that script has been used (with minor adaptions) since 0.7?
12:42<frosch123>originaly written by rb
12:42<andythenorth>hey it's frosch123 :)
12:43<frosch123>the ice shell on the pond is gone :p
12:43<DorpsGek_II>[OpenTTD/OpenTTD] planetmaker commented on pull request #6983: Feature: Town name filtering
12:44<@planetmaker>happy new quak :)
12:46<frosch123>moo :)
12:49-!-erratic [erratic@] has quit []
12:56<Borg>okey.. fuck it :D add opcodes to my grfix.rb :)
12:56<Borg>it should make whole NFO much more readable
12:57<@planetmaker>why.... nfo? :P
12:59<Borg>dunno.. NML looked hard
13:02<TrueBrain>owh, no, the boss is back; HIDE!
13:02<Borg>planetmaker: NFO is not bad.. but if you make break from it... its hard to comeback..
13:06<@planetmaker>well, I tried both for years. It only was fun, when I forgot NFO :)
13:06<@planetmaker>so that I could focus on what to do. And not on what to write in which order
13:07-!-Oroburos [] has quit [Quit: Leaving]
13:08-!-Wolf01 [] has joined #openttd
13:08-!-Wolf01 is "Wolf01" on #openttd
13:11<@planetmaker>woooo-ooo :)
13:11<TrueBrain>are you trying to make the noise of a wolf, or what was that?
13:11<@planetmaker>got me :)
13:11-!-Progman [] has quit [Remote host closed the connection]
13:11<andythenorth>oh it's TrueBrain :)
13:12-!-Progman [] has joined #openttd
13:12-!-Progman is "Peter Henschel" on #openttd
13:13<Wolf01>So, I might want to spend 155€ of lego again...
13:13<TrueBrain>what is holding you back?
13:13<Wolf01>Need motors for the arm
13:14<Wolf01><TrueBrain> what is holding you back? <- lack of space
13:14<TrueBrain>1st world problem, I guess
13:14<@planetmaker>I decided the other day, that I'll borrow my SaturnV to the local observatory for this year ;)
13:15<Wolf01>Money aren't really a problem, I have plenty of them (lego is my only serious addiction), so I only spend on fuel to go to work
13:16<@planetmaker>hm, I don't get why the search of the townname list flickers but others don't...
13:16<Wolf01>But space... we need to invent one more dimension or a way to compress stuff to molecular level
13:19<TrueBrain>Wolf01: I do hope you spend it on food too
13:19<TrueBrain>sounds terrible otherwise :D
13:20<Wolf01>If we used the entire planet instead of just some parts of the surface, there would be enough space for... a lot. It's like on factorio, at start the distance between the coal patch and the water seem huge, 30 minutes after you'll run out of space and need to rebuild the entire factory because you can't let that new belt pass in the middle
13:20<Wolf01>Yes, but only when I'll go out to eat
13:22<frosch123>planetmaker: observatory or planetarium? are there any visitors at an observatory?
13:22<TrueBrain>we often have an open house on the observatory :)
13:22<TrueBrain>which is pretty cool .. as it is a shit-old telescope :D
13:23<andythenorth>so what's left to do?
13:23<andythenorth>for binaries and crap
13:24<frosch123>all eaten
13:24<Wolf01>I want cookies too :(
13:26-!-wodencafe [~cboyd@2605:6000:1517:462e:724d:7bff:fe63:71b6] has quit [Remote host closed the connection]
13:27<TrueBrain>hmmmmm .. aiohttp is trying an ipv6 connection .. while I dont have an IPv6 stack configured on this machine
13:30-!-wodencafe [~cboyd@2605:6000:1517:462e:724d:7bff:fe63:71b6] has joined #openttd
13:30-!-wodencafe is "Woden Cafe" on #432 #openttd #oftc #moocows
13:30<@planetmaker>frosch123, observatory. And yes, we have a monthly public evening
13:30<@planetmaker>in Wolfsburg there's also a planetarium with which we cooperate...but meh. just planetarium :)
13:31<TrueBrain>so boring :P
13:32<frosch123>do you submit PRs to them?
13:33<frosch123>telling the planetarium about new stars to update their stuff
13:33<@planetmaker>haha :)
13:33-!-Gja [] has quit []
13:35<@planetmaker>actually with the data for stellar positions which currently become available... they might want to update :P
13:36<@planetmaker>Last year data for... like 1 billion stars have been updates released
13:38<frosch123>1e9 or 1e12?
13:41<andythenorth>FIRS is weird
13:41*andythenorth concludes
13:41<TrueBrain>YOU ARE WEIRD
13:41<andythenorth>NO YOU
13:41<TrueBrain>yes :D Thank you :)
13:43-!-Gja [] has joined #openttd
13:43-!-Gja is "Martin" on #ceph #bcache #openttd
13:43<@planetmaker>there's "only" 1e11 approx. in the whole milkyway
13:44<frosch123>ok, so they do not need new hdd
13:45<@planetmaker>well... depends on what data they want :D
13:45<@planetmaker>The catalogue is... so big it's not available for download, but only for query
13:45<TrueBrain>hmmm ... andythenorth, I found a minor issue .. I estimate I need ~100k HTTP calls to build the downloads collection :D
13:46<@planetmaker>hm, actually it is. And smaller than I thought. 600G
13:48<frosch123>that will take a while for wolf to download
13:48<TrueBrain>@calc 600 * 1024 * 10 / 3600
13:48<@DorpsGek>TrueBrain: 1706.66666667
13:48-!-gelignite [] has joined #openttd
13:48-!-gelignite is "gelignite" on #openttd
13:49<TrueBrain>@calc 600 * 1024 / 10 / 3600
13:49<@DorpsGek>TrueBrain: 17.0666666667
13:49<TrueBrain>@calc 600 * 1024 / 50 / 3600
13:49<@DorpsGek>TrueBrain: 3.41333333333
13:49<TrueBrain>take me just 4 hours :P
13:49<TrueBrain>(math is hard, as it turns out)
13:49<frosch123>400 mbit connection?
13:50<TrueBrain>500, hence the 50
13:50<TrueBrain>(10 bits internet traffic gives you rougly 1 byte of data)
13:50<TrueBrain>(assuming Jumbo-frames are not supported :P)
13:51<TrueBrain>what were we smoking ...
13:52<@planetmaker>I suggest you have a look into your old cabinet you hide in your basement nowadays :P
13:52*andythenorth has lost the plot
13:52<@planetmaker>I'm sure it was good stuff :P
13:52<TrueBrain>how am I going to make this downloads collection ...
13:52<@planetmaker>for it were jolly good times ;)
13:53<andythenorth>what's wrong with 100k HTTP calls?
13:53<TrueBrain>every docker build?
13:53<TrueBrain>do I really have to explain this?
13:53<andythenorth>@calc 0.5 * 100000
13:53<@DorpsGek>andythenorth: 50000
13:53<andythenorth>that's less than 1000 minutes
13:53<TrueBrain>my latency is a bit better :P
13:54<andythenorth>I took an average from 2012
13:54<TrueBrain>@calc 100 * 1000 * 0.02 / 3600
13:54<@DorpsGek>TrueBrain: 0.555555555556
13:54<TrueBrain>still takes 30 minutes :P
13:54<andythenorth>but still, you can probably get it done under 16 hours
13:54<andythenorth>oh ok
13:54<andythenorth>30 mins
13:54<TrueBrain>every docker build
13:54<TrueBrain>so no :P
13:54<andythenorth>'probably fine'
13:54<TrueBrain>I need a better plan :D
13:54<andythenorth>step 1: stop doing the stupid way?
13:54<andythenorth>why is it done this way?
13:54<andythenorth>assume I know nothing :P
13:54<andythenorth>safe assumption
13:55<@planetmaker>andy-the-duck :)
13:55<TrueBrain>yeah ... bit the issue is, that for every download entry
13:55<TrueBrain>we need to fetch 3 checksum files per released binary
13:55<TrueBrain>as those checksums are on the download page :D
13:55<andythenorth>and we're rebuilding this from sources every time, no ability to cache anything?
13:56<andythenorth>no intermediate service that can just hold some json or something?
13:56<TrueBrain>not currently
13:56<andythenorth>ideally let's do it in a way that let's people MITM the checksums
13:56<TrueBrain>I wonder if we can generate a json file in each folder to have this information available
13:56<andythenorth>for more fun
13:56<TrueBrain>sort-of manifest, but yes
13:57<TrueBrain>possibly YAML is easier
13:57<TrueBrain>as I can bash that
13:57<andythenorth>btw, jekyll can ingest json directly somehow
13:57<andythenorth>if it's in the _data dir
13:57*andythenorth didn't try it
13:58<TrueBrain>yeah, but from _data it cannot generate a file, I noticed
13:58<TrueBrain>so it needs to be in a collection
13:58<TrueBrain>so something needs to process it I guess
13:58<andythenorth>makes sense
13:58<TrueBrain>it is a bit annoying
13:58<TrueBrain>but .. not the worst
13:58<andythenorth>not the worst
13:58<TrueBrain>I am only terrified of changing anything in the current binaries folder
13:58<andythenorth>the worst is clearly this FIRS game I'm playing
13:58<andythenorth>why do I do the things I do? :|
14:00<andythenorth>there is 'no point' delivering any cargos to town, because they can be delivered elsewhere to make supplies
14:00<andythenorth>but I already have more supplies than I need
14:00<andythenorth>and the supplies just create more cargos for which there is no point
14:00<andythenorth>except to make supplies
14:03<frosch123>sounds like YETI
14:05<andythenorth>it probably just needs a good GS with it :P
14:05<andythenorth>but eh
14:05<Wolf01>Sounds like dinner
14:14<andythenorth>supplies are the pinnacle cargo in too much of FIRS
14:14<andythenorth>it's a fail :|
14:17<nielsm>it's like a cookie clicker
14:17<nielsm>supplies clicker
14:23<andythenorth>FIRS Must Be Fixed :P
14:24<Samu>damn trash msvc 2017 hangs
14:25<Samu>i should have stayed with 2015
14:29<TrueBrain>okay ... it seems I can safely generate a manifest file next to the existing stuff .. that looks promising
14:29<TrueBrain>meaning it is only 4k HTTP requests :P
14:29<TrueBrain>but I can cut that down to like 100
14:41<TrueBrain>incredible how you learn to hack your way with bash over the years :P
14:42<Samu>what is this? says it can't find
14:42<Samu>i dont have an agent folder on my D
14:44<nielsm>location of the code on the machine used to build the program/library containing the crashing code
14:44<nielsm>(presumably crashing)
14:44-!-ToffeeYogurtPots [] has joined #openttd
14:44-!-ToffeeYogurtPots is "realname" on #oftc #privacytech #odamex #/r/openttd #openttd #privacybadger #https-everywhere #i2p #tor-project #debian-offtopic #debian
14:45-!-lugo [] has quit [Ping timeout: 480 seconds]
14:49<andythenorth>100 is probably fine?
14:49<Samu>it wasn't a crash, it was while debugging
14:49-!-Oroburos [] has joined #openttd
14:49-!-Oroburos is "realname" on #biz #redditprivacy #openttd
14:49<andythenorth>I have web pages that make 100 http requests :P
14:49<TrueBrain>100 is fine
14:50<Samu>i was clicking 'Step Into' and 'Next Statement'
14:50<Samu>following the code
14:50<TrueBrain>it just takes a long time to generate these files, as it needs to open 100k files :D
14:50<TrueBrain>for what system is this ... lol
14:52<TrueBrain>unspecified :D
14:52-!-Thedarkb1-T60 [] has joined #openttd
14:52-!-Thedarkb1-T60 is "realname" on #openttd #oolite
14:53<TrueBrain>we mis checksums of 2 0.2.1 binaries :D
14:53<TrueBrain>(feels like a random remark :P)
14:54<frosch123>you spelled 2021 so weird
14:54<TrueBrain>2 0.2.1
14:54<TrueBrain>okay, that took me a bit too long :P
14:55<frosch123>ah, two 0.2.1
14:55<frosch123>whenever something is weird, i suspect a software bug
14:56<frosch123>ah, .pkg is arch linux
14:56<frosch123>never encountered that
14:57<TrueBrain>well, I am not going to name that file if you dont mind :D
14:57<TrueBrain>it is too weird :P
14:57<TrueBrain>(we have this file that describes all extensions:
14:57<frosch123>i downloaded it
14:57<frosch123>the current website already says unknown file
14:57<TrueBrain>but I am extending that list as we speak
14:58<TrueBrain>too many entries missing, which annoys me :D
14:58<frosch123>it has bundled scenarios
14:59<TrueBrain>turns out that all ubuntu entries are wrong; funny
15:00<andythenorth>how do I newgrf towns?
15:00<TrueBrain>1) implement it
15:00<andythenorth>maybe I can't
15:00<TrueBrain>2) use it
15:00<TrueBrain>3) ???
15:00<TrueBrain>4) profit
15:01<TrueBrain>you are welcome sir!
15:01<andythenorth>I want to nerf towns with FIRS
15:01<andythenorth>someone will know how :P
15:03<andythenorth>seems newgrf can't
15:03<andythenorth>can I bundle a GS in the tar with FIRS? o_O
15:03<frosch123>no, but you can add a dependency
15:04<andythenorth>I want to modify town growth cargos
15:04<frosch123>people still need to figure out how to activate it though :p
15:05<frosch123>since when does town growth matter for firs?
15:05<andythenorth>well exactly
15:05<andythenorth>that is a problem :P
15:06<andythenorth>above a certain size, I want to towns to require building materials etc
15:06<andythenorth>for growth
15:06<frosch123>i am sure one of to 30 city gs will do that
15:07<andythenorth>yes but then I have to merge it with Busy Bee :D
15:07<andythenorth>first world problems
15:07<frosch123>make a gs patch pack
15:07<andythenorth>seriously considering it
15:08<frosch123>combine all into one, add a setting to enable/disable the parts
15:08<andythenorth>BB, SV, NCG, City Builder
15:08<andythenorth>just enable all at once
15:08<frosch123>defintely enable all 30 citiy builders at once
15:08<frosch123>how was the "i" delayed so much?
15:20<TrueBrain>okay, I have to run a script now, and I am terrified of doing that :D
15:20<TrueBrain>that script hasnt been run in months
15:20<TrueBrain>it should "work" :P
15:23-!-Thedarkb1-T60 [] has quit [Ping timeout: 480 seconds]
15:33<Borg>HOOOOI.. any NFO guruz around?
15:34<Borg>why I could do this when accessing industry related data:
15:34-!-glx [] has joined #openttd
15:34-!-mode/#openttd [+v glx] by ChanServ
15:34-!-glx is "Loïc GUILLOUX" on +#openttd
15:34-!-Gja [] has quit []
15:34<Borg>! *02 0A 13 rd ab1 20 FF FF FF FF 0E 1A 20 00 01 00 00 0F
15:34<Borg>why im writing 0xFFFFFFFF to temperary variable 0x100
15:35<Borg>I only found need such write for Industry variable 0x67 and 0x68 to select GRFid
15:35<frosch123>you should at least use escape sequences
15:35<frosch123>that adds at least some content
15:35<Borg>frosch123: yeah. Im fixing my GRF now.. using opcodes
15:35<Borg>thats how that lines looks like after fix:
15:35<Borg>! *02 0A 13 rd ab1 avs FF FF FF FF stt ab1 avs 00 01 00 00 clr
15:36<Borg>but.. still.. question apply.. maybe its artifact from old stuff I was doing.. and forgot to remove it..
15:36<frosch123>did you invent your own syntax?
15:36<Borg>yep :D
15:37<Borg>I remember I had some trouble reading some vars.. and that weird grfid select was needed.. but here.. I dont access anything.. why it is here... hmm
15:37<frosch123>anyway, register 0x100 is callback specific
15:37<frosch123>it has no general meaning
15:37<Borg>yep.. and I dont do callback here too.
15:38<Borg>okey, I will remove it.. and see if something explode
15:39<TrueBrain>okay .. script is validating all nightlies .... we have many :D
15:39<TrueBrain>4000 :D
15:39<frosch123>most are only source bundle?
15:40<TrueBrain>this script makes sure that after a file was changed in the folder, the folder gets the release-data again
15:40<TrueBrain>otherwise things start to show folders out-of-order
15:40<TrueBrain>which is hella-annoying
15:40<TrueBrain>but to do that correctly .. it has to touch EVERY FOLDER :P
15:40<TrueBrain>(and file)
15:43<Borg>wait!! it might not be artifact..
15:43<Borg>I start to get flashbacks
15:43<Borg>arent access to Persistent Storage if Industry.. isnt guarded by GRFid?
15:44-!-Oroburos [] has quit [Quit: Leaving]
15:44<Eddi|zuHause>can you please speak in whole sentences?
15:44<frosch123>no for industry storage, yes for town storage
15:44<Borg>shit I knew it was for something importand :D
15:45<frosch123>do you use town storage?
15:45<frosch123>i think you are the first one
15:45<Borg>my power stations use it..
15:46-!-wodencafe [~cboyd@2605:6000:1517:462e:724d:7bff:fe63:71b6] has quit [Quit: Konversation terminated!]
15:47-!-wodencafe [~cboyd@2605:6000:1517:462e:61e6:d73b:a61a:830d] has joined #openttd
15:47-!-wodencafe is "Woden Cafe" on #432 #openttd #oftc #moocows
15:47<TrueBrain>OpenTTD 0.1.1 was just 200 KiB :D
15:50<+glx>source only ?
15:50-!-sla_ro|master [] has quit []
15:51<TrueBrain>no, the windows binary
15:51<TrueBrain>okay .. manifest.yaml are being created .. this will take a while :D
15:51<+glx>windows and 200 KiB only ?
15:52<+glx>even a simple hello world is bigger now
15:52<TrueBrain>"improvements" :D
15:52<+glx>(a GUI one, not a console one)
15:53<andythenorth>for those who missed it...
15:53<andythenorth>LordAro found it this morning
15:54<TrueBrain>so decoding an open source game? :D
15:55<TrueBrain>`No cutting-edge C++ features (C++11 and later). Feels like a C codebase with extras`
15:55<TrueBrain>LOL :D
15:56<Borg>glx: bullshit!!!!
15:56<Borg>watch this and cry:
15:57<Borg>14848 Feb 4 2016 quickrun.exe*
15:57<Borg>its win32 GUI app.. Win32 API only
15:57<TrueBrain>andythenorth: nice, tnx
15:58<TrueBrain>someone had a nice xmas clearly :P
15:58<andythenorth>it's a really good primer for contributors imo
15:58<andythenorth>the dude is non-contactable, but is happy for stuff to be reused
15:59<TrueBrain>how do you know if you cant contact him? :P
15:59<TrueBrain>that sentence is a contradiction :P
16:00<andythenorth>because ;)
16:00<andythenorth>"permission to use/cite my work -- just take it"
16:01-!-cboyd_ [~cboyd@2605:6000:1517:462e:724d:7bff:fe63:71b6] has joined #openttd
16:01-!-cboyd_ is "Woden Cafe" on #432 #openttd #oftc #moocows
16:01-!-wodencafe [~cboyd@2605:6000:1517:462e:61e6:d73b:a61a:830d] has quit [Ping timeout: 480 seconds]
16:01<+glx>"Some concurrency: Understand mutex locks and critical sections" <-- we are very basic in this area :)
16:02<frosch123>"generic programming heavy" -- someone looked at yapf?
16:02<+glx>maybe the factories too
16:04<nielsm>he talks about a lot of the foundational stuff nobody touches much
16:05<nielsm>but not about the things that really matter to average constributors
16:05<nielsm>like the command structure
16:06<nielsm>I tried placing some pixels:
16:07<nielsm>and I think I made it half scale because brainfart :P
16:07<TrueBrain>you missed one
16:07<nielsm>so rather, missed 75% of them :D
16:08-!-lugo [] has joined #openttd
16:08-!-lugo is "..." on #debian #openttd
16:08<TrueBrain>so we have nightly release r20906
16:08<TrueBrain>it is empty
16:08<TrueBrain>that is not a release!
16:09<Xaroth>maybe it's hiding?
16:09<TrueBrain>go back playing Rimworld
16:09<Xaroth>Nah, different game time
16:10<TrueBrain>guess I can remove that release from the record ...
16:13-!-cboyd_ [~cboyd@2605:6000:1517:462e:724d:7bff:fe63:71b6] has quit [Quit: Konversation terminated!]
16:14<TrueBrain>andythenorth: something for you:
16:14<andythenorth>vg TrueBrain
16:16<TrueBrain>planetmaker: another one for your list (next to Steam, Epic, ..)
16:16-!-wodencafe [~cboyd@2605:6000:1517:462e:724d:7bff:fe63:71b6] has joined #openttd
16:16-!-wodencafe is "Woden Cafe" on #432 #openttd #oftc #moocows
16:16<andythenorth>isn't that what happened to node or something ^
16:16<TrueBrain>flatpack is also one :P
16:16<andythenorth>'he emailed me asking to take over the package'
16:16<andythenorth>and now you lose all your bitcoin
16:17<TrueBrain>yup :P
16:18<TrueBrain>I always like when people call me paranoid about stuff like: not publishing "official" windows binaries some random person on the internet build on the frontpage etc :P
16:18<TrueBrain>as that NEVER goes wrong :D
16:21<TrueBrain>ugh, generating these files is SO SLOW
16:26-!-Tirili [] has joined #openttd
16:26-!-Tirili is "realname" on #openttd #holarse-gaming
16:27<TrueBrain>right, generation done .. now fixing timestamps .......
16:29<+glx>"Why are two separate structs defined for related map data?" <-- hehe nice question, his guess is quite correct
16:29<TrueBrain>in many things he is pretty spot-on :D
16:29<+glx>yeah looks like an experimented dev
16:29<nielsm>so, publish snaps of openttd?
16:30<TrueBrain>dont tempt me :D
16:30<TrueBrain>for the next dev-meeting? :P
16:30<+glx>but IIRC the main reason for the added struct is the savegames
16:31<+glx>beside optimisations
16:31<+glx>and memory alignment
16:32<TrueBrain>oops, I think I just made the balancer panic :D
16:32<TrueBrain>all mirrors went into 'issue' state :D
16:33<+glx>oh no you broke it ;)
16:33<TrueBrain>it should self-recover :)
16:36<TrueBrain>Mirrors online: 7
16:36<TrueBrain>Rsync capable mirrors: 7
16:36<TrueBrain>Next rsync in: 123 second(s)
16:40<TrueBrain>okay, it really crashed :D Too many new files :D
16:40<TrueBrain>Online since: 2017-02-16 21:21:54
16:40<TrueBrain>Current time: 2019-01-02 21:38:48
16:41<TrueBrain>there goes the uptime .. so close to 2 years :(
16:42<TrueBrain>okay, mirrors are rebuilding :) Lalalalaaa, nothing happened :D
16:49-!-gelignite [] has quit [Quit: Good fight, good night!]
16:49<nielsm>hall of mirrors
16:55<frosch123>haha, he mentions entry points for win, unix and osx, but then accidentially copied the prototype for os2 :p
16:56<TrueBrain>andythenorth: all downloads look good. The only thing I need to fix is that it builds in a Dockerfile (easy), and add OS detection (is now done server-side)
16:56<andythenorth>then we win?
16:56<TrueBrain>it takes 8 seconds to generate the pages now in Jekyll :D
16:57<andythenorth>bit slow
16:57<TrueBrain>only ~400 downloadpages :P
16:57<andythenorth>can we afford it?
16:57<TrueBrain>it is a one-time fee
16:57<TrueBrain>we can afford ANY value tbfh :P
16:57<andythenorth>so glad we used Jekyll
16:57<TrueBrain>just for developing it might be better to empty _downloads :D
16:57<andythenorth>instead of my static site generator :P
16:57<TrueBrain>so far I am very happy with it :)
16:58<TrueBrain>owh, and I need to add nginx redirect rules
16:58<TrueBrain>so old URLs are pointing to the right places still :D
16:59<TrueBrain>2 MiB of downloads collection :D
17:00<Borg>n00000w.. this shit is readable:
17:00<Borg>! *02 0A 28 gw 40 avs FF FF udiv aim \w250 add aim \w1 ucmp
17:00<Borg> ldp 00 vs FF 00 02
17:01<Borg>okey.. enough for today.. 31% of file converted
17:01<Borg>but it will be worth...
17:03<Samu>can i trust unitnumber?
17:04<Samu>UnitID unitnumber; ///< unit number, for display purposes only
17:04<Samu>not very reassuring :(
17:05<Samu>when a vehicle is autorenewed/autoreplaced, this is one of the properties that is copied over from the old to the new
17:05<Samu>if my list consist of vehicle unit numbers, would that mean autorenew would not screw me over?
17:07<Samu>wondering if the API has access to this unitnumber
17:07*andythenorth acts as though compile times don't even matter :(
17:08<Samu>static int32
17:08<Samu>GetUnitNumber (VehicleID vehicle_id)
17:08<Samu>Get the unitnumber of a vehicle.
17:08<andythenorth>and adds EVEN MORE switches
17:08-!-sla_ro|master [] has joined #openttd
17:08-!-sla_ro|master is "slamaster" on #sla #openttd
17:08<TrueBrain>okay, Docker builds and runs as expected
17:08<TrueBrain>the image is a bit bigger now :D
17:08<TrueBrain>but I still really like this solution
17:08<TrueBrain>a pre-compiled cache :D
17:08-!-Borg [] has quit [Quit: nite]
17:09<andythenorth>winner winner
17:09<andythenorth>chicken dinner
17:10<Samu>create a list of unit numbers hmm
17:10<Samu>must try
17:10<Samu>oh gosh, my code is a mess already
17:11-!-nielsm [] has quit [Ping timeout: 480 seconds]
17:11<DorpsGek_II>[OpenTTD/website] TrueBrain opened pull request #7: Add: downloads pages, and links from header/index to them
17:11<TrueBrain>andythenorth: there we go :D
17:12<TrueBrain>owh, I do have to fix some meta files, I see
17:12<DorpsGek_II>[OpenTTD/website] TrueBrain commented on pull request #7: Add: downloads pages, and links from header/index to them
17:12<TrueBrain>LordAro: if you have some spare time, I can use a review on (single file)
17:13<TrueBrain>andythenorth: if you have some time, I can use a review on the rest :D
17:13<TrueBrain>but no rush
17:13<TrueBrain>off to bed now anyway; just happy I managed to make the PR today :D
17:13<andythenorth>same :)
17:13-!-andythenorth [] has left #openttd []
17:24<Samu> I have a bad feeling about this
17:27<Samu>in the end, i still need to access the vehicle id
17:27<Samu>don't think this would help
17:27<Samu>feels the same as with groups
17:29<Samu>vehicle_id's should have been unit_number from the beginning
17:30<Samu>not the other way around, hmm i don't think this would help
17:30<Samu>API needs a rework?
17:36<Samu>can't think properly, help!
17:38<Samu>the API needs a GetVehicleID function
17:43<Samu>maybe a IsValidUnitNumber too
17:44<Samu>I feel alone on this
17:54-!-synchris [~synchris@] has quit [Quit: yeeha!]
17:55-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
17:59-!-Tirili [] has quit [Ping timeout: 480 seconds]
18:34-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
18:48-!-Wormnest [~Wormnest@] has quit [Quit: Leaving]
19:06<lugo>"Allow up to two rail types per tile." i can't believe my eyes
19:12-!-Flygon [] has joined #openttd
19:12-!-Flygon is "Flygon" on #openttd
19:40-!-sla_ro|master [] has quit []
19:48<Samu>i wonder if i can trust the unitnumber
19:48<Samu>there's autoreplace going on
19:49<Samu>unit number is the v->unitnumber of a vehicle
19:49<Samu>vehicle_id is v->index
19:50<DorpsGek_II>[OpenTTD/OpenTTD] Hezkore opened issue #7007: Joining server via shortcut causes freeze
19:50<Samu>the first vehicle_id is the vehicle index that belongs to the vehicle with v->unitnumber
19:50<Samu>the second vehicle_id is the vehicle index that was stored previously in a list
19:51<Samu>can we trust the unitnumber?
19:51<Samu>is it more reliable with autorenew+autoreplace?
19:52<Samu>oh, and the code
19:53-!-lugo [] has quit [Ping timeout: 480 seconds]
19:54<Samu>code for script_vehicle.cpp
19:54<Samu>and the other code, in ai side is...
19:58<Samu>Does anyone understand what I'm trying to do? :|
20:02<Samu>Instead of working with vehicle_id on lists, I'd rework the API to create lists based on unitnumber (providing my theory is correct, that we can trust the unitnumber belonging to the save vehicle before and after autorenew)
20:03<Samu>same* vehicle
20:04<Samu>the basis of a vehicle would become v->unitnumber instead of v->index
20:04<Samu>this is only for scripts, of course
20:05<Samu>oh well cyas goodnight, guess everyone's asleep
20:05-!-Samu [] has quit []
20:17-!-chomwitt [] has quit [Ping timeout: 480 seconds]
20:41-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
20:52-!-Wyndbain [] has joined #openttd
20:52-!-Wyndbain is "OFTC WebIRC Client" on #openttd
20:53-!-Wyndbain [] has quit [Remote host closed the connection]
21:30-!-HerzogDeXtEr [] has joined #openttd
21:30-!-HerzogDeXtEr is "purple" on #openttd
21:50-!-Progman [] has quit [Remote host closed the connection]
22:58-!-glx [] has quit []
---Logclosed Thu Jan 03 00:00:04 2019