What is the call stack? An understanding of the call stack will allow you to understand how execution order in JavaScript works. JavaScript is a single-threaded language; this means that it handles one task at a time. JavaScript code is executed by the JavaScript engine. Googleβs V8 engine is an example of a popular JavaScript engine, there are others such as the SpiderMonkey and Rhino.
💟Astrid learns JavaScript
This past month I’ve been working with an animation studio in Utah to help create a course on JavaScript for kid! It’s been a lot of fun! See the trailer here! https://vimeo.com/storyboxentertainment/review/408998377/d003cca7d9 https://vimeo.com/storyboxentertainment/review/408998377/d003cca7d9
Code Cadet Outit
I’ve always wanted a dev tech outfit for myself. Imposter syndrome aside, coding is a lifestyle. A lifestyle where you sit for long periods of time and it’s really irritating to pull up your pants so that they don’t scrunch at your knees when you sit down π I wanted to make it official, nothing wrong with jeans, track pants and t-shirts. But I was
SailorMoon Pose Signup/Login #machinelearning
Took me a day to finish the above + read on posenet and have it running on a local server. My webcam on my laptop isn’t all that great but should suffice for the time being. Below are steps for the project so far: Use getUserMedia method of the web media API to detect a webcam and get permission from the user to stream video
50 #javascript interview questions
Udemy milestone reached
Time to change the footer on this blog which says 7000+ and make it 10,000+! I’m happy to say 4 years later I’m still doing what I intended to do which was to lower the entry barrier into coding by project based learning.
Sweet & Sour mongoose.js methods β 3
A short snippet to assist in linking of social media accounts in a userschema when using mongoDB & mongoose.js async function generateOrFindUser(accessToken, refreshToken, profile, done) { const email = profile.emails[0].value; const name = profile.displayName || profile.username; const facebookId = profile.id; if (email) { let updatedUser = await User.findOneAndUpdate({facebookId},{email,name,facebookId}, {‘upsert’: true, ‘new’: true}, done); } else { var emailError = new Error(“Your email privacy settings prevent
Pose Recognition Signup/Login with tensorflow.js #machinelearning
This is the next project in sequence to: Simply Auth: Authentication API for devs Simply Auth:Β Social platform authentication API for devs Sailor Moon Pose Recognition Signup/Login (on going….) The most basic functionality of the app will be: Register with a sequence of 3 poses Confirm your poses Login with your pose password I decided to go with pose instead of gesture since I
Sweet & Sour mongoose.js methods β 2
This is part of the ‘Sweet & Sour mongoose.js methods’ series. In this function we will write a method that acts upon the UserSchema to check whether an email OR username already exists in the database. As an example use-case, this method can then be used in the any of your routes files by exporting the “User” to check whether an email address already exists
Sweet & Sour mongoose.js methods β 1
I’ve been using Mongoose (ODM library for MongoDB) quite a bit for the authentication project. NoSQL databases like MongoDB do seem more flexible for web apps which depend quite a bit on user interaction. Example a user might decide to login with a social media account or register with their email, a password and secret question-answer. I find it way easier to write a mongoose
- « Previous Page
- 1
- 2
- 3
- 4
- …
- 6
- Next Page »