« first day (1278 days earlier)      last day (3671 days later) » 

11:00 AM
yup as I suspected :'(
that shit don't work!
 
why not?
with !important on those styles nothing can over-ride it, so what's going on?
 
@AndreiR 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.
 
@Connor that's my question man
I actually did the same thing yesterday already
 
@pythonian29033 you need to make a jsfiddle.net mate
 
@Connor except something else more specific with !important too
 
11:03 AM
@DrogoNevets no
you cannot get more specific
 
@AbhishekHingnikar do you have any idea of a solution that might support dynamic styles?
 
People Please Help me in this:
0
Q: Check Box does'nt behaves back again ideally after behaving like radio button

PadysterBelow is the code where there are two conditions: On selection of Carrier "AT&T", only four checkbox willbe displayed, Ear Piece, Leather Case, Car Charger and Label Only. Also, along with this, the checkbox associated behaves as radio button, (This is working fine). On selection of Carrier "Sp...

 
guys, I'll take a break, from hurting my head quickly. . .
 
@Padyster got a jsfiddle?
 
nae
 
11:07 AM
@Padyster Irish?
 
nope
english
 
@Padyster can you make one?
 
ok
 
@Padyster ohk, cool
 
@Padyster awesome! likely able to help more there
 
11:14 AM
@Padyster mate, your grammar :O
> Check Box does'nt behaves back again ideally after behaving like radio button
 
Sorry about That bro...
 
jokes, just get a fiddle done and you'll get some help
 
Here is the fiddle:

http://jsfiddle.net/Ey52L/
strange but in fiddle its behaving differently
 
@Padyster you want checkboxes to stay checked?
 
On selection of Carrier "AT&T", only four checkbox willbe displayed, Ear Piece, Leather Case, Car Charger and Label Only. Also, along with this, the checkbox associated behaves as radio button
On selection of Carrier "Sprint", all the checkbox will be displayed with normal behaviour of Checkbox
This is what I am loooking for
In my codebase things are working opposite of the fiddle
 
11:20 AM
why don't you use a real radio button then?
 
My Terrible Client wants it like that
 
if real code is exact opposite, compare the 2 find whats different
 
@Padyster I'll have a look in a min
 
no problem
I am looking into the difference But I dont think there is any difference
 
theres got to be somewhere :P
so copy&paste code from stack overflow errors with epaper.getSelCarr is not defined
 
11:27 AM
I updated the code in Stackoverflow Quesstion Thanks for the reminder
 
@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.
 
carrier is also missing
JS looks the same
other than that
 
0
Q: Sails after call destroy the promise does not work

