« first day (896 days earlier)      last day (4052 days later) » 

6:00 PM
@BenjaminGruenbaum Shaddap
 
is mustachify.me down ?
 
@BenjaminGruenbaum Yours is exactly the same, save for the parameter name.
 
gosh i miss that time steam used IE
greasemonkey in steam :D
(its not common to see steamid's etc.)
 
@KendallFrey I put the objects in the container to begin with. I would pass window or change a,b without passing them but I really don't like that idea
 
@Jan-StefanJanetzky xat.com/everybodiesradio
the background there is last thing i did in PS
 
6:04 PM
@Darkyen as you may know i am currently bound to 64kbit /s
this site sure is a hell of a resource package
 
its flash
about 8 megabytes
lemmee get the image
 
the background could be optimized for speed.
oh. i did not saw that image at all
 
yeah xat buggs
 
looks fine. though pink is not my color
 
ITS MAROON AND PURPLE NOT PINK
and i have something of ur type then
humph humph
 
6:07 PM
oh. the blur of the text EverybodiesRadio is cut on top, left and bottom
i'm a MAN. MAN only know 6 colors
red, yellow, blue, green, magenta, cyan and pink
 
black and white are no colors
 
@Jan-StefanJanetzky Black and white.
 
how about this ?
 
@Jan-StefanJanetzky Also, who taught you to count?
 
6:10 PM
@Darkyen everytime i see this standard yellow that photoshop provides for blur.. i need to shit some bricks. (well its nice and fits but srsly.. its the default color)
 
@KendallFrey lol
@Jan-StefanJanetzky its GIMP
okay how about this!
 
oh. ok. sry. photoshop has it as default color.
oh and i made this from scratch for someone
lol. he still uses it
 
LD awesome
 
What's worse than biting on an apple and finding a worm? The holocaust
 
MFW 4 people bothered adding answers after OP said he solved his issue stackoverflow.com/questions/15721652/…
I never downvoted 4 answers in a row before. I wouldn't downvote but they are all bad answers
 
6:22 PM
bad, or harmful?
 
@BenjaminGruenbaum I'll distribute a few downvotes, I think. But I'm afraid OP won't bother answering... That's what usually happens
 
om nom nom. food is ready. cya lat0r
 
Unhelpful
 
then downvotes are warranted.
One answerer is already wondering
 
@dystroy if you feel like providing a good answer (I'd probably use (?<=^[a-zA-Z])in(?=^[a-zA-Z]) or something similar) go ahead, you'll have my vote
 
6:24 PM
Hey guys...
 
@benlevywebdesign ...
 
@BenjaminGruenbaum no, I won't answer. I don't want to really read the details as it's solved.
 
I want to get a form error to show up in the placeholder of the form field
 
OK, hangbot is dead, and sobot doesn't greet. @CCInc would you please give your modifications to Zirak?
 
@BenjaminGruenbaum I vote to close. This question is a mess now.
 
6:27 PM
I usually use 2L for "where's my mistake? NVM, found out, sry" questions.
 
@dystroy very well, I vote too localized
@JanDvorak 2L?
OH wait, nvm, found it, sry
 
:-)
 
alright
 
@benlevywebdesign I see no issue with that. Where are you stuck?
I love when I downvote a post, and seconds later an upvote comes in.
 
@JanDvorak trying to get it to show up in the placeholder field, I already have it showing up
 
6:32 PM
That's the main reason why I hesitate to dowvote : some people usually think they should compensate which gives points to a bad answer. When I'm really vicious or angry, I wait before downvoting.
 
@benlevywebdesign set as value and style?
 
@dystroy stackoverflow.com/questions/15721652/… will get closed and deleted soon anyway
 
I guess the right thing to do was dv the question to begin with
For lack of research effort
 
I did that.
 
6:34 PM
@benlevywebdesign use the native placeholder that comes with webkit and (I think) mozilla?
 
I always wondered, how do you add tags in a chat message?
 
yeah I am doing that for the text when you first see the form
 
The answers are at -2/+2 now. That makes me lose my hope
 
Yeah, a bit
 
@benlevywebdesign
 
what is that?
 
So, the only advantage of Object.is compared to === is that it fixes NaN being equal to itself, right?
And +0 not being eqaul to -0.
 
and it crashes for undefined
!!>NaN.is(NaN)
 
@JanDvorak "TypeError: Object NaN has no method 'is'"
 
6:39 PM
nvm, then
 
@JanDvorak It's a static method, isn't it?
 
!!>Object.is(undefined,undefined)
 
@JanDvorak true
 
!!> +0 === -0
 
@BenjaminGruenbaum true
 
6:40 PM
Wait, which JS implementation does SO ChatBot use?
The browser's?
 
!!>Object.is(+0,-0)
 
@JanDvorak false
 
!!>Object.is(1,1)
 
@Å imeVidas true
 
!!>Object.is(Object)
 
6:40 PM
@JanDvorak false
 
@Å imeVidas the +0, -0 thing is ecmascript
 
@Å imeVidas It's a WebWorker in Chrome iirc, you need to ask @rlemon he is the one hosting it
 
@dystroy But Object.is is only in Chrome.
Ah yes, Chrome.
 
!!> Object.is(NaN,NaN)
 
@BenjaminGruenbaum true
 
6:41 PM
yea hosted on Chrome stable latest on Ubuntu 12.04
but the isp the computer that is hosting it is on sucks :/
I should host from my rpi from home
 
This Object.is is a little strange : if it only fixes some numbers, why no define Number.is ?
 
I've installed a plugin on wordpress called jinmenu to add onclick to wordpress menu's. This is the code it has added to track clicks on one of my nav elements, but google analytics isn't showing it. Why?
if (typeof jQuery != 'undefined') {}else{



var head = document.getElementsByTagName("head")[0];

script = document.createElement('script');

script.id = 'jQuery';

script.type = 'text/javascript';

script.src = '//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js';

head.appendChild(script);

alert("Jin Menu unable to detect jquery\nAutoloading...\nDone !!!!");



}

jQuery.noConflict();

jQuery(document).ready(function(){



var menuID8 = jQuery('.jsomShop/Buy');

findA8 =menuID8.find('a');
 
!!>Object.prototype.is=function(x){return Object.is(this,x)}; "life".is("life")
 
@JanDvorak Y U NO MAEK SENSE!? Could not understand Object.prototype.is=function(x){return Object.is(this,x)}; "life".is("life")
 
So, really? They spec'd new API just to fix NaN and +0/-0? That can't be the only reason.
 
6:43 PM
@JanDvorak true
 
@Å imeVidas when I read the MDN, I see no other case different from ===
 
ok I'm not even getting errors on my live test of my form it just sends it and idk if its the placeholders messing it up now here is the form
 
Hey guys...
 
Anyone workes with dropzone.js?
 
@zamoldar hello
@arbitter not me
 
6:48 PM
Setting MOZ_PROFILER_NEW=1 makes gecko profiler show symbols on today's Linux nightly. Fennec is next. https://developer.mozilla.org/en-US/docs/Performance/Profiling_with_the_Built-in_Profiler
What does this mean?
What symbols in profiler?
 
@JanDvorak any ideas?
 
@Å imeVidas he was drunk maybe ?
 
@Darkyen What makes you draw that conclusion? :-)
He should've added a screen shot, instead of a link to the generic MDN page
 
people see symbols when they are drunk
 
My sister sees symbols all the time :-)
 
6:56 PM
oh sorry :-(
i didn't knew it'd go that way
i was just joking
 
no, she's not drinking
but she's sort-of anti-scientific. she sees patterns where they're not
 
I see symbols every time I do something in lisp...
 
@Å imeVidas anti science is silly
 
that's an understatement
 
@JanDvorak do you have any ideas or does anyone
 
7:03 PM
@Jan-StefanJanetzky u made me finish my pong :-)
just get dosbox to play it :D
 
anyone playing super hexagon? :-)
 
