Cryto! 14 March 2013

00:12:17 Ari|AFK has quit (Ping timeout)
00:17:21 <DrWhat> Mighty0wl was last seen on #crytocc as "eggtimer", 8hrs 8secs ago
00:18:48 <twitchyliquid64> come back joepie91
00:18:54 <twitchyliquid64> the curiousity is killing me
00:19:04 <twitchyliquid64> what do you want to ask/tell?
00:51:06 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
00:56:48 DrWhat has quit (User quit:  AnacønÐa · "A memorandum is written not to inform the reader but to protect the writer")
01:46:07 pzuraq has quit (Input/output error)
01:47:32 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:48:05 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:48:05 pzuraq has quit (Connection reset by peer)
01:48:54 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:48:55 pzuraq_ has quit (Connection reset by peer)
01:49:41 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:49:42 pzuraq has quit (Connection reset by peer)
01:50:29 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:50:29 pzuraq_ has quit (Connection reset by peer)
01:51:17 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:51:18 pzuraq has quit (Connection reset by peer)
01:52:06 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:52:06 pzuraq_ has quit (Connection reset by peer)
01:52:54 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:52:55 pzuraq has quit (Connection reset by peer)
01:53:41 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:53:42 pzuraq_ has quit (Connection reset by peer)
01:54:29 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:54:29 pzuraq has quit (Connection reset by peer)
01:55:17 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:55:18 pzuraq_ has quit (Connection reset by peer)
01:56:06 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:56:06 pzuraq has quit (Connection reset by peer)
01:56:54 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:56:54 pzuraq_ has quit (Connection reset by peer)
01:57:41 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:57:42 pzuraq has quit (Connection reset by peer)
01:58:29 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:58:30 pzuraq_ has quit (Connection reset by peer)
01:59:18 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
01:59:19 pzuraq has quit (Connection reset by peer)
02:00:06 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:00:07 pzuraq_ has quit (Connection reset by peer)
02:00:53 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:00:53 pzuraq has quit (Connection reset by peer)
02:01:41 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:01:42 pzuraq_ has quit (Connection reset by peer)
02:02:29 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:02:29 pzuraq has quit (Connection reset by peer)
02:03:18 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:03:19 pzuraq_ has quit (Connection reset by peer)
02:03:25 <lady-3jane> holy pzuraq network instability, batman!
02:04:06 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:04:06 pzuraq has quit (Connection reset by peer)
02:05:43 pzuraq_ has quit (Connection reset by peer)
02:05:43 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:07:19 pzuraq has quit (Connection reset by peer)
02:07:43 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:08:56 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:08:57 pzuraq has quit (Connection reset by peer)
02:09:41 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:09:42 pzuraq_ has quit (Connection reset by peer)
02:10:29 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:10:30 pzuraq has quit (Connection reset by peer)
02:11:17 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:11:17 pzuraq_ has quit (Connection reset by peer)
02:11:26 Ishaq has quit (Connection reset by peer)
02:12:06 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:12:07 pzuraq has quit (Connection reset by peer)
02:12:53 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:12:54 pzuraq_ has quit (Connection reset by peer)
02:13:41 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:13:41 pzuraq has quit (Connection reset by peer)
02:14:29 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:14:30 pzuraq_ has quit (Connection reset by peer)
02:15:18 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:15:18 pzuraq has quit (Connection reset by peer)
02:16:06 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:16:06 pzuraq_ has quit (Connection reset by peer)
02:16:49 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:16:50 pzuraq has quit (Connection reset by peer)
02:24:06 pzuraq_ has quit (Ping timeout)
02:30:40 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
02:32:48 Ari (Ari@cryto-1543D6C8.cpe.distributel.net) has joined #crytocc
03:04:41 Aero (Ari@cryto-1543D6C8.cpe.distributel.net) has joined #crytocc
03:07:43 Aero has quit (User quit:  Leaving)
03:08:12 Aero (Ari@cryto-1543D6C8.cpe.distributel.net) has joined #crytocc
03:24:17 Ari has quit (User quit:  Leaving)
03:24:35 *** Aero is now known as Ari
04:13:51 pzuraq has quit (Input/output error)
04:14:16 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
04:17:27 pzuraq has quit (Ping timeout)
04:18:42 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
04:34:39 mama has quit (Ping timeout)
04:49:18 DrWhat (VGHJHBN@cryto-C0B73CE6.cable.virginmedia.com) has joined #crytocc
04:49:35 <DrWhat> Google is closing down reader
05:20:06 <lady-3jane> yes
05:20:18 <lady-3jane> coincidentally I am hand writing the atom feed for my site now
05:20:27 * lady-3jane keeps working on it
05:58:38 <MK_FG> Obligatory "hitler gets the news" video https://www.youtube.com/watch?v=A25VgNZDQ08
06:09:29 * lady-3jane shrugs
06:09:34 <lady-3jane> I just wrote an atom feed by hand
06:09:40 <lady-3jane> your video is invalid
07:05:02 S1renide (S1renide@cryto-454686D9.compute-1.amazonaws.com) has joined #crytocc
07:06:24 S1renide has quit (User quit:  Connection closed)
07:43:24 AnonForecast has quit (User quit:  Leaving)
07:52:56 AnonForecast (AnonForeca@cryto-999D5D74.dhcp.insightbb.com) has joined #crytocc
08:17:01 <wh1t3r4bb1t> Raise your weapon!
08:24:24 * Ari raises weapon
08:24:28 <Ari> one word, and it's over
08:25:23 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
08:25:24 pzuraq has quit (Connection reset by peer)
08:25:46 pzuraq_ has quit (Input/output error)
08:26:06 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
08:28:17 pzuraq has quit (Connection reset by peer)
09:01:59 *** Ari is now known as AriSleep
09:06:18 mama (me@cryto-C630644E.is.a.tor.exit.server.torland.is) has joined #crytocc
09:18:14 <wh1t3r4bb1t> Sometimes I want to slap the shit out of the wordpress core team, AND the buddypress core team. They fuck shit up constantly. Good thing I'm forking both into a single project.
09:21:40 <wh1t3r4bb1t> They aren't code monkeys, they're code niggers. Shit quality code niggers.
09:22:26 <wh1t3r4bb1t> Anywho I need to go sweep with an l.
09:51:50 iris (iris@DA75FE21.CF71EE43.A856A7D6.IP) has joined #crytocc
09:52:00 iris has quit (Input/output error)
10:14:46 wh1t3r4bb1t has quit (Ping timeout)
10:15:43 BLTGeno2 (BLTGeno4@D68C9ED.3BC0875E.71C5A468.IP) has joined #crytocc
10:30:20 BLTGeno2 has quit (Ping timeout)
10:35:21 wh1t3r4bb1t (antarctica@cryto-497FB66D.direcpc.com) has joined #crytocc
10:51:36 BLTGeno (BLTGeno4@D68C9ED.3BC0875E.71C5A468.IP) has joined #crytocc
10:58:45 joepie91 (joepie91@cryto-8ADCA503.adsl.online.nl) has joined #crytocc
11:00:40 Xeross (Xeross@F31F8942.7789B1E3.813EF599.IP) has joined #crytocc
11:00:51 <Xeross> Heyo
11:05:09 joepie91_ (joepie91@cryto-8ADCA503.adsl.online.nl) has joined #crytocc
11:14:49 <Xeross> joepie91, joepie91_: Which one of you do I harass?
11:15:38 *** shikat is now known as snowkat
11:15:40 * snowkat throws a snowball at Xeross
11:16:14 <Xeross> Mew?
11:16:26 <snowkat> nou
11:16:41 <joepie91> Xeross: the underscore-less one
11:16:42 <joepie91> :)
11:23:31 <snowkat> http://ascii.snowkat.nl/ too big? :P
11:25:04 <Xeross> snowkat: only takes 1 minute to load
11:25:15 <snowkat> ik
11:25:18 <snowkat> but its to big xD
11:26:02 <Xeross> that's what she said
11:26:37 <snowkat> lol
11:26:40 <snowkat> Very funny.
11:26:41 * snowkat throws a snowball at Xeross
11:27:06 * Xeross catches it and throws it back
11:27:53 * snowkat bows and makes you hit joepie91 instead.
11:29:03 <Xeross> I'd rather hit joepie91 with something else that's white
11:29:32 joepie91 has quit (User quit:  Nettalk6 - www.ntalk.de)
11:29:56 joepie91 (joepie91@cryto-8ADCA503.adsl.online.nl) has joined #crytocc
11:35:33 <snowkat> Cum probably.
11:35:40 <Xeross> snowkat: bingo
11:35:46 <snowkat> ?Gay.
11:35:59 <Xeross> snowkat: I have a boyfriend, most likely I am gay yes
11:36:10 <snowkat> Xeross, Weren't you dutch?
11:36:18 <Xeross> Ja hoezo?
11:37:24 <snowkat> Beetje met sperma naar joepie91 gooien hoe durf je.
11:43:07 <joepie91> too much Dutch D:
11:44:31 <joepie91> I should probably make some ReDonate buttons and widgets and shit...
11:45:59 <Xeross> That would be useful
11:52:56 <joepie91> there's already three undocumented buttonbs
11:52:58 <joepie91> but they're meh
11:54:07 <joepie91> brb
12:28:49 <DrWhat> Lol
12:28:57 <DrWhat> I forgot joepie91 dont like dutch :)
12:29:49 <snowkat> Then why is he living there.
12:30:33 <DrWhat> he was born there,
12:30:52 <DrWhat> Plus most dutch speak english
12:31:05 <DrWhat> if they dont
12:31:12 <DrWhat> I rape them
13:25:54 BLTGeno has quit (Ping timeout)
13:32:07 <DrWhat> Yay
13:32:14 <DrWhat> after long searching
13:32:22 <DrWhat> i found the docmuentation i was looking for
13:32:23 <DrWhat> https://members.vbulletin.com/api/
13:32:24 <DrWhat> :)
13:33:04 ebola has quit (User quit:  Leaving)
13:34:20 Ishaq (Ishaq@cryto-6C73979.rf.usr.sh) has joined #crytocc
13:42:11 BLTGeno (BLTGeno4@D68C9ED.3BC0875E.71C5A468.IP) has joined #crytocc
13:57:34 ebola (ebola@cryto-6806BAD.ighost.se) has joined #crytocc
14:11:59 <DrWhat> pfftt
14:12:02 BLTGeno has quit (Ping timeout)
14:12:05 <DrWhat> joepie91 you need to teach mehow to use classes
14:12:06 <DrWhat> Warning: Cannot use a scalar value as an array in [path]\includes\functions.php on line 1600
14:12:06 <DrWhat> Warning: Cannot use a scalar value as an array in [path]\includes\functions.php on line 1601
14:12:06 <DrWhat> Warning: Cannot use a scalar value as an array in [path]\includes\functions.php on line 1602
14:12:06 <DrWhat> Warning: Cannot use a scalar value as an array in [path]\includes\functions.php on line 5972
14:12:07 <DrWhat> :(
14:12:16 <DrWhat> I have no fucking idea
14:13:12 <MK_FG> Is it brits who don't like dutch or the germans?
14:13:43 <DrWhat> germans dont like brits
14:13:47 <DrWhat> also
14:13:49 <DrWhat> new error
14:13:50 <DrWhat> Fatal error: Call to undefined function construct_im_icons() in C:\xampp\htdocs\vb\includes\class_userprofile.php on line 324
14:14:20 <DrWhat> All im doing is this
14:14:21 <DrWhat> $vbuser = new vB_UserProfile($prepared, $userinfo);
14:15:12 <joepie91> DrWhat: re those warnings
14:15:12 <joepie91> provide code
14:15:31 <joepie91> as for the fatal error, no idea, looks like something is fucked up in vb code
14:15:36 <joepie91> which would not at all surprise me
14:16:10 <DrWhat> hmmm:/
14:16:15 <DrWhat> Let me have alook :)
14:17:26 <DrWhat> http://pastebin.com/4h5DMrFp
14:17:29 <DrWhat> thats the class
14:17:44 <DrWhat> In not even calling that
14:17:52 <DrWhat> I just want the user info
14:17:58 <DrWhat> So i can split the user by groups
14:18:07 <joepie91> DrWhat: is that vb code?
14:18:10 <DrWhat> yeash
14:18:22 * joepie91 sighs
14:18:43 <joepie91> is the construct_im_icons function defined anywhere in vb code?
14:18:48 <joepie91> (do a recursive grep)
14:20:25 * joepie91 frowns at vBulletin's use of the 'or' operator
14:21:18 <DrWhat> Its part of the Vb_UserProfile class which i want to use to fetch usergroup so i can give admins/moderators etc more permissions then normal users
14:21:46 <DrWhat> <- windows has no grep :]
14:22:05 <MK_FG> win7 does
14:22:09 <MK_FG> *has
14:22:10 <DrWhat> It does?
14:22:15 <DrWhat> Oh wait
14:22:23 <DrWhat> i can use notepad++ to find in files
14:22:43 <MK_FG> Yep, install the unix services for windows or something like that under "programs ..." in control panel
14:22:55 <MK_FG> There's grep, awk, sed and the goodies
14:23:07 <DrWhat> But no other vbulltin file should be executing
14:23:20 <DrWhat> all i have is
14:23:20 <DrWhat> require('../includes/class_userprofile.php');
14:23:20 <DrWhat> $vbuser = new vB_UserProfile($prepared, $userinfo);
14:24:50 <DrWhat> Ok notepad++ is searching
14:26:29 <DrWhat> http://prntscr.com/wa0u6
14:26:30 <DrWhat> thats it
14:28:06 <joepie91> my wifi reception is absolute shit up here lol
14:28:08 <joepie91> <DrWhat>require('../includes/class_userprofile.php');
14:28:08 <joepie91> that's probably why it breaks
14:28:08 <joepie91> it most likely depends on a function in another file that you are not including
14:29:04 <DrWhat> Nope
14:29:16 <DrWhat> Docmumentation says it only needs that file
14:29:49 <DrWhat> https://members.vbulletin.com/api/vBulletin/vB_UserProfile.html#sec-description
14:31:41 BLTGeno (BLTGeno4@cryto-590FDA9.basl.cable.virginmedia.com) has joined #crytocc
14:44:45 BLTGeno has quit (Client exited)
14:55:25 zxcvbnm (zxcvbnm@cryto-7B663E92.static.cloud-ips.com) has joined #crytocc
15:01:04 <joepie91> "Note: Legal values for boolean are true, false, 1 (which indicates true), and 0 (which indicates false)."
15:01:10 BLTGeno (BLTGeno4@cryto-590FDA9.basl.cable.virginmedia.com) has joined #crytocc
15:01:11 <joepie91> (while reading about XML)
15:01:18 <joepie91> I expected it to say "... and FileNotFound" at the end
15:01:22 * joepie91 reads too much TDWTF
15:01:24 <joepie91> lol
15:05:25 <zxcvbnm> Hey jp I have an interesting python problem
15:05:52 <zxcvbnm> I have a python script that spits out somne info from a csv into an email
15:05:57 <zxcvbnm> but formatting within the email is pretty ugly.
15:06:26 <zxcvbnm> I am interested in turning it into a table, but I'm not sure what will be the most lightweight and best approach to making it in table data
15:06:37 <joepie91> text/plain or text/html?
15:12:00 <zxcvbnm> text/plain
15:13:16 <ryan_> why does paypal have to have this gay chargeback crap
15:13:30 <ryan_> annoying to deal with liberty reserve
15:13:43 <zxcvbnm> what's more concerning is why paypal has a function w/ a sexuality preference
15:14:10 <ryan_> someone should implement some way to transfer money that doesnt suck
15:14:29 <zxcvbnm> people keep trying
15:14:46 <joepie91> <zxcvbnm>what's more concerning is why paypal has a function w/ a sexuality preference
15:14:47 <joepie91> ?
15:14:51 <joepie91> <zxcvbnm>text/plain
15:14:59 <joepie91> probably a combination of ascii art and .ljust/.rjust
15:15:00 <joepie91> :P
15:15:11 <joepie91> if you *really* want tables
15:15:25 <ryan_> or just pick some random python library that magically turns csv into html
15:15:36 <joepie91> ryan_: it's text/plain so that won't work
15:15:55 <joepie91> (did I mention that I really fucking hate email? )
15:16:06 <ryan_> Unless zxcvbnm is doing it in some absolutely disgusting way, changing it to text/html wouldn't be that difficult
15:17:16 <zxcvbnm> well we can't rule anything out
15:17:25 <zxcvbnm> < joepie91> <zxcvbnm>what's more concerning is why paypal has a function
15:17:25 <zxcvbnm>                   w/ a sexuality preference
15:17:40 <zxcvbnm> I was making fun cause ryan_ asked why paypal has a gay chargeback crap
15:17:49 <zxcvbnm> that's all :P
15:19:30 <joepie91> ohhh
15:19:31 <joepie91> lol
15:19:32 <joepie91> derp
15:19:43 <joepie91> ryan_: you'd still have to include a text/plain version though
15:21:06 <joepie91> IE5 and later has implemented that [0] should be the first node, but according to the W3C standard it should have been [1]!!
15:21:10 <joepie91> jesus fucking christ microsoft
15:21:28 <joepie91> even your fucking XPath implementation is broken? fucking really? :|
15:22:53 <MK_FG> zxcvbnm, Python has neat alignment in formatting for fixed-with-text tables, like '{:>10} {:>10} {:>10}'.format(*fields)
15:23:40 <zxcvbnm> Ooh
15:23:48 <MK_FG> Email hate? Really? ;)
15:23:53 <MK_FG> It's like hating irc!
15:24:15 <joepie91> MK_FG: you sure you want to go there? :P
15:24:23 <MK_FG> Absolutely not
15:24:50 <zxcvbnm> attakid
15:25:00 <joepie91> also, no matter how flawed people believe w3schools is, it did once again help me gain a good grasp on a topic
15:25:04 <joepie91> XML and XPath in this case
15:25:12 <MK_FG> But I'd rather go there then for whatever crap people will jump at for the replacement
15:25:18 <MK_FG> Like G+ and it's ilk
15:25:19 <joepie91> and XML Schema
15:25:28 <MK_FG> Which is goddamn happening already ;(
15:35:47 sila-jain (sila-jain@AE943D20.264231DA.B12E5C93.IP) has joined #crytocc
15:40:01 <zxcvbnm> So, I have a minor issue with my table formatting
15:40:05 <zxcvbnm> That I don't know how to approach logically
15:40:11 <zxcvbnm> I have 4 columns
15:40:32 <zxcvbnm> One column on the far left will contain one username
15:40:43 <zxcvbnm> The columns to the right may contain multiple results that belong to that one username
15:41:21 <zxcvbnm> So I don't really know how how to .. ahh my head.
15:42:03 <zxcvbnm> I think I can get it. Just trying to visualize
15:54:10 sila-jain has quit (Ping timeout)
15:54:38 sila-jain (sila-jain@AE943D20.264231DA.B12E5C93.IP) has joined #crytocc
15:59:36 <MK_FG> I'd try adding some '-'*table_width separator before row with new username
16:00:14 <MK_FG> But dunno, maybe just attach csv to email?
16:05:02 fanat1ck (fanat1ck@cryto-454686D9.compute-1.amazonaws.com) has joined #crytocc
16:06:23 fanat1ck has quit (User quit:  Connection closed)
16:07:37 mama has quit (User quit:  ChatZilla 0.9.90 [Firefox 17.0.3/20130220044945])
16:09:42 <zxcvbnm> Attaching as a CSV is not a bad idea, but we try to make everything available in the e-mail because people often check these alerts from home on their mobile
16:10:46 <DrWhat> 14fanat1ck was last seen on #crytocc as "S1renide", 9hrs 26secs ago
16:23:57 <MK_FG> Stumbled upon interesting js "wat" thing - https://raw.github.com/gist/5162771 ;)
16:24:42 <MK_FG> Apparently it's common practice in some libs like asm.js to use |0 to as "to some number or 0"
16:25:34 <MK_FG> I wonder, what IE5 will say to that...
16:30:58 <joepie91> MK_FG: hmm.. it looks reasonably sane to me
16:31:17 <joepie91> assuming | is intended to be an 'or' operator for numeric values
16:31:26 <joepie91> behaviour is consistent and predictable, so meh
16:31:56 <MK_FG> Um, how do you justify bitwise-or of a function with anything?
16:32:07 <MK_FG> Or that [3]|0 === 3?
16:32:13 <joepie91> MK_FG: operator overloading
16:32:24 <lady-3jane> :3
16:32:27 <joepie91> I don't see it doing bitwise operations in any of the examples
16:32:38 <joepie91> unless I'm overlooking something
16:32:52 <MK_FG> It kinda does
16:32:53 *** Xeross is now known as Xeross|AFK
16:32:57 <joepie91> and [3]|0 is probably 3 because [3] can be cast to a single integer when used as an integer
16:33:02 <MK_FG> It's just that x|0 === x
16:33:04 <joepie91> unambiguously
16:44:08 <lady-3jane> is it performing a logical or?
16:44:21 <lady-3jane> because if there's a value before the | it's gonna be true
16:44:52 <lady-3jane> short curcuit logic or w/e
16:46:46 <lady-3jane> I can see that being used as a safety mechanism in something other than javascript, actually
16:47:13 <lady-3jane> quick zero checks everywhere, bail if 0
16:55:28 <lady-3jane> we were taught to do that shit in C haha. Check all incoming values to make sure they're what they should be
16:55:32 <MK_FG> It's bitwise logic, yeah
16:55:55 <lady-3jane> mmmk, then all the examples should break before the |
16:56:23 <MK_FG> But C compiler won't let you nearly all the stuff there, only with ints all around, I think
16:56:42 <lady-3jane> yeah
16:56:51 <MK_FG> In perl, there's an idiom of "$a+0" to "convert to number"
16:57:18 <MK_FG> Dunno, I find these quite unintuitive
16:57:36 <MK_FG> Clearly not everyone does
16:57:39 <lady-3jane> :P
16:57:59 <lady-3jane> My preference has always been verbose everything, so my casts are obvious as fuck
16:58:02 <lady-3jane> never idiomatic like hat
16:58:05 <lady-3jane> that *
16:58:37 <lady-3jane> hmm I have a cast in my python somewheres
16:58:57 <lady-3jane> temp = int(temp)
16:59:31 <lady-3jane> (because temp going in is a string, I think, or whatever you get when you pull a value out of a json object
17:00:06 <lady-3jane> I could wrap the whole thing in int() if I was clever, but I hate that
17:00:27 <lady-3jane> wooo remove a line of code and decrease readability NOPE
17:02:50 wh1t3r4bb1t has quit (Connection reset by peer)
17:05:26 <lady-3jane> http://paulgraham.com/circling.html
17:05:28 <lady-3jane> I love that.
17:05:36 <lady-3jane> that is so beautifully boilerplate
17:08:16 <MK_FG> Don't know who these guys are, but maybe it's justified
17:08:37 <MK_FG> Like, if they're getting tons of such suggestions a day
17:09:27 <MK_FG> I'm guilty of using boilerplate "thanks for the offer but ..." boilerplate for employers
17:46:08 <zxcvbnm> o man.
18:01:16 BLTGeno has quit (Ping timeout)
18:23:55 <DrWhat> http://www.kali.org/blog/
18:23:57 <DrWhat> Something new?
18:33:41 NvLL (xxx@592512AD.12EC9BC0.B3A88E67.IP) has joined #crytocc
18:34:18 zest (zest@B50962C.7C69025A.92496627.IP) has joined #crytocc
18:52:25 <DrWhat> [6:34:31pm] • Join: NvLL (xxx@592512AD.12EC9BC0.B3A88E67.IP)
18:52:30 <DrWhat> Havnt i seen you before...
18:55:17 <NvLL> :S
18:56:25 <NvLL> i'm new..
18:57:10 <DrWhat> Yeah i mean else where
18:59:03 <NvLL> i dont understand.. sorry
19:00:02 <NvLL> I'm busy. Let's talk about later.
19:00:03 <NvLL> :)
19:12:02 <joepie91> hi NvLL, please read the topic and be aware that this is a publicly logged channel :)
19:13:46 NvLL has parted #crytocc (None)
19:16:59 <AnonForecast> anyone have kick powers in #AnonNews?
19:17:08 <AnonForecast> anyone who is awake atm*
19:29:37 <DrWhat> LOL
19:29:51 <DrWhat> plublicly logged channel->quit
19:30:07 <DrWhat> I knew i seen him from somewhere
19:30:13 <DrWhat> i jusr cant recall where
19:30:41 <DrWhat> Ohhh
19:30:43 <DrWhat> i remeber
19:30:44 <DrWhat> http://nullcode.org
19:33:59 Cryto279 (Cryto279@cryto-544EF3D3.range31-52.btcentralplus.com) has joined #crytocc
19:34:27 <Cryto279> Ello?
19:34:57 Cryto279 has parted #crytocc ()
19:53:30 *** Xeross|AFK is now known as Xeross
20:04:44 <DrWhat> whos ello?
20:20:04 HiveResearch (HiveResear@46AE9E49.9F32FB1E.57B9DF22.IP) has joined #crytocc
20:27:13 <joepie91> DrWhat: it's a way to say 'hello'
20:27:15 <joepie91> with an acce
20:27:17 <joepie91> accent *
20:27:26 <DrWhat> ehh?
20:45:19 monod (monod@cryto-9937675D.retail.telecomitalia.it) has joined #crytocc
20:46:41 monod has quit (User quit:  monod)
20:50:49 BLTGeno (BLTGeno4@cryto-590FDA9.basl.cable.virginmedia.com) has joined #crytocc
20:56:11 Sabin (601a42ce@cryto-7D2C245B.mibbit.com) has joined #crytocc
20:56:21 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
20:58:45 Sabin has quit (User quit:  http://www.mibbit.com ajax IRC Client)
21:04:14 BLTGeno has quit (Client exited)
21:05:45 Sabit (AndChat510@cryto-2BAFD816.ptr.us.xo.net) has joined #crytocc
21:21:40 BLTGeno (BLTGeno4@cryto-590FDA9.basl.cable.virginmedia.com) has joined #crytocc
21:24:53 zest has quit (Client exited)
21:32:13 pzuraq has quit (Input/output error)
21:32:33 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
21:33:13 pzuraq_ (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
21:33:14 pzuraq has quit (Connection reset by peer)
21:34:00 pzuraq_ has quit (Input/output error)
21:34:21 HiveResearch has quit (Ping timeout)
21:37:08 HiveResearch (HiveResear@CAE256AC.9F32FB1E.57B9DF22.IP) has joined #crytocc
21:43:11 <zxcvbnm> how would I make this Python agreeable
21:43:13 <zxcvbnm> for i=0;i<loopsize;i++;
21:44:40 <zxcvbnm> i = 0           while i<loopsize:          i++
21:44:41 <zxcvbnm> ?
21:46:01 <DrWhat> http://www.youtube.com/watch?v=elYL_8xd1Ro
21:46:18 <DrWhat> Hpow to have unlimited "web" in England :)
21:58:55 <joepie91> zxcvbnm: mind pastebinning that?
21:58:56 <joepie91> :P
22:09:59 Sabit has quit (User quit:  Bye)
22:12:58 <zxcvbnm> joepie91: Yeah I thought I figured it out.. I may have gotten that, but something else is amuck now
22:16:02 <zxcvbnm> http://pastebin.com/qh8jewyA
22:16:14 <zxcvbnm> Not sure why this isn't working =/
22:17:08 <zxcvbnm> The spacing is correct in editor, just came out a little funny in a couple spots on pastebin
22:18:50 <joepie91> zxcvbnm: well, what is the question/problem?
22:19:05 <zxcvbnm> joepie91: I think right now I'm getting a key error.. it's kind of hard to tell
22:19:42 <zxcvbnm> Ok for starters.. getting this:
22:19:43 <zxcvbnm>   if(exists(arr1[i])):
22:19:43 <zxcvbnm> NameError: name 'exists' is not defined
22:20:46 <joepie91> zxcvbnm: that seems like a pretty clear error to me...
22:21:03 <zxcvbnm> joepie91: Should I be using "try" instead?
22:21:23 <joepie91> yes
22:21:25 <joepie91> but aside from that
22:21:30 <joepie91> how did you come up with 'exists' anyway
22:22:10 <zxcvbnm> well I did it as pseudocode first and then I think I must've convinced myself 'exists' was proper syntax
22:22:22 <zxcvbnm> mybe it was my perl
22:22:30 <zxcvbnm> perl habits*
22:22:49 <joepie91> lol
22:23:24 <zxcvbnm> so instead I should just say... "try arr1[i]: "
22:24:24 <Xeross> zxcvbnm: Ehm you can verify something exists by doing if "key" in dict:
22:24:45 <Xeross> Or if you're using a list that len(theList) >= i
22:24:55 <joepie91> you *can*
22:25:01 <joepie91> but you *should* be using a try/except
22:25:10 <Xeross> joepie91: technically yes
22:26:15 <Xeross> Just try whatever you plan on trying, wrap a try/except around it that checks for KeyError or IndexError depending on the datatype
22:28:46 <zxcvbnm> Ok
22:28:49 <zxcvbnm> Thanks, I'll give that a shot
22:35:21 HiveResearch has quit (Ping timeout)
22:43:52 <zxcvbnm> Conceptually, does this appear to be a better approach?
22:43:55 <zxcvbnm> http://pastebin.com/uMZw3DFG
22:59:05 HiveResearch (HiveResear@B4B47636.9F32FB1E.57B9DF22.IP) has joined #crytocc
23:00:44 zxcvbnm has quit (User quit:  leaving)
23:13:30 *** Xeross is now known as Xeross|AFK
23:16:10 <DrWhat> http://heartbeat.skype.com/
23:16:20 <DrWhat> Skype jumping on the bandwagon of making a social network
23:27:56 pzuraq (pzuraq@cryto-FCF26E22.ucsc.edu) has joined #crytocc
23:27:59 <DrWhat> http://www.google.com/codesearch
23:28:09 <DrWhat> NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!
23:28:23 <pzuraq> what is that?
23:28:29 <DrWhat> nOTHING NOW!!!!
23:28:44 <pzuraq> what was that?
23:29:22 <DrWhat> Its was like a PasteBin
23:29:34 <DrWhat> but for Functioning code snippets
23:29:45 <DrWhat> And google has shut it down!!!!
23:30:20 <DrWhat> code.google.com Is for repos and such
23:30:36 <DrWhat> Codesearch was for Finding snippets in those repos
23:30:44 <DrWhat> Without having the search through them
23:32:27 joepie91_ has quit (Ping timeout)
23:33:18 joepie91 has quit (Ping timeout)
23:52:09 Sabit (AndChat510@cryto-77030ED5.tmodns.net) has joined #crytocc
23:52:42 joepie91_ (joepie91@cryto-E52249CB.adsl.online.nl) has joined #crytocc
23:52:46 Sabit has quit (User quit:  Bye)
23:56:47 joepie91 (joepie91@cryto-E52249CB.adsl.online.nl) has joined #crytocc