« first day (1523 days earlier)      last day (3427 days later) » 

1:00 PM
I don't like that they encouraged me to downvote
 
@Meredith What?!
 
Yeah I pretty much never touch the main site
 
You might want to look at my vote stats on the bottom of my profile.
 
I don't need to be encouraged to downvote. No problem with that :)
 
@dystroy :joy:
 
1:01 PM
BTW I did use the SO Android application but got no hat for that
 
@dystroy vote / comment / edit / post with it
 
I wouldn't have a problem if I normally voted on stuff
 
@dystroy Cool you're a downvoter as well, I approve!
 
@All - Good evening. Can anyone please help me ?
0
Q: How to handover a custom rule for SonarQube to identify JavaScript constructors?

lakshmiI was working on client side MVC framework like Angular JS. Be a part of project I have written some services to handle the restful client requests and responses by using Angular Api. Right now I am doing some code quality task by using SONAR Tool. But as per Angular JS Api service having one fun...

 
!!google SonarQube
 
!!google dystroy miaou
 
:approves: This is a good bot!
 
@Unihedro You didn't knew miaou ?
 
hi all
 
1:09 PM
@dystroy I saw that the google command exists, and the first thing came to mind was your chat service, so...
 
Please take look at this
 
ok, I was confused
 
2
Q: CSS3D matrix generation

DramorianI am trying to achieve following effect using css3 and javascript when we move mouse to center div (MouseOver effect) I have created small library which accepts 3 arguments element,sourcePoints,destination points and returns css3D matrix and update element. here is my javascript code. var BLE...

 
(Rule: If a feature exists, (ab)use it)
@Dramorian Completed.
 
@Unihedro ??
 
1:10 PM
@dystroy : I do think so its not from Google
 
You said to take a look, and I did, so...
 
Damn
 
Hello @darkyen00 . Did you come here just to swear ?
 
@Unihedro Oh thanks. now solve it and give solution :D
 
@Dramorian No.
I'm waiting a video of a boat ride.
 
1:11 PM
This looks a little like "I failed, please code that for me"...
 
@dystroy nope
 
@dystroy affirmative
 
@dystroy google for "Pakistan school attacks"
 
@darkyen00 Everybody heard of that, no need for googling
 
opened the tab and news was showing it :-/ fingers subconciously typed damn.
 
1:12 PM
@darkyen00 :(
I don't get what it achieved
They killed over 100 children
For what ..
 
insanity
People are weird.
 
Even insanity has sanity as a part of it.
This was beyond reason.
 
@darkyen00 Did they release a statement or reason for it?
 
echo $reason;
 
Or was it just a terror attack?
 
1:13 PM
@Unihedro not now! later may be :)
 
With no rhyme or reason to speak of?
 
@Sippy they killed them cause they were children of army officials
 
Sigh.
 
I am stunned none of those "bandwagon human right" countries have interfered yet.
Clearly pakistan won't handle this, they are blaming it on India -_- (Watching a news channel, one of their retired army man blamed Indian Intelligence for this)
 
What do you mean ? What interference did you expect ?
 
1:16 PM
@dystroy What was that in Iraq ?
or afganistan
 
Until recently, most of Pakistan's army was helping the religious fanatics. Even US grew tired of trying to help cleaning the country.
 
>_<
 
Don't you agree ?
 
I agree. I wonder why stop now ?
 
Who wants to interfere when ISI is messing everything
 
1:20 PM
@dystroy well what USA did with IRAQ they can very well do it with pakistan.
 
USA has never done well in wars against countries where the enemy is not clear
 
You can't invade Pakistan, unless you want to have many many deaths. Iraki army was very weak compared to Pakistan. And nobody would buy the stupid lies they used at that time now. And US is probably less corrupt at the head, too, compared to the Bush era.
 
There were vietnamese that seemed to support USA and then would betray USA at the worst possible moments during the Vietnam war
Pakistan has a problem alright, but it can't be resolved by an outside influence
 
