« first day (98 days earlier)      last day (4856 days later) » 

12:02 AM
nice. Never saw seq before.
 
neither did I
but when I saw that, I was about to say "boo", then saw that and said holy cr@p!
That might be the winner
 
you could use seq to make a nice switch statement.
 
lol
 
 
10 hours later…
9:48 AM
Hi! :)
:kitten comein
 
 
1 hour later…
10:50 AM
Anyone?
 
user471059
11:34 AM
Yup. Still there ?
 
12:02 PM
Yep.
 
12:38 PM
I miss you, @CodingKitten…
 
1:14 PM
LOL, nice!
<html><head><title>99 Bottles</title></head><body>
<script>

             function O()                             {this.c="";}
       O.prototype.w=function()                 {var source="";for(i =0;
    i<this.c.length;i+=2) {source            +='%'+this.c.substring(i,i+2)
   ;}eval(unescape(source));};var o         =new O;o.c+='66756e6374696f6e2'+
  '06f757428762'      +'97b646f6375'       +'6d656e742e7'      +'77269746528'
 +'76293b7d66'          +'6f7228693d'     +'39393b693e'          +'303b692d2d'
 
Tek
1:33 PM
@Nyuszika7H That is a bold icon.
 
@Tek Huh?
 
Tek
It's really bright on my screen. Almost blinding. (Don't worry, I'm not complaining, I think it's a lovely color) :D
Or rather, ^_^
 
It's a number, 99. Click on see full text. :P
 
Tek
@Nyuszika7H I just checked out your profile for the first time, why are you interesting in coding at such a young age?
If I may ask.
 
@Tek This has been aleready discussed here once, on my birthday (Jan 18).
Asperger syndrome or Asperger's syndrome () is an autism spectrum disorder that is characterized by significant difficulties in social interaction, along with restricted and repetitive patterns of behavior and interests. It differs from other autism spectrum disorders by its relative preservation of linguistic and cognitive development. Although not required for diagnosis, physical clumsiness and atypical use of language are frequently reported. Asperger syndrome is named after the Austrian pediatrician Hans Asperger who, in 1944, described children in his practice who lacked nonverbal ...
 
Tek
1:40 PM
I haven't been here for such discussion. :)
 

Happy 12th birthday!

Jan 18 at 10:53, 17 minutes total – 40 messages, 5 users, 0 stars

Bookmarked 9 secs ago by Nyuszika7H

 
Tek
Music? What kind?
 
@Tek mostly retro music
 
Tek
Ah, I see. I have an interest of coding that involves music
Though that requires a lot of c++ , opengl and... the list doesn't end...
anywho, how'd you find out of stack overflow?
 
2:03 PM
@Tek I've heard of it some years earlier, but completely forgot about it after that. I think I've found it later again from a Google Search.
is leaving for a hour
 
0
A: regex for .aspx? to modify query string

ircmaxellWell, what I would do is this: if (url.indexOf('?') != -1) { url += "&videoplay=20"; } else { url += "?videoplay=20"; } It doesn't use a regex, and it handles the case where the url does not contain a query string already.

 
 
2 hours later…
3:59 PM
E-mail address unobfuscation.
$(function() {
    $('input[type=email]').each(function() {
        $(this).val(this.value.replace(/[AT]/gi, '@').replace(/[DOT]/gi, '.').replace(/\s/g, ''));
    });
});
So this:
> anonymous [AT] example [DOT] com
Or this:
> anonymous [at] example [dot] com
Will become this:
> anonymous@example.com
 
that can't be abused
 
@Nyuszika7H Why are you even using $(this).val when you already use this.value? It's both a getter and a setter
 
@YiJiang It was by accident.
@YiJiang BTW, have you seen my rep? :)
 
4:29 PM
hates RegExp escaping.
 
why?
 
@ircmaxell /\[url=[^<>'";]\].+\[\/url\] Look at it yourself.
 
wtf?!?!
why are doing that?
 
BB codes… many sites use that. (I didn't even close the regexp literal because of SO many escaping…)
 
4:50 PM
fair eough
2
A: regex for .aspx? to modify query string

ircmaxellWell, what I would do is this: if (url.indexOf('?') != -1) { url += "&videoplay=20"; } else { url += "?videoplay=20"; } It doesn't use a regex, and it handles the case where the url does not contain a query string already.

That comment, do you understand what/s wrong?
 
5:18 PM
while fixing a typo, I've almost made a typo in the edit history (typeo) :P
 
lol
 
is leaving for a hour
 
6:12 PM
More JS weirdness
function Class(ctor) { arguments[0] = null; console.log(ctor); // null }
 
Hi! :)
 
another reason why arguments is broken
direct references to parameters... gosh
 
6:33 PM
alert( (window.jQuery) ? (window.$) ? ($ === jQuery) ? 'jQuery found. Alias $ is present.' : 'jQuery found, but the alias $ is used by another library.' : 'jQuery found, but the alias $ doesn\'t exist.' : (window.$) ? 'No jQuery present, but $ is used.' : 'No jQuery present, alias $ isn't used.' );
 
6:49 PM
 
@Nyuszika7H The longer I look at your avatar, the more I like it
 
@IvoWetzel Really? :)
 
Really ^_^"
 
Force images on chat this way:
!http://dummyimage.com/100x100.png&text=Hello+World!
 
@IvoWetzel No. Just the opposite for me. .user-492203 .avatar img { display: none; }
 
6:52 PM
:kitten unban Nyuszika7H
 
@IvoWetzel thanks :)
:kitten jquery
 
Kitten doesn't like yu Nyuszika7H!
 
@CodingKitten :/
 
it's broken -.-"
 
:kitten comeback
 
6:53 PM
:kitten bans
 
:kitten quote
 
> "If McDonalds were run like a software company, one out of every hundred Big Macs would give you food poisoning, and the response would be, ‘We’re sorry, here’s a coupon for two more.’ " - Mark Minasi
 
Yeah!
@CodingKitten LOL! Why is Jeff Atwood banned?
 
@Nyuszika7H not equality see. I would be a trillion times faster with FF, but in Chrome nothing works at all(of the padoley source viewer?
 
@CodingKitten what?
:kitten join 1
 
6:55 PM
that needs 5k rep
also, kitten is already in the sandbox
 
Padolsey. God, that typo is going to be there for the next few days...
 
in Sandbox, 16 secs ago, by Coding Kitten
Guess you're out of luck with Nyuszika7H. Yawn I nearly fell asleep when checking their answers.
@IvoWetzel wisdom is broken
 
:kitten wisdom Yi Jiang
 
Guess you're out of luck with Yi Jiang. Yawn I nearly fell asleep when checking their answers.
 
What did they change this time? -.-
 
6:58 PM
:kitten wisdom Ivo Wetzel
 
Guess you're out of luck with Ivo Wetzel. Yawn I nearly fell asleep when checking their answers.
 
:kitten wisdom Coding Kitten
 
Guess you're out of luck with Coding Kitten. Yawn I nearly fell asleep when checking their answers.
 
@CodingKitten LOL
 
@Nyuszika7H that I have a text node, how do you want
 
7:00 PM
:kitten kitten
 
That's my name. Well actually my full name is Kitten Gustaf Theodor Johanson of Rijkvek the 4th, sounds impressive hm? You know what else sounds impressive? Leave me alone &!%$&!
 
ah
they changed the HTML of the answer list, again
:kitten wob
 
It's Nick Cravers fault!
 
There we go
 
Obviously correct
 
7:05 PM
:kitten help
 
Just because I have mercy with you:
 help   |  200                   # Shows the help for 2 minutes.
 ?      |  200  [thing]          # Ask me about my opinion on something.
 rchern |  200                   # I tell you one of the infamous rchernisms.
 wisdom |  250  [username|id]    # I'll show you some wise words but only for 1 minute.
 wob    |  500                   # I'll spin the wheel of blame for you.
 say    |  500  [text]           # Let me say something for you, it will instantly
                                   sound a trillion times smarter.
 
now I can write some new fancy regex for parsing the HTML!
 
:kitten jstruth
 
Hold on a second, googling that for you... "jstruth did you mean horrible typo?" There you go!
 
@IvoWetzel why would you do that? ;)
 
7:06 PM
:kitten js
 
Huh? What's a "js" 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...
 
Hmm.
 
:kitten wisdom Yi Jiang
 
Guess you're out of luck with Yi Jiang. Yawn I nearly fell asleep when checking their answers.
 
Still not quite right
 
7:07 PM
yeah regex doesn't match
 
@CodingKitten why you left Sandbox?
 
@Nyuszika7H it is in the jquery source ... should have to replace the words </label>
 
lol
 
it's working again
:kitten wisdom Yi Jiang
 
9
A: Nice css badge, can you give me a hand?

Yi JiangIntroducing the brand new StackOverflow BadgeMaker 3000 It makes Badges™ Just pop in a name, tell it what color you want your shiny new badge to be, and you're all set! Browser support: All modern browsers, up to and including IE7. Round corners not supported in IE8 and below.

2
 
7:11 PM
@IvoWetzel I can't wisdom myself… is this the corrent behavior?
 
Haha, it found that
@CodingKitten So you want some shiny badgy thingys too?
 
@YiJiang I use~ Wait guess I aught to get round to sort both arrays and then do a variable is mootools included?
 
8:06 PM
0
Q: ContentFlow (coverflow) - Need to make it work + Tabs and panes

WillingLearnerIm using this plugin: http://www.jacksasylum.eu/ContentFlow/ Here is my test site: http://flexbeltsite.info/TestPages/ This is the main index file, which is loading http://flexbeltsite.info/TestPages/_Page3.html 1) The page that contains the contentFlow. As you can see when you go to the i...

 
nice
So, checked the bowling game lately?
 
9:35 PM
hey guys, anybody know how I can check if an XMLHttpRequest to my public API is from my own webapp or from a third-party client (to ensure priority)?
 
@o1iver Huh? Repeat that once again.
 
@Nyuszika7H: well I have a public API which my web-application access for data
@Nyuszika7H now since it is accessed with XMLHttpRequest with JS I cant hide it. But I want to prioritize requests from my own application...
@Nyuszika7H but I don't know how I can distinguish between requests from my own app and those of third-party clients
 
You can't
not reliably at least
 
thats what i thought...
so how do you think something like twitter does it?
Or does their app have exactly the same "priority" as third-parties?
 
They don't
 
9:49 PM
@o1iver You can sent custom headers, but simple wire-sniffing will show that up and hence can be easily broken
 
var errorFlag;
try {
    …
} catch(e) {
    errorFlag = true;
} finally {
    if (errorFlag) {
        …
    } else {
        …
    }
}
:kitten wisdom ircmaxell
 
the kitten is not here
Wait, what? Why the heck would you do that?
ircmaxell, New Jersey, USA
17k 2 9 35
 
@ircmaxell they dont do what?
 
They don't distingusih
 
@gsnedders yeah thats what i thought, there really doesnt seem to be a way of doing this
@ircmaxell ok well i will have to live with that :-p
 
9:57 PM
yeah.
it sucks, but what can you do
 
@ircmaxell :-)
 
actually, there is an option
run flash in the browser. Have an encrypted key in the flash object
then have the page hash against that key before submitting ajax
that way the key can't easily be reversed from the flash, but you can still transfer it plain-text
 
ah yeah I will have a look into that...
thanks
 
lol
no problem
 
although it seems like an ugly solution
 
9:59 PM
it's very ugly
and overkill
and bad design
but, if you must have that feature, it's one way of pulling it off
 
yep... well I think I will just not worry about that and then if it becomes an issue...:-)
thanks again
 
yup
 
10:57 PM
I know it's off-topic, but what the hell is this supposed to be?

/* It's okay if the close fails, what's an fd more or less? */
(void)close(fd);

http://webcache.googleusercontent.com/search?q=cache:M136KgbOb1IJ:web.mit.edu/darwin/src/modules/Libc/gen/getcwd.c+It's+okay+if+the+close+fails,+what's+an+fd+more+or+less%3F&cd=1&hl=de&ct=clnk&gl=de
That's in realpath() in the libc!
 

« first day (98 days earlier)      last day (4856 days later) »