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

---Logopened Fri Oct 06 00:00:27 2017
01:33-!-Cubey [] has quit [Ping timeout: 480 seconds]
02:18-!-andythenorth [] has joined #openttd
02:18-!-andythenorth is "andythenorth" on #openttd
02:23-!-sim-al2 [] has quit [Ping timeout: 480 seconds]
02:33-!-andythenorth [] has quit [Quit: andythenorth]
02:55-!-andythenorth [] has joined #openttd
02:55-!-andythenorth is "andythenorth" on #openttd
03:01-!-andythenorth [] has quit [Quit: andythenorth]
03:11-!-andythenorth [] has joined #openttd
03:11-!-andythenorth is "andythenorth" on #openttd
03:20-!-andythenorth [] has quit [Quit: andythenorth]
03:22-!-andythenorth [] has joined #openttd
03:22-!-andythenorth is "andythenorth" on #openttd
03:27-!-andythenorth [] has quit []
03:45-!-ToffeeYogurtPots [] has quit [Ping timeout: 480 seconds]
03:59-!-andythenorth [] has joined #openttd
03:59-!-andythenorth is "andythenorth" on #openttd
04:16-!-ToffeeYogurtPots [] has joined #openttd
04:16-!-ToffeeYogurtPots is "realname" on #apparmor #tor-onions #tor-offtopic #i2p #tor #tor-project #https-everywhere #privacybadger #openttd #privacytech #redditprivacy #oftc
04:17-!-andythenorth [] has quit [Quit: andythenorth]
04:18-!-ToffeeYogurtPots [] has quit [Remote host closed the connection]
04:24-!-andythenorth [] has joined #openttd
04:24-!-andythenorth is "andythenorth" on #openttd
04:24-!-andythenorth [] has left #openttd []
04:25-!-ToffeeYogurtPots [~ToffeeYog@] has joined #openttd
04:25-!-ToffeeYogurtPots is "realname" on #apparmor #tor-onions #tor-offtopic #i2p #tor #tor-project #https-everywhere #privacybadger #openttd #privacytech #redditprivacy #oftc
04:27-!-Lightning [~oftc-webi@] has joined #openttd
04:27-!-Lightning is "OFTC WebIRC Client" on #openttd
04:27-!-Lightning [~oftc-webi@] has quit []
05:30-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 180 seconds.]
05:31-!-Montana [] has quit [Quit: ChatZilla 0.9.93 [Firefox 56.0/20170926190823]]
05:34-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
05:34-!-debdog is "Wowbagger" on #openttd
05:45-!-Biolunar [] has joined #openttd
05:45-!-Biolunar is "Biolunar" on #openttd #suckless
05:57-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 210 seconds.]
06:03-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
06:03-!-debdog is "Wowbagger" on #openttd
06:23-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 180 seconds.]
06:29-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
06:29-!-debdog is "Wowbagger" on #openttd
07:10-!-Gja [] has joined #openttd
07:10-!-Gja is "Martin" on #bcache #openttd
07:10-!-Gja [] has quit []
07:18-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 180 seconds.]
07:23-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
07:23-!-debdog is "Wowbagger" on #openttd
07:44-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 180 seconds.]
07:50-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
07:50-!-debdog is "Wowbagger" on #openttd
08:45-!-sim-al2 [] has joined #openttd
08:45-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
08:50-!-roidal [] has joined #openttd
08:50-!-roidal is "roland" on #openttd
09:22-!-orudge` [] has quit [Read error: Connection reset by peer]
09:22-!-orudge` [] has joined #openttd
09:22-!-orudge` is "orudge" on #thesinner #openttdcoop.devzone #bukkit #jontylog #tycoonexiles #z.aud #locomotion #transportempire #openttdcoop #openttd #tycoon
09:22-!-mode/#openttd [+o orudge`] by ChanServ
09:52-!-sim-al2 [] has quit [Ping timeout: 480 seconds]
10:20-!-Flygon [] has quit [Read error: Connection reset by peer]
10:24<@peter1138>Never seen that link before!
10:24<crem1>Will be in early access for two years?... Huh, I'd hope it won't be the same story as with prison architect.
10:34<crem1>Hopefully it will only get better like factorio.
10:58-!-sla_ro|master [] has joined #openttd
10:58-!-sla_ro|master is "slamaster" on @#sla #openttd #love
11:01-!-Wolf01 [] has joined #openttd
11:01-!-Wolf01 is "Wolf01" on #openttd
11:13<supermop>hi Wolf01
11:16<Wolf01>Mmmh, I need to reverse the logic of my app
11:17-!-Alberth [] has joined #openttd
11:17-!-mode/#openttd [+o Alberth] by ChanServ
11:17-!-Alberth is "purple" on @#openttd
11:18<Wolf01>I wanted to show in the home the N most recent feeds for each site, where N is a value the user can chose, but to do so I need to load every subscription, order by date, take N
11:19<@Alberth>likely, or you keep track of the last N entries
11:19<Wolf01>I have the cache to load the same stuff from file, but not the new stuff :P
11:19<@Alberth>but you don't need to load the file anyway to display the newest?
11:19<Wolf01>And that means the kickstart of the app is really slow
11:20-!-Wormnest [] has joined #openttd
11:20-!-Wormnest is "Wormnest" on #openttd
11:20<@Alberth>not really 'kick' :p
11:21<@Alberth>some form of incremental loading/display might be useful?
11:21<Wolf01>After it loads from the web the new stuff then it's really fast, because now there is the cache, and it updates every 30 minutes (I need to make it a setting)
11:23<Wolf01>Yes, I was thinking to not focus on strict order by date, since it loads the feeds for every subscription as a task, I can append the items while it loads, too bad I can't start directly with the cache because I don't know how many feeds I might get
11:23-!-tokai|noir [] has joined #openttd
11:23-!-tokai|noir is "Christian Rosentreter" on #openttd
11:23-!-mode/#openttd [+v tokai|noir] by ChanServ
11:24<@Alberth>could work, as long as you keep the displayed items ordered on date, I think
11:25-!-Maraxus [] has joined #openttd
11:25-!-Maraxus is "Maraxus" on #openttd #factoriocoop @#openttdcoop.stable @#openttdcoop
11:28<Wolf01>Yes, but only for each subscription, or I'll need to reorder the same collection at every addition, and it's not a simple collection.orderby() thing because it returns a copy of the collection, I could try with insertat(), but it might be a computational waste, since I will need to find the exact point (binary tree?)
11:30-!-tokai [] has quit [Ping timeout: 480 seconds]
11:33<@Alberth>bisection method,
11:33<Wolf01>Yes that
11:33<@Alberth>searching is as fast as binary tree
11:34<@Alberth>slightly faster if you count cpu cache locality (if that applies in your case)
11:37<@Alberth>heap is perhaps better as it is quite good at insertion
11:40-!-Progman [] has joined #openttd
11:40-!-Progman is "Peter Henschel" on #openttdcoop #openttd
11:44<@Alberth>hmm, no in-order traversal for free
11:46<@Alberth>perhaps the relation was the other way around, ie a sorted array is a heap, but not every heap is a sorted array
11:48<Wolf01>I use this one, because of the UI:
11:50<@Alberth>ha, I can read some class and function names, and that's it :)
11:50<@Alberth>but yeah, seems like the right solution
11:50<@Alberth>not like you have a zillion entries anyway
11:51-!-roidal_ [] has joined #openttd
11:51-!-roidal_ is "roland" on #openttd
11:51<@Alberth>so anything will basically work :)
11:51<Wolf01>No, maybe 20-30, so I don't think it blocks the execution for too much
11:52<Wolf01>And if I do it async it doesn't even block it
11:54<Wolf01>Now I have one of the most common problems of the developers: think about the right name of the variables and what to write on the label text...
11:55<@Alberth>would be really nice if I has that sort of problems as the most difficult ones :)
11:56<@Alberth>or even common ones :)
11:56<Wolf01>I have to make the control group for the timer value... "Set the auto refresh of feeds delay to"/n [combobox] "minutes" could be easy to understand?
11:57<Wolf01>Or minutes into the combobox item, it seem microsoft does this
11:57<@Alberth>s/delay// ?
11:58<@Alberth>minutes already implies waiting :)
11:58-!-roidal [] has quit [Ping timeout: 480 seconds]
11:58<@Alberth>s/auto// ?
11:58<@Alberth>Update feeds every XX minutes
12:02<Wolf01>Meh, I have to make the combobox a Frankenstein's monster to allow to translate the " minutes" string for items
12:11-!-HerzogDeXtEr [] has joined #openttd
12:11-!-HerzogDeXtEr is "purple" on #openttd
12:12<Wolf01>(I don't know why he uses TextBlock instead of ComboBoxItem)
12:13-!-Maraxus [] has quit [Quit: ChatZilla 0.9.93 [Firefox 56.0/20170926190823]]
12:15<@Alberth>it was simpler?
12:15<@Alberth>examples are hardly ever complete
12:16<@Alberth>reference manuals are more appropriate for that kind of questions
12:16<Wolf01>Nah, you can fit even checkboxes in comboboxes
12:16<@Alberth>combo checking :)
12:16<Wolf01>Usually people do a lot of strange things because want to add icons and stuff
12:19<@Alberth>yeah, although it doesn't sound like a good idea, imho
12:20<@Alberth>but many people are scared shit of plain text
12:21-!-Arveen2 [] has joined #openttd
12:21-!-Arveen2 is "realname" on #openttdcoop #openttd
12:22-!-frosch123 [] has joined #openttd
12:22-!-frosch123 is "frosch" on #openttdcoop.devzone #openttd
12:26<frosch123>looks like V has no issues with earbuds
12:26<@Alberth> wide enough for a double track over the water, right :)
12:27-!-Arveen [] has quit [Ping timeout: 480 seconds]
12:28<Wolf01> <- look at the part with "custom content"
12:31<@Alberth>that example makes sense
12:32<supermop>frosch123: ha
12:32<@Alberth>hmm, somewhat lacking money
12:33<Wolf01>Building foundations on water is expensive
12:40<@Alberth>and they built the power plant in the middle of farm fields as well
12:43<Eddi|zuHause>Alberth: maybe it was the place with the fewest NIMBYs
12:45-!-Cubey [] has joined #openttd
12:45-!-Cubey is "Jaybar" on #openttd
12:46<Wolf01>I tried 3 times to create an array of integers to pass as a function argument and all 3 times gave error... it was right the first time... :|
12:49<@Alberth>fold a class around it?
12:49<Wolf01>Just new int[] { 1, 2, ...}
12:50<Wolf01>But it was underlined in red, maybe I'm too fast for the intellisense
12:50<@Alberth>type slower :p
12:50<@Alberth>Eddi: it was narrow enough for that :)
12:52<@Alberth>Oh right, java-ish
12:53-!-glx [] has joined #openttd
12:53-!-mode/#openttd [+v glx] by ChanServ
12:53-!-glx is "Loïc GUILLOUX" on +#openttd
12:53<@Alberth>can you have unreachable code in C# ?
12:53<Wolf01>Yes just put something after a return
12:55<@Alberth>nice, it's a fatal error in Java
12:55<frosch123>does it have "goto"?
12:55<@Alberth>which is just plain stupid
12:55<Wolf01>I need a way to sync the resources between languages without the translator tool (which now requires a free azure services subscriptions, which requires a credit card) :(
12:56<@Alberth>hmm, max speed of coal train 47km/h :p
12:56<Eddi|zuHause>Alberth: so if i add a return for debugging purposes, i have to comment out all the code?
12:56<@Alberth>nah, "if (true) return;" works
12:56<@Alberth>ie "if" is an exception
12:57<Wolf01>In java yes, here the intellisense just tells you are stupid
12:57<@Alberth>reasoning is that you may have debug code if (DEBUG) { ... }
12:57<@Alberth>with DEBUG defined at the top of the file
12:58<@Alberth>so in all, it's a silly useless attempt to control program code
12:58<Wolf01>With the constant it just greyes out the part of the code which won't be executed
12:58<+glx>it's stupid to have unreachable code, but it's more stupid to consider it a fatal error
12:59<Eddi|zuHause>warning is a sane level
12:59<+glx>a warning or a notice during the compilation is enough yes
13:00<@Alberth>it gives an extra challenge if you generate Java code :p
13:01<@Alberth>so indeed, I generate "if (true) return" statements, and "while(...) { if (false) break; ... }"
13:01<Eddi|zuHause>Alberth: but the solution there is the same as above debug thing
13:01<@Alberth>it is
13:01<@Alberth>modulo the 64K limit crap
13:02<Eddi|zuHause>what 64k limit?
13:02<@Alberth>everything 64K limits
13:02<@Alberth>64K byte code in a method
13:02<@Alberth>64K methods
13:02<+glx>JVM limitation I guess
13:02<Eddi|zuHause>what happened to 32bit?
13:02<@Alberth>invented in the 90s and still applied
13:03<Eddi|zuHause>the time when .com files were max 64k
13:03<@Alberth>compiler isn't even smart enough to handle it
13:04<@Alberth>probably they are afraid some system from the 90s is still running java
13:04<frosch123>haha, if you didn't mention code generation earlier, i would have wondered how you got to those limits :)
13:05<Eddi|zuHause>... until some dos versions where even wasn't actually a .com file anymore, but an .exe file which just was renamed .com
13:05<@Alberth>sure manual code is quite alright, even unreachable code never happens there, other than by accident
13:05<@Alberth>but it's clearly designed for that one usecase
13:05<Eddi|zuHause>frosch123: like that one nml or grfcodec bug at 64k sprites that i found?
13:05<+glx>JVM runs on a lot of silly systems
13:06<@Alberth>I have no problem with that, but my code isn't intended for such systems, as it doesn't have the processing power anyway
13:07<Eddi|zuHause>glx: quite worrying if you think about how many java programs your average car runs nowadays...
13:08<+glx>and IoT things
13:09<Wolf01>I would be more worried to have a PHP powered car
13:13<+glx>now you have to plug the car to enable the AUX port on the radio
13:13<+glx>that's crazy
13:16<Wolf01>Pizza time
13:16-!-Gja [] has joined #openttd
13:16-!-Gja is "Martin" on #bcache #openttd
13:17-!-andythenorth [] has joined #openttd
13:17-!-andythenorth is "andythenorth" on #openttd
13:34<V453000>iz huminz, iz friday
13:34<V453000>iz photoshop, iz solution
13:44-!-ToBeFree [] has joined #openttd
13:44-!-ToBeFree is "ToBeFree" on #openttd @#freiwuppertal #https-everywhere #oolite-dev #oolite-ger #oolite #tor #linux
13:55-!-gelignite [] has joined #openttd
13:55-!-gelignite is "gelignite" on #openttd #openttdcoop.devzone
14:04-!-Biolunar [] has quit [Ping timeout: 480 seconds]
14:05<andythenorth>iz friday
14:05-!-andythenorth [] has quit [Quit: andythenorth]
14:07-!-Defaultti [] has joined #openttd
14:07-!-Defaultti is "Defaultti" on #vserver #tor #powerdns #pentadactyl #openttd #love #gcc #debian
14:53-!-Alberth [] has left #openttd []
15:01-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 240 seconds.]
15:06-!-Arveen [] has joined #openttd
15:06-!-Arveen is "realname" on #openttdcoop #openttd
15:06-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
15:06-!-debdog is "Wowbagger" on #openttd
15:11-!-Arveen2 [] has quit [Ping timeout: 480 seconds]
15:11-!-loeky [] has joined #openttd
15:11-!-loeky is "realname" on #openttd
15:12<loeky>(-: thanks but needed openttdcoop
15:13<Wolf01>Mmmh, andythenothere... :(
15:14<V453000>:D :D gray landscape makes ISR stations basically invisible
15:14<V453000>it's almost exactly the same
15:15<V453000>"it's a feature"
15:15<V453000>too much work to change
15:16<Wolf01>I've got a bonus fidget spinner from samsung today, because I attended at an explanation of the new galaxy note 8 features
15:19<Wolf01>I was like "what this thing could be? It's heavy, a samsung magnet?"... opened the box: fidget spinner
15:19-!-andythenorth [] has joined #openttd
15:19-!-andythenorth is "andythenorth" on #openttd
15:20<Wolf01>Figured out what to do with the intermodal containers?
15:20<andythenorth>legacy from Squid is that intermodal is express-only
15:20<andythenorth>like mail cars
15:22<Wolf01>Change squid too?
15:24<andythenorth>squid is dead anyway
15:24<andythenorth>and Hog doesn’t have intermodal yet
15:24<andythenorth>good time to reset
15:24<andythenorth>Wolf01: these what you saw?
15:25<Wolf01>Nope, they were 3 hoppers in the same flat wagon
15:26-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 180 seconds.]
15:27<Wolf01> more like this
15:27<Wolf01>But they were open on top
15:29<andythenorth>containers for all things
15:30<V453000>iz cheat
15:30<Wolf01>Yes, something like a short version of the rocktainer
15:31<andythenorth>V453000: is NUTS 2 surely :P
15:31<andythenorth>all realism, all the time
15:31<Wolf01>Or the woodtainer, I don't really remember if they had slanted edges
15:33<andythenorth>so all cargos?
15:33<andythenorth>all except bulk?
15:34-!-debdog [] has joined #openttd
15:34-!-debdog is "Wowbagger" on #openttd
15:37<Wolf01>In shipping, break bulk cargo or general cargo are goods that must be loaded individually, and not in intermodal containers nor in bulk as with oil or grain. <- I think it speaks for itself
15:43<Wolf01>For example you could keep steel and log wagons, but introduce also intermodal ones for steel products, and sawdust for logs (still listed as logs if you don't have a second product from the sawmill), just to make some variation on trains
15:46<V453000>andythenorth: how do I open a photo on a macbook and be able to use some kind of arrows for next/previous?
15:46<V453000>it keeps opening it in some previewer and it seems to be just that one
15:46<V453000>or iz some application which works easy and with this?
15:47<andythenorth>is all shit
15:47<andythenorth>try hitting space
15:47<andythenorth>in Finder
15:47<andythenorth>gets you Quick Look, which would be awesome, but is always wrong size
15:53-!-debdog [] has quit [Quit: No Ping reply in 180 seconds.]
15:53-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
15:53-!-debdog is "Wowbagger" on #openttd
15:53-!-sla_ro|master [] has quit []
15:54-!-ToBeFree [] has quit [Quit: Connection closed for inactivity]
15:56<loeky>it was apple cake
15:57<V453000>andythenorth: space seems to do the job
15:57<loeky>oops wrong chat )-:
15:57-!-loeky [] has left #openttd [Leaving]
16:05<andythenorth>what about refrigerated containers? :P
16:06<Wolf01>And a container for containers?
16:07<frosch123>you should have fish livestock containers
16:07<frosch123>possibly with glass walls
16:07<andythenorth>containers could be a whole grf :P
16:07<frosch123>hmm, i wonder whether i ever transported fish with nuts
16:13-!-andythenorth [] has quit [Quit: andythenorth]
16:16-!-roidal_ [] has quit [Quit: WeeChat 1.9]
16:22-!-sim-al2 [] has joined #openttd
16:22-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
16:29<supermop>industry: container terminal
16:29<supermop>cargo+empty container = full container
16:51<Wolf01>Make a grf for containers and call it Docker
16:52<Wolf01>So we can say we support Docker in OTTD running in a Docker container
16:55-!-dpdp [] has joined #openttd
16:55-!-dpdp is "..." on #openttd
17:12-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
17:32-!-Progman [] has quit [Remote host closed the connection]
17:39-!-gelignite [] has quit [Quit: I have always found that mercy bears richer fruits than strict justice.]
17:56<supermop>beer time
17:56-!-supermop [] has quit [Remote host closed the connection]
18:09-!-dpdp [] has quit [Read error: Connection reset by peer]
18:22-!-Wormnest [] has quit [Quit: Leaving]
18:44-!-Gja [] has quit [Quit: Going offline, see ya! (]
19:01-!-HerzogDeXtEr [] has quit [Read error: Connection reset by peer]
19:10-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
19:15-!-ToffeeYogurtPots [] has quit [Remote host closed the connection]
19:15-!-ToffeeYogurtPots [~ToffeeYog@] has joined #openttd
19:15-!-ToffeeYogurtPots is "realname" on #apparmor #tor-onions #tor-offtopic #i2p #tor #tor-project #https-everywhere #privacybadger #openttd #privacytech #redditprivacy #oftc
20:12-!-Biolunar [] has joined #openttd
20:12-!-Biolunar is "Biolunar" on #openttd #suckless
20:36-!-Flygon [] has joined #openttd
20:36-!-Flygon is "Flygon" on #openttd
21:14-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 180 seconds.]
21:23-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
21:23-!-debdog is "Wowbagger" on #openttd
21:39-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has quit [Quit: No Ping reply in 180 seconds.]
21:45-!-debdog [~debdog@2a02:8070:4182:a200:7a24:afff:fe8a:d04d] has joined #openttd
21:45-!-debdog is "Wowbagger" on #openttd
21:58-!-glx [] has quit [Quit: Bye]
22:12-!-Biolunar_ [] has joined #openttd
22:12-!-Biolunar_ is "Biolunar" on #openttd #suckless
22:19-!-Biolunar [] has quit [Ping timeout: 480 seconds]
22:49-!-ToBeFree [] has joined #openttd
22:49-!-ToBeFree is "ToBeFree" on #openttd @#freiwuppertal #https-everywhere #oolite-dev #oolite-ger #oolite #tor #linux
---Logclosed Sat Oct 07 00:00:28 2017