• Matthew Burson

    This playlist is so well done. My gf who has never done a lot of coding before is able to follow along from the beginning and she is learning so fast. Thanks for all the great content you make!

  • Daniel Astillero

    hi dan. how to enable writing access logs when we run the index.js via node? I'm positive that there must be some sort of logs for it.

  • Aayush Pokharel

    Do you think electron better for us JS developers who also want to make apps and don't want to learn C++ or python?

  • Aayush Pokharel

    I hate how one have to buy a server in order to host the nodeJs, python files unlike applications that don't require server like static web pages which can be hosted through GitHub for free

  • Walkastray

    I had a dream where I got to meet TheCodingTrain on a field trip to a university where he was a professor for quantum computers that used Javascript. And no one but me knew who he was. 7/10 would dream again

  • 420 Blaze

    I think when you zoomed in to show the &deg i actually saw all the pixels on you screen lol

    Great tutorial by the way cant wait for part 3

  • IceMetalPunk

    Just a note: Navigator.battery is actually very outdated. The newer version is the Promise-based Navigator.getBattery(), but even that is deprecated in most modern browsers. I think Chrome and Opera are the only ones that still support it, against standards suggestions.

  • mart3323

    If you're doing ES6 syntax – you might also want to try out destructuring assignments
    This is when you pull out multiple (or even just one) of an object's properties into their own variables
    // For example
    let latitude = position.coords.latitude;
    let longitude = position.coords.longitude;
    // can be written as
    let { latitude } = position.coords;
    let { longitude } = position.coords;
    // or all together as
    let { latitude, longitude } = position.coords

  • IceMetalPunk

    If you really want to update it to ES6 style, you can wrap the getCurrentPosition function in one that returns a promise instead of using callbacks 🙂

  • morphman86

    You really shouldn't have the save functionality queried directly by the client, not even with auth. Heck, you shouldn't even have auth being requested by the client directly from the server.

    For added security, you should have a wrapping layer between the server and the client. The client asks the wrapper for the information and the wrapper asks the server. That way, no information will ever be given directly to the client. And you can handle certain things, like auth verification, without the client ever seeing the comparison data, and then just serve an auth token to the client, valid for that session only.

  • Btiwari-Games

    you are the person in this world i learned most of the things that i never had intererst on your energy is incredible…the country where i live most of my theachers think i'm dumb they have favourite students and not behave equaly with every student.. wise someday i would show your videos to them how to teach anyone..thanks to you daniel for spreding your knowledge you are always going to be my idol

  • Enjiniaokage

    I have always been more focused on back-end and low-level stuff but have been curious about the basics of web development. I'm very excited to see a series with your level of polish and teaching ability. Can't wait to see this continue!

  • Any Key

    Does getCurrentPosition() need to be passed an anonymous function or can you make a function elsewhere and pass it that to keep things modular?

    I guess I can fire up my laptop and find out.

  • Paco

    Note: warn about Geolocation API requires secure origins and trusted certificates in order to run. As you use "localhost" literally, is treated as secure origin. So as you are able to run your server from "localhost", you can test the feature. But, some dev environments uses fixed IPs, and therefore they're not able to run geolocation API.
    By the way, what about find euclidean – pythagorean distances for closest locations, 3D to cartesian (elevation), Haversine, etc for reverse geo, specially when not third party APIs or map abstractions need to be used (didactic purposes).
    Thanks, great job. Gracias, gran trabajo.

  • getOrvillized

    Great stuff! You've made working with Node seem a whole lot less scary. I'm really looking forward to the next installments! 
    You got me off my behind, installing Node.js, the express package, and messing with a node server.
    Note: when I ran in Safari on my iMac, it would not allow me to use geolocation even though I was using localhost:3000.
    I ran on Chrome like you did, and what was weirder here was that it never asked for my permission to use Geolocation… it just worked! Somehow, I don't think that is supposed to happen!
    FYI: Info on GPS/geolocation on non-mobile devices: https://www.quora.com/Do-all-laptops-have-G-P-S

  • john mwansa

    mr Daniel pls we need the video for mobile phone any mobile how mobile phone connect to data for wich is PC pls we need that

  • Deluxe Grove

    geolocation doesn’t work for me 100% of the time, it sometimes times out before it can retrieve my location, and even after multiple refreshes, it still keeps timing out

  • Zooey105

    Hey Dan!! Love your videos, for anyone else watching and wants to see some more arts-based use of Processing (or dissimilar to Dan's coding style in that he explains everything and I don't lol) check out my channel!

  • Victor-Marius Pîrvan

    I've used it two years ago on mobile and it worked better than Google maps 😂. It worked even on a Nokia phone

  • Adi Vid

    For me, the most grateful things that I found in your channel is that you explained the long process in the beginning and then you explained the more effective way to write the code. It really helps me to understand it and be creative in the future. Thanks!

  • John Sourvinos

    Now we know where to send the missiles! Mwahahaha! +1 subscriber from 39°38'N 19°55'E Locate this is one, if you can and call me back!

  • Renee S. Liu

    Super awesome video! Learned a lot as a beginner! Thanks for all the fun and knowledge you are emitting! fo (let stuff of ['bunch of stuff you can try – suggested by Daniel]'){
    timeTakes(stuff) = 5+ hours
    But so worth it!

  • Anais Guillaume

    i need to get information from a data lake through an api rest but the problem is that i have to passe a token for each request in order to get the infos

  • Dan Reznik

    This has been one of your most brilliant videos! Congrats! Years ago I used to hang out at NYU CS dept (w/ Ken Perlin, is he still around?) Hello Waverly Place!

  • Alhaitham Al Jabri

    You are my hero Sir. Much respect for your amazing way of teaching.
    You are a gifted talented instructor. Thank you so much!

  • George Zafiris

    A nice module to add in future videos will be "nodemon" so you won't have to restart the server every now and then! Spectacular content and explanation! +1 Sub!

  • Dominic Victoria

    For those you still don't get it.
    Node's js code runs on node.exe on server computer. That server computer has some html, css, js files somewhere in its storage. The server program(Node with your index.js) waits for request data from the network(most likely from the internet). You can tell Node what to do with certain requests in your index.js
    You can make servers with other programs and programming languages as well.

    client's js code are some of the files that Node gives out to the user's browser when they need it. It doesn't run in your node or server computer. It's just a text file. Which is requested by the user along with html and css files.

Leave a Reply

Your email address will not be published. Required fields are marked *