--- Log opened Thu Oct 23 00:00:53 2014 |
00:28 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [Ping timeout: 121 seconds] |
00:43 | <@Tarinaky> | RchrdB: My experience is you need to connect the HDMI /before/ powering it on |
00:43 | <@Tarinaky> | RchrdB: Otherwise it'll boot headless. |
00:43 | < RchrdB> | Aha |
00:43 | < RchrdB> | That would fit the behaviour I saw, yes |
00:43 | < RchrdB> | Thank you |
00:45 | <@Tarinaky> | me has two RPis at work for reasons. |
00:47 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code |
00:47 | | mode/#code [+o Alek] by ChanServ |
01:28 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [Ping timeout: 121 seconds] |
01:42 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code |
01:42 | | mode/#code [+o Alek] by ChanServ |
01:42 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
02:00 | | Orthia [orthianz@Nightstar-akf.emq.184.203.IP] has quit [Ping timeout: 121 seconds] |
02:05 | | Orthia [orthianz@Nightstar-241.3l4.98.101.IP] has joined #code |
02:06 | | mode/#code [+o Orthia] by ChanServ |
02:10 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [Ping timeout: 121 seconds] |
02:13 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code |
02:14 | | mode/#code [+o Alek] by ChanServ |
02:40 | <&McMartin> | Oh huh, Utopic lands tomorrow. |
02:41 | <~Vornicus> | utopioca? |
02:41 | <&McMartin> | Ubuntu 10.10 |
02:41 | <&McMartin> | Er |
02:41 | <&McMartin> | 14.10 |
03:08 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
03:40 | | Xon [Xon@Nightstar-j72.ku7.252.119.IP] has quit [Ping timeout: 121 seconds] |
03:56 | | Xon [Xon@Nightstar-j72.ku7.252.119.IP] has joined #code |
04:03 | <&McMartin> | Man, I am so bad at JavaScript and HTML forms -_- |
04:03 | <~Vornicus> | I am quite good at it. What do you need to have happen? |
04:03 | <@Alek> | world peace. |
04:04 | <&McMartin> | Basically A Shitload of Checkboxes that I can then turn into an array naming which ones are checked, when the checked state changes. |
04:06 | <~Vornicus> | Raw, jquery, or mootools? |
04:06 | <&McMartin> | Let's start with raw |
04:06 | <~Vornicus> | Righto, give me a few minutes. |
04:06 | <&McMartin> | (I'm trying to make a minimal interface to the Mega Man 7 password generator) |
04:07 | <&McMartin> | Also, are <input> IDs allowed to have spaces and case and stuff or am I going to have to distinguish IDs from text |
04:08 | | Xon [Xon@Nightstar-j72.ku7.252.119.IP] has quit [Ping timeout: 121 seconds] |
04:10 | <~Vornicus> | ...I can't see the situation that would give rise to such a question |
04:14 | <&McMartin> | Maybe I should move this over to github |
04:16 | <&McMartin> | OK, here's what I have right now: http://pastebin.starforge.co.uk/663 |
04:20 | <~Vornicus> | Okay, I think I see where you're at, and I think I see what's wrong. Give me a few moments to finish this sucker up and I'll pass it on |
04:21 | < Reiv> | #Code has become something of a multidisciplinary hothouse hasn't it |
04:21 | <&McMartin> | That's kinda what it's for |
04:21 | <~Vornicus> | I thought that was the point~ |
04:21 | < Reiv> | Right, but |
04:22 | < Reiv> | It turns out that of late at least we have some wildly different skillsets lying around, with a sidenote of people having to dabble in the Wrong Stuff a lot |
04:23 | < Reiv> | Hell, I've helped people with their SQL. |
04:23 | <@[R]> | 159 to 164, how does that differ from: '[' + a.join(', ') + ']'; //? |
04:23 | < Reiv> | I'm not meant to be a useful contributing member >_> |
04:23 | <&McMartin> | R: It's written by someone who hasn't memorized the JS stdlib. |
04:24 | <@[R]> | I didn't mean to be snarky, sorry. |
04:24 | <&McMartin> | No, I mean, that's great, that's a better debugging thing to use |
04:24 | <&McMartin> | In fact, if there's a grouping operation, I want one of those two |
04:24 | <&McMartin> | *too |
04:24 | <@[R]> | Grouping? |
04:25 | <&McMartin> | (viz, 139-149) |
04:25 | <&McMartin> | That "feels" like something that might have a standard function |
04:26 | < Reiv> | (This is why #Code is probably my bestest channel.) |
04:26 | <~Vornicus> | I'd say the opposite, I have no idea how I'd do that with standard functions~ |
04:26 | <@[R]> | Not really. You could probably abuse something else to bring it down to one line |
04:26 | <&McMartin> | I'm not super-interested in abuse |
04:27 | <~Vornicus> | But you can grab substrings |
04:27 | <&McMartin> | Yeah, this one is much easier to work in integers and then convert at the last instant. |
04:31 | <@[R]> | > tmp = []; for (var i = 0; i < s.length; i += 4) { tmp.push(s.substr(i, 4)) }; tmp.join('-') |
04:31 | <@[R]> | '1234-5678-90AB-CDEF' |
04:31 | <@[R]> | That's a bit cleaner |
04:32 | | * Vornicus has apparently forgotten how to do some of this stuff in raw |
04:33 | <&McMartin> | Can you .join an array of numbers? |
04:33 | <@[R]> | Yes |
04:33 | <~Vornicus> | Ah, done |
04:34 | <@[R]> | You can join an array of objects, you can join an array with a mix of arrays, numbers, objects, and references to the array itself. |
04:34 | | * Vornicus pastebins this up |
04:34 | <@[R]> | > a.join(' ') |
04:34 | <@[R]> | ' test' |
04:34 | <@[R]> | > a |
04:34 | <@[R]> | [ [Circular], 'test' ] |
04:35 | <~Vornicus> | http://pastebin.starforge.co.uk/664 |
04:36 | <&McMartin> | Cool, thanks |
04:37 | <~Vornicus> | With luck this is clear as to how it works |
04:37 | <&McMartin> | Vorn: Badass |
04:38 | <&McMartin> | This is better than I could have hoped for |
04:38 | <~Vornicus> | Fair warning: this will *not* work in IE8 |
04:38 | <&McMartin> | Why not? |
04:38 | <~Vornicus> | because in IE8 and earlier, the method to add an event listener to something is named something else |
04:39 | <&McMartin> | Aha |
04:39 | <&McMartin> | Is there an equivalent to the onClick="inlineSilliness()"? |
04:39 | <~Vornicus> | https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.addEventListener#Le gacy_Internet_Explorer_and_attachEvent |
04:40 | <@[R]> | McMartin: <a href="JavaScript: inlineSilliness()"> |
04:41 | | * [R] may have misunderstood the question |
04:41 | <&McMartin> | Kinda |
04:42 | <&McMartin> | I meant stuff like this: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.addEventListener#Th e_value_of_this_within_the_handler |
04:43 | <&McMartin> | Also: .push: A Thing I want to use |
04:43 | <~Vornicus> | It's your pal indeed |
04:44 | <@[R]> | .push returns the new length |
04:44 | <@[R]> | Just and FYI |
04:44 | <@[R]> | an* |
04:44 | <&McMartin> | kk |
04:44 | <&McMartin> | Yeah, this'll help a lot |
04:44 | | * McMartin saves off the notes, moves on to IFComp entries. |
04:45 | <~Vornicus> | That I didn't know |
04:45 | <~Vornicus> | (but it is useful!) |
04:46 | <~Vornicus> | how is this year shaping up? |
04:46 | <&McMartin> | I actually have both the giant JS tome and JS The Good Parts |
04:46 | <&McMartin> | Nothing that compares to Coloratura yet |
04:46 | <@[R]> | for (i = 0; i < 16; ++i) { |
04:46 | <@[R]> | result[i] = basepwd[i]; |
04:46 | <@[R]> | } |
04:46 | <@[R]> | result = basepwd.slice(0) |
04:47 | <&McMartin> | The guy that submitted a PDF last year submitted a single-player ARG this year, that was fun |
04:47 | <~Vornicus> | No substitute for active knowledge, that's for sure. |
04:47 | <~Vornicus> | McM: this guy sounds like fun |
04:48 | <&McMartin> | He first entered the comp in '05 |
04:48 | <&McMartin> | He is also responsible for Death Off The Cuff |
04:48 | <&McMartin> | Which is fantastic |
04:48 | <~Vornicus> | So this is his ...wow, really |
04:48 | <~Vornicus> | That one I actually heard of! |
04:49 | <@[R]> | (elts[i] == "Burst Man" || elts[i] == "Cloud Man" || elts[i] == "Freeze Man" || elts[i] == "Junk Man") |
04:49 | <@[R]> | ({Burst: 1, Cloud: 1, Freeze: 1, Junk: 1}[elts.replace(/ Man$/, '')]) (I could have the quoted full name, but IMO that's a bit repetitive) |
04:50 | | Xon [Xon@Nightstar-j72.ku7.252.119.IP] has joined #code |
04:51 | <&McMartin> | Vornicus: http://ifcomp.org/1150/content/AlethiCorp.html |
04:52 | <~Vornicus> | why thank you |
04:52 | <~Vornicus> | (I can't tell how [R]'s regex code there works) |
04:52 | < Reiv> | ... he submitted a PDF? |
04:52 | <&McMartin> | I can see it, but I'm not sure that improves clarity any |
04:52 | <@[R]> | I missed the [i] |
04:52 | <~Vornicus> | oh wait, now I do |
04:52 | <&McMartin> | Reiv: Yes. One with numbered paragraphs and cunning construction |
04:53 | <@[R]> | But it basically just strips out the " Man" at the end |
04:53 | < Reiv> | oho |
04:53 | <@[R]> | Then checks the first part |
04:53 | < Reiv> | Did he write a pick-a-path and submit it to an IF competition |
04:53 | <&McMartin> | Such that he could have nodes that said, basically "You now have a lockpick. If you are in a place where you would like to use it, add 47 to your current node and go from there." |
04:53 | <&McMartin> | It also slid entire bogus stories into the interstitial paragraphs. |
04:53 | <&McMartin> | It was hilarious. |
04:54 | <&McMartin> | I still dinged it for smartarsery but honesty forces me to point out that it was in fact more interactive than many of the electronic entries. |
04:54 | <~Vornicus> | Yeah okay, I dislike that. How about: ["Burst Man", "Cloud Man", "Freeze Man", "Junk Man"].contains(elts[i]) |
04:54 | <&McMartin> | These are Mega Man related programs, " Man" is gonna show up a lot |
04:55 | <&McMartin> | Reiv: But yeah, actually, more than half the comp is pick-a-path stuff these days, and there is not insignificant grousing about this from the grognards |
04:55 | <&McMartin> | Much of which is Not Helpful |
04:56 | <@Alek> | tbh, pick-a-path is probably easier to code. by far. |
04:56 | <@Alek> | actual interaction takes way more code. |
04:56 | | * Alek tried a small zorklike in python. |
04:57 | | * Alek got stuck on carrying over inventory between room functions. |
04:57 | <~Vornicus> | Oy, doing it wrong :( |
04:57 | <@Alek> | probably, yes. |
04:58 | <&McMartin> | Alek: Yes, but this is why there are entire programming systems for writing them |
04:58 | <&McMartin> | So that you don't have to do the parts like reinventing the past 40 years of progress in parsing input |
04:58 | <@Alek> | McM: this was mainly a trial at expanding a lesson project. |
04:58 | <@Alek> | meh. |
04:59 | <@Alek> | the lesson project being a sort of pick-a-path that you could go back on. |
04:59 | <@Alek> | zorklike, with only rooms. :P |
04:59 | <@Alek> | function rooms, basically. |
05:02 | <&McMartin> | Yeah |
05:02 | <&McMartin> | That's how most people use Twine these days |
05:03 | <@[R]> | I'm not certain the algo for the mm7 thing wors |
05:03 | <&McMartin> | It's capable of more - I've seen it - but too many people don't. |
05:03 | <@[R]> | Works |
05:03 | <&McMartin> | R: Define "works" |
05:03 | <&McMartin> | And there was already one bug in it that has been addressed |
05:03 | <&McMartin> | The check bit algorithm is still somewhat speculative |
05:04 | <@[R]> | > p = mm7.createPassword(['Shade Man', 'Junk Man']); mm7.expand(p, 0,0,3,0).slice(16) |
05:04 | <@[R]> | [ '1 W-Tank', '2 W-Tank' ] |
05:04 | <@[R]> | > p = mm7.createPassword(['Shade Man', 'Junk Man']); mm7.expand(p, 0,0,0,0).slice(16) |
05:04 | <@[R]> | [ 'Check Bit 2' ] |
05:04 | <&McMartin> | What exactly does "slice" do? |
05:04 | <@[R]> | I should be getting the input array back, correct? |
05:05 | <@[R]> | It cuts off the first 16 things, which is just a bunch of numbers |
05:05 | <@[R]> | Which I'm guessing is the password given, haven't actually checked |
05:05 | <&McMartin> | Oh |
05:05 | <&McMartin> | Yeah, the numbers are the actual password |
05:05 | <&McMartin> | You should not get your array quoted |
05:06 | <&McMartin> | And it's strange that there's stuff at the end of it |
05:06 | <&McMartin> | Oh! |
05:06 | <&McMartin> | *First* call expandelts |
05:06 | <&McMartin> | Then pass *that* to createPassword |
05:06 | <&McMartin> | (This will eventually be internalized, but not until I finish testing its internals) |
05:07 | <&McMartin> | expandelts turns the numbers into the individual bits needed, and also sets the check bits appropriately |
05:07 | <@[R]> | Ah |
05:07 | <&McMartin> | Note that the password you propose won't work anyhow as it violates some of the plot constraints it actually checks. |
05:07 | <&McMartin> | ('Junk Man' requires 'Introduction', and 'Shade Man' requires 'Tier 2' and 'Robot Museum') |
05:08 | <&McMartin> | Adding checks for that comes after the basics. |
05:08 | <&McMartin> | And I'm debating whether to auto-enforce them or to say "here you go glhf" |
05:08 | <&McMartin> | Since there are a few hilarious places where passwords put the game into impossible states. |
05:08 | <@[R]> | > e = mm7.expand(['Shade Man', 'Junk Man'], 0,3,0,0); mm7.brief(mm7.createPassword(e).join('')) |
05:08 | <@[R]> | '8635-2437-8516-8262' |
05:08 | <@[R]> | So that's the expected usage? |
05:08 | <&McMartin> | Yeah |
05:08 | <@[R]> | (I have adjusted brief) |
05:08 | | * McMartin nods |
05:09 | <&McMartin> | Change Shade Man to 'Introduction' and it should even be a code that works |
05:09 | <&McMartin> | Er |
05:09 | <&McMartin> | 'Intro' |
05:09 | | * [R] doesn't have MM7 |
05:09 | <@[R]> | Just MMX1-3 |
05:09 | | * McMartin nods |
05:10 | <&McMartin> | The passwords look similar to those, at any rate |
05:10 | <&McMartin> | But it's tracking way more stuff |
05:11 | | * [R] just wanted to be able to understand this enough to build his own. |
05:11 | | * McMartin nods |
05:11 | <&McMartin> | I have proper generation docs for the MM2-7 systems floating around |
05:11 | <&McMartin> | Part of this project is to collect and collate them |
05:13 | <@[R]> | So each number is 3 bits? |
05:13 | <&McMartin> | Yep, with "8" standing in for "0" |
05:13 | <&McMartin> | https://hkn.eecs.berkeley.edu/~mcmartin/games/mm7_passwords.txt |
05:13 | <&McMartin> | Here, have it in english |
05:14 | <&McMartin> | Except: the description of the check bit formula is incorrect. |
05:14 | < Reiv> | McMartin: So, half the entries are now pick-a-path |
05:14 | < Reiv> | Is this "I am too lazy to learn even basic programming" |
05:14 | <&McMartin> | It appears to actually be 0, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0 |
05:14 | < Reiv> | (Speaking of, how esay would it be to program pick-a-path with Inform) |
05:14 | <&McMartin> | (That's in a certain sense what my dialog extensions *are*) |
05:15 | <&McMartin> | They get cranky if you insinuate that~ |
05:15 | <~Vornicus> | I tried fiddling with your dialog extensions but I could not for the life of me figure out how to turn the results of a dialog into game state changes |
05:16 | <&McMartin> | Vornicus: I had a bunch of clunky stuff with activities originally |
05:16 | <~Vornicus> | though it's not like I am skilled in inform 7 so |
05:16 | <&McMartin> | The easiest way to do this however, is to do string interpolations with side effects |
05:16 | <&McMartin> | Which is in the latest version the new default way to do it |
05:16 | <&McMartin> | Which is to say, the line of dialog is "Blah blah blah[awesome effect]." |
05:16 | <&McMartin> | And then you have a function |
05:16 | <&McMartin> | To say awesome effect: |
05:17 | <&McMartin> | do awesome thing X. |
05:17 | <~Vornicus> | awesome |
05:19 | <&McMartin> | This turns out to be a trick that kind of works even in I6 but nobody used it there. |
05:19 | <&McMartin> | It is much more heavily used in TADS 3. |
05:25 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
05:26 | | Kindamoody[zZz] is now known as Kindamoody |
05:28 | <@froztbyte> | Reiv: ~evolution~ |
05:28 | <@froztbyte> | Reiv: I see this with pretty much any (worthwhile) tech community/channel I'm in, though |
05:29 | <@froztbyte> | this #code is pretty good, too. very well-balanced SNR and such |
05:29 | <&McMartin> | froztbyte: Yeah, but there's been a very definite split between "yay new blood" and "argh barbarian invaders" |
05:29 | <&McMartin> | I've mostly been in "dude, you are doing it wrong" |
05:30 | <&McMartin> | But my hotbutton here is mostly "A fiction does not become interactive just because you potholed the 'next page' link" |
05:32 | <@froztbyte> | McMartin: also, https://dorey.github.io/JavaScript-Equality-Table/ may be useful |
05:32 | <@froztbyte> | (and/or a cause for despair) |
05:35 | <&McMartin> | "Let's talk about JavaScript." |
05:35 | <@froztbyte> | yup |
05:35 | <&McMartin> | So I guess I should be doing the === stuff for basically everything here since it is math |
05:36 | <@froztbyte> | McMartin: I've found some time ago that I seem to just have a trial-by-fire approach for new blood |
05:36 | <@froztbyte> | McMartin: afaict it's adopted behaviour but also a pretty good determinant of quality |
05:36 | <@froztbyte> | McMartin: not sure if bad. |
05:36 | <@froztbyte> | (but at least known to self) |
05:38 | | * froztbyte wakes up to the Tron Legacy OST |
05:38 | <@froztbyte> | http://www.alethicorp.com/Home/About is a cute touch |
05:39 | <&McMartin> | Heh heh heh |
05:39 | <&McMartin> | froztbyte: The trick here is "whose fire"? |
05:40 | <@froztbyte> | McMartin: situational, I suppose |
05:40 | <&McMartin> | There's nothing forbidding hypertext fiction. It had been submitted occasionally in the past and didn't do well |
05:40 | <&McMartin> | But that was because it was bad, basically. |
05:40 | <@froztbyte> | hahaha |
05:40 | <&McMartin> | There have been some good ones, but the default interaction mode is different for hypertext fiction and parser IF |
05:40 | <@froztbyte> | yeah I can imagine |
05:40 | <&McMartin> | The former defaults to navigating a maze, the latter defaults to Putting Things On Top Of Other Things. |
05:41 | <&McMartin> | (To the point that that skit is actually quoted at length in the Inform Designer's Manual) |
05:41 | <&McMartin> | Neither of this is, in a real sense, what we are here for |
05:41 | <&McMartin> | But you've now got two communities trying to make sense of each other that don't have a Hell of a lot actually in common |
05:41 | <&McMartin> | So there are sparks |
05:42 | <&McMartin> | And the tool they're gravitating around is *much* more powerful than it's mostly being used for |
05:42 | <&McMartin> | As evidenced by an entry this year coming within shouting distance of reimplementing the old LucasArts verb coin in it |
05:42 | <&McMartin> | At which point you are neither pick-a-path *nor* parser IF |
05:42 | <@froztbyte> | do you have people doing demoscene-grade bending-of-tools? |
05:43 | <@froztbyte> | or not even close? |
05:43 | <@froztbyte> | (like, any people) |
05:43 | <&McMartin> | I'm not sure what "demoscene grade" would even *mean* in this context. |
05:43 | <&McMartin> | Andrew Plotkin implemented Tetris for the Z-Machine back in '95 |
05:43 | <&McMartin> | "Z abuse" is a genre |
05:43 | <@froztbyte> | "....you can *do* that?!" is my usual metric |
05:43 | <&McMartin> | Yeah, OK |
05:43 | <&McMartin> | No, not really |
05:43 | <@froztbyte> | which is pretty fuzzy |
05:43 | <@froztbyte> | but still |
05:43 | <&McMartin> | Because the reaction will invariable by "ha ha, yes, very funny" |
05:43 | <&McMartin> | Z has a character cell display |
05:43 | <@froztbyte> | :/ |
05:44 | <&McMartin> | It's not *used* as one |
05:44 | <&McMartin> | Usually |
05:44 | <&McMartin> | So the equivalent for that is some mechanic that hasn't been properly explored. |
05:44 | <@froztbyte> | aside: wikipedia's new trick of putting the carguarding at the /bottom/ of the display is enough to make me want to find a userscript to make it fuck off. |
05:44 | <&McMartin> | So: Slap that Fish, Flight of the Hummingbird, Kerkerkruip |
05:44 | <&McMartin> | "carguarding"? |
05:44 | <@froztbyte> | (besides, I already give them my time at work. don't need to pay myself.) |
05:44 | <@froztbyte> | McMartin: uhm |
05:45 | <@froztbyte> | McMartin: so, .za has a jobs problem. and a security/crime problem. one of the "natural" responses to this is that a lot of folks end up being "car guards" |
05:46 | <@froztbyte> | McMartin: which means "stand around in the parking lot" usually, and about 70~80% of "guide you into the parking bay" (sometimes they actually do real security, but not often). when you leave, they'll want a couple of coins |
05:46 | <&McMartin> | Aha |
05:46 | <@froztbyte> | http://qdb.slipgate.za.net/FlyingCircus/263 |
05:47 | <&McMartin> | Going back to "demoscene" equivalents in IF: the closest equivalent is boundary-pushing and that doesn't look anything like demoscene boundary-pushing |
05:48 | <@froztbyte> | :< |
05:48 | <&McMartin> | What are you even imagining here |
05:48 | <@froztbyte> | I guess you've probably got more of a "writer subset" here than otherwise |
05:48 | <&McMartin> | It's a fully general programming language with text in and out. |
05:48 | <&McMartin> | "Yep, that's text all right." |
05:49 | <&McMartin> | The only way to impress is to do something impressive *with* text. |
05:49 | <@froztbyte> | McMartin: mmm. irunno. maybe something like .... whatsisface. the game with the box gun? |
05:49 | <@froztbyte> | puzzle rooms, coloured walls |
05:49 | <@froztbyte> | Antichamber |
05:49 | <&McMartin> | Yeah, that actually wouldn't stand out. |
05:49 | <@froztbyte> | that kind of psychological trickery, based on some programming tricks |
05:49 | <&McMartin> | The issue here is the bar is *too high*. |
05:49 | <@froztbyte> | mm |
05:50 | <&McMartin> | That said, from a technical wizardry standpoint |
05:50 | <&McMartin> | I can think of three games off the top of my head that predate Hack N' Slash's core gameplay gimmick and replicate it. |
05:50 | <@froztbyte> | unrelated but just because I'm going over things in qdb again: http://qdb.slipgate.za.net/FlyingCircus/394 |
05:50 | <&McMartin> | In various ways |
05:50 | <&McMartin> | One where you get a magic helmet that lets you read the source code of the objects in the game |
05:50 | <&McMartin> | And use that to 'cheat' at puzzles |
05:51 | <@froztbyte> | McMartin: yeah, but to be fair, you have a downright scary amount of game knowledge too ;p |
05:51 | <&McMartin> | And another that let you *write code and get those objects into the game* |
05:51 | <@froztbyte> | both of those sound cool. |
05:51 | <&McMartin> | They were pretty great |
05:51 | <&McMartin> | But the reaction was much closer to "pretty great" than "holy shit" |
05:51 | <@froztbyte> | I see |
05:51 | <&McMartin> | And I think that was in part because like the second comp saw a complete Scheme interpreter entered as a joke |
05:52 | <&McMartin> | And of course it had already matured and died off commercially so text-specific awesome things were Done in '83. |
05:52 | <@froztbyte> | hahah |
05:52 | <&McMartin> | The hardest of which were Spellbreaker's Cubes, I think. |
05:52 | <&McMartin> | You could write words on the cubes |
05:52 | <&McMartin> | And from then on the parser would accept the word you wrote on the cube as referring to that cube |
05:53 | <@froztbyte> | ...okay |
05:53 | <&McMartin> | Turns out to be really hard to get right~ |
05:53 | <@froztbyte> | so it's not so much a case of "isn't being done" as "old hat", in many of these |
05:53 | <&McMartin> | Right |
05:53 | <&McMartin> | Also "it turns out The Sims is garbage" |
05:54 | <&McMartin> | So the people who want to use IF as a platform for independent agents ultimately produce things that are less exciting than a narrated RTS match |
05:54 | <@froztbyte> | McMartin: I wonder if http://qdb.slipgate.za.net/FlyingCircus/389 will make you laugh (or just leave you confused) |
05:54 | <@froztbyte> | ^ man, I forgot The Sims even existed. |
05:55 | <@froztbyte> | that must be a damned good bit of earning |
05:55 | <&McMartin> | So, some of the guys who worked on it teamed up with IF leading lights and did a startup based on adventures with incredibly agenda-driven NPCs |
05:55 | <&McMartin> | It got bogged down in rights issues it seems but was pretty solid-looking for all that |
05:55 | <@froztbyte> | https://en.wikipedia.org/wiki/List_of_The_Sims_video_games O-o |
05:55 | <&McMartin> | http://versu.com/ |
05:56 | <&McMartin> | I'd consider this the state of the art for AI-driven NPC-driven IF |
05:56 | <@celticminstrel> | Hm, I wonder if it's possible to get any of the expansions still... |
05:56 | <@froztbyte> | rights issues because content reuse? |
05:56 | <@froztbyte> | celticminstrel: don't do it. |
05:56 | <&McMartin> | EA + Linden Labs + Indies |
05:56 | <&McMartin> | Projects didn't go the way they wanted |
05:56 | <@celticminstrel> | Why not? |
05:56 | <&McMartin> | Cue flustered duck about who gets what |
05:56 | <&McMartin> | I'm not privy to that |
05:56 | <@celticminstrel> | That was at froztbyte |
05:56 | <&McMartin> | But I understand the rights are back with the indies now. |
05:56 | <&McMartin> | So maybe they'll publish anyway |
05:57 | <@froztbyte> | celticminstrel: there are nicer ways to feed your demons ;p |
05:57 | <@celticminstrel> | I have the base game somewhere. |
05:57 | <&McMartin> | But notice how a lot of the quotes here are like "hey, this is a new unproven technology, neat" |
05:57 | <@froztbyte> | McMartin: okay, so that seems like a) a super good idea, b) yeah I can see why it might be a boiling pot |
05:57 | <@celticminstrel> | What's McM talking about? |
05:57 | <&McMartin> | "Versu" |
05:57 | <@froztbyte> | (the good idea is who they're combining) |
05:57 | <@celticminstrel> | Huh? |
05:58 | <&McMartin> | An AI-based system for making adventure games that are mostly at this point Edwardian comedies of manners |
05:58 | <@froztbyte> | err, yeah, sorry. I think McMartin and I have kinda been running about three semi-related threads of conversation with occasional divergences. and both of us seem to just take it in stride ;p |
05:58 | <@celticminstrel> | Oh! That link up there. |
05:58 | <&McMartin> | I've read some of their white papers |
05:58 | <&McMartin> | It is indeed really cool stuff, and if anyone can make it work, it's Evans and Short |
05:59 | <&McMartin> | This leaves open the question of whether or not anyone *else* can. |
06:01 | <@froztbyte> | https://twitter.com/tculpan/status/525117579895922688 |
06:01 | <@froztbyte> | McMartin: hmm |
06:01 | <@froztbyte> | McMartin: "maybe someday" but that isn't a useful answer |
06:03 | <@froztbyte> | https://twitter.com/marcan42/status/525126731431038977/photo/1 && https://twitter.com/FTDIChip/status/524929259203084288 |
06:03 | <&McMartin> | I am reminded that I still need to play that game where you can warp reality by inserting or removing letters from things. |
06:03 | <@froztbyte> | lols. |
06:03 | <&McMartin> | It is called "Counterfeit Monkey" |
06:04 | <@froztbyte> | that sounds cool |
06:04 | <&McMartin> | There have been a goodly number of wordplay games in recent years |
06:04 | <&McMartin> | And I have an unholy fondness for them. |
06:04 | <@froztbyte> | haha |
06:05 | <&McMartin> | Shuffling Around was a comp game a couple years back, which was reality-warping-via-anagrams |
06:05 | <&McMartin> | A puzzle cut from it turned into a game called "Threediopolis", which I cannot even vaguely describe without massive spoilers |
06:11 | <@froztbyte> | hah |
06:11 | <@froztbyte> | next time I'm in an IF-y mood (which doesn't happen often) I'll try give these a go |
06:12 | | celticminstrel [celticminst@Nightstar-l2rg83.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
06:17 | <@froztbyte> | https://www.mitre.org/sites/default/files/publications/14-2221-extreme-escalatio n-presentation.pdf |
06:21 | <@Alek> | http://notalwaysright.com/this-method-of-customer-service-should-go-viral/39819 |
06:23 | <@froztbyte> | hahahahahaha |
06:36 | <&McMartin> | The EXTREME ESCALATION bug is almost as terrifying as BadUSB |
07:10 | | Reiver [quassel@Nightstar-ksqup0.co.uk] has quit [Ping timeout: 121 seconds] |
07:12 | | Reiver [quassel@Nightstar-ksqup0.co.uk] has joined #code |
07:12 | | mode/#code [+ao Reiver Reiver] by ChanServ |
07:17 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Operation timed out] |
07:36 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
07:36 | | mode/#code [+o Checkmate] by ChanServ |
07:41 | | Kindamoody is now known as Kindamoody|afk |
08:07 | | macdjord is now known as macdjord|slep |
09:18 | <@froztbyte> | yup |
09:19 | <@froztbyte> | "everything is fucked. glhf." |
09:40 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
09:40 | | mode/#code [+o himi] by ChanServ |
09:56 | <&McMartin> | froztbyte: Win7 is not fucked! |
09:56 | <&McMartin> | That said |
09:56 | <&McMartin> | I like the idea of people writing stuff as raw UEFI stuff, treating it as a micro-OS to rock out DOS-Style once again |
09:56 | <@froztbyte> | McMartin: well, it's probably fucked in another way |
09:56 | <&McMartin> | Sure |
09:56 | <@froztbyte> | /everything/ is fucked :D |
09:57 | <@froztbyte> | and we're all just fighting a losing game |
09:57 | <@froztbyte> | did you see ...... crap, where's this presentation |
09:57 | <@froztbyte> | http://cr.yp.to/talks/2014.10.18/slides-djb-20141018-a4.pdf |
09:57 | <&McMartin> | Everything is terrible; we do not live frozen under the amber gaze of Phoebus Apollo |
10:04 | <&McMartin> | But yeah, EXTREME ESCALATION is a very specific attack vector, requiring a specific version of a specific OS |
10:22 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
10:23 | <@froztbyte> | McMartin: aye |
10:23 | <@froztbyte> | thing is, this kind of thing is just becoming more and more prevalent |
10:23 | <@froztbyte> | not unsurprisingly, of course |
10:24 | <@froztbyte> | the only part that kinda surprises me is ... mm, how do I put this. the speed of some things, I guess |
10:40 | | * Tarinaky is tired. |
10:40 | | * Tarinaky must write ant scripts. |
10:41 | <@Tarinaky> | This is not at all a recipee for disaster. |
10:58 | | * Tarinaky fucks about with Java |
11:00 | <@Tamber> | Do you want ant, because that's how you get ant. :/ |
11:13 | | * TheWatcher flails vaguely at drag and drop in javascript |
11:19 | <@gnolam> | Drag & drop: playing dubstep in women's clothing. |
11:19 | <@Tarinaky> | Tamber: Don't look at me. This is Project Manager's fault. |
11:19 | <@Tarinaky> | I wanted to use GNU Make. |
11:20 | <@Tarinaky> | (Not actually doing any compiling, just moving files around and invoking archive utilities) |
11:22 | <&jerith> | gnolam: Nice. |
11:30 | <@Tarinaky> | Stupid question: What are tablet computers good for |
11:30 | <@Tarinaky> | +? |
11:30 | <@Tarinaky> | I mean... they look really cool and I kinda want one. |
11:31 | <@Tarinaky> | But what are they actually /useful/ for o.o |
11:32 | <&jerith> | Tarinaky: Mostly casual gaming and media consumption, from what I've seen. |
11:32 | <&jerith> | I know of a few people who do work on them, but they're mostly journalists taking notes. |
11:33 | <@Tarinaky> | I do need a replacement for my aging Laptop at some point. |
11:33 | <@Tarinaky> | And I suspect the average tablet PC has way more power than my old laptop in a smaller form factor... |
11:33 | <@Tarinaky> | But I need a keyboard :/ |
11:33 | <&jerith> | A tablet doesn't replace a laptop unless you don't really use your laptop for anything serious. |
11:33 | <@Tarinaky> | But I don't mind the touch screen instead of a mouse. |
11:34 | <@Tarinaky> | 'anything serious' being? |
11:34 | <&jerith> | Anything you couldn't do on your phone or whatever. |
11:34 | <&jerith> | Writing software, for example. |
11:34 | <@Tarinaky> | Like I said, it's an aging laptop. I originally got it as it was cheaper than a netbook with only slightly less processor power than a then-modern ARM core :P |
11:35 | <&jerith> | The problem is less the form factor and more the OS. |
11:35 | <&jerith> | I've heard good things about the Asus Transformer, though. |
11:35 | <@Tarinaky> | There're windows tablets... so I figure Linux must run on them... |
11:35 | <@Tarinaky> | Just a case of drivers for the touch screen to turn it into a mouse right? |
11:36 | <&jerith> | Not quite. |
11:36 | <&jerith> | Tablets usually have weird hardware in them. |
11:36 | <@TheWatcher> | Tarinaky: don't go there, unless you really like pain |
11:36 | <@Tarinaky> | :( |
11:36 | <&jerith> | If you want to install a Real OS, you're better off getting a low-end laptop. |
11:37 | <@TheWatcher> | ^-- |
11:37 | <@Tarinaky> | What about Windows 8? |
11:38 | <@TheWatcher> | you'll need to unpack that question |
11:39 | <@Tarinaky> | Does windows 8 not count as a Real OS? |
11:39 | <@Tarinaky> | Most the complaints have been about it being optimized as a tablet OS |
11:39 | <@TheWatcher> | 8.1 is apparently much better |
11:39 | <@Tarinaky> | Semantics. |
11:40 | | * TheWatcher can't say with authority; still uses 7 on the windows systems |
11:40 | <@Tarinaky> | I've been playing with 8.1 a little at work |
11:41 | <&McMartin> | 8.1 > 8, 7 > 8.1 |
11:41 | <&McMartin> | Cautiously optimistic about 10 |
11:42 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
11:42 | <@Tarinaky> | I thought the problems with 8/8.1 were because it was optimized for tablet PCs? |
11:42 | <@Tarinaky> | Would that not be a plus on a tablet? |
11:43 | <&McMartin> | Too much of each not enough of either, basically |
11:43 | <&jerith> | Tarinaky: As I understand it, the tablet builds of win8 are very restricted. |
11:44 | <@Tarinaky> | Restricted how? |
11:44 | <&McMartin> | Apps you'd want to run on them didn't actually work right in tablet mode. |
11:44 | <&McMartin> | However, the Surface tablets are awesome. They're basically fancy netbooks |
11:44 | <@Tarinaky> | Oh :( |
11:44 | <&jerith> | For starters, most tablets are ARM-based and most Windows apps are compiled for x86. |
11:44 | <&McMartin> | I can run Visual Studio in them. It's fantastic. |
11:44 | <@Tarinaky> | But I want a tablet q.q |
11:44 | <@Tarinaky> | They look cute. |
11:48 | <&jerith> | I think Windows RT is what I was remembering. |
11:49 | <&McMartin> | Or the aptly-named WinCE |
11:50 | <&jerith> | IIRC, WinCE was actually a different OS. |
11:51 | <&jerith> | It may have had some shared code and APIs, but I'm pretty sure there was never any app compatibility between Windows and WinCE. |
11:53 | <&McMartin> | Hm. ITYRC. |
11:58 | <&jerith> | I didn't use WinCE very much. We couldn't get far enough into the networking stack for the mesh routing research we were doing, so we switched to a Linux distribution of some kind. |
11:58 | <&jerith> | Familiar, I think it was called. |
12:51 | <@Azash> | http://devopsreactions.tumblr.com/post/100655889003/login-with-the-root-password -to-decrypt-the-ldap |
13:15 | | Checkmate [Z@Nightstar-ro94ms.balk.dk] has joined #code |
13:15 | | mode/#code [+o Checkmate] by ChanServ |
13:24 | | You're now known as TheWatcher[d00m] |
13:53 | | * Tarinaky looked up the price of the Microsoft Surface. |
13:53 | <@Tarinaky> | You realise it costs more than my Car right? |
13:53 | <@Tarinaky> | o.o |
13:59 | | Orthia [orthianz@Nightstar-241.3l4.98.101.IP] has quit [Ping timeout: 121 seconds] |
14:12 | | You're now known as TheWatcher |
14:19 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [Ping timeout: 121 seconds] |
14:45 | <@iospace> | 5000+ update statements in one SQL script. Surely nothing can go wrong <_< |
14:55 | | Orthia [orthianz@Nightstar-241.3l4.98.101.IP] has joined #code |
14:55 | | mode/#code [+o Orthia] by ChanServ |
15:47 | | thalass [thalass@Nightstar-1ag50k.bigpond.net.au] has joined #code |
15:47 | | mode/#code [+o thalass] by ChanServ |
15:48 | | thalass is now known as thalass|librarian |
16:59 | | thalass|librarian is now known as Thalasleep |
16:59 | | Thalasleep [thalass@Nightstar-1ag50k.bigpond.net.au] has quit [[NS] Quit: and computer changery ] |
17:47 | <@Tarinaky> | Struggling to remember how to set up pyunit. |
17:47 | <@Tarinaky> | "ImportError: Start directory is not importable: 'foo.py'" |
17:51 | | celticminstrel [celticminst@Nightstar-l2rg83.dsl.bell.ca] has joined #code |
17:51 | | mode/#code [+o celticminstrel] by ChanServ |
17:57 | <@Tarinaky> | I have an __init__.py file in the same directory. |
17:57 | <@Tarinaky> | So it is importable. |
17:57 | <@Tarinaky> | But I don't understand. |
17:59 | <&ToxicFrog> | foo.py doesn't look like a directory name to me. |
18:00 | | * iospace throws pie at ToxicFrog and ToxicFrog |
18:00 | <@iospace> | ... works |
18:00 | | * iospace throws pie at Tarinaky and Tarinaky |
18:00 | <@iospace> | :V |
18:01 | <@Tamber> | Double pie-ings. |
18:03 | <@celticminstrel> | It's entirely possible to have a directory called foo.py! Though I'd question your sanity a little if you actually did it. |
18:17 | <@Tarinaky> | foo.py is a file. |
18:18 | <@Tarinaky> | This still doesn't answer the question of WTF am I supposed to do with this in formation |
18:18 | <@Tarinaky> | *information |
18:19 | <@Tarinaky> | The invocation is: |
18:19 | <@Tarinaky> | C:\Windows\system32\cmd.exe /c (c:\cygwin64\bin\python2.7.exe -m unittest discov |
18:19 | <@Tarinaky> | er -p *.py) |
18:19 | <@Tarinaky> | Can confirm the same behavior if I call python -m unittest discover -p *.py from cygwin directly. |
18:34 | <&ToxicFrog> | Based on the error message, pyunit wants to be told a directory to import. |
18:34 | <&ToxicFrog> | You are giving it one or more python files. |
18:35 | <&ToxicFrog> | Looking at the output of 'python -m unittest -h', I think I see what the problem is. |
18:36 | <&ToxicFrog> | Tarinaky: you are running "python -m unittest discover -p __init__.py foo.py etc..." |
18:36 | <&ToxicFrog> | You probably wanted '*.py' instead of *.py. |
18:36 | <@Tarinaky> | What's the difference? |
18:37 | <@celticminstrel> | *.py is expanded by the shell into a list of all files ending in .py |
18:37 | <&ToxicFrog> | *.py expands to the list of all files in the current directory ending in .py. |
18:37 | <&ToxicFrog> | '*.py' is the literal string '*.py' with no expansion. |
18:37 | <&ToxicFrog> | \*.py would probably also work. |
18:37 | <@Tarinaky> | I see. |
18:38 | <&ToxicFrog> | Glob expansion happens before the program is invoked, so without the quotes or escaping, python doesn't see *.py, it sees the individual filenames. |
18:38 | <&ToxicFrog> | The first one is taken as the argument to -p, and the rest as the names of modules to import and test. |
18:38 | | * Tarinaky nodes. |
18:39 | <@Tarinaky> | Thanks! |
18:42 | < RchrdB> | One of the oldest flamewars in Unix. |
18:42 | < RchrdB> | Unix shells always did globbing on behalf of the command being invoked. |
18:43 | < RchrdB> | MS-DOS's shell requires every command to implement its own globbing (though of course there's a library). |
18:43 | < RchrdB> | 3 2 1 fight! :) |
18:43 | <@Tarinaky> | And then there's cygwin to completely confuse. |
18:44 | <&ToxicFrog> | What |
18:44 | <&ToxicFrog> | What's confusing about it? Cygwin uses bash |
18:44 | <@Tarinaky> | Except it didn't work in cygwin either. |
18:45 | <&ToxicFrog> | ....yes.... |
18:45 | <@Tarinaky> | Cygwin's BASH behaves differently to UNIX BASH. |
18:45 | <@Tarinaky> | So it's just similar enough to confuse :) |
18:45 | <@Tarinaky> | Anyway. What does 'str' object has no attribute '__name__'? |
18:45 | <@Tarinaky> | +mean |
18:46 | < RchrdB> | It means someone wrote "x.__name__" for some value x that happens to be a string. |
18:46 | <@Tarinaky> | I... am pretty sure I didn't. |
18:46 | < RchrdB> | If you were writing Java, it would have been a compile error or a NullPointerException. ;P |
18:47 | < RchrdB> | I suspect that either you or something that you're calling did, because Python fed you an exception saying so. |
18:48 | <@Tarinaky> | http://pastebin.com/HAYQcTyk |
18:51 | <@Tarinaky> | Same error if I add test_foo(self) to the test suite. |
18:59 | < RchrdB> | I can repro that. |
19:00 | | * RchrdB steps through pdb to see where the wrong value comes form. |
19:00 | | * Tarinaky goes heat up food. |
19:09 | <@froztbyte> | https://twitter.com/jtauber/status/525338339130736641 |
19:21 | <&ToxicFrog> | Tarinaky: different how? |
19:22 | <@Tarinaky> | ToxicFrog: The glob works differently for one |
19:22 | <&ToxicFrog> | How so? |
19:22 | <&ToxicFrog> | Because it shouldn't. |
19:22 | <&ToxicFrog> | And in my experience, it doesn't. |
19:23 | <@Tarinaky> | Oh wait. |
19:23 | <@Tarinaky> | Nevermind. |
19:23 | <@Tarinaky> | I just want to figure out why it's not actually /running/ the tests now. |
19:28 | | macdjord|slep is now known as macdjord |
19:34 | | Kindamoody|afk is now known as Kindamoody |
19:45 | <@Tarinaky> | RchrdB: Any further clues on a work around yet? |
19:47 | < RchrdB> | No, just me getting angry at Python. |
19:47 | <@Tarinaky> | If I change the pattern to test_*.py it works |
19:49 | <@Tarinaky> | or maybe not |
19:49 | <@Tarinaky> | It /does/ work if I pass in the file explicitly though |
19:50 | <@Tarinaky> | There's this https://mail.python.org/pipermail/python-dev/2011-August/112738.html |
19:54 | < RchrdB> | Tarinaky: looks like that's it. |
19:55 | < RchrdB> | I'm already way past bored of stepping through random bits of test case magic. |
19:59 | <@Tarinaky> | Okay. So. Parsley. Anyone experienced with it? |
19:59 | | * Tarinaky appologises for being a bit shit tonight >.< |
20:07 | <&jeroud> | Tarinaky: I have, but not recently. |
20:07 | <@Tarinaky> | I'm... struggling to get my head around the examples. |
20:07 | <&jeroud> | There's #parsley on freenode that might be helpful. |
20:08 | <&jeroud> | Which examples? |
20:08 | <@Tarinaky> | I'm struggling to the extent that I don't feel I can ask sensible questions |
20:08 | <@Tarinaky> | intPart = (digit1_9:first digits:rest -> first + rest) | digit |
20:08 | <@Tarinaky> | floatPart :sign :ds = <('.' digits exponent?) | exponent>:tail -> float(sign + ds + tail) |
20:10 | <&jeroud> | Hrm. I'll have to read the docs before I can help. |
20:13 | <&jeroud> | Let's start with intPart. |
20:14 | <@Tarinaky> | Okay. |
20:14 | <&jeroud> | That's made out of two subexpressions. |
20:14 | <&jeroud> | (stuff) | digit |
20:16 | <&jeroud> | So it matches either the first thing or the second. |
20:16 | <@Tarinaky> | Right. |
20:16 | <&jeroud> | The second thing is another rule, probably a builtin. |
20:16 | <@Tarinaky> | For some reason I thought the two lines were part of one assignment. |
20:17 | <&jeroud> | As the name suggests, it matches a single (decimal) digit. |
20:21 | <&jeroud> | The first part is a matcher ("digit1_9:first digits:rest") and the second is a Python expression operating on the matched things ("-> first + rest"). |
20:22 | <@iospace> | http://i.imgur.com/OBoQYiG.png |
20:26 | <@Tarinaky> | What does floatPart :sign :ds mean? |
20:26 | <@Tarinaky> | On the LHS of the assignment? |
20:27 | <@Tarinaky> | s/assignment/production? |
20:38 | <&jerith> | Sorry, got distracted. I'll read more docs and get back to you. |
20:41 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code |
20:41 | | mode/#code [+o Alek] by ChanServ |
20:41 | <&jerith> | Ah, thats a rule with parameters. |
20:46 | | * Tarinaky is so bad at this >.< |
21:07 | <@iospace> | I can has short circuiting? :< |
21:07 | <@Tarinaky> | Can't even get the productions to compile. |
21:08 | <@Tarinaky> | ParseError: |
21:08 | <@Tarinaky> | ^ |
21:08 | <@Tarinaky> | Parse error at line 22, column 0: end of input. trail: [ruleValue traceable expr |
21:08 | <@Tarinaky> | 1 expr2 expr3] |
21:10 | <@TheWatcher> | ... how did I never know that shift right-click in a directory in windows exploder gives a different context menu than plain rightclick? |
21:10 | <@Tarinaky> | This is line 22: |
21:10 | <@Tarinaky> | Multiplication = Term:a ws '*' ws Terminal:b -> ('*', a, b) |
21:14 | <&jerith> | Tarinaky: What's on the line before? |
21:14 | <@Tarinaky> | Terminal = Number:a -> a | Dice:a -> a |
21:14 | <@Tarinaky> | There's a new-line between them |
21:15 | <&jerith> | You can probably simplify that to "Terminal = Number | Dice" |
21:17 | | Kindamoody is now known as Kindamoody[zZz] |
21:18 | | * Tarinaky copy-pastes the entire thing >.> |
21:19 | <@Tarinaky> | https://gist.github.com/Tarinaky/6093fbf601040fd3cace |
21:22 | <&McMartin> | http://wixtoolset.org/documentation/manual/v3/wixui/wixui_customizations.html |
21:22 | <&McMartin> | I'd like to draw everyone's attention to step 1 in "Changing the UI sequence" |
21:22 | <&jerith> | Tarinaky: Can you paste your whole program? |
21:22 | <@Tarinaky> | Oh hang on. |
21:23 | | * Tarinaky is an idiot. |
21:23 | <@Tarinaky> | Okay, I actually have an error message now! |
21:24 | <@Tarinaky> | Parse error at line 17, column 31: expected one of '0', a digit, or a rule end. |
21:24 | <@Tarinaky> | trail: [end ruleEnd rule] |
21:24 | <@Tarinaky> | Subraction = Expression:a ws '-'<CURSOR> ws Term:b -> ('-', a, b) |
21:25 | <@Tarinaky> | Nm, spelling error. |
21:25 | <@Tarinaky> | Okay, same error even when I spell Subtraction correctly. |
21:27 | <&jerith> | Can you still paste your whole program? |
21:27 | <@Tarinaky> | Yes. |
21:28 | <@Tarinaky> | https://gist.github.com/Tarinaky/7db13d290712e791a9a0 |
21:37 | <@Tarinaky> | Actually, now would be a good time to join the parsley channel. |
21:39 | <&jerith> | You're missing a single quote after the closing paren in the definition of "Term". |
21:41 | <@Tarinaky> | float( "%s.%s" % i,f) | Integer:<CURSOR>i -> int(i) |
21:41 | <@Tarinaky> | SyntaxError |
21:42 | <&jerith> | float("%s.%s" % (i, f)) |
21:42 | <@Tarinaky> | Oh |
21:42 | <@Tarinaky> | Nope |
21:42 | <@Tarinaky> | Same error |
21:45 | <&jerith> | Precedence. |
21:45 | <&jerith> | You need to put parens around your "foo -> bar" groups. |
21:47 | <@Tarinaky> | Err, so A = (foo -> bar) | (baz -> quz) ? |
21:49 | <&jerith> | Yes. |
22:03 | <@iospace> | http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-se lf-contained-tags/ classic |
22:03 | <@Tarinaky> | ParseError: 2+6<CURSOR>/3 |
22:03 | <@Tarinaky> | Parse error at line 1, column 2: expected EOF. trail: [Digit SIForm] |
22:21 | | * iospace almost gave herself a heart attack D: |
22:25 | < RchrdB> | iospace: Zalgo overdose? |
22:29 | <@Julius> | HE COMES. |
22:36 | | Checkmate [Z@Nightstar-ro94ms.balk.dk] has quit [Ping timeout: 121 seconds] |
22:36 | < RchrdB> | It's interesting that the internet picked up on ZALGO THE PONY but not ZALGO IS TONY THE PONY |
22:36 | < RchrdB> | I guess the briefer one is funnier |
23:15 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
23:25 | < RchrdB> | Okay this is driving me up the wall. |
23:26 | < RchrdB> | How in the name of spanielmugging do you get gdb to give you the value of a static variable defined in another file? |
23:28 | < RchrdB> | according to https://sourceware.org/gdb/onlinedocs/gdb/Variables.html I should be able to refer to, say, "'intobject.c':free_list" from anywhere, but all I get in response to «(gdb) info address 'intobject.c':free_list» is «No symbol "'intobject.c':free_list" in current context.» |
23:28 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
23:28 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
23:44 | <@gnolam> | https://twitter.com/martinrue/status/525231276715163648 |
23:50 | < RchrdB> | heh |
--- Log closed Fri Oct 24 00:00:09 2014 |