Skip to content

Instantly share code, notes, and snippets.

View Riizade's full-sized avatar

Adam James-Liebau Johnson Riizade

  • San Francisco, CA
View GitHub Profile
from queue import SimpleQueue
from dataclasses import dataclass, field
from pprint import pprint
@dataclass(frozen=True, eq=True)
class Point:
x: int
y: int
@dataclass
@Riizade
Riizade / learning-to-code.md
Last active July 24, 2024 01:10
Advice for people learning to code for the first time.

Anyone Can Code

It doesn't matter if you're bad at math. It doesn't matter if you're bad with technology. Everyone starts from a different place, but they all get where they're going eventually.

A thing I heeard a lot at university was that in the first year, there was a small difference in ability between the kids that started learning to program in middle/high school, and the kids that started with their first university course. By the end of year 4, there is no difference, the distribution of proficiency is pretty much entirely uncorrelated with where they started 4 years prior.

The point being, it doesn't matter if you never learned your multiplication tables and this is the first time you've ever touched a computer. If you stick with it, you'll figure it out.

Method and/or Madness

@Riizade
Riizade / arpgcraft-install.md
Last active June 25, 2023 15:18
How to install and run ARPGCraft to play on my custom Minecraft server
@Riizade
Riizade / language-learning.md
Last active October 9, 2023 13:36
Resources for learning languages. A few extra resources for Japanese specifically.

Disclaimer

I'm not an expert on language learning. I barely speak my native English, and sometimes I don't do the good speak the English. But I did spend a bunch of time doing internet searches and making Anki decks instead of actually studying, so hopefully some of that is helpful.

Resources

Books

My collection generally includes both textbooks and books to read in the given language.

Subtitles

@Riizade
Riizade / P2P Card Game Anticheat.md
Last active October 17, 2022 19:46
as described on the tin

Peer-to-Peer Anticheat

A matchmaking server exists just to set up two players and establish NAT punchthrough (if I ever don't want to host it anymore, I should release the spec and the matchmaking server source code)

Once players are connected, the clients must not be aware of hidden state for other players (hand, deck order, etc) or for themselves (deck order, etc)

Basic Overview

Each player instead sends a hash of each card and its state to each opponent's client

@Riizade
Riizade / advice-directory.md
Last active September 5, 2023 16:56
Career advice compilation and table of contents.

Preface

This document is a list of all the career advice I've written to help people out in various stages of their software career.

I recommend reading all of them because I think they all contain useful information, but obviously you can just read the ones that seem most relevant to your situation, or read none of them at all.

Learning to Code

https://gist.github.com/Riizade/57d075ccaeb7063a64a4702bce89bb0c

@Riizade
Riizade / starting-out.md
Last active August 9, 2023 02:54
Beginning a career in software engineering.

Preface

This document is intended to provide concrete, helpful advice for people entering into the software engineering industry who do not yet have recruiters stuffing their email inboxes.

When I say "top-tier" in this document, it's meant solely to refer to the relative level of compensation between companies for tech employees. It's not meant to imply any sort of qualitative or moral difference between them, or even imply that working for a "top-tier" company is better than working for a non-"top-tier" company. It's just shorthand for compensation.

The Multi-Tiered Industry

Due to various social, economic, cultural, political, and bullshit factors, the tech industry has several clear tiers in terms the the quality of positions that can be obtained in the field. This isn't fair, it doesn't make sense, and it sucks, but my goal with this document is to inform you of the way I see the industry, and make sure you have the right information to make informed decisions about your career.

@Riizade
Riizade / student-advice.md
Last active July 6, 2023 18:46
Advice for current students pursuing Computer Science and/or Engineering degrees with the intention of beginning a career in software engineering/computer programming.

Preface

This advice pertains primarily to university students with the intention of beginning a career in software engineering after graduation. Your mileage may vary in other contexts.

Do Not Stress Out About Grades

For most of your life, you've probably been in a formal education system that prioritizes grades over everything else.

Great! Get good grades if you can! Pay attention in class and do your best to learn your class material; it will probably be much more important than it seems to you now.

@Riizade
Riizade / progenitor-gate.md
Last active September 22, 2022 18:46
Progenitor Gate homebrew sci-fi setting

Humanity has always looked to expand its horizons. It started on foot, traveling across land to hunt and forage for food. Soon it became horses to venture ever further, and ships to cross the seas. Eventually, humankind developed flight, and their world began to feel small. So they looked to the stars.

Soon after taking flight for the first time, humans reached the moon. Then other planets in their solar system. Then finally, beyond. However, humans were fundamentally limited by the speed of light, a physical constant that constrained their travel. It took human explorers over 5 years in a spaceship to reach the nearest star, Proxima Centauri.

They were nothing if not determined, however. Humanity began building ever-bigger spaceships for ever-longer journeys, eventually culminating in the “Generation Ships”, massive starships the size of the Earth’s moon designed to ferry hundreds of thousands of travelers across the stars as they grow old, die, and have children to continue their journey. Several generati

@Riizade
Riizade / japanese-study-guide.md
Last active December 19, 2022 11:14
A rough guide to studying Japanese based on my personal experience.

Japanese Study Guide

This document can be found at this url: https://gist.github.com/Riizade/6f391084eb779a83e4e7c4a80e4d7ec4

In no particular order, here are various learning materials and methods I used to study Japanese. Read what you like, take what you like, and ignore anything you don't.

Also, I don't speak Japanese, so maybe this whole guide sucks.

You can find digital versions of some of the content in my collection here: https://drive.google.com/drive/folders/135lGOJdEP8bToB08NrNU-AIHJ7mDVWXx?usp=sharing