Open in app
Home
Notifications
Lists
Stories

Write
Sean LaFlam
Sean LaFlam

Home
About

Pinned

Building a Recommendation Algorithm in Ruby on Rails (Part 2)

Continuing Where We Left Off — Continuing Where We Left Off If you have not yet completed the steps in Part 1 of setting up a Rails environment and pulling down the data from the API, please go back and read my last article here. Assuming you’ve completed these steps, let's continue on to the next part. Creating Custom Attribute Values for Each Game As mentioned in the…

Recommendation System

7 min read

Building a Recommendation Algorithm in Ruby on Rails (Part 2)
Building a Recommendation Algorithm in Ruby on Rails (Part 2)

Pinned

Building a Recommendation Algorithm in Ruby on Rails (Part 1)

Using Ruby’s Vector class, and some custom Rails methods — Using Ruby’s Vector class, and some custom Rails methods The Types of Recommendation Systems There are 2 widely used systems to recommend products to customers, whether that product be physical goods like Amazon sells, television shows or movies like Netflix, or even other user’s profile pages like Facebook. Collaborative Filtering Collaborative filtering compares the likes, dislikes, and…

Ruby

4 min read

Building a Recommendation Algorithm in Ruby on Rails (Part 1)
Building a Recommendation Algorithm in Ruby on Rails (Part 1)

Published in Geek Culture

·Pinned

Is There Any Reason to Still Use React Class Components?

A Look at Functional vs Class Components with React Hooks — Nope. Thanks for reading! . . Oh I have to explain myself? Alright fine… Quick Background So when I first learned React, you had to make a choice when creating a component. You could create the component as a simple function that returns some JSX (hence its called a Functional Component), or…

React

3 min read

Is There Any Reason to Still Use React Class Components?
Is There Any Reason to Still Use React Class Components?

Jun 23, 2021

Creating Meaningful Charts in Amplitude

Recently, I have been working on more analytical side of web development, and have really been trying to understand what drives different… — Recently, I have been working on more analytical side of web development, and have really been trying to understand what drives different user behavior. Specifically, I have been focusing on one question that I find extremely interesting: “Which user action is more correlated to user retention at the 1–months and…

5 min read

Creating Meaningful Charts in Amplitude
Creating Meaningful Charts in Amplitude

Published in Geek Culture

·Jun 15, 2021

What is a Higher Order Component?

A detailed explanation of React’s system for reusing component logic — A detailed explanation of React’s system for reusing component logic Have you ever been working in a codebase or been watching a tutorial online and come across something that looks like this: export default withResponsive(Home) Well then you already have encountered a Higher Order Component whether you’ve realized it or…

React

5 min read

What is a Higher Order Component?
What is a Higher Order Component?

Published in JavaScript in Plain English

·Jun 9, 2021

How to Add Analytics to your React Application

Using Amplitude’s npm library — Using Amplitude’s npm library Amplitude Amplitude is a data analytics startup that aims to make adding analytics to your web or mobile app simple and easy. It is a Y Combinator company and has backing from some major VC firms such as Sequoia. Due to its effectiveness and simplicity, they have…

Java Script

4 min read

How to Add Analytics to your React Application
How to Add Analytics to your React Application

Published in Geek Culture

·Jun 4, 2021

Redux with React’s Functional Components

How to use Redux’s useSelector and useDispatch hooks — Before reading this you should familiarize yourself with what Redux is and how to use it in React class components. Setup Start by creating a new react app. I’ll be using a package called Redux Toolkit to get the shell of the app set up quickly. If you’d like to do…

Java Script

3 min read

Redux with React’s Functional Components
Redux with React’s Functional Components

Published in JavaScript in Plain English

·May 27, 2021

Using Redux and Firestore in Your React Web App

Redux is a state management framework and Firestore is a NoSQL database provided by Google — Redux Intro Redux is a state management tool for JavaScript, that makes it much simpler to maintain state in your application. It is especially useful in React applications because it lets you avoid the behavior of passing props down through many different child components until it reaches a deeply nested component that…

React

6 min read

Using Redux and Firestore in Your React Web App
Using Redux and Firestore in Your React Web App

Published in JavaScript in Plain English

·May 21, 2021

Best Practices for Passing Props in React

One of the nicest things about React’s component style of coding is the clear relationships defined between parent and child elements. — Introduction One of the nicest things about React’s component style of coding is the clear relationships defined between Parent and Child elements. Very often you will run into a scenario where a Parent component is responsible for rendering a Child component with different characteristics or display properties depending on some action…

React

4 min read

Best Practices for Passing Props in React
Best Practices for Passing Props in React

Published in Level Up Coding

·May 16, 2021

Git Stash and Git Rebase

When to use them and how to handle merging your code to master — When I was first learning to code, I would be the only engineer working on an app. …

Git

4 min read

Git Stash and Git Rebase
Git Stash and Git Rebase
Sean LaFlam

Sean LaFlam

NYC -> Austin / SWE -> PM

Following
  • Jesus Rodriguez

    Jesus Rodriguez

  • Rebecca Franks

    Rebecca Franks

  • Dario Radečić

    Dario Radečić

  • Rebecca Vickery

    Rebecca Vickery

  • Capital Factory

    Capital Factory

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable