Open in app

Sign in

Write

Sign in

Zac Smith
Zac Smith

135 Followers

Home

Lists

About

Dec 10, 2020

Interview Question: Explain the differences of const and Object.freeze() in JavaScript?

Today I have a job interview and was asked a question that caused my mind to … well echo the sounds of silence. It is a simple one in retrospect. Explain the differences of const and Object.freeze()? As we learn JavaScript we learn fairly quick that const makes a variable binding immutable. What that means is that…

JavaScript

2 min read

Interview Question: Explain the differences of const and Object.freeze() in JavaScript?
Interview Question: Explain the differences of const and Object.freeze() in JavaScript?
JavaScript

2 min read


Dec 7, 2020

Error ‘blocked:csp’ using NodeJS, ExpressJS, and EJS

You are chugging along, writing a server side application, for me using: Node: 12.19.0 Cors: 2.8.5 Helmet: 4.2.0 Express: 4.17.1 Everything goes well until you refresh your app and it fails to load a linked image, and upon inspection you find something that looks like this!

Nodejs

2 min read

Error ‘blocked:csp’ using NodeJS, ExpressJS, and EJS
Error ‘blocked:csp’ using NodeJS, ExpressJS, and EJS
Nodejs

2 min read


Oct 7, 2020

Helping software students contribute during Hacktoberfest!

October is a wild month! A month that is filled with candy, fright, and open source? …

Hacktoberfest2020

3 min read

Helping software students contribute during Hacktoberfest!
Helping software students contribute during Hacktoberfest!
Hacktoberfest2020

3 min read


Aug 1, 2020

Use cron package to automate in NodeJS

Cron has a long history in computing and comes with many terrifying and amazing stories. This tutorial will demonstrate how to build a simple Node app using an Express server to run your cronjob. It has a ton of automation potential, and once you get the hang of using cron…

Nodejs

2 min read

Use cron package to automate in NodeJS
Use cron package to automate in NodeJS
Nodejs

2 min read


Mar 7, 2020

Space X Missions using API, Axios and React

The hard part of becoming proficient with React is getting used to someone else's workflow. This is the bane of instruction, how do you teach someone without making the workflow the focus. …

4 min read

Space X Missions using API, Axios and React
Space X Missions using API, Axios and React

4 min read


Oct 3, 2019

Using the ‘What Does Trump Think’ API : Part 2

If you have not read Part 1, please do so before continuing. Picking up where we left off, we have a simple react app that renders the highly impressive ‘Testing from app”. The next goals are: correct title, favicon and font include a Trump image that will ‘talk trash’ using…

JavaScript

3 min read

Using the ‘What Does Trump Think’ API : Part 2
Using the ‘What Does Trump Think’ API : Part 2
JavaScript

3 min read


Sep 16, 2019

Using the ‘What Does Trump Think’ API : Part 1

When we try to learn, it seems that the world is both our oyster and the Great China Wall! We often hear the adage that ‘practice makes perfect’, only to have someone say ‘no, perfect practice makes perfect!’ Learning how to work with an API is tough, but working with…

React

4 min read

Using the ‘What Does Trump Think’ API : Part 1
Using the ‘What Does Trump Think’ API : Part 1
React

4 min read


Sep 9, 2019

How to kill NodeJS hanging processes in Linux.

I love Linux, and have for several years. I enjoy so many things about the structure and culture, though when I started learning to build APIs using node I experienced an issue! Completing my lessons, I build server after server and at times I get an error that the PORT…

Nodejs

3 min read

How to kill NodeJS hanging processes simply in Linux.
How to kill NodeJS hanging processes simply in Linux.
Nodejs

3 min read


Sep 7, 2019

A discussion on greedy algorithms

The ‘Greedy paradigm’ or greedy algorithms are part of a programmers toolbox. The tools include the a.) divide and conquer algorithms, b.) randomized algorithms, c.) dynamic programming and d.) greedy algorithms. The term greedy algorithm is a misnomer, greedy is really a technique rather than an algorithm. According to Hackearth…

Algorithms

3 min read

A discussion on greedy algorithms
A discussion on greedy algorithms
Algorithms

3 min read


Aug 17, 2019

A week in the life of a Lambda School Team Leader …

Life brings us interesting opportunities! I have been a full time student for nearly a decade, and have had many opportunities that I will always cherish. Whether it was research projects, teaching university CS or, now, working as a full time (8 weeks) team leader for Lambda School. I have…

Startup

2 min read

A week in the life of a Lambda School Team Leader …
A week in the life of a Lambda School Team Leader …
Startup

2 min read

Zac Smith

Zac Smith

135 Followers

Full Stack Software Engineer and Founder of Sendmea (https://sendmea.io)

Following
  • Ramon Williamson

    Ramon Williamson

  • Jenn Leach

    Jenn Leach

  • Abena Talks

    Abena Talks

  • Neeraj Dana

    Neeraj Dana

  • Code.org

    Code.org

See all (207)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams