00:22:33 -!- illusion is now known as Guest33650 00:38:01 Could someone help with installing ccache? I used this https://askubuntu.com/questions/470545/how-do-i-set-up-ccache as a guide, but I messed up somewhere, and it seems that multiple uses of commands listed there overlap with each other. 01:03:52 -!- illusion is now known as Guest29639 01:19:33 Unstable branch on crawl.develz.org updated to: 0.21-a0-404-g291f19a (34) 01:39:36 i don't understand what you mean by "multiple uses of..." or "overlap with each other" 01:42:51 Nevermind, I think I got it. 01:44:49 I still don't understand though why outputs for "which g++ gcc" are different in ctrl-alt-F1 console and in ctrl-alt-F7 (graphical) console. 01:45:36 probably those two things load different rc files? like .bashrc vs .bash_profile 01:45:53 hmm, I see 01:46:09 So I have to remember to always use X console when compiling 01:46:43 well, or fix your rc files 01:47:15 heh, I'm afraid of messing something up again 01:47:20 http://www.linuxjournal.com/content/profiles-and-rc-files describes which files are loaded when; the ctrl-alt-f1 console is probably a login shell 01:47:42 but i guess it's not so helpful 01:47:55 https://crawl.develz.org/mantis/view.php?id=11241#bugnotes 01:47:56 i never use console sessions tbh 01:48:36 if your ccache PATH stuff is in .bashrc you can try adding it to .profile as well, and vice versa, and maybe that will fix your console sessions 01:50:08 Is it ok if I add it in several files? 01:50:38 yes, it is fine to have PATH=PATH:foo repeated 01:50:42 er, $PATH:foo 01:51:19 it just appends, and duplicate entries won't harm anything (i guess if you had hundreds or thousands of duplicates you would slow things down a bit) 01:51:41 At some point I had several "/usr/lib/ccache:" entries in $PATH and it scared Me 01:51:58 heh 01:52:11 it's fine though 01:53:15 Anyway, the new patch didn't require delving into item_def::name 01:57:14 Windows builds of master branch on crawl.develz.org updated to: 0.21-a0-404-g291f19a 01:57:18 Yermak: patch looks reasonable to me. i was thinking it'd be nicer to unify the if/else clauses and print "steals %s of your %s", where the first %s is either the number stolen, or "all" in the case where you have none left. thinking about it some more though i think your version is better because of non-stacking items like your weapon 01:57:36 i can't merge it tonight but if nobody's gotten to it by tomorrow you can poke me 01:59:00 Btw, how does this usually work? Is there any schedule for checking for new bugs/patches on mantis? 02:48:23 Yermak: i dunno how anyone else works. i usually don't look at a mantis issue i'm not subscribed to unless someone mentions it in here. i prefer github pull requests since they're easier to merge and easier to look through, plus give feedback on 02:49:23 Do I understand it right that I'm not able to do pull requests yet? 02:49:42 anyone can send a pull request 02:49:45 oh 02:49:49 you just need a github account 02:49:53 eh? if you have a github account, you can fork the repo, make yoru patches on a branch, and submit a PR 02:50:13 you cant *merge* a PR but anyone can submit one 02:53:09 Monster database of master branch on crawl.develz.org updated to: 0.21-a0-404-g291f19a 03:48:58 -!- amalloy is now known as amalloy_ 03:52:02 -!- amalloy_ is now known as amalloy 03:56:55 -!- aditya1 is now known as aditya 04:21:40 03Aidan Holm02 07https://github.com/crawl/crawl/pull/636 * 0.21-a0-402-g6da4acc: Fix sidebar for large tile_font_stat_size 10(23 hours ago, 1 file, 10+ 23-) 13https://github.com/crawl/crawl/commit/6da4accba9f4 04:39:45 -!- amalloy is now known as amalloy_ 06:01:03 New branch created: pull/637 (1 commit) 13https://github.com/crawl/crawl/pull/637 06:01:03 03Mindcrafter02 {GitHub} 07https://github.com/crawl/crawl/pull/637 * 0.21-a0-405-g4070246: Add files via upload 10(12 minutes ago, 2 files, 26+ 10-) 13https://github.com/crawl/crawl/commit/407024641012 07:05:10 |amethyst: do you have any opinions on UI event/state handling? 07:07:32 I've noticed that a lot of code uses ad-hoc event handling loops 07:09:09 !source directn.cc:2035 07:09:09 https://github.com/crawl/crawl/blob/master/crawl-ref/source/directn.cc#L2035 07:10:34 ^ for example 07:32:59 !source menu::do_menu 07:32:59 Can't find menu::do_menu. 07:33:10 !source Menu::do_menu 07:33:10 1/1. https://github.com/crawl/crawl/blob/master/crawl-ref/source/menu.cc#L345 08:36:55 hello. i have a suggestion i would like to make. 08:37:32 there is a predetermined temple layout that involves lugonu altars scattered throughout the temple. i would like to suggest that the exit stairs out of the temple be changed from UP-stairs to DOWN-stairs. 08:38:10 it would not change much as far as i can see, but it would suit the theme very well. i don't know if it would break the autotravel feature 08:57:04 I don't see how that suites the theme well, but regardless of that it would require some pretty bad special-casing 08:57:40 Definitely not worth adding a special case like that 08:58:39 <|amethyst> something like that ("flip all stairs on the current level, but they still take you where the would have taken you") sounds more like a Xom effect 08:58:57 <|amethyst> s/the would/they would/ 09:12:34 -!- mad0wl is now known as ig0rbit 09:53:29 -!- Amnesiac_ is now known as Amnesiac 10:47:21 -!- amalloy_ is now known as amalloy 11:54:59 -!- Tarara is now known as Taraiph 13:07:51 -!- molotove2 is now known as molotove1 13:08:21 -!- molotove1 is now known as molotove[work] 13:09:59 New branch created: pull/638 (2 commits) 13https://github.com/crawl/crawl/pull/638 13:10:00 03gammafunk02 {GitHub} 07https://github.com/crawl/crawl/pull/638 * 0.21-a0-405-ga3f67ec: A new epic file for the 21st century 10(10 minutes ago, 1 file, 6+ 0-) 13https://github.com/crawl/crawl/commit/a3f67ecd3078 13:10:00 03gammafunk02 {GitHub} 07https://github.com/crawl/crawl/pull/638 * 0.21-a0-406-g15f24cc: Another epic commit 10(6 minutes ago, 1 file, 3+ 0-) 13https://github.com/crawl/crawl/commit/15f24cc3d958 13:12:17 disregard that poop, I was testing something 13:12:38 I did not realize it would make a PR to crawl 13:12:44 I blame amalloy 100% for this one 13:13:05 i accept 13:13:43 tyvm 13:18:46 gammafunk: NaNoWriMo is coming up. with prose as flowing as the stuff in that PR i'm sure you could write a heck of a novel 13:23:54 you've seen my other work? 13:23:57 ??poetry[15 13:23:57 poetry[15/18]: <|amethyst> stuff: here it is, this poop---all the things in our beautiful world 13:24:21 |amethyst admired it so much he put it in learndb 13:43:59 good thing the commits are verified; I'd be worried otherwise 13:44:32 Are there any rules on things like use of lambdas? 13:45:20 aidanh: you have to use as many as you can 13:45:25 is my rule 13:46:40 depends how big of a stack segment you get 14:00:34 Linguinho (L3 CeAM) ASSERT(load_mode != LOAD_VISITOR) in 'files.cc' at line 1352 failed. (D:255) 14:19:04 <|amethyst> gammafunk: actually, nicolae- added it, but credited me because I was the one who added punctuation I guess 14:19:56 ah 14:20:12 tbh I don't even remember where it came from 14:20:20 <|amethyst> http://s-z.org/crawl-dev/%23%23crawl-dev-20160110.lg 14:20:29 <|amethyst> came from http://sprunge.us/UdDW 14:20:47 oh right 14:21:33 welp, I should never write any more code ever again 14:21:49 given my innate level of talent, that poop code is probably the pinnacle for me 14:31:38 -!- molotove[work]1 is now known as molotove[work] 15:39:48 gammafunk: |amethyst: i am getting ERR: /crawl-master/crawl-0.19/data/dat/des/builder/shops.des:484: unfinished string near '" ; 15:39:49 but this time the line actually isnt a comment 15:39:53 but it is crashing the came 15:39:56 game* 15:44:29 <|amethyst> ZiBuDo: even after building with a newer flex? 15:44:35 yea 15:44:41 trying .20 right no 15:44:42 w 15:44:42 <|amethyst> ZiBuDo: hm 15:44:44 <|amethyst> ZiBuDo: wait 15:44:55 that line has ''' in it 15:45:04 that is all i know xD 15:46:04 <|amethyst> hmm 15:46:24 <|amethyst> it's possible the level compiler didn't get rebuilt, since the .ypp file hasn't changed 15:46:31 lmfao 15:46:34 i dont even know 15:46:41 <|amethyst> can you check the timestamps on your util/levcomp.lex.cc ? 15:46:43 should i rebuild the virus 15:46:58 <|amethyst> in the build directory 15:46:58 1 sec 15:47:53 <|amethyst> if it's older than your installation of flex, you'll need to rm util/levcomp.lex.* util/levcomp.tab.* 15:47:57 wait |amethyst where is the build directory, is this for a specific version? 15:48:37 <|amethyst> no, it's shared: dgamelaunch-config/crawl-build/crawl-git-repository/ 15:48:43 ah ok 15:48:55 <|amethyst> that's why there's just a single lock for rebuilds instead of one per version 15:49:20 <|amethyst> (that, and so devs can't eat up all the CPU time by spamming simultaneous rebuilds :) 15:49:21 yea it is older 15:49:36 and .20 failed same way 15:49:44 <|amethyst> remove those file or just make clean, then rebuild 15:50:04 yea ill make clean 15:50:15 <|amethyst> I bet that the level compiler files (especially the .lpp lexer) didn't change from 0.20 to trunk 15:50:17 -!- jefus- is now known as jefus 15:50:34 <|amethyst> so it thought it just needed to recompile the generated .cc into .o, but not regenerate the .cc 15:50:43 <|amethyst> hm 15:51:02 <|amethyst> maybe we should put a check somewhere for sufficiently old fex 15:51:05 <|amethyst> flex 15:51:12 !messages 15:51:12 (1/1) Ge0ff said (21h 59m 6s ago): Lag and freezes in both webtiles and console. Plz help 15:51:22 !tell Ge0ff looking at it. 15:51:22 TZer0: OK, I'll let ge0ff know. 15:51:23 <|amethyst> and fall back to the versions in prebuilt/ if so, as we already do if there is no flex at all 15:55:13 alright rebuilding 19 to try that 15:56:09 <|amethyst> hm 15:56:10 <|amethyst> oh 15:56:27 <|amethyst> I was about to say "surprised it happened with 0.19" because I know the grammar has changed 15:56:35 <|amethyst> but, I bet the lexer hasn't 15:57:36 <|amethyst> yeah, the .lpp hasn't changed since 15:57:40 <|amethyst> %git 2e82f52 15:57:40 07|amethyst02 * 0.17-a0-1452-g2e82f52: Replace a few straggling NULLs with nullptr. 10(2 years, 4 months ago, 12 files, 32+ 31-) 13https://github.com/crawl/crawl/commit/2e82f5273499 16:03:52 huh 16:03:58 |amethyst 16:04:10 so i did make clean virus=1 in dgamelaunch 16:04:20 then installed and copied 16:04:31 and still got the error 16:04:34 did i miss something? 16:05:02 oh 16:05:07 it doesnt look like the file actually changed 16:05:12 so obviously i missed something 16:05:54 <|amethyst> ZiBuDo: no, not in dgamelaunch 16:06:10 <|amethyst> change into that crawl repo and make clean from the crawl source directory 16:06:42 <|amethyst> then trigger a crawl rebuild the same way you did yesterday (drop the latest git version from the versions db and remove the 0.foo binaries) 16:06:49 so in here /home/crawl-dev/dgamelaunch-config/crawl-build/crawl-git-repository/ 16:07:07 what are the 0.foo binariers, are those in the usr/games folder? 16:08:07 <|amethyst> hmm 16:08:26 <|amethyst> actually, looking over the makefile, make clean might not do it 16:08:43 <|amethyst> yeah, 0.foo binaries are $chroot/usr/games/crawl-0.20 etc 16:08:43 oh bo 16:08:47 ok 16:08:57 <|amethyst> hm 16:09:18 i think the makefile did something 16:09:19 <|amethyst> so in crawl-git-repository/ do cd crawl-ref/source 16:09:23 i am trying it right now 16:09:37 <|amethyst> yeah, but it might not have triggered those specific files to rebuild 16:09:38 oh i am rebuilding 19 after make clean in source 16:09:48 ah 16:10:09 <|amethyst> first do touch util/levcomp.lpp 16:10:13 <|amethyst> before the rebuild 16:10:27 that exists right now 16:10:28 <|amethyst> (you can kill make to cancel the rebuild) 16:10:30 <|amethyst> yes 16:10:36 <|amethyst> touch also updates the timestamp 16:10:42 oh ok 16:10:49 <|amethyst> so it will be new and the makefile knows it needs to run lex on it again 16:10:51 i didnt realize what we were doing with that 16:10:52 yea 16:11:18 <|amethyst> .lpp is lex input (usually it's .l, but the pp signifies C++) 16:11:23 so just touch it then remake 16:11:39 <|amethyst> touch it and then run the usual update procedure 16:11:45 kk 16:11:52 <|amethyst> not just make, that won't actually install it 16:11:58 <|amethyst> (and many of the options would be wrong) 16:12:14 so is the update process not just the script? 16:12:36 <|amethyst> dgl update-stable 0.19 16:12:40 yea k 16:12:45 just making sure there wasnt more 16:12:45 TZer0 (L2 BaIE) (D:1) 16:12:45 Lavrengius (L1 NaSk) (D:1) 16:12:46 kalodont (L2 KoEn) (D:1) 16:12:47 Andry07 (L3 GrFi) (D:2) 16:12:48 Pereza0 (L13 FeEn) (Lair:5) 16:12:49 Ivernyr (L5 DrCj) (D:3) 16:12:51 Romulous (L3 MiFi) (D:1) 16:12:53 nano (L27 SpAs) (Crypt:3) 16:13:08 Webtiles server restarted. 16:13:09 <|amethyst> ZiBuDo: you might need to remove the existing binaries so it will rebuild the same version, but it sounds like you did that 16:13:19 yea 16:13:20 <|amethyst> ZiBuDo: and for trunk you'll have to delete a row from the versions db 16:13:28 i am figuring out how this actual works lol 16:13:30 <|amethyst> but otherwise nothing extra 16:14:04 <|amethyst> I was the primary developer on it for a few years, and I don't know how all of it works 16:14:32 yea i spend enough time at work trying to figure out what other people have done but i dont have much experience with in depth c++ dev 16:14:48 <|amethyst> but I had to muck with enough of the build scripts that I know how most of that works, and for the parts I don't know, I know where to look in the code 16:14:58 <|amethyst> well, dgamelaunch-dev isn't C++ 16:15:14 <|amethyst> unfortunately, shell scripts are in a lot of ways worse than C++ :) 16:15:18 lmao 16:15:54 <|amethyst> you want to know the "standard" way to add two numbers? 16:15:58 yea most of the errors i get from doing this server are because of c++ other errors in python etc i can debug more easily since at least i know what's happening 16:16:02 lol sure 16:16:02 <|amethyst> total=$((user + system)) 16:16:13 <|amethyst> the $ and double parentheses are important 16:16:16 and u need double parentheses because? 16:16:18 <|amethyst> as is not having space before the = 16:16:31 <|amethyst> because $(( )) is the Posix shell way of doing arithmetic 16:16:36 wow 16:16:47 <|amethyst> shell is mostly text substitution 16:16:55 <|amethyst> so numbers are kind of an afterthought :) 16:17:06 <|amethyst> $( ) already means "run this program and paste in its output" 16:17:31 <|amethyst> and ${foo} is for a variable name when you need to separate it from immediately adjacent text 16:19:20 <|amethyst> also, even in the line I showed you, there's still text substitution going on 16:20:16 <|amethyst> the shell evaluates the arithmetic expression inside $(( )), substitutes the number as a decimal string in place of the $(( )), then assigns that string into a shell variable 16:21:56 <|amethyst> oh, and the user and system variables are also strings, because all variables are, but using a variable name in $(( )) evaluates the variable's contents as an arithmetic expression 16:22:13 it's like casting cancer 16:22:32 <|amethyst> foo="8+2"; bar="foo"; echo $((bar + 5)) 16:22:53 <|amethyst> will print 15, but foo is not 10, it's the string "8+2" 16:23:09 <|amethyst> for that matter, bar is not 10 or "8+2", it's the string "foo" 16:23:40 that's good 16:23:40 <|amethyst> when people complain about PHP being a fractal of bad design, I smile to myself 16:23:45 lol 16:25:09 <|amethyst> though I guess, to be fair, really the shell is like a Rube Goldberg device 16:25:45 that's fair, and with php you have facebook is doing all that optimization on that language for some reason as well 16:25:47 <|amethyst> or someone found a pocketknife and MacGyvered it into a programming language 16:26:04 more like they found a pcoketknife and made it a programming language 16:26:14 <|amethyst> that's what I mean :) 16:27:41 lol im dumb that is what you wrote 16:29:05 <|amethyst> well, it depends on you knowing that television series 16:29:20 <|amethyst> if not, then for all you know it could mean "stabbed" instead of "made" 16:29:21 <|amethyst> :) 16:33:22 IT WORKS 16:33:29 rip 16:33:31 another crash 16:33:38 famous last words... 16:34:02 ERR: what(): Map inf is invalid: nicolae_temple_hex_pool 16:49:41 New branch created: pull/639 (1 commit) 13https://github.com/crawl/crawl/pull/639 16:49:41 03Aidan Holm02 07https://github.com/crawl/crawl/pull/639 * 0.21-a0-402-g8b58c9e: Fix health minibars being drawn outside viewport 10(10 minutes ago, 1 file, 1+ 1-) 13https://github.com/crawl/crawl/commit/8b58c9e44db7 17:00:59 <|amethyst> ZiBuDo: ah, that's probably the des cache 17:01:40 how to clear xD? 17:03:11 <|amethyst> perhaps rm -rf chroot/crawl-master/crawl-*/saves/cache.*-*/ 17:03:28 <|amethyst> then the caches will be rebuilt the next time those versions are run 17:03:50 so i have to rebuild ? 17:04:10 <|amethyst> cache rebuild happens automatically first time you run if the cache is missing 17:04:17 <|amethyst> so you don't need to rebuild crawl again 17:04:27 <|amethyst> just remove those directories and try running it again 17:04:45 that worked! 17:04:49 <|amethyst> awesome! 17:04:50 ty based |amethyst 17:04:59 time to install other versions 17:05:08 weeeelp, I need to have my host replace my drives and I'll have to do raid syncing and shit 17:05:25 I have a fun weekend ahead 17:05:25 <|amethyst> TZer0: eep 17:05:58 <|amethyst> running crawl on raid, look at Mr Fancy Pants here 17:06:11 Essentially, both drives in the raid are showing bad values. 17:06:30 <|amethyst> the perils of matched pairs: they often come from the same batch 17:06:42 5Yeah. 17:06:46 *Yeah 17:15:02 Going to request a new hard drive before they remove the old ones so I can just throw it into the raid and have it synced 17:16:22 Stable (0.20) branch on crawl.jorgrun.rocks updated to: 0.20.1-1-g8b1a95d66d 17:17:07 alright |amethyst last thing is to get ssh into dgamelaunch to work 17:25:54 Unstable branch on crawl.jorgrun.rocks updated to: 0.21-a0-404-g291f19a919 (34) 18:11:32 Is there a possibility to do pull requests by command line? Or do you have to do it via browser? 18:12:31 im pretty sure git has extensive command line options 18:13:43 oh, there is a special command instead of just 'push' for that 18:15:36 pull requests aren't really a git thing. they're a github thing. so git doesn't have a command to create them 18:15:50 but other people have written scripts that do that 18:16:11 also once you have created a PR you can just push to its branch as normal to update it 18:19:31 git itsesn't have a way to create PRs but htere's some commonly used git plugins/extensions (you can extend git with scripts) 18:21:04 https://github.com/stevemao/awesome-git-addons#hub (this is part of a collection, the original is likely elsewhere) 18:22:10 *git itself doesn't 18:26:59 Oh, I think I got it. You have to clone repo from your github account and push changes there. And from your account you can pull-request them to crawl repo. Right? 18:35:34 github remembers where you forked your repo from and there will be a 'create pull request' button 18:35:55 which turns that branch of your forked repo into a pull request on the repo you forked it from 18:36:04 (note that this means you should do work on new branches, not on master) 18:41:12 To ensure I understood this correctly: if I'm fine with waiting until my pull request is merged I can still work on master branch? 18:47:13 if you only ever want one pull request outstanding at a time, sure, you can work on master 18:54:07 Right now my local repo is a clone of github crawl repo. My github account repo is also a clone of github crawl repo. Here is what I'm going to do: 1) delete repo from github account and fork it from crawl again to get rid of existing wrong commits (I guess I can't delete them without a command line); 2) clone github account repo. 18:54:12 Is there a better way? 18:58:04 Yermak: you can force-push over your remote branch 18:58:25 this will effectively remove those commits (and the PR will reflect what you've force-pushed) 18:58:28 Could you expand on that? 18:58:54 well in your local branch, do you have the commits as you'd like them? 18:59:04 I can't currently use command line to make changes on my Github account. 18:59:07 I assume you have them cleaned up so that the commits you don't want are gone 18:59:17 because I'm cloned from main crawl repo 18:59:45 hrm, I don't quite understand what you mean hwne you say you can't use command-line 19:00:06 Are you saying you get errors when trying to push to your repo on github? 19:00:36 oh I see 19:00:51 you are working locally off a repo cloned from official crawl repo? 19:01:01 yes 19:01:13 and I want to change this 19:01:15 that means you should simply remoke the remote designated as 'upstream' (or 'origin' if you use 'origin') 19:01:23 *remake 19:01:28 as in delete that remote 19:01:44 and recreate it but so that origin (or upstream if that's the name you use) is your github repo 19:01:54 no need to actually delete repos 19:02:20 this doesn't require deleting any repository 19:02:26 just the configuration of the remote 19:02:27 https://help.github.com/articles/removing-a-remote/ 19:02:43 thanks 19:03:01 you can probably just "edit" the remote, but it's easy to delete it and then add it back (with the url you want, pointing to your github repo url) 19:11:07 `git help remote` will go into how to do this; git remote set-url would be one easy way 19:15:33 right, that was the command I was trying to remember 19:15:54 I guess if you like to use fancy things like documentation, that's fine 20:19:00 New branch created: pull/640 (1 commit) 13https://github.com/crawl/crawl/pull/640 20:19:00 03Yermak02 07https://github.com/crawl/crawl/pull/640 * 0.21-a0-405-ge20e466: Improve Maurice's message and fix #11241 10(2 hours ago, 2 files, 27+ 12-) 13https://github.com/crawl/crawl/commit/e20e46664d80 20:22:47 eskitopraks (L3 MfGl) (D:2) 20:22:47 Webtiles server stopped. 20:22:48 animenmaster (L15 FoFi) (Lair:6) 20:22:49 Webtiles server started. 20:25:26 gammafunk: i do not remember how to set up ssh into dgamelaunch for crawl 20:33:29 ZiBuDo: I think you just need to add an ssh user with /usr/local/sbin/dgamelaunch as its login shell 20:33:37 oh that's it 20:33:44 i couldnt for the life of me 20:33:50 https://crawl.develz.org/wiki/doku.php?id=dcss:server:setting_up_dgamelaunch_and_webtiles 20:33:53 13.4 mentions this 20:33:56 yea 20:33:59 i saw 13.4 20:34:09 and thought it was talking about something else 20:34:21 as long as that is all i need then we good 20:34:27 i just have to generate new keys now 20:34:46 what i don't really remember is if there's any special connection between this user and the username used for crawl data 20:34:51 do they have to be the same? 20:38:23 pretty sure no 20:38:31 since it wasnt on the old install 20:38:33 if not 20:38:38 i can just put them in the same group 20:39:36 the name, uid, and primary gid should probably match just to make things easier to set up, although it would in fact be possible to change them 20:40:23 yea ill just try and if it doesnt work then i can match em together 20:52:48 -!- fiyawerx_ is now known as fiyawerx