« first day (61 days earlier)      last day (4885 days later) » 

8:00 PM
my point exactly...
but then again, are you running it as root?
cause if you are, you deserve to get pwned...
 
@ircmaxell there's a new kernel exploit, so that isn't the problem...
 
@ircmaxell Of course not :P
 
fair enough
 
Even in the case I need to bind < 1024
I have privbind
@ircmaxell That fails on Ubuntu 10.xx
 
sucks
 
8:02 PM
@IvoWetzel did you read the explaination of the exploit author? it theoretically works aganist newer systems, too, but it was designed not to do so
 
Hi!
 
interesting...
 
@IvoWetzel I think that someone skilled enough could rewrite it
 
What are the details of it?
 
@thejh Yea, I remember now. Still with all the different patches for each distribution, it's hard to tell which one will be vulnerable in the end
 
8:04 PM
This jQuery code does not seem to work. Why? $('<span> – lipsum</span>').appendTo('#dummy').hide();
 
@Nyuszika7H: What doesn't work... It tends to be better if you can enumerate your frustration rather than just say "nooo"
 
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO But I like to say that
 
 * However, the important issue, CVE-2010-4258, affects everyone, and it would
 * be trivial to find an unpatched DoS under KERNEL_DS and write a slightly
 * more sophisticated version of this that doesn't have the roadblocks I put in
 * to prevent abuse by script kiddies.
 
@ircmaxell It seems to work now. Hurray! :)
@IvoWetzel please don't do this
 
8:08 PM
lol
 
@CodingKitten Anything to say?
 
@IvoWetzel Why does this jQuery(obj).animate({ width: '+=100' }); works but thanks a lot
 
@CodingKitten Hey, you've stolen my code!
 
That's interesting @thejh... At least the exploit code won't run against RHEL/CentOS...
(the exploit may still be effective, so not completely out of the water)...
Wow, given all the spam this thread receives, that gets marked spam/offensive... wow...
 
@CodingKitten are you a script kitty?
 
8:11 PM
@Nathan your doing it wrong if (false == null), use if you're used to ctrt+z/y etc.
 
@CodingKitten Already working on that root exploit?
 
@IvoWetzel I that sounds nice know enough vim: :q!
 
LOL
 
LOL!
 
@CodingKitten you are wise beyond your years.
 
8:12 PM
@Nathan there cancel: 'input' }) really now? makes sense good thing I can already type completely blind hit shift + i? I do really want to study a lot. fx4pre9 dropped the sockets? dumb. That's JavaScript. hit shift anything you would like for that
 
@CodingKitten I think something went wrong...
 
@ircmaxell okay :o i muted he is really learn it this jQuery(obj).width('+=100'); does this jQuery(obj).animate({ width: '+=100' }); works but I use mvc2 or is wireshark buggy as full time employees, paid and lack a degree == less of they instead of he/she is correct, then outdent with shift+tab?
 
@CodingKitten you're getting more verbose each time!
 
@Nathan and placed on hiring teams the same as full time without a chance to!
 
8:14 PM
Wow... That's actually a pretty good analogy: is wireshark buggy as full time employees, paid and lack a degree
 
@CodingKitten Who shot first?
 
@IvoWetzel is it more confusing to use to dev in?
 
@CodingKitten Who came first, the CodingKitten or the ScriptKitty?
 
@ircmaxell Add that sounds nice
 
@CodingKitten Who came first, the CodingKitten or the ScriptKitty? That sounds nice.
 
8:15 PM
@ircmaxell +!!+ is invalid :p
 
@CodingKitten You are avoiding our questions!
 
@IvoWetzel insert mode? when I type it will take?
 
@CodingKitten Take what?
 
@IvoWetzel it to find another gold badge to go after... parseInt `toString()`s its first argument working.. its so strange i walked out you use text based browsers? is the parent of an element (at least that was explained to MITM attacks
 
@CodingKitten that's right
 
8:16 PM
@thejh Uh if you use MS Word for programming? I thought it would be nice to start from scratch :P)
 
@CodingKitten should we get old-school here? You want to do this the easy way or the hard way...
 
@ircmaxell even another null: null & undefined
 
I liked this one better.
 
@CodingKitten That's not from scratch, that's from dirt!
 
@thejh ask me if I give a result.
 
8:16 PM
 
