Open in app

Sign In

Write

Sign In

Lydia Gregory
Lydia Gregory

45 Followers

Home

About

Nov 9, 2020

Web Development, Psychology, and Design

How intersections of my interests are informing my career — If you’re familiar with my background, you know that software engineering was not always on the horizon for me. As a Cognitive Science major in undergrad, I took classes like Sociolinguistics, Philosophy of Happiness and Rational Choice, and Brain Systems Involved in Memory. …

Personal Development

4 min read

Web Development, Psychology, and Design
Web Development, Psychology, and Design
Personal Development

4 min read


Oct 30, 2020

Go Fish: Functional State with React Hooks 🎣

Why use Hooks? Class components aren’t going anywhere so the old way of working with is still completely legitimate. So why is everyone telling you to hop on the bandwagon and start using hooks instead? Reduce the need for more than one type of component (no more class components) Save time refactoring components…

React

3 min read

Functional State with React Hooks 🎣
Functional State with React Hooks 🎣
React

3 min read


Published in The Startup

·Oct 25, 2020

A Simple Guide to Enum’s with Rails

What An enum is a special data type that allows you to declare and query data with string variables but stores an integer in the database. You can think of an enum as being able to set a variable to a value (for Ruby on Rails, its an integer value). …

Enum

2 min read

A Simple Guide to Enum’s with Rails
A Simple Guide to Enum’s with Rails
Enum

2 min read


Published in The Startup

·Oct 16, 2020

The Basics of CSS Positioning

Positioning lets you take specific elements our of the normal document flow and change their behavior. Below is guide on how each one works, with examples to boot. Syntax The CSS code looks pretty similar regardless of the type of positioning your design requires: .positioned { position: relative…

CSS

3 min read

The Basics of CSS Positioning
The Basics of CSS Positioning
CSS

3 min read


Published in The Startup

·Oct 13, 2020

Adding Responsive Site Design

While it’s easier (and better practice) to design and style your app for various screen sizes from the beginning, it IS possible to add responsive design to your projects after you’ve begun. Want to retroactively add responsiveness to an existing app? Here are 6 tips to get you started. Background Learning…

Responsive Web Design

3 min read

Adding Responsive Site Design
Adding Responsive Site Design
Responsive Web Design

3 min read


Published in The Startup

·Oct 9, 2020

An Introduction to Polymorphic Associations in Rails

The Polymorphic association is a Ruby on Rails feature that gives us the freedom to structure model relationships based on real life. This means building cleaner more semantic databases. In a polymorphic association, a model (Model A) can belong to either one model or another (Model B, Model C, Model…

Polymorphism

4 min read

Polymorphic Associations in Rails (with example)
Polymorphic Associations in Rails (with example)
Polymorphism

4 min read


Sep 29, 2020

Protecting Applications from CSRF attacks with Ruby on Rails

What is a CSRF Attack? CSRF stands for a Cross-Site Request Forgery attack. Through malicious links on websites, popups, emails, etc., users are tricked into unknowingly performing malicious actions of the attacker’s choosing. Because it sneaks malicious actions into requests of users that are authenticated, I like the think of CSRF attacks as parasitic. The…

Ruby On Rails

2 min read

Protecting Applications from CSRF attacks with Ruby on Rails
Protecting Applications from CSRF attacks with Ruby on Rails
Ruby On Rails

2 min read


Published in The Startup

·Sep 26, 2020

I Used the Skills I Learned at a Coding Bootcamp to Fill in the Gaps in Its Curriculum

Bootcamps teach you how to code in a short and intense program. As a 2020 Bootcamp grad, I know how to use the newest iteration of frameworks like React and Ruby on Rails, but I don’t know what the older versions of these frameworks were like, or how they’ve changed…

Bootcamp

2 min read

I Used the Skills I Learned at a Bootcamp to Fill in the Gaps in Its Curriculum
I Used the Skills I Learned at a Bootcamp to Fill in the Gaps in Its Curriculum
Bootcamp

2 min read


Sep 18, 2020

When a Full-Stack Software Engineer Decides to Build a Freelance Website

Last week, a freelance web design opportunity fell into my lap. An author/friend-of-a-friend found out that I was, in fact, a web developer and she asked me to build her website. Like most things in life, you don’t know what you don’t know, and this project for me was no…

Freelancing

4 min read

When a Full-Stack Software Engineer decides to build a freelance website
When a Full-Stack Software Engineer decides to build a freelance website
Freelancing

4 min read


Sep 11, 2020

Animations and the Anatomy of Keyframes

If you’re familiar with my other writings or coding projects, you already know that styling is a source of joy. However, even while embracing CSS in all it’s complexity, I was still quite intimidated by animations until recently. If you are like me, finally mustering the courage to tackle CSS…

Animation

2 min read

Animations and the Anatomy of Keyframes
Animations and the Anatomy of Keyframes
Animation

2 min read

Lydia Gregory

Lydia Gregory

45 Followers

Full-Stack Software Engineer, Designer, and salsa dancer.

Following
  • The NYT Open Team

    The NYT Open Team

  • Danny Sapio

    Danny Sapio

  • The Atlantic

    The Atlantic

  • Nolan Dyke

    Nolan Dyke

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech