« first day (1312 days earlier)      last day (3631 days later) » 

Awwwwwww…
(besides the lack of 4k video)
 
D'awwww
They're moving!!!
!!> 'Pussy Cats' > 'Pandas'
 
12:16 AM
@monners false
 
Nooooooo
 
@monners true
@Jacthoma Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
hi
 
0
Q: Get :target pseudo-class to work for dynamically added content

bjb568I have a flashing animation that works great: URL: index.html#hash <div id="hash"></div> CSS: @keyframes target { 0%, 30% { background: #f70; } } @-webkit-keyframes target { 0%, 30% { background: #f70; } } :target { animation: target 1s; -webkit-anim...

 
12:37 AM
@Loktar you played Project Zomboid?
 
12:55 AM
i been in my office last a minute .
i tired kkkk
 
@jared Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@Jurgo Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
1:22 AM
@SomeKittensUx2666 Kitty cam FTW
 
hehe
Just finished a technical phone screen. The internet here kept going out, that was embarrassing
 
1:49 AM
@bjb568 yay we have the same number of answers!
 
2:37 AM
@Qantas Yay. Took you long enough, you have twice my rep. I guess that's why I'm an "unsung hero".
@Qantas Hey, you're 15?
 
2:55 AM
@rlemon yeah a looong time ago
like... 3 or 4 years ago
it wasnt bad then I'm sure its way different now
 
3:13 AM
lolwat?
Nitpick: There is no such thing as a "JSON object" (aside from the one that has the parse and stringify methods). JSON is by definition a sequence of characters. — cHao 1 hour ago
 
anyone here familiar with ajax...???
 
@Illaya Yeah.
 
@bjb568 please don't feed the...
 
@BenjaminGruenbaum Last time I was banned for not being helpful enough. Now I'm too helpful?
 
3:29 AM
Hey, I didn't ban you - just note he asked that question in just about every room and it's asking to ask.
 
I want to call a method, which is in a Class written in C# winforms application.
public void highScoreXML(string playerName, string carName, string points)
{
}
Now, my question is, how to call this? I am using,
$.ajax({
   url: "MainClass.cs/highScoreXML",
   success: function ()
   {
	alert("Success");
   }
});
 
@Ben Whatever. I'm going to help if I can help.
 
But its not working
@bjb568
 
@Illaya Did you get any errors in the console?
 
this is a windows application
 
3:32 AM
… Then what's the jQuery for?
 
I know, we cant use ajax in winforms applications, so only i am using Web browser in that.
 
Then you're probably doing it wrong…
highScoreXML("Somestring", "Somestring", "Somestring")
 
its wrong?
 
Well, you can't call C# functions from Javascript…
 
its possible in aspx applications
by
url: "aspxPage.aspx/methodName",
 
3:40 AM
!!stat
 
@BenjaminGruenbaum You (http://stackoverflow.com/users/1348195/benjamin-gruenbaum) have 36721 reputation, earned 10 rep today, asked 48 questions, gave 779 answers, for a q:a ratio of 48:779.
avg. rep/post: 44.4. Badges: 8g 65s 122b
 
@Illaya Yes, but this isn't an aspx application, is it?
 
yes
 
4:16 AM
!!google butts
 
There are TWO Wikipedia pages on butts?!?
 
@user3649503 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@AdrianLin Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
5:04 AM
@SomeKittensUx2666 So how's your night going?
 
NO BAD MONNERS
 
What?!? Did I error?
I've had that kitten feed open all day. There's something about the intermittent kitty mews that's soothing
 
I was grinning like an idiot at work hoping no one would ask what was so funny.
 
Oooo, they're playing!
 
5:53 AM
Javascript interview question: What would be the best algorithm to insert an element in 1D array at the first position? No inbuilt functions are to be used in this problem. :)
 
@RahulDesai What do you mean by no inbuilt functions?
Array.push()
 
@monners like push(), splice() and all.
 
hmmph
If you're using that definition, though, then all "JSON objects" are valid in JS. — cHao 41 mins ago
0
Q: Are all JSON objects also valid JavaScript objects?

Benjamin GruenbaumThe JSON standard defines objects in one way and the ECMAScript (JavaScript) standard defines it in another. It is often said that JSON objects are a subset of JavaScript objects, is this true? Is every JSON object also a valid JavaScript object?

