--- Log opened Tue Jun 24 00:00:01 2014 |
--- Day changed Tue Jun 24 2014 |
00:00 | <&ToxicFrog> | Wait, seriously? That makes it trivial. |
00:00 | <&ToxicFrog> | Well, almost trivial. |
00:00 | <&McMartin> | That makes doing it trivial |
00:00 | <&McMartin> | The proof that it works, I imagine, is rather harder. |
00:02 | <~Vornicus> | Quite. |
00:02 | <~Vornicus> | The reference line method is easy and obvious how it works. |
00:07 | <~Vornicus> | (oh, and centroid, nine-point circle, and "nagel point", which is a weird one) |
00:25 | | Derakon[AFK] is now known as Derakon |
00:30 | | Turaiel[Offline] [Brandon@Nightstar-5st1eu.mi.comcast.net] has quit [Ping timeout: 121 seconds] |
00:32 | | Turaiel[Offline] [Brandon@Nightstar-5st1eu.mi.comcast.net] has joined #code |
00:39 | | gnolam [lenin@Nightstar-lgrapr.tbcn.telia.com] has quit [[NS] Quit: Gone] |
00:48 | | JetpackWearingFireBreathingTRex is now known as Checkmate |
01:07 | <&McMartin> | I really need to take \m/\m/\m/\m/\m/\m/ off of loop |
01:09 | <~Vornicus> | It is, after all, only \m/\m/\m/\m/\m/\m/, not \m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m /\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/\m/ |
01:10 | <&Derakon> | \sum{0}{inf}{\\m/} |
01:10 | <&McMartin> | Also, it turns out buying it as a physical CD was probably a mistake overall. |
01:10 | <~Vornicus> | ? |
01:11 | <&Derakon> | Buying music on physical CDs is worth less to me than buying it on MP3s, even if you get the MP3s for free with the CD! |
01:11 | <&McMartin> | Yeah, also, the case was damaged in shipment. |
01:11 | <&Derakon> | Oops. |
01:11 | <&McMartin> | And it didn't give the MP3s or the VVVVVV mod with the CD, so I had to rip it myself and while I'm sure I can execute the mod on my own I haven't tried to do it and would need to do so by hand. |
01:21 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
02:10 | | Nemu [NeophoxProd@Nightstar-kpuumf.gv.shawcable.net] has joined #code |
02:18 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
02:24 | | thalass [thalass@Nightstar-1enuc9.bigpond.net.au] has joined #code |
02:24 | | mode/#code [+o thalass] by ChanServ |
02:24 | | Attilla [uid13723@Nightstar-a0t.9ff.184.192.IP] has quit [[NS] Quit: Connection closed for inactivity] |
02:32 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
02:32 | | mode/#code [+o himi] by ChanServ |
02:40 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
02:48 | | thalass is now known as Thalass|TANKY |
02:51 | | Netsplit *.net <-> *.split quits: @RchrdB, @Syloq, Typherix, simon_, @froztbyte, @macdjord, AnnoDomini, @Vornicus, VirusJTG, Xon, (+19 more, use /NETSPLIT to show all of them) |
02:52 | | Netsplit over, joins: @RchrdB, &Reiver, @PinkFreud, VirusJTG, @Tamber, @Reiv, @macdjord, ~Vornicus, @Syloq, Xon (+4 more) |
02:52 | | Netsplit over, joins: &jeroud, &jerith, @Alek, Syka, &Derakon, @froztbyte, &McMartin, @Thalass|TANKY, @Namegduf, ^Xires (+5 more) |
02:53 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
02:53 | | mode/#code [+o himi] by ChanServ |
03:17 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
03:23 | | Thalass|TANKY is now known as thalass |
03:25 | | Turaiel[Offline] is now known as Turaiel |
03:31 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
03:31 | | mode/#code [+o himi] by ChanServ |
03:39 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
03:57 | | Kindamoody[zZz] is now known as Kindamoody |
04:38 | | Turaiel is now known as Turaiel[Offline] |
04:54 | | Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has joined #code |
04:56 | < Harlow> | can an enum be nested? |
04:57 | <~Vornicus> | ...whut |
04:58 | <@celticminstrel> | Depends on your language. |
04:58 | <@celticminstrel> | C/C++? No. Java? Yes. |
04:58 | | * celticminstrel assumes you mean nested within an enum. If you mean within a class it's yes in both cases. |
05:00 | <~Vornicus> | whut |
05:00 | <~Vornicus> | I can't even imagine what a nested enum is supposed to, uh |
05:01 | <~Vornicus> | I don't know, what the hell are you guys trying to do |
05:02 | <@celticminstrel> | Nesting an enum within a class in C/C++ is actually a good way to simulate scoped enums. |
05:02 | <@celticminstrel> | ...although I preferred nesting it in a namespace instead. |
05:03 | <~Vornicus> | But an enum within an enum? What the nostrilfrosting? |
05:04 | <@celticminstrel> | That might've been me jumping to silly conclusions, not sure. |
05:04 | | * celticminstrel pokes at Harlow |
05:04 | < Harlow> | I am going to be using a namespace :p |
05:04 | < Harlow> | with enums in it. |
05:04 | < Harlow> | because c++ indeed does not allow nesting. |
05:05 | <~Vornicus> | okay, good, 'cause I would look at that code and, like, die of confusion |
05:05 | < Harlow> | I am defining objects with the help of some enums. |
05:05 | | Derakon is now known as Derakon[AFK] |
05:06 | < Harlow> | vornicus: originally I thought i just wanted something like an array that referenced another array of things. (this is better accomplished with namespaces though) |
05:13 | | Turaiel[Offline] is now known as Turaiel |
05:16 | | thalass is now known as Thalasleep |
05:24 | | Thalasleep [thalass@Nightstar-1enuc9.bigpond.net.au] has quit [Ping timeout: 121 seconds] |
05:27 | <@macdjord> | Vornicus: A Java Enum is a fully funtional class; it can contain other inner classes, and those classes can also be enums. This just means you end up with stuff like OuterEnum.InnerEnum.VALUE_1 |
05:27 | | Nemu [NeophoxProd@Nightstar-kpuumf.gv.shawcable.net] has quit [Ping timeout: 121 seconds] |
05:27 | | Nemu [NeophoxProd@Nightstar-kpuumf.gv.shawcable.net] has joined #code |
05:27 | <&McMartin> | Java "Enums" are not actually enums in the sense that any other language I know of uses the term |
05:33 | | RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.] |
05:36 | | RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has joined #code |
05:48 | | Kindamoody is now known as Kindamoody|out |
05:50 | | Turaiel is now known as Turaiel[Offline] |
05:56 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
06:12 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
06:12 | | mode/#code [+o himi] by ChanServ |
06:31 | | Orthia [orthianz@Nightstar-mvf.9c1.224.119.IP] has quit [Ping timeout: 121 seconds] |
06:31 | | Orthia [orthianz@Nightstar-mvf.9c1.224.119.IP] has joined #code |
06:31 | | mode/#code [+o Orthia] by ChanServ |
06:49 | | Orth_ [orthianz@Nightstar-mvf.9c1.224.119.IP] has joined #code |
06:50 | | Orthia [orthianz@Nightstar-mvf.9c1.224.119.IP] has quit [Ping timeout: 121 seconds] |
07:00 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
07:00 | | mode/#code [+o Checkmate] by ChanServ |
07:03 | | Thalasleep [thalass@Nightstar-1enuc9.bigpond.net.au] has joined #code |
07:03 | | Orth_ [orthianz@Nightstar-mvf.9c1.224.119.IP] has quit [[NS] Quit: Going dooooown...] |
07:04 | | Orthia [orthianz@Nightstar-mvf.9c1.224.119.IP] has joined #code |
07:04 | | mode/#code [+o Orthia] by ChanServ |
07:13 | < Harlow> | Swift is annoying |
07:27 | | Attilla [uid13723@Nightstar-a0t.9ff.184.192.IP] has joined #code |
07:33 | | Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has quit [[NS] Quit: BED] |
07:40 | | celticminstrel is now known as celmin|sleep |
08:09 | <&McMartin> | !! |
08:09 | <&McMartin> | Whoa |
08:09 | <&McMartin> | irssi update in my repos |
08:09 | <&McMartin> | Back in a bit, I guess |
08:10 | | McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [[NS] Quit: updates] |
08:13 | | Thalasleep is now known as Thalass |
08:21 | | McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code |
08:21 | | mode/#code [+ao McMartin McMartin] by ChanServ |
08:22 | | Orthia [orthianz@Nightstar-mvf.9c1.224.119.IP] has quit [Ping timeout: 121 seconds] |
08:23 | | Orthia [orthianz@Nightstar-mvf.9c1.224.119.IP] has joined #code |
08:23 | | mode/#code [+o Orthia] by ChanServ |
08:29 | <~Vornicus> | irssi update, man |
08:35 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code |
08:36 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [[NS] Quit: âªRainbow Dash always dresses in style~âª] |
08:54 | | Thalass [thalass@Nightstar-1enuc9.bigpond.net.au] has quit [[NS] Quit: augh werk] |
08:54 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code |
08:54 | | mode/#code [+o macdjord] by ChanServ |
08:56 | | macdjord is now known as macdjord|slep |
09:25 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving] |
09:35 | | jeroud [sid10043@Nightstar-a1k27g.irccloud.com] has quit [Ping timeout: 121 seconds] |
09:36 | | jeroud [sid10043@Nightstar-uub.9ff.184.192.IP] has joined #code |
09:36 | | mode/#code [+ao jeroud jeroud] by ChanServ |
10:10 | | Vornicus [Vorn@Nightstar-sn7kve.sd.cox.net] has quit [[NS] Quit: Leaving] |
10:14 | | mode/#code [+o RchrdB] by ChanServ |
10:54 | | Attilla [uid13723@Nightstar-a0t.9ff.184.192.IP] has quit [[NS] Quit: Connection closed for inactivity] |
11:08 | | gnolam [lenin@Nightstar-lhk.n94.131.88.IP] has joined #code |
11:09 | | mode/#code [+o gnolam] by ChanServ |
11:14 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
11:38 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
12:46 | | * ToxicFrog bonks his head against the hull |
12:47 | < luke> | I'm guess you typed = instead of == |
12:47 | <&ToxicFrog> | Over in #git we have someone who hacked together a website out of PHP, left .git in the wwwroot, and is now wondering how their site has been pwnt |
12:47 | <&ToxicFrog> | I WONDER |
12:47 | <@TheWatcher> | WE MAY NEVER KNOW HOW~ |
12:48 | < luke> | BEWARE THE HACKERS |
12:48 | <@Azash> | Meanwhile at The Register |
12:48 | <@Azash> | CLEVER GITHUB INFILTRATION EXPOSES WEBSITES TO ATTACKERS |
12:49 | <&ToxicFrog> | Ahahahaha. Not only idd they dthat, there is also a nonzero chance that they left gitd running, with the allow-pushes option |
12:49 | < luke> | And you can be sure they'll mention its association with Linux in the first three linex |
12:49 | <&ToxicFrog> | Although it looks like nothing was actually pushed but still |
12:50 | <@Azash> | ToxicFrog: Live and learn, right? |
12:50 | <@Azash> | Please tell me this was a personal project though |
12:51 | <&ToxicFrog> | I hope so, but I can't be arsed to read the entire backscroll to find out |
12:51 | <@Azash> | OTOH strictly speaking there shouldn't be issues with leaving your web code in Git though |
12:51 | <@Azash> | Unless you have like the DB file or passwords or something there |
12:52 | <&ToxicFrog> | Azash: if your cod eis secure, yes. |
12:52 | <&ToxicFrog> | If it's not, it makes it much easier to find exploits. |
12:53 | <&ToxicFrog> | This is a PHP website written by someone who doesn't know enough not to leave .git in the wwwroot or turn off gitd. |
12:53 | <&ToxicFrog> | Odds of it not having one, or probably several, horribly exploitable and obvious flaws are basically zero. |
12:54 | <@Azash> | True, but otoh security by obscurity |
12:54 | <@Azash> | You'd just slow an attacker down |
12:54 | <&ToxicFrog> | Well |
12:54 | <&ToxicFrog> | That depends on whether they are specifically targeting you, or whether they are just looking for websites with exposed PHP source code |
12:54 | <@Azash> | Mm |
12:56 | <@RchrdB> | I think I've seen the aftereffects of at least one generic PHP vulnerability scanner =) |
12:56 | <&ToxicFrog> | And yeah, the actual answer is "be secure", but we are already so far away from that |
12:56 | <&ToxicFrog> | Sufficiently far away that I don't trust this person not to have passwords or private keys in the git history |
12:57 | <@RchrdB> | Like it was looking for and finding a common exploit *pattern*, namely "PHP image upload scripts on forums that write files into a place where the httpd will parse and execute it as PHP" |
12:57 | <@RchrdB> | not actually any particular piece of software, I think, because it managed to find one of those exploits on a completely from-scratch site written with no code in common with anything else |
12:58 | <&ToxicFrog> | wait |
12:58 | <&ToxicFrog> | why would you do that |
12:58 | <&ToxicFrog> | ever |
13:04 | <@RchrdB> | because you're running a forum on the internet for your friends to post image macros onto? |
13:06 | <@RchrdB> | and you don't quite realise that putting a file in *that* directory with *those* permissions and *that* user-supplied filename intersects disastrously with the fact that your httpd is configured to blindly execute anything with ".php" on the end of the filename inside DocumentRoot? |
13:06 | <@RchrdB> | because you wrote your PHP app by copy pasting things you found on the internet |
13:06 | <@RchrdB> | and because you configured your httpd by copy pasting things you found on the internet |
13:13 | <@TheWatcher> | ugh |
13:16 | <@RchrdB> | ^ is why I don't take the "Node.JS is a cancer on the programming community!" rants seriously. |
13:16 | <&ToxicFrog> | I don't see the connection |
13:16 | <@RchrdB> | ^ at least it isn't PHP and it isn't full of people telling each other to set all files executable by default and to put both code and data in the same place. |
13:17 | <&ToxicFrog> | And I was interpreting that as "image upload scripts that, by design, write executable PHP scripts for later execution when someone uploads an image" |
13:18 | <@RchrdB> | ToxicFrog, no, it's "image upload scripts that, by design, write files inside DocumentRoot with a user-supplied filename" and "webservers that, by design, execute anything that might plausibly be a PHP script provided you squint hard enough". |
13:22 | <@Azash> | Was typing this before I got called out to talk to someone |
13:22 | <@Azash> | ToxicFrog: Did you ever see that case where someone was busted because of possession of child pornography 'cause he backed up all his dotfiles to github including bash_history? |
13:26 | <&ToxicFrog> | Nope |
13:26 | <&ToxicFrog> | RchrdB: yes, I get that now |
13:28 | <&ToxicFrog> | Azash: I mean, I'm not surprised, search github for, say, id_rsa and you get all kinds of fun times |
13:29 | <&ToxicFrog> | But I didn't actually hear about it |
13:30 | <@Azash> | Yeah there wasn't really more to it than that |
14:14 | | gnolam [lenin@Nightstar-lhk.n94.131.88.IP] has quit [[NS] Quit: Gone] |
14:35 | <@Azash> | https://pattle.github.io/simpsons-in-css/ |
14:37 | <@TheWatcher> | Someone has way too much time on their hands... |
14:37 | <@Azash> | Also Krusty will give you nightmares |
14:38 | < AnnoDomini> | Neither Pale Moon nor Chrome can properly do the Comic Book Guy. |
14:39 | <@TheWatcher> | "CSS is becoming more and more powerful and often with a bit of thought you can replace basic graphics with CSS. The advantages of this are obviously better performance and graphics that scale." |
14:39 | <@TheWatcher> | That's what fucking .svg is for |
14:39 | <@RchrdB> | ewww @ the notion of drawing shapes in CSS |
14:39 | <@TheWatcher> | CSS is for style definition, not sodding vector graphics |
14:39 | <@RchrdB> | it always involves such huge quantities of bizarre usually-slow hacks |
14:41 | <@TheWatcher> | That one's up there with the old hack of using insane nested tables and images to create unusual page layouts. |
14:42 | <@Azash> | TheWatcher: Reminds me of looking at imagemagick docs |
14:42 | <@Azash> | "Isn't this a neat pic? It's easy to draw in just a bash one-liner!" |
14:42 | <@Azash> | Except it was a shitty gradient cylinder with text on it |
14:42 | <@Azash> | And the bash one-liner was split into 7-8 lines with \ because it was long as fuck |
14:46 | <@TheWatcher> | I love the imagemagick docs |
14:47 | <@TheWatcher> | They are very expertly written; they include just enough information to be slightly less than you actually need to know. |
14:51 | <@Azash> | Hahah |
15:00 | | ^Xires is now known as Xires |
15:40 | | gnolam [lenin@Nightstar-rf9l8k.cust.bredbandsbolaget.se] has joined #code |
15:40 | | mode/#code [+o gnolam] by ChanServ |
15:47 | | * TheWatcher hairpulls at this |
15:48 | <@TheWatcher> | Sometimes, for no reason I can see, I can click on this element and the onclick listener doesn't fire, as if the click was being consumed elsewhere... except when I have the dev tools open and it works perfectly |
15:49 | <@gnolam> | HAIL THE GREAT BEAST, DEVOURER OF EVENTS |
15:50 | <@Azash> | TheWatcher: Does it not fire at all or does it just fail? |
15:51 | <@TheWatcher> | My listener doesn't fire. |
15:52 | <@TheWatcher> | It actually looks like it might be adblock is sometimes grabbing the click |
16:57 | | HotShot [HotShot@Nightstar-v7se27.try.wideopenwest.com] has joined #code |
17:01 | | AnnoDomini is now known as Julius |
17:01 | | HotShot [HotShot@Nightstar-v7se27.try.wideopenwest.com] has quit [Connection closed] |
17:58 | | celmin|sleep is now known as celticminstrel |
18:26 | | HotShot [HotShot@Nightstar-v7se27.try.wideopenwest.com] has joined #code |
18:55 | <@froztbyte> | http://mir.aculo.us/dom-monster/ |
19:04 | | HotShot[ipad] [HotShot@Nightstar-v7se27.try.wideopenwest.com] has joined #code |
19:06 | | Checkmate [Z@Nightstar-ro94ms.balk.dk] has joined #code |
19:06 | | mode/#code [+o Checkmate] by ChanServ |
19:07 | | HotShot [HotShot@Nightstar-v7se27.try.wideopenwest.com] has quit [Ping timeout: 121 seconds] |
19:09 | | Vornicus [Vorn@Nightstar-sn7kve.sd.cox.net] has joined #code |
19:09 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
19:11 | | Checkmate [Z@Nightstar-ro94ms.balk.dk] has quit [Ping timeout: 121 seconds] |
19:12 | | Checkmate [Z@Nightstar-et0.p89.144.94.IP] has joined #code |
19:12 | | mode/#code [+o Checkmate] by ChanServ |
19:27 | | Vornotron [Vorn@Nightstar-sn7kve.sd.cox.net] has joined #code |
19:28 | | Vornotron [Vorn@Nightstar-sn7kve.sd.cox.net] has quit [Connection reset by peer] |
20:26 | | Checkmate [Z@Nightstar-et0.p89.144.94.IP] has quit [Connection closed] |
20:57 | | HotShot[ipad] [HotShot@Nightstar-v7se27.try.wideopenwest.com] has quit [Ping timeout: 121 seconds] |
21:02 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
21:03 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
21:03 | | mode/#code [+o Syloq] by ChanServ |
21:05 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
21:05 | | mode/#code [+o Checkmate] by ChanServ |
21:40 | | Kindamoody|out is now known as Kindamoody |
22:10 | <@gnolam> | https://twitter.com/casheeew/status/481438450848395264 |
22:37 | | Kindamoody is now known as Kindamoody[zZz] |
23:17 | | Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has joined #code |
--- Log closed Wed Jun 25 00:00:24 2014 |