« first day (1329 days earlier)      last day (3619 days later) » 

12:01 AM
That was very diplomatic
 
@monners I've been there.
 
As the pitcher or the catcher?
 
catcher
 
Did you run when things started to get hard?
 
nope.
I stood erect
 
12:04 AM
Aaaaaand it's gay in here again.
Watched the latest Silicon Valley last night. Explain to me why deleting anything is a problem? I mean something as important as their entire tech crunch concept would be backed up, right?
 
I am asking because I have the conviction that I can build a great experience, I know I don't have alot of chance of finding someone in a chat like this, but we never now before trying
 
@WalleCyril I understand. I'm sure your project is very neat - and please do work on it. I'm not kidding when I say there isn't a downside.
It's just that anyone qualified will have their own projects.
 
@cleversprocket 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.
 
12:25 AM
Heh
Wheatly said he'd buy dinner to the first person to get us a signup from S. America. Turns out we already have signups from there, so he backpedalled hard enough to do the Tour de France backwards.
 
@SomeKittensUx2666 So I've got this idea for a project that'll combine facebook, twitter, instagram and google into one web app. You've got a few weekends to help, right?
 
Just signed in with a Brazilian Proxy and created a new user. Everyone else unimpressed.
 
@SomeKittensUx2666 Even the alpine stages?
 
Mayyyybe
 
12:30 AM
 
@Loktar I want.
 
yeah ill get it on the pc
 
-@Loktar what about that Bungie game?
 
hoping Ryse comes to the PC as well
@MikeNolan already coming to PC (Destiny)
 
Destiny?
 
12:32 AM
yea
 
Waaaaaaaaat
 
Hope it comes to OS X
 
yeah release date for pc will be announced at E3
 
google says it wont ever be on PC
wait
I must read the links
 
Im pretty sure they were committed to release it for PC they didn't really want to though
er maybe it was MS who was trying to stop it I cant remember now
hmm actually idk it still seems fishy @MikeNolan
I didnt really read into the articles when I first heard it, was just happy about it
/me heads out to play Elite Dangerous
 
12:37 AM
Yeah, there are some articles that say it is true though. I guess we will just have to wait for E3
 
yeah I hope it is man
 
Fingers crossed. Have a good one
 
Fuck it annoys me that Google Hangouts doesn't have quick edits in chat
 
downvoted, just to be a prick
kidding
Is bjb still muted?
 
12:48 AM
yeah
gave him 5 days
 
So how is he the third most active user in this chat?
Surely he's not just sitting there watching what everyone else says...
 
You're bumped up when you join
 
Ah
 
He's also edited his avatar, oh so clever.
 
I noticed that
 
12:50 AM
Maybe I should break out the Wheatlyifier
 
@SomeKittensUx2666 ?
 
I wrote a Chrome extension that replaces Wheatly's (my coworker) avatar with the Wheatly from Portal 2
 
Oh nice
Although perhaps potato Glados would be more fitting in this case
You've inspired me to change my desktop background to Wheatly
It's hard finding retina desktop images
 
