« first day (1655 days earlier)      last day (3286 days later) » 

12:00 AM
haha yeah destroyable buildings would be amazing.
 
cough
 
@Loktar And those weapon physics. they've got sniper rifles down pat
 
yeah true, also the animations and sounds are really good
 
@monners why do you ask?
 
Just throw in some zombies, larger maps, crafting
 
12:00 AM
@monners nah, MMORPG pokemon would be the greatest game ever.
it would... sigh consume me
 
@Pheonixblade9 haha that would be pretty sweet
 
@Pheonixblade9 Just out of interest. I'm on the other side of the world so not exactly about to apply for a job in Seattle :P
 
omg valentina looks so good on that start menu
makes me omg every time
 
@KendallFrey context..?
 
12:04 AM
KSP
 
well yeah
but I've never played, what is valentina?
 
a lady kerbal
 
I see
time to go home
 
time to sleep, it's 2:21 and i have to go on the road at 8 am
 
Any of you guys have a preference/strong dislike of any build systems?
 
12:12 AM
bad nighties
 
@NoahHuppert Hate Grunt/Love Gulp
 
Is there a reason you love gulp?
 
its faster (due to using streams), and you can write code rather than config files
 
Code > Configuration
 
heh just looking at activity gulp is still going strong
last update for grunt was 2 months ago :/
 
12:36 AM
If you had a direct neural interface hooked directly into your brain, what would you do? Would you go for the online version ( live in the cloud ), or an offline with local storage to "download" from? What else would you do?
 
12:47 AM
@StevensHaen I do have a neural interface hooked directly into my brain. I use it for controlling my body.
 
Man I love icon fonts
How did we work without them?
Oh, that's right... sprites....
Fuck sprites
 
1:39 AM
font-awesome is.
 
1:54 AM
@monners do you know Sydney very well?
 
Not very
Why do you ask?
 
I got a day here to kill, my flights not til 6
 
Go see a movie?
 