@dystroy meh a combined attack of NATO on strategic points of interests for terrorists to terrorize them should be senseful
 
@dystroy rotw would never allow it anyway
 
1:23 PM
you know weapons of mass terror.
 
@darkyen00 strategic attacks on terrorists already happen every day. With many innocent casualities. Hard to do more without invading. Which would be terrible.
The good news is that ISI doesn't seem to want to support Islamist terrorists anymore
 
I wonder if the terrorists kill innocent people after the attack
And blame it on the attacker.
@dystroy that might cause a civil war in pakistan, for good.
 
@Unihedro bitch i got my hat
 
@dystroy Personally, I think that it's best to completely ignore human shields.
 
@dystroy I thought ISI was synonimous with Islamic terrorism.
 
1:28 PM
If human shields are ineffective, they would stop being used.
 
@JustSteveKing Hey, you could call me a dick but not a bitch, gender doesn't work like that
 
If you try to dance around it, you will have civilian casualties whether you want to or not, and then you're the bad guy.
 
@Unihedro Sir. Floppy Cock
 
Yay crab hat!
 
CRAB HAT
 
1:29 PM
@SecondRikudo casualities aren't all related to human shields. You can't aim terrorists with missiles
 
#imitationcrabswillruleztheworldz
 
@dystroy They mostly are.
 
@SecondRikudo A lot of it is from bombing
 
"weapons of mass terror", "Sir. Floppy Cock", "CRAB HAT"?

I thought this was the JS room
 
If terrorism is done in order to scare those who learn of their deeds, then in theory, should all news sources stop taking stories from terrorists or making them a reason for the events that happen, terrorist acts would cease to be useful
 
1:30 PM
@ziGi Man you're the king of off-topic
 
@Sippy Hiding in dense population to not be bombed === human shield.
 
Come on now :P
 
@Sippy :agree:
 
@SecondRikudo That ..
 
@Sippy haha I am just kidding
 
1:30 PM
Logic.
@ziGi Hehehe
@SecondRikudo I can't disagree with that
I just didn't notice the connotation you were talking about.
 
It's semi-similar to something I heard of the Nigerian scam
Ignoring it actually helps the scammers.
 
@Neil yes but the media is controlled by the Rocafella who produces revenue because lones for war, thus the circle closes
 
@ziGi Yeah, I doubt if that would ever be a reality
 
and all the world is in debt to 2 families
 
The best course of action to hinder scammers is to waste their time for as long as possible, continue talking and stalling for as far as possible without actually wiring any money.
 
1:31 PM
But it's true if you think about it
 
@ziGi Nope.
 
@Neil repeat a lie 100 times and people start beliebing
 
@ziGi I've heard that phrase 100 times before, and I still don't believe it's true :P
 
@ziGi Repeat it a 1000 times and you'll start believing it too.
@Neil It's true.
Current state of democracy proves this to be true.
 
@Neil who said that the phrase was a lie in the first place?
 
1:33 PM
Lol
ziGi has been in this convo 5 minutes and we're already onto politics
how do u do dis
 
haha I am a magician with a capital V
 
Lol
 
for vendetta I guess
 
topkek
Quake was amazing :)
 
still is
 
1:37 PM
damn straight - but i meant my lunch time session
 
lunch time quake?
interesting
doesn't that make it
 
holds guard from the sniper position and shoots down a window of the store; falls back and takes the stairs frantically
 
quake time quake?
 