(I vaguely recall the answer is false, but I can't find a reference)
 
6:11 AM
well it's not really a javascript question then is it?
But in that case, probably this
 
@monners Thats exactly what I answered in the interview :)
 
I think that's kind of a stupid question though
 
It's a really stupid question.
 
Fun little thought experiment though :P
But yeah, hiring based on a response to that? Unless the response is "Ummm, I'd us the native method, obviously!" then no dice.
 
6:22 AM
Yeah, its is.
Did I give the correct answer? These guys here are giving me the same answer as mine. stackoverflow.com/questions/23752179/…
 
6:37 AM
@RahulDesai I really don't see how that guy answered your question
 
@monners hmmm, but I dont see a better answer either
 
@RahulDesai Ummm, doesn't my answer do exactly what you asked for?
Appreciated
 
@monners You got it :)
 
@RahulDesai Cheers
 
@monners Cheers
 
6:43 AM
@monners o/
 
@SomeGuy \o
 
Another tricky question that I was asked was if we pass 123/0 to isNaN(), what would it return?
 
You haven't been around much recently
 
And sadly my answer was wrong.
I said there would be an error.
 
Wouldn't it return false ?
!!> 123/0 // infinity?
 
6:45 AM
@monners "Infinity"
 
!!> isNaN(123/0);
 
@monners false
 
Bam!
@SomeGuy Yeah I have!
I'm on every day
I couldn't figure out how to connect to the IRC channel though :P
 
Really? suspicious
Hahaha
Get an IRC client
I could send you an invite to IRCCloud
 
I have one! I can't for the life of me figure out how to use it.
 
6:46 AM
Hahahaha
 
there are, like, 10 fields I have to fill out just to connect to a channel
 
N00b lol
 
ಠ_ಠ
Launched another website today
 
Yep. Oh the joys of working at an agency :P
Yeah, saw that. Nice one.
 
6:49 AM
Show us!
 
Check out the OUR PEOPLE page. Those ghetto lawyers are dope!
 
Hahahaha
Your CSS class naming is inconsistent. video-wrapper and hideDiv?
(Camel case and the hyphen thingamajig)
 
Nah, that's webforms fucking up my beautiful templates
 
Doh
 
Camel case in class names. Well I never!
Oh the joys of .NET
First time I've used video backgrounds. I reckon the design turned out half decent
 
6:54 AM
Yeah, it's quite decent
Looks neat
 
Doesn't your app kinda do the same thing as Pocket?
 
Yeah
I just wanted it to skip the having to open Pocket and find the link step
 
Fair enough
I use pocket all the time
But more for storing, less for transferring
 
I used to use Pocket. Stored too much, never ended up reading most of it
So I stopped using it
 
does it have a swipe gesture for flicking the link to your desktop?
 
6:58 AM
If I'm going to read something, it'll be an open tab
Hahaha no
 
DOEEEET!
 
@monners Does unshift() do the same job internally?
 
Yesterday I had 521 JavaScript score, today I have 802. Thank you all for the support :)
 
!!mdn unshift
 
7:13 AM
I really want dat golden badge
I start answering questions like this :(
 
@user3617097 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
I just spent a bunch of time writing this, please downvote as always:
0
Q: Prevent minor editing better

bjb568I'm sick and tired of people repeatedly spamming the edit queue with minor edits. I want to punish the editors and robo-reviewers and prevent some of them from entering the queue in the first place. The edit queue audits are too easy It covers the vandalism reject reason, but what about the oth...

 
@bjb568 ok
tl;dr, downvoted
:P
 
:P
 
7:25 AM
o/
 
\o
 
\o
 
So, #! urls or no?
 
morning
 
7:26 AM
@DrogoNevets Yes, yes it is.
 
@BenjaminGruenbaum In 2014? Nah
You have pushState nowadays
Of course it depends on what kind of browser support you need
 
I need IE9 support
 
href and click events ?
(I never liked the #! thing)
 
Also, you can use pushState and use feature detection to see if pushState is available.
 
@BenjaminGruenbaum things like backbone fallback to just #
 
7:32 AM
hmmm do i want to volunteer for goodwood festival of speed and be paid to do so (not sure that counts as volunteering)
 
@phenomnomnominal I don't want duplicate URLs
 
@DrogoNevets volunteering to be paid is called work, I think.
 
@BenjaminGruenbaum You mean duplicate content?
(Same content, two URLs?)
 
@dievardump yes, but the email from the powers that be said "we need volunteers" but i will get £100 per day, plus time back in lieu
 
Then go
 
7:37 AM
@phenomnomnominal sweet. they sound great
 
@SecondRikudo yes
 
@BenjaminGruenbaum There are a couple of ways to solve that
<link rel="canonical"> is one
The other is to use SESSION in combination of feature detection and automatically redirect capable browsers to the modern scheme
The third is to simply have IE9 users not enjoy the 1-page-app-goodness and just let them refresh the page whenever they click a link
With a notice that says "You'll get better out of this app with Chrome or Firefox! Upgrade today!"
 
hi, is there anybody to help me with this question
 
And the fourth, of course, is to use #! URLs for everyone
 
@dievardump i have put my name forward, need to be selected now.....but considering i work for a company that is meant to be "staffed by motoring enthusiasts" im going to have stiff competition
 
7:40 AM
Which I don't think it worth the effort to maintain (since pushState is so much simpler)
 
@tuchk4 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@danielevigi Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@AlenGenzić Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Wow
New user flood!
 
hay can anybody help me with my question
 
What question?
 
!!welcome hussein
 
7:51 AM
@hussein Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@CapricaSix i love u
 
…she's a bot.
 
shhhh we coulda married her off
 
@bjb568 so it's mean i get love break again
 
@Hussein i am not seeing the werror you describe on your site
 
7:54 AM
@DrogoNevets my only problem is slidershow
how can i solve this problem
 
i cant see this problem
which page is it on?
uncaught exception: Control.Tabs requires Object.Event to be loaded.


...lve(t)}catch(r){n.reject(r)}}:t.bind(n[r],n)},l=function(e,t,n){return a(e)&&n._...

widgets.js (line 22)
TypeError: userReviewsBox is null


provide("util/promise",function(e){using("util/util",function(t){var n=function(...
that is the console output i get from your site
 
im not going to debug your entire site to get to the same error. I am seeing that the carousel isnt styled properly and not working, but you have deeper issues with your site that i can see
 
@DrogoNevets would you please to give me a solution
 
Home Sweet Home
 
where you been?
 
Work
@FlorianMargaine Where in the fuck did you find isNegative(number) ???
 
@hussein what is your problem exactly?
 
8:16 AM
As in Pig Code?
Or Dirty Code?
 
Or mysql_* as a header image?
 
dirty
like a pig
 
@Wandile why my slidershow doesn't work
@Wandile this is my link
 
for some odd reason i cant access your site from our network, it might be the host you used
i hope you dont have porn adds :D
 
@shaunakde Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
8:19 AM
Pigs may be dirty but they sure are delicious
 
@Wandile no i don't have any porn adds on my website
 
in french there is a saying: "tout est bon dans le cochon"
 
What is this french of which you speak?
 
@Hussein which slideshow are you using?
 
@Hussein 2 busty blondes + 1 ron jeremy = threesome?
 
8:21 AM
@Wandile what
sorry this page
slidershow
 
dude work with me here, did you use a plugin or custom js slideshow?
please send me the link to the slide show you used
if you didnt i suggest you use a plugin, as these will give you less problems
 
can u suggest me a plugin just like this
 
bxslider
 
@Hussein Might I recommend github.com/SSilence/simple.carousel
 
any of these are great
the point is that you shouldnt do your own slideshow
just donate a beer :D
 
8:25 AM
Well come on. you've gotta build your own at least once
 
unless its an improvement to these or its unique in some way
i really dont see the point
 
It really isn't hard. You can do it with 20 lines of CSS, 10 lines of vanilla JS.
@Wandile Everything is an improvement to jQuery.
 
^--
 
@bjb568 jQuery is not an improvement to jQuery
 
8:27 AM
eh florian, if your site requires a 20-50 ish js lines, why would you load a library which requires 10-20 lines ?
 
Or is it.. hmmm..
 
@KarelG wat
sorry, I didn't understand you correctly, my english is failing me. Can you reformulate that?
 
@bjb568 its really not necessary to reinvent the color wheel when the same functionality is available for free, you could be doing something better.
@bjb568 just donate a beer
 
@Wandile would u please to help me with my problem that i have with slidershow
 
@Wandile The trouble with that approach is you don't learn why
 
8:32 AM
@FlorianMargaine : your english is not failing. It's a bit vague; What i mean is
-> why would you load a jQuery library and add 10-20 lines with code to use jQuery if you can achieve the same effect with only 20-50 lines of javascript.

i have seen enough sites *using* jQuery library for something *small*
 
i posted my problem with details here
 
@Hussein i cant access your site buddy :) my proxy is blocking it its very strange for a dev site
 
@KarelG because the developer ends up maintaining 10 lines of js, not 50.
 
@monners Ok granted when i started with jQuery i did everything from scratch and thats only because i wanted to learn, now it will just take up much of my time to do all these things from scratch
@Hussein i think its better you do some jQuery stuff as @monners suggests
 
@Wandile Sure. That's perfectly understandable. I just don't like developers that never progress beyond the plugin phase.
 
8:36 AM
@Wandile give me your email address i'll send u
 
@FlorianMargaine since when gets laziness favored over data load ?
 
@KarelG no no no. The less lines you have to maintain, the cheaper it is. If data load becomes an issue, then you start thinking about it. It's all about money really.
 
Even if it kills me, I agree.
let's jQuery all the things o/
 
\o
 
i have to admit that your opinion is correct, but still, i shouldn't solve everything with jQuery.
 
8:40 AM
@Hussein why do you have this? $ = jQuery;
 
@Wandile i changed to this
$j = jQuery.noConflict();
jQuery.noConflict();
jQuery(function ($j ) {
$j ("#mainMenu").menu( { position: { my: "left top", at: "center bottom" } } );
});
 
/facepalm
 
@CodeNoob Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
because somebody say it might be a jquery conflict
 
8:42 AM
@Hussein :D to be hornest you really making me confused
 
@Hussein : i have checked your site, and the console throws up with multiple error. The first one is uncaught exception: Control.Tabs requires Object.Event to be loaded.
 
And i cant dish out my email, please read up on jQuery docs
 
@KarelG yeah the first problem is this error: so do u have any suggest for this problem
 
it's because prototype and jQuery combination is a known conflict. Even jQuery has a documentation about it
 
8:45 AM
@KarelG yeah i solved before that why i use these lines of code:
$j = jQuery.noConflict();
jQuery.noConflict();
jQuery(function ($j ) {
$j ("#mainMenu").menu( { position: { my: "left top", at: "center bottom" } } );
});
 
@Hussein buddy just for my network sake please put your slideshow on jsfiddle so i can have a look at if @KarelG cant help
 
$j = jQuery.noConflict();
// jQuery.noConflict(); - not required, already called to $j

// after the above, use $j as jQuery, thus
$j ("#mainMenu").menu( { position: { my: "left top", at: "center bottom" } } );
/back2reports
 
@bjb568 nice!
 
@BenjaminGruenbaum are you ready for close spree pt. 2?
 
8:50 AM
working, sorry
 
(ugh, a bug. Updated: jsfiddle.net/yXeeX/1 )
 
@bjb568 this gets messy when you need to call a certain function after a certain slide (when you have "autoslide").
or any of such functionality
 
@bjb568 : should the attribute onclick="next()" not be removed ?
 
8:54 AM
(you have already bound an onclick event to an anonymous function in js )
 
Anyway, I'm going to bed. See you (hopefully WITH THE KNOWLEDGE OF HOW TO USE REAL JAVASCRIPT :P) in the morning!
 
@bjb568 from 10 -15 lines not bad buddy :D
@bjb568 there are more functionality to add, your will eventually end up with 50 lines or so ;)
 
@bjb568 I would strongly advise against using FAKE javascript
 
@Neil lol
 
It doesn't work and only makes your boss angry
 
8:58 AM
Does anyone here know how the jQuery slidedown function works? I am writing an app in angular and it has jQuery lite which does not have the slidedown function. I don't want to include the whole jquery library just to use the slideDown() function
 
@David yes it will only slidedown based on the visible height of your element
 
@Wandile Yeah but what I'm looking for is how they do it so I can write my own as long as it's not too complex. When looking at the DOM I see they have some timed changing of the height of the element to show from 0 up to whatever the height of the box is.
I'm so stupid. Since you can't get the Y offset of a box if it is display: none I just assumed you could not get the height of a box if it is display: none
 
@David :D
 
I can make my own slideDown() animation without having to include the whole jQuery library
 
display: none is 1 of CSS big properties
@David yeah
 
9:06 AM
Hmmm now comes the part of slide up, I suppose I just decrease the height at an internal and when the height gets to 0 set display: none
Then comes the problem of just adjusting the height of the box may not work. Maybe overflow: hidden also while doing the slideup
 
:D yep
:D you on a roll man
 
It sounds well in theory but implementation is another thing
 
Today is "Avoid JQuery Day" in this Group
you just need to use a for loop
making the height as the max and min criteria
 
Wouldn't a for loop go really fast though. I was thinking more of a setTimeout() to give a few miliseconds delay between the height increase/decrease
 
@David : check
and if you check the genFx() function, you see that they're using a loop
 
9:14 AM
@KarelG Oh yeah I see. What's the advantage of using a loop over a timeout?
 
@David I imagine setTimeout would make you animation jittery and choppy
 
True I suppose
 
@David you need as much frames as possible
 
Angular should just include a few basic jQuery animations in their jQuery lite
 
yep JQuery dominates the plugin market
 
9:21 AM
@ShivamChopra Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
too much jQuery mentioned these days.
 
NEEDS MOAR JQUERY
 
Just do your own Animation tool
 
6
A: Stack overflow lied to me illegally

Second RikudoYou lack jQuery. Needs MOAR JQUERY! MOAAAAR!!!

 
Yeah really. People should stop putting jQuery in a sentence everytime they damn jQuery feel like it. jQuery. jQuery.
 
9:22 AM
it's not that complicated
 
Do anyone know when will ECMASCRIPT6 will launch???
 
20
Q: When will ECMAScript v 6 become standard

contactmattSorry if this has been asked before, but I'm wondering when ECMAScript v 6 will become more than a draft, and become the new standard. Going to the ECMA website (section 262) still shows edition 5.1 as being the latest, which was released in June 2011. Note: (I plan on doing a talk on ECMA 262 ...

That was sooooooooooo hard to find out.
 
@Wandile jQuery is combining margin / padding to have a smooth slideUp/down effect
 
@dievardump Well, the answer says December 2013 :P
 
9:24 AM
And give a link.
 
thanks
 
Just.follow.the.path.
 
@KerelG i see how that can make for nice animation
 
@vandu Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
right im a pint of blood lighter :)
 
9:34 AM
@Archer Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@DrogoNevets Run into any vampires lately?
 
@NanXiao Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@Wandile i put my website on fiddle my fiddle
@Wandile i still have problem with slidershow
 
@Hussein : it's best to show only the part of the problem. Not the whole page
 
@KarelG yeah i know, but the thing that i can not understand why when i use this slidershow in my website it doesn't work
@KarelG does it have conflict or still probelm
you know i used the sildershow in the separate file and put all of the jquery function with it and i see the result is great. so i am compeletly confused please help me my senior developer
 
10:01 AM
@Neil if the national blood service count....yup
 
@DrogoNevets can u help me please?
 
@Hussein why him?
 
@JanDvorak can u please help me :D?
 
@Hussein why me?
 
@JanDvorak +1
 
10:13 AM
@JanDvorak because i love u and him :D
 
@Hussein please dont
 
i got cured from vampirism
but ...
i prefer sookie
/work
 
10:30 AM
@avalanchy Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@KarelG sookie?
 
10:48 AM
hi
@DrogoNevets @JanDvorak can you please tell me why close button is not working in the alert shown in jsfiddle jsfiddle.net/R2SdH/3
 
@Manu why me?
 
:) no one seems active
 
So you just pick a random person to dump your problems on?
That's not very nice.
 
no dont think like that please
 
@Manu can we have some non-minified code?! and also only the js that is needed
i do not need the entirity of foundation included, thanks
 
10:52 AM
ok 1Min
 
im going on lunch in 5mins and wont be back for an hour
 
you know, until today I thought that Steve Yegge has, politely speaking, differing opinions from mine
I've finally realized that he is, in fact, a fucking moron.
 

« first day (1312 days earlier)      last day (3631 days later) »