« first day (1944 days earlier)      last day (2987 days later) » 

12:02 AM
> Meteor + ReactJS - Build a Web App from Scratch Series [Video]
does.. I mean.. it isn't really from scratch now is it?
 
lol
 
crl
thanks god e.ctrlKey works also on MouseEvent
 
12:18 AM
does it ? o.O
 
@rlemon beautiful
 
12:37 AM
anybody ever use Hola vpn?
 
hola is a botnet
 
thats what i have read
 
crl
anna is a bot (stupid song)
 
well anybody got a vpn? worth getting , i know some places it not expensive yearly
 
crl
it's like a distant virtual machine you work on?
 
12:43 AM
private internet access is okay
 
why is people so eager to use vpn ?
something to hide ?
 
shit not available in my country
notably, netflix in Canada sucks
 
i actually didn't need for python2exe
the loose files were not more than 18MB and doesn't have to be installed
so dl'ed, unzipped, ran exe, converted script to exe, and zipped back.
 
what rlemon said ...pretty much i would think the main reason people get one
 
ah yes
 
1:25 AM
What the hell do I need to do to get YouTube to shop showing me an ad?
Anybody that says YouTube Red dies
 
Youtube red
or adblock if you suck
 
I don't have a problem with ads
I have a problem with showing someone the same ad 50 times in one day
 
normally, ads shouldn't occur at every video you're watching
and same ads ? that's the first time
i only get ads from game trailers, cars and movies. I'm happy with that
 
I think today at least half have been an ad for some McDonald's drink, and most of the rest have been for some McDonald's sandwich
Google's terrible at targeting
 
wat? TIL we don't know how bikes work
 
1:35 AM
Is this about how they stay up?
 
yup
all of my understood notions are apparently wrong
and proven so
 
I recall watching a video on it... Veritasium?
 
I have to take this information as true, because I'm too lazy to google
i'm watching this
 
ahh yeah I think I saw that
BTW, the normal suspects are at work in a bike, it's just more complicated than one thing
 
youtu.be/YHCounW3VO0?t=5m23s at this time stamp they show a bike that proves you need neither to work
I just think it is really interesting
I had just assumed we licked the whole bike thing a few hundred years ago
 
1:38 AM
"neither" which two?
 
gyroscopic force, and the front wheel pulling the bike
as the video states is the leading two 'understandings' people have
 
"front wheel pulling the bike"?
 
yea I didn't get that either.
 
castering, or something else?
 
pulling, as in, keeping it stable
 
1:40 AM
._.
 
@KendallFrey sounds familiar, I'm on the next video now
 
hah, someone just recently published a paper on evidence for a large trans-Neptunian planet
in case you hadn't heard
 
This is Genius looks like a nice channel
 
that new planet of our solar system ...
there is no hard evidence.
 
1:53 AM
Well yeah, but what is the definition of "hard"?
 
me
 
besides what I got from watching the above video
 
clear and consistent proof
and reproducible
 
Obviously it would be preferable to actually see it, but would anything less suffice?
Fun fact: Neptune was discovered the same way
please enjoy this fox confused why sheets isn't snow https://t.co/Xngzr3amDp
 
the internet is awesome
ugh, they're making a Sonic the Hedgehog movie
@KendallFrey the internet is one big circle.
I saw that on reddit yesterday, gf showed me it on her FB this morning
you're posting a tweet sent today
 
2:50 AM
Is it possible to host a blogspot and github on the same domain but own subdomains?
Could I ask such a question? This is similar stackoverflow.com/questions/9082499/…
Alternatively what about wordpress on the same domain?
 
> 30 most shocking videos ever caught on camera
these clickbait titles are getting worse
 
I think I have gotten it to work.
 
3:10 AM
8 years ago we put a rat brain into a robot
why isn't the matrix real yet?
 
3:36 AM
Blogspot vs Wordpress.com for SEO?
 
3:55 AM
good content
 
4:33 AM
medium
 
how do i do var_dump in javascript?
 
4:59 AM
@rlemon that's cool
 
@acoder I guess you mean console.log()?
 
@phenomnomnominal i know that, but i need to know what's being sentback from the facebook sdk so i can decide what to send to the back end of the server
 
Anyone have any experience with Handlebars.js?
 
Hi
 