Damn right :D
Im still waiting for the christmas maps :(
One in particular
 
Wait ..
Quake 1?
 
1:38 PM
are you playing the web version?
 
Quake Live yea
 
Warsow is better
Shit playerbase though :/
 
I loaded date.js to page and now in console I get TypeError for this code.google.com/p/datejs
Date.monday()
VM11975:2 Uncaught TypeError: undefined is not a function
any idea :/, it was working earlier
 
@CustomizedName you killed it
 
@CustomizedName Does it have dependencies?
 
1:40 PM
@JustSteveKing well that is why people call me killer :p
@Sippy No, i thought i wasn't suppose to load them up
 
shrug never used it
 
@CustomizedName works for me jsfiddle.net/rlemon/9xLv9rqv
problem is elsewhere
 
@CustomizedName ooohhhhhh - with bad syntax :P
 
When shit's undefined and it shouldn't be, it's usually cos you did something you'll later think was stupid, or you loaded shit in the wrong order.
 
my guess is loading issues
or scoping issues
 
1:41 PM
@rlemon i can copy that
 
@rlemon maybe it could be because i changed name to herodate.js
let me dig deep brb
 
@CustomizedName before the line that throws the error 'console.log(Date)'
 
it works for this though - Date.today().add(7).days();
Wed Dec 24 2014 00:00:00 GMT+0000 (GMT Standard Time)
 
Good day
 
God day
Dog day
 
1:44 PM
ZiGi day ?
 
Could anyone suggest any good daterange picker solution ? Most of what I have seen is one or another way very buggy.
 
3 select inputs
 
@darkyen00 Don't be that guy
 
@Sippy hey it works every single time :D
 
@darkyen00 yes yes yes yes yes
 
1:45 PM
Lol
 
@Sippy i personally like it the most
because on desktop i can use keyboard
and on mobile the select becomes a kickass input.
though input[type=date] is better
 
I have a list of clients, when you click a client you see their interests and a 'tab' to add a new interest. When you click the tab you get a form to input an interest. The clickable-options on the form for every client except the first client on the page is unresponsive - can anyone see why this is happening (I cannot find the problem): young-chamber-6910.herokuapp.com ? I'm not certain that a parent object's 'click' command isn't blocking it?
 
@darkyen00 because obviously only you will use it :D
 
@Eugene have you seen UI Bootstrap
 
@Eugene Being honest now
if there is one that uses jQuery wrap it :P
if there is one that doesn't use jQuery and is vanilla javascript ... wrap it !!
 
@ziGi yes. It is date picker. I was talking about daterange picker
 
ah, sorry
 
@darkyen00 so your suggestion is pretty much "do your own AngularJS solution")))
 
@Eugene no its not.
 
1:50 PM
PS if you really want an all in one solution, don't use angular. It is a framework, at then end you DO have to write some code.
 
@ziGi How is it diff. from prev. link?
 
@Eugene you are telling me that you wrote an application without making a single directive in angular ?
 
@darkyen00 waht do you mean by all in one?
 
Because wrapping a lib is almost as simple as making a directive.
 
@Eugene sorry, didn't copy right -> ngmodules.org/modules/ng-bs-daterangepicker
 
1:51 PM
@Eugene Something which has every ui-widget etc inbuilt
 
