Sign in

Full Stack Dev. Data Scientist. Ruby, Python, React, AWS. Interested in crypto and economics. Toronto. chris.i.the.data.guy “at” gmail.com

Hint: Don’t start with math

Photo by Andrea Piacquadio from Pexels

Learn the basics of Python

  • loops
  • if and else


You’re missing out on the fastest way to grow

Pair programming
Pair programming
Photo by Christina Morillo on Pexels.

Pairing Is the Fastest Way To Level Up


Simple answers based on my experience as a machine learning consultant to startups and entrepreneurs

Photo by Andrea Piacquadio from Pexels

Do I need a lot of data to use machine learning?


Don’t waste days, weeks and months like I have

Photo by ThisIsEngineering from Pexels

Stay away from unsupervised learning



Bitcoin

More than you think. Mining powers the whole platform

Photo by Tima Miroshnichenko from Pexels

Miners start with a record of Bitcoin owned by each user


So you can auth users from React, Angular or Vue frontend apps

Photo by ThisIsEngineering from Pexels

Setup


Updated thoughts on why you should use factories instead of classes in JavaScript

Photo by Pixabay from Pexels

Public properties on class instances present a security concern (and how to avoid it)

class Car {
constructor(maxSpeed){
this.maxSpeed…


The best way to create a type attribute on your ruby on rails models

Photo by Karolina Grabowska from Pexels

Enums are constant mappings of values to integers

An enum example, as defined in a model

enum item_type: {
fruit: 0,
vegetable: 10,
meat: 20,
bread: 30
}

An alternative: constant hashes


Skip the library and roll your own hot keys

Photo by Pixabay from Pexels

Add an event listener

window.addEventListener(
'keyup',
hideDisplay
)

Write a function to be called by the listener

Chris I.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store