5:15 AM
can someone help me with oauth?
 
user2620028
@rlemon reading the article it was rat brain neurons not a completely functioning rat brain
 
user2620028
Although that would have been really awesome
 
5:51 AM
@HatterisMad um, it would have been even more awesome if there was a human brain in there.
 
Hello All
How to create an array which is not instance of Array function?
Just like "arguments" in function which is an array but arguments.constructor is not "Array".
 
m59
6:13 AM
Can anyone tell why the last element doesn't scroll into view? jsbin.com/xiqeso/3/edit?html,css,js,output
@Sivakumar arguments isn't an array
It's array like
By definition (in JS), an array is a thing which is an instance of Array
 
m59
6:30 AM
// create array-like things (this is silly and useless)
function createNodeList() {
  var fragment = document.createDocumentFragment();
  return fragment.childNodes;
}
function createArgumentsObject() {
  return arguments;
}
 
Hey, i'm trying to write a script that onlick if a parent element has a chlid then add class, here's what i've got so far. any help would be much appreciated, p.s i know much code is shit: the parent element is ".pinGrid" and the child is "#pin" and the onclick is "#like"


$(document).ready(function(){
  $("#like").click(function () {
    $('.pinGrid').has( "#pin" ).toggleClass("pincard-checked");
    });
  });
 
does any one use this with WEB API??
https://github.com/danialfarid/ng-file-upload
 
@m59 I want to create simple array which should not instaceof Array.
 
6:47 AM
Hi Guys
After using ajax to get a json object
how to pass the object to a javascript function as a javascript object and obtain particular fields of the object
 
7:12 AM
o/
function myFuntion(parameter){
    //doStuffWith(parameter.property)
}
myFunction({ property: 'fooBar'})
@AdminRelative just like that ^
 
o/ Is anyone active right now who is familiar with EmberJS?
 
!!s/ who.+//
 
@Cerbrus o/ Is anyone active right now (source)
 
That might be a better question
 
???
 
7:16 AM
Only the two of us are active right now, it seems
(And I don't know ember)
 
Ah
Yeah I didn't expect much at 2 AM eastern, but I appreciate your help!
 
it's 08:16 here :P
 
I should just go to bed instead of trying to learn ember at this time of night.
 
1 message moved to Trash can
@AdminRelative Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
$.ajax({
  method: "GET",
  url: "xxxxx",
  dataType: "json",
  success: function(data){
        console.log(data)

  }
});
@Cerbrus , @CapricaSix - How to pass data which is a json object to a javascript function as a javascript object
@Cerbrus function myFunction(){}
 
7:23 AM
:|
 
There is no such thing as a "JSON object"
JSON is a format. It's always text. As soon as it's parsed into a JavaScript object, it stops being "JSON.
 
@Cerbrus what do u mean
ok
@Cerbrus - how to convert it to js object
 
{a: 1, b: "FooBar"} <-- JavaScript object
'{"a":1,"b":"FooBar"}' <-- JSON
 
hello
 
!!> JSON.parse('{"a":1,"b":"FooBar"}')
 
7:25 AM
@Cerbrus {"a":1,"b":"FooBar"}
 
user3119231
@AdminRelative json parse
 
user3119231
damn this cerbrus.
 
!!> JSON.stringify({a: 1, b: "FooBar"})
 
@Cerbrus "{\"a\":1,\"b\":\"FooBar\"}"
 
@Cerbrus - should I use var obj=JSON.parse(data) in the success function
 
7:26 AM
stringify is JS object > JSON. parse is the other way around.
 
woah that json parser is sick
 
In this case, you don't need to, @AdminRelative.
 
user3119231
jquery? I'm out
 
!!> JSON.parse('{"test":"Testing parse.", "id":1}')
 
@AdminRelative ` dataType: "json",` means jQuery will automatically try to parse the response
 
7:26 AM
@McAdam331 {"test":"Testing parse.","id":1}
 
@Cerbrus u mean I should do JSON.parse(data)
@Cerbrus and data will be a js object
 
No.
You don't need to parse anything
If you use dataType: "json"
 
user3119231
for explanation - jquery got this hard coded ajax functions which automatically can do a json.parse
 
Haha I am confused
 
user3119231
just do ajax( .. dataType: "json" .. )
 
7:40 AM
:) I still don't understand how can I give the object to a javascript function called myFunction
 
