--- Log opened Wed Apr 30 00:00:58 2014 20140430 00:07:04-!- Yaiyan [5693fa2d@gateway/web/cgi-irc/kiwiirc.com/ip.86.147.250.45] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] 20140430 00:08:35-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20140430 00:08:57< AI0867> iceiceice: your email address is a part of every commit you make 20140430 00:13:34-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20140430 00:14:35-!- trewe [~trewe@2001:8a0:d105:e201:626c:66ff:fe92:9b7c] has quit [Quit: quit] 20140430 00:15:38-!- Aishiko_laptop [~unknown@198.85.71.253] has quit [Ping timeout: 240 seconds] 20140430 00:27:16-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20140430 00:36:40-!- prophile [~alynn@oftn/member/prophile] has quit [Quit: The Game] 20140430 00:47:57-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20140430 00:54:17-!- tomreyn [~tomreyn@megaglest/team/tomreyn] has quit [Quit: tomreyn] 20140430 01:11:18-!- iceiceice [~chris@cpe-66-108-20-80.nyc.res.rr.com] has joined #wesnoth-dev 20140430 01:12:24< iceiceice> AI0867: yeah... 20140430 01:12:40< iceiceice> i mean its one thing for a spam bot to actually parse a git repo file, 20140430 01:12:48< iceiceice> if its in the source though, they can just navigate to a url like this: https://raw.githubusercontent.com/wesnoth/wesnoth/master/src/builder.cpp 20140430 01:13:02< iceiceice> idk 20140430 01:13:42< iceiceice> i guess i dont know what the git repo file really looks like 20140430 01:17:52-!- _8680_ [~8680@2002:4404:712c:0:59b4:e01d:a500:f7e2] has quit [Ping timeout: 245 seconds] 20140430 01:18:50-!- _8680_ [~8680@2002:4404:712c:0:6952:11e6:9f4f:dbcd] has joined #wesnoth-dev 20140430 01:29:31-!- _8680_ [~8680@2002:4404:712c:0:6952:11e6:9f4f:dbcd] has quit [Ping timeout: 252 seconds] 20140430 01:30:28-!- _8680_ [~8680@2002:4404:712c:0:892f:a59b:6ed7:1376] has joined #wesnoth-dev 20140430 01:35:52-!- _8680_ [~8680@2002:4404:712c:0:892f:a59b:6ed7:1376] has quit [Ping timeout: 265 seconds] 20140430 01:36:17-!- _8680_ [~8680@2002:4404:712c:0:81d2:cda2:212f:5c2f] has joined #wesnoth-dev 20140430 01:51:12-!- _8680_ [~8680@2002:4404:712c:0:81d2:cda2:212f:5c2f] has quit [Ping timeout: 245 seconds] 20140430 01:51:53-!- _8680_ [~8680@2002:4404:712c:0:9917:6517:3475:7e4f] has joined #wesnoth-dev 20140430 01:52:13-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20140430 02:02:43-!- enchilado [~enchilado@defocus/yummy/enchilado] has quit [Remote host closed the connection] 20140430 02:02:59-!- Ivanovic_ [~ivanovic@frnk-5f74c7f0.pool.mediaWays.net] has joined #wesnoth-dev 20140430 02:03:21-!- enchilado [~enchilado@defocus/yummy/enchilado] has joined #wesnoth-dev 20140430 02:06:12-!- Ivanovic [~ivanovic@frnk-5f7535db.pool.mediaWays.net] has quit [Ping timeout: 276 seconds] 20140430 02:06:26-!- TooLmaN [~TooLmaN@c-174-56-210-230.hsd1.ga.comcast.net] has joined #wesnoth-dev 20140430 02:06:53-!- Ivanovic_ is now known as Ivanovic 20140430 02:13:19-!- un214 [~un214@2602:306:cccf:a499:224:8cff:fed2:ef57] has joined #wesnoth-dev 20140430 02:19:00-!- un214 [~un214@2602:306:cccf:a499:224:8cff:fed2:ef57] has quit [Remote host closed the connection] 20140430 02:24:15-!- un214 [~un214@2602:306:cccf:a499:224:8cff:fed2:ef57] has joined #wesnoth-dev 20140430 02:25:45-!- un214 [~un214@2602:306:cccf:a499:224:8cff:fed2:ef57] has quit [Read error: Connection reset by peer] 20140430 02:27:45< Coffee_irc> iceiceice: I've never had my email spammed for putting it open source prjects 20140430 02:29:09-!- Sulfur [~Miranda@p5B0086F3.dip0.t-ipconnect.de] has joined #wesnoth-dev 20140430 02:29:24< Coffee_irc> selling dev emails I suppose isn't worth it for anyone who wants us to buy anything ;) 20140430 02:37:54< iceiceice> ok good to know 20140430 02:39:04-!- Appleman1234 [~Appleman1@pool-173-74-88-86.dllstx.fios.verizon.net] has joined #wesnoth-dev 20140430 02:42:54-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth-dev 20140430 02:49:53-!- Appleman1234 [~Appleman1@pool-173-74-88-86.dllstx.fios.verizon.net] has quit [Quit: Leaving] 20140430 02:56:42-!- happygrue [~happygrue@wesnoth/developer/wintermute] has quit [Ping timeout: 240 seconds] 20140430 03:00:11-!- Ivanovic_ [~ivanovic@frnk-5f74ffc6.pool.mediaWays.net] has joined #wesnoth-dev 20140430 03:03:24-!- Ivanovic [~ivanovic@frnk-5f74c7f0.pool.mediaWays.net] has quit [Ping timeout: 276 seconds] 20140430 03:04:05-!- Ivanovic_ is now known as Ivanovic 20140430 03:04:40-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20140430 03:09:01-!- TooLmaN [~TooLmaN@c-174-56-210-230.hsd1.ga.comcast.net] has quit [Quit: Off to save the world!] 20140430 03:09:16-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Quit: Ik ga weg] 20140430 03:14:27-!- Sulfur [~Miranda@p5B0086F3.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20140430 03:48:44< iceiceice> Aishiko: regarding the CoC comment of yours which i just noticed from yesterday 20140430 03:49:16< iceiceice> i think there was some discussion that we may start having the clients log their own private messages to a file, so people have a record of what pms they sent and recieved 20140430 03:49:24< iceiceice> not that we would have access to that, 20140430 03:49:35< iceiceice> but concievably we might do something like store a hash of pm records 20140430 03:49:54< iceiceice> so that we could authenticate that we did in fact send some send 20140430 03:50:10< iceiceice> *send some pm 20140430 03:50:24< iceiceice> without being able to read the logs ourselves 20140430 03:50:42< shadowm> Wouldn't it be easier to go with my idea (which was originally targeting 1.12) of offering users the *option* to copy lobby logs to clipboard/save them to a file? 20140430 03:50:53< iceiceice> yeah thats alot easier for sure 20140430 03:51:14< iceiceice> i mean ideally they would both happen 20140430 03:51:17< shadowm> Because what you are proposing reeks of overengineering considering that each "private message" is a single line. 20140430 03:51:18< iceiceice> imo 20140430 03:51:52< iceiceice> i think i misunderstood your idea when you told me about it 20140430 03:53:18< iceiceice> none of it is immediately relevant to what Aishiko said 20140430 03:53:59< iceiceice> idk i'm not one of the mp mods, i have no idea if any of this has ever been important 20140430 03:54:12< iceiceice> i guess not or more people would have an opinion 20140430 03:55:05< shadowm> I can see why logging (as opposed to storing) hashes might be useful, but it also raises concerns of disk space usage (I imagine people whisper far more often than the do public messages/create or end games) and privacy. 20140430 03:55:28< shadowm> It's like the "it's just metadata" issue. 20140430 03:57:42< shadowm> As for people abusing whispers, isn't that covered by the friends/ignore list feature? 20140430 04:05:57-!- Gambit [~derek@wesnoth/developer/grickit] has quit [Remote host closed the connection] 20140430 04:09:38< Aishiko> perhaps have a time limit for reporting, ie within 30 days, that way we're not using a huge amount of diskspace storing hashes or messages from 10 years ago (as an example) 20140430 04:15:39< Aishiko> iceiceice, shadowm ^^ another option is to have all the messages stored in 1 file and at the end of the game create a hash for that file, we'd of course have to have a way to create a hash for those that quit early 20140430 04:16:34< shadowm> I didn't take into account in-game messages in my discourse above. 20140430 04:17:27< iceiceice> yeah i mean afaict the same problem applies to all pms 20140430 04:17:30< iceiceice> lobby or in game 20140430 04:17:54< iceiceice> but idk if storing hashes of stuff like that is a standard practice crypto thing, i just made it up just now 20140430 04:18:04< iceiceice> or if this is even a problem, 20140430 04:18:53< iceiceice> certainly making it easier to users to copy the little in game text would be an improvement 20140430 04:21:53< Aishiko> however then we run into verification issues if we have no way to prove said message was sent 20140430 04:28:16< iceiceice> y idk, i think its probably up to the mods, what they think is necessary / worth it 20140430 04:28:38< iceiceice> afaik no one has complained about the status quo 20140430 04:28:54< shadowm> I personally think mods should use their judgment instead of PM-spying techniques. 20140430 04:31:39< iceiceice> i dont think its spying, its just providing a way for the mod to verify that a pm a user reports to them was actually sent by the server 20140430 04:31:47< iceiceice> which currently they cant actually do 20140430 04:43:12-!- kex [~kex@78.157.29.205] has quit [Remote host closed the connection] 20140430 04:44:41-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 264 seconds] 20140430 05:02:25-!- ancestral [~ancestral@12.23.74.29] has joined #wesnoth-dev 20140430 05:51:49-!- Necrosporus_ is now known as Necrosporus 20140430 05:56:05-!- _8680_ [~8680@2002:4404:712c:0:9917:6517:3475:7e4f] has quit [Ping timeout: 252 seconds] 20140430 06:00:31-!- trademark [~trademark@nsg93-8-88-175-59-164.fbx.proxad.net] has joined #wesnoth-dev 20140430 06:09:18-!- _8680_ [~8680@2002:4404:712c:0:888:36a1:33fa:833d] has joined #wesnoth-dev 20140430 06:37:48-!- bagzie [~bag@85-76-109-7-nat.elisa-mobile.fi] has joined #wesnoth-dev 20140430 06:37:56< Necrosporus> iceiceice, why not to just let users use their ignore feature ? 20140430 06:38:05< Necrosporus> Why are mods necessary at all? 20140430 06:38:26< iceiceice> idk i'm not pushing anything 20140430 06:38:34< iceiceice> i know literally nothing about this 20140430 06:39:04< iceiceice> i just tried to write a privacy statement, and i wasnt sure what if anything i should say about logging pms 20140430 06:39:06< Aishiko> Necrosporus, we could say the same thing about say... the forums. Most have a feature to ignore particular users but we still have mods and investigate TOS/CoC violations 20140430 06:40:16< Necrosporus> iceiceice, maybe say what is it actually? 20140430 06:40:24< iceiceice> i ran it by Soliton and we ended up with current statement, if he or someone else doesnt say this is an issue then i wont bring it up again 20140430 06:40:36< Necrosporus> If PMs are not logged say "Currently PM is not logged by the server" 20140430 06:40:37< iceiceice> its on Coc page now 20140430 06:41:22< Necrosporus> Also if they are not encrypted it's probably worth mentioning too 20140430 06:42:03< iceiceice> i didnt even think of that 20140430 06:42:17< iceiceice> i dont think there is really any encryption 20140430 06:42:22< iceiceice> in the project afaik 20140430 06:42:38< iceiceice> depends on if you count salting passwords etc. as crypto 20140430 06:43:05< Aishiko> "Please note while not logged private messages/whispers are not logged but they are not encrypted either, so remember what your mom said growing up, and don't say/send anything you'd not want seen on a 30 meter screen in front of your friends and family and the whole world" 20140430 06:45:09< iceiceice> Necrosporus: it looks like we don't use any standard crypto libraries 20140430 06:47:19< iceiceice> ok, i dont actually think anyone would have a reason to think any of this stuff is being encrypted, so i'm not sure i see the need to add that 20140430 06:47:31< iceiceice> it's a wiki though, if you want to write something and its accurate, knock yourself out :) 20140430 06:48:00< iceiceice> idk i wash my hands of it 20140430 06:50:54< Aishiko> iceiceice, we don't 20140430 06:51:15< Aishiko> use any crypto libs that is 20140430 06:53:02< Necrosporus> Please not, while private messages/whispers are not logged, they are transmitted unencrypted, so do not send sensitive information over them 20140430 06:54:05< Aishiko> and adding a crypto lib is something that needs a long discussion weighing the benefits of adding the lib to the added complexity of yet another library that a user must have installed, thought I have considered floating adding bcrypt as an optional dependancy to give storing the password of the user on the disk more security. I think the home market of the "internet of everything" has quite proven 20140430 06:54:05< Aishiko> its stupid to assume that your network and all the devices on it are secure and won't allow people that don't belong to gain access 20140430 06:57:03< iceiceice> i dont see any harm in mentioning that there's no crypto anymore but i don't want to be responsible for writing it ;) 20140430 06:57:13< iceiceice> s/anymore/ever 20140430 06:58:29-!- aquileia [52d4196d@gateway/web/freenode/ip.82.212.25.109] has joined #wesnoth-dev 20140430 07:01:13< aquileia> gfgtdf: Would you mind uploading a .zip of the necessary boost files to wesnoth-files? Or alternatively include them in the externalVC10 there? 20140430 07:05:51-!- irker940 [~irker@fehu.ai0867.net] has joined #wesnoth-dev 20140430 07:05:51< irker940> wesnoth: Guorui Xi wesnoth:master a81aa56a6d55 / src/ai/recruitment/recruitment.cpp: Fix a typo in log message of recruitment CA https://github.com/wesnoth/wesnoth/commit/a81aa56a6d55bcd477abdb2429b363653a7aecb1 20140430 07:09:10< aquileia> I think it would be a good idea to include libboost_random-vc100 in the package just in case we make it a dependency 20140430 07:12:32< aquileia> 700 kB more aren't an issue and it'll save ourselves the hassle to reupload an amended version if we add it to the dependencies later 20140430 07:13:08< Aishiko> plus its part of boost which we already use 20140430 07:13:41-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20140430 07:13:44< aquileia> yes, I think he is aware of that ;) 20140430 07:15:33< aquileia> the VC dependency packages include just a slice of boost (9 of 34 libs) in order to save space 20140430 07:16:36< aquileia> but I can sort them out in case gfgtdf uploads all f them 20140430 07:17:02< aquileia> I've got to go, bye 20140430 07:17:16-!- aquileia [52d4196d@gateway/web/freenode/ip.82.212.25.109] has quit [Quit: Page closed] 20140430 07:20:08-!- kex [~kex@78.157.29.205] has joined #wesnoth-dev 20140430 07:24:26-!- trademark [~trademark@nsg93-8-88-175-59-164.fbx.proxad.net] has quit [Ping timeout: 252 seconds] 20140430 07:31:34-!- Jetrel_ [~Jetrel@c-75-73-180-126.hsd1.mn.comcast.net] has joined #wesnoth-dev 20140430 07:33:25-!- Jetrel [~Jetrel@c-75-73-180-126.hsd1.mn.comcast.net] has quit [Read error: Operation timed out] 20140430 07:34:13-!- kex [~kex@78.157.29.205] has quit [Remote host closed the connection] 20140430 07:34:49-!- kex [~kex@212.158.180.14] has joined #wesnoth-dev 20140430 07:35:40-!- Ivanovic [~ivanovic@frnk-5f74ffc6.pool.mediaWays.net] has quit [Changing host] 20140430 07:35:40-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20140430 07:39:23< Ivanovic> happygrue: i am just back from the business trip and will now lie down in bed to get some sleep 20140430 07:39:31< Ivanovic> i have been working all weekend, so i really need some rest... 20140430 07:40:47< Ivanovic> aquileia: compressing the music differently will not change ram consumption 20140430 07:43:13-!- Kexoth [~kex@78.157.29.205] has joined #wesnoth-dev 20140430 07:45:58-!- kex [~kex@212.158.180.14] has quit [Ping timeout: 240 seconds] 20140430 07:46:39-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20140430 07:53:09-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has quit [Quit: Lost terminal] 20140430 07:55:53-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20140430 07:57:55-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20140430 08:02:12< AI0867> iceiceice: https://github.com/wesnoth/wesnoth/commit/95f11ab70ba723d3fb5a75e82e5104ece62e08a5.patch 20140430 08:04:36-!- Guest49490 [~cib@p5DD2346B.dip0.t-ipconnect.de] has joined #wesnoth-dev 20140430 08:05:17< iceiceice> AI0867: what's the issue? 20140430 08:05:39< iceiceice> oh 20140430 08:06:07< iceiceice> :facepalm: 20140430 08:09:08< Aishiko> iceiceice, better then getting an earfull in chat huh? 20140430 08:09:41< iceiceice> you know, i have no idea how that happened, and i'm not going to try to figure it out 20140430 08:09:50< irker940> wesnoth: Chris Beck wesnoth:master 71916695c17f / changelog: fixup bad changelog commit http://git.io/B-rrNg 20140430 08:09:52< irker940> wesnoth: Chris Beck wesnoth:master e0871516fbe6 / src/ai/recruitment/recruitment.cpp: Merge branch 'master' of https://github.com/wesnoth/wesnoth http://git.io/VcnWGQ 20140430 08:12:42< AI0867> iceiceice: that's your commit formatted as a patch, thus including your name and email 20140430 08:12:51-!- mjs-de [~mjs-de@f049238051.adsl.alicedsl.de] has joined #wesnoth-dev 20140430 08:13:23< AI0867> similarly: https://github.com/AI0867/wesnoth/commit/e3ddc5d17eaae51f5d0acb3550507a5b8f6d6977.patch 20140430 08:13:28< iceiceice> i see 20140430 08:13:29< Coffee_irc> how much do you think we could get for selling iceiceice's email? :) 20140430 08:14:34< AI0867> perhaps two cents 20140430 08:14:38-!- sachith500 [~kvirc@112.134.101.236] has joined #wesnoth-dev 20140430 08:16:43< iceiceice> that's pretty optimistic 20140430 08:17:04< iceiceice> little do you know, google has been informing me that chinese hackers are continually trying to break all of my emails 20140430 08:17:11< Coffee_irc> sorry iceiceice, looks like its not much :P 20140430 08:19:14-!- Kexoth [~kex@78.157.29.205] has quit [Remote host closed the connection] 20140430 08:19:55-!- Trademark [~trademark@2001:660:3004:64:5cb6:2a72:3a19:3b63] has joined #wesnoth-dev 20140430 08:31:32-!- Guest49490 [~cib@p5DD2346B.dip0.t-ipconnect.de] has quit [Ping timeout: 252 seconds] 20140430 08:34:07-!- DCW [~Thunderbi@cpc66863-finc15-2-0-cust393.4-2.cable.virginm.net] has joined #wesnoth-dev 20140430 08:35:30-!- NateWr [~NateWr@cpc65580-sgyl33-2-0-cust998.18-2.cable.virginm.net] has joined #wesnoth-dev 20140430 08:43:17-!- mjs-de [~mjs-de@f049238051.adsl.alicedsl.de] has quit [Ping timeout: 252 seconds] 20140430 08:45:03-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140430 08:46:39-!- travis-ci [~travis-ci@ec2-54-81-53-42.compute-1.amazonaws.com] has joined #wesnoth-dev 20140430 08:46:39< travis-ci> [travis-ci] wesnoth/wesnoth#2487 (master - e087151 : Chris Beck): The build has errored. 20140430 08:46:39< travis-ci> [travis-ci] Build details : http://travis-ci.org/wesnoth/wesnoth/builds/24082456 20140430 08:46:39-!- travis-ci [~travis-ci@ec2-54-81-53-42.compute-1.amazonaws.com] has left #wesnoth-dev [] 20140430 08:46:43-!- Kexoth [~kex@89.205.75.19] has joined #wesnoth-dev 20140430 08:49:35-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 240 seconds] 20140430 08:57:13-!- vultraz_iOS [uid24821@gateway/web/irccloud.com/x-oonyqigsnmhhemaa] has quit [Quit: Connection closed for inactivity] 20140430 08:58:47-!- DCW [~Thunderbi@cpc66863-finc15-2-0-cust393.4-2.cable.virginm.net] has quit [Read error: Connection reset by peer] 20140430 08:59:00-!- DCW [~Thunderbi@cpc66863-finc15-2-0-cust393.4-2.cable.virginm.net] has joined #wesnoth-dev 20140430 09:02:25-!- DCW [~Thunderbi@cpc66863-finc15-2-0-cust393.4-2.cable.virginm.net] has quit [Remote host closed the connection] 20140430 09:07:31-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20140430 09:10:35-!- iceiceice [~chris@cpe-66-108-20-80.nyc.res.rr.com] has quit [Quit: Leaving] 20140430 09:13:29-!- ancestral [~ancestral@12.23.74.29] has quit [Quit: i go nstuf kthxbai] 20140430 09:33:12-!- sachith500 [~kvirc@112.134.101.236] has quit [Read error: Connection reset by peer] 20140430 09:33:40-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20140430 09:42:18-!- Octalot [~noct@27.74.208.46.dyn.plus.net] has quit [] 20140430 10:47:08-!- Anakonda [Anakonda@88.148.200.195] has joined #wesnoth-dev 20140430 10:53:31-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20140430 10:56:11-!- prophile [~alynn@oftn/member/prophile] has joined #wesnoth-dev 20140430 10:59:11< Necrosporus> Where are textures used to create official maps? 20140430 11:02:32< Necrosporus> I mean intro maps 20140430 11:03:57-!- trademark_ [~trademark@nsg93-8-88-175-59-164.fbx.proxad.net] has joined #wesnoth-dev 20140430 11:05:00-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has joined #wesnoth-dev 20140430 11:09:35-!- trademark_ [~trademark@nsg93-8-88-175-59-164.fbx.proxad.net] has quit [Ping timeout: 265 seconds] 20140430 11:09:54-!- irker940 [~irker@fehu.ai0867.net] has quit [Quit: transmission timeout] 20140430 11:14:40< zookeeper> Necrosporus, nowhere, at least not yet 20140430 11:16:29< Necrosporus> i want to add a map to my addon, like in other campaign, one with dots and sword cruxes, is there anything you might suggest to read beside code of scenarios where such maps present? 20140430 11:24:55< zookeeper> nope 20140430 11:47:30-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20140430 11:54:10-!- fabi [~fabi@wesnoth/developer/fendrin] has quit [Quit: Konversation terminated!] 20140430 11:58:13< Necrosporus> Actually there's some info in file core/images/maps/EDITING-HOWTO 20140430 12:00:00< Necrosporus> it recommends to do `svn co http://svn.gna.org/svn/wesnoth/branches/resources/cartography-tools` and read maps-howto 20140430 12:08:00-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20140430 12:11:19< zookeeper> for the old-style maps 20140430 12:12:10< zookeeper> not to mention it's obsolete info anyway 20140430 12:13:35< zookeeper> well, looks like the info's at least since been updated, which i wouldn't have expected :p 20140430 12:14:47-!- thunderstruck [~zaibotren@cpc13-sgyl31-2-0-cust696.18-2.cable.virginm.net] has joined #wesnoth-dev 20140430 12:16:01-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20140430 12:17:49< Necrosporus> Is there anything better? 20140430 12:23:19< zookeeper> better for what purpose? 20140430 12:48:41< Aishiko> that page might be outdated since the code base now resides on github and not gna.org 20140430 12:50:51< AI0867> Necrosporus: if you want the dots and such, you should look into 'trackplacer' 20140430 12:51:33< Necrosporus> AI0867, what's that? 20140430 12:52:04< Necrosporus> Aishiko, that's fine, but is map stuff moved to github too? 20140430 12:52:32< Necrosporus> what's the URL for new version of carthography tools or whatever it's named currently 20140430 12:53:45-!- Kexoth [~kex@89.205.75.19] has quit [Remote host closed the connection] 20140430 12:54:33-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140430 12:54:33< AI0867> Necrosporus: one of the python tools 20140430 12:54:36-!- Aishiko [~Aishiko@cpe-065-191-176-226.nc.res.rr.com] has quit [Remote host closed the connection] 20140430 12:54:48< AI0867> it's made for placing tracks and such onto maps using WML 20140430 12:55:36< Necrosporus> ok, it's present in my installation 20140430 12:55:43< Necrosporus> What's about map itself? 20140430 12:59:01-!- cib [~cib@132.231.178.26] has joined #wesnoth-dev 20140430 12:59:25-!- cib is now known as Guest17823 20140430 13:00:01< zookeeper> you can't make a new-style map yourself, if that's still what you're asking. 20140430 13:03:07-!- mattsc [~mattsc@wesnoth/developer/mattsc] has quit [Quit: Computer's napping] 20140430 13:12:47< Necrosporus> zookeeper, I have no idea what's a new-style map though 20140430 13:12:55< Necrosporus> or old style... 20140430 13:13:15-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth-dev 20140430 13:13:24< zookeeper> old-style: 1.10 titlescreen 20140430 13:13:30< zookeeper> new-style: 1.11/1.12 titlescreen 20140430 13:14:06< Necrosporus> Ok, so I didn't see it yet even, as I'm planning to try 1.12 only after release 20140430 13:14:32< Necrosporus> Though if you think me trying betas could really help, I might 20140430 13:15:20< Necrosporus> I guess, for my purpose old-style is fine 20140430 13:15:54< zookeeper> there's a guide for old-style maps in the wiki, look in the art section 20140430 13:16:06< zookeeper> no idea how complete it is. 20140430 13:18:07< Necrosporus> http://wiki.wesnoth.org/Cartography_for_Wesnoth this one? seem quite incomplete, map-howto in svn was better 20140430 13:22:44-!- sachith500 [~kvirc@112.134.101.236] has joined #wesnoth-dev 20140430 13:28:19-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20140430 13:33:09-!- Guest17823 [~cib@132.231.178.26] has quit [Ping timeout: 265 seconds] 20140430 13:33:53-!- sachith500 [~kvirc@112.134.101.236] has quit [Ping timeout: 276 seconds] 20140430 13:40:29-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20140430 13:40:39-!- c74d is now known as Guest44170 20140430 13:41:46-!- Guest44170 [~c74d3a4eb@2002:4404:712c:0:76de:2bff:fed4:2766] has quit [Ping timeout: 252 seconds] 20140430 13:42:53-!- crimson_penguin [~crimson_p@wesnoth/developer/crimsonpenguin] has quit [Ping timeout: 252 seconds] 20140430 13:43:40-!- c74d [~c74d3a4eb@2002:4404:712c:0:76de:2bff:fed4:2766] has joined #wesnoth-dev 20140430 13:44:20-!- crimson_penguin [~crimson_p@ec2.happyspork.com] has joined #wesnoth-dev 20140430 14:05:10-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20140430 14:07:58-!- mattsc [~mattsc@wesnoth/developer/mattsc] has quit [Quit: Computer's napping] 20140430 14:09:03-!- noy [~Noy@wesnoth/developer/noy] has quit [Client Quit] 20140430 14:27:00-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth-dev 20140430 14:32:04-!- happygrue [~happygrue@wesnoth/developer/wintermute] has joined #wesnoth-dev 20140430 14:42:51-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20140430 14:46:12-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Ping timeout: 245 seconds] 20140430 14:46:36-!- Sulfur [~Miranda@p5B0086F3.dip0.t-ipconnect.de] has joined #wesnoth-dev 20140430 14:47:11-!- bagzie [~bag@85-76-109-7-nat.elisa-mobile.fi] has quit [] 20140430 14:57:13-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20140430 14:57:26-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20140430 15:11:59-!- prophile [~alynn@oftn/member/prophile] has quit [Quit: The Game] 20140430 15:23:21-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20140430 15:27:30-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Client Quit] 20140430 15:33:00-!- ancestral [~ancestral@12.23.74.29] has joined #wesnoth-dev 20140430 15:45:53-!- prophile [~alynn@oftn/member/prophile] has joined #wesnoth-dev 20140430 15:52:13-!- ancestral [~ancestral@12.23.74.29] has quit [Quit: ancestral] 20140430 15:52:35-!- Aishiko_laptop [~unknown@198.85.71.253] has joined #wesnoth-dev 20140430 15:54:31-!- Necrosporus [~Necrospor@unaffiliated/necrosporus] has quit [Ping timeout: 252 seconds] 20140430 15:56:28-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20140430 15:57:13-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20140430 15:57:24-!- Kexoth [~kex@89.205.75.19] has joined #wesnoth-dev 20140430 15:57:59-!- kex [~kex@89.205.75.19] has quit [Read error: Connection reset by peer] 20140430 15:58:00-!- ancestral [~ancestral@12.23.74.29] has joined #wesnoth-dev 20140430 16:05:24-!- prophile [~alynn@oftn/member/prophile] has quit [Read error: Connection reset by peer] 20140430 16:08:34-!- ancestral [~ancestral@12.23.74.29] has quit [Quit: i go nstuf kthxbai] 20140430 16:09:53-!- Aishiko_laptop [~unknown@198.85.71.253] has quit [Ping timeout: 276 seconds] 20140430 16:10:58-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20140430 16:13:00-!- prophile [~alynn@oftn/member/prophile] has joined #wesnoth-dev 20140430 16:17:07-!- crimson_penguin [~crimson_p@ec2.happyspork.com] has quit [Changing host] 20140430 16:17:07-!- crimson_penguin [~crimson_p@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20140430 16:17:18-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20140430 16:20:07-!- timotei_ [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20140430 16:22:29-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 264 seconds] 20140430 16:40:39-!- Bodhi-Baum [~Bodhi@dslb-084-063-019-098.pools.arcor-ip.net] has joined #wesnoth-dev 20140430 16:55:05-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20140430 16:55:57-!- irker752 [~irker@fehu.ai0867.net] has joined #wesnoth-dev 20140430 16:55:57< irker752> wesnoth: Alexander van Gessel wesnoth:alep_android_port 4e98216cc8df / src/hotkeys.cpp: Android port 1.10.7-28 update from Alessandro Pira http://git.io/Asbcsg 20140430 17:08:27-!- Bodhi-Baum [~Bodhi@dslb-084-063-019-098.pools.arcor-ip.net] has quit [Ping timeout: 252 seconds] 20140430 17:09:04-!- Bodhi-Baum [~Bodhi@dslb-084-063-041-252.pools.arcor-ip.net] has joined #wesnoth-dev 20140430 17:13:21-!- Anakonda [Anakonda@88.148.200.195] has quit [Ping timeout: 252 seconds] 20140430 17:22:15-!- Anakonda [Anakonda@88-148-200-195.bb.dnainternet.fi] has joined #wesnoth-dev 20140430 17:22:45-!- ancestral [~ancestral@17.114.44.148] has joined #wesnoth-dev 20140430 17:23:31-!- _8680_ [~8680@2002:4404:712c:0:888:36a1:33fa:833d] has quit [Ping timeout: 240 seconds] 20140430 17:24:19-!- _8680_ [~8680@2002:4404:712c:0:e0d0:bc7:4df5:b80d] has joined #wesnoth-dev 20140430 17:34:51-!- Bodhi-Baum [~Bodhi@dslb-084-063-041-252.pools.arcor-ip.net] has quit [Ping timeout: 250 seconds] 20140430 17:37:41-!- bagzie [~bag@85-76-108-127-nat.elisa-mobile.fi] has joined #wesnoth-dev 20140430 17:40:58-!- _8680_ [~8680@2002:4404:712c:0:e0d0:bc7:4df5:b80d] has quit [Ping timeout: 246 seconds] 20140430 17:41:29-!- Bodhi-Baum [~Bodhi@dslb-084-063-003-030.pools.arcor-ip.net] has joined #wesnoth-dev 20140430 17:44:07-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20140430 17:47:53-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20140430 17:49:34-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20140430 17:50:15-!- _8680_ [~8680@2002:4404:712c:0:9ca8:e63d:ed32:5add] has joined #wesnoth-dev 20140430 17:51:06-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20140430 17:52:42-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20140430 17:54:58-!- _8680_ [~8680@2002:4404:712c:0:9ca8:e63d:ed32:5add] has quit [Ping timeout: 246 seconds] 20140430 17:56:04-!- _8680_ [~8680@2002:4404:712c:0:4400:8f75:b076:8e86] has joined #wesnoth-dev 20140430 18:09:04-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Remote host closed the connection] 20140430 18:09:14-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20140430 18:16:40-!- iceiceice [~chris@cpe-66-108-20-80.nyc.res.rr.com] has joined #wesnoth-dev 20140430 18:17:27-!- Duthlet [~Duthlet@wesnoth/mp-mod/Duthlet] has joined #wesnoth-dev 20140430 18:30:37-!- prophile [~alynn@oftn/member/prophile] has quit [Quit: The Game] 20140430 18:32:38-!- Sulfur [~Miranda@p5B0086F3.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 20140430 18:37:43-!- Sulfur [~Miranda@p5B0086F3.dip0.t-ipconnect.de] has joined #wesnoth-dev 20140430 18:38:32-!- EdB [~edb@85.69.242.6] has joined #wesnoth-dev 20140430 18:55:04-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20140430 18:56:23-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Ping timeout: 252 seconds] 20140430 18:57:42-!- ancestral [~ancestral@17.114.44.148] has quit [Quit: ancestral] 20140430 18:59:54-!- prophile [~alynn@oftn/member/prophile] has joined #wesnoth-dev 20140430 19:05:17-!- iceiceice [~chris@cpe-66-108-20-80.nyc.res.rr.com] has quit [Quit: Leaving] 20140430 19:23:35-!- prophile [~alynn@oftn/member/prophile] has quit [Quit: The Game] 20140430 19:26:58-!- vultraz_iOS [uid24821@gateway/web/irccloud.com/x-lhmwkbqiqtonvcod] has joined #wesnoth-dev 20140430 19:28:25-!- Bodhi-Baum [~Bodhi@dslb-084-063-003-030.pools.arcor-ip.net] has quit [Quit: Verlassend] 20140430 19:31:22-!- dacovale [~niklas@dynamic.1.12.c0255ce81c80.4ce6762eb925.afb.bredband2.com] has joined #wesnoth-dev 20140430 19:32:27-!- prophile [~alynn@oftn/member/prophile] has joined #wesnoth-dev 20140430 19:45:18-!- Guest17823 [~cib@p20030067CE5CD701267703FFFEE75B84.dip0.t-ipconnect.de] has joined #wesnoth-dev 20140430 19:55:55-!- irker752 [~irker@fehu.ai0867.net] has quit [Quit: transmission timeout] 20140430 19:58:31-!- Guest17823 [~cib@p20030067CE5CD701267703FFFEE75B84.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 20140430 20:03:03-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20140430 20:32:33-!- Gambit [~derek@wesnoth/developer/grickit] has joined #wesnoth-dev 20140430 20:34:24-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20140430 20:46:50-!- tomreyn [~tomreyn@megaglest/team/tomreyn] has joined #wesnoth-dev 20140430 20:58:24-!- Jetrel_ is now known as Trollio 20140430 21:00:04-!- Trollio is now known as Jetrel 20140430 21:04:57-!- thunderstruck [~zaibotren@cpc13-sgyl31-2-0-cust696.18-2.cable.virginm.net] has quit [Ping timeout: 245 seconds] 20140430 21:11:56-!- prophile [~alynn@oftn/member/prophile] has quit [Quit: The Game] 20140430 21:12:37-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20140430 21:22:50-!- cib_ [~cib@p20030067CE5CD701267703FFFEE75B84.dip0.t-ipconnect.de] has joined #wesnoth-dev 20140430 21:23:05-!- cib_ [~cib@p20030067CE5CD701267703FFFEE75B84.dip0.t-ipconnect.de] has quit [Client Quit] 20140430 21:32:28-!- iceiceice [~chris@207-237-132-90.ny.subnet.cable.rcn.com] has joined #wesnoth-dev 20140430 21:36:07-!- Sulfur [~Miranda@p5B0086F3.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20140430 21:40:08-!- NateWr [~NateWr@cpc65580-sgyl33-2-0-cust998.18-2.cable.virginm.net] has quit [Quit: Leaving] 20140430 21:54:23< iceiceice> hi, i need advice on a design decision 20140430 21:54:39< iceiceice> i'm trying to make a branch where we use boost::random for rng 20140430 21:55:05< iceiceice> this necessitates that we handle seeds slightly differently, 20140430 21:55:22< iceiceice> all the code in the server and client assumes seeds are ints 20140430 21:55:30< iceiceice> and stores them and retrieves them from configs this way 20140430 21:55:43< iceiceice> they need to actually be uint32_t's 20140430 21:56:03< iceiceice> i thought that the right way to handle this would be to store them to and from configs as strings, 20140430 21:56:06< iceiceice> using a lexical_cast 20140430 21:56:44< iceiceice> but the problem then is that it can throw a bad_lexical_cast, 20140430 21:57:01< iceiceice> which normally is fine but the rng object can be constructed from a config 20140430 21:58:10< iceiceice> i cant properly handle the exception in the initializer list, so if i do it this way then when we load a savegame file with a bad seed string, it will get a bad lexical cast that goes to the very top 20140430 21:58:12-!- gfgtdf [~chatzilla@e177122210.adsl.alicedsl.de] has joined #wesnoth-dev 20140430 21:58:33< iceiceice> i'm not sure what the right way to handle this is, if there is someway to rewrite the rng constructor, 20140430 21:58:55< iceiceice> or if attribute_value can somehow handle this conversion 20140430 21:59:06< gfgtdf> which rng contructor ? 20140430 21:59:24< gfgtdf> looks up logs 20140430 21:59:36< iceiceice> simple_rng 20140430 22:00:04< gfgtdf> i think configs values can store uint64 20140430 22:00:11< gfgtdf> unsigned long long 20140430 22:00:18< iceiceice> i see 20140430 22:00:30< iceiceice> i'm concerned about these like silent conversions though 20140430 22:00:58< iceiceice> when i was testing my branch, i was finding that if you take a random uint32_t from the rng, and cast it to an int, 20140430 22:01:07< iceiceice> the game gives highly biased results 20140430 22:01:15< iceiceice> i guess the high order bits get messed up or something? 20140430 22:01:31< iceiceice> i feel like it just makes more sense to like, store the seeds in configs in hex or something 20140430 22:01:33< gfgtdf> from the simple_rng ? 20140430 22:01:44< iceiceice> no from my replacement 20140430 22:02:41< iceiceice> if you more or less just take simple_rng and make it a wrapper for boost::mt19937 20140430 22:02:46< iceiceice> you get screwed up results 20140430 22:03:39< gfgtdf> i dotn really know how int to uint cast works, but i guess its just teh highed bit of the uint becoming the sign bit of teh int 20140430 22:03:46< gfgtdf> uint to int i meant 20140430 22:05:09< gfgtdf> iceiceice: where exactly o you want to cast uint to int ? 20140430 22:05:26< iceiceice> i dont want to do it anywhere 20140430 22:05:26< gfgtdf> why not changing the full codepath to uint ? 20140430 22:05:33< iceiceice> thats more or less what i am doing 20140430 22:06:49< iceiceice> i guess basically the issue is that i dont completely understand what the config::attribute_value will do in all cases with ints so i'm suspicious, 20140430 22:07:06< iceiceice> it seems much safer to me to write the strings in hex like "0x12332ab" 20140430 22:07:17< iceiceice> i think lexical cast will do that easily for me, so that was the direction i went 20140430 22:10:42< iceiceice> idk maybe its ok to have a bad lexical cast and catch it, i just thought i should ask someone 20140430 22:11:00< iceiceice> gfgtdf: here's my branch https://github.com/wesnoth/wesnoth/pull/160 20140430 22:12:38< gfgtdf> iceiceice: why did you include mt_rng.hpp in random.cpp ? :o 20140430 22:13:05< iceiceice> no reason 20140430 22:13:24< iceiceice> idk i guess we will remove that file anyways? 20140430 22:14:43< gfgtdf> ye the informations in that comment is all outdated, maybe we should renage teh random_new to random then 20140430 22:14:47< gfgtdf> rename 20140430 22:15:08< iceiceice> yeah maybe 20140430 22:15:21< iceiceice> i was thinking also it would be better to take my "boost::random_device" code out 20140430 22:15:27< iceiceice> and maybe make a file "seed_gen" or smth 20140430 22:15:38< iceiceice> then all the stuff that needs to make rng seeds can use that 20140430 22:15:48< iceiceice> also: 20140430 22:15:56-!- EdB [~edb@85.69.242.6] has quit [Quit: Konversation terminated!] 20140430 22:15:59< iceiceice> in my branch, mt_rng is like simple_rng, but it is part of wesnoth_core not wesnoth game 20140430 22:16:07< iceiceice> and it is used by the server, building one for each game 20140430 22:16:11-!- vultraz [~chatzilla@124.109.10.167] has quit [Ping timeout: 252 seconds] 20140430 22:16:12< gfgtdf> iceiceice: i still dont understand why you want to use lexical_cast (level_["random_seed"]) instead of level_["random_seed"].to_unsigned() 20140430 22:16:30< gfgtdf> i thought thats why we have to_unsigned ? 20140430 22:16:32< iceiceice> idk maybe thats exactly what i should do 20140430 22:16:47< iceiceice> i will read again 20140430 22:17:32< gfgtdf> iceiceice: the seed for boost mt is also an unsigend type ? 20140430 22:18:28< iceiceice> yes 20140430 22:22:47-!- mattsc [~mattsc@wesnoth/developer/mattsc] has quit [Quit: Computer's napping] 20140430 22:26:23-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Remote host closed the connection] 20140430 22:26:34-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20140430 22:27:08-!- Kexoth [~kex@89.205.75.19] has quit [Remote host closed the connection] 20140430 22:27:40-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140430 22:28:42-!- dacovale [~niklas@dynamic.1.12.c0255ce81c80.4ce6762eb925.afb.bredband2.com] has quit [Ping timeout: 245 seconds] 20140430 22:28:52< iceiceice> gfgtdf: the thing is, 20140430 22:29:04< iceiceice> the whole point of this rng patch is to get portability 20140430 22:29:27< iceiceice> so i'd rather not have to think about "is unsigned = uint32_t on all platforms i care about" 20140430 22:30:08< iceiceice> idk maybe it would be easy to make a "to_uint32" for config 20140430 22:30:30< iceiceice> i'm not sure if i want to use "to_unsigned" if its just going to give me unsigned int 20140430 22:31:32< iceiceice> apparently there is some unsigned long long thing in there? 20140430 22:31:44< iceiceice> idk i guess maybe i need to read it more 20140430 22:32:02-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 246 seconds] 20140430 22:44:49-!- prophile [~alynn@oftn/member/prophile] has joined #wesnoth-dev 20140430 22:46:31-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth-dev 20140430 22:46:34< gfgtdf> yes there is an unsigned long long, long long is at least 64 bits, which is more than we need. But that should be no problem eigher just add a static_cast and maybe a comment. 20140430 22:47:02< gfgtdf> I am against storing these values as string because i think readbility of config files is more important than supporint system from which we dont even know whether they exist. 20140430 22:49:12< iceiceice> how does this hurt readability? 20140430 22:49:33< iceiceice> imo storing enormous 32bit integers in hex improves readability 20140430 22:50:15< iceiceice> btw, i have a fix for the bad lexical cast, i'm just going to do it in constructor body and not care that it is very slightly less efficient 20140430 22:50:25< gfgtdf> iceiceice: maybe for soneone who is very used to it. 20140430 22:51:28< iceiceice> the numbers aren't human readable anyways, 20140430 22:51:39< iceiceice> all you would ever want to do is check that they are equal / unequal 20140430 22:51:54-!- bagzie [~bag@85-76-108-127-nat.elisa-mobile.fi] has quit [] 20140430 22:53:02< iceiceice> idk i fail to see how there could be a benefit here that outweighs the risk 20140430 22:55:13-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20140430 22:59:12-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20140430 23:09:40-!- ancestral [~ancestral@17.114.44.148] has joined #wesnoth-dev 20140430 23:10:21-!- Anakonda [Anakonda@88-148-200-195.bb.dnainternet.fi] has quit [Read error: Connection reset by peer] 20140430 23:12:36< AI0867> iceiceice: that bias you're seeing might be because the consumer code expects an unsigned value in the int, so all negative values (half of them!) all correspond to one end of the scale 20140430 23:12:49< iceiceice> yeah... 20140430 23:12:52< AI0867> the solution here would be to not cast to an int, and just use it as an unsigned 20140430 23:12:58< iceiceice> yeah 20140430 23:13:19< iceiceice> thats more or less what i did, testing the new version now 20140430 23:14:16< iceiceice> it could probably be done cleaner in some places... 20140430 23:14:48< iceiceice> in the attack code, theres a section where we call next_random() % 100 and compare this with an int 20140430 23:14:53< AI0867> (that is, the game probably expects something compatible with rand(), which, for some reason, only uses the non-negative part of the int it returns 20140430 23:15:01< AI0867> ) 20140430 23:15:04< iceiceice> i was getting compiler warnings "comparing unsigned with signed" 20140430 23:16:50< iceiceice> all the boost documentation touts this "distribution" concept, 20140430 23:16:51< AI0867> why is the int signed? 20140430 23:17:05< iceiceice> its signed because cth_ is singed in the attack code struct 20140430 23:17:06< AI0867> I'm assuming this is the chance to hit or the defense value 20140430 23:17:11< iceiceice> yeah 20140430 23:17:15< AI0867> and why is cth_ signed? 20140430 23:17:19< iceiceice> probably no good reason 20140430 23:18:51-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20140430 23:19:36-!- Velensk [~Velensk@cpe-75-187-86-211.woh.res.rr.com] has joined #wesnoth-dev 20140430 23:21:00< Velensk> Question to anyone who knows anything about python. Does anyone know why a Python IDE might create a .pyc file after running one program but not another? 20140430 23:21:29< AI0867> Velensk: the python interpreter never makes a .pyc file for the file it's running, only for files that are imported 20140430 23:24:10< Velensk> That is something I was told and I'm sure it's right but I just ran a test. I have two scripts I'm working on. I deleted everything except the script files themselves and ran both programs and one of them generated a .pyc file for every file it used, the other generated one for every file it used except the one with the main function. 20140430 23:26:00< iceiceice> gfgtdf: hmm it looks like lexical_cast doesnt write uint32's in hex like i thought, 20140430 23:26:10< iceiceice> but i guess i'm not going to question lexical_cast 20140430 23:26:23< iceiceice> i guess we use our own lexical_cast anyways, not the boost one? 20140430 23:26:41-!- {V} [~V@72-69-ftth.on.nl] has quit [Ping timeout: 276 seconds] 20140430 23:27:32-!- {V} [~V@72-69-ftth.on.nl] has joined #wesnoth-dev 20140430 23:28:51-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20140430 23:30:11< Velensk> AI0867: I suspect I'm operating on a false principle, but I believe that with one of those files one could run a script on any machine with Python even if they don't have every package needed to make the program. Is that correct? If not is there some way to compile a script so that not everyone using it has to have all of the packages that went into making it? 20140430 23:31:13-!- ancestral [~ancestral@17.114.44.148] has quit [Quit: ancestral] 20140430 23:32:37< gfgtdf> iceiceice: idk, i think there are at least some parts of teh that use boost:lexical_cast, 20140430 23:33:33< gfgtdf> iceiceice: cfg["aa"] = "5", will have teh same result as cfg["aa"] = 5, becasue teh assignment oerator automaticly tries to convert the string to an numic type if possible. 20140430 23:33:59< iceiceice> idk i wanted to use boost::lexical_cast for the seeds, but apparently its not available 20140430 23:34:02< iceiceice> so i used lexical_cast 20140430 23:34:07< iceiceice> maybe that was a bad idea 20140430 23:34:14< gfgtdf> how 'not_available' ? 20140430 23:36:54< gfgtdf> iceiceice: maybe you just didnt didn't include boost/lexical_cast.hpp? I personaly don't know how we define our own lexical cast, i have heared that boost_lexical cast can be slow sometimes and it makes sense to write a special template specialisation for boost::lexical_cast for std::string<->int to fix that. 20140430 23:37:42< iceiceice> i see 20140430 23:38:02< iceiceice> i didnt realize that 20140430 23:38:38< iceiceice> i mean ultimately all i really care is that when i lexical cast a uint32 to string, and then back, i will get the exact same thing 20140430 23:39:04< iceiceice> and i guess that if the string goes to cfg, and i lexical cast the config::attribute_value to uint32, i will still get the exact same thing 20140430 23:39:06< iceiceice> on all platforms 20140430 23:39:22< iceiceice> i thought boost would do that, if our lexical cast will to then it doesnt matter 20140430 23:39:34< iceiceice> s/to/too 20140430 23:39:50< gfgtdf> iceiceice: and why did you decide against the to longlong thing ? 20140430 23:40:30< iceiceice> theres a couple things you could refer to, 20140430 23:40:57< iceiceice> ofc i dont want the signed long long 20140430 23:41:14< iceiceice> there are some functions of attribute value that take unsigned long long, 20140430 23:41:22< iceiceice> but there doesnt seem to be an unsigned long long 20140430 23:41:39< iceiceice> and even then i'm not sure if long long is actually the same on all platforms 20140430 23:42:59< iceiceice> *there doesn't seem to be a "to_unsigned_long_long" 20140430 23:43:50< gfgtdf> hm i personaly don't know why longlong retuirnes signed, especialy if the underlaying type is unsigned, and all the code that uses also expecty an unsogned. Long long is guarantee to be at least 64 bit, which is enough for your 32 bit type. 20140430 23:44:54< AI0867> Velensk: I believe .pyc is simply a bytecode version of the .py, yes 20140430 23:45:34< AI0867> but the interpreter does check if the .py has been updated, so I'm not sure if it'll accept loose .pyc files 20140430 23:48:15< AI0867> as for the .pyc generation. The latter case is what I expect. Regarding the former, it's possible your IDE does something funny, or maybe one of your modules imports the main file 20140430 23:48:31< Velensk> AI0867: Thanks. That and a couple tests I just ran tell me there's probably a better way of doing what I'm trying to do. I just need to find it. 20140430 23:50:11< Velensk> That shouldn't be the case. Though, if I do end up having a use for having just the .pyc file I could just create a file to import it. 20140430 23:52:06-!- prophile [~alynn@oftn/member/prophile] has quit [Quit: The Game] 20140430 23:52:31-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20140430 23:55:24< iceiceice> gfgtdf: yeah i have no idea why it is that way 20140430 23:55:43< iceiceice> i'm personally loathe to change it though, 20140430 23:55:51< iceiceice> if i do it will change how configs are parsed in some cases 20140430 23:55:59< AI0867> iceiceice: as a quick hack, you can just & off the top bit, of course 20140430 23:56:14< iceiceice> AI0867: I guess we were doing this? 20140430 23:56:23< AI0867> ? 20140430 23:56:24< iceiceice> there was a lot of & 0x7FFFFFF 20140430 23:56:27< iceiceice> in the random code 20140430 23:56:27< AI0867> ah, yes, that 20140430 23:56:30< gfgtdf> iceiceice : i think src/statistics.cpp is currently the onyl code that uses that functions 20140430 23:57:13-!- vultraz_iOS [uid24821@gateway/web/irccloud.com/x-lhmwkbqiqtonvcod] has quit [Quit: Connection closed for inactivity] 20140430 23:57:30< gfgtdf> iceiceice: i wouldn't like to change it neigher but mainy because that always invokes a complete rebuild. 20140430 23:57:59< iceiceice> hehe 20140430 23:58:51< iceiceice> idk i dont want to screw around with it if i can avoid, i already wrote the lexical cast thing and it seems to be working 20140430 23:58:54< iceiceice> and it makes more sense to me 20140430 23:59:23< iceiceice> string is totally unambiguous, i dont know the C spec that well to know if there is some edge case where long long is something different --- Log closed Thu May 01 00:00:08 2014