@CodingKitten Ok, the hard way it is
 
@ircmaxell last job Ubuntu with XP VM, this on every floor of every building
 
@CodingKitten do you give a result?
 
@thejh Free fruit juice?!?!? We're do I apply a margin-bottom on a computer is vulnerable to MITM attacks
 
@CodingKitten omg, you're really silly
 
8:17 PM
@CodingKitten Vote up my answer!!
 
@IvoWetzel Caption not found -.- : "Free stuff I accumulated while working at the keyboard anyway. :P
 
@CodingKitten you are actually appearing to get smart..
 
;_;
 
@ircmaxell would they hire someone with any other kind of developers
@Nyuszika7H just sometimes
 
@CodingKitten of course ;)
 
8:19 PM
wow is all I can say:
0
Q: No results returned in search engine?

ChrisGreetings! This n00b has a "search engine" dedicated to extracting relevant information from log files. It works by parsing preset fields in the log filename. I'd like to have some notification when the search returns no rows as I am planning to add more search options. Here's my code: &l...

 
PHP...
runs
hey
we should play around with that ScriptVersion field :P
 
@ircmaxell /me just says "XSS"
 
I'd say a lot more than that...
 
@IvoWetzel oh. OH. NOOOOO!
 
@thejh ?
anyways his script indicates that auto register globals is on...
 
8:25 PM
@IvoWetzel making it possible to inject strings into stuff that gets passed to exec()...
@IvoWetzel what? that retarded stuff?
 
oh wait, there's actually a $_POST
man that script looks like...
 
hehehe
 
what do you think, whom is he speaking about when he says "This n00b"?
 
he's talking about this (or in PHP $this since it's more clear)...
 
@thejh the same person I talk to my psychiatrist about when referring to "this friend of mine..."
 
8:27 PM
@Greg hehe
@IvoWetzel maybe there's no security hole
@IvoWetzel do you know this funny "security feature" of PHP?
 
someone know how to stop click events bubbling in jquery?
 
@Greg why in jquery?
 
@Greg Bubbling? What?
 
@thejh my javascript is using jquery, and when i click a button, it causes the jquery-added click event of it's container to be fired.
@Nyuszika7H clicking a button fires the click event of it's <div> container
I don't want it to 'bubble'...
I know there's a way to do this by checking the event target is correct, but can't remember ... so I'm asking you lot to remember for me!
 
@Greg: e.stopPropagation() ?
 
8:34 PM
let me see
 
@thejh "Maybe" Isn't really that secure
 
@IvoWetzel yes, know that
 
Magic Quotes is the dumbest feature... (I won't say ever invented, since there is bound to be one worse...
 
@Nyuszika7H are you just returning false to stop that ?
 
8:38 PM
@Greg .unbind('click') and .bind('click', function() {}); didn't work.
 
@ircmaxell yes, but it can be useful if the programmer just wants the site to work or something like that and doesn't care about double-escaping - i know a webpage where this is the only lager of security aganist injection and similar stuff (no, not mine)
 
@Greg Updated: jsbin.com/asifi3/2
 
@thejh liiiiiiiiiiiiiiiiink!!!!
 
@thejh: that's why it's dangerous. It makes you feel better without actually making anything more secure... It's a bandaid on a gunshot wound...
 
2 up votes -.-
 
8:39 PM
ROTFL!!!!!!!!!!!!!!!
 
@Greg So, this is what you want?
 
@Nyuszika7H hmm, the button I am hooking up to is the submit button of a form, so I don't want to return false. jsbin.com/asifi3/3
the form doesn't seem to submit
 
ahhhhhhhhhhhhh flash
 
@CodingKitten Do you like Flash?
 
8:41 PM
@IvoWetzel that's dumb havent used it since you understand some of leaving programming and going into middle management?
 
@thejh: addslashes is never sufficient to escape data for database usage: shiflett.org/blog/2006/jan/…
 
@Nyuszika7H yep, you got it now. just I thought there was a jquery way of stopping bubbling.
 
goes crazy with the numchuks after the ninjas are gone
 
@Greg you can't use jQuery for everything :) type in !kitten ? jquery if you have enough rep to do that
 
@Nyuszika7H ok.. well a snippet of javascript. I'll play around some more then I'll use the method you came up with.
 
8:46 PM
@ircmaxell oh
 
@Nyuszika7H if(e.target !== this) return
found the method I was thinking of :)
 