user3119231
do you get the response in a variable? If yes just do myFunction(variable) as callback
 
anyway when I do the ajax request I get an Array[4] which contains 4 json objects
0,1,2,3
labelled in this way
how do I access a particular field of a particular object
 
user3119231
Array[1]["name"], Array[2]["name"], Array[3]["name"], Array[4]["name"]
 
user3119231
 
@Maurice
@Maurice - this is how my object may look like - tiikoni.com/tis/view/?id=addbb77
@Maurice - I mean actually looks like
 
7:56 AM
Those aren't JSON objects
 
user3119231
Triple combo. Let me see.
 
Those are just objects
 
user3119231
^
 
JSON is always text
It's a text format for data
 
7:59 AM
so how do I access for example, Object 0's Related self test set's Object 0's Question
@Cerbrus , @Maurice
 
data[0]["Related self test set"][0].Question
Those variable names with spaces in them are a little annoying, but not really a problem
( data['Question'] === data.Question )
 
@Cerbrus - it doesn't work
 
lemme have another look at that screenshot...
data.GetKnowledgePointsResult[0]["Related self test set"][0].Question
Looks like I missed that first level
 
@Cerbrus - It works now
Thank you
 
That should give you a bit of a clue on how to access the other properties. Just "walk" through the object's structure, like that...
 
8:31 AM
hi
 
user3119231
hi
 
wanna read a rant / gameplay plans ?
 
user3119231
sure, why not.
 
why angularJS can't be a bit descriptive for exceptions
just tell me what's missing
grrrr
 
8:33 AM
Uploading
 
as C# developer I love working on C# extensions, what's wrong with JS developers hate anything but vanilla ?
 
user3119231
 
@Mathematics JS developers are purists at heart
 
user3119231
@Mathematics some things on this earth can't be explained.
 
@Cerbrus - why doesn't it work
 
@AdminRelative That's not valid JS
Ehm
Hm, that stire is weird
 
user3119231
@Abhishrek sounds like a lot of work. I like the idea behind this. Is this all possible to create?
 
I am half done with warps :P also its Top down so not that far fetched.
 
@Cerbrus - what is wrong
 
@AdminRelative That code seems to be okay.
 
8:42 AM
doing this all 3d would be next to impossible :-|
the hardest problem so far is still latency pilot and weapons officer do not see the same thing
there is a slight lag
 
@Cerbrus - so is it valid js - if so, why doesn't it work - it shows undefined
 
user3119231
@Abhishrek 3d games with example three.js should be possible. But performance...
 
@Maurice 3D games have a bigger physics engine to support
also in space there is no high sky or terrain, which makes maneuvering rather simple go high up and come back down if there is an obstacle preventing your approach
 
@Mathematics Hate anything but vanilla? There are a ton of frameworks and libraries that are in heavy use. I wouldn't say JS people write pure vanilla, hell, they probably write more library-specific code than vanilla.
 
user3119231
@Abhishrek this is true. No need for advanced physics, gravity + ragdoll
 
8:48 AM
@Maurice although a damage model is simpler in 3d
you want to nerf the enemy ships you can fly close by (zoom into ) the enemy ship and take the weapons out.
 
user3119231
@Abhishrek tell me if you make progress. I like the idea.
 
9:04 AM
> Oh, and your friend looks exactly like Morgan Freeman.
Hahahah
 
user3119231
I love this last sentence
 
@AwalGarg First time I'm seeing them
They look like they'd be fun to play with, though
 
@RoelvanUden when I say I don't include developers like you, who use .Net etc..
I can't name but there are majority of devs here who hate jquery, angular and al most all other extensions
 
They're just the loudest, not the majority. ;)
 
who don't like jQuery and AngularJS here, raise left hand \o
ones who do like raise right right, o/

who have no feelings raise both hands \o/
 
9:14 AM
hate is a strong word
\o
they are tools.
Some tools become obsolete
 
jQuery is almost 100% of the time not needed these days. But do I hate it? No way. I get annoyed people who use it wrong and then expect me to fix it.
 
@RoelvanUden lets see how true that is :)
 
Angular, no, it's not perfect, and yeah there are newer alternative, but I'm perfectly happy working on an angular app for my day job.
 
9:16 AM
(offtopic) For those who knows mailinator , is there such thing for SMS ?
 
9:28 AM
@Royi
 
394
Q: Did I just get hacked?

vaidI am developing a consumer product, and it is supposed to be connected to the Internet, so as expected, it is connected to the Internet so that I can properly develop it. I went away for an hour or two, and when I came back to my office I noticed some strange commands written in the terminal. L...

2
 
@samarjitsamanta ?
 
9:49 AM
samanta?
!! google samanta heroin
 
heroin??
 
actress
 
quora.com/… lol, why's this mardek "based on my interestes"/
 
10:24 AM
Can I compare two *almost* equal JavaScript Objects? One is a fresh Object coming from the API, the other one has already bean in the graph.
New one:
{"img":"harry.png","concept":null,"name":"Harry Potter","id":0,"shortname":"Harry","properties":[{"property":"job","value":"wizzard"}],"group":"#00004d}¨
From graph:
{"img":"harry.png","concept":null,"name":"Harry Potter","id":0,"shortname":"Harry","properties":[{"property":"job","value":"wizzard"}],"group":"#00004d", "index":0,"weight":31,"x":350.34331211958886,"y":437.6959773528205,"px":350.34687228671606,"py":437.6909600801045}
 
@PeterS Welcome to the JavaScript chat! Please review the room rules. Please don'task if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@PeterS So you want to compare them, you compare them and they're not identical, so the comparison returns false. Seems pretty normal to me
 
I'll quickly read the rules
 
In case the id is unique, just compare that
 
My question is if it would be possible to ignore some attributes while comparing. Like "index", "weight", "x", "y", "px" and "py", becuase these attributes belong to the object itself- they've been added by d3
I first thought id == index in d3, but this doesn't seem to apply anymore
Good input
 
10:28 AM
@PeterS Well, given that you're comparing objects, you're just comparing the references anyway, not the object contents.
So you have to write your own comparison function anyway, if you want to compare the contents. Then you can just pick the properties you want
 
user3119231
Lol I just can't figure out what the default username and password in xampp is
 
user3119231
I got this. It was only the admin password... Nevermind
 
hey i need help to develop pagination
 
@GauravAggarwal Welcome to the JavaScript chat! Please review the room rules. Please don'task if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
10:42 AM
how can I move this text to center using bootstrap ?
 
@Mathematics using class text-center
 
lovely thanks
 
i need pagination on a table but the problem is instead of using table i used div with css diaplay:table so i am unable to use bootstrap datatable please help me how can i establish pagination in it
 
@GauravAggarwal eeewww why would you do that
 
10:46 AM
@mathematic
@Mathematics Wht?
 
Hello folks! Does anybody know a good example of Backnbone.js project structure?
 
@rlemon I prefix things with _ again, it works well in practice.
 
@Maurice should have a demo up by monday highest hopes
 
@GauravAggarwal why use divs for table then use pagination, that's just doesn't make sense
 
i need to use table to make it responsive
i mean i need to use div to make it responsive
 
10:54 AM
@GauravAggarwal use jQuery datatables, they are already reponsive
so are you actually displaying a table or is it a list ?
 
I have an input button that is disabled but will change to enabled after an event. But I realized that in Firefox, when you reload the page the button doesn't change back to disabled. How can I fix that?
 
could you plz send me link?
i am displaying a table
plz send me link for jquery data table responsive version
 
!! google jquery datatable
 
@GauravAggarwal Here is a link
 
10:56 AM
thanks alot!
 
there are grids and responsive tables in bootstrap itself, but not sure why you don't want to consider them
 
i will just check
thanks
 
user3119231
@Abhishrek alpha tester here o/
 
11:20 AM
Hey, can anyone help me wthi the google api?
I'd like to put a marker on my map on my website but i only know how to do this by coordinates and not by a specific location. I need it for this position: https://www.google.de/maps/place/UGMAN+Fahrzeugreparatur+%26+Kfz-+Sachverst%C3%A4ndigen+GmbH+D%C3%B6beln/@51.1180733,13.0949713,17z/data=!3m1!4b1!4m2!3m1!1s0x47a771dcad997b75:0xd904173c0f997851

If I use the coordinates, it ownly shows a marker but not the location as on google maps
 
user3119231
germany ftw
 
So, you're german? I thought you were russian.
My life is a lie
 
user3119231
@TechTreeDev <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2504.4789325210277!2d13.094971316016133!3d51.11807334691453!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47a771dcad997b75%3A0xd904173c0f997851!2sUGMAN+Fahrzeugreparatur+%26+Kfz-+Sachverst%C3%A4ndigen+GmbH+D%C3%B6beln!5e0!3m2!1sde!2sde!4v1455189985183" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
 
There's an example specifically for markers
 
@Maurice Thank you
 
user3119231
11:29 AM
@TechTreeDev no problem.
 
hey ppl, i'm having trouble echoing a link from a db in a html anchor: here's what i've got: href="<?php echo $row['apply_link']; ?>"
 
user3119231
11:47 AM
Nice. this is a href tag with a php echo. We will need much more informations to help you.
 
user3119231
The syntax is okay. It can be a wrong database request.
 
ok, that's what i was checking, if i made an error in the syntax.
what other info do you need?
@Maurice :)
 
