Zack Mariscal

I’m a software engineer based in the California Bay Area looking for delicious tacos and coffee

Using Cloudflare Pages

While taking some time off from work I decided I鈥檇 like to get my blog back in working order. There鈥檚 nothing like thinking about what鈥檚 the best way to make publishing my thoughts as quickly as possible (aside from using social media). Previously, I was using GitLab and Netlify to host and manage my blog. There was some awkwardness with the deployment pipeline where I needed to have a a GitLab yml file to help with the deployment steps....

May 24, 2023 路 2 min 路 294 words 路 Me

Connecting Brother HL-L2340D to Eero Pro 6

Backstory I recently upgraded my network from an Airport Extreme to the Eero Pro 6. One of the things I learned while researching how to setup my network was to keep the exact same name and password as my previous setup. Most of the devices would just magically connect. This process went exactly as described and everything just worked. This included my Brother printer. At some point I lost the ability to print from my phone (AirPrint), which is my primary way to print....

October 24, 2021 路 3 min 路 455 words 路 Me

Handling nils in CSV's using Ruby

How to handle nils in CSV data Recently I鈥檝e had to work a lot with CSV鈥檚 and I鈥檝e learned the hard way that the data within these aren鈥檛 always what you expect. Why would there be no number associated to a name or part? Why no name for a number or part and so on. Below is the strategy I鈥檝e adopted to handle this case. Fetching the data We want the headers to return as symbols because I don鈥檛 trust the position of the rows in the future....

May 3, 2020 路 2 min 路 226 words 路 Me

Takeaways from POOD

Notes from Sandi Metz 鈥淚ntroduction to Practical Object-Oriented鈥 Object-Oriented Design Object-oriented design (OOD) is about managing dependencies Objects shouldn鈥檛 know too much about each other Design is an art of arranging code Write code for the feature you鈥檙e developing today, but also changeable in the future You can鈥檛 predict what changes will be needed in your code, merely that change will occur Tools for a OOD 鉃★笍 principles and patterns Design principles [S]ingle responsibility [O]pen-closed [L]iskov substitution [I]nterface segregation [D]ependency inversion We can look to quantify 鈥済ood code鈥 Design patterns Name common problem and solve the problems in common ways Patterns are like a tool, it鈥檚 the user who must master the pattern/tool Act of Design 鈥淧rogrammer鈥檚 past experience does not predict the future鈥 This especially hits home for me as I鈥檓 learning....

April 18, 2020 路 2 min 路 266 words 路 Me