!kitten ? jquery
 
!kitten ? queen elizabeth
 
8:54 PM
Hold on a second, googling that for you... "queen elizabeth did you mean horrible typo?" There you go!
 
!kitten ? queen elizabeth
 
Hold on a second, googling that for you... "queen elizabeth did you mean horrible typo?" There you go!
 
yule time
@ircmaxell hahaha "where are my legs?"
 
hehehe
 
who made that?
 
8:57 PM
@ircmaxell so in that encoding, 0xbf isn't a complete character, right?
 
@Nyuszika7H Hi! Took your advice and have been following tutorials about jQuery
is this a good code to append a checkbox?
$(function() {
$('a').click(function(){
$('#box').append("input"))
type : 'checkbox'
});
 
@Opoe Almost.
 
@thejh more like 0xbf27 isn't a valid character
(and yes, 0xbf is not either)
 
$(function() {
  $('a').click(function() {
    // SOLUTION 1
    $('<input />').appendTo('#box').attr('type', 'checkbox');
    // SOLUTION 2
    $('#box').append('<input type="checkbox" />');
    // Both do the same thing.
  });
});
 
seeems so easy :D woow
@Nyuszika7H thank you very much
 
9:03 PM
@Opoe Remember, there's some difference between append() and appendTo():
 
@ircmaxell ok, I think that I understood it. But with a single-byte encoding, it shouldn't be an issue, right? ;)
 
Correct $('.obj').append('hello'); // appends text: hello
Wrong $('hello').appendTo('.obj');
 
@thejh In theory... And that's the point. You can't be 100% sure that addslashes covers 100% of the bases. mysql_real_escape_string on the other hand works 100% of the time...
 
Use this instead $('<span>hello</span>').appendTo('.obj');
 
@ircmaxell why can't I be sure?
 
9:05 PM
@Nyuszika7H thank you! that seems understandable
 
Because the details of the database engine are outside of your control in a generic PHP script. Even if you manually set the connection character set, there's other implementation details that you likely won't have control over...
The point is, you could try to ensure that 10 things are set properly (and stay that way for the rest of the lifetime of the code), or just use the proper function. Which sounds more correct to you?
 
@Nyuszika7H why not this? document.createTextNode("hello").wrap("<span></span>").appendTo(".obj");
 
@ircmaxell yes, I know
 
@Greg First, it's longer. Second, it won't work, because you didn't call jQuery.
 
!kitten wisdom Col. Shrapnel
 
9:10 PM
is going to sleep. Returning tomorrow, approx. at 14h.
 
@Nyuszika7H good night!
 
@Nyuszika7H sleep tight!
 
@Nyuszika7H you didn't specify the timezone
 
unless it's 14h from now...?
 
@ircmaxell then "at" would be wrong, wouldn't it?
 
9:13 PM
@thejh he's from Hungary
 
@thejh: I'm not arguing that...
 
<a href="#" class="redup" onclick="$.get('./vote.php?class=______&votetype=up&......;">

How can I fill in the current class state? The class is changed dynamically, so I have to get the current class of the element.
I tried this:

<a href="#" class="redup" onclick="var thisclass = $(this).attr('class');$.get('./vote.php?class=thisclass&votetype=up&.....;"> but it didn't work :(
Haha you guys are a lot of help ಠ_ಠ
 
well
 './vote.php?class=thisclass&votetype=up&.....;"
you need to concat the value of thisclass
right now you just have a string that contains the word
something like this: './vote.php?class=' + thisclass + '&votetype=up&.....;"
 
It's a long day...........I'm retarded..........
Thanks
 
or you could replace it
'urlthisclassurl'.replace('thisclass', this.attr('class'))
 
9:23 PM
0
Q: Why would jQuery validate clobber jQuery UI?

KevI'm using jQuery UI 1.8.7 (a custom build created on the jQuery UI site that only contains the dialog widget). I'm also using the jQuery Validate 1.6 plug-in (or rather trying to). My jQuery UI markup/code is pretty stock stuff: <div id="create-snapshot" title="Create new snapshot?"> &...

 
0
A: exec doesn't found a file

FrayserWorks for me. The disks: frayser@gentoo ~/doc/Answers/src/PHP $ disk sda 111.790 GB sdb 233.762 GB sdc 233.762 GB sdd 233.762 GB sde 279.481 GB ------------------ Total: 1092.558 GB Using hde: frayser@gentoo ~/doc/Answers/src/PHP $ l /dev/sde brw-rw---- 1 root disk 8, 6...

Did I come off too strong there?
 
Don't think so
works for me is fine in comments though
but only if you have the exact same system/browser
 
Yea, if it was a comment, I wouldn't mind. But as an answer, it kinda glosses over the whole point of the question (it doesn't work for him)
 
lol
damn, won't get those 2 ups I guess, hm
 
lol
 
9:37 PM
@IvoWetzel: 2 to go!
 
I love that guys response. It's hard to tell if he's being serious or gets the joke...
 
9:49 PM
!kitten down? stackoverflow.com
 
Did you break your network? Because stackoverflow.com is UP.
 
!kitten down ? ::1
 
Huh? What's a "down ? ::1" supposed to be? If you can't type you should reconsider your profession, what about writing the next Harry Potter? Can't get any worse with that...
 
!kitten down? ::1
 
What did you break this time? ::1 is indeed DOWN.
 
9:50 PM
!kitten down? ::1
 
!kitten down? localhost
 
What did you break this time? localhost is indeed DOWN.
 
!kitten down? 127.0.0.1
 
What did you break this time? 127.0.0.1 is indeed DOWN.
 
uhhh
 
9:51 PM
:(
 
wonders what that's about...
 
@ircmaxell maybe a http test?
!kitten down? 192.168.178.1
 
What did you break this time? 192.168.178.1 is indeed DOWN.
 
!kitten down? 192.168.0.1
 
What did you break this time? 192.168.0.1 is indeed DOWN.
 
:(((
@IvoWetzel mean :(
 
HAI GUISE CAN YOU CHEQUE MY SITE I THINK JQUERY IS BROKEN: localhost/test.html
 
I want my SO back -.-
 
Ahh, so they prob have a check against local networks
is on SO...
 
ycombinator is down for me too
 
9:55 PM
0
Q: Avoiding slashes added by jQuery serialize()

Nik E.I am using jQuery to serialize a form and then POST it via ajax to the back-end to be saved to MySQL. I've run into a problem where, for text fields containing quotation marks " and ', jQuery's .serialize() adds an escaping slash, which gets POSTed. For Example: ' Monitor Size: 22" ' is being ...

 
 7  4.69.140.29 (4.69.140.29)  13.630 ms 4.69.140.25 (4.69.140.25)  13.967 ms 4.69.140.29 (4.69.140.29)  15.539 ms
 8  ae-42-42.ebr2.Washington1.Level3.net (4.69.137.54)  107.913 ms 4.69.137.58 (4.69.137.58)  109.112 ms 4.69.137.62 (4.69.137.62)  110.552 ms
dies there
;_;
mozilla.com too
 
I really hate that you get 5 minutes of unlogged edits for answers... It makes you look like an idiot when you point out a flaw in a comment, and they fix it quickly...
 
half my interwebz isn't working ._.
duuuuuuuuude
 
@IvoWetzel which part? DNS or actual access?
 
access
 
10:06 PM
11!
 
hey it's back
stupid telekom I guess
 
@IvoWetzel you've got that magenta ISP?
 
@AndyE gogogogo at least your one gets views views views :P
@thejh Yep... well they're actually quite good, up time is really nice, and if you know what you're doing you can talk them down on the price too :P
 
laterz all
have a good night
 
@ircmaxell you too
 
10:09 PM
@IvoWetzel "you can talk them down on the price"? telekom? irritated
well, I've got to sleep now
 
I should do that too... but 2 votes...
@CodingKitten Vote for me!
 
@IvoWetzel ask me can get random white boxes over webpages sometimes, i see your content editor?
 
0
Q: text editor using c

pavlosHi i want to make a text editor using c. I don't want to make any GUI, the text editor is going to be a console application. I would like to ask if there are any libraries which implement some basic functionality for example, i want to execute a function when user presses ctr+s.

!kitten jstypes
 
 
1 hour later…
11:19 PM
anybody here?
 
11:51 PM
yo
 
Does anyone know how to tell which of 2 triangles is infront of the other?
assuming they don't intersect...
 

« first day (61 days earlier)      last day (4885 days later) »