--- Log opened Tue Oct 28 00:00:40 2014 |
00:03 | <@Tarinaky> | Julius: Kabanos is tasty. |
00:03 | <@Tarinaky> | Assuming you're who I think you are. |
00:03 | <@Tarinaky> | If not, this saves the word in my back buffer. |
01:18 | | * macdjord ponders |
01:25 | <@macdjord> | Problem: You have a network, and you need to find the cheapest path to a destination. Easy enough, just use Dijkstra's algorithm or A*. |
01:25 | <@macdjord> | Now, assume this problem is iterated. Every iteration, the network topology is the same, but most of the links have their costs change - but this change is /usually/ very small, so the best path is generally unchanged. |
01:25 | <@macdjord> | Is there any way to solve this such that you /don't/ have to rework the whole solution on each iteration? |
01:27 | <~Vornicus> | dijkstra and A* are pretty non-local |
01:27 | <~Vornicus> | As is shortest path in general |
01:34 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code |
01:40 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
01:56 | < [R]> | macdjord: you're hitting early-optimization territory. |
01:57 | <@macdjord> | [R]: No, this is abstract-problem-for-its-own-sake. |
01:57 | < [R]> | I'd do it with events if you had a limited number of priority paths. |
01:57 | <@macdjord> | Er, what? |
01:57 | <~Vornicus> | You won't be able to, in general, mutate your graph and keep even *some* of the results; you have the strong possibility that the mutation has shrunk a slightly longer path to now be slightly shorter. |
01:58 | <~Vornicus> | Or dramatically shorter. |
01:58 | <~Vornicus> | Consider the effect of the Panama Canal on international shipping. |
01:59 | < [R]> | macdjord: For all your priority paths (Departure and Destination pairs) you have an event that recalculates the path each time the path wieghts change. |
02:00 | < [R]> | Of course you need to be able to monitor the entire network of paths. |
02:00 | <@macdjord> | [R]: Right, okay, in each iteration /almost all/ the weights will change (but only by a tiny fraction). And they'll be doing it simultaiously. |
02:00 | <~Vornicus> | Yeah, you'll lose |
02:01 | < [R]> | Then shift the event to fire on iteration. |
02:01 | <~Vornicus> | You absolutely must restart the pathfind each time. |
02:02 | < [R]> | Or have them ignore events if they came after on that was less than T time ago. |
02:02 | <~Vornicus> | buuuuuut, if you know the maximal variation |
02:02 | <@macdjord> | ... ooh. |
02:03 | <~Vornicus> | You can use the graph described from the previous iteration as your A* heuristic this time. |
02:03 | <@macdjord> | Aha! |
02:03 | <~Vornicus> | (with some modifications) |
02:06 | <~Vornicus> | (remember A*'s monotonicity requirement) |
02:06 | <@macdjord> | Calculate both best path and second best path. Take difference. Every iteration, determine which weigth changed the /most/. Largest weight change * length of best path = max change in best path. As long as that is less than half the difference between best and second best, best path cannot have changed. |
02:07 | <@macdjord> | Wait, no. Dammit. |
02:07 | < [R]> | You may want more than just two paths |
02:08 | < [R]> | What if the third best overlaps the previous best? |
02:08 | <@macdjord> | There might be a 3rd-best path with /far more steps/ than the best path, which could over take them both. |
02:08 | < [R]> | Eventually you have to limit yourself, unless you want to implement what I suggested earlier :p |
02:10 | <@macdjord> | [R]: The 'event' thing is not applicable to this problem. Almost /every/ weight will change every iteration. The question isn't knowing what has changed, but identifying when change has become large enough to matter. |
02:12 | < [R]> | There's not much difference between: calculating best path each change and applying diffence in path quality to every possible path each change. |
02:14 | < [R]> | The latter is actually probably slower. So if you do do the latter, you should have a limit of paths to monitor deltas on and accept efficiency losses. |
02:16 | <@macdjord> | I think I was onto something with the 'max delta * path length' thing... but I need to incorportate... smallest weight? |
02:16 | | * macdjord reworks |
02:16 | <~Vornicus> | I think you're basically stuck actually |
02:17 | < [R]> | I think you will have to accept some efficiency loss. |
02:17 | <~Vornicus> | using A* doesn't come back with a full graph *anyway*, so a second A* won't have a full heuristic to work from |
02:17 | <~Vornicus> | Just go with redoing it every iteration, you'll be happier. |
02:45 | <@macdjord> | Vornicus: http://pastebin.starforge.co.uk/665 |
02:46 | <~Vornicus> | If you wantto make a game where "people" pathfind, you can range-limit their present path-finding ability -- they know the direction they want to go and will try to go that way but can only see about 5 steps, and as they explore they start to find best paths between places by compositing together good paths. Then when they explore and discover the landscape has changed significantly they'll try to repath |
02:46 | <~Vornicus> | Whyyyyy |
02:47 | <~Vornicus> | Just do it the easy way |
02:57 | | * Alek cries. http://notalwaysworking.com/you-coulomb-make-it-up/36328 |
03:05 | <@simon_> | Alek, only in America. |
03:07 | <@Alek> | *North America |
03:07 | <@Alek> | that's in Canada |
03:11 | < [R]> | Americans are bass ackwards enough to still be using imperial. |
03:14 | <@Alek> | um. that was metric. |
03:14 | <~Vornicus> | even the US uses amps |
03:15 | <&ToxicFrog> | They don't use litres, though. |
03:15 | <~Vornicus> | (I would not recognize an imperial current unit if it hit me in the face) |
03:15 | | * ToxicFrog successfully shaves another yak, heads to bed. |
03:16 | <~Vornicus> | ...because it doesn't appear to exist. |
03:17 | | * Vornicus feels better now |
03:17 | <@Alek> | hm. I can't help but feel this convo needs to be put on bash. |
03:18 | <@simon_> | Alek, I assumed that if one is accustomed to the metric system, one might not make such mistakes as often. then again, someone working at an electronic shop shouldn't make such a mistake regardless. :) |
03:19 | <@Alek> | stupid is as stupid does. |
03:19 | <@Alek> | although I agree that it shouldn't have happened. |
03:20 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
03:20 | | mac [harlow@Nightstar-pq0497.il.comcast.net] has joined #code |
03:33 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [Ping timeout: 121 seconds] |
03:36 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code |
03:36 | | mode/#code [+o Alek] by ChanServ |
03:44 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has quit [[NS] Quit: BED] |
04:40 | | Kindamoody[zZz] is now known as Kindamoody |
05:03 | | 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.] |
07:04 | < Julius> | For the first time, I am the first to arrive at work - I mean, from among the cohabitors of the office room. |
08:01 | | mac [harlow@Nightstar-pq0497.il.comcast.net] has quit [[NS] Quit: BED] |
08:02 | | Kindamoody is now known as Kindamoody|afk |
09:40 | | Reiv__ [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code |
09:41 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds] |
09:41 | | Reiv__ is now known as Reiv |
09:43 | | Reiv__ [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code |
09:45 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds] |
10:32 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
12:58 | | celticminstrel [celticminst@Nightstar-l2rg83.dsl.bell.ca] has joined #code |
12:58 | | mode/#code [+o celticminstrel] by ChanServ |
13:07 | | 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.] |
13:08 | | celticminstrel [celticminst@Nightstar-l2rg83.dsl.bell.ca] has joined #code |
13:08 | | mode/#code [+o celticminstrel] by ChanServ |
13:28 | | Lambo [thelambo@Nightstar-ic6koa.fl.comcast.net] has quit [Connection closed] |
13:32 | | Lambo [thelambo@Nightstar-ic6koa.fl.comcast.net] has joined #code |
14:28 | < Lambo> | I always love it when product support comes back with "the tool is not working" |
14:29 | < Lambo> | and "can you run the tasks that it normally does?" |
14:29 | < Lambo> | the only correct response: "what is happening, what's the error message" |
14:30 | <@Tamber> | "I don't know, I closed it." |
14:31 | < Lambo> | and then you want to turn the product support offices into a horror movie. |
14:34 | <@TheWatcher> | ... they aren't normally?~ |
14:34 | < Lambo> | it involves a horrific slasher movie |
14:34 | < Lambo> | with programming puns |
14:46 | | ReiverSucks [NSwebIRC@Nightstar-jpgsgn.ptpg.oregonstate.edu] has joined #code |
14:47 | <@iospace> | INDENTATION MOTHERFUCKER |
14:47 | <@iospace> | DO YOU USE IT |
14:47 | < ReiverSucks> | No, just proving that its reiver and not the webchat |
14:47 | <@iospace> | not you |
14:47 | | * TheWatcher eyes |
14:47 | | * iospace indends ReiverSucks anyway |
14:47 | | * ReiverSucks backhands iospace |
14:47 | <@iospace> | :< |
14:48 | < ReiverSucks> | sorry, just a knee-jerk reaction. |
14:48 | < Julius> | More like a hand-jerk. |
14:49 | < ReiverSucks> | Well that conversation degraded fast. |
14:51 | <@iospace> | wouldn't it be escilated quickly :P |
14:53 | < Julius> | Don't you mean escalate? |
14:53 | <@TheWatcher> | So, who is this that has such emphatic views about Reiv, then? |
14:53 | | ReiverSucks_ [NSwebIRC@Nightstar-jpgsgn.ptpg.oregonstate.edu] has joined #code |
14:53 | < ReiverSucks_> | God. |
14:53 | <@iospace> | TheWatcher: it was just me joking around |
14:54 | <@iospace> | god can't save you now |
14:54 | <@iospace> | :< |
14:54 | < ReiverSucks_> | Not that one. The other one. |
14:54 | <@Tamber> | You've grown a tail; wonder what that proves. |
14:54 | < ReiverSucks_> | Surprisingly enough. Reiver doesn't suck. The webchat is borkened |
14:54 | < ReiverSucks_> | Tamber: the tail is in the front |
14:55 | <@Tamber> | :p |
14:55 | < Julius> | How is it borkened, if we can read you? |
14:55 | | ReiverSucks [NSwebIRC@Nightstar-jpgsgn.ptpg.oregonstate.edu] has quit [Ping timeout: 121 seconds] |
14:57 | < ReiverSucks_> | It reported an "invalid session" |
15:11 | | ReiverSucks_ [NSwebIRC@Nightstar-jpgsgn.ptpg.oregonstate.edu] has quit [[NS] Quit: Page closed] |
15:19 | | Reiv__ [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Connection closed] |
17:26 | <@iospace> | .... |
17:26 | <@iospace> | T__________________T |
17:26 | | Kindamoody|afk is now known as Kindamoody |
17:26 | <@iospace> | Recursive bash |
17:26 | <@iospace> | It is a thing |
17:26 | <@iospace> | and it scares me |
17:29 | <@iospace> | WHY DO WE HAVE RECURSIVE BASH |
17:29 | <@iospace> | THERE'S NO DAMN POINT IN THIS INSTANCE |
17:35 | < Julius> | Are you talking about a bash script that calls itself? |
17:35 | <@iospace> | yes |
17:36 | < Lambo> | fork bomb fork bomb! |
17:36 | < Julius> | Does it do what it's supposed to do? |
17:36 | <@iospace> | and it's so fucking stupid too |
17:36 | <@iospace> | no no no, basically, it calls itself with a parameter, and if it has that parameter, DO ONE THING AND QUIT |
17:36 | <@iospace> | that's it |
17:36 | <@iospace> | just do /one fucking thing/ |
17:37 | | * Tamber offers alcohol? |
17:37 | < Julius> | Hmmm. |
17:37 | | Vorntastic [Vorn@Nightstar-k70f1n.ct.comcast.net] has joined #code |
17:37 | <@iospace> | Tamber: proof of it? |
17:37 | <&McMartin> | iospace: There is one use case for that! |
17:38 | <@iospace> | McMartin: o rly |
17:38 | <&McMartin> | It only matters on systems running Windows! |
17:38 | < Julius> | iospace: It might be a way to shorten the command name. |
17:38 | <@iospace> | this isn't windows! It's linux! |
17:38 | <&McMartin> | Windows uninstallers have to do that because you cannot delete a file that is open, and uninstallers tend to want to delete themselves. |
17:38 | <&McMartin> | So they copy themselves to temp and then run themselves from there |
17:38 | <&McMartin> | Things Windows uninstallers are not written in: bash |
17:38 | <@iospace> | McMartin: no, this is "$0 thingy" |
17:39 | < Lambo> | <&McMartin> Windows uninstallers have to do that because you cannot delete a file that is open, and uninstallers tend to want to delete themselves. <-- updaters are fun in that regards as well |
17:39 | | Vorntastic [Vorn@Nightstar-k70f1n.ct.comcast.net] has quit [[NS] Quit: Bye] |
17:39 | <&McMartin> | Yep |
17:40 | <@iospace> | but yeah, no, an entire section of logic can just be ignored |
17:40 | <@iospace> | because don't need this fucking recursion |
17:42 | < Julius> | But what if someone wanted to run "foo -bar" but can't be arsed to write all of that, and simply wants to write "foo" instead to run it with the default parameters? |
17:42 | <&McMartin> | alias |
17:42 | <&McMartin> | Same way you do with ls |
17:43 | < Julius> | I'm just saying that it's a legitimate solution, even if strange. |
17:46 | <@Tamber> | iospace, well, your choices are between 20%, 40% and ~100% ABV. The latter is for solving Serious Problems. Mostly with fire. |
17:48 | <@iospace> | I like fire :3 |
17:55 | | Netsplit *.net <-> *.split quits: @Checkmate, @Tamber, himi, @celticminstrel, RchrdB, @jeroud |
17:56 | | Netsplit over, joins: Checkmate, Tamber |
17:56 | | mode/#code [+o Checkmate] by ChanServ |
17:56 | | mode/#code [+o Tamber] by ChanServ |
17:56 | | * Tamber throws things at gcc. |
17:56 | <&McMartin> | \o/ |
17:57 | | Netsplit over, joins: celticminstrel |
17:57 | | mode/#code [+o celticminstrel] by ChanServ |
17:57 | <@Tamber> | Stop bitching that that variable isn't used, I am using it; as a temporary variable. ...and stop /ignoring/ the attributes I'm using to tell you that I am using it, dipshit. |
17:57 | <@iospace> | oh, now this is golden |
17:58 | | PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
17:59 | <@iospace> | the script wants to create a "lockfile", as in "only one instance at a time please." The lockfile has the PID of the script in it. Because it calls itself recursively, it stores the PID OF THE CALLED SCRIPT |
17:59 | <@iospace> | THAT'S USEFUL JACKSHITS |
17:59 | <@iospace> | </rant> |
18:00 | | PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code |
18:00 | | mode/#code [+o PinkFreud] by ChanServ |
18:00 | | RchrdB [RichardB@Nightstar-v5j366.understood.systems] has joined #code |
18:00 | | jeroud [sid10043@Nightstar-a1k27g.irccloud.com] has joined #code |
18:00 | | * iospace axes that code |
18:01 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
18:01 | | mode/#code [+o himi] by ChanServ |
18:06 | <@iospace> | I swear to the gods i'm getting more and more bitter as I go on with code in general |
18:06 | <@iospace> | oh gods, I'm turning into my professor |
18:06 | <@Tamber> | :) |
18:06 | <&McMartin> | All Code Is Terrible~ |
18:06 | <&jerith> | iospace: Congratulations, you are now a Real Programmer. |
18:07 | | * iospace flips off jerith |
18:07 | <@iospace> | I need a drink |
18:07 | <@iospace> | McMartin: i've seen bad code. That was Insyde's UEFI code |
18:07 | <&jerith> | Yup, definitely a Real Programmer. |
18:07 | <@iospace> | and then there's this giant mess |
18:08 | | * Julius did something productive today. Copied a few CDs for the overboss. |
18:09 | <@iospace> | somethingsomethingGOFUCKYOURSELF ^_^ |
18:10 | <&McMartin> | Yeah |
18:10 | <&McMartin> | That's the kind of thing that's strange enough that it makes me worry there's some exotic failure mode that took down the whole datacenter and this was the first thing they tried that worked~ |
18:20 | <&jerith> | iospace: What is this script supposed to be doing? |
18:20 | <&jerith> | Or is that what you're tyring to figure out? |
18:21 | <@iospace> | jerith: it does [REDACTED] |
18:22 | <&jerith> | Ah. Those are always the worst scripts. :-/ |
18:22 | <&jerith> | Well, not always. |
18:22 | <&jerith> | Usually. |
18:25 | < Julius> | iospace: You shouldn't be reading those! It'll rot your brain, and possibly summon Cthulhu as pathways in your brain get etched. |
18:26 | <@iospace> | IA IA |
18:26 | <&McMartin> | * iospace is now known as iaspace |
18:28 | < Lambo> | hey iospace |
18:28 | < Lambo> | at least you don' have VBA that has "On Error Resume Next" |
18:28 | < Lambo> | and then have no error checking |
18:29 | <@iospace> | oh, this does this |
18:29 | <@iospace> | *that |
18:29 | <@iospace> | "ok, one file failed, do the next!" |
18:30 | <@iospace> | so uh, yeah |
18:30 | <@iospace> | ^^;; |
18:34 | <&jerith> | set -e |
18:37 | <@iospace> | jerith: won't work |
18:37 | <@iospace> | is a loop |
18:51 | <@iospace> | I wish I could write snarky comments in this code |
18:52 | <@iospace> | I really fuckign do |
18:53 | <&McMartin> | I'd at least put some TODO comments |
18:54 | <&McMartin> | It's bad form to call out people as idiots |
18:54 | <&McMartin> | Especially when you just go off the svn blame results and it turns out that the loop had error checking when the original guy wrote it, and deletion didn't show up in the blame logs |
18:54 | <@iospace> | yes but these guys have it coming |
18:54 | <@iospace> | the entire company hates this code vendor |
18:54 | <@iospace> | (well, most) |
18:55 | < jeroud> | Ah, vendor code. |
18:55 | <@iospace> | yuuuuuup |
18:55 | <@iospace> | we're planning on moving off their support and onto supporting it ourselves |
18:55 | <@iospace> | the problem is they're stubborn assholes |
18:56 | < jeroud> | We used to have a particularly problematic dev partner. |
18:56 | < jeroud> | We still have a bunch of code they wrote. |
18:58 | <@iospace> | heh |
19:27 | <@iospace> | let's test to see if we have bash variables by going "if [ x$var = x ]" |
19:28 | <@Tamber> | *wince* |
19:28 | <@iospace> | when "if [ ! $var ]" works just fine -_- |
19:28 | <@iospace> | Tamber: yeah |
19:28 | <@iospace> | Tamber: oh, it gets better too |
19:29 | <@iospace> | "if [ x$foo = xbar ]" |
19:29 | <@Tamber> | ... |
19:29 | <@iospace> | yup |
19:29 | <@Tamber> | I can't even. |
19:29 | <@iospace> | can't even what? :P |
19:30 | <@Tamber> | Exactly. |
19:30 | < Lambo> | hey iospace: PHP - Variable Variables. |
19:30 | <@iospace> | PHP is a fucking monstrosity |
19:31 | < Lambo> | http://www.reddit.com/r/programming/comments/dst56/today_i_learned_about_php_var iable_variables/c12np38 |
19:31 | <@iospace> | the lovecraftian horrors' lovecraftian horror |
19:31 | <@iospace> | HATE HATE HATE |
19:31 | < Lambo> | hey |
19:31 | < Lambo> | it isn't Perl |
19:31 | < Lambo> | actually |
19:31 | <@iospace> | comparing PHP and Perl is an insult to Perl |
19:31 | < Lambo> | Perl is a step up |
19:31 | < Lambo> | quite a step up |
19:32 | <@iospace> | yes |
19:32 | <@iospace> | so what the fuck are you smoking? |
19:32 | | * Tamber peers at Lambo ;_; |
19:32 | < Lambo> | iospace, I misspoke |
19:32 | < Lambo> | Tamber, you read that reddit, didn't you |
19:33 | <@Tamber> | ;_; |
19:33 | < Lambo> | that's a yes |
19:33 | < Lambo> | at least I've not run into any code at work that's using regex to parse HTML |
19:40 | <@iospace> | Lambo: /Rails/ is better than PHP |
19:40 | < Julius> | It's pointless to continue in this vein. Better start talking about what's worse. That's a shorter list. |
19:41 | < Lambo> | MUMPS |
19:41 | < Lambo> | mIRC Script? |
19:42 | <@Tamber> | ...at least MUMPS is consistent, right? |
19:42 | < Julius> | Hey, mIRC script isn't that bad. |
19:42 | | * Lambo stares |
19:42 | | * Lambo continues to stare |
19:43 | | * Tamber lobs a COBOL for Dummies book at Lambo. |
19:43 | <@iospace> | Tamber wins |
19:43 | | * Lambo runs away in terror |
19:43 | < Julius> | I'm almost certain that you can rather certain that a zero is a zero in mIRC. |
19:43 | < Julius> | +be |
19:43 | < Lambo> | NO NO NO DON'T GET INTO MY HEAD I WILL NOT ADD THAT TO MY RESUM-- ohgod |
19:43 | < jeroud> | VB (pre-.NET) is worse, but it's also less dishonest about it. |
19:43 | < Lambo> | VBA :x |
19:44 | <@iospace> | ALL BASH AND NO PLAY MAKES IO A DULL GIRL |
19:44 | <@iospace> | ALL BASH AND NO PLAY MAKES IO A DULL GIRL |
19:44 | <@iospace> | ALL BASH AND NO PLAY MAKES IO A DULL GIRL |
19:44 | | iospace was kicked from #code by iospace [shaddup] |
19:44 | | iospace [Alexandria@Nightstar-fkokc2.com] has joined #code |
19:44 | | mode/#code [+o iospace] by ChanServ |
19:45 | < Lambo> | oh |
19:45 | < Lambo> | infinite loop detected. |
19:45 | <@Tamber> | Lambo, I actually have one of those books... |
19:45 | <@Tamber> | I keep it around just in case I start thinking I want to do anything in PHP. |
19:45 | < Lambo> | Tamber, don't let the knowledge enter your brain... or add it to your resume |
19:45 | <@Tamber> | :) |
19:45 | < Lambo> | we'll lose you :( |
19:45 | <@Tamber> | I don't work in the IT field anyway. |
19:46 | < jeroud> | The thing about COBOL is that it's how we learned that certain things are bad. |
19:46 | <@Tamber> | Lambo: Plus, if you see my code, you'd probably be trying to put the first shovelful of dirt in the hole~ :p |
19:47 | < jeroud> | We already knew those things by the time PHP came along. |
19:47 | <@Tamber> | As someone elsenet brought up, Perl lets you do the same thing. |
19:47 | <@Tamber> | It's /expected/ of Perl, though. |
19:48 | < Lambo> | heh |
19:49 | < Lambo> | http://stackoverflow.com/a/8808245 <-- *blanches* unpleasant C# |
19:49 | < Lambo> | doing pointer voodoo <_< >_> |
19:49 | <@iospace> | oh pointers |
19:50 | <@iospace> | VARIABLE VARIABLES |
19:50 | | * iospace giggles |
19:50 | < Lambo> | pointers make sense |
19:50 | < Lambo> | variable variables are like, here's a hacky pointer |
19:50 | <@iospace> | I'LL SHOW YOU A HACKY POINTER |
19:50 | <@iospace> | BEND OVER |
19:50 | <@Tamber> | PHP likes to pretend it's a high-level language, but it hasn't dragged itself very far from its roots. |
19:50 | < Lambo> | it has at most a thin wrapper over C |
19:50 | <@iospace> | PHP is a "language"? |
19:50 | < Lambo> | which is annoying |
19:51 | <@iospace> | it's an abomination |
19:51 | < Lambo> | $fp = fopen(); |
19:51 | <@Tamber> | iospace, I said it likes to pretend it is... ;) |
19:51 | < Lambo> | there's now a pointer in my code |
19:51 | < Lambo> | :'( |
19:51 | <&McMartin> | 12:39 < jeroud> The thing about COBOL is that it's how we learned that certain things are bad. |
19:51 | <&McMartin> | The other thing about it is that certain things that are bad NOW were facts of life THEN |
19:51 | <&McMartin> | like record-formatted data stored as stacks of punchcards |
19:52 | < jeroud> | Sure. |
19:52 | <&McMartin> | So modern COBOL systems include elaborate punchcard simulators, which is sad but it's how you got from there to here |
19:52 | < Lambo> | hrmm |
19:52 | < Lambo> | I wonder if you can do something like Variable Variables in C# using obscene amounts of reflection |
19:53 | < jeroud> | My actual point was "don't judge COBOL by modern standards". |
19:53 | <&McMartin> | Lambo: Doesn't C# support "dynamic types"? |
19:53 | < Lambo> | yes |
19:53 | <&McMartin> | I think the keyword might even be "dynamic" |
19:53 | < Lambo> | that's not the same as a PHP variable variable |
19:53 | < Lambo> | I don't think anyway |
19:54 | < Lambo> | ExpandoObject would let you |
19:54 | < Lambo> | hrmmm |
20:25 | | Kindamoody is now known as Kindamoody[zZz] |
20:50 | <@Tarinaky> | Hurray! The dragon of my math parser has been slain! |
20:51 | <@Tarinaky> | Now to dress up the methods with a class add acceptance tests, integrate and ship! |
20:51 | <@Tarinaky> | Inb4 "does it compile" |
20:52 | <@Tarinaky> | Oh wait. Shit. Docstrings |
20:52 | <@Tarinaky> | >.< |
20:52 | < Lambo> | Ship it! |
20:52 | < Lambo> | Customers test for free! |
20:53 | <@Tamber> | For free? You mean you don't make them pay for the privilege? |
20:53 | <@Tamber> | Amateur~ |
20:55 | < Lambo> | no no see |
20:55 | < Lambo> | they pay for the application |
20:55 | < Lambo> | but the testing they do for you? |
20:55 | < Lambo> | that's free. |
20:55 | < Lambo> | (since you don't need a damned QA department) |
20:55 | < Lambo> | like most of those early access games... |
20:56 | <@Tamber> | :) |
21:05 | | RchrdB [RichardB@Nightstar-v5j366.understood.systems] has quit [[NS] Quit: WeeChat 1.0.1] |
21:05 | | PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has quit [Server shutdown] |
21:05 | | jerith [jerith@ServerAdministrator.Nightstar.Net] has quit [Server shutdown] |
21:05 | | Syka [the@Nightstar-c409v3.vividwireless.net.au] has quit [Server shutdown] |
21:05 | | Tarinaky [tarinaky@Nightstar-e99cts.net] has quit [Server shutdown] |
21:05 | | Ogredude [quassel@Nightstar-dm1jvh.projectzenonline.com] has quit [Server shutdown] |
21:05 | | Netsplit *.net <-> *.split quits: Xires, Attilla, grindhold, @Checkmate, Reiver, @macdjord, VirusJTG, @celticminstrel, @Orthia, Xon, (+11 more, use /NETSPLIT to show all of them) |
21:07 | <@iospace> | I blame Syloq |
21:07 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [[NS] Quit: .] |
21:08 | | Syka [the@Nightstar-c409v3.vividwireless.net.au] has joined #code |
21:08 | | Netsplit over, joins: Reiver, Orthia, Alek, VirusJTG, Tamber, gnolam, macdjord, Checkmate, Xires, Lambo (+9 more) |
21:08 | | jerith [jerith@Nightstar-ip7ar2.slipgate.net] has joined #code |
21:08 | | ServerMode/#code [+aooooooooooao Reiver Reiver Orthia Alek gnolam Namegduf macdjord Tamber Checkmate celticminstrel Azash jerith jerith] by *.Nightstar.Net |
21:08 | | RchrdB [RichardB@Nightstar-v5j366.understood.systems] has joined #code |
21:08 | | Netsplit over, joins: himi |
21:08 | | Ogredude [quassel@Nightstar-dm1jvh.projectzenonline.com] has joined #code |
21:08 | | Tarinaky [tarinaky@Nightstar-e99cts.net] has joined #code |
21:08 | | Netsplit over, joins: jeroud |
21:08 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
21:08 | | ServerMode/#code [+o himi] by *.Nightstar.Net |
21:08 | | mode/#code [+o Tarinaky] by ChanServ |
21:09 | | mode/#code [+o Syloq] by ChanServ |
21:10 | | PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code |
21:10 | | mode/#code [+o PinkFreud] by ChanServ |
21:24 | <@iospace> | ... oh gods, I just went "i wish bash had gotos" |
21:24 | < Julius> | Doesn't it? |
21:24 | <@iospace> | ... then again, I was hoping to use it for error handling and cleanup |
21:29 | <@Tarinaky> | Pretty sure bash has goto. |
22:05 | <@iospace> | Tarinaky: it doesn't |
22:05 | <@iospace> | Tarinaky: http://stackoverflow.com/questions/9639103/is-there-a-goto-statement-in-bash |
22:10 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
22:30 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
22:30 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
22:45 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
23:03 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
23:03 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
23:15 | | Orthia [orthianz@Nightstar-1oh.59a.184.203.IP] has quit [[NS] Quit: Going dooooown...] |
23:27 | | * TheWatcher eyes the google OAuth2 documentation |
23:28 | <@TheWatcher> | If a user authorises access to a given scope, it sends a request to a URL you specify with various gubbins in the query string, but it doesn't say anything about what it does with your response to that. |
23:31 | <@TheWatcher> | I wonder if someone in google logs them, just to see what sort of stuff comes back.. |
23:50 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code |
23:50 | | mode/#code [+o himi] by ChanServ |
23:53 | | Orthia [orthianz@Nightstar-1oh.59a.184.203.IP] has joined #code |
23:53 | | mode/#code [+o Orthia] by ChanServ |
--- Log closed Wed Oct 29 00:00:56 2014 |