Can you be a closet claustrophobic?
 
if your roommate holds the key, yes.
 
Can someone help me please, basically, like in most text editors if you have snippets you can trigger them by using TAB, well im trying to achive this typeof effect in JS, basically at the moment it does this, "i have a text-area and when i hit TAB it then alerts the word just before the caret, BUT for example i write "hello john" then hit TAB it alerts "joh" its missing the last CHAR from each word, ill post my code now, any help if very appreciated
 
@Connor Un script it, it's unreadable with syntax highlighting.
 
7:11 PM
:-)
 
like that? how is it unreadable?
 
That is OK, most of us are using @phenomnomnominal 's userscript which does syntax highlighting
 
$('#message').on('keydown', function(e) {
  var keyCode = e.keyCode || e.which;

  if (keyCode == 9 && $(this).val() != '') {
  	    var caret = getCaretPosition(this);

	var result = /\S+$/.exec(this.value.slice(0, this.value.indexOf(' ',caret.end)));
	var lastWord = result ? result[0] : null;
    alert(lastWord);
 	e.preventDefault();
  }
});

function getCaretPosition(ctrl) {
    var start, end;
    if (ctrl.setSelectionRange) {
        start = ctrl.selectionStart;
        end = ctrl.selectionEnd;
 
@Connor check out ace editor
 
@BenjaminGruenbaum yeah, im building a chat application, and using this effect for Canned Responses :) Thanks Tho. That will DEFO come in hand tho for Custom CSS :)
 