labkodedestroy: function (req, res) { User.findOneById(req.param('id')) .then(function(user){ if(!user){ return res.json({ "errorCode": 1002, "errorMessage": "User not found", "responseData": null }); } ...

 
@Connor ANy Luck with you!!!
 
the fact its working in the fiddle suggests to me there is something else going on that you cant see/dont know about
and its outside of the code youve provided
 
11:31 AM
@Padyster Making a cupa tea a minute
 
What behaviour you observe in fiddle? @DrogoNevets
 
what you describe, select AT&T can only select 4 options
anything else, can select all of them
 
also ATT's options should behave as radio Button
 
@Padyster I cannot select any in ATT
 
and for else normal check box
 
11:32 AM
so which is it that isnt working?
i cannot select anything with at&t
 
Thats the problem @Connor
 
@Padyster yeah, well I'll have a go at a fresh one, to me it looks like you've tried to hard
 
in fiddle ATT's option should work as radio button @DrogoNevets
 
Hey does anyone here use GOogle Chrome DevTool?
 
No Problem to go for fresh one... @Connor highly appreciated
 
11:34 AM
If so, how do you write javascript from scratch and test it in the DevTool?
like the Firebug console
 
Irony is my codebase behaves just opposite of the Fiddle
 
@SrikanthLingala 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.
 
in my codebase Sprint's option cannot be selected at all like for ATT in fiddle
 
@redshift what do you mean?
 
@Connor @DrogoNevets It worked for Me... Hurray
I did this

setAccessoryChosen : function(){
epaper.acc_blk_inp_chk.attr("checked",false);
var carrier = '';
var carrier = epaper.getSelCarr();
$('#accessories_block input[type=checkbox]').unbind('click');
if(carrier == "att"){
epaper.setRadioBehave();
} else {
$(this).unbind('click'); //This is what I corrected
//epaper.unsetRadioBehave();
}
},
 
user2509223
11:39 AM
@Padyster format pls
 
@pythonian29033 dom mutation / dom mutation observer
 
acc_blk_inp_chk << did you make that variable name?
 
NoT Sure with formatting in here @derylius
 
@Padyster beat me too it, was just about to get there myself
 
yes @RonniSkansing
 
11:42 AM
I would advice you to refactor your naming
 
@Padyster put a ` before and after the code
@RonniSkansing +1
 
Thanks @RonniSkansing Will surely do it, Can you suggest the refractor naming ?
 
@Padyster what is that variable? whats stored in it?
 
I just cached the selector in it
`setAccessoryChosen : function(){
epaper.acc_blk_inp_chk.attr("checked",false);
var carrier = '';
var carrier = epaper.getSelCarr();
$('#accessories_block input[type=checkbox]').unbind('click');
if(carrier == "att"){
epaper.setRadioBehave();
} else {
$(this).unbind('click'); //This is what I corrected
//epaper.unsetRadioBehave();
}
}, `
 
@Padyster no spaces before or afte code soe 'code' not ' code '
 
11:44 AM
also why are you declaring carrier to a string and then redeclare it?
 
@RonniSkansing if you mean to add the "var" before variables, then I would like to tell you that I did this JS in OOPs way so it behaves as a property... and if i declare it in any method then I can use "var"
 
no I mean that the naming is horrible. Not only hardly readable, it also tells you nothing
 
@RonniSkansing Its just in here
 
its just in here?
to declare the same variable twice?
 
@RonniSkansing Ok LOLs.. ofcourse its horrible and Terrible....
 
11:47 AM
=]
 
is someFunction(someFunction(X, a), b) one instruction?, and if not what expression can I use to differentiate the former to var sX=someFunction(X, a);someFunction(sX,b)?
 
What is acc_blk_inp_chk
 
account bulk input check
 
accessories Block's input=[checkbox]
 
guess
 
11:48 AM
=]\
 
or not
 
hehe
so it is a object, what does it do?
 
Some programmers cannot deal with Two Language together, where one of them has to deal with literatur
:D
 
@kwak don't understand...
 
Its says, for the element whose ID is accessories block, all the inputs who are of type checkbox
 
11:50 AM
accBlockCheckBoxes - still abit long though
 
yeah...
 
someFunction(1,2) is one instruction right? not two, not three
 
@DrogoNevets that's what minification's for
 
@Connor good point!
 
@kwak looks like one statement
 
11:51 AM
@RonniSkansing riht
 
@kwak in simple terms yeah. why?
 
'instuction' is for more processor instructions?
 
@RonniSkansing but someFunction(someFunction(X, a), b) is 2
 
@kwak seems to me a function call
 
11:52 AM
so s/instruction/statement/ above
@Padyster yes but more generally
 
@DrogoNevets how?
it looks like 1
 
@kwak ok, and why are you asking?
 
this:
is someFunction(someFunction(X, a), b) one statement?, and if not what expression can I use to differentiate the former to var sX=someFunction(X, a);someFunction(sX,b)?
 
@kwak now it looks like a function call passed as a parameter in another function call
 
@RonniSkansing to me its 2 as it calls something (ok in this case, itself) to get one of the params
so there are 2 calls on that one line
 
11:53 AM
well it is still one statement
isnt it?
 
@kwak I don't understand the "differentiate" part?
 
do(something(else()));
1 statement
 
@RonniSkansing i would argue not, 1 statement would have a complexity of n not 2n surely?
 
well I mean is for example foo(a,foo(b,0)) one statement whereas var x=foo(b,0); foo(a,x) would be considered 2 statements
 
although im not sure (cant be bothered writing it down) that its not n^2
 
11:55 AM
@kwak yes, you're right I understand that, but what are you trying to change or do?
 
@kwak its simplified yes, but im still not convinced in my head it counts as 1
 
@Connor just putting a name on this difference
 
I suppose it depends on the exact definition of a statement
 
@kwak oh, so you want to name the difference
 
@DrogoNevets I do not think you should count the number of operations done. Like lets say foo(bar()); that bar() has 10 statements inside of it. It does not make it 11 statements.
You look at it in isolated scope
 
11:57 AM
@DrogoNevets the interpreter sees them the same way I think
 
else I am open to be told otherwise
 
@RonniSkansing ditto, just speak my thoughts.......ive never really thought about it
 
@kwak expression vs. multi-expression or Ice Cream
 
@Debaprasad 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.
 
The statements say what chunks the parser should eat a the script
 
11:58 AM
@Connor yes, we could say 'compact form' but I'm not sure thats the term to se
 
!!mute
 
@Connor ok
 
@CapricaSix I am facing problems in using jquery at asp.net grid view
 
@Connor Ice Cream?
 
11:59 AM
@kwak you could just call the singular one a expression and the other one a code-block seeing as it'll usually have more than one line
 
isnt a expression like 1 +1
and a code block == compound ?
 
My requirement is to show a popup using javascript containing rowdata. Where I can update my gridview
 
at the end of the day its all semantics really
 
Someone please help me out
 
@Debaprasad make a jsfiddle with example code and then we might be able to
 
12:02 PM
@DrogoNevets I am new to js. Actually today is my first day with it
 
@Connor ok so, a bunch of x = do(some(stuff(12, with(30))) is 1 expression, whereas the split up version is multiple expressions?
 
So can you please send me any links to get started
 
@Debaprasad doesnt really matter, we still need a starting point to be able to help you
 
no its a statement
 
ah, wait let me check Wikipedia
 
12:03 PM
@kwak @RonniSkansing i like this 1 expression is made up of 1 or more statements?
or vice versa
 
yes could be the opposite way actially
 
a statement does not neede a expression
for example
var x = false;
 
Ok @DrogoNevets Thanks
 
@RonniSkansing = statement
 
@RonniSkansing The correct term would be a expression statement as it results in a value
 
12:05 PM
declarative statement?
 
@Connor dont confuse my small brain!!
:P
 
^ yes
 
this is how i would put it
var x = 1; // expression
doSomething(); // statement
var y = doSomething() // expression statement
 
no they are all statements
 
12:07 PM
@Connor do(something()) is an expression
??
 
1 + 1 is a expression
var x = 1 + 1 is a declarative statement with a expression on the right hand side
 
as per the wikipedia articles
 
> In purely functional programming, there are no statements; everything is an expression.
 
Hey I am trying to reduce Garbage Collection. But I am also trying to simplify my code. This object should stay in memory because I am returning it. Therefore keeping a reference. Correct?
function Cube (Xpos, Ypos, Zpos) {
  var cube = new THREE.Mesh(geometry, material);

  this.x = Xpos | 0;
  this.y = Ypos | 0;
  this.z = Zpos | 0;

  cube.position.x = Xpos;
  cube.position.y = Ypos;
  cube.position.z = Zpos;
  return cube;
}
 
correct
 
12:09 PM
incorrect
 
only if return into a variable that is maintained though
 
only if you're saving Cube
 
Depends on whether you keep the returned cube
 
I am. I am.
 
js is not purely functional
 
12:09 PM
var cube1 = new Cube()
 
@rlemon afternoon fella
 
mornin'
 
mornings
time for coffe
 
@rlemon That should settle it. If not, have a look at ES, those terms are precisely defined.
 
12:10 PM
lmao @rlemon
 
@ArmenAsriyan 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.
 
@Schoening this is useless?
  this.x = Xpos | 0;
  this.y = Ypos | 0;
  this.z = Zpos | 0;
 
is there a way to get caprica to print the time based on where she lives?
 
@rlemon You didn't came and try a game of Tribo :(
 
I was busy yesterday
 
12:12 PM
@Connor Oh yeah. thanks. Just from an earlier test without three.js object
 
!!> new Date
 
@Connor "2014-04-16T12:12:08.133Z"
 
^
 
!!> new Date
 
@DrogoNevets "2014-04-16T12:12:28.131Z"
 
12:12 PM
wow, it changed!
 
@FlorianMargaine What changed ?
 
ok so that says its afternoon (even if it is an hour slow)
 
caprica's message
 
i was just checking it was her time not users
 
it was 28 instead of 08
 
12:13 PM
!!> navigator
 
So everyone - except @JFit >:( - Agrees that the object wont create garbage as long as it is returned into a variable?
 
@Connor {}
 
@FlorianMargaine probably a bug. A function should be reproducible.
 
Date isn't purely functional :(
 
12:14 PM
!!> navigator.geolocation.getCurrentPosition(function (p) {console.log(p)});
 
@Schoening and that variable has a reference maintained and not lost - yes
 
@Connor "TypeError: navigator.geolocation is undefined"
 
there is more information now than there was when i answered @Schoening lol.
 
@Connor nice try!
 
I like this answer to expression vs statement stackoverflow.com/a/19362/3183756
 
12:14 PM
hehe :p
 
!!> Object.keys(global.navigator)
 
@Connor ["global","whitey","exec","console"]
@Connor []
 
!!sandbox
 
You know, there was this funny idea once upon a time that people were supposed to test out commands and "play" in the sandbox
 
What happens to the "var cube" inside the constructor? Can I learn about that reading about how pointers work or something?
 
12:15 PM
!!> for (var p in global.navigator) { console.log(p); }
 
@FlorianMargaine "undefined" Logged: "taintEnabled","appCodeName","appName","appVersion","platform","userAgent","pro‌​duct"
 
!!> global.navigator.userAgent
 
@FlorianMargaine "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0"
 
!!>alert
 
@Oleg "ReferenceError: alert is not defined"
 
Xav
12:17 PM
hello whatz up guys?
 
people are trying to figure out where @CapricaSix lives
 
creepers
 
@Xav
 
anyone in the USA?
 
12:28 PM
@OneKitten "ReferenceError: XMLHttpRequest is not defined"
 
!!>global
 
@OneKitten [object ErrorEvent]
 
okay, I'll stop playing
 
@OneKitten Why haven't you voted yet?
 
@JanDvorak: flagged for closure long ago
 
12:31 PM
guys! I found a clue that may help me solve my problem;
I need to override the `@media screen` style. . . but specifically for this div
 
@OneKitten voted
 
@jandvorak voted to close it?
 
@JFit I have
 
ok..
 
I had no memory of this question but apparently I was among the downvoters in last june
 
12:33 PM
hate seeing old active flags, sorry
 
(tbh I downvote a lot)
 
:/
mean
 
@dystroy: I find that hard to believe
 
@rlemon instead of rewriting tribo rendering using canvas, why not helping on the rendering on another game that I'll port to miaou soon ? I need somebody less crappy than me in drawing pretty animated flowers
 
Does caprica stop execution if you accidentally do something like an infinite loop or not?
 
12:39 PM
@OneKitten yes
 
@OneKitten dare to find out?
 
...
 
!!> for(;;);
 
@dystroy "SyntaxError: syntax error"
@dystroy Maximum execution time exceeded
 
12:40 PM
not sure i want to try it var x=0;while(true) {x++}
 
dont wanna be the person who killed caprica
 
@DrogoNevets try it, it will just crash rlemon's browser's tab at worst
 
@DrogoNevets just see a few lines above : I tested
 
@dystroy you got a syntax error
 
12:41 PM
@DrogoNevets not the second time with the added ;
 
!!>whitey
 
@OneKitten {"Array":1,"Boolean":1,"console":1,"Date":1,"Error":1,"EvalError":1,"exec":1,"F‌​unction":1,"Infinity":1,"JSON":1,"Math":1,"NaN":1,"Number":1,"Object":1,"RangeErr‌​or":1,"ReferenceError":1,"RegExp":1,"String":1,"SyntaxError":1,"TypeError":1,"URI‌​Error":1,"atob":1,"btoa":1,"decodeURI":1,"decodeURIComponent":1,"encodeURI":1,"en‌​codeURIComponent":1,"eval":1,"global":1,"isFinite":1,"isNaN":1,"onmessage":1," (snip)
 
@dystroy fe
 
"fe" ?
 
fe = fair enough
 
12:44 PM
@user2560521 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.
 
bbc.co.uk/news/uk-england-kent-27049165 ive got to drive along that road in a wee bit
:(
will add over an hour on to journey taking the diversion, hope motorbike is able to squeeze past the pinch points
 
@GudmundurOrn 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.
 
Who here does not have facebook ?
 
@SathOkh 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 doesnt have facebook
shes not real
 
12:48 PM
@AbhishekHingnikar I don't use facebook, does that count?
 
@AbhishekHingnikar I never had
 
@Neil isnt real
 
It's enough to see how people waste their time on frivolous facebook games. I prefer to waste my time on other frivolous ventures.
 
But I opened a twitter account a few days ago and I'm pondering whether to open a megacities one, so you can't predict the future
 
arguablly none us are real, just meta people living fake lives with the thin gaurd of the internet maintaining a very small amount of anonymity
 
12:50 PM
@DrogoNevets Hi
 
@DrogoNevets What none of you realize is that this is just a simulation. We're all bots here except you.
 
We are all you
 
@AbhishekHingnikar what's facebook?
 
:|
...
AHHHHHHHHHHHHHHH!!!!!!!!!
 
@Oleg , @Neil i need likes on the IC India public choice awards
am trying to make a kickass video today and tomorrow so i will have 10 days for voting to count in :-)
 
12:53 PM
sorry, my facebook account got deleted for abusive content
 
@AbhishekHingnikar I'll vote, but only if it isn't horse porn or something like that. I have a reputation to maintain
 
HAHAHA
its snapick.
man, i wish i could have horse porn.
btw is there a simple video editing software ?
 
No idea. As a general rule, I'd stay away from Microsoft's movie maker software
 
I want to do simple effects like that.
 
anyone in the US right now?
 
12:56 PM
lol
 
I am
just 12800 kilometer under USA i guess.
 
@dystroy looks interesting
I'll look into it tonight
 
@rlemon can powerpoint export to video format ?
 
@AbhishekHingnikar why would you say under? are you saying that you know where the top of the earth is?
 
@AbhishekHingnikar should be able too, but I don't use PP
 
12:57 PM
Can u suggest a good video editing software
 
I'm on the corner of the earth
 
for a simple video ? nothing flashy init
 
nope
 
Scandinavia
 
@AbhishekHingnikar wondershare
 
12:57 PM
I don't do video editing
 
@Connor link ?
 
!!google wondershare video editor
duh
 
user2509223
finally some progress with drupal, ive been able to make a slider and show it on the homepage and it only took 10hrs
 

« first day (1278 days earlier)      last day (3671 days later) »