user3119231
For example show us how you get the array field "apply_link"
 
user3119231
And this would be php, actually. You are in JS
 
11:52 AM
php
ops
sorry :D
 
user3119231
No problem.
 
not doing so well am i :P
 
user3119231
We are the friendliest room on SO.
 
user3119231
It is okay, everyone make mistakes
 
@Maurice lol
 
user3119231
11:53 AM
@Abhishrek don't you think so? :D
 
we are trolls
 
user3119231
we are THE trolls
 
user3119231
Then this room should be renamed into "Cave 17"
 
@Maurice :D
@Maurice should I go over to PHP or show you here?
 
user3119231
You may show me here, this time.
 
11:55 AM
@Abhishrek RIP English
 
user3119231
Don't forget to hit ctrl + k if code.
 
@Maurice just got it in a pastbin: pastebin.com/u2XJTibD
 
user3119231
I will correct it and will give you the code back as soon it is finished.
 
@Maurice oh thanks!
 
@Maurice CRAVE 17
 
11:59 AM
@Maurice will it effect the while loop?
 
user3119231
calm your nuts and give me 1 minute :D
 
@Maurice hahaha, sorry!!! :D
my nuts are nuts!
 
user3119231
here you go: pastebin.com/702nJpZy updated
 
Hi
 
@Maurice oh wow, it has to be a php output.
 
12:06 PM
i am working on nodejs
need help for sessions
 
@Maurice i mean the whole thing.
 
user3119231
@AboutLeros It should work. Or?
 
user3119231
It is much easier to let the server give the client some html.
 
i'll edit the rest of it and try it :)
i took out a bunch of felids to make it easier.
 
user3119231
Try to code clear. This makes debugging easier. View the page source code to check if certain elements are created by server.
 
user3119231
12:09 PM
@littlepootis agreeing with this. :D
 
anyone ?
0
Q: Session with express in nodejs

NeiLI am working with session in express.I am unable to get it working :( Express version - 4.0.0 Problem i am facing is on client side default cookie named connect.sid is not creating itself. So session is not working. Here is the relevent code on server side. This code is running on testdev.com...

 
user3119231
Just wait a bit. If someone knows, they will answer.
 
hello , anybody have any idea about express gonna get merged into node.js
 
12:25 PM
@Maurice it didn't work for some reason.
 
user3119231
Let me try.
 
@AboutLeros found you again
 
@GourabNag Welcome to the JavaScript chat! Please review the room rules. Please don'task if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
hey, what's up? :)
@GourabNag :)
 
12:29 PM
nothing... was lurking around in the PHP room...
 
@GourabNag lol :P
 
what are you working on??
 
user3119231
@AboutLeros try this one for testing: pastebin.com/FBAWMXym 100% working
 
posted on February 11, 2016 by Axel Rauschmayer

Enough with the fatigue – tips against feeling overwhelmed: Don’t try to know everything. Given that there is always more to know, it doesn’t matter that much what you learn (unless you have a specific need). Go for depth in areas you love. Go for breadth and on-demand learning in areas you are merely interested in or think you should know more about. Wait for the critical mass. You can o

 
@Maurice thanks :)
@GourabNag this and that :D
 
12:31 PM
kk gtg brb
 
12:51 PM
Hello all...
 

« first day (1944 days earlier)      last day (2987 days later) »