7:15 PM
hey the bot is back
cool beans
 
!!/slidepoop
 
@BenjaminGruenbaum Command slidepoop does not exist.
 
@Zirak omg fix itr
 
I think Zirak or rlemon might be running it on their own computer now
 
does anybody have any idea's?
 
7:17 PM
The commands are stored in localStorage, and it's the weekend, so rlemon probably didn't go to work to log the bot back in on his work computer
 
@Connor you're from the UK and you're misusing apostrophes? the horror gasp
 
@Nile hello
 
hello.
 
!!/stat Nile extended
 
would you like to help solve a code mystery?
 
7:19 PM
@JanDvorak [Nile](http://stackoverflow.com/users/704944/nile) has 3026 reputation, earned 20 rep today, asked 5 questions, gave 126 answers, for a q:a ratio of 5:126.
avg. rep/post: 23.09. Badges: 1g 7s 26b
 
das me
@benlevywebdesign sure.
 
what happened to the bot?
Why wasn't he here?
 
@CCInc yours died for some reason
 
@CCInc what happendef to your bot?
 
I know that
oh I thought you guys killed it
 
7:20 PM
no, what happened you @HangBot?
 
ok so I am updating website and pretty much everything(so a whole new layout etc.)
 
3 hours ago, by Benjamin Gruenbaum
!!/die
 
!!/refresh
 
7:21 PM
@Nile Command renew does not exist.
 
@Nile You do not have permission to use the command refresh
@BenjaminGruenbaum And on this day, you shall paint eggs for a giant bunny.
 
@Nile You do not have permission to use the command refresh
@BenjaminGruenbaum I'm not dead! Honest!
 
@HangBot Peace out. I hate you.
 
Now we have two bots, what a mess :P
 
!!/echo hello
 
7:22 PM
@JanDvorak Command echo does not exist.
 
@BenjaminGruenbaum Three.
 
!!/parse $user_id
 
$f
 
Heads
 
@Nile 704944
 
7:22 PM
Should I kill myself?
 
That would be incredibly stupid.
 
You are right.
!!should I kill myself
 
you could kill thy bot tho
 
@CCInc Definitely
 
My bot knows all.
 
7:23 PM
@KendallFrey Yeah.
@SOChatBot I hate you.
 
@Nile well..
 
!!should I go to sleep now, or not?
 
@JanDvorak You should go to sleep now,
 
Should I go to sleep now, or not?
 
@Nile In my form, I moved the text titles of the fields from on top of the fields to instead placeholders and now my form validation won't work but it works when I preview it in dreamweaver and when I test it from my computer not live on the web
 
7:24 PM
@KendallFrey y ur bot not work
 
anyone?
 
@Nile here is the live link
 
@CCInc It does.
Remember, no edits.
 
Oh right
Should I go to sleep now, or not?
 
Not.
 
7:25 PM
lol
 
@benlevywebdesign are you validating with jQ?
That might very well do it...
 
yup jquery.validate.min.js
 
yeah, but no jQ
 
and it works on my old site layout which is still up at http://benlevywebdesign.com/#contact
 
because jQ is included there... it's not on the redesign
 
7:27 PM
hmm oh let me check
 
Please?
 
@Connor what's your issue?
 
I put the script up and still
hold on
 
@Connor and fiddle it please?
 
never mind it works now
 
7:31 PM
Is it just me or do fiddles fail a lot
Showing "Initializing the awesome!"
 
thanks @Nile
 
@BenjaminGruenbaum when have you noticed this?
 
hmph
 
Does it work for you?
 
7:32 PM
nope
 
@Nile one last thing. I want to get the errors to show up in the placeholders instead outside the field, how can I do this
 
@benlevywebdesign In the actual textfield? Don't do that...
@Connor ??
 
@Nile well, im trying to make a jsfiddle and its not working atall
 
oh so just have it below or above
should I not do the "title text" in the fields as well
 
I don't care.
 
7:36 PM
@Connor okay, try codepen.io or jsbin.com
 
@Nile its ok, basiacally type hello into the textarea then hit tab, it will alert "hell" and i want it to alert "hello"
 
GOD
backbone < angular < knockout
 
Pile of dung > backbone
I generally agree with the rest of that order though :P
 
@Connor what are you doing with that slice?
@Connor if the text contains a space, you get more inconsistent results than just the last character missing
 
GOD
@BenjaminGruenbaum :D it's true ,,
 
7:42 PM
@JanDvorak well, thats part of like a carret snippet i found
@JanDvorak if i type "hello world" and hit tab i want it to alert world :)
 
