# Career Path Created: [[2024_01_08]] 21:03 Tags: #Career ![[Career Path.excalidraw.svg]] Hi! I’m Nick Perez, and I’ve been a software engineer professionally for 9 years and unprofessionally since around 13 years old. My most recent job was at a startup called AgileMD (YC S11) for 5 years. I started out as an intern, eventually going full time mostly as a front end software engineer but after a couple of years was promoted into my final full-stack role. I very much enjoy the work available within a startup environment, the many hats you can wear and how there is always something new to work on! Personally, I aim to be [[T Shaped Skills|"T" shaped]] where I have depth in web tech yet breadth across a wide range of other skills. In making things, there is a tension between [[80 - 20 Rule|getting things done]], and [[If you are going to do something, do it right|doing things right,]] as an engineer, my job is to know which to optimize within the right context. I've always been fascinated that despite computers being invented by people, there isn't a single person who completely understands the entirety of a computer. From the circuit design, to assembly, to a browser is quite a breadth of things to master, and as we learn the fundamentals we are able to see the patterns in reinvention. I am deeply passionate and interested in technology, anything from [[Mac Mini HTPC|self hosting my own servers]], to [[AirGradient DIY|soldering an air quality monitor]], and even [[Nibble 65% Keyboard|building my own keyboard]]. The following are a list of projects that I got the chance to work on. ## Work experience ### BlockNote - 2 years I worked at BlockNote as the lead software engineer for 2 years. The project was originally just as part of a Jupyter Notebooks like research project called TypeCell. The editor was based on Tiptap, but split out to make a block-based editing experience like Notion. The project sort of took off with people wanting it to be their main rich-text editor, since it skipped you having to build out everything from it's base layer (and my previous employer) Tiptap. We essentially started the company bootstrapped from the founder's previous exit. It was impeccable timing too given that the EU was looking to invest in more sovereign technology in an aim to be less reliant on the US. #### Version History & Suggestions One of the largest projects I've ever done. Version history is being able to see past edits to a document and compare them with other past versions and have those changes be visible within the document with attribution as to who made the change. Suggestions is the ability to suggest changes that should be made to a document, which is kind of like proposing the next version of the document and diffing those two documents. This project required collaboration with Kevin Jahns, creator of Y.js to implement attribution of content to Y.js 14, rewriting the y-prosemirror binding with a completely different architecture, and rewriting BlockNote's integration with Y.js to support the new changes. #### Editor Architecture Given that this project was borne out of a research project, it made the editor's architecture... haphazard, to say the least. I needed to plan out how everything should be built towards, and enable the extension of new content types: blocks, and offer an extension system to enable new behaviors. ### Tiptap (YC S23) - 1 year I worked at Tiptap for 1 year, I loved the team, the company and the product. I only left because I was offered a job at a company which I could have a hand in building from scratch, BlockNote (aligned with my [[My Vision|my business values]]) and was not remote (it is lonely in a new city). #### Customer Support & Technical Sales During my time at Tiptap, we were in the age of GitHub Copilot autocomplete being the state of the art. As such, there was not an AI assistant that could answer questions for you, so Tiptap had a very active Discord community with a range of expertise from beginner to experts, helping each other. There was also customer emails for support with SLAs, private Slack channels for higher-tier customers, and prospects that wanted to see if Tiptap was a fit for them. I would join on sales calls to help determine whether Tiptap was a good fit for high profile customers, as well as develop PoC for specific customer needs if they identified a feature that was important to them but we did not have it yet. This was honestly one of the most satisfying parts of working at Tiptap, that because of the widespread usage of the project, there were many people bringing interesting problems to the table and I was given free reign to ship important updates. I had never been apart of sales calls before, but I very much liked the angle that I had in it, being proposed technical problems and assessing on the spot whether they were feasible, coming up with architecture documents and guides on how to achieve their goals. #### Snapshot Compare This is the hardest technical project I have ever worked on. [Snapshot Compare](https://tiptap.dev/docs/collaboration/documents/snapshot-compare) is a feature where you can have two versions of a document and need to compare them and display the changes (and who made them) directly within the editor. This is hard for two separate reasons: extracting attribution metadata within a CRDT data structure like Y.js had never been done before, and displaying results within a document with arbitrary schemas may cause the result document to not be compatible with the document's own schema. I ended up having to rewrite the [y-prosemirror binding](https://npmx.dev/package/y-prosemirror) from scratch and forced me to become deeply familiar with how the [Y.js CRDT works](https://npmx.dev/package/yjs), a data structure that enables the real-time editing of documents without conflicts (or at least the conflicts will converge to the same state). #### DOCX conversion While working at Tiptap, there was a growing need for systems which wanted to be able to edit legacy Word documents in their new software systems. To enable customers, I built out the first version of the DOCX conversion toolkit (original [launch post on YC](https://www.ycombinator.com/launches/NlA-tiptap-better-docx-import-export)), overhauling an open source library to be a production grade DOCX -> Tiptap importer. DOCX is a very complex XML structure with many years of legacy cruft built-in, because Microsoft wanted to be as backwards-compatible as it could be. I set the technical groundwork for how to preserve as much DOCX content as possible within a Tiptap document (which is both a different format and arbitrary schema feature set). #### Tiptap V3 Before leaving Tiptap, I had already planned to ship a major version release of Tiptap. So, this was my final task, ship breaking changes that we felt were worth it for our user base, and cut down on tech debt. Here is the [launch post](https://www.ycombinator.com/launches/NR5-tiptap-3-0-beta-the-next-gen-open-source-editor) of that version I shipped. Being in customer support for a year taught me the pain points of the library and what tripped most people up about the library. I reviewed all of the API surfaces to set better defaults, introduced whole new concepts like the [static renderer](https://tiptap.dev/docs/editor/api/utilities/static-renderer#why-static-render). ### AgileMD (YC S11) - 5 Years #### Web Applications I've built out many products at AgileMD. Along the way, I've learned a ton about different patterns of architecting projects, how to debug effectively, how to avoid over-abstraction and many more lessons. I've dealt with tons of UI issues that have led me to deeply understand how to write software for the web. To give examples of things I've made: - A low-code authoring tool which is effectively a simple DSL as a web application - An admin interface for managing complex relationships of groups, members and content as well as the accompanying permissions and auth models - Several file management web applications for different user types - A flowchart authoring and viewing tool based on a complex rich text editor with interactive content #### Design System About a year and a half into my job at AgileMD, I noticed that we were spending a lot of time discussing and rebuilding common UI components. I had recently read Brad Frost's Atomic Design and I realized that what we needed was a design system. The trouble was that while there are many off-the-shelf design systems, our product had to run in Internet Explorer 8 (which was old even in 2020). So, I set out to create a component-based design system library. I wrote design documents, discussed API specifications and had many conversations with our product team to iron out what we needed. Once implemented, it proved to be a huge boon of productivity for both the engineering team building applications on top of the system, and freeing up the design team to re-use components rather than start from scratch with every design. A design system is notoriously difficult to get right in the world of web development, but if I had to estimate the productivity of the team afterwards, I'd say that we are at least 2x more productive. #### Monorepo Now this may be a controversial one, but our projects were in a poly-repo pattern where we would make a new repo even if it was just to share some validation logic across applications (so over 200 repos in total for a team of less than 5). It was very difficult to work with because there was inevitably drift between projects and how things were set up. For a couple of years, I maintained code-mods to upgrade projects to the latest "standards", installing and uninstalling packages adding tooling configurations and writing CI/CD from templates. This worked, but it was a bit of a maintenance nightmare. Additionally, we dealt with making an update in one package you had to "publish through" your changes to other repos even if it was only bumping the version of a dependency. Usher in the monorepo, where we could finally make cross-cutting changes to applications with ease. This gave the team: higher confidence in refactors and using new patterns, a better understanding of the code and where it gets used (you can now command click across package boundaries in a monorepo!) This amplified team productivity by not requiring a review across 3 pull requests when it can now just be 1 (I once even had a change that required 5 reviews for 1 line...). #### CI / CD I've built a few iterations on our CI / CD pipeline. Before the monorepo, we were using semantic-release to define both our change log format and indicate what version a package should be. The pipeline based on the branch that you were on would build a docker image and tag it with the appropriate version. Now that we have monorepo, things get a bit more complicated, as you can release multiple packages with a single commit. When I get the time, I will probably write a blog post on how we got things working because I found a dearth of information on how others have gotten this to work with their monorepo build systems (we chose NX). ## What I'm looking for A software engineer is uniquely capable of generating value for a business. Instagram was sold to Facebook for $1 billion dollars yet only had 13 employees. I believe that my personal value comes from not just seeing the problem for what it is, but having the vision to see what it can be, what it should be, what it will be. There are times that you want someone to solve your immediate problems, your pain points, but then there are times that you want for someone to go a bit upstream of that problem and completely remove that and other problems from existence. I can operate on either of those levels and enjoy each of them deeply. If you give me the "why" for something, I'll get done the "how". - We spend a lot of our time at work, I'd want for my time to be spent doing something meaningful, and more specifically, not interested in profiting at the expense of others; I want to [[Create value, not extract it|create value, not extract it]]. - There is nothing quite like wrestling with a difficult problem and arriving at a solution. - I am eager to learn, to grow, both in my skill but also as a person. - One day, I hope to found my own company, based on the values I've outlined in [[My Vision|My Business Vision]]. If you've read thus far, I hope that we can work together some day, because it shows that you care enough to read this far. ## Resume Here is my resume below: ![[Nicholas Perez's Resume.pdf]]