IRC logs for #openttd on OFTC at 2013-11-14
            
00:00:03 *** Stimrol has joined #openttd
00:07:07 *** frosch123 has quit IRC
00:10:30 *** Supercheese_ has joined #openttd
00:14:24 *** Supercheese has quit IRC
00:16:02 *** titanen has quit IRC
00:19:25 <Eddi|zuHause> hm, i got a dependency problem...
00:20:45 *** yorick has quit IRC
00:21:10 <krinn> with drugs, cig, coffee...or code?
00:22:17 <Eddi|zuHause> those are addiction problems :p
00:22:42 <Eddi|zuHause> (but the words are ambiguous in german)
00:22:47 <krinn> shit, also use in french as addiction
00:23:45 <krinn> for us addiciton is more something you like to do, while depencency is next step where you don't have the choice anymore
00:23:50 <Eddi|zuHause> i know the solution, but need an elegant way to write it out
00:25:02 <Eddi|zuHause> i've never heard "dependency" used in this context in english
00:26:07 <krinn> http://en.wikipedia.org/wiki/Dependence_(behavioral_medicine) looks it might be use
00:27:44 <krinn> but i'm more than unsure :)
00:28:02 <krinn> but in frenglish it's legit
00:29:22 <Eddi|zuHause> i hope that's nothing like denglisch :)
00:29:41 <krinn> it's worst are best frenglish speakers are cows
00:29:56 <krinn> as best... "are best" :D
00:36:33 *** KritiK has quit IRC
00:38:31 *** LordAro has quit IRC
00:44:17 *** roboboy has joined #openttd
00:47:23 <Eddi|zuHause> looks like it's working now
00:48:08 <krinn> looks like == ~ well, may work or not
00:49:04 <Eddi|zuHause> well the jenkins console output seems to crash occasionally
00:57:17 <Eddi|zuHause> 00:43:36 ERROR: Workspace reports paths.default as ssh://hg@hg.openttdcoop.org/cets
00:57:19 <Eddi|zuHause> 00:43:36 which looks different than ssh://hg@hg.openttdcoop.org/$JOB_NAME
00:57:20 <Eddi|zuHause> 00:43:36 so falling back to fresh clone rather than incremental update
00:57:26 <Eddi|zuHause> planetmaker: this doesn't look right
01:01:52 <krinn> night
01:13:51 *** Haube has quit IRC
01:17:40 *** Haube has joined #openttd
01:38:42 *** Supercheese_ has quit IRC
01:39:00 *** Supercheese has joined #openttd
01:40:47 *** wakou2 has quit IRC
02:01:02 *** HerzogDeXtEr1 has quit IRC
02:05:45 *** valhallasw has joined #openttd
02:16:57 *** alluke has quit IRC
02:20:20 *** Stimrol has quit IRC
02:30:58 *** ST2 has joined #openttd
02:30:58 *** xT2 has quit IRC
02:33:00 *** Japa has joined #openttd
03:05:03 *** Haube has quit IRC
03:09:24 *** glx has quit IRC
03:16:03 *** Pereba has quit IRC
03:25:08 *** George has quit IRC
03:30:45 *** Japa has quit IRC
05:32:37 *** JGR_ has joined #openttd
05:34:39 *** JGR has quit IRC
05:56:01 *** Eddi|zuHause has quit IRC
05:56:17 *** Eddi|zuHause has joined #openttd
06:56:56 *** TomyLobo has joined #openttd
07:01:45 *** adf88 has joined #openttd
07:06:42 *** George has joined #openttd
07:08:08 *** Pecio has joined #openttd
07:09:12 *** Midnightmyth has joined #openttd
07:14:38 *** Jomann has joined #openttd
07:21:46 *** abchirk_ has quit IRC
07:29:00 *** TomyLobo has quit IRC
07:29:02 *** wakou2 has joined #openttd
07:30:28 *** adf88 has quit IRC
07:34:28 *** Midnightmyth has quit IRC
07:58:57 *** Japa has joined #openttd
08:07:38 <planetmaker> moin
08:07:46 <planetmaker> Eddi|zuHause, it doesn't look right. But it is right :-)
08:32:12 <__ln__> http://www.thelocal.es/20131112/spains-solar-police-to-kick-in-your-door
08:41:30 *** valhallasw has quit IRC
08:50:32 *** Xaroth|Work has quit IRC
08:51:46 *** Xaroth|Work has joined #openttd
08:53:56 *** Xaroth|Work has joined #openttd
08:55:07 *** Xaroth|Work has joined #openttd
08:55:24 <Xaroth|Work> silly irssi :|
09:09:23 *** valhallasw has joined #openttd
09:09:43 *** Xaroth|Work has quit IRC
09:10:14 *** Xaroth|Work has joined #openttd
09:13:28 *** Xaroth|Work has quit IRC
09:14:10 *** Xaroth|Work has joined #openttd
09:16:40 *** Japa has quit IRC
09:20:32 *** titanen has joined #openttd
09:30:27 <Rubidium> Xaroth|Work: sounds more like something silly you did to it
09:36:19 *** tokai|noir has joined #openttd
09:36:19 *** ChanServ sets mode: +v tokai|noir
09:40:16 *** tokai|mdlx has quit IRC
09:54:28 <Xaroth|Work> Rubidium: irssi and putty refuse to work properly together
09:57:10 *** valhallasw has quit IRC
09:57:30 <Rubidium> Xaroth|Work: then why does it work for me?
09:58:26 <Xaroth|Work> Rubidium: it did work, yesterday, before I reinstalled both putty and updated my debian box (including irssi)
10:09:10 *** adf88 has joined #openttd
10:47:06 <Taede> nothing wrong with putty and irssi for me
10:47:44 <Taede> so what irssi version were you using before and after?
10:49:25 *** Elukka has joined #openttd
10:53:08 <Xaroth|Work> no clue, i hadn't updated that box in.. 2 years?
10:53:40 <Xaroth|Work> but I think it's partially due to putty, if not mainly
10:53:50 <Xaroth|Work> downgraded to the older version, and it looks a lot better now
10:54:02 <Taede> it is just looks?
10:54:02 <Xaroth|Work> bar some character issues, probably charset mismatch
10:54:12 <Xaroth|Work> certain colours just didn't show
10:54:21 <Taede> i got that when i saved a session after adding private key to it
10:54:21 <Xaroth|Work> they were in the buffer though, as I could copy/paste
10:54:25 <Taede> so i wouldnt have to login
10:54:25 <TinoDidriksen> How ancient a version of PuTTY were you using?
10:54:43 <Xaroth|Work> TinoDidriksen: I was using the latest version earlier
10:54:57 <Xaroth|Work> now i rolled back one version and it's mostly fnie.
10:55:11 <Xaroth|Work> one more attempt to fix this
10:55:12 *** Xaroth|Work has quit IRC
10:56:43 *** Xaroth|Work has joined #openttd
10:56:51 <Xaroth|Work> ooh, that looks better
11:05:37 *** montalvo has joined #openttd
11:16:21 *** robotboy has joined #openttd
11:23:06 *** roboboy has quit IRC
11:42:20 *** yorick has joined #openttd
11:58:26 *** HerzogDeXtEr has joined #openttd
12:04:26 *** Devroush has joined #openttd
12:32:06 *** Supercheese has quit IRC
12:32:32 *** frosch123 has joined #openttd
12:32:35 *** Supercheese has joined #openttd
12:52:37 *** retro|cz has joined #openttd
12:57:34 *** TheMask96 has quit IRC
13:01:46 *** TheMask96 has joined #openttd
13:08:53 *** adf88 has quit IRC
13:11:20 *** adf88 has joined #openttd
13:21:51 *** perk111 has joined #openttd
13:28:01 *** perk11 has quit IRC
13:36:00 *** retro|cz has quit IRC
13:45:13 *** Pecio has left #openttd
14:04:24 *** robotboy has quit IRC
14:21:02 <Bloody_Mikey> can you block players joins as named players
14:23:14 <Eddi|zuHause> some servers run a script that kicks "player"s or moves them to spectator
14:23:21 <planetmaker> ^
14:23:56 <planetmaker> the admin script sees the player name and moves or kicks him/her
14:29:35 <Belugas> HELLO
14:30:00 <Belugas> mmh... sorry for yelling, coffee is strong today
14:30:30 * Taede poors Belugas some decaf
14:32:05 <peter1138> Are you crazy?
14:32:32 <planetmaker> hi Belugas
14:32:36 <planetmaker> that's rude, Taede ;-)
14:33:12 * planetmaker remembers a certain guy sleeping on the balcony despite all the people around ;-)
14:37:33 *** sla_ro|master has joined #openttd
14:44:15 *** Elukka has quit IRC
14:52:15 *** retro|cz has joined #openttd
14:53:53 *** perk111 has quit IRC
14:56:23 <MNIM> Taede: if you want to live - never, EVER pour decaf unless it is specifically asked for, written in threefold.
14:56:55 <Belugas> DECAF???? YURK!!!
14:57:21 <Belugas> I'd rather yell than even consider taking that ... stuff...
14:58:01 <Belugas> yeah, planetmaker, i do too remember the blinding light of a flash used as a wake up call too !
14:58:31 <MNIM> Belugas: as long as it ain't a flash/bang/
14:59:28 <Belugas> if memory is correct, it was a canon 430ex :)
15:08:02 <Eddi|zuHause> the bang came later that night :p
15:16:38 <MNIM> http://www.thegloss.com/wp-content/uploads/2012/12/George-Takei-oh-my.jpg
15:17:15 <Eddi|zuHause> not that kind of bang :p
15:18:06 <MNIM> ah. in that case!
15:18:11 <MNIM> defend yourself!
15:18:12 <MNIM> http://24.media.tumblr.com/tumblr_m9tse3GRZ71qd6v0do1_500.gif
15:19:03 <MNIM> (funny thing - I actually watched that episode yesterday)
15:19:40 <Eddi|zuHause> i don't think i watched more than like 5 of these episodes ever...
15:19:44 *** adf88 has quit IRC
15:21:04 <planetmaker> hehe, your memory serves you well, Belugas :)
15:22:50 <MNIM> Eddi|zuHause: well, neither have I so far
15:22:57 <MNIM> it's episode 4 or 5 XD
15:25:32 *** LordAro has joined #openttd
15:32:08 *** MINM has joined #openttd
15:32:36 *** retro|cz has quit IRC
15:33:44 *** TomyLobo has joined #openttd
15:37:04 *** MNIM has quit IRC
16:03:05 *** brambles has quit IRC
16:05:34 *** brambles has joined #openttd
16:07:58 <krinn> aaah it's good to be back home!
16:24:25 *** Alice3 has joined #openttd
16:29:46 *** Haube has joined #openttd
16:35:26 *** TheMask96 has quit IRC
16:42:12 *** TheMask96 has joined #openttd
16:51:50 *** perk11 has joined #openttd
17:07:04 *** zydeco has joined #openttd
17:07:12 <zydeco> greetings, comrades
17:17:10 <zydeco> I found (and fixed) this bug in GS: http://bugs.openttd.org/task/5801
17:23:56 <frosch123> thanks :)
17:25:27 *** Progman has joined #openttd
17:28:01 *** Midnightmyth has joined #openttd
17:33:45 *** Alberth has joined #openttd
17:33:45 *** ChanServ sets mode: +o Alberth
17:40:59 *** adf88 has joined #openttd
17:43:05 *** Pensacola has joined #openttd
17:43:57 <planetmaker> hey zydeco , regarding http://bugs.openttd.org/task/5741 - how is that supposed to work?
17:44:10 <Alberth> hi hi
17:44:23 <planetmaker> hallo Alberth :-)
17:44:26 <zydeco> it loads the file in openttd when you doubleclick it with finder
17:44:42 <zydeco> and allows registering the files so finder knows they're owned by openttd
17:45:11 <planetmaker> obviously just compiling openttd doesn't do the trick. pulling openttd.app from into Applications the dmg didn't do the trick neither for me.
17:45:21 <planetmaker> so I must miss some step
17:45:34 <zydeco> it doesn't?
17:45:42 <zydeco> with the plist patch too?
17:45:54 <planetmaker> not for me on 10.6. It keeps pointlessly open sav files with a text editor ;-)
17:46:05 <Alberth> :)
17:46:22 <zydeco> and if you right click and "open with", does it show openttd there?
17:46:27 <Alberth> start hex edit mode, and edit away :)
17:46:36 <planetmaker> well, sure I tested with your patch. Without I didn't exepct openttd to open when I double click sav files. No, that's not shown either in the 'open with' list
17:46:59 <planetmaker> grayed-out as one of the not suitable apps, but meh :-)
17:47:09 <zydeco> weird, I thought that plist thing would work in 10.6 too
17:47:19 <zydeco> and I don't have VMs with old versions here to try
17:47:59 <planetmaker> Alberth, yeah... maybe with uncompressed saves. But I'm so bad at manually unzipping files ;-)
17:48:25 <Alberth> it's a challenge! :p
17:49:00 <zydeco> and it may be lzma
17:49:04 <planetmaker> I actually expected it to work, zydeco. That's why I wonder whether I miss some obvious step
17:49:10 <planetmaker> it will be lzma, yes
17:50:51 *** oskari89 has joined #openttd
17:51:04 *** adf88 has quit IRC
17:52:55 <zydeco> you may have to open the app once for it to register
17:53:19 <zydeco> but I'll see if I can test it in 10.4
17:53:42 <zydeco> I have an old powermac under my desk
17:56:08 <planetmaker> ok :-)
17:56:22 <planetmaker> anyway, have a good evening all :-)
18:04:37 <DorpsGek> Commit by frosch :: r25995 trunk/src/script/api/script_town.cpp (2013-11-14 18:04:31 UTC)
18:04:38 <DorpsGek> -Fix (r25785) [FS#5801]: [NoGo] GS failed to rename towns. (Zydeco)
18:05:57 *** Pensacola has quit IRC
18:13:31 <Eddi|zuHause> cPickle.UnpicklingError: A load persistent id instruction was encountered, but no persistent_load function was specified.
18:13:36 <Eddi|zuHause> uhm what?
18:14:00 <Eddi|zuHause> oh, wrong file
18:14:17 <Alberth> yuck, pickle :(
18:15:53 <Eddi|zuHause> Alberth: was the easiest method i coulf find to store a dict
18:16:11 <Alberth> json?
18:16:50 <Eddi|zuHause> Alberth: didn't want to bother learning that
18:17:00 <Alberth> k
18:17:19 <Eddi|zuHause> Alberth: pickling is like 3 lines of code
18:17:36 <Alberth> json is too, afaik
18:18:02 <Alberth> althuogh I rarely have the need to store arbitrary internal data
18:18:06 <Eddi|zuHause> whatever, it works
18:18:38 <Eddi|zuHause> it's to separate generating the pixa templates from processing the actual image files
18:18:50 <Alberth> just be aware that it's unsafe and non-portable (even across different Python versions)
18:18:59 <Eddi|zuHause> so i prepare my sequences, pickle them, and then unpickle them later
18:19:39 <Eddi|zuHause> portability shouldn't be needed in this case
18:44:59 *** zydeco has quit IRC
18:45:23 <DorpsGek> Commit by translators :: r25996 /trunk/src/lang (norwegian_bokmal.txt romanian.txt) (2013-11-14 18:45:15 UTC)
18:45:24 <DorpsGek> -Update from WebTranslator v3.0:
18:45:25 <DorpsGek> norwegian_bokmal - 3 changes by Trond
18:45:26 <DorpsGek> romanian - 86 changes by tonny
18:52:42 *** Midnightmyth has quit IRC
18:56:40 *** zydeco has joined #openttd
18:56:50 <zydeco> d'oh
18:57:04 <zydeco> squirrel's string.tointeger() errors if it can't convert the string, what do?
18:57:40 <LordAro> try/catch?
18:57:41 <Eddi|zuHause> do error handling?
18:59:27 <zydeco> it still breaks the script if I put it in a try/catch
19:02:12 <LordAro> something's broken then
19:07:30 <Alberth> check the string beforehand?
19:08:10 <zydeco> yes, I'll have to do that
19:16:14 *** adf88 has joined #openttd
19:17:11 *** montalvo has quit IRC
19:18:31 <Eddi|zuHause> make sure you catch the right kind of exception :p
19:20:47 *** zydeco_ has joined #openttd
19:20:58 <zydeco_> oops
19:23:09 <Eddi|zuHause> that was the wrong kind of exception :p
19:23:30 <zydeco_> lol
19:23:49 *** zydeco is now known as Guest5623
19:23:49 *** zydeco_ is now known as zydeco
19:24:15 *** Guest5623 has quit IRC
19:28:48 *** George has quit IRC
19:31:16 <DorpsGek> Commit by rubidium :: r25997 trunk/src/network/network.cpp (2013-11-14 19:31:10 UTC)
19:31:17 <DorpsGek> -Codechange: make it slightly more clear what ports are coming from where in the debug output when listening
19:31:50 <Eddi|zuHause> that makes absolutely no sense
19:32:35 <LordAro> makes sense to me
19:35:34 <zydeco> it seems sq_seterrorhandler handles all errors, not just the ones that aren't catched
19:35:39 <Rubidium> Eddi|zuHause: http://paste.openttdcoop.org/show/2800/ <- I reckon you would know the order of ports by heart, right?
19:36:55 <LordAro> zydeco: sounds like a bug to me
19:38:39 <Eddi|zuHause> Rubidium: i mean: the commit message doesn't make any sense (if you don't already know what the commit does)
19:38:40 *** zydeco has quit IRC
19:39:35 *** Wolf01 has joined #openttd
19:39:46 *** George has joined #openttd
19:40:09 <Wolf01> hello o/
19:40:51 *** zydeco has joined #openttd
19:40:54 <zydeco> this connection of mine is really bad
19:42:28 <zydeco> but this fixes it: http://paste.openttdcoop.org/show/2801/
19:42:35 *** DDR has joined #openttd
19:42:45 *** DDR has joined #openttd
19:42:59 <zydeco> it want call openttd's error handler if the exception is handled in the script
19:43:02 <zydeco> won't*
19:43:07 <LordAro> planetmaker, frosch123, Rubidium: ^ ?
19:43:43 *** KritiK has joined #openttd
19:45:43 *** andythenorth has joined #openttd
19:46:24 <andythenorth> o/
19:46:29 <Alberth> hi hi
19:49:38 <zydeco> see http://www.squirrel-lang.org/doc/squirrel2.html#sq_notifyallexceptions too
19:49:42 *** valhallasw has joined #openttd
19:49:57 <andythenorth> why don't we have fog?
19:49:58 <andythenorth> http://www.railpictures.net/viewphoto.php?id=458556&nseq=4
19:50:11 * andythenorth is actually 30% serious
19:51:24 <zydeco> hmm 30%
19:51:48 <NGC3982> I want fog
19:53:16 *** glx has joined #openttd
19:53:16 *** ChanServ sets mode: +v glx
19:53:32 <DDR> andythenorth: I want fog now too. :<
19:53:46 <andythenorth> meanwhile, has anyone ever suggested voxels for the game? :D
19:54:13 <glx> I remember it has been suggested
19:54:36 *** Pereba has joined #openttd
19:54:49 <Rubidium> can't you make vauxhauls with a NewGRF?
19:54:49 <DDR> I tried my hand at that already, actually. Didn't work out so hot, really. http://ddr0.github.io/images/gallery/cube%20trains.jpeg
19:54:58 <DDR> Hah
19:55:30 <DDR> (I'd like to try it again with a mandelbulb as the seed terrain, sometime. :P )
19:56:37 <frosch123> andythenorth: someone wanted to model using cubicles
19:57:50 <andythenorth> there is a cute ipad game with voxels
19:58:01 <andythenorth> so that's good enough reason to reengineer *everything* right/
19:58:02 <andythenorth> ?
19:58:47 <Rubidium> zydeco: so all exceptions have always been fatal in the past?
19:59:34 <DDR> Uh, more like an excuse to make a sequel, at this point.
19:59:41 <zydeco> it would appear so, but I just tried it today
20:00:46 <Rubidium> in the regression test throwing something doesn't kill the whole script
20:01:20 <Rubidium> if I put it in a try/catch, it continues after showing the stack trace, with the rest of the code
20:02:08 <zydeco> hmm
20:04:24 <Eddi|zuHause> <andythenorth> meanwhile, has anyone ever suggested voxels for the game? :D <- no, only cubicles
20:04:32 <zydeco> oh right, it doesn't crash
20:04:46 <frosch123> Eddi|zuHause: too late :p
20:04:50 <zydeco> I was just confused by seeing the error in the command line
20:05:31 <zydeco> but should it really show the stack trace if the exception is being handled by the script?
20:06:18 <frosch123> exceptions are still exceptions
20:06:38 <Eddi|zuHause> "fog of war": the game places your HQ randomly at start, you have a visual range of 3, and you can only build within the visual range. visual range can only be extended by vehicles.
20:06:38 <frosch123> they are not supposed to occur normally, so they are still interesting for development
20:07:03 <frosch123> or does it popup the ai debug window in game?
20:07:12 <zydeco> no, it doesn't pop up
20:07:22 <zydeco> but it shows the stack trace in it
20:07:23 <frosch123> so, only developers will see it
20:08:16 <Eddi|zuHause> frosch123: but what if the exceptions just clutter the view and prevent me from seeing what i want to see?
20:08:25 <LordAro> frosch123: that's what you think - iirc choochoo uses them all over the place
20:08:38 <LordAro> imo, not-fatal exceptions shouldn't be shown in the command line
20:08:51 <LordAro> (which they are, last time i looked)
20:08:56 <frosch123> well, try to make it a checkbox in the ai debug window then :p
20:09:02 <LordAro> D:
20:09:03 <Eddi|zuHause> as a developer, i'm not particularly interested in exceptions that are properly handled
20:09:07 <frosch123> "halt on exception" or so
20:09:35 <Eddi|zuHause> or if i am, i put debug output in the exception handler
20:09:55 <frosch123> that's too late
20:10:06 <frosch123> then you only see that an exception occured
20:10:07 <frosch123> not where
20:10:10 <zydeco> an option for "show all exceptions"
20:10:36 <Eddi|zuHause> i don't know squirrel, but in python you can get the trace from the exception object
20:11:17 <frosch123> i don't know squirrel either
20:11:21 <frosch123> ask zuu :)
20:11:29 <zydeco> I think squirrel exceptions are just any value
20:12:08 <zydeco> so probably not
20:13:55 *** adf89 has joined #openttd
20:15:19 *** adf88 has quit IRC
20:32:19 *** Elukka has joined #openttd
20:33:48 <andythenorth> voxels tend to be pretty
20:35:15 <andythenorth> http://hexahedra.blogspot.co.uk/2010_12_01_archive.html
20:35:19 <Eddi|zuHause> voxels are useless unless you want a 3D freely zoomable environment
20:35:49 <andythenorth> I didn't say they were useful
20:36:07 <andythenorth> but they seem to go hand in hand with a nice aesthetic
20:36:25 <andythenorth> polygons don't
20:36:50 <Eddi|zuHause> we have pixels. way better
20:37:23 * andythenorth considers a voxel based editor which rasterises to pixels :P
20:37:51 <Eddi|zuHause> cubicle constructor!!
20:37:55 <andythenorth> he :D
20:38:41 <zydeco> regarding http://bugs.openttd.org/task/5795, I think the logic behind that is wrong
20:39:11 *** Zuu has joined #openttd
20:39:31 <zydeco> it checks if (!EditBoxInGlobalFocus() || (!IsInsideMM(pressed_key, 'A', 'Z' + 1) && !IsInsideMM(pressed_key, '0', '9' + 1)))
20:39:38 <andythenorth> oh
20:39:45 <andythenorth> that's why I see that bug sometimes :o
20:39:53 <andythenorth> I thought I was just being an idiot with the chat
20:40:40 <zydeco> I think it should be if (!EditBoxInGlobalFocus() || IsInsideMM(pressed_key, WKC_F1, WKC_F12+1))
20:40:47 <zydeco> and include other keys that don't produce input
20:41:37 <Zuu> Do we have any interactive console commands? Eg. a command that prompts for input?
20:41:41 <zydeco> or if (!EditBoxInGlobalFocus() || (!IsInsideMM(pressed_key | ~(WKC_SHIFT | WKC_ALT), 'A', 'Z' + 1) && !IsInsideMM(pressed_key | ~(WKC_SHIFT | WKC_ALT), '0', '9' + 1)))
20:41:50 <Eddi|zuHause> zydeco: but why would 'T' not be in that range?
20:42:16 <zydeco> because it's t | WKC_SHIFT
20:42:23 *** DanMacK has joined #openttd
20:42:36 <DanMacK> Hey all
20:42:53 <Alberth> Zuu: you'd give it as a parameter to the command, I think
20:42:59 <Eddi|zuHause> silly stuff
20:43:39 <Rubidium> Zuu: nope
20:45:16 <Supercheese> Hmm, is it possible to have different loading and unloading sprites?
20:45:23 <Supercheese> I do not immediately see any support for that
20:45:29 <DanMacK> how so?
20:45:47 <Supercheese> well, spritegroup specifies only loading, not unloading
20:45:59 <Eddi|zuHause> Supercheese: not directly, by my search 10 minutes ago. but it could be implemented
20:46:25 <Supercheese> I also don't see any variables that could be queried to switch spritegroups adequately
20:46:35 <Eddi|zuHause> Supercheese: that "loading" means "waiting in a station either loading or unloading"
20:46:39 <Supercheese> percent loading alone is insufficient to determine loading or unloading
20:46:45 <Supercheese> Eddi|zuHause: yeah, that's what I gathered
20:47:00 <Eddi|zuHause> Supercheese: VF_CARGO_UNLOADING
20:47:17 <Zuu> Alberth: yep although it would be interesting for a text based list of banans content to allow selecting what content to download by giving its number rather than its full uniqueid.
20:47:32 <Eddi|zuHause> so you need to make a newgrf variable that exposes this vehicle flag
20:47:57 <Supercheese> indeed
20:47:58 <frosch123> Zuu: loading savegames works like hat
20:48:07 <frosch123> "ls" gives you a numbered list
20:48:19 <frosch123> and you can load with name or index
20:48:38 <Alberth> hopefully the name is never a number :p
20:48:52 <zydeco> oh I meant & ~ instead of | ~
20:48:56 <Rubidium> Zuu: what do you mean by number? The database's unique ID?
20:48:56 <Zuu> What if the file system change after a ls?
20:49:18 <frosch123> no idea, maybe it fails :p
20:49:35 <frosch123> maybe ottd reads the dir only once, and stores it
20:49:42 <Zuu> Zuu: I mean by giving each listed content a number in a bananas "ls" command and then allow you to give those numbers to a bananas apt-get command.
20:49:43 <Eddi|zuHause> i don't think the openttd commands are guarded for such concurrency
20:50:21 <frosch123> anyway, we need the get content for savegame command :p
20:50:38 <Rubidium> Zuu: bananas ls ~= content state. content select works with the numbers before the content in the list
20:51:00 <Alberth> just implement "download missing content" ?
20:51:01 <Rubidium> (those are not line numbers, but database unique IDs)
20:51:15 <frosch123> Alberth: yes, but as console command
20:51:29 <Zuu> Alberth: How does "download missing content" fix the problem of install "random GS" on my nightly server including all dependencies?
20:51:33 <frosch123> and also in a way, so it works for servers (i.e. before loading the game itself)
20:52:11 <Alberth> Zuu: probably not, but perhaps you want to express in the GS what you need?
20:52:50 <Alberth> manually figuring it out seems a bit meh
20:53:09 <frosch123> does the console "content select" command not select dependencies?
20:53:43 <Zuu> hmm, actually the 'content' command seems to do more than I was aware of.
20:56:06 <Zuu> hmm, we actually got "content select all" to select all content?
20:56:24 <frosch123> psst :p
20:57:31 <Zuu> The only thing I miss really is "content state | grep NoCarGoal" to not have to scroll through the whole list to find a specific content that I know the name of.
20:58:39 <Eddi|zuHause> "content find <name>"?
20:58:52 <Zuu> yeah something like that
20:59:16 <Zuu> A simple %<name>% lookup would do
20:59:37 <frosch123> we have a StringFilter class
20:59:46 <frosch123> you could feed name, tags and description to it
21:00:03 <frosch123> to allow searching in any of those
21:00:28 <frosch123> but, ok, for console you likely only want the name
21:04:47 <Eddi|zuHause> i see no reason to not search tags as well.
21:05:30 <frosch123> well, i would expect it to only seach stuff which is displayed in the console list
21:05:33 <frosch123> else it is confusing
21:06:30 <Eddi|zuHause> but it might be equally confusing that the same search on client and server gives different results
21:07:17 <Zuu> Should there be a separate 'find' command, possible a bit more discoverable, or just an optional filter parameter to the 'state' command?
21:07:24 <zydeco> can I start a gamescript on a server that's already running?
21:08:37 <frosch123> you can start gs only with a new game
21:12:07 *** Alberth has left #openttd
21:13:09 *** wakou2 has quit IRC
21:16:09 <zydeco> that makes sense, but is also a shame
21:17:53 *** oskari89 has quit IRC
21:19:52 <frosch123> well, you can save the game, and load it as scenario
21:20:16 <frosch123> though i am not sure whether you can easily add a gs to a scenario
21:20:48 <Zuu> Or "content state [--find <name>|--selected]" to also offer a view over selected content?
21:21:40 <frosch123> does "content state" already have a parameter?
21:21:44 <Zuu> nope
21:21:59 <frosch123> otherwise it could work like the "list_settings" command, where you can just append a searchterm
21:22:13 <frosch123> or was it the "setting" command?
21:22:47 <Taede> list_cmds ?
21:23:00 <Zuu> I could make it "content state [<search term>]".
21:23:44 <Zuu> And perhaps make the "content select" command give feedback on select or failure to select.
21:23:45 *** HerzogDeXtEr1 has joined #openttd
21:24:08 <Zuu> or offer a list of selected content (other than reading the full output of "content state")
21:24:35 <Taede> make selected a keyword, so that content state selected shows only state of selected items?
21:25:24 <Zuu> Though, I get 4 content items auto-selected when i start OpenTTD because some issue with uniqueid or so. So the list of selected items is not the same as the sum of those I have selected manually.
21:25:36 <frosch123> "content select" would make sense to dispaly the currently selected stuff
21:25:42 <frosch123> would be consistent with "setting"
21:25:48 <Zuu> Yep
21:25:48 <frosch123> which displays the current value unless you set it
21:30:29 *** HerzogDeXtEr has quit IRC
21:37:28 *** TomyLobo has quit IRC
21:45:53 <DanMacK> We need articulated ships
21:46:07 <peter1138> V453000 has them
21:47:00 <DanMacK> really?
21:47:50 <Eddi|zuHause> not really
21:47:54 <Eddi|zuHause> but really insane
21:47:59 <Eddi|zuHause> almost NUTS
21:48:41 <Supercheese> WETrails
21:50:48 <DanMacK> ahhh
21:56:06 <Zuu> http://devs.openttd.org/~zuu/content.patch <-- adds "state [filter]" and "select" without parameter => list selected
21:57:41 <Zuu> hmm, it probably breaks "state" w/o param
21:57:53 *** sla_ro|master has quit IRC
22:01:24 *** Pereba has quit IRC
22:01:48 *** wakou2 has joined #openttd
22:02:02 <Zuu> now hopefully fixed
22:02:27 *** Pereba has joined #openttd
22:03:33 <frosch123> if (argc > 2 && strcasestr((*iter)->name, argv[2]) == 0) continue; <- s/0/NULL/
22:06:06 *** andythenorth has left #openttd
22:10:02 <zydeco> btw I attached the patch to http://bugs.openttd.org/task/5795 in case someone wants to look at it
22:11:53 <Zuu> frosch123: thanks. The patch is updated (and I slightly changed the documentation of the select command so that it flows a bit better between the three ways to use it)
22:12:58 <frosch123> i think the 'or' in front of 'alll' should remain in the select-docu
22:13:38 <frosch123> maybe the list thingie could be a separate sentence, instead of complicated comma-stuff
22:13:59 *** DanMacK has quit IRC
22:14:25 *** KritiK has quit IRC
22:16:48 <DorpsGek> Commit by rubidium :: r25998 trunk/known-bugs.txt (2013-11-14 22:16:43 UTC)
22:16:49 <DorpsGek> -Document [FS#5661]: why catchment area's are (slightly) inconsistent
22:17:36 *** wakou2 has quit IRC
22:19:59 <Supercheese> *twitch*
22:20:02 <Supercheese> area's
22:20:51 <Rubidium> guess I'm not awake anymore
22:30:57 <Eddi|zuHause> i've no good inspiration how to make a "crude template" for tank wagons
22:31:23 <frosch123> either a cylinder
22:31:32 <frosch123> or 2 to 3 spheres
22:31:55 <Eddi|zuHause> i currently have two shapes, a closed box and an open box
22:31:56 <Rubidium> just take a normal tank wagon, and draw some dark brown to black leaks on it?
22:34:15 <Eddi|zuHause> so either i make it a box
22:34:23 <Eddi|zuHause> or i need to develop a shape for round things
22:35:23 <Eddi|zuHause> otherwise i have almost all things covered soon
22:35:37 <Zuu> frosch123: Ok. I've reverted the 'or' and moved the new information into a new sentence.
22:36:02 <Eddi|zuHause> "flat" wagons, DB early electrics and DR engines missing
22:36:13 <Eddi|zuHause> and a few sporadic oddities inbetween
22:36:21 <Eddi|zuHause> but i might leave those out
22:36:50 <frosch123> Zuu: looks fine
22:37:03 <Eddi|zuHause> and then i have to review the stuff oberhümer messed up
22:37:31 <Eddi|zuHause> vehicle names, vehicle availabilites, reinstate swiss/austrian vehicles
22:38:19 <Eddi|zuHause> and if i didn't get distracted by then, maybe i figure out loading stages for open wagons
22:38:45 *** Zuu has quit IRC
22:40:17 *** Zuu has joined #openttd
22:48:08 <DorpsGek> Commit by zuu :: r25999 trunk/src/console_cmds.cpp (2013-11-14 22:48:03 UTC)
22:48:09 <DorpsGek> -Add: When calling the 'content select' console command without args, display all selected content
22:48:18 <Wolf01> 'night all
22:48:21 *** Wolf01 has quit IRC
22:50:22 <DorpsGek> Commit by zuu :: r26000 trunk/src/console_cmds.cpp (2013-11-14 22:50:16 UTC)
22:50:23 <DorpsGek> -Add: Optional filter parameter to the 'content state' console command, to limit the content list to only content where the name match the filter
22:55:05 <michi_cc> zydeco: I think your patch is still not quite right as it missing non-latin characters. My take would be http://www.icosahedron.de/openttd/patches/part_of_fs5795.patch
22:58:10 <zydeco> won't that prevent from using arrows in the fields?
22:59:20 <zydeco> but yes, something that checks for non-input-producing keys rather than 0-9A-Z would be better
22:59:35 <michi_cc> No, everything <= WKC_TAB is always passed to HandleKeypress and this range includes the arrow keys.
22:59:52 <zydeco> oh I was reading that wrong
23:00:45 <michi_cc> For the comparison all special modifiers are masked out as we also have stuff like "next word" etc (which uses Ctrl afair).
23:02:09 <zydeco> if I knew svn better, I wouldn't be doing svn diff | patch -R -p0
23:03:55 <michi_cc> Ah well, yell at me tomorrow if I've broken it even more ;)
23:03:57 <frosch123> sounds like svn revert -R .
23:04:03 <DorpsGek> Commit by michi_cc :: r26001 /trunk/src (console_gui.cpp video/cocoa/cocoa_v.mm) (2013-11-14 23:03:54 UTC)
23:04:04 <DorpsGek> -Fix [FS#5795a] (r25686): [OSX] Clear any pending marked characters from an edit box losing focus.
23:04:10 <DorpsGek> Commit by michi_cc :: r26002 trunk/src/video/cocoa/event.mm (2013-11-14 23:03:59 UTC)
23:04:11 <DorpsGek> -Fix: [OSX] If the console hotkey is a dead key, require two presses to toggle the console, allowing input of accented characters.
23:04:14 <DorpsGek> Commit by michi_cc :: r26003 trunk/src/video/cocoa/event.mm (2013-11-14 23:04:04 UTC)
23:04:15 <DorpsGek> -Fix [FS#5795b] (r25743): [OSX] Some hotkeys were still triggered during text input.
23:04:39 <LordAro> congrats on getting r26k, Zuu :)
23:05:27 *** tokai|mdlx has joined #openttd
23:06:33 <zydeco> yes, it seems to work correctly
23:06:38 *** Alice3 has quit IRC
23:07:20 *** valhallasw has quit IRC
23:07:34 *** Zuu has quit IRC
23:07:49 <Eddi|zuHause> yes, we should have a r26k party
23:08:44 <LordAro> :D
23:09:23 <frosch123> maybe at terkhens place. otherwise: no thanks :p
23:10:54 <frosch123> no, even madrid only has 13°C
23:11:09 *** tokai|noir has quit IRC
23:11:13 <Supercheese> better than 13°F ;)
23:11:39 <frosch123> anything is better than °F
23:12:09 <__ln__> wasn't there a plan to have a party in january
23:12:37 <__ln__> perhaps in a canadian igloo
23:13:05 <Supercheese> °R is better? :P
23:13:24 <frosch123> isn't it only R? without ° ?
23:13:58 <frosch123> anyway, "0°F = coldest temperature some random guy in 18xx could create" is patented douchebagginess
23:14:07 <Supercheese> then there's °Ré
23:14:27 <LordAro> frosch123: wasn't it related to wax?
23:14:35 <__ln__> or coldest temperature in some random guy's home town during some particular winter
23:15:07 <frosch123> you need two fixed points for an affine linear scale
23:15:20 <frosch123> °F is the only one which tries with a single meaningful point (100°F)
23:15:39 <Supercheese> I wish we could be rid of °F
23:15:49 <Supercheese> I don't see it happening any time soon, sadly
23:15:59 <LordAro> bad americans
23:17:31 <Eddi|zuHause> i don't see the problem :)
23:17:47 <__ln__> °F was quite painful while visiting the US... always needed to start a conversion app just to interpret whether 120°F is hot or not.
23:17:50 <Eddi|zuHause> nobody i know used °F
23:17:56 <frosch123> oh, it was actualy 17xx
23:18:32 *** Progman has quit IRC
23:18:32 *** alluke has joined #openttd
23:19:03 <Eddi|zuHause> __ln__: that sounds awfully hot
23:19:13 *** yorick_ has joined #openttd
23:19:27 <alluke> what does
23:20:11 <Supercheese> If it's 120°F outside, you can probably cook eggs on the sidewalks
23:20:22 <Supercheese> there'd be enough solar flux
23:22:03 <frosch123> hmm, the wiki page on fahrenheit is even more weird than what i remembered
23:22:16 <__ln__> fair enough, something like 109°F was probably the maximum that i encountered outside.
23:23:19 <alluke> 1°c here
23:23:27 <alluke> too cold
23:23:39 *** yorick has quit IRC
23:23:40 <LordAro> just generally cold here
23:23:51 <Supercheese> again, better than 1°F :P
23:24:26 <alluke> aint that about -14 c
23:24:28 <alluke> 17*
23:24:40 <alluke> freezing
23:24:44 * Supercheese wonders if DorpsGek has @convert
23:24:54 <alluke> not really uncommon temperature during winter
23:25:05 <Supercheese> @convert 1 C to F
23:25:05 <DorpsGek> Supercheese: 33.8
23:25:08 <Supercheese> ho ho
23:25:10 <__ln__> it was incredibly hot and exhausting at the hoover dam.
23:25:16 <LordAro> nice :)
23:25:25 <Supercheese> @convert 120 F to C
23:25:25 <DorpsGek> Supercheese: 48.8888888889
23:26:07 <alluke> is it possible to be outside at 120 f
23:26:09 <LordAro> @convert -40 F to C
23:26:09 <DorpsGek> LordAro: -40.0
23:26:12 <LordAro> :D
23:26:16 <Supercheese> :)
23:26:41 <LordAro> it's "let's play with DorpsGek" evening
23:27:07 <DorpsGek> you filthy swine!
23:27:15 <LordAro> :D
23:27:26 *** retro|cz has joined #openttd
23:27:50 <__ln__> wasn't exactly cold in death valley either.
23:28:07 <alluke> its called death valley for a reason
23:28:28 <LordAro> @convert 26 mm to chains
23:28:28 <DorpsGek> LordAro: 0.00129245207985
23:28:31 <LordAro> ha
23:28:44 <planetmaker> omg! :D
23:28:52 <planetmaker> @convert 1 km to furlong
23:28:52 <DorpsGek> planetmaker: 4.9709695379
23:28:53 <frosch123> hmm, what's "chains"?
23:28:54 <Supercheese> @convert 66 feet to chains
23:28:54 <DorpsGek> Supercheese: 1
23:28:59 <planetmaker> I always wondered :D
23:29:00 <LordAro> ^ :p
23:29:14 * LordAro looks up more strange units
23:29:16 <frosch123> @convert 1 chains to m
23:29:16 <DorpsGek> frosch123: 20.1168
23:29:19 <Supercheese> @convert 100 yards to football fields
23:29:19 <DorpsGek> Supercheese: 1
23:29:22 <Supercheese> YES.
23:29:24 <LordAro> :O
23:29:25 <__ln__> @convert [seen Bjarni] to F
23:29:25 <DorpsGek> __ln__: Error: Bjarniwaslastseenin#openttd2years,5weeks,4days,23hours,10minutes,and19secondsago:<Bjarni>heh is not a valid unit.
23:29:27 <planetmaker> :D
23:29:35 <LordAro> :D
23:29:37 <alluke> convert 13 apples to oranges
23:29:52 <Supercheese> @convert 1 football field to city buses
23:29:52 <DorpsGek> Supercheese: Error: football is not a valid unit.
23:29:58 <Supercheese> err
23:30:04 <Supercheese> @convert 1 football fields to city buses
23:30:04 <DorpsGek> Supercheese: Error: football is not a valid unit.
23:30:07 <Supercheese> darn
23:30:15 <LordAro> :(
23:30:18 <LordAro> :D http://en.wikipedia.org/wiki/List_of_unusual_units_of_measurement
23:30:32 <planetmaker> @convert 1 bushel in m^3
23:30:32 <DorpsGek> planetmaker: Error: inm is not a valid unit.
23:30:37 <planetmaker> @convert 1 bushel to m^3
23:30:37 <DorpsGek> planetmaker: 0.0352390701669
23:30:59 <Supercheese> @convert 1 light year to parsecs
23:30:59 <DorpsGek> Supercheese: Error: light is not a valid unit.
23:31:04 <LordAro> @convert 42 seconds to nanocenturies
23:31:04 <DorpsGek> LordAro: Error: nanocenturies is not a valid unit.
23:31:04 <planetmaker> @convert one long to to metric ton
23:31:05 <DorpsGek> planetmaker: Error: one is not a valid unit.
23:31:08 <Supercheese> @convert 1 LY to parsecs
23:31:08 <DorpsGek> Supercheese: Error: LY is not a valid unit.
23:31:12 <Supercheese> grrr
23:31:25 <planetmaker> @convert 1 long ton to metric ton
23:31:25 <DorpsGek> planetmaker: Error: long is not a valid unit.
23:31:27 <__ln__> football field is an interesting unit... used a lot especially in english texts, yet i have no clue how long is a football field or is it even of some standard size.
23:31:28 * LordAro kicks DorpsGek
23:31:36 <Supercheese> __ln__: look above
23:31:48 <Supercheese> @convert 100 yards to football fields
23:31:48 <DorpsGek> Supercheese: 1
23:31:55 <planetmaker> @convert 1 angstrom in parsec
23:31:55 <DorpsGek> planetmaker: Error: inparsec is not a valid unit.
23:31:59 <planetmaker> @convert 1 angstrom to parsec
23:31:59 <DorpsGek> planetmaker: 0
23:32:03 <planetmaker> ok :D
23:32:06 <LordAro> :)
23:32:09 <Supercheese> oh, it does have parsec
23:32:16 <Supercheese> @convert 1 parsec to AU
23:32:16 <DorpsGek> Supercheese: Error: AU is not a valid unit.
23:32:27 <LordAro> @convert 1 parsec to au
23:32:27 <DorpsGek> LordAro: 206264.806247
23:32:29 <LordAro> :p
23:32:33 <Supercheese> d'oh
23:32:40 <LordAro> case sensitive, it seems]
23:32:54 <planetmaker> strange, I'd always spell it AU, too
23:32:56 <planetmaker> never au
23:32:57 <Supercheese> @convert 1 ly to parsec
23:32:57 <DorpsGek> Supercheese: Error: ly is not a valid unit.
23:33:03 <Supercheese> -_-
23:33:15 <planetmaker> @convert 1 au to light years
23:33:15 <DorpsGek> planetmaker: 1.58125074089e-05
23:33:18 <planetmaker> :-)
23:33:20 <LordAro> i assume DorpsGek's code is not available anywhere?
23:33:29 <planetmaker> it is open source. supybot
23:33:30 <__ln__> Supercheese: so if it's 120 yards, why don't people just say 120 yards instead of using some unrelated absurd quasi-unit?
23:33:40 <Supercheese> __ln__: beats me
23:33:49 <Supercheese> it's incredibly silly
23:33:57 <Supercheese> (and it's 100 yards)
23:34:04 <frosch123> __ln__: because 120 is a too complex number for a football guy
23:34:08 <planetmaker> @convert 1 earth mass to solar masses
23:34:08 <DorpsGek> planetmaker: Error: earth is not a valid unit.
23:34:12 <planetmaker> darn :)
23:34:23 <Supercheese> @convert 1 kW to tons
23:34:23 <DorpsGek> Supercheese: Error: unit categories did not match
23:34:27 <Supercheese> lies and slander
23:34:32 <planetmaker> hehe :-)
23:34:38 <Supercheese> http://en.wikipedia.org/wiki/Ton_of_refrigeration
23:34:52 <Supercheese> @convert 1 ton to Btu/hr
23:34:52 <DorpsGek> Supercheese: Error: unit categories did not match
23:34:54 <planetmaker> @ convert 1 kW to BTU
23:34:54 <DorpsGek> planetmaker: Error: BTU is not a valid unit.
23:34:57 <planetmaker> @ convert 1 kW to btu
23:34:57 <DorpsGek> planetmaker: Error: btu is not a valid unit.
23:35:00 <planetmaker> meh
23:35:03 <Supercheese> @convert 1 kW to btu/hr
23:35:03 <DorpsGek> Supercheese: Error: btu is not a valid unit.
23:35:09 <planetmaker> @ convert 1 kW to british thermal units
23:35:09 <DorpsGek> planetmaker: Error: britishthermalunits is not a valid unit.
23:35:27 <frosch123> @convert 1kWh to MeV
23:35:27 <DorpsGek> frosch123: Error: 1kWh is not a valid unit.
23:35:32 <frosch123> @convert 1 kWh to MeV
23:35:32 <DorpsGek> frosch123: Error: MeV is not a valid unit.
23:35:44 <planetmaker> @ convert 1 W to eV
23:35:44 <DorpsGek> planetmaker: Error: unit categories did not match
23:35:48 <planetmaker> @ convert 1 J to eV
23:35:48 <DorpsGek> planetmaker: 6241509744511524864
23:35:52 <planetmaker> of course :-)
23:35:59 <LordAro> @random
23:36:03 <LordAro> aw
23:36:22 <Kjetil> @convert 1 pound to pascal
23:36:22 <DorpsGek> Kjetil: Error: unit categories did not match
23:36:23 <planetmaker> @convert 1 m^2 to barn
23:36:24 <DorpsGek> planetmaker: Error: unit categories did not match
23:36:30 <planetmaker> not?
23:36:35 <Supercheese> wait what
23:36:37 <Supercheese> what is a barn
23:36:38 <Kjetil> indeed
23:36:40 <Supercheese> unit
23:36:43 <Kjetil> @convert 1 footpound to pascal
23:36:43 <DorpsGek> Kjetil: Error: footpound is not a valid unit.
23:36:53 <LordAro> @convert 1 m^3 to barn
23:36:53 <DorpsGek> LordAro: Error: unit categories did not match
23:36:56 <Supercheese> http://en.wikipedia.org/wiki/Barn_unit
23:36:58 <Supercheese> huh
23:36:59 <__ln__> @convert 134 oz to gallon
23:36:59 <DorpsGek> __ln__: Error: unit categories did not match
23:37:16 <Supercheese> @convert 134 floz to gallons
23:37:16 <DorpsGek> Supercheese: 1.046875
23:37:17 <planetmaker> honestly, called barn for its enormous size :D
23:37:27 <Kjetil> @convert 1 oxenhead to gallons
23:37:27 <DorpsGek> Kjetil: Error: oxenhead is not a valid unit.
23:37:32 <Supercheese> 100 square femtometers, eh?
23:38:27 <Supercheese> @convert 1 kg to slug
23:38:27 <DorpsGek> Supercheese: 0.0685217658568
23:38:35 <Kjetil> @convert 1 hogshead to gallons
23:38:35 <DorpsGek> Kjetil: Error: hogshead is not a valid unit.
23:38:50 <frosch123> @convert 1 hogsheads to gallons
23:38:50 <DorpsGek> frosch123: Error: hogsheads is not a valid unit.
23:39:14 <Supercheese> @convert 1 firkin to gallon
23:39:14 <DorpsGek> Supercheese: Error: firkin is not a valid unit.
23:39:29 <planetmaker> @convert 1 Newton to pond
23:39:29 <DorpsGek> planetmaker: Error: Newton is not a valid unit.
23:39:36 <planetmaker> @convert 1 N to pond
23:39:36 <DorpsGek> planetmaker: Error: pond is not a valid unit.
23:39:37 <Kjetil> what ?!
23:39:40 <planetmaker> @convert 1 N to pd
23:39:40 <DorpsGek> planetmaker: Error: pd is not a valid unit.
23:39:52 <Supercheese> @convert 1 N to lbf
23:39:52 <DorpsGek> Supercheese: 0.2248089431
23:40:04 <Supercheese> @convert 1 kg to lbm
23:40:04 <DorpsGek> Supercheese: 2.20462262185
23:40:14 <Supercheese> Two different pounds :P
23:40:26 <Kjetil> @convert 1 kf to nm
23:40:26 <DorpsGek> Kjetil: Error: kf is not a valid unit.
23:40:27 <__ln__> @convert 1 euro to pesetas
23:40:27 <DorpsGek> __ln__: Error: euro is not a valid unit.
23:40:31 <LordAro> found the list: https://github.com/jamessan/Supybot/blob/master/plugins/Math/local/convertcore.py
23:40:39 <LordAro> sorry for ruining the fun ;p
23:40:40 <Supercheese> quick, exploit
23:41:01 <Supercheese> @convert 1 lid to kg
23:41:01 <DorpsGek> Supercheese: 0.028349523125
23:41:13 <planetmaker> @convert 1 N to kilopond
23:41:13 <DorpsGek> planetmaker: Error: kilopond is not a valid unit.
23:41:18 <Supercheese> @convert 20 mm to caliber
23:41:18 <DorpsGek> Supercheese: 78.7401574803
23:41:18 <frosch123> LordAro: drug slang?
23:41:20 <Kjetil> no guessing on SI-prefixes ? What a pitty
23:41:30 <LordAro> @convert 7 shoe size mens to show size womens
23:41:30 <DorpsGek> LordAro: Error: shoe is not a valid unit.
23:41:33 <LordAro> :(
23:41:38 <LordAro> frosch123: ?
23:41:54 <__ln__> @convert men to women
23:41:54 <DorpsGek> __ln__: Error: men is not a valid unit.
23:42:01 <planetmaker> @convert 1 stone to amu
23:42:01 <DorpsGek> planetmaker: 3824236716237265854667948032
23:42:28 <planetmaker> many atoms in a stone :D
23:43:02 <planetmaker> @convert 1 jansky to J
23:43:02 <DorpsGek> planetmaker: Error: jansky is not a valid unit.
23:43:08 <planetmaker> @convert 1 jy to J
23:43:08 <DorpsGek> planetmaker: Error: jy is not a valid unit.
23:43:24 <alluke> idiot radio host played a christmas song
23:43:27 <Supercheese> @convert 1 pint to imp pt
23:43:27 <DorpsGek> Supercheese: Error: imppt is not a valid unit.
23:43:30 <Kjetil> @convert 12 parsec to hours
23:43:30 <DorpsGek> Kjetil: Error: unit categories did not match
23:43:37 <__ln__> @convert dozen to pi
23:43:37 <DorpsGek> __ln__: 3.81971863421
23:43:44 <Supercheese> @convert 1 pint to hogsheadbeer
23:43:44 <DorpsGek> Supercheese: Error: hogsheadbeer is not a valid unit.
23:43:49 <Kjetil> damn you mr. solo
23:43:49 <Supercheese> @convert 1 pint to hogshead beer
23:43:49 <DorpsGek> Supercheese: Error: hogsheadbeer is not a valid unit.
23:44:16 <planetmaker> @convert 1 lumen to lux
23:44:16 <DorpsGek> planetmaker: Error: unit categories did not match
23:44:20 <planetmaker> :-)
23:44:21 <Supercheese> @convert 30 mpsi to gpa
23:44:21 <DorpsGek> Supercheese: Error: mpsi is not a valid unit.
23:44:22 <Kjetil> @convert league to screw size
23:44:22 <DorpsGek> Kjetil: 14621533.8462
23:44:54 <LordAro> :D
23:45:04 <alluke> is dorpsgek a bot
23:45:20 <frosch123> no, just a weirdo
23:45:26 <Supercheese> @convert mpg to 1/ft
23:45:26 <DorpsGek> Supercheese: Error: unit categories did not match
23:45:35 <Supercheese> @convert mpg to 1/ft^2
23:45:35 <DorpsGek> Supercheese: 39497.1428571
23:45:39 <Supercheese> there we go
23:45:39 <Kjetil> He is just very good at the googles
23:45:49 <alluke> @convert 6969696969 c to f
23:45:49 <DorpsGek> alluke: Error: c is not a valid unit.
23:45:58 <alluke> bullshit
23:45:58 <alluke> it is
23:46:11 <DorpsGek> alluke: what?
23:46:14 <Kjetil> real people use kelvin
23:46:33 <DorpsGek> do they?
23:46:38 <Kjetil> no :(
23:46:41 <Kjetil> I wish
23:46:57 <Supercheese> fake people use kelvin
23:47:32 <Kjetil> "It's 270 degrees outside to day. Better put a coat on"
23:47:50 <planetmaker> Kelvin is not degrees ;-)
23:48:01 <planetmaker> It's without "°"
23:48:07 <LordAro> wait, that's not the list of units, that's just a commented out list
23:48:27 <LordAro> list seems to actually be provided in "units.dat" which isn't in the repo, i think
23:48:27 <Kjetil> planetmaker: then it is no fun
23:49:05 <planetmaker> and otherwise wrong ;-)
23:49:09 <frosch123> LordAro: the list is assigned to the variable "unitdata"
23:49:10 <alluke> @convert x m to ft
23:49:10 <DorpsGek> alluke: Error: x is not a valid unit.
23:49:13 <Supercheese> @convert 1 gallon to butts
23:49:13 <DorpsGek> Supercheese: Error: butts is not a valid unit.
23:49:13 <Kjetil> @convert 1 bbl to pint
23:49:14 <DorpsGek> Kjetil: 336
23:49:21 <Kjetil> That's a lot of pints
23:49:25 <alluke> @convert x m to 10 ft
23:49:25 <DorpsGek> alluke: Error: x is not a valid unit.
23:49:26 <Supercheese> http://en.wikipedia.org/wiki/English_brewery_cask_units says so
23:49:46 <alluke> it cant do equations
23:49:57 <LordAro> frosch123: hmm, but it's commented out, as far as i can see
23:50:05 <frosch123> no, it's not commented out
23:50:13 <frosch123> it is a multiline string constant
23:50:23 <LordAro> oooh
23:50:28 <planetmaker> @convert 1 candela to J/sr
23:50:28 <DorpsGek> planetmaker: Error: unit categories did not match
23:50:33 <frosch123> f = StringIO.StringIO(unitData) <- that reads the string into a stream
23:50:34 <planetmaker> @convert 1 candela to J/sr^2
23:50:34 <DorpsGek> planetmaker: Error: unit categories did not match
23:50:41 <Kjetil> @convert 1m / 1s to kph
23:50:41 <DorpsGek> Kjetil: Error: 1m is not a valid unit.
23:50:47 <LordAro> frosch123: yus, i see it now
23:51:02 <frosch123> LordAro: you can use multiline string constants like comments though
23:51:03 <planetmaker> @convert 1 m/s to km/h
23:51:03 <DorpsGek> planetmaker: Error: h is not a valid unit.
23:51:10 <frosch123> assigning a string to nothing is a nop operation
23:51:10 <Supercheese> @convert 1 $ to €
23:51:10 <DorpsGek> Supercheese: Error: $ is not a valid unit.
23:51:15 <Supercheese> nuts
23:51:17 <LordAro> i got confused between multiline strings and comments
23:51:19 <LordAro> yes, that
23:51:24 <__ln__> @convert 1 cochrane to kwh
23:51:24 <DorpsGek> __ln__: Error: cochrane is not a valid unit.
23:51:36 <LordAro> lies
23:51:42 <Kjetil> indeed
23:51:51 <Supercheese> @convert warp 7 to mph
23:51:51 <DorpsGek> Supercheese: Error: warp is not a valid unit.
23:52:02 <Supercheese> @convert 7 warp to mph
23:52:02 <DorpsGek> Supercheese: Error: warp is not a valid unit.
23:52:05 <Supercheese> blast
23:52:15 <LordAro> @convert 1 centistokes to poise
23:52:15 <DorpsGek> LordAro: Error: unit categories did not match
23:52:17 <LordAro> :(
23:52:25 <planetmaker> @convert 1 mach to m/s
23:52:25 <DorpsGek> planetmaker: 331.46
23:53:00 <alluke> @convert 1 mach to km/h
23:53:00 <DorpsGek> alluke: Error: h is not a valid unit.
23:53:07 *** Devroush has quit IRC
23:53:11 <Kjetil> @convert 1 shake to jiffy
23:53:11 <DorpsGek> Kjetil: Error: shake is not a valid unit.
23:53:14 <alluke> i didnt say km/h
23:53:42 <planetmaker> @convert 1 m/s to km/hour
23:53:42 <DorpsGek> planetmaker: 3.6
23:53:49 <alluke> lord
23:54:17 <planetmaker> LordAro, iirc it's dynamic and static, thus doesn't match
23:54:32 <Kjetil> @convert 1 foe to joules
23:54:32 <DorpsGek> Kjetil: Error: foe is not a valid unit.
23:54:50 <planetmaker> @convert 1 century to s
23:54:50 <DorpsGek> planetmaker: 3155692597.47
23:55:06 <planetmaker> @convert 1 year to s
23:55:06 <DorpsGek> planetmaker: 31556925.9747
23:55:19 <planetmaker> @calc pi * 10^7
23:55:19 <DorpsGek> planetmaker: Error: Something in there wasn't a valid number.
23:55:26 <planetmaker> :-(
23:55:44 <Eddi|zuHause> @calc pi*10**7
23:55:44 <DorpsGek> Eddi|zuHause: 31415926.5359
23:55:52 <__ln__> @calc [convert 1 to pi] * 10^7
23:55:52 <DorpsGek> __ln__: Error: to is not a valid unit.
23:56:20 <__ln__> @calc [convert pi to pi] * 10^7
23:56:20 <DorpsGek> __ln__: Error: Something in there wasn't a valid number.
23:56:49 *** adf89 has quit IRC
23:57:29 <Eddi|zuHause> once upon a time there was a bot which output weird numbers when entering stuff like 10^7, until people realized ^ didn't mean "power" but "bitwise xor"
23:57:44 <Kjetil> @calc 1++
23:57:44 <DorpsGek> Kjetil: Error: unexpected EOF while parsing (<string>, line 1)
23:57:48 <Supercheese> @calc 10^^7
23:57:48 <DorpsGek> Supercheese: Error: invalid syntax (<string>, line 1)
23:58:32 <Kjetil> @calc 3 & 1
23:58:32 <DorpsGek> Kjetil: Error: Something in there wasn't a valid number.
23:58:44 <Supercheese> @calc 1 || 1
23:58:44 <DorpsGek> Supercheese: Error: invalid syntax (<string>, line 1)
23:59:29 <Supercheese> @convert 30 degrees to gradians
23:59:29 <DorpsGek> Supercheese: 33.3333333333