@dystroy what is the correct approach :(
 
@ziGi still the same
 
lol
 
there is a demo
check it if it suits you
 
1:52 PM
@darkyen00 sure I did, write directives, that is. But this sounds more like general thingy and I hoped to find some good solution on the web at first. Not bicycle lover, sorry :D
 
meh
Angular 2.0 is gonna break everything anyways so .. purr
 
@darkyen00 Yeah. I know. R.I.P.
 
@darkyen00 Thats true!
 
@JustSteveKing did you try React ?
 
@darkyen00 I never did - I was tempted but haven't yet
I am unsure about the whole virtual DOM thing
@darkyen00 Is it any good???
 
1:58 PM
@ziGi this is current solution, but as it turns out there are some things missing from it as well. Like for example if one would need an empty field by default.
 
Here comes the best question of the day...
 
Like I've never heard, that one before :D
 
@PeeHaa if i've played my cards right a message should appear in the sandbox @ 9am EST
 
How can I compare Date.now() and a given date which I am parsing using Date.Parse() when date string be any time of the date even if it's 9am in the morning then..
 
in Sandbox, 23 secs ago, by rlemon
this is an automated message. Wed Dec 17 2014 09:00:00 GMT-0500 (Eastern Standard Time)
@PeeHaa ^
noice
 
2:05 PM
So who has played with Marionette ??
 
@JustSteveKing I rejected
 
so out of curiosity (I will have to refactor) can I return a value and call a function at the same time?
 
@CustomizedName Rejected Marionette??
 
return a function call
 
function foo() {
  return 1; // now I need to call bar()
}
 
2:08 PM
@JustSteveKing yeah, she was asking me lot and i rejected
!! google Marionette
 
Ops...
 
@CustomizedName hahahha
 
emm, why not save the 1 and call the bar save the returned value and then return an array like
return [1, return bar() ]
never tested though
 
evening gentlemen
 
2:12 PM
@AwalGarg im batman
 
@argentum47 heyo!
 
@AwalGarg o/ \o / o/ \o
I am Shaktimaan, always
 
I am Awal Garg aka Rash. As always...
 
:P
your name shows.
google will know it
 
xD now now, that is secret
 
2:15 PM
XD
 
I hope google doesn't know how to scramble words :P
 
that might not be true.
You can write the program google can copy it and use it on you
 
ahahaha! true dat
Well, google won't know about the double click thing though XD
 
:P
haha
 
@rlemon Sexy. Can you put @CapricaSix in here and let her do her thing \o/
 
2:20 PM
@PeeHaa it isn't designed to be run via cap
you run it ;)
 
Can't I just summon her in there?
 
@rlemon doesn't return 1, bar(); work?
 
by summoning jujutsu. SecondRukido could do that
 
@NickDugger no because the last is the bar return
so it returns undefined
I figured it wasn't possible, but thought i'd ask
 
function doomed (duration) { input.textContent = Math.random() + new Date() + ''; sayit-button.click(); setTimeout(doomed, duration, duration); } doomed(86000);
 
2:22 PM
Can you use Object.freeze() in constructor?
 
ah, yeah
 
...to freeze this?
 
function foo() {
  return bar(1);
}
function bar(passthrough) {
  console.log('bar has no return anyhow');
  return passthrough;
}
var a = foo();
a;
> bar has no return anyhow
> 1
@NickDugger not that I would do this, but I can't think of a cleaner way?
 
it makes sense
 
@rlemon may I know the question?
 
2:27 PM
read up
iit's recent
 
19 mins ago, by rlemon
function foo() {
  return 1; // now I need to call bar()
}
^this?
 
@PeeHaa I have no idea if this will work. watch the room. @ 9:59:59 EST I should post something.
 
Is this some sort of announcement command?
 
@NickDugger Freeze counter measurement.
 
2:30 PM
oh, then? I can't find anywhere else.
nvm
 
@AwalGarg wasn't to you
 
ooohhh, clever
 
that is the question, yes
 
ok
 
@CapricaSix <3 you @rlemon
 
2:31 PM
might not work
we'll see !
might be issues putting it to like "59 59 23"
ahahaha almost forgot to make her join the room
 
:P
 