If you want the last word out of some string, just match /(\S+)\s*$/ on it
 
^
 
for some reason, you're trying to slice until the first space after the caret. That won't work (you're slicing until -1) if there's no space after the caret.
 
@JanDvorak so how do i fix that?
 
@Connor what are you trying to do? just get the last word inside the textarea?
 
7:46 PM
@Nile no the word just before caret
 
oh, so:
 
then just slice until the caret
 
hello|, world!
alerts hello?
 
if you type "hello World" and put cursor after hello and tab = hello and after world and tab = worl i want it to be world
 
That moment when OP adds an answer that is very closely related to the one you suggested, following your advice and accepts it instead of editing your answer or accepting it :( stackoverflow.com/a/15721128/1348195
 
7:48 PM
@Nile yes, if you do that it will alert hello thats cool, but if you put it after world! it will alert world without the !
 
@BenjaminGruenbaum if he doesn't attribute properly, downvote and explain
 
@JanDvorak I wonder if there is a meta question about this sort of thing
 
I wonder if the practice you frown upon is actually bad. If he's not stealing your answer, let it be.
 
@JanDvorak I'm not saying he is, I'm glad he figured it out, I'm actively seeking node.js questions and trying to help people using it in order to encourage them to keep using it. I frown on the fact he pretty much followed my advice and used code that is very similar to mine (using the same library he wasn't aware of prior to my answer) but did not attribute any credit or say as much as a thank you. Chances are he didn't even upvote it.
 
I mean, if his solution is sufficiently different from yours, then it's useful as is. Sure, credit should be given (and you can comment saying that).
 
7:54 PM
He used a very similar approach in his solution, I didn't down-vote his solution or anything, I'm just saying that I would have appreciated a thank you :P
 
requesting attribution is perfectly fine...
 
@Nile Thank You Genius :)
 
np
 
This one is confused :
0
Q: Trying to understand JSONP on jquery

Aline GolvalveWell i would like to know something about JSONP, like when someone enter in my website and i do a ajax request with dataType JSONP, this request will be done like when this same person enter direct in this page? i.e: this page that ajax will request with JSONP get the IP of the user, it will g...

 
7:59 PM
HI
 

« first day (896 days earlier)      last day (4052 days later) »