[00:00:22] *** Quits: vishwin60 (~clc-mac@wikimedia/O) (Quit: ChatZilla 0.9.92 [Firefox 38.6.0/20160120213330]) [00:25:38] *** Joins: DarkNova (~DarkNova@c-68-35-150-201.hsd1.al.comcast.net) [00:25:54] Can anyone show me how to do iterative quicksort? [00:30:24] what do you mean by "show you"? [00:32:27] do you know why it works recursively? [00:33:33] (what I'm trying to get at is "the call stack"--so, if you want quicksort to be iterative, can you think of how to explicitly use a stack?) [00:58:33] yeah, i know, ive only done it recursively [00:58:47] i couldnt get the stack to work [00:59:16] i could push unto the stack, but every time I tried to pop something, it wouldnt dequeue [01:00:17] uhh, is this c++? [01:19:44] lel C++ [01:33:47] *** Joins: nimajneb (~roytenber@casewireless10.cwru.edu) [01:45:32] *** Quits: DarkNova (~DarkNova@c-68-35-150-201.hsd1.al.comcast.net) (Remote host closed the connection) [01:47:50] *** Joins: jacobj (~jacobj@ip70-171-41-236.ga.at.cox.net) [02:11:53] *** Quits: vishwin (~alliek@wikimedia/O) (Quit: Kernel update?) [02:13:09] *** Joins: vishwin (~alliek@wikimedia/O) [02:22:03] *** Quits: jacobj (~jacobj@ip70-171-41-236.ga.at.cox.net) (Quit: Textual IRC Client: www.textualapp.com) [03:06:17] *** Joins: robbyoconnor (~wakawaka@guifications/user/r0bby) [03:08:58] *** Quits: vishwin (~alliek@wikimedia/O) (Ping timeout: 255 seconds) [03:09:51] *** Joins: vishwin (~alliek@wikimedia/O) [03:16:04] *** Quits: lablayers (uid55894@gateway/web/irccloud.com/x-shgsumcgixkavadx) (Quit: Connection closed for inactivity) [03:27:43] *** Quits: nimajneb (~roytenber@casewireless10.cwru.edu) (Quit: nimajneb) [05:25:28] *** Quits: vishwin (~alliek@wikimedia/O) (Ping timeout: 250 seconds) [05:30:34] *** Joins: vishwin (~alliek@wikimedia/O) [09:59:52] *** chokboy is now known as ppr [10:01:43] *** ppr is now known as chokboy [10:15:02] *** Quits: vishwin (~alliek@wikimedia/O) (Read error: Connection reset by peer) [10:17:33] *** Joins: vishwin (~alliek@wikimedia/O) [11:07:42] *** Quits: robbyoconnor (~wakawaka@guifications/user/r0bby) (Read error: Connection reset by peer) [11:08:44] *** Joins: robbyoconnor (~wakawaka@guifications/user/r0bby) [12:04:52] *** Joins: nimajneb (~roytenber@casewireless03.CWRU.Edu) [12:10:07] *** Quits: wolfcore (~wolfcore@unaffiliated/wolfcore) (Ping timeout: 252 seconds) [12:14:16] *** Quits: nimajneb (~roytenber@casewireless03.CWRU.Edu) (Quit: nimajneb) [12:16:31] *** Joins: wolfcore (~wolfcore@unaffiliated/wolfcore) [12:18:55] *** Joins: nimajneb (~roytenber@casewireless03.CWRU.Edu) [13:04:10] yeah c++ [13:05:46] you have to use stack::top() and then stack::pop(). [13:09:35] I just did my own operator << for push and >> for pop [13:09:46] can't recall whether it UB'd for empties or no [13:11:10] meh too laze to check [13:11:14] but still [13:11:15] https://gist.github.com/moshbear/c585c90de90ba11b0435 [13:11:16] Title: Stream operators for std::stack · GitHub [13:11:28] https://gist.github.com/moshbear/36d8bb80520ba8e15c0d [13:11:28] Title: Implementation of operator<< for containers which have insert or push_{back,front} · GitHub [13:19:18] *** Quits: nimajneb (~roytenber@casewireless03.CWRU.Edu) (Quit: nimajneb) [13:20:44] *** Joins: nimajneb (~roytenber@casewireless03.CWRU.Edu) [13:26:32] *** Quits: nimajneb (~roytenber@casewireless03.CWRU.Edu) (Quit: nimajneb) [13:35:36] *** Joins: nimajneb (~roytenber@129.22.1.19) [13:35:47] *** Quits: nimajneb (~roytenber@129.22.1.19) (Client Quit) [14:04:59] *** Quits: robbyoconnor (~wakawaka@guifications/user/r0bby) (Ping timeout: 240 seconds) [14:16:03] *** Joins: DarkNova (~DarkNova@c-68-35-150-201.hsd1.al.comcast.net) [14:16:09] hey [14:16:18] I have a question: [14:16:53] If I create a subdomain, that points to a url, will it take 24-48 hours to propagate, or should it be immediate? [14:20:34] m0shbear: that is really ugly lol [14:32:59] Clinteger: 4u [14:33:44] c++ metaprogramming is functional programming over the type system with DSL syntax [14:34:07] yes true, but it's a horrible syntax [14:37:04] *** Joins: nimajneb (~roytenber@casewireless02.CWRU.Edu) [14:42:52] *** Quits: DarkNova (~DarkNova@c-68-35-150-201.hsd1.al.comcast.net) (Remote host closed the connection) [14:43:15] tru [14:43:31] and the grammar is equally vague and complex [14:46:31] thankls m0shbear [14:59:36] *** Quits: nimajneb (~roytenber@casewireless02.CWRU.Edu) (Quit: nimajneb) [15:00:09] ugh [15:00:13] C++ is so ugly in general [15:01:26] *** Joins: nimajneb (~roytenber@casewireless02.CWRU.Edu) [15:03:19] exactly gsingh93 [15:03:29] you should use php instead! [15:04:05] * iangcarroll is only here to troll [15:04:48] php isn't as ugly as C++ [15:04:58] but that's not really an argument to use it instead :P [15:07:29] gsingh93: haskell has cost you your strength; elegant languages have defeated you!] [15:27:00] lol [15:31:14] also, it would've been far uglier in pre-C++11 [15:31:27] if even possible because decltype s-finny [15:49:59] *** Quits: nimajneb (~roytenber@casewireless02.CWRU.Edu) (Quit: nimajneb) [15:57:24] *** Joins: majora (~majora@205.204.23.189) [15:57:38] hello Guest69828 :^) [15:57:52] *** majora is now known as fizzbuzz_that_fo [15:58:06] *** fizzbuzz_that_fo is now known as majora [16:15:59] *** Quits: vishwin (~alliek@wikimedia/O) (Ping timeout: 240 seconds) [16:16:08] m0shbear: is that a quote from somewhere? [16:16:43] the haskell one [16:19:50] *** Joins: vishwin (~alliek@wikimedia/O) [16:20:23] *** Joins: nimajneb (~roytenber@casewireless10.CWRU.Edu) [16:27:35] gsingh93: it's a derivative of "Peace has cost you your strength; victory has defeated you!" [16:34:57] my security prof is giving us a talk on his research, and I think this is going over nearly everyone's head [16:35:38] Clinteger: what's his research [16:36:12] detecting and protecting against processor errata used for malicious things [16:37:00] so he's talking a lot about pretty low level stuff, but I don't think 370 is a prereq for 388? [16:40:48] Clinteger: i think it's a recommended prereq [16:40:57] since you do overflows and shit [16:41:03] and need to know some assembly [16:41:15] this isn't halderman is it? [16:41:19] is it mao? [16:41:35] mao and hicks [16:41:58] (i think he's really new?) [16:42:07] mao isn't that new [16:42:09] not sure about hicks [16:42:52] none of mao's papers are related to this [16:42:58] is this hicks's research? [16:43:19] yeah [16:43:24] yea [16:43:26] i just found his papers [16:43:31] looks like interesting stuff [16:43:46] yea it's interesting enough, I just prefer software talks [16:43:56] damn, i wish i was there when this guy was around [16:44:01] this is the stuff i wanted to research [16:44:03] not zmap shit [16:53:39] haha [16:54:10] so far 388 has been entirely underwhelming, I'm not sure I've learned anything [16:54:26] I wish we had a PL class [16:55:00] or compilers or distributed systems [16:55:38] Clinteger: 483 is compilers [16:55:44] but yes, i also wish there was a PL class [16:56:12] 483 hasn't been offered in like two years [16:56:13] brian noble says that they've been trying, but they can't find any PL professors [16:56:16] oh wow [16:56:25] yea, no one wants to do PL at michigan [16:56:31] it was supposed to run this semester, since it's winter [16:56:34] because there are way better universities for that [16:56:42] and it was in the course guide, but then just kind of disappeared [16:57:44] also, 388 is better with halderman, as i'm sure you've heard [16:58:35] mm people who have taken it not with halderman still had good things to say [16:58:54] I just underestimated my security knowledge, or overestimated how much this would teach [16:59:13] are you finding the extra credits easy? [16:59:31] uhh well we just had two on sql injection [16:59:47] yea, i wrote one of them [16:59:48] and then one for XSS and csrf that I think we're impossible [16:59:53] oh which one? [17:00:07] I got both of them pretty easily [17:28:48] reading through invision power's source and i found this: [17:28:53] } catch ( \Exception $e ) { } [17:30:02] Clinteger: my problem was where you had to actually dump stuff from information_schema and dump the flag table [17:30:09] or password table [17:30:13] i don't remember how we set it up [17:30:27] binary exploitation is my favorite though [17:30:29] oh yes that one [17:30:32] hunter2 etc [17:30:35] i loved that project and the extra credits [17:30:36] yea [17:30:54] honestly, if this stuff is easy for you and you want a challenge, go to CTF club [17:31:10] travis and I started it when i was a student in 388 [17:31:15] I don't think I know enough for that lol [17:31:19] you totally do [17:31:25] also join HH CTF on facebook [17:31:33] i announce there when all the big CTFs come up [17:31:40] oh cool [17:36:04] what do you do these days btw? [17:36:44] i work on one of facebook's security teams [17:37:05] oh, neat! [17:37:30] I've been trying to figure out if I wanna spend my summer doing more traditional see things or if I want to go on a more security side [17:37:43] but I have no idea what security actually entails on the day to day [17:38:27] start doing CTFs, and if you enjoy it, i'd recommend pentesting [17:38:31] like NCC group [17:38:43] i have a bunch of friends who did that [17:46:48] I saw the thing about the WTF license in HH and it's just so stupid I can't even comment [17:48:36] link? [17:52:38] the thread has no comments, do you just want the link to the medium article? [17:52:59] https://medium.com/@dbsweets/why-you-should-stop-using-the-mit-license-b125f26ed29f#.rrdc492vh [17:52:59] Title: Why you should stop using the MIT License — Medium [17:53:38] the basic argument is because the MIT license adds a file to your node project [17:53:48] I'm not sure if this is a troll [17:57:02] definitely sounds like trolling [17:57:22] you pretty much have to include all the licence texts in derivative works anyway [17:57:28] no matter how many there area [17:57:32] s/area/are/ [17:57:32] vishwin probably meant: no matter how many there are [17:58:27] even binary builds of firefox have every single derived project's licences in about:license [17:59:03] thus, licence texts may be bloat in certain cases but they are *necessary* bloat legally [17:59:48] even with a low baud modem, licence texts, as long as they are plain text, are negligable [18:01:06] you don't have to copy the verbatim text of the MIT license into your project, it's sufficient to link to its and specify it as your license [18:01:21] *** Quits: nimajneb (~roytenber@casewireless10.CWRU.Edu) (Quit: nimajneb) [18:01:34] s/its/it/ [18:01:34] woodruffw probably meant: you don't have to copy the verbatim text of the MIT license into your project, it's sufficient to link to it and specify it as your license [18:02:16] but it's best to just include it [18:02:45] also, I feel like most people on github don't actually understand open source licensing [18:02:53] probably [18:03:28] those who *do* understand licensing can put in their own words why they picked some particular licence. [18:03:37] i'm super confused [18:03:51] you do need a file for wtflicense, correct? [18:03:58] http://www.wtfpl.net/faq/ [18:03:59] Title: Frequently Asked Questions [18:04:10] you need to distribute it with your work [18:04:11] i use pick MIT because my projects aren't valuable and i like the idea of people remixing them for their own systems [18:04:53] it seems like just including that preamble is sufficient to associate it with your project [18:05:00] so you don't need to provide a COPYING/LICENSE file [18:05:24] "If for practical reasons you cannot provide a separate COPYING file, you can copy/paste the license text under the above mention. Alternatively, you can link to this website:" [18:05:42] …except the medium poster's situation does not fall under those "practical reasons" exception [18:06:00] for some reason i can't load that medium post [18:06:16] weird, loads just fine in surf but doesn't in firefox. whatever [18:06:21] i've always hated putting the license in my code [18:06:35] i prefer adding a file [18:08:11] for single scripts/tiny programs, i just put it in the preamble. otherwise, it goes in its own file [18:08:27] or for extremely small things, i just say "this is MIT licensed" [18:10:32] just be careful, you may have some startup or other company who wants to use your code but won't follow your licence, no matter what it is [18:11:33] just don't make your terms ambiguous, as lawyers love picking ambiguity out to their benefit [18:12:09] vishwin: even though the MIT license says that the copyright notice should be preserved, i don't think that any company/group could make a claim on it simply because it's referenced instead of directly included. that'd be a bit like challenging a law because it references all of its precedents by USC code instead of directly including them, i think [18:12:34] #s/code/number/ [18:14:24] well, at least USC numbers are bijective [18:14:35] I'm more referring to cases like the different BSD licences [18:14:56] and licences with multiple versions like the GPL family, mozilla, apache [18:15:03] ugh, i'll never be able to keep track of all of the BSD license variations [18:15:30] 2/3/4 clause, individual release licenses, it's all a mess [19:27:54] *** Quits: chokboy (~chokboy@104.236.117.222) (Quit: leaving) [20:21:07] *** Quits: vishwin (~alliek@wikimedia/O) (Ping timeout: 248 seconds) [20:23:18] *** Joins: vishwin (~alliek@wikimedia/O) [20:31:00] *** Joins: robbyoconnor (~wakawaka@guifications/user/r0bby) [20:31:00] *** Quits: robbyoconnor (~wakawaka@guifications/user/r0bby) (Client Quit) [20:31:11] *** Joins: robbyoconnor (~wakawaka@guifications/user/r0bby) [20:52:24] *** Quits: robbyoconnor (~wakawaka@guifications/user/r0bby) (Read error: Connection reset by peer) [20:52:58] *** Joins: robbyoconnor (~wakawaka@guifications/user/r0bby) [21:05:25] *** Joins: lyra833 (~lyra833@130.64.25.56) [21:28:03] *** Quits: vishwin (~alliek@wikimedia/O) (Ping timeout: 240 seconds) [21:35:20] *** Joins: vishwin (~alliek@wikimedia/O) [21:50:06] *** Quits: majora (~majora@205.204.23.189) (Quit: Leaving) [22:10:39] *** Joins: vishwin60 (~psu-clc@wikimedia/O) [22:49:12] @ clinteger iangcarroll gsingh93 I had my security class today CS577 [22:49:29] where do you go to school ? [22:49:42] The professor and I got into a heated debate about iphone security, that went over pretty much everyone elses head [22:49:46] Alabama [22:50:26] lol [22:50:46] I mean, nothing in the whole iPhone issue is really that complicated? [22:50:51] it probably shouldn't have gone over their heads? :S [22:52:55] > alabama [22:53:04] not really surprised there [23:06:31] *** Joins: jacobj (~jacobj@ip70-171-41-236.ga.at.cox.net) [23:20:34] *** Quits: jacobj (~jacobj@ip70-171-41-236.ga.at.cox.net) (Ping timeout: 250 seconds) [23:35:51] *** Quits: lyra833 (~lyra833@130.64.25.56) (Ping timeout: 276 seconds) [23:40:38] *** Joins: DarkNova (~DarkNova@c-68-35-150-201.hsd1.al.comcast.net) [23:45:24] *** Quits: DarkNova (~DarkNova@c-68-35-150-201.hsd1.al.comcast.net) (Remote host closed the connection) [23:46:06] *** Joins: DarkNova (~DarkNova@c-68-35-150-201.hsd1.al.comcast.net) [23:55:23] *** Joins: jacobj (~jacobj@ip70-171-41-236.ga.at.cox.net)