Skip to content

Instantly share code, notes, and snippets.

*Conferences 2020*
- Write/Speak/Code
- React Conf
- RailsConf 2019
RailsConf 2020 will be in Portland, OR from May 5-7! See you there!!
Reactathon 2020
Mar 30 – 31, 2020

1. Where do I get started? Or, I just finished a session, how do I look up x topic?

  • Suitable if you're learning how to code && developing your algorithmically-thinking skills at the same time
  • Prefer visualizations? Vaidehi Joshi at BaseCS (https://medium.com/basecs) writes excellent weekly blog posts - her notes are colorful and help you visualize.
@kattak
kattak / dynamicprogramming08.28.2017.md
Last active September 27, 2017 11:43
Aug 29 WWC Technical Interviewing and Algorithms Workshop - focus: Dynamic Programming
@kattak
kattak / Enterprise React Apps.md
Last active July 26, 2017 06:04
Notes on enterprise React apps

Sift Science

1. Do more in componentDidUpdate

  • imperative vs. declarative
  • imperative: how you want to achieve
  • declarative: what you want to achieve
Declarative - often seen with:
  • i.e. promises
  • immutable objects
@kattak
kattak / Redux.md
Last active July 25, 2017 20:41
Notes from watching Redux creator's videos on egghead.io https://egghead.io/lessons/javascript-redux-the-single-immutable-state-tree

Two principles of Redux: (1) the single immutable state tree (2) the state tree is redundant

1. The Single Immutable State Tree

  • Represent the whole state of app as a single JS object
  • All changes and mutations to state are explicit
  • State or state tree: everything that changes in your app is contained in this object

2. The State Tree is Redundant (?)

  • Dispatch an action: change the state
  • Rec: use strings because they are "surorizable" (serializable?)

April 22, 2017

Recreating RSpec

Idea from WAT guy

describe MeetupUser do
...
end 
@kattak
kattak / WWC Algorithms Workshop 03.13.2017.md
Last active August 7, 2019 08:27
WWC Algorithms Workshop 03.13.2017

Algorithms/Technical Interviewing Workshop - March 13, 2017

Women Who Code - East Bay Gist link bit.ly/wwcberkeley

What is the Algorithms/Technical Interviewing Workshop?

Every two weeks, I lead technical interviewing/algorithms workshops with Women Who Code - East Bay. The workshops are held every other Monday at NextSpace, right next to downtown Berkeley BART. For more information or to sign up, visit the Women Who Code East Bay Meetup page.

1. Introduction & overview

People are working on games, image processing, nails, leading workshops, and React.

@kattak
kattak / Thinking in React.md
Last active July 26, 2017 19:22
High level overview how to write a React app, and overview of tricky .bind and this.props
@kattak
kattak / React Virtual DOM and Synthetic Events.md
Last active July 26, 2017 18:31
Why is React faster than other JS frameworks such as Angular or Ember? Its implementation of a *virtual DOM* and *synthetic events*

React's Virtual DOM

-One reason React is so fast

Why are UIs difficult to build?

  • Humans are in a loop
  • Hard to test, doesn't look/feel right when there's a bug
  • Lots of state, seems simple to user, but lots of complexity under the hood
  • Tooling mismatch: front-end tools not as good as back-end

Thoughts:

@kattak
kattak / linkedlists.md
Last active June 30, 2017 21:07
Why are linked lists important, and where are they used?

Linked Lists

What is a vector?

std::vector

  • One dimensional array

Pointers

Expanding Vector Example

  • Cache efficiency of a vector