m59
if (service.isLoggedIn) {
    console.log(service.isLoggedIn, '<-- false, but this is logged...');
what am I missing........................
 
m59
1:58 AM
ahahah, I got it =D
@KendallFrey service.isLoggedIn = localStorage.isLoggedIn <-- string
 
trololol
 
m59
I was losing my head for a second there.
 
i came across a web app that allows you to require and run commonjs modules,forgot its name,can yu help me out??
 
KSP is hard
 
i think it would allow browserifying them
 
1:59 AM
@m59 With a language with a proper type system, that wouldn't have happened
 
@monners I can see a movie anywhere!
But actually, avengers is on and I want to see it again haha.
 
Shit, I don't know. Fly to Melbourne, we'll have a beer, fly back to Sydney, then fly home.
 
@copy If JS was a language with a proper type system, it probably won't be this popular...
 
2:14 AM
If Haskell was the only language that was running in browsers, everyone would be writing Haskell now
And the world would be a better place
 
I can't imagine Haskell would be particularly pleasant to write UI interactions and animations in
 
Nor does JavaScript or DOM, IMHO :p
 
@monners That just means you don't know Haskell well enough
 
JavaScript is fine, it's the DOM that's shitty
!!s/well enough/at all/
 
@monners @monners That just means you don't know Haskell at all (source)
 
2:20 AM
JS is single thread. I haven't written any single thread GUI program in about ten years. (And I am still writing them)
Well, except JS web apps.
 
@phenomnomnominal You jerk! We can't see it until Thursday
 
2:42 AM
@KendallFrey I'm talking about an electronic device implanted in your head, connecting you directly to the cloud
 
@SomeKittens Saw it two night ago
It was alright, great bad guy
 
@StevensHaen No! That's the evil 666 branding predicted in the Revelation two thousands years ago! (like vaccines!) Don't sell your soul!
 
@Sheepy What if it's not online and cannot be accessed by ill-mannered people? It might expand your memory capacity a thousand-fold. Such devices already exist. What if it's in JavaScript?
 
2:58 AM
@StevensHaen In JavaScript, the most dangerous, most evil language of the world? Stake it an burn it! www\(>A<)/www
Hmm. That is not funny enough, apparently (._.)
 
@Sheepy youtube.com/watch?v=P674CG9mOTs Featuring the most enthusiastic of all them scientists - Dr. Michio Kaku
 
That say, I don't think we need to expand the memory capacity. According to the latest understandings of human brain, we just need a better way to recall memory (or knowledge)?
 
So airplanes are now a thing in KSP. A useless thing, but still a thing.
 
My first launch was a staging mishap.
 
@Sheepy Most people would disagree with you strongly.
 
3:06 AM
ahahahahaha
protip: don't try to fold out landing gear under a jumbo jet sitting on the ground
 
@StevensHaen The same way most people think webpage/webapp is easy and think we charge so high.
 
The majority of the population would get their brains augmented if offered so, period. Our moral judgement won't count.
 
21 science though
 
@StevensHaen The moral judgement was a joke (._.)
 
crl
s/brains/D
 
3:12 AM
Ha! The flag I planted counts as launch pad debris
 
@HoiHoi-san 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.
 
this isru stuff is weird...
 
Any of you snapchat? lol
 
m59
Does anyone know how to authenticate a session by sessionID with passportjs?
It's an email link route that when accessed should authenticate the session that originated it, not the session accessing it (pointless)
 
3:28 AM
ok, I'm going so far as to say this ISRU converter is broken
 
@KendallFrey What's the hotkey for "less symmetry"?
 
shift x
 
oooh
Also, did they get rid of the "Flying over Kerbin's Grasslands/shores/etc" thing for science?
 
no idea, but I doubt it
 
what do I need to do in jquery to send to the server "i", then send to the client results.php?
example inside:
wrap.innerHTML += (
'<div class="newData"><h1>'+i+'</h1></div>'
);
 
3:44 AM
@phpPluginMaster $( '.newData h1' ).load( uri, i )
 
@sheepy i'm trying to tack it to the end
 
@phpPluginMaster Have you learned form post or ajax? If not, that is the technique you need to learn.
 
let me show you how far i have
 
In angular we write a test as follows:
$httpBackend.expectGET('phones/phones.json').
        respond([{name: 'Nexus S'}, {name: 'Motorola DROID'}]);
what does the .respond() mean?
 
respond - how it responds to the criteria being met
 
3:53 AM
okay...so its mocking the data...?
 
crl
I guess mocking the response to the previous get request
 
but what if we wanted the data from the *.json file?
 
what if you don't?
json is harder than a php to html page
 
inside our angular unit tests i mean?
 
3:58 AM
just don't
you can have the json write an html page then
right?
 
@deostroll The comment from @crl is right, it's mocking the response data to a $http request to /phones/phones.json
 
aww, not talking to me?
i'm still learning a lot, and have a lot more comfort having php write the html data
 
@deostroll In that case, you would load the .json file via browserify or the like (not really recommended unless your entire project uses browserify) or just put the JSON directly into the test file.
Test data should be small - you shouldn't be dealing with massive JSON files in your unit tests
 
4:21 AM
@Shmiddty, I knew, I sent him.
 
4:54 AM
@SomeKittens how is it we are verifying that phones/phones.json actually exists? Here we are saying something in the likes of...expect that you get a get request from <that url>...respond with <some data>
 
@deostroll That's the point of unit tests. They don't test the entire app.
They're just looking at the component level.
 
ok. but what if that was our goal? to verify if that file exists?
browserify?
 
5:08 AM
@deostroll The goal is to ensure whatever component we're unit testing works.
In the example above, we know said component makes a $http call
 
Our codebase has a select that replaces its entire element everytime someone selects a new option. I want to hit someone.
it's like someone deliberately tried to break keyboard navigation
 
5:21 AM
@ivarni Sounds like webforms
 
@monners It's an over-eager re-render method in javascript but I suppose it does give the page that classic feel
 
Yuck. That sucks
 
I'm fixing it now, so it will never see production :)
Under Norwegian law we're actually required to have universal access, including support for keyboard nav so it would actually be illegal to put that in production
Just goes to show there's no fool-proof frameworks out there I guess
 
@ivarni Just curious, what if the replacement will restore keyboard focus to original location (if possible)?
 
@Sheepy Restoring focus would make keyboard nav less of a pain, but the real problem here replacing the <select> element with a new <select> element. I see no reason to do that and looking at the code that didn't seem to be the intention either
it's trying to update the <option> list but it shouldn't need to kill the parent element to do that I think
Since unit tests was just discussed, does anyone know if it's possible to write a test in webdriver or whatever that tests keyboard navigation or can navigation only be done programmatically?
I see a potential for regression errors being introduced if I fix this problem
 
5:40 AM
@FlorianMargaine Yeah, and I said it was easier to understand things from slide 3 onwards
 
Hello all
i am very confused on one thing
when table on click event is fired then why data is accessible over there?
its on line 100
please help
 
it's called scope
success: function(data) on line 9
everything within the scope of the success function has access to data (its first argument)
@MuneemHabib ^ see above (forgot to tag you)
 
6:06 AM
@royhowie thanks for replying
but how its related to event fired
?
i mean event is fired on table click
 
@SomeKittens Ha, it was just as good the second time. Come live in the future.
 
@MuneemHabib $('#fence_trigers_log_tbl tbody td button').on('click',function(event) line 66?
 
@ivarni Have seen many .Net apps that refresh whole page on any select change. One of the developers actually think it is a feature.
 
6:22 AM
@royhowie yes
 
@MuneemHabib well, that's why
 
@royhowie anything in scope is accesible in event handler
?
 
yeah
 
I found this example, I just want to ask why do we need to call the shedule twice ? pastie.org/10117600 and also is that enough to call the schedule inside the function ?
 
@royhowie ok thanks
 
6:32 AM
@Sheepy Sounds like an awesome time for a blind person using a screenreader and keyboard nav :D
 
@ivarni He still insists that "desktop design" only need to be mouse friendly (e.g. hover menu), even after I have shown him my windows tablet.
Claims that I am a minority. My trackball doesn't protest that.
 
6:46 AM
what is the purpose of calling this schedule twice ?
<script type="text/javascript">
var scheduler = function(timeout,callbackfunction){
return function(){
setTimeout(callbackfunction,timeout);
}

};


(function(){

var timeout = 1000;
var count = 0;

var schedule = scheduler(timeout,function dostuff(){

console.log(++count);
schedule();
});

schedule(); //Is it necessary to call it again here ?

})();

</script>
 
@jemz That second schedule() will fail.
schedule is undefined
 
I'm not getting an error
 
@MadaraUchiha, how did you know undefined ? I tried to look in console but no error
 
@Meredith Then your example is missing relevant code.
 
What am I missing?
 
6:53 AM
Ah, the indentation threw me off, apologies.
 
Exactly
 
@jemz That second call to schedule() starts the process, then every second, after console.log(++count) is executed, it gets called again. (So effectively, the function will be called again and again every second)
 
@MadaraUchiha, but I tried to comment it out the second schedule still it runs.
 
@jemz Commend what out?
 
I tried this //schedule(); //Is it necessary to call it again here ?
 
6:56 AM
Not being called.
 
@MadaraUchiha,my bad...yeah it didn't called... Thank you
 
@argentum47 [^(smth)] means any character literally not ( or s or m or t or h or ).
 
:( I want to match the string ending in _id and get everything before _id
 
Not sure that's what you want.
@argentum47 (\w+)_id$
If it's not necessarily at the end of the string, drop the $
 
7:05 AM
ah.. ok
 
@argentum47 'my_id'.match( /\w+(?=_id\b)/ )
 
hey guys
Um... Is this format better for Atomic Coding?
-2
Q: Would this be an appropriate question lifetime structure for Atomic Coding?

CinchProposal: Atomic Coding There is no question that Stack Overflow gets many "questions" that are some variation on "here, do my homework" or "debug my code" when the problem could be greatly alleviated by having solid programming resources to pre-emptively eliminate many "gotchas" for novice prog...

Also, I'd like to encourage the use of the chatroom to discuss any issues you might have with the Atomic Coding proposal, as I think this idea would greatly benefit EVERYONE on Stack Overflow: chat.stackexchange.com/rooms/23245/loungeatomic-coding
 
@ChiragParekh 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.
 
@ChiragParekh Your point?
 
7:19 AM
Hi,

http://kenindotechnology.com/product.html?product=explorer-mediumcases#prettyPhoto

In the above link when I click any of the product popup with owl carousal open. This carousal works in chrome but it does not work in Firefox.

What should be the problem?
 
@ChiragParekh why does "KENINDOTECHNOLOGY" appear every time I hover over something? that's egregiously annoying
 
Yes thats client requirement I can't do any thing for that
 
@ChiragParekh you should strongly advise them not to do that
 
Yes I will definitely
 
so this site sells anti-terrorism technology cases?
is there an anti-terrorism iPhone case?
 
7:23 AM
Question: What are canonicals?
 
@Cinch Depends on the subject/context.
 
@Cinch Extensive answers to question relatively general and broad questions, that can be used as reference and as a source to close questions which are asked a lot as duplicates of.
 
@Sheepy For JS I heard you guys have this
@MadaraUchiha Ah, I see.
So this is basically Atomic Coding.
 
@Cinch It's not just JavaScript
 
@MadaraUchiha Yeah, I know
 
7:25 AM
@royhowie You can contact site owner by using contact section in site :)
 
Ah. In the past few days we have a few discussions here about making some. Has there been any progress?
 
@ChiragParekh works in Safari too (in case you were wondering)
 
Is it work in firefox and yes client said me that it also doesn't working with safari?
 
@MadaraUchiha Hm...
 
7:29 AM
@ChiragParekh Working in my Firefox too. You sure client is not using some high tect firewall that blocks dangerous JavaScript for unsafe browsers?
 
@Sheepy that carousal in popup window when you click on any product doesn't work with me also in firefox
 
@ChiragParekh Ah. Got it. Yes not working in Firefox. No JS error.
 
I am also wondering since there is no JS error :(
There is a HTML page with that product information which gets loaded when you click on product.
Here is sample html page link : kenindotechnology.com/portfolio_5122.html
 
@ChiragParekh The carousal, once clicked, is always in the transition state and ignore all request. Have to catch the error during first transition.
 
@Sheepy Did you check this html file link : kenindotechnology.com/portfolio_5122.html Its working here.
 
7:46 AM
@ChiragParekh Yes it is working there. Sorry a bit busy now. Will it be a conflict with other scripts?
 
@Sheepy Its okay no problem.Yes that could be the problem. Thanks for the help.
 
@dystroy it's OK, he's edited it so now it's just too broad
Forgot the title though
 
Yeah he edited. But "it's OK" ?
 
</sarcasm>
lol he was trying to do a self-answered question
so now it has a link only answer... aargh
 
7:51 AM
this is just all bad
 
@royhowie Don't you add that tag to it! :p
 
@ivarni I am so very tempted
 
That would achieve nothing positive
 
I know, I know.
 
Wow, I am seeing the fury of the JS crowds.
 
7:57 AM
stackoverflow.com/questions/29913563/… if you want something else to pitchfork
 
@royhowie You should probably update your profile. node.js is has-been now
 
=(
I wouldn't say it's outmoded…
 

« first day (1655 days earlier)      last day (3286 days later) »