code logs -> 2013 -> Sat, 27 Apr 2013< code.20130426.log - code.20130428.log >
--- Log opened Sat Apr 27 00:00:00 2013
00:01 * Derakon eyes Terminal, which has decided to hang. WTF.
00:09
<&Derakon>
Hey RichyB, turns out that the fix we did to the heatmap code wasn't a good idea after all.
00:09
<&Derakon>
So what I did instead was to modify queue_popleft so that after it increments q->head, it checks if q->tail == q->size and sets it to 0 if so.
00:10
<&Derakon>
That appears to pass all tests properly.
00:15 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
00:15 You're now known as TheWatcher[T-2]
00:21 You're now known as TheWatcher[zZzZ]
00:27 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
00:28 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
00:28 mode/#code [+o himi] by ChanServ
00:30 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds]
00:47
<~Vornicus>
REIVER REIVER REIVER
01:37 Bobsentme [Bobsentme@Nightstar-10ac8370.mi.comcast.net] has joined #code
01:37
< Bobsentme>
Quick question, and then I'll be on my way:
01:37
< Bobsentme>
I have a server that runs tomcat, and java 1.6.
01:38
< Bobsentme>
Connects to a backend database.
01:38
<&McMartin>
ok
01:38
< Bobsentme>
Can I code a jsp page and deploy it, or will I have to upgrade / change the java version for that?
01:38
< Bobsentme>
my google-fu is not working
01:39
<~Vornicus>
Java spends a lot of time making sure old code continues to work.
01:39
<&McMartin>
JSPs go back to something like Java 1.4; as long as the Java *in* your JSP isn't using 1.7-specific stuff you should be fine.
01:39
<&McMartin>
Servlets (what JSPs compile into) are a dead-simple API.
01:40
< Bobsentme>
Ok. Wanted to make sure I wasn't going down a useless path.
01:41
< Bobsentme>
thanks all.
01:41 Bobsentme [Bobsentme@Nightstar-10ac8370.mi.comcast.net] has left #code ["Leaving"]
01:45 * Derakon eyes Cython, is confused.
01:46
<&Derakon>
http://pastebin.com/Wngk0vdW
01:47
<&Derakon>
Define a trivial class in a .pyx file; as far as Python is concerned that class does not exist. WTF.
01:47
<&Derakon>
(NB using cdef or cpdef doesn't change that)
01:48
<&Derakon>
(And no, there's not anything else potentially in the namespace to confuse the import)
01:54
<&Derakon>
Ah, there's a global module named "test". Of course.
02:16 ToxicFrog|W`rkn is now known as ToxicFrog
03:37 RichyB [richardb@Nightstar-86656b6c.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
03:53 Kindamoody[zZz] is now known as Kindamoody
04:01 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
04:02 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
04:02 mode/#code [+o himi] by ChanServ
04:02
< Reiver>
VORNICUS VORNICUS VORNICUS
04:03
< Reiver>
Yes?
04:03
< Reiver>
:P
04:03
<~Vornicus>
I was hunting around for the paper Chalcy made with help from me
04:03
<~Vornicus>
I found it though
04:04
<~Vornicus>
http://researchcommons.waikato.ac.nz/bitstream/handle/10289/2319/thesis.pdf?sequ ence=1 <--- behold
04:29 VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
04:31
< Reiver>
oho
04:40
< Reiver>
any reson?
04:41
<~Vornicus>
A recruiter was asking about things I've done with Python
04:41
<~Vornicus>
That is a thing I did with Python
04:45
<&McMartin>
Woo recruiters
04:45
<~Vornicus>
Very much so
04:45
<&McMartin>
And yeah, it really does seem these days like you really want some kind of portoflio
04:45
<&McMartin>
*portfolio
04:46
<&McMartin>
Since there are guys out there with 7 years experience that if you hand them an empty file and a problem statement promptly fail to find their ass with both hands for like an hour or more.
04:51 syksleep is now known as Syk
04:54
<&Derakon>
This is one reason why I'm working on Pyrel.
04:54
<&Derakon>
I have jack diddly in the way of recent group work otherwise.
05:03
< Syk>
I have a whole bunch of stuff I'm never showing off every again because its horrible :D
06:56 Syk is now known as syklan
07:16 RichyB [richardb@Nightstar-86656b6c.cable.virginmedia.com] has joined #code
07:33 * Vornicus fiddles, tries to figure out if he can get these voronoi results programmatically or whether he'll have to manually input them.
07:33
<~Vornicus>
(they're fake results, which is the problem)
07:43 Derakon is now known as Derakon[AFK]
08:01 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
08:32
<~Vornicus>
Okay. Many things - 3 checker, 4 L, 4 3d checker, 5 checker, 6 diagonal, 6 long, and 7 - have isolated open spaces, and those have a known specific layout. For some of these - 3 checker, 4 L, and 5 checker - there's still more to do.
08:39
<~Vornicus>
(also, randomly, the google search string that found that paper was "Dan Uznanski New Zealand"
08:55 ErikMesoy|sleep is now known as ErikMesoy
09:22 You're now known as TheWatcher
09:45
<~Vornicus>
Okay. Space diagonals: 0 and 8 have 4; 1, 6 long, and 7 have 3; 2 straight, 2 diag, 4 2checker, 5 diag, 6 straight, and 6 diag all have 2, a whole bunch have 1, and then 4 square, 4 branch, and 4 3checker have none.
09:46 RichyB [richardb@Nightstar-86656b6c.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
10:12 Kindamoody is now known as Kindamoody|afk
10:53 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
10:53 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
10:53 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [Client closed the connection]
11:55 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
12:00 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
12:01 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
12:19
<@froztbyte>
Azash: I see
12:19
<@Azash>
It was not a very good poster~
12:19
<@froztbyte>
<McMartin> And yeah, it really does seem these days like you really want some kind of portfolio
12:20
<@froztbyte>
<McMartin> Since there are guys out there with 7 years experience that if you hand them an empty file and a problem statement promptly fail to find their ass with both hands for like an hour or more.
12:20
<@froztbyte>
I was having this discussion with one of the Smarterer guys recently
12:20
<@froztbyte>
you might feel happy that at least some of the people who are involved in that space (hiring/evaluation) are thinking of ways to solve it
12:21
<@Tamber>
A really big mallet?
12:21
<@froztbyte>
haha
12:22
<@froztbyte>
Azash: so you note some issues you had there
12:22
<@froztbyte>
Azash: and it's an interesting line between getting them right, and not
12:22
<@froztbyte>
one of the things I'd try is just insert the various headers (packet ID, timestamp, srchost+dsthost, etc) into the sql DB
12:23
<@froztbyte>
and back-reference to the packet payload on SQL-query
12:23
<@Azash>
Mm
12:23
<@froztbyte>
with tshark you can slice based on addresses and stuff
12:24
<@Azash>
tshark?
12:24
<@froztbyte>
console-wireshark
12:24
<@Azash>
Ah
12:24
<@froztbyte>
https://www.wireshark.org/docs/man-pages/wireshark-filter.html
12:24
<@froztbyte>
http://blog.n0where.org/2011/06/quick-and-dirty-pcap-slicing-with.html
12:24
<@Azash>
Yeah one of my goals here was to do that stuff myself and avoid tools as much as possible
12:25
<@Azash>
Several people have suggested libpcap and such
12:25
<@froztbyte>
with the pcap manipulation specifically, I'd actualy just leave that up to the tools
12:25
<@froztbyte>
because there's a whole lot involved in pcap manipulation
12:25
<@froztbyte>
I mean, you could go off and write it all yourself, or you could just build a generalized tshark wrapper that works for what you need :)
12:26
<@Azash>
Mm, honestly, if I was doing proper work I wouldn't be writing my own tools unless absolutely necessary
12:26
<@Azash>
This is just messing around that I get credits for :P
12:26
<@froztbyte>
hehe
12:27
<@froztbyte>
well, a familiarity with this stuff is certainly not bad
12:27
<@froztbyte>
even for just general "what the fuck is going on?" sort of home use, it's often nice
12:27 * froztbyte has a lot of accidental protocol reverse engineering and deep debugging experience
12:28
<@Azash>
Mm
12:28
<@froztbyte>
(SIP is a fucking shitty protocol that breaks far too often :<)
12:28
<@Azash>
I asked a friend how to get started in infosec, looks like there's going to be more of that~
12:28
<@Azash>
I'd like to try and reverse engineer some protocol over the summer
12:28
<@froztbyte>
if you want to get started in infosec, make sure you have a very strong ability to put up with bullshit
12:29
<@froztbyte>
(*very strong* ability)
12:29
<@Azash>
On whose part?
12:29
<@froztbyte>
most of the people I've encountered in infosec have almost /zero/ cross-domain knowledge, and tons of ridiculous practices
12:30
<@Azash>
Ah
12:30
<@froztbyte>
it's kinda understandable, since all of this is built on how to build security on the fact that all corporate users are retards
12:30
<@froztbyte>
but yeah
12:30
<@froztbyte>
there's a lot of snakeoil, scumminess, and idiocy.
12:30 * Tamber waves the rubber chicken over the server, dancing clockwise, and chanting.
12:31
<@Azash>
froztbyte: So you're saying I should be able to read TDWTF without gagging? :P
12:31
<@froztbyte>
no, you should be able to read TDWTF going "pfft, I see that three times a day, minimum"
12:33
<@Azash>
Haha
12:34
<@Azash>
That would be a recursive pre-req, though
12:34
<@Azash>
Not that those are very rare in computing..
12:34
<@froztbyte>
dude, it's beyond bad
12:34
<@froztbyte>
I know people in somewhat highly placed positions
12:34
<@froztbyte>
who recommend you run all your APs in Hidden SSID mode for "teh securitahs!"
12:35
<@froztbyte>
(which, if you have even the most basic understanding of digital wireless transmission, tells you how retarded it is)
12:39
<@Azash>
Can't you just listen to traffic and find it that way?
12:39
<@froztbyte>
exactly
12:39
<@froztbyte>
there's a number of ways you could easily circumvent the problem
12:40
<@froztbyte>
and this person does a training course that people pay thousands to attend
12:40
<@froztbyte>
multiple times a year
12:40
<@Azash>
caveat emptor
12:40
<@froztbyte>
at a well-respected infosec company
12:41
<@froztbyte>
and this sort of snakeoil and silliness is *everywhere*
12:49
<@Azash>
Partly explains the vitriol blackhats tend to have toward consultants
12:58
<@froztbyte>
very commonly, yes
12:59
<@froztbyte>
blackhats, by and large, are actually getting shit done
12:59
<@froztbyte>
real work, real discoveries
12:59
<@froztbyte>
and there's respect in that, for me
12:59
<@froztbyte>
a lot of other people just ride the coattails of that
13:00
<@Azash>
Mm
13:28 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has joined #code
13:29
<@Azash>
Hey AverageJoe
13:29
< AverageJoe>
hi
14:24 RichyB [richardb@Nightstar-86656b6c.cable.virginmedia.com] has joined #code
14:33 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has quit [[NS] Quit: Leaving]
16:35 Kindamoody|afk is now known as Kindamoody
16:52 gnolaptop [lenin@Nightstar-8562cc69.priv.bahnhof.se] has joined #code
16:56 Kindamoody is now known as Kindamoody|out
17:07 RichyB [richardb@Nightstar-86656b6c.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
17:28 You're now known as TheWatcher[afk]
17:32 syklan is now known as Syk
17:36 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
17:49 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
17:49 mode/#code [+o himi] by ChanServ
17:56 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code
17:56 mode/#code [+o celticminstrel] by ChanServ
18:00 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
18:00 celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code
18:00 mode/#code [+o celticminstrel] by ChanServ
18:18 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
18:31 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
18:31 mode/#code [+o himi] by ChanServ
18:35 Kindamoody|out is now known as Kindamoody
18:38 Syk is now known as syksleep
19:39 ErikMesoy1 [Erik@A08927.B4421D.403BAA.818DC8] has joined #code
19:41 ErikMesoy [Erik@A08927.B4421D.403BAA.818DC8] has quit [Ping timeout: 121 seconds]
20:34 Kindamoody is now known as Kindamoody[zZz]
20:36
<@celticminstrel>
...oh hey, github changed their favicon.
20:46
<@froztbyte>
yeah
20:46
<@froztbyte>
https://github.com/blog/1472-new-github-logo
20:51 gnolaptop_ [lenin@Nightstar-8562cc69.priv.bahnhof.se] has joined #code
20:52
<@celticminstrel>
It's a purely stylistic change, I think, but noticeable nonetheless.
20:53
<@froztbyte>
it is pretty noticeable, yeah
20:53 gnolaptop [lenin@Nightstar-8562cc69.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
20:53
<@froztbyte>
although I suspect observation bias of some sorts also comes into play
20:54
<@froztbyte>
(the people who use github are also more likely to be using tabs, and checking for tabs based purely on favicon, thus being more aware to a change)
20:56
<@Tamber>
...there's a change? I can't see it, even on the blog post.
20:56
<@Tamber>
<.<
20:57
<@froztbyte>
they went negative space
20:57
<@froztbyte>
https://f.cloud.github.com/assets/72919/381608/074d0b06-a5e3-11e2-8b7f-9f09eb2dd fae.jpg is the new icon, more or less
20:58
<@froztbyte>
(and honestly every time I see it now, I think "drunk fighting octopus")
20:58 gnolaptop_ is now known as gnolaptop
21:00
<@celticminstrel>
I don't even know what changed, because I can't remember what the old favicon was.
21:00
<@celticminstrel>
I only know it looks different.
21:00
<@celticminstrel>
While also looking the same.
21:01 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
21:01 mode/#code [+qo Vornicus Vornicus] by ChanServ
21:17 gnolaptop [lenin@Nightstar-8562cc69.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
21:19 Derakon[AFK] is now known as Derakon
21:30
<@froztbyte>
it used to be the octopus
21:30
<@froztbyte>
rather than negative space of the octopus
21:34
<@Tamber>
Ahh
21:37 gnolaptop [lenin@Nightstar-8562cc69.priv.bahnhof.se] has joined #code
21:40
<@Azash>
"Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)"
21:40 * Azash stares at the ceiling
21:40
<@froztbyte>
dig +trace
21:40
<@froztbyte>
but that sounds like a broken DNS server
21:41
<@froztbyte>
even just `dig` on its own will give you and answer
21:41
<@froztbyte>
and I really should stop suggesting dig and suggest drill instead :/
21:41
<@Azash>
froztbyte: Is that a valid format though?
21:41
<@Azash>
address:http
21:41
<@froztbyte>
no, that's more likely log weirdness
21:41
<@froztbyte>
sec
21:41
<@froztbyte>
aliquantulus% getent services 80
21:41
<@froztbyte>
http 80/tcp www
21:42
<@froztbyte>
so what's likely being sent in to the formatting function is <hostname>:80
21:42
<@froztbyte>
and then it does some "smart" stuff with it
21:43
< Shiz>
magic
21:52 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Client closed the connection]
21:52 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
21:53 gnolaptop [lenin@Nightstar-8562cc69.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
22:07
<@Azash>
Hm..
22:08
<@Azash>
I'm supposed to be doing a blag for my webpage for this lab, and I'm having a hard time thinking up stuff to put in the DB
22:08
<@Azash>
I have three tables: User (id, name, pwhash), Post (postid, userid, replyto, content) and Subscription (follower, target)
22:08
<@Azash>
Any suggestions?
22:09
<@EvilDarkLord>
As in content for tables or other tables?
22:09
<@Azash>
Mostly other tables as we get whined at if our DB is too simple
22:10
<@Azash>
Pretty much "more functionality", I guess
22:10
<@Azash>
But I'm stumped
22:10
<@Azash>
Permissions!
22:12
<@EvilDarkLord>
Separate out blag posts from comments on them?
22:12
< ErikMesoy1>
Subscription makes me think Payment (interval, amount, method)
22:12
<@Azash>
ErikMesoy1: Similar to how you subscribe on forums
22:12
<@Azash>
Except for users
22:12
<@Azash>
Not posts
22:13
<@Azash>
EvilDarkLord: I guess, but that seems a bit excessive, I think I'll just add Permission (user, role) and Role (roleid, various permissions like post, reply, delete-reply)
22:13
<@Azash>
And if that's not enough, manly tears must be shed
22:14
<@EvilDarkLord>
Azash: Post time seems like a useful addition to Post anyway.
22:16
<@Azash>
Oh true, thanks
22:16
<@EvilDarkLord>
Possibly separate content from title too.
22:20
<@froztbyte>
why are you building your own? course requirement?
22:26
<@froztbyte>
http://blahg.josefsipek.net/?p=233 haha
22:29
<@Azash>
froztbyte: Yeah
22:30
<@froztbyte>
heh
22:33 gnolam_ [lenin@Nightstar-b2aa51c5.cust.bredbandsbolaget.se] has joined #code
22:33 VirusHome [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
22:34 RobinStamer [rstamer@Nightstar-e681a855.org] has joined #code
22:34 JBeshir [namegduf@Nightstar-5c10d129.beshir.org] has joined #code
22:34 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
22:34 jerith_ [jerith@Nightstar-bf52129d.slipgate.za.net] has joined #code
22:34 Netsplit *.net <-> *.split quits: @Pandemic, @froztbyte, @himi, sshine, @jerith, @gnolam, @EvilDarkLord, @[R], @Namegduf
22:36 Netsplit over, joins: sshine
22:38 ErikMesoy1 is now known as ErikMesoy|sleep
22:38 gnolam [lenin@Nightstar-8562cc69.priv.bahnhof.se] has joined #code
22:39 froztbyte [froztbyte@Nightstar-dc394964.za.net] has joined #code
22:39 mode/#code [+o froztbyte] by ChanServ
22:39 EvilDarkLord [jjlehto3@Nightstar-2ebc32b2.cs.hut.fi] has joined #code
22:57 jerith_ is now known as jerith
22:57 mode/#code [+ao jerith jerith] by ChanServ
23:05 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has quit [[NS] Quit: leaving]
23:05 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code
23:05 mode/#code [+o PinkFreud] by ChanServ
23:48 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
23:56
<@Azash>
Hmh.. I can't figure out why this isn't modifying the database http://pastebin.starforge.co.uk/560
23:58 RichyB [richardb@Nightstar-86656b6c.cable.virginmedia.com] has joined #code
--- Log closed Sun Apr 28 00:00:15 2013
code logs -> 2013 -> Sat, 27 Apr 2013< code.20130426.log - code.20130428.log >

[ Latest log file ]