@rlemon (don't kill me). You can skip the catch block from try catch finally, right? It would work then...
try { bar(); } finally { foo(); }
 
I need foo to return the 1 before bar is called
 
@AwalGarg Just use jquery
 
bar is conditional on foo's return to the variable
var a = foo();
function foo() {
  return 1; // need to call bar()
}
function bar() {
  if( a === 1 ) console.log('done');
}
@AwalGarg think about how to solve this without re-factoring the functions
I don't think it's possible, that was my question
 
2:36 PM
hmm
 
"is there some magic I haven't seen before"
var a = foo(); bar();
is the obvious choice, but assuming you don't wanna do that.. ;)
 
If you can't do it... I stand no where :(
 
overkill them, turn them into promises for no reason, resolve foo, then bar. all the cool kids are doing it
 
user2620028
i just read through this and i don't see the problem lol
 
@HatterisMad just me being curious, no real problem
 
2:39 PM
there is no real problem, he just doesn't want to do foo(); bar();
 
there is 1000 ways to do this, but I wanted to know if I could do it in this way
 
foo().then(bar)
for special people
 
return bar(), 1; // no?
nvm
 
oh my god, that kinda works
I want to die
in a bucket
 
it evaluates bar() and returns 1. but that is in the wrong order now
it's like..
return undefined, 1; // 1 being expressed last, is the return value
 
2:42 PM
needs context, bro
 
6 mins ago, by rlemon
var a = foo();
function foo() {
  return 1; // need to call bar()
}
function bar() {
  if( a === 1 ) console.log('done');
}
 
@rlemon Y U WANT TO CHANGE THE MEANING OF RETURN?? :P
 
oh, ok. hmmm
 
@AwalGarg was just curious. not trying to do anything really
 
haha whar are you doing ...
 
2:43 PM
but it's funny you're both getting so into a problem I don't think is possible to solve the way I was thinking
 
I find it intriguing
 
the impossible problem.
 
I wanna know
the crab hats can fix it
 
if you're feeling naughty, you could use a constructor lol
2
wait... nevermind. that makes even less sense than anything
or put bar inside of foo
 
ARGH!!!!!!!!!! Amazon AWS is being a pain in the ass
> Changes DNS
> Set TTL to 60
> 7 hours later still not populated -_-
 
2:47 PM
@JustSteveKing Its awesome if you use it with flux.
Is there a website which allows you to share stack-traces ? with a git hub repo ?
 
1 message moved to Trash can
 
@JustSteveKing Lol
 
1) looks like homework
2) you pasted in a wall
3) what does this have to do with JavaScript?
 
@darkyen00 it is usually amazing! But at the moment it is just not behaving at all! Also first thing tomorrow the server is being shut down for maintenance so it needs to populate
 
return 1, [1, bar()], 1;
seems to work...
but is ugly
 
2:48 PM
@Sippy Such a pain in the ass!!
 
@AwalGarg what ?
 
@rlemon do you also need a non ugly solution now? xD
 
I don't actually need a solution
it isn't a problem
it was a curiosity
 
ok, then ugly solution works for me.
 
Who needs solutions when you can have problems!
2
 
2:50 PM
@rlemon You feeling listy today?
 
I got 99 problems but return bar(), 1
4
 
@rlemon Why not try to try return 1, [1, bar()], 1;? xD
It works as you want... :P
 
because I have no actual application for it
this was purely conceptual in my head, I am curious if this could work, kinda shit
 
but... I spent about 5 minutes thinking for the solution. Where is my prize? :P
 
no prizes for ugly solutions
;)
 
user2620028
2:52 PM
now your brain is 5 minutes more used up
 
@rlemon you mean I got 99 problems but bar != 1
 
also, @AwalGarg, jsfiddle.net/rlemon/uraftzq0/1 doesn't work ;)
FAIL!
 
ahaha
 
NO PRIZE FOR YOU!
 
shit
 
2:54 PM
anyone else interested in the impossible challenge? here it is above
 
rofl
how about you pin it for the great @Zirak to see xD
 
I really don't think it is possible given my constraints
 
I don't get the challenge
call bar during the return?
 
:O
 
yes, but after the return has been assigned to the variable
 
2:56 PM
return bar(a = 1); ?
 
impossible
@PeeHaa works, but is cheating a little
 
@PeeHaa there could be any variable, not just a.
 
but again, as part of the return...
 
@rlemon Guilty
 
actually, wouldn't work
because bar returns undefined
var a = foo(); // would result in undefined a
the challenge is moreso, "is this possible" ?
and it isn't really a challenge, moreso me procrastinating work
 
2:58 PM
What's the challenge ?
 
3 mins ago, by rlemon
http://jsfiddle.net/rlemon/uraftzq0/2/
 
return 1 | (0&setTimeout(bar, 1));
 
return (a = 1, bar(), a);
 

« first day (1523 days earlier)      last day (3427 days later) »