Teaching Newbies since 2014

kauress

  • Home
  • Javascript ❀
    • JavaScript
    • Node.js
  • WebDev Tuts
  • screencasts
  • Resources
  • VR & AR
  • Contact
  • Github
  • Twitter
  • YouTube
  • RSS
  • C++
You are here: Home / Archives for Web Dev

August 9, 2020 by: Kauress

Understanding the call stack

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.

[ Read More ]

May 24, 2020 by: Kauress

💟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

[ Read More ]

May 17, 2020 by: Kauress

Code Cadet Outit

Code_Cadet_Outfit

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

[ Read More ]

April 9, 2020 by: Kauress

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

[ Read More ]

January 29, 2020 by: Kauress

50 #javascript interview questions

[ Read More ]

September 28, 2019 by: Kauress

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.

[ Read More ]

September 27, 2019 by: Kauress

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

[ Read More ]

September 22, 2019 by: Kauress

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

[ Read More ]

September 18, 2019 by: Kauress

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

[ Read More ]

September 8, 2019 by: Kauress

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

[ Read More ]
  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • …
  • 6
  • Next Page »

Copyright © 2021 Β·Kauress