Cryto! 20 February 2013

00:00:01 <zxcvbnm> time travel
00:17:09 MK_FG has quit (Ping timeout)
00:18:55 <zxcvbnm> i'm out see ya
00:19:04 zxcvbnm has quit (User quit:  leaving)
00:19:15 MK_FG (MK_FG@MKFG-91968.users.cryto) has joined #crytocc
00:25:43 maxQ has quit (Ping timeout)
00:44:27 <wh1t3r4bb1t> I'm back
00:44:37 <wh1t3r4bb1t> 2.5 day binder
00:45:00 <wh1t3r4bb1t> what i miss?
00:46:01 <AnonyOps> hai
00:53:07 ebola has quit (Ping timeout)
00:57:40 ebola (ebola@ebola.users.cryto) has joined #crytocc
00:58:38 <wh1t3r4bb1t> hola
01:05:57 <joepie91> <zxcvbnm>PDO is your friend
01:05:58 <joepie91> <DrWhat>Dont know how to use :(
01:05:58 <joepie91> k
01:06:02 <joepie91> learn to PDO
01:06:05 <joepie91> mysql_* is deprecated
01:06:07 <joepie91> don't use it
01:06:11 <AnonyOps> joepie is back!
01:06:15 <joepie91> yes hai
01:06:25 <AnonyOps> I rode Drwhat while you were gone :0
01:06:28 <AnonyOps> :)*
01:06:48 <AnonyOps> He was outputting raw data again :o
01:08:10 <joepie91> haha
01:08:40 <AnonyOps> "it comes from a trusted source!"
01:08:42 <AnonyOps> mfw
01:08:46 <AnonyOps> >trusted
01:08:47 <AnonyOps> >internet
01:08:48 <AnonyOps> >wut
01:13:33 <lady-3jane> >physically exchanging keys before trading data
01:13:40 <lady-3jane> >trusted internet
01:14:23 <joepie91> > guy you traded keys with turns out to be informant
01:14:23 <joepie91> > derp
01:24:09 <lady-3jane> >and yet your communications were secure
01:26:02 <joepie91> your comms are only as secure as the endpoint..
02:01:23 ebola has quit (Ping timeout)
02:24:12 ebola (ebola@ebola.users.cryto) has joined #crytocc
02:29:14 <wh1t3r4bb1t> finally fingered out my bitcoin rpc... damn thing was using the wrong conf file
02:29:21 <wh1t3r4bb1t> :P
02:30:48 <joepie91> lol
02:35:04 <AnonyOps> w00t
02:35:12 <AnonyOps> I have a working nick chooser on the chat box now
02:35:31 <AnonyOps> You can choose your own nick in the chat box now instead of just being "Anonymous"
02:35:34 <joepie91> gratzs
02:35:41 <AnonyOps> :)
02:36:02 <AnonyOps> Now I just need to get the comments going the other way lol
02:36:30 <AnonyOps> ORDER BY `id` DESC LIMIT 5 is making them move the opposite way of a chat box
02:40:53 <joepie91> why would you only grab the last 5 messages?
02:41:58 <AnonyOps> For right now, that's all that can be seen. I will make it scrollable later.
02:42:06 shadowdemon has quit (User quit:  shadowdemon)
02:42:10 <AnonyOps> Then show more messages.
02:42:17 <joepie91> uh
02:42:22 <joepie91> you should probably do that now
02:42:30 <joepie91> as your entire 'how to make it display correctly' problem depends on that
02:42:56 <AnonyOps> oh? I must be thinking differently than you :p
02:42:59 <joepie91> there's some optimizations to be made anyway
02:43:00 <joepie91> yes
02:43:17 <AnonyOps> What is your idea then.
02:43:19 <joepie91> try this instead:
02:43:24 <joepie91> every X time, send a new request to server
02:43:27 <joepie91> with the latest timestamp
02:43:32 <joepie91> return all messages since that timestamp
02:43:38 <joepie91> and append them to the chatbox
02:43:42 <joepie91> then just scroll to the end via javascript
02:43:48 <joepie91> result: infinite backlog once on the page
02:43:51 <joepie91> and less bandwidth usage
02:44:01 <joepie91> plus less database load
02:44:02 <AnonyOps> Ah less queries, I see.
02:47:53 shadowdemon (alex@cryto-507D6D5.hsd1.ca.comcast.net) has joined #crytocc
02:48:12 <AnonyOps> Won't there be a delay in comment sending though?
02:48:30 <AnonyOps> Unless X time was like 1 second.
02:48:47 <AnonyOps> Otherwise, when a user hits enter he won't see his comment until it checks again
02:49:30 <joepie91> why.. would you need to fetch the comment from the db
02:49:34 <joepie91> you already have it?
02:49:44 <joepie91> the user just entered it
02:50:06 <AnonyOps> Yes, but he will also need to see other user's comments.
02:50:13 <joepie91> so?
02:50:17 <joepie91> you're going to have that delay anyway
02:50:19 <joepie91> when using AJAX
02:50:56 <AnonyOps> If you have a, say 1 second check time, he will pretty much instantly see the comments from everyone on the page.
02:51:00 shadowdemon has quit (User quit:  shadowdemon)
02:51:24 <joepie91> I have the idea we're miscommunicating here
02:51:29 <AnonyOps> me too lol
02:51:33 <joepie91> there is no inherent difference between the lag in your current method
02:51:36 <joepie91> and the method I'm proposing
02:51:44 <joepie91> my method just uses less resources
02:51:58 <AnonyOps> Then how would it reduce resource? It's still querying every second.
02:52:25 <joepie91> 'queries' is not a resource..
02:52:59 <joepie91> <joepie91>result: infinite backlog once on the page
02:52:59 <joepie91> <joepie91>and less bandwidth usage
02:52:59 <joepie91> <joepie91>plus less database load
02:54:23 <AnonyOps> Okay, so if I understand what you're saying, when a user joins in, they will only see what they sent and anything afterwards, not what was in there prior?
03:03:25 <joepie91> AnonyOps: on join, you could grab last 5-10 messages or so
03:03:36 <joepie91> but it doesn't reload the *entire* history every time it does an AJAX request
03:03:43 <joepie91> instead, it just gets the new messages since last ajax request
03:05:16 <AnonyOps> I see
03:18:44 aHlTat (aHlTat@aHlTat.users.cryto) has joined #crytocc
03:24:27 HiveResearch (HiveResear@developers.developers.developers) has joined #crytocc
03:56:51 AnonyOps has quit (Connection reset by peer)
04:05:03 S1renide (S1renide@cryto-454686D9.compute-1.amazonaws.com) has joined #crytocc
04:06:24 S1renide has quit (User quit:  Connection closed)
04:30:37 <MK_FG> lady-3jane, e17 \o/
04:31:17 <lady-3jane> MK_FG:) :D
04:31:49 <lady-3jane> I think I'd like it more if I sat down and tried to make it work a way I like :>
04:32:04 <lady-3jane> It's not bad though
04:32:48 <MK_FG> I really like it
04:33:05 <MK_FG> Nice to see it getting attention lately, with the release and all
04:33:35 <lady-3jane> Yep :<
04:33:38 <lady-3jane> :> *
04:33:40 <MK_FG> Hopefully it won't steer away from being lite and damn fast due to that though
04:34:04 <MK_FG> (aka gnome-3/unity-way)
05:08:08 <HiveResearch> e17 has redundant categories
05:08:14 <HiveResearch> needs fixing
05:08:31 <HiveResearch> and should use config files for more of their stuff
05:09:03 <HiveResearch> the only thing that keeps me on KDE is network manager
05:09:14 <HiveResearch> i mean i love KDE but
05:09:20 <HiveResearch> cmon
05:09:23 <HiveResearch> HUUGE
05:09:24 <MK_FG> "redundant categories"?
05:09:32 <MK_FG> You mean menus?
05:09:42 <HiveResearch> audio and audio apps i forget
05:09:49 <HiveResearch> yeah menus are fuxed
05:10:01 <MK_FG> Oh, it's probably how they are in .desktop files
05:10:20 <MK_FG> And e uses on-disk configs for everything
05:10:41 <MK_FG> They're just serialized and compressed with eet
05:10:51 <MK_FG> Try something like "eet -d ~/.e/e/config/standard/e.cfg config"
06:21:17 smithsonian has quit (Ping timeout)
06:33:25 <lady-3jane> oh I'm fuuuucked
06:33:36 smithsonian (vi.veri@veniversum.vivus.vici) has joined #crytocc
06:49:04 maxQ (john@maxQ.users.cryto) has joined #crytocc
06:50:46 smithsonian has quit (Ping timeout)
06:51:04 <wh1t3r4bb1t> Almost have depositing capabilitys up
06:51:34 <wh1t3r4bb1t> is joepie91 around?
06:54:42 smithsonian (vi.veri@veniversum.vivus.vici) has joined #crytocc
07:09:59 frdmn (frdmn-espe@cryto-16933294.iwelt.de) has joined #crytocc
07:35:02 shadowdemon (alex@cryto-507D6D5.hsd1.ca.comcast.net) has joined #crytocc
07:48:20 <wh1t3r4bb1t> brain_works_better() when tummy_full=true
08:43:48 <shadowdemon> AnonyOps: WHY WOULD YOU DO THIS
08:43:52 <shadowdemon> ORDER BY `id` DESC LIMIT 5
08:43:57 <shadowdemon> no
08:44:07 <shadowdemon> if it's descending, the newest is at the top
08:44:15 <shadowdemon> in chat world the newest needs to be at the bottom
08:44:27 <shadowdemon> ascend that shit
08:44:31 <shadowdemon> and become
08:44:34 <shadowdemon> a
08:44:35 <shadowdemon> ninja turtle
08:46:13 shadowdemon has quit (User quit:  shadowdemon)
10:26:09 AnonForecast_ (AnonForeca@cryto-999D5D74.dhcp.insightbb.com) has joined #crytocc
10:26:13 AnonForecast has quit (Connection reset by peer)
10:27:54 IR601 has quit (Ping timeout)
10:30:09 IR601 (IR601@cryto-68B0D61F.terrori.se) has joined #crytocc
10:33:09 <wh1t3r4bb1t> penis
10:51:21 monod (none@cryto-220E6FFC.retail.telecomitalia.it) has joined #crytocc
10:51:33 <monod> aloa
11:38:17 Divinite_ (divinite@cryto-49204C99.lns20.adl2.internode.on.net) has joined #crytocc
11:38:41 <twitchyliquid64> Divinite_: did you recieve my earlier messages?
11:39:10 <Divinite_> twitchyliquid64: About a friend?
11:39:48 <Divinite_> Uh oh
11:40:30 <Divinite_> twitchyliquid64: I am on separate device to Divinite
11:43:01 Divinite_ has quit (User quit:  Sarah has left :()
11:43:55 <twitchyliquid64> oh ok
11:44:11 <twitchyliquid64> yeah I was talking to your other connection
11:44:22 Divinite_ (divinite@cryto-49204C99.lns20.adl2.internode.on.net) has joined #crytocc
11:44:36 <Divinite_> twitchyliquid64: Still here?
11:44:42 <twitchyliquid64> Divinite_: yepp
11:44:59 <Divinite_> twitchyliquid64: Send stuffs in PM?
11:45:06 <twitchyliquid64> Divinite_: WILCO
11:52:20 Divinite_ has quit (Client exited)
11:53:47 Divinite_ (divinite@cryto-49204C99.lns20.adl2.internode.on.net) has joined #crytocc
11:54:01 <Divinite_> twitchyliquid64: Sorry about that
11:54:14 <Divinite_> Colloquy is a female dog at the best of times.
11:57:54 <twitchyliquid64> mmmm
11:58:33 <Divinite_> As in a cookie!
12:01:21 <wh1t3r4bb1t> Yay the API is making accounts with unique wallets referenced by account! I'm happy
12:02:19 <Divinite_> What's this for wh1t3r4bb1t?
12:21:56 <wh1t3r4bb1t> btc mutual
12:49:07 BLTGeno (BLTGeno4@D68C9ED.3BC0875E.71C5A468.IP) has joined #crytocc
13:05:03 T0R_till (T0R_till@cryto-454686D9.compute-1.amazonaws.com) has joined #crytocc
13:06:24 T0R_till has quit (User quit:  Connection closed)
13:16:39 <wh1t3r4bb1t> anyone wanna test this out and critique?
13:16:53 <wh1t3r4bb1t> http://btcmutual.com
13:17:24 <wh1t3r4bb1t> I'm currently working on the account manager
13:39:11 evilworks has quit (Ping timeout)
13:39:18 evilworks (evilworks@cryto-5A7E3879.dynamic.amis.hr) has joined #crytocc
14:11:59 monod has quit (User quit:  Se sei felice non gridare troppo: la tristezza ha il sonno leggero. (thEDGE))
14:18:15 <wh1t3r4bb1t> Hrmmm bitcoind keeps crashing... need more RAM? I dunno maybe but it's pissing me off.
14:21:29 <wh1t3r4bb1t> 1gb should be plenty
14:41:45 <wh1t3r4bb1t> Well, I installed monit and set it to watch bitcoind. I sleep and if bitcoind is down when I wak guess I need to investigate further.
14:41:53 <wh1t3r4bb1t> good night
14:43:53 foolex has quit (Ping timeout)
14:50:56 foolex (foolex@78EA513B.7DC890E0.CEC56216.IP) has joined #crytocc
15:04:56 Cryto951 (Cryto951@cryto-3999CEE8.netvigator.com) has joined #crytocc
15:09:38 anonnews903 (anonnews90@CFE6A4CA.792D59C9.A856A7D6.IP) has joined #crytocc
15:20:27 n3xtMission (n3xtMissio@cryto-877E58F2.kimsufi.com) has joined #crytocc
15:36:05 Divinite_ has quit (Ping timeout)
15:39:01 n3xtMission has quit (User quit:  )
15:43:28 frdmn has quit (User quit:  Linkinus - http://linkinus.com)
15:51:53 Divinite_ (divinite@cryto-49204C99.lns20.adl2.internode.on.net) has joined #crytocc
16:02:36 Cryto951 has quit (User quit:  Page closed)
16:03:03 Divinite_ has quit (Ping timeout)
16:04:22 HiveResearch has quit (Ping timeout)
16:09:43 Cryto521 (Cryto521@cryto-3999CEE8.netvigator.com) has joined #crytocc
16:11:37 <lady-3jane> alright, 1.5 pages on plato's republic down
16:12:00 <lady-3jane> I think it's supposed to be 2 pages, but he can eat shit. I've slammed all I need to
16:21:23 * DrAway is back [16h 52m 18s]
16:21:23 *** DrAway is now known as DrWhat
16:21:27 <DrWhat> Hola
16:25:16 Cryto521 has quit (User quit:  Page closed)
17:03:54 Divinite_ (divinite@cryto-49204C99.lns20.adl2.internode.on.net) has joined #crytocc
17:07:10 Divinite_ has quit (Ping timeout)
17:11:56 Divinite_ (divinite@cryto-49204C99.lns20.adl2.internode.on.net) has joined #crytocc
17:13:08 <joepie91> <wh1t3r4bb1t>is joepie91 around?
17:13:08 <joepie91> yes, joepie is now
17:13:10 BLTGeno has quit (Ping timeout)
17:16:06 maxQ has quit (User quit:  leaving)
17:19:02 maxQ (john@maxQ.users.cryto) has joined #crytocc
17:29:36 zxcvbnm (zxcvbnm@zxcvbnm.users.cryto) has joined #crytocc
17:30:13 <zxcvbnm> morning and afternoon
17:32:53 Divinite_ has quit (Ping timeout)
17:40:42 BLTGeno (BLTGeno4@cryto-590FDA9.basl.cable.virginmedia.com) has joined #crytocc
17:41:33 Divinite_ (divinite@cryto-49204C99.lns20.adl2.internode.on.net) has joined #crytocc
17:52:29 Divinite_ has quit (Ping timeout)
17:57:07 BLTGeno has quit (Client exited)
18:13:21 BLTGeno (BLTGeno4@cryto-590FDA9.basl.cable.virginmedia.com) has joined #crytocc
18:17:40 Divinite_ (divinite@cryto-49204C99.lns20.adl2.internode.on.net) has joined #crytocc
18:25:19 BLTGeno has quit (Connection reset by peer)
18:25:41 BLTGeno (BLTGeno4@cryto-590FDA9.basl.cable.virginmedia.com) has joined #crytocc
18:35:01 <zxcvbnm> I've got some results being spit out to me in Python in XML format and I want to do a couple things with it
18:35:19 <zxcvbnm> I want to regex out a username which is contained in the results
18:36:08 <zxcvbnm> Where is a good starting point?
18:40:05 <joepie91> interesting: http://blog.briancurtin.com/posts/why-i-dont-feel-so-bad.html
18:40:13 <joepie91> zxcvbnm: not using regex is a good start
18:40:23 <joepie91> while XML is admittedly a giant pain, regex is very unsuitable for parsing XML or SGML
18:40:28 <joepie91> or anything that derives from it
18:40:36 <joepie91> what kind of XML is it?
18:40:48 <zxcvbnm> Well... I may be able to make it a little nicer, haven't actually seen if it will return tabled results
18:40:55 <DrWhat> Im bored
18:40:56 <zxcvbnm> Logs
18:41:06 <zxcvbnm> I'll show you an example
18:41:31 <zxcvbnm> do you guys have a preferred pasting site?
18:43:06 <zxcvbnm> http://0bin.net/paste/519f5c1509dee9fe44551fac71929aa8ecaf4f48#uKfqvuOHns6T2FPm688BVrMF767OHxn8C9NtG3Yc5G8=
18:47:47 <zxcvbnm> Ugh. I need to think of some different way to approach this.
18:48:45 pzuraq (pzuraq@cryto-7B09657A.ucsc.edu) has joined #crytocc
18:49:10 <joepie91> zxcvbnm: that... doesn't look like XML?
18:49:42 <joepie91> also, zxcvbnm, you know that stuff here is logged, right
18:49:49 <joepie91> and that you can keep things out of logs with [off]
18:50:06 <zxcvbnm> I knew everything here is logged, didn't know about off
18:50:24 <zxcvbnm> but I think I removed any sensitive info in that, if I didn't, should be ok..
18:50:34 <joepie91> okay
18:50:36 <joepie91> anyway
18:50:40 <zxcvbnm> right
18:50:45 <joepie91> loggy, pointer?
18:50:45 <loggy> http://wire.cryto.net/logs/crytocc/2013-02-20#T18-50-45
18:51:00 <joepie91> :)
18:51:12 <joepie91> but yeah, that doesn't look like XML, so I'm not entirely sure what you're trying to d..
18:51:16 <joepie91> do *
18:51:29 <zxcvbnm> I think I just need to keep pouring through these API docs
18:51:54 <zxcvbnm> I use Splunk regularly, and am trying to set up an alerting mechanism via python
18:52:23 <joepie91> (btw, wh1t3r4bb1t, bitcoind should *not* need 1GB, so you might want to check what makes it crash... and submit a bug report)
18:52:34 <joepie91> zxcvbnm: that doesn't really clarify things for me :P
18:52:37 <joepie91> you say you need to parse XML
18:52:42 <joepie91> then as example you post an ordereddict structure
18:52:50 <joepie91> so what data exactly do you need to parse?
18:52:55 <zxcvbnm> Well, that may have been wrong. I'm still trying to determine exactly how they are passing me the data back
18:53:14 <zxcvbnm> The documentation says it spits it back in XML format
18:53:23 <zxcvbnm> but, like you said, that clearly was not XML
18:53:27 <joepie91> but what you pasted is what you actually get?
18:53:33 <joepie91> because you can just use that as a dict
18:53:36 <zxcvbnm> As of now, yes
18:55:26 <zxcvbnm> I need to dig a little deeper and figure out what else is going on before I ask about that
18:55:43 <zxcvbnm> I should be able to return results in a much nicer way
18:56:14 <zxcvbnm> Because I can create tables that look real pretty in Splunk via the search queries, but what I want to do is send those usernames to the python script to send an e-mail to that user
18:56:37 <zxcvbnm> That can't be done in Splunk natively, so passing an argument to the Python script will allow for dynamic e-mail recipients
18:57:59 <zxcvbnm> Oh baby
18:58:03 <zxcvbnm> Nailed it.
18:58:07 <zxcvbnm> Now I can ask for your help.
18:58:31 <zxcvbnm> This could be some really basic python question, which is cool because I need to learn some more fundamentals
18:58:55 <zxcvbnm> http://0bin.net/paste/19eca5e0266f49ac91e52bfcb28d33b8f20c0e91#m8+/d1DWwv1D9ULxx8FngFA3Q41VwhbPwkAnyNAywCs=
18:59:22 <DrWhat> Huhh?
18:59:22 <zxcvbnm> Let's assume that the 'pid' value is 'jdoe'
18:59:23 <DrWhat> Parse error: syntax error, unexpected '{' in C:\xampp\htdocs\mapsql\index.php on line 16
18:59:33 <DrWhat> line 16
18:59:34 <DrWhat> if (!isset($_POST['SID']){
19:00:01 <zxcvbnm> Missing a ")"  ?
19:00:14 <DrWhat> ahh
19:00:49 Divinite_ has quit (Ping timeout)
19:01:09 <zxcvbnm> So if the 'pid' value is 'jdoe' I want to append '@example.com' to it, and pass that to a script that will e-mail to jdoe@example.com
19:02:59 <joepie91> zxcvbnm: the pid value will never be jdoe, however
19:03:03 <joepie91> because it's a process id
19:03:09 <zxcvbnm> joepie91: Aye, this is an example :)
19:03:30 <joepie91> anyway, you should be able to just do data['pid']
19:03:30 <zxcvbnm> joepie91: I'll be doing this on Windows systems mostly, where the Winevent logs display RDP & account name
19:03:33 <joepie91> like it's a dict
19:04:14 <joepie91> if data['pid'] == "jdoe": do_something()
19:04:48 <zxcvbnm> if data['pid'] == not null
19:06:57 * zxcvbnm brb
19:07:36 monod (none@cryto-220E6FFC.retail.telecomitalia.it) has joined #crytocc
19:10:07 <DrWhat> joepie91: )
19:10:24 <DrWhat> go on my ip
19:10:32 <DrWhat> into folder mapsql
19:12:06 Divinite_ (divinite@cryto-49204C99.lns20.adl2.internode.on.net) has joined #crytocc
19:13:08 <DrWhat> Uhh hold on
19:13:10 <DrWhat> XD
19:14:36 <DrWhat> Ok now its better :)
19:34:21 <DrWhat> http://prntscr.com/ti0vp
19:34:21 <DrWhat> [19:31:29] ╒╣DrWhat╠╕: http://prntscr.com/ti0xi
19:34:26 <DrWhat> :)
19:37:10 Divinite_ has quit (Connection reset by peer)
19:45:24 zest (zest@232E8757.4877DC3.92496627.IP) has joined #crytocc
19:46:08 shadowdemon (alex@cryto-507D6D5.hsd1.ca.comcast.net) has joined #crytocc
19:46:17 Divinite_ (divinite@cryto-49204C99.lns20.adl2.internode.on.net) has joined #crytocc
19:57:30 <DrWhat> 
19:57:32 <DrWhat> http://prntscr.com/ti4yv
19:57:33 <DrWhat> :)
20:08:54 pzuraq has quit (Input/output error)
20:16:28 <DrWhat> hmmmm
20:16:40 <DrWhat> joepie91
20:16:45 <DrWhat> How to make next button?
20:17:02 <DrWhat> to do limit 250,500 then 500,750 and so on
20:17:08 <DrWhat> in sql
20:17:38 <DrWhat> and read pages
20:17:59 <DrWhat> so it can say |< < 1 2 3 4 5 6 7 8 9 > >|
20:18:07 <DrWhat> |< fisrt
20:18:10 <DrWhat> < previous
20:18:16 <DrWhat> 1-9 page
20:18:18 <DrWhat> > next
20:18:21 <DrWhat> >| last
20:19:33 pzuraq (pzuraq@cryto-7B09657A.ucsc.edu) has joined #crytocc
20:35:41 zest has quit (User quit:  Leaving)
20:38:27 <joepie91> DrWhat: wat
20:38:38 <joepie91> didn't you just basically answer your own question
20:38:38 <joepie91> :|
20:38:47 <DrWhat> O_O
20:38:51 <DrWhat> Noooo
20:40:13 <DrWhat> How to make it do new 250 limit
20:40:14 AnonyOps (anony_ops@cryto-5167D786.woh.res.rr.com) has joined #crytocc
20:40:24 <DrWhat> Hi anonyops can i hax your site yet :)
20:40:27 <DrWhat> each time
20:40:36 <AnonyOps> nope
20:40:37 <DrWhat> Also count pages
20:40:53 <DrWhat> Also know what limit each page is
20:40:54 <DrWhat> also
20:41:10 <DrWhat> keep current query
20:41:17 <DrWhat> say if a user searches something
20:41:22 <DrWhat> and they click next
20:41:34 <DrWhat> i dont want it to go on page 2 of a blank search...
20:41:44 joepie92 (joepie91@cryto-A6766B2C.direct-adsl.nl) has joined #crytocc
20:41:49 joepie91 has quit (Ping timeout)
20:41:51 <DrWhat> OH FUCK MY LIFE
20:42:11 <DrWhat> Im not saying it all again
20:42:14 <DrWhat> :|
20:43:00 <joepie92> jesus DrWhat
20:43:00 <joepie92> relax
20:43:04 joepie91_ has quit (Ping timeout)
20:43:05 <joepie92> we have public logging here..
20:43:32 joepie91_ (joepie91@cryto-A6766B2C.direct-adsl.nl) has joined #crytocc
20:44:05 <zxcvbnm> test
20:44:11 <joepie92> DrWhat: all this is basic maths?
20:44:30 <joepie92> $start = $page * $items_per_page;
20:44:40 <joepie92> $start,$items_per_page
20:44:40 <joepie92> ?
20:44:58 <joepie92> and what's wrong with a simple COUNT(*) query to get the amount of rows
20:45:20 <joepie92> you should really be able to put these pieces together by yourself..
20:45:26 <joepie92> pagination does not involve any advanced concepts
20:45:30 <joepie92> just the combination of a few basic concepts
20:47:39 <zxcvbnm> joepie92: those results were being returned in a dict called results. I didn't find that out til later, now its easy to spit out the individual values
20:47:39 zest (zest@232E8757.4877DC3.92496627.IP) has joined #crytocc
20:49:06 <DrWhat> 14[048:43:02pm14] 14(0415joepie9214)00 relax
20:49:06 <DrWhat> 14[048:43:06pm14] 14• 14Quit:04 joepie91_ 14(04joepie91@cryto-A6766B2C.direct-adsl.nl14) has quit irc04 14(04Ping timeout14)
20:49:06 <DrWhat> 14[048:43:07pm14] 14(0415joepie9214)00 we have public logging here..
20:49:10 <DrWhat> Oh right
20:49:11 <DrWhat> Yeah eyah
20:51:43 <zxcvbnm> AttributeError: 'str' object has no attribute 'append'
20:51:50 <DrWhat> "relax drwhat we publicly log everything you say"
20:51:55 <DrWhat> :|
20:51:57 <zxcvbnm> How to append string to a value?
20:52:05 <zxcvbnm> in a dict. or all values.
20:53:51 <zxcvbnm> print (result['pid']) works fine. I want to append @example.com to the end of each value
20:54:10 <joepie92> zxcvbnm: you could *theoretically* do result['pid'] += "@example.com"
20:54:16 <joepie92> but you'll want to consider whether that is REALLY what you want to do
20:54:23 <joepie92> read: do you want to change the source data permanently
20:54:25 <joepie92> destroying the original data
20:54:31 <joepie92> the answer is probably not, unless you have a good reason for it
20:54:35 *** joepie92 is now known as joepie91
20:55:08 <zxcvbnm> couldn't I do it just the same as... result2 = result['pid'] += "@example.com"
20:55:11 <zxcvbnm> and retain the original
20:55:57 <zxcvbnm> And you're right, I'd rather keep the original data because I will be referencing it later not as data@example.com
20:56:21 <DrWhat> Hey joe how do you like how i changed the layout of evomap
20:56:35 <DrWhat> insted of having the main html and a buntch of exit()
20:56:47 <shadowdemon> suck
20:56:50 <shadowdemon> my
20:56:51 <shadowdemon> cock
20:57:20 <DrWhat> i now have defined variabled storing html so i can build the page as the user broswes
20:57:59 <DrWhat> https://github.com/DrWhatNoName/EvoMap/blob/Experment/include/search.inc.php
20:58:02 <joepie91> <zxcvbnm>couldn't I do it just the same as... result2 = result['pid'] += "@example.com"
20:58:03 <joepie91> <zxcvbnm>and retain the original
20:58:03 <joepie91> yes
20:58:06 <joepie91> that is the better option
20:58:15 <joepie91> DrWhat: I have not looked at it yet and will later
20:58:21 <joepie91> currently working on something
21:00:34 <DrWhat> oh god damn it
21:00:47 <DrWhat> maria will do anything for me to work
21:01:01 <DrWhat> She descovered more info that she get from the craper
21:01:09 <DrWhat> and so i have to change the sql structer
21:01:15 <DrWhat> and all the queries :|
21:05:03 MRdjst0rm (MRdjst0rm@cryto-454686D9.compute-1.amazonaws.com) has joined #crytocc
21:05:43 <DrWhat> MRdjst0rm was last seen on #crytocc as "T0R_till", 8hrs 1sec ago
21:06:08 <DrWhat> I keep getting these
21:06:21 Divinite_ has quit (User quit:  Sarah has left :()
21:06:23 MRdjst0rm has quit (User quit:  Connection closed)
21:06:40 <DrWhat> Sucka a username from amazon connected excaly so many hours ago under a diffrent name
21:06:44 <DrWhat> then disconnects
21:06:45 <joepie91> it's a biot
21:06:48 <joepie91> bot *
21:06:49 <joepie91> we are aware
21:06:51 <joepie91> :P
21:07:14 <DrWhat> Let me see if i can find my seen log
21:07:27 <joepie91> I know, it uses a few nicks
21:07:28 <joepie91> anyway
21:07:33 <joepie91> DrWhat, what I was working on: http://owely.com/31lMZv3
21:07:45 <joepie91> the intro 'comic' for redonate, project I'm busy with atm
21:08:17 <DrWhat> is that alundering
21:08:23 <DrWhat> Lundering*
21:08:27 <joepie91> wat?
21:08:30 <DrWhat> otherwords begging
21:08:40 <DrWhat> asking people to donate
21:08:47 <joepie91> I think you're messing up more than one definition there
21:08:58 <DrWhat> prolly am
21:09:30 <joepie91> "laundering" == the only definition I am aware of is a criminal definition, being trying to remove traces of where money comes from
21:09:42 <joepie91> "begging" == asking for money without providing anything for which one would get that money
21:09:59 <joepie91> "donations" == a voluntary transfer of money (or goods or services) as appreciation of something that was provided
21:10:03 <joepie91> neither of the three are the same thing
21:10:11 <DrWhat> why not just ban *@*amazonaws.com
21:10:21 <DrWhat> the bot is not helping the cryto
21:10:22 <joepie91> why would I ban amazon AWS?
21:10:27 <DrWhat> and it making me anxus
21:10:43 <DrWhat> it could be moliouscious
21:10:52 <joepie91> (really, you need a client with spellcheck)
21:10:59 <DrWhat> It does
21:11:01 <joepie91> and how exactly is a bot going to be malicious
21:11:08 <joepie91> this is a publicly logged channel
21:11:11 <DrWhat> But it only spellchecks afk, bbl, brb, etc etc
21:11:14 <DrWhat> :P
21:11:16 <joepie91> ..
21:11:22 <DrWhat> i turned them off becuase they was annoying
21:11:43 <DrWhat> it could be...
21:11:48 * joepie91 sighs
21:12:02 <DrWhat> why would a bot join under diffrent nucks every few hours for 5 seconds....
21:12:50 <DrWhat> its tring somthing
21:13:15 <DrWhat> it wouldnt join just to disconnect
21:13:19 <DrWhat> its trying to do somthing
21:13:44 <DrWhat> and under diffent nicks it what makes me so worked up about it
21:15:17 <DrWhat> Current bandwidth: [Downstream: 1.07KB/s] × [Upstream: 6.1KB/s]
21:15:24 <DrWhat> woo i have bandwidth :)
21:15:37 <DrWhat> Not a lot tho :/
21:17:14 <zxcvbnm> loggy, logs?
21:17:21 <zxcvbnm> lol
21:17:24 <zxcvbnm> hm.
21:17:49 zxcvbnm has parted #crytocc (None)
21:17:52 zxcvbnm (zxcvbnm@zxcvbnm.users.cryto) has joined #crytocc
21:20:57 <pzuraq> joepie91: What's the best server linux?
21:21:11 <Divinite> YAY
21:21:47 <Divinite> Yes Anything with Yum
21:22:47 <pzuraq> Divinite: I'm currently using Debian, have had bad experiences with CentOS
21:23:03 <zxcvbnm> FreeBSD
21:23:08 <DrWhat> I just got an email saysing cispa is back
21:23:11 <DrWhat> is this true?
21:23:23 <pzuraq> zxcvbnm: wut
21:23:56 <zxcvbnm> pzuraq: wut in what way
21:24:19 <pzuraq> Never used FreeBSD, never heard it recommended for server
21:24:24 <pzuraq> can you even run it in a VPS?
21:25:00 <zxcvbnm> pzuraq: From a stability and security standpoint, FreeBSD/OpenBSD are pretty ideal if you can do it from the ground up
21:27:00 <zxcvbnm> I'm not sure about deployment, but I know my heavy-linux dudes recommend it above all.
21:27:06 <zxcvbnm> What scenario would you be using it in
21:27:54 <pzuraq> my own VPS, and the company I'm working for
21:28:01 <pzuraq> deploying a Ruby based web-app
21:28:12 <pzuraq> probably using nginx
21:28:17 <zxcvbnm> Our guys use CentOS for all the Ruby servers
21:28:52 <zxcvbnm> We have some pretty heavy web traffic too
21:29:47 <zxcvbnm> But I know that many would prefer OpenBSD/FreeBSD if it were a ground-up situation
21:30:27 <zxcvbnm> Once you set them up, by design they shouldn't ever have to go down for a reboot
21:30:55 <Divinite> Woowwww
21:31:10 <pzuraq> I'm thinking Ubuntu
21:31:14 <Divinite> Someone just reported my domain for invalid whois
21:31:14 <Divinite> I know exactly who it is
21:31:49 <zxcvbnm> What versions of Ubuntu have you used?
21:32:21 <pzuraq> I used 12 briefly. Currently I use Debian but some fellow web devs are recommending Ubuntu
21:33:22 <zxcvbnm> I really liked Ubuntu 10.04 LTS
21:33:25 <zxcvbnm> After that... I really hated it
21:33:41 <zxcvbnm> I switched over to CentOS and have tried Arch, Mint.. few others
21:33:51 shadowdemon has parted #crytocc ()
21:34:11 <zxcvbnm> If you're not super pressured, I'd recommend grabbing a cloud server account if you can and spin up various different instances to see which you like
21:34:18 <zxcvbnm> If you're going to be one of the primary users
21:34:22 <zxcvbnm> See what you really like.
21:34:32 <Divinite> Yeah
21:34:39 <pzuraq> I've tried all of those, and Arch was definitely my favorite
21:34:43 <Divinite> I recommend digitalocean for testing
21:34:44 <pzuraq> but I would never use it for a server
21:34:57 <Divinite> It's like 6c/hour for a huge server
21:35:05 <Divinite> you get $1.25 free
21:35:17 <pzuraq> simply too much configuration. Unless it was my personal server, I wouldn't do it.
21:35:18 <zxcvbnm> I use rackspace
21:35:25 <pzuraq> I've got a VPS with cinfu
21:35:31 <pzuraq> they're... cheap :P
21:35:57 <zxcvbnm> lots of payment options
21:36:51 <pzuraq> I like Debian and Ubuntu. Hated CentOS 5 - outdated repos, random and weird structuring compared to deb/ubuntu, etc.
21:37:04 <zxcvbnm> wow
21:37:10 <zxcvbnm> cinfu *is* cheap
21:37:17 <pzuraq> Ubuntu seems to be more on the bleeding edge, which is a double edged sword.
21:37:25 <zxcvbnm> Ubuntu is bloaty
21:37:33 <pzuraq> as a server?
21:37:53 <pzuraq> and can you remove said bloat?
21:38:31 <zxcvbnm> imo no because to me it isn't designed to be a server
21:38:36 <zxcvbnm> it is meant to be a workstation
21:38:43 <joepie91> pzuraq: Debian
21:38:46 <joepie91> also fuck yum
21:38:50 <joepie91> and anything even remotely like centos
21:38:51 <pzuraq> ^^ :D
21:38:53 <joepie91> or red hat anything
21:39:05 <joepie91> because fuck RH
21:39:05 <joepie91> lol
21:39:12 <pzuraq> lol
21:39:17 <joepie91> also, zxcvbnm, you can do either of these two:
21:39:19 <joepie91> loggy, pointer?
21:39:19 <loggy> http://wire.cryto.net/logs/crytocc/2013-02-20#T21-39-19
21:39:22 <joepie91> loggy, help?
21:39:22 <loggy> I'm a Python IRC logging bot. Source: http://inamidst.com/code/loggy.py Logging to: http://wire.cryto.net/logs/crytocc/
21:39:29 <zxcvbnm> ty
21:39:36 <joepie91> pointer will give you pointer to right now
21:39:45 <joepie91> anyway, WIP but still: http://awesomescreenshot.com/0adye5d1b
21:40:05 <joepie91> imagine giant sign up button in bottom right corner
21:41:52 <pzuraq> joepie91: The one reason I'm considering Ubuntu over Debian is the LTS releases
21:41:57 <pzuraq> 5 years of support vs 3
21:42:14 <joepie91> I thought debian had 4-5 years support as well?
21:42:22 <joepie91> hell, even now security patches are still being backported for debian 5
21:42:25 <joepie91> afaik
21:42:53 <pzuraq> debian supports each major version 1 year past the release of the next latest version
21:42:57 <monod> awesomescreenshot is rad!
21:43:19 <pzuraq> so 6.0 will be supported one year after the release of 7.0
21:43:41 <joepie91> awesomescreenshot is okay, but I really only use it for full-page screenshots
21:43:44 <joepie91> becauase Owely can't do that
21:43:56 <joepie91> I'm not terribly impressed with awesomescreenshot's shitty result paghe
21:43:57 <joepie91> page *
21:44:01 <joepie91> with the half-assed zoom thing going on
21:44:10 <joepie91> you never get an exactly 100% size screenshot
21:44:12 <joepie91> so it blurs all the stuff
21:44:24 <joepie91> otherwise, Owely > AwesomeScreenshot
21:44:26 <joepie91> by miles
21:44:33 <joepie91> pzuraq: right
21:46:14 <pzuraq> hmm
21:46:41 <pzuraq> as long as it isn't too difficult to update to a new major version I think I'd go with Debian...
21:57:43 <pzuraq> well
21:57:51 <pzuraq> they don't have Ubuntu 12.04 as an option
21:57:54 <pzuraq> Debian it is!
22:00:17 <monod> oh, okay then joepie :) actually I never used them, yet I thought the idea of screenshotting the browser view is really nice
22:02:32 <joepie91> monod: it is
22:02:37 <joepie91> I'd actually love for Owely to have that
22:02:38 <joepie91> :P
22:05:48 pzuraq has quit (Input/output error)
22:08:10 <zxcvbnm> Anyone have a good resource for utilizing Python to send e-mail through exchange server?
22:13:26 zest has quit (Client exited)
22:15:10 AnonyOps has quit (Ping timeout)
22:18:50 * joepie91 has no idea
22:18:50 AnonyOps (anony_ops@cryto-5167D786.woh.res.rr.com) has joined #crytocc
22:18:56 <joepie91> wb AnonyOps
22:21:25 <zxcvbnm> ty
22:21:54 AnonyOps has quit (Ping timeout)
22:22:14 AnonyOps (anony_ops@cryto-5167D786.woh.res.rr.com) has joined #crytocc
22:22:21 <DrWhat> lol
22:22:26 <DrWhat> anonyops got some net problems
22:22:34 <joepie91> so it would appear
22:23:14 <AnonyOps> yep :(
22:23:25 <AnonyOps> had to reset router
22:23:51 <DrWhat> damn gir;
22:24:13 <AnonyOps> FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
22:24:24 <AnonyOps> WHY DID I JUST DO THAT!?!?!?!?
22:24:25 <DrWhat> was that called for...
22:24:36 <AnonyOps> I'm an idiot right now...
22:24:43 <DrWhat> no
22:24:45 <AnonyOps> I was backing up that failing drive (still)
22:24:45 <DrWhat> Your a drunk
22:24:57 <AnonyOps> and I accidentallied explorer.exe
22:25:00 <DrWhat> YOU'RE A DRUNK!
22:25:06 <AnonyOps> when it was half way done
22:25:13 <AnonyOps> sigh
22:25:27 * DrWhat points and laughs at the drunk
22:25:59 <AnonyOps> hopefully I can have it skip the ones that are already on there..
22:26:19 <DrWhat> wait
22:26:29 <DrWhat> doesnt thingy have a partition recovery tool
22:26:47 <DrWhat> joepie91 whats the distro that i use to manaage drives?
22:27:01 <DrWhat> i dont know what it called ebcuase the version i have is russian
22:27:20 <DrWhat> that has a drive recovery tool
22:27:40 <DrWhat> i used it on a 128gb flash drive that desided it was null
22:27:51 <DrWhat> found out it was fake :(
22:27:57 <DrWhat> accualy 16gb
22:28:15 <DrWhat> witch is why it nulled
22:28:25 <DrWhat> i put more stuff on there then it had room for
22:29:13 <AnonyOps> lol
22:30:43 <DrWhat> that what you get for buying stuff from china
22:30:59 <DrWhat> the data on it couldnt be recovered
22:31:11 <DrWhat> but i recovered the accual drive
22:31:16 <AnonyOps> I'm transferring it off right now...
22:31:21 <AnonyOps> know need for that.
22:31:26 <AnonyOps> It's just really slow
22:31:32 <AnonyOps> Idk how it's still kicking.
22:31:37 <DrWhat> kick it
22:31:46 <AnonyOps> I think that if I unplug it and put it back in, it will die.
22:32:22 <monod> yeah
22:32:25 <monod> most probably ^^
22:32:28 <monod> ops
22:32:46 <monod> "^^" was for "the 2-rows-above message"
22:32:49 <monod> not *
22:32:58 <monod> not "smiling" ^_^
22:33:14 <monod> sorry, embarrasing typos today :S
22:35:02 <AnonyOps> lol
22:41:17 <joepie91> <DrWhat>that what you get for buying stuff from china
22:41:19 <joepie91> no
22:41:24 <joepie91> that's what you get for not paying attention to what you're buying
22:41:25 <joepie91> lol
22:41:31 <joepie91> has nothing to do with china
22:44:55 <joepie91> http://awesomescreenshot.com/062yehedd
22:52:43 <zxcvbnm> joepie91: Looks good aesthetically.
22:53:56 <zxcvbnm> If it were me personally, I'd get a proof-reader.
22:54:14 <zxcvbnm> Some stuff is too wordy in there
22:54:26 <zxcvbnm> imo
22:54:59 <DrWhat> well it was still fake and it was from china
22:55:22 <DrWhat> 128gb flash drive for $50
22:55:24 <DrWhat> :)
22:55:37 <DrWhat> i was like hell yeah
22:55:44 <DrWhat> there was 256gb as well
22:55:51 <DrWhat> but i though that was too big
22:55:54 pzuraq (pzuraq@cryto-7B09657A.ucsc.edu) has joined #crytocc
22:57:17 <twitchyliquid64> she thought it was too big aswell
22:57:21 <twitchyliquid64> it didnt fit
22:59:11 <DrWhat> [8:45:01pm] (joepie92) and what's wrong with a simple COUNT(*) query to get the amount of rows
22:59:24 <DrWhat> mysql_num_rows()
22:59:25 <DrWhat> :)
22:59:44 <DrWhat> why do 2 queries
22:59:56 <DrWhat> when you can count the output once the query has been done
23:05:24 <DrWhat> also joe
23:05:29 <DrWhat> When are you updateing the front page
23:05:33 <DrWhat> Its getting dusty
23:07:26 anonnews903 has quit (Ping timeout)
23:11:53 <AnonyOps> <DrWhat>mysql_num_rows()
23:11:54 <AnonyOps> that
23:12:01 <AnonyOps> I use that all the time
23:12:11 <AnonyOps> :p
23:13:51 <DrWhat> i used it the evomap
23:33:35 pzuraq has quit (Input/output error)
23:49:45 <monod> how to see if a website is being DDOS'd?
23:49:48 <monod> how to *check*, well
23:50:20 <twitchyliquid64> monod: brute force, check packet loss
23:50:33 <monod> ping=
23:50:36 <monod> pign?
23:50:36 <monod> ping*
23:50:37 <twitchyliquid64> monod: slowloris, look at num of fd's/threads (apache)
23:50:39 <twitchyliquid64> monod: yes
23:51:08 <monod> Ok, thanks, checking now....
23:51:29 <monod> It pings correctly
23:51:39 <twitchyliquid64> 0% loss?
23:52:02 <monod> Precisely.
23:52:04 <monod> D
23:52:08 <monod> :D
23:52:21 <twitchyliquid64> chech your server load
23:52:22 <twitchyliquid64> whats it at?
23:52:38 <monod> Don't know :(
23:52:47 <monod> it's www.planetside2.eu tho..
23:52:48 <twitchyliquid64> go into shell/bash
23:52:54 <twitchyliquid64> type 'top'
23:53:05 <monod> err, win at the moment :D
23:53:08 <monod> *dows
23:53:11 <twitchyliquid64> puTTy?
23:53:23 <monod> on windows?
23:53:38 <zxcvbnm> you could do an nmap scan on it too see how it responds
23:53:47 <zxcvbnm> if you're using windows
23:53:55 <monod> nmap on which ports?
23:53:58 <monod> standards 1-1000?
23:54:17 <monod> Hmm...
23:55:33 <monod> *googling for info&news*
23:59:56 <monod> bah... I'll retry another day