-
Notifications
You must be signed in to change notification settings - Fork 0
Adds a new hotdogging blog #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
aleric-infraspec
wants to merge
2
commits into
main
Choose a base branch
from
blog/hotdog
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| --- | ||
| title: "I Got Destructively Hotdogged" | ||
| authorId: "aleric" | ||
| date: 2025-04-21 | ||
| draft: false | ||
| featured: true | ||
| weight: 1 | ||
| --- | ||
|
|
||
| ### Pranks We All Know | ||
|
|
||
| Pranks among software engineers aren't new, people often leave their machines unlocked, inviting playful hijinks. Some host a party on the company group chat, and some remap aliases. Mostly done for people to understand the risks and to propagate good security practices. But recently, when I returned from grabbing tea and saw this command executing in my home directory: | ||
|
|
||
| ``` | ||
| rm -Rf .* | ||
| ``` | ||
|
|
||
| I managed to hit Ctrl+C in time, but the damage was done. Most of my dotfiles were gone, fortunately, I still had my `.zshrc` and some others. | ||
|
|
||
| I knew it was going to be a pain to recover from, but I underestimated the pain. | ||
|
|
||
| ### The Domino Effect | ||
|
|
||
| Getting back to work, came my first hurdle. | ||
|
|
||
| My terminal did not look and feel the same, thanks to `.oh-my-zsh` directory no longer existing. | ||
|
aleric-infraspec marked this conversation as resolved.
aleric-infraspec marked this conversation as resolved.
|
||
|
|
||
| After fixing that, new hurdles started showing up: | ||
|
|
||
| - My IDE was missing plugins and configuration. | ||
|
|
||
| - My virtual environments were gone. | ||
|
|
||
| - Random errors popped up in tools I was using. | ||
|
|
||
|
|
||
| Each fix revealed another hurdle, making me think **“I hope I don’t find any more surprises…"**. | ||
|
|
||
| ### Sparking Interesting Conversations | ||
|
|
||
| Working in a startup, the news spread fast. | ||
|
|
||
| And what began as dotfiles mourning evolved into discussions and planning on how we could harden not just the personal machines but the services and servers in the office. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Think both work, but i like dotfiles mourning, keeps it abstract |
||
|
|
||
| - Automating server setups with configuration management tools like Ansible. | ||
|
|
||
| - Scheduling regular syncs to the cloud or local NAS | ||
|
|
||
| - Hardening the network redundancy we had and a notification system for it. | ||
|
|
||
|
|
||
| By the end, teammates who had not thought of these things walked out learning something new. | ||
|
aleric-infraspec marked this conversation as resolved.
|
||
|
|
||
| ### Lessons Learned | ||
|
|
||
| The pain got worse. Ironically, I had been wanting to version control my dotfiles on GitHub for months, but other priorities kept getting in the way. However, this incident made me look back and think about: | ||
|
|
||
| 1. **Not procrastinating on solutions for known pain points.** | ||
|
|
||
| 2. **Documenting every setup step**, even when it feels tedious. | ||
|
|
||
| 3. **Investing small efforts upfront to save hours later.** | ||
|
|
||
|
|
||
| ### Hope for the Best, Plan for the Worst | ||
|
|
||
| Unexpected failures are part of software development (and life). When things go sideways or systems break, the difference between chaos and control is preparation. By building redundancy and easy recovery, the disruptions turn into a short detour rather than a full stop. | ||
|
|
||
| Now let me get back to building that redundancy, so the next time someone tries to hotdog my machine, the joke's on them. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar issue:
propagateSuggestion:
promote