HNHacker News
TopNewBestAskShowJobs

spalas

360 karma · joined April 16, 2018

Software engineer currently focused on DevOps and Infrastructure.

I'm currently building things and producing content at devopsdirective.com as well as doing some consulting work.

submissionscomments
spalas··on Hire Part-Time Roles
More opportunistic.

The companies had similar full time roles posted they were trying to hire for and but were willing to adapt hire me part time after discussing what I felt I could bring to the table.

spalas··on Hire Part-Time Roles
I left my full time role right at the beginning of the pandemic due to burnout.

I was planning to take time off before applying to full time roles, but then ended up doing part time contract work at a few startups instead and it was the best thing for my mental health. I was able to more concretely separate work from life since when I was on the clock I was billing for it and when I was not I never felt bad as if if I wasn't "doing enough".

My contracts all came through my personal and professional network though, so it's interesting to see a job board focused on part time and contract roles.

spalas··on Tiny Container Challenge: Building a 6kB Containerized HTTP Server
Hi! Author here!

My (somewhat silly) use case for the tiny container was trying to cram 10,000 pods onto a k8s cluster without breaking the bank: https://www.youtube.com/watch?v=1y2nRNexRVk

spalas··on Tiny Container Challenge: Building a 6kB Containerized HTTP Server
Hi, author here!

Thanks for the kind words. I didn't know about UPX.

I should add an update to the end with this trick!

spalas··on Tiny Container Challenge: Building a 6kB Containerized HTTP Server
Hi, author of the article here!

I figured there were a bunch of ways to shrink that one, and I had a C based image that was in between my GO and ASM images, but decided to cut them for the sake of brevity!

spalas··on Show HN: Play Battleships on PostgreSQL
Yeah -- Using the second session for grabbing inputs is clever!
spalas··on Show HN: Play Battleships on PostgreSQL
K1GSFJF0 is a random password generated here:

https://github.com/Firemoon777/sql-battleships/blob/87770216...

It then queries every second looking for a session in the postgres_log for a query that matches that password and stores the session id into a table named ks_id.

Once it knows the session_id it can then listen for any input associated to that session.

spalas··on Show HN: Play Battleships on PostgreSQL
Ha! I attempted this a while back but never came up with a good solution for handling user inputs so it was just the computer playing itself...

https://github.com/sidpalas/battleship-sql

This is next level!

spalas··on Ask HN: Why does Cloudflare show 3.5x more unique users than Google Analytics?
Thanks for the response -- that is what I assumed by wanted to see if I was missing something.
spalas··on Doing stupid stuff with GitHub Actions
Haha - We have it too easy these days and can just spin up a VM with Virtual Box (or similar) to test stuff like this.
spalas··on Doing stupid stuff with GitHub Actions
I think you could build on this action https://github.com/actions/github-script/ which provides a JS client for the GitHub API.

It looks like it supports all of the API routes you would need including:

https://github.com/actions/github-script/blob/b507739f17c210...

To actually perform the release update.

spalas··on Doing stupid stuff with GitHub Actions
Mostly because I knew I wanted to play around with trying out different configurations, testing performance, etc...

If I didn't have those secondary goals, I would have either:

1) Hosted on Netlify

OR

2) Hosted in an S3 / GCS bucket

spalas··on Doing stupid stuff with GitHub Actions
Haha, good point... I have another 5 months to fully forget that I ever set this up.

The name of the action does get included in the email notification so hopefully I'll be able to decypher it, even after some NYE celebration champagne!

spalas··on Doing stupid stuff with GitHub Actions
Oh nice, I saw that one on the front page the other day.

Didn't realize it was you -- great post!

spalas··on Doing stupid stuff with GitHub Actions
...and its hosted on an f1-micro instance! (https://devopsdirective.com/posts/2020/03/load-testing-f1-mi...)

Almost all of the load is handled by CloudFlare though.

spalas··on Doing stupid stuff with GitHub Actions
Love it!

I have seen people doing fun things with GitHub Actions for the new GitHub profile readme feature as well.

This community chess game is one of my favorites https://github.com/timburgan/timburgan

It uses the creation GitHub issues on the repo as the input method/trgger which is a pretty clever hack.

spalas··on Doing stupid stuff with GitHub Actions
I'm glad you enjoyed it!

I figured if I was going to learn a new tool, I might as well have some fun along the way!

spalas··on Doing stupid stuff with GitHub Actions
Thanks!

Most of the credit goes to Alex Shpak (https://github.com/alex-shpak/) who created the "Book" theme for hugo (https://themes.gohugo.io/hugo-book/).

spalas··on Analyzing HN readers' personal blogs
Ha -- I'm one of the 4 hosted with Caddy web server!

All of my other attributes were in the majority (Hugo, Google Analytics, etc...)

spalas··on Show HN: From Markdown to Video
Super cool!

I created a single video from text using python (https://www.youtube.com/watch?v=7CIakJ8PMZs // https://github.com/sidpalas/devops-directive-hello-world), but this is next level!

I'm excited to try it out.

spalas··on Load Testing Caddy Web Server on a GCP F1-Micro Instance Using K6 (K6.io)
The setup survived 2x HN front page surges recently so I was curious what the limits of such a small VM would be!
spalas··on Converting an old MacBook into an always-on personal Kubernetes cluster
Hi -- Author here.

Thanks for the word of warning. I'll take a look at removing the battery to avoid any issues.

spalas··on Converting an old MacBook into an always-on personal Kubernetes cluster
Author here --

Something like this? https://www.imore.com/mac-mini-mame-arcade-cabinet-project (Looks cool! Some time down the line I'll have to try it out)

The first thing I did with the setup was to learn about the differences between Helm 2 and Helm 3. I had used Helm 2 in my previous job and wanted to get some hands-on experience with the latest version by installing and modifying some helm charts.

This is certainly something that could be accomplished with a similar setup running locally on my primary computer, but I like the reduced (mental) activation energy of always having it ready to go.

spalas··on Converting an old MacBook into an always-on personal Kubernetes cluster
I don't think the CPU will support virtualization to use this approach.

You might be able to install Linux directly and then using something like https://microk8s.io/ instead...

spalas··on Converting an old MacBook into an always-on personal Kubernetes cluster
Interesting, and I agree that this is not a suitable location for running anything important!

I mostly use it for random experimentation/learning and like not having to think about starting up/shutting down Minikube on my main laptop!

spalas··on Converting an old MacBook into an always-on personal Kubernetes cluster
Interesting, maybe I'll give that a try! (would be nice since I have 16GB of RAM on the Mini vs 4GB on the MBA and it is better suited to leaving on all the time)

When I tried with minikube, the VirtualBox VM would boot successfully, but there was an issue with the networking b/w the VM and MacOS

spalas··on Converting an old MacBook into an always-on personal Kubernetes cluster
Initially, I tried doing this with a 2010 Mac Mini (which claims to support VMX), but couldn't get Minikube running on it...

For the past two weeks though, I haven't had any issues with this setup on the Macbook Air!

spalas··on Managed Kubernetes Price Comparison
I went back and added in Digital Ocean per the parent comment's request!

The article and Jupyter Notebook now reflect that change.

spalas··on Managed Kubernetes Price Comparison
Hmm... It looks like for smaller machine types the packet bare metal machines are quite a bit more expensive than the equivalent cloud provider VMs, but as you move to larger machine types Packet's pricing doesn't continue to grow linearly (making them more competitive).

Also, I would need to do some further research to understand how to fairly compare the physical CPU cores on the bare metal systems w/ the vCPUs offered across the major cloud VMs.

spalas··on Managed Kubernetes Price Comparison
Do you use something like kops for setting up and maintaining your cluster?

Most of my direct experience with Kubernetes has been on GKE, but I have been meaning to work through https://github.com/kelseyhightower/kubernetes-the-hard-way to gain more appreciation for what is going on behind the scenes.

Page 1 of 2Next →