@SomeKittensUx2666 Ummm, what?
!!> var interests = ['programming', 'books', 'design']; echo(interests[Math.floor(Math.random() * 3));
 
1:01 AM
@monners "SyntaxError: missing ] in index expression"
@monners "SyntaxError: missing ] in index expression"
 
@monners it's better than that. Read the source
 
Hmmm, that's clever
 
!!afk hometime
 
@AndrewF 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.
 
@copy
 
1:14 AM
@iWarrior 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:42 AM
@TylerDavis 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.
 
2:00 AM
@IburiNoc 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.
@dayuloli 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.
 
Boooorrrreeeedddd
 
@JasonLee 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.
 
2:55 AM
@sthysel 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.
 
3:22 AM
!!live
 
@monners That didn't make much sense. Use the !!/help command to learn more.
@monners I'm not dead! Honest!
@colinmoock 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.
 
@monners ping
entertain me
 
Why don't you ever see any Apple technology in Star Trek?
 
because I don't watch Star Trek
 
Because they can't integrate with Enterprise systems!
!!lol
 
3:27 AM
@monners That didn't make much sense. Use the !!/help command to learn more.
@monners All commands forgotten.
 
Seriously? All commands forgotten?
!!riot
 
(╯°□°)╯︵ ┻━┻
 
I think not
@SomeKittensUx2666 I'm not just some monkey here for your amusement
I have dreams ya know!
16 messages moved to Trash
Evidence destroyed
 
!!infiniteriot
 
3:33 AM
@SomeKittensUx2666 That didn't make much sense. Use the !!/help command to learn more.
 
1 message moved to Trash can
Why don't you entertain me for once?
!!hangman
 
@monners That didn't make much sense. Use the !!/help command to learn more.
@monners That didn't make much sense. Use the !!/help command to learn more.
 
!!game
No? Nothing?
 
  +---+
  |   |
  |
  |
  |
__+__

---
  +---+
  |   |
  |
  |
  |
__+__

------------
 
3:37 AM
!!hang a
 
  +---+
  |   |
  |   O
  |
  |
__+__
a
------------
  +---+
  |   |
  |
  |
  |
__+__
a
a--
 
!!hang g
 
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, g
------------
  +---+
  |   |
  |   O
  |
  |
__+__
a, g
a--
 
!!hang e
 
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, e, g
a--
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, g
------------
 
3:38 AM
!!hang i
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, g, i
-i---i------
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, g, i
a--
 
!!hang o
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, g, i, o
-i---i-o----
  +---+
  |   |
  |  \O/
  |   |
  |
__+__
a, e, g, i, o
a--
 
!!hang s
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, g, i, o, s
-i---i-o-s--
  +---+
  |   |
  |  \O/
  |   |
  |  /
__+__
a, e, g, i, o, s
a--
 
3:38 AM
!!hang l
 
@monners You people suck. The word is any
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, g, i, l, o, s
-i---i-o-sl-
@bomba1990 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.
 
rough
!!hang r
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, g, i, l, o, r, s
-ir--i-o-sl-
  +---+
  |   |
  |
  |
  |
__+__
r
------rr-----
 
!!hang y
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, g, i, l, o, r, s, y
-ir--i-o-sly
  +---+
  |   |
  |   O
  |
  |
__+__
r, y
------rr-----
 
3:43 AM
!!hang u
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, g, i, l, o, r, s, u, y
-ir-ui-ously
  +---+
  |   |
  |   O
  |
  |
__+__
r, u, y
-u----rr-----
 
@SomeKittensUx2666 Any ideas?
!!hang c
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, c, e, g, i, l, o, r, s, u, y
circui-ously
  +---+
  |   |
  |   O
  |
  |
__+__
c, r, u, y
-u--c-rr-----
 
!!hang circuitously
 
@SomeKittensUx2666 Correct! The word is circuitously.
  +---+
  |   |
  |   O
  |   |
  |
__+__
c, circuitously, r, u, y
-u--c-rr-----
 
3:45 AM
!!hang s
 
@monners That didn't make much sense. Maybe you meant: t, so
@monners That didn't make much sense. Use the !!/help command to learn more.
  +---+
  |   |
  |   O
  |
  |
__+__
s
----
  +---+
  |   |
  |   O/
  |   |
  |
__+__
c, circuitously, r, s, u, y
-u--c-rr-----
 
Stop starting new games!
stop
 
HAMMERTIME!
HAMMERTIME!
 
Yay!
 
3:58 AM
if i want to use this for the homepage like site.com.. How can I do it ?<li<?php if($_SERVER['REQUEST_URI'] == '/index.php') { ?> class="active active-trail"<?php } ?>>
because if use '.' or 'site.com' it uses the if statement even if the url have something after the slash "/" like site.com/blah.php
i just want it to show show for index.php or homepage
any idea?
 
Ok, plan B: Fly a kite into the blades, with a rock in a sling dangling below it, and create the world's largest trebuchet.
2
 
@danzkusuma 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.
@SaugatAcharya 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.
 
4:29 AM
@AkinkunleAllen 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:01 AM
hi all
 
5:12 AM
@user2147028 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.
@naveedahmad 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
thanks
 
5:26 AM
how to get the windows logged inusername in javascript
?
 
$("me").wakeup(function(){
$("coffee").getmade();
});
 
milk.length; // 0 :(
 
$("monners milk").change(function(){
if (!milk.length)
$("monners").getSome("milk"); // (;
});
 
@Masood 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.
 
!!tell francisco format
 
5:32 AM
@francisco Format your code - hit Ctrl+K before sending and see the faq
@monners Command format does not exist. Did you mean: forget (note that /tell works on commands, it's not an echo.)
 
@rlemon Why are all of my bot commands being doubled up?
I need answers, man!
 
alert('sorry, will format');
 
@Kevin 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:50 AM
@user2378089 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.
 
vs7
6:01 AM
Hi Morning
Hi Morning
I have a problem , I need to track the click event of radio button , but its work only for first button : jsfiddle.net/HLzLB
If anybody can help me out ...
 
6:28 AM
hey guys
hotw do I prevent browser from stoping redirection on esc key press
@vs7 can you use jquery?? or just pure javascript??
 
@GabrielSantos 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.
 
@Feeds Aaannnddd xkcd is dead
 
@SamyS.Rathore What kind of redirection ? 301 ?
 
user1161005
console.log('test')
 
Also, yay, just got paid for a job I did...a year ago? Pizza's on me.
 
6:36 AM
Yay you! :p
 
@Zirak does the pay cover up the price of the pizza ?
 
Dude. That'd be the best pizza.
It'd be how I want to die.
 
@dystroy when i click on a link, i am redirecting it to next page, but it includes a postback, so I show a processing wheel,
 
If I get multiple cancers, AIDs and get run over by a plane
 
I've set close on esc for the proccessing dialog to false
 
6:40 AM
Just get the most brilliant pizza...and OD on it.
 
but now the browser stops redirection on esc key press
 
@SamyS.Rathore That's normal browser behaviour, isn't it? But you could try catching the escape keypress and preventDefaulting it or returning false?
 
@Zirak The problem with multiple cancers and AIDs is that you usually don't have enough strength for anything brilliant. Not even to think about a good last sentence.
 
@joerx 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.
 
hello
Just tell me, how much should i charge for making 8 pages bootstrap site with maps ,contact form ,carousel, logo slider included?
 
6:49 AM
@Magikaas did try peventdefault, didn't work
I guess I shoul go for the oppsite functionality
close the dialog and dtop redirection
 
I guess if a user presses Escape, they want to stop whatever your application is doing, they would not press it without good reason
Especially since, as default browser behaviour, users know that escape stops redirection
 
anyone?
 
@PrazzyKumar How much do you think you are worth an hour, make an estimation of the amount of time you'd be busy working on it, add 25% for possible risks if you think it might take longer and that's the price?
It all depends on how good you are and how much you think your client can afford
You might want to go in lower, if you think the client might want to come back for more functionality at a later date.
 
am fresher
my first project
considering that, in India what shud i min charge?
 
I have no idea what prices in India are like, sorry
Have you googled it?
 
7:00 AM
As promised, function overriding in js "inheritance": gist.github.com/Zirak/cd319399c89e230c60a4
@monners, @ErikReppen, @BenjaminGruenbaum ^
Wait what I fucked it up
Oh the example sucks, will fix
 
@zirak will be known as the guy who wants to put the "Java" back in "JavaScript"...
No, seriously, I understand the problem is interesting but would you use such construct ?
 
hahahaha never
It's such a crude hack
 
If you make it a github project, you'll have many occasions to gain rep by answering questions of poor java coders who are lost in their first steps in JavaScript. But your conscience might kick back :)
 
Because it uses the name super? :P
What if I named it parent? Would you feel better?
 
super is about the right name
> Also, you probably don’t want to use any of this anyway, so win.
you're bad at selling
things not to do : ☐ hire zirak to lead the sales of Miaou
Wait... in fact my most starred repo contains this :
> It's totally useless for at least 99% of js developpers.
so I don't know...
 
While it's a crude hack, it's better than anything else I've seen
 
100$ for 5page site
 
And it's always fun using proxies
 
@Zirak didn't try for now but I easily trust you on that
@PrazzyKumar Are you advertising ?
 
nopes
Just tell me, how much should i charge for making 8 pages bootstrap site with maps ,contact form ,carousel, logo slider included?

expertwebworld.com

this site charges 100$ for 5 pages
am fresher
 
7:14 AM
@leskovar 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.
 
How much time do you think it'll take you, how much will you learn, and around how much do you value your time?
There's no universal pricing formula, it's up to you.
 
DKS
help me to reopen
1
Q: How to know if browser has PDF viewer or not?

DKSI am viewing PDF into iframe. It works fine. But some of the client don't able to see it in IE. They get it as download option. How can I identify if browser has pdf viewer or not and prompt user that he hasn't pdf viewer? Note: I am using asp.net mvc 5 (c#).

 
@DKS Why? What's different from the answer given in the question that yours is a duplicate of?
 
@Fookatchu 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.
 
@Zirak time * effort * ( GNP / working_population ) * yearly_inflation * ego ?
 
7:24 AM
sorry everyone, work ran out of interwebs last ngiht
 
DKS
@Magikaas well it might be duplicate but the other one's solution don't help me.
 
i do love my home country of wales :D
 
@DKS Okay, that's a valid reason.
 
7:57 AM
@BudBrot 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.
@Metzger 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.
 
So much lost space...
I can only see 2 starred messages :\
 
why is the channel topic and the tags always fucked up when I get here in the morning ? :p Any new guy who joins for the first time must really think, omg this channel is full of retards
 
room topic changed to JavaScript: Do read this link: rules.javascriptroom.com. Before asking a question inform yourself on the XY problem goo.gl/taIqf [javascript]
room topic changed to JavaScript: DO read this link: rules.javascriptroom.com. Before asking inform yourself on the XY problem goo.gl/taIqf [javascript]
 
Hi, how can i set an object as callback at an ajaxquery in jquery? example: var callback = new Object();
callback.eventCallback = eventCallback;
callback.context = context;
callback.errorCallback = errorCallback; callback.xmlRequest = xmlRequest;//How to do this in jquery?
 
feels like a charwoman.. needs to clean up the mess which other people did the evening before (I'm not looking at @Zirak or @rlemon in particular !!) :p
 
8:11 AM
@izym 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 need a new chair.
@jAndy Oh yeah, you must be exhausted. All the hard work.
Mentioning something and watching dystroy do it...
 
I usually do that hard work anyways !
 
You should get a medal
 
I know
 
@jAndy hmm, A) are you a woman and B) are you burnt to a crisp?
 
8:21 AM
tell them !
 
@jAndy "Them" being the "SO chat Medal Committee?"
 
whoever is responsible for medals ! Maybe the Olympic Committee I don't care
 
@NaveenKumar 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.
 
@Zirak I remember somebody said "we should write our own chat"
 
8:36 AM
@Kirvk548 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.
@DawoodButt 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.
@Filip 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.
 
Hey :)
 
So I am trying to learn JS to write an interface for this form / functions thing.
and now I am told by the person I am trying to do it for they already have a version of it that I can use
/ fix
rather than start from scratch!
 
whats the issue?
 
8:53 AM
@StephenWolfe Cool story.
 
@Zirak thanks :D
 
Lol :P
So, what you're saying is you don't have nearly as much work as you expected?
 
wow, thanks for sharing
 
Trolled :(
 
anyone over here has experience with Chrome Extensions?
 
9:04 AM
can any one see the problem here http://pastie.org/9263630

its like 3 lines
fixed it :D
 
@jAndy pretty accurate
 
@StephenWolfe line 4 per chance?
 
@Mr.Alien I have made a few but not coded a lot in the recent years
 
@DrogoNevets yeah it was
 
@dystroy hmm, the issue is pretty simple, I want my content.js to run only on active tabs and not all, because, when it runs from other pages, I detect the domtree modification, and the count which it returns doesnt match on the current page, and hence causes issues
 
9:14 AM
@boban0987 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.
 
@Mr.Alien this looks strange but if your problem is to detect tab visibility change, then there's a standard solution.
 
At the going down of the sun and in the morning,
 
@dystroy that is damn easy, on focus, I can alert, the real issue comes when the dom on the other page modifies, and am on a different page, the plugin count goes wrong, so I need some way where I can disable content.js on all pages except the active page, this way it will stop sending messages to background.js on domtreemodify except the current tab :)
 
why don't you stop doing this when the page isn't the active one ? And why are you mixing data from different pages ?
 
@Mr.Alien ive never mad e achrome extension before, but, is there a way of capturing, within content.js, the event of a page being active and deactivated?
 
9:20 AM
@dystroy the reason is, content.js cannot store the fetched data from the page to local storage straight away, we need to send the data to background.js..
@DrogoNevets window.onfocus
but that just detects on tab switch, not when the js func is executed
 
7
Q: Detect if browser tab is active or user has switched away

oliverbjHow can I detect if a user is switcing to another browser tab? Currently, I have this: $(window).on("blur focus", function (e) { var prevType = $(this).data("prevType"); if (prevType != e.type) { // reduce double fire issues switch (e.type) { case "blur": ...

 
I visited that answer of yours, let me try that, I'll let you know once am done, thanks for you help... :)
 
Also, when you send data to background.js, you should add a page-specific id, so that you don't mix the data
 
^^^ what am trying to do...
but content.js returns undefined error... "cannot read property of undefined"
 
DKS
hey guys pls help me to reopen my queston
i havnt find the solution yet
 
9:26 AM
@Mr.Alien but can you not set a boolean value, and put in the function if false skip over and dont run?
 
@DKS Since 3 days you are behind same question, that modal in IE right?
@DrogoNevets yup, I'll try dystroys answer...
 
DKS
@Mr.Alien no. its about identifying if browser has pdf viewer or not
@Mr.Alien, yes but that problem still continues
 
@DKS most of your questions are closed, you should really try a lot before asking questions....
!!afk lunch
 
@Mr7-itsurdeveloper 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 have javascript object from ajax requst. Now I want to store this object value into another object, How can I do this?
 
DKS
9:32 AM
@Mr.Alien, It's not like that I havnt tried
 
@DKS Mr.Alien is afk: lunch
@DKS Mr.Alien is afk: lunch
 
DKS
I tried almost everything
 
@Nitin 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.
 
@DKS Pro tip: being able to do things in the programming world doesn't mean being persistent. It usualy means being able to take a step back and find another way of doing things
My advice to you is to understand why you want to determine if browser has pdf viewer?
 
@DKS from a website or from an addon?
From a website I juste hope there is no way to determine that! It would lead to security issues.
 
9:54 AM
@seanjacob 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.
 

« first day (1329 days earlier)      last day (3619 days later) »