Logo

dev-resources.site

for different kinds of informations.

It's a Security Thing.

Published at
12/31/2024
Categories
programmingfail
mongodb
meteor
humour
Author
jason_nathan
Author
12 person written this
jason_nathan
open
It's a Security Thing.

My old Heardable Inc boss was formerly in TV production. Heardable, as you might have heard of, was a brand analytics company way ahead of its time.

We were setting up a high-stakes professional YouTube interview with the Global CEO (David Sable) of Y&R (one of our incubators at the time), and we wanted to use this event to showcase our brand-new Heardable product - where I was CTO.

Everything was set up, and we were awaiting the arrival of David and other important folks.

I knew the app had a bug that required the Meteor Mongo DB to be reset to clear the cache before the demo.

You see, the thing about Meteor & Mongo is that in the early days of 2015, there was no way of telling their REPLs apart, Meteor's shell looked almost exactly the same as Mongo's shell.

So instead of typing this in the Meteor Shell:

> mongo reset
Enter fullscreen mode Exit fullscreen mode

I typed this in the Mongo Shell

> mongo reset
Enter fullscreen mode Exit fullscreen mode

Which. Well... It kinda... Uhm... Reset the entire DB.

Seriously though, which part of the above looked bloody different to you??

Right! I thought. Ten minutes to his arrival, and I just cleared out the DB.

Golden.

Okay, no problem, you got this. There's a backup you did a couple days ago. Grab it and restore it and everything's gonna be right as day.

But there was one problem.

My boss, whose account was going to be used for the demo, had changed her password after the backup, meaning she would have to "Reset Password" before the demo because the backup contained her older one.

Damn, I thought. Why in the world would someone change a password for a non-production server?

Two minutes to his arrival, and my boss walks in.

"All good?" she asked.

"Yes!" I said, "Just that I need you to do something real quick Can you reset your password?"

"Now?!" she asked. "You kidding?", she continues, in absolute disbelief and exasperation.

Calmly, I said, "Francine? Yes. Now."

She reset the password, and Ron Hart (the CTO of DropSuite) walked in just as the drama was ending.

"What's going on?" he asked. "Nothing," I said. "All good."

But Francine (my boss) couldn't resist chiming in, "He just made me reset my password!"

"Just a security thing" I said, lying through my teeth. Ron didn't say a word, but the look on his face said it all:

Yeah, sure it is

Meanwhile, David Sable arrives, and Francine leaves my office. I couldn't take the pressure and went out the back door for a smoke.

Ron came out to join me. He lit himself a cigarette, looked out into the car park in the same direction I was facing - and without turning his head - took a puff and asked,

"You f**ked up, didn't ya?"

I took a puff and said, "Yep."

He continues, in the same posture, "How bad?"

I said, "Well. How'd you rate resetting the DB?"

He replies, "Yep. Bad."

Were still not facing each other, casually looking out into the distance.

He takes another puff, then continues: "You fixed it?"

I replied, after another puff, "Yeah, restored a backup from a couple days ago."

He pauses for a bit, thinking about it, then asks absurdly,

"So you mean between the backup and today, she changed her password?"

I replied, "Yeapp."

He then shrugs, puts out his cigarette, and declares, "Yep totally a security thing Let's get back inside."

"Yep," I said, putting out my cigarette.

And as if it was nothing more than a smoke break, we walked inside to greet the VIPs and show off the new product demo.


Later, reflecting on the chaos of that day, I realised something. Handling high-pressure situations like this didn't come from my technical skills, it came from DJing in clubs in my younger days.

When DJing, your time bomb resets every new song you play. Especially when you're playing uncharted genres, its not bizarre to have just 30 seconds on the clock and not have a next song.

You'd have to pick a song, put in a CD, cue it to the point you wanna play it, say something ridiculous to hype up the crowd, and play the next track - all as if it were deliberate and perfectly intended.

There were times I had to do all of that in just about 10 seconds too.

In those moments, you're not just playing music - you're a freggin' time magician, convincing everyone that this is exactly what they came for.

Because fundamentally, the clock aint gonna stop for no one.

It's what you do in that time that matters.


Right in the neck that was.

mongodb Article's
30 articles in total
Favicon
🌐 Building Golang RESTful API with Gin, MongoDB 🌱
Favicon
Construindo uma API segura e eficiente com @fastify/jwt e @fastify/mongodb
Favicon
Making a Todo API with FastAPI and MongoDB
Favicon
How to Create and Consume a REST API in Next.js
Favicon
Crudify: Automate Your Mongoose CRUD Operations in NestJS
Favicon
Utilizando la librerΓ­a Mongoose
Favicon
Full Stack Development (Mern && Flutter)
Favicon
Node.js Meets PostgreSQL and MongoDB in Docker: Docker Diaries
Favicon
Comprendre le Design Pattern MVC avec Node.js, Express et MongoDB
Favicon
Set up MongoDB primary and secondary with Docker.
Favicon
The Intricacies of MongoDB Aggregation Pipeline: Challenges and Insights from Implementing It with Go
Favicon
Test Post
Favicon
Containerizing a MERN Stack Application!
Favicon
MongoDB vs. Couchbase: Comparing Mobile Database Features
Favicon
6 Steps to Set Up MongoDB Atlas for Node.js Applications
Favicon
MongoDB: How to setup replica sets
Favicon
To Dockerize a Node.js and MongoDB CRUD app
Favicon
Day 39: Deploying Stateful Applications with StatefulSets (MongoDB)
Favicon
Do you think schema flexibility justifies using NoSQL? Think twice.
Favicon
HadiDB: A Lightweight, Horizontally Scalable Database in Python
Favicon
A Simple Guide for Choosing the Right Database
Favicon
Integrating MongoDB Atlas Alerts with Lark Custom Bot via AWS Lambda
Favicon
πŸ” MongoDB Data Modeling: Embedding vs. Referencing - A Strategic Choice!
Favicon
Unique Index on NULL Values in SQL & NoSQL
Favicon
Embedding vs. Referencing - A Strategic Choice!
Favicon
Series de tiempo en MongoDB
Favicon
I want to write a code for POS sales output interface - and import to mongoDb for sale analysis- however is POS agnostic interface, should work with all POS
Favicon
Hello,help review my fullstack website stack : nestjs,mongodb and reactjs. https://events-org-siiv.vercel.app/
Favicon
Implementing an Express-based REST API in TypeScript with MongoDB, JWT-based Authentication, and RBAC
Favicon
It's a Security Thing.

Featured ones: