#DevDiscuss Archive


Tuesday July 3, 2018
9:00 PM EDT

  • ThePracticalDev Jul 3 @ 9:04 PM EDT
    Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • gumnos Jul 3 @ 9:07 PM EDT
    Biggest was accidentally omitting a WHERE clause in a DELETE statement when doing some data cleanup in a production database. Fortunately we had a nightly backup, regular snapshots, and the query-logs I could replay, but that was a heart-stopping couple hours. #DevDiscuss
    In reply to @ThePracticalDev
  • TDotPiddy Jul 3 @ 9:08 PM EDT
    #DevDiscuss forgot a "var", effectively replacing the global window variable, broke the pop up redirect functionality on production.
  • bendhalpern Jul 3 @ 9:09 PM EDT
    This thread is a gold mine for tonight's #DevDiscuss topic of mistakes. https://t.co/dXqwyixswq Also lots of support and wonderfulness from the community. 🤗
  • gumnos Jul 3 @ 9:10 PM EDT
    The other big one was when I was a wet-behind-the-ears Jr. dev. "Sr." dev/lead screamed to cut corners to get it out fast (waterfall deadlines) even if it required undoing later. Client rejected the fiasco release and our company lost serious face. 1/2 #DevDiscuss
    In reply to @ThePracticalDev
  • courtneyxann Jul 3 @ 9:11 PM EDT
    Not understanding some of the complexities of Redis caching is also the bane of my existence. #devdiscuss
    In reply to @euphoria5l, @ThePracticalDev
  • kylegalbraith Jul 3 @ 9:11 PM EDT
    The worse one for me was missing a where statement on a SQL update. Thank goodness for snapshots. #DevDiscuss
  • _nlowe Jul 3 @ 9:13 PM EDT
    Working on an inventory tracking app for "renting" out our small fleet of Mac's to QA. Decided we won't track VM's so I had the data layer pretend like they didn't exist. Since they didn't exist they must be new and we need to make a record for them every heartbeat! #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • courtneyxann Jul 3 @ 9:13 PM EDT
    I once crashed a production site by copying and pasting text from Photoshop into an XML string. That was a fun one. #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • gumnos Jul 3 @ 9:13 PM EDT
    Fortunately, she moved to another project, a new lead took over and we worked *with* the customer, incrementally ensuring customer-value-delivery at a regular cadence (later called "agile"), salvaging the company's reputation with the client. 2/2 #DevDiscuss #HappyEndings
    In reply to @ThePracticalDev
  • bendhalpern Jul 3 @ 9:13 PM EDT
    My big mistake was writing an infinite loop upon app initialization which: - Took down our app in prod - Got us ratelimited suspended by our host - Triggered a host-wide status alert I've had better days. #DevDiscuss
  • essenmitsosse Jul 3 @ 9:14 PM EDT
    I once accidentally created an infinite loop in Frontend JS that kept on calling our api. Brought down an aws elastic beanstalk instance in less then 30 seconded that wouldn’t come back up on its own. Lesson learnt: throttle the api calls #DevDiscuss
    In reply to @ThePracticalDev
  • essenmitsosse Jul 3 @ 9:15 PM EDT
    „Quickly“ git rebasing to clean up commits before pushing. Completely ruining everything. git reflog to the rescue. Once I learned about reflog I stopped fearing git #DevDiscuss
    In reply to @ThePracticalDev
  • bruno_dsm Jul 3 @ 9:15 PM EDT
    Writing a script to resize a column on a columnar database and dropping the wrong column halfway through the process. Thank God the backup process was running properly lol #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • _nlowe Jul 3 @ 9:15 PM EDT
    @ThePracticalDev 24 hours and 10k+ rows later I finally found my mistake! I also accidentally hit a key too early once and ran an unconstrained DELETE against a production Jira server while fixing something. Had to go to backup and lost a morning's work. #DevDiscuss
    In reply to @ThePracticalDev
  • kylegalbraith Jul 3 @ 9:15 PM EDT
    The runner up was blasting a production email server during load testing. Delayed emails for hours. #DevDiscuss
  • kellyjandrews Jul 3 @ 9:16 PM EDT
    My favorite is when I typed "ctrl-f" to look for some code, but it didn't work the first time. Tried again, made my change and pushed it up. (this is before automated tests) Lttle did I know that an "f" in the code would bring the whole site to it's knees. #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • yechielk Jul 3 @ 9:16 PM EDT
    Don't have any major stories for tonight's #devdiscuss I'm just here for the show!
  • gumnos Jul 3 @ 9:17 PM EDT
    (the mistake to learn from here was, even if you're a Jr. dev, if you know the Sr. dev is bungling the project, speak up, talk to the next level of mgmt up, and CYA with a mile-wide paper-trail. Kept me squeaky-clean through the poo-storm.) #DevDiscuss
    In reply to @ThePracticalDev
  • thefredelement Jul 3 @ 9:19 PM EDT
    Wait, which time? #DevDiscuss ;p
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • essenmitsosse Jul 3 @ 9:19 PM EDT
    Why not soak test your AWS with a vue app in dev mode? #DevDiscuss
    In reply to @ThePracticalDev
  • cdrrazan Jul 3 @ 9:19 PM EDT
    Messed up with college Project in the day of defense. Somehow in the end, the code was fixed jut before the defense started. If we had screwed that Project Defense, we sure had to repeat the Semester. AGAIN. (THANK THAT DIDN'T HAPPEN) 🙄 #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • supervxn Jul 3 @ 9:20 PM EDT
    Tried to code a spiral staircase in #MinecraftEdu @MSMakeCode . Took me hours! Got frustrated and gave up.... #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • IgnoreIntuition Jul 3 @ 9:20 PM EDT
    Omitted a try/catch block in a module that ended up rendering a submit button inoperable. Happened right around the time a heavily funded marketing campaign for said page went live. Every subsequent discussion the $ for the amount of business we lost at least doubled. #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • _nlowe Jul 3 @ 9:20 PM EDT
    Not mine but a teammate of mine was testing package indexing from the filesystem of the new package server we were building out. Try did this by "copying" files from production to the drop folder. 1/2 #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • supervxn Jul 3 @ 9:21 PM EDT
    Good morning from Israel guys! #DevDiscuss
  • nickytonline Jul 3 @ 9:21 PM EDT
    During my first production deployment at an old job, I somehow locked the database during deployment and had forgotten to take a backup prior to my first deployment. Ouch. My DBA saved me. After that, I started to automate the deployment. #yolo #devdiscuss
    In reply to @bendhalpern
  • ThatJoeMoore Jul 3 @ 9:22 PM EDT
    I work at a university. The weekend before the application deadline, I broke the part of the Admissions system that marked people's fees as paid. Cards got charged, but it didn't show up. One guy paid 23 times before giving up. Took 5 days for admins to notice 😮 #DevDiscuss
    In reply to @ThePracticalDev
  • _nlowe Jul 3 @ 9:22 PM EDT
    @ThePracticalDev after 800/2000ish packages imported we called it quits and cleaned out the server to prep for roll-out. An hour later (after people got back from lunch) we started getting reports of restore failures. Turns out the poor guy did a move and not a copy! #DevDiscuss
    In reply to @ThePracticalDev
  • Sam_152 Jul 3 @ 9:22 PM EDT
    First couple of days on the job as a web dev. Was trying to move some files around on prod and somehow manage to individually replace every file in the docroot with a tar of that file. Prod went haywire, someone promptly took the wheel and managed to untar them. #DevDiscuss
  • thefredelement Jul 3 @ 9:23 PM EDT
    I don't remember exactly ... I had to interact with Parse through their API and funneled that through my usual API consumption where 'I knew' certain errors would n.e.v.e.r happen and yet when they shut down, boom down went anyone who opened the app, #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • derekjhopper Jul 3 @ 9:23 PM EDT
    What a relevant question for what happened to me and our team today... I’m not sure I even want to share 😶#DevDiscuss
    In reply to @ThePracticalDev
  • IgnoreIntuition Jul 3 @ 9:24 PM EDT
    I have some wicked experiences with SQL from back in my data watehouseing days. Nothing like a Cartesian product to jack your database up. #DevDiscuss
    In reply to @kylegalbraith
  • TheOriginalBPC Jul 3 @ 9:24 PM EDT
    When I was doing my first WordPress site, I changed all the table prefixes but forgetting to change them in one code file. This mistake led to a white screen and lots of PHP errors. Luckily with some help from Skillcrush TA's I was able to find the issue and fix it #Devdiscuss
    In reply to @ThePracticalDev
  • derekjhopper Jul 3 @ 9:24 PM EDT
    I’ve already seen a few SQL related screw ups and I haven’t even added mine yet 😅#DevDiscuss
    In reply to @kylegalbraith
  • bendhalpern Jul 3 @ 9:25 PM EDT
    From today's DEV front page: https://t.co/khNXYbJJlI Very appropriate for tonight's #DevDiscuss But everything ended up okay in the end. 🙃
  • courtneyxann Jul 3 @ 9:25 PM EDT
    We once had a hardware failure on a server that was hosted by a different company right when AWS was becoming a thing. The server was down for 2 days, because the part was out of stock, and I got to quickly discover how to be an AWS admin. #DevDiscuss
  • IgnoreIntuition Jul 3 @ 9:25 PM EDT
    Good thing the AWS instance didn’t just keep scaling up to accommodate. #DevDiscuss
    In reply to @essenmitsosse, @ThePracticalDev
  • IgnoreIntuition Jul 3 @ 9:26 PM EDT
    Those damn phantom fs #DevDiscuss
    In reply to @kellyjandrews
  • kellyjandrews Jul 3 @ 9:27 PM EDT
    Another good one was clearing a float on a watched class for auto loading new content. Pegged the data base because every page was bringing back every piece of content we had. Yep, CSS took it down. #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • jmdembe Jul 3 @ 9:27 PM EDT
    I shut the wrong process down on an Apache server. A few minutes later, I got a flurry of IMs and e-mails that prod was down. Thankfully we found out what happened and it was up again. I was in a cold sweat in the mean time, between time. #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • derekjhopper Jul 3 @ 9:28 PM EDT
    So I’ve had a few database related screw ups over my career: 1. Tried to add an index to a large table. Locked the table. App went down. 2. Tried to add a default value to a large table. Locked the table. App went down. #DevDiscuss
    In reply to @ThePracticalDev
  • bendhalpern Jul 3 @ 9:28 PM EDT
    I love stories like that. The real world impacting the code world. #DevDiscuss
    In reply to @courtneyxann
  • kvlly Jul 3 @ 9:29 PM EDT
    My password as a normal user on a 10k+ member forum was hello1. I was given admin privs and changed to a secure password. Forum got reverted to a previous state and I was made an admin again. But password was also reverted to hello1. Guess what happened next. 🙈 #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • derekjhopper Jul 3 @ 9:30 PM EDT
    3. Tried to delete a large number of rows. Locked the table. App went down. 4. Tried to delete a large number of rows in batches. Exceeded the IOPS rate on AWS instance. Database instance had no disk ops left. App went down. #DevDiscuss
    In reply to @ThePracticalDev
  • dartdog Jul 3 @ 9:30 PM EDT
    #DevDiscuss I opened a cabinet in the data center, it ha a poewer interlock and poewered down 50 or so users..(I was the new CIO)
    In reply to @jmdembe, @ThePracticalDev
  • IgnoreIntuition Jul 3 @ 9:31 PM EDT
    Ah the ole nondescript Wordpress white screen. #Devdiscuss
    In reply to @TheOriginalBPC, @ThePracticalDev
  • derekjhopper Jul 3 @ 9:31 PM EDT
    It really sucks when you screw up; however, screw ups are massive opportunities for learning. Your brain learns so much under stress like that. Also, databases are hard when your app lives for years and deals with even moderate amounts of data #DevDiscuss
    In reply to @ThePracticalDev
  • jmdembe Jul 3 @ 9:32 PM EDT
    Nothing like become an expert when things are on fire 🔥 #DevDiscuss
    In reply to @courtneyxann
  • IgnoreIntuition Jul 3 @ 9:33 PM EDT
    Yup. These are the lessons that stick with you for life #Devdiscuss
    In reply to @derekjhopper, @ThePracticalDev
  • derekjhopper Jul 3 @ 9:33 PM EDT
    Database related screw ups really stress the need for a nice way to snapshot your db and test on a system that matches production. It’s hard to know what’s gonna happen if production has millions of rows and your test env has 1000. #DevDiscuss
    In reply to @ThePracticalDev
  • BenLeChialeux Jul 3 @ 9:34 PM EDT
    One of our "top coders" decided to "optimize" a cleanup routine. He forgot to remove the DELETE statements (used in testing) from the code : it forked hundreds of DELETEs sql statements across 800 million PRODUCTION records in 200+ tables... #HisCareerEndedThatDay #DevDiscuss
  • xmrtni Jul 3 @ 9:36 PM EDT
    I forgot to take https://t.co/0Fv3NXVfhm out of the example snippet I copied for http->s redirect in htaccess file. Realized what happened after 5 minutes of wondering why the hell the site was redirecting to https://t.co/0Fv3NXVfhm. Not horrible, but funny. #DevDiscuss
  • IgnoreIntuition Jul 3 @ 9:37 PM EDT
    At least it wasn’t directing to localhost #Devdiscuss
    In reply to @xmrtni
  • jibbi_ Jul 3 @ 9:38 PM EDT
    i once accidentally wrote an infinite loop, which included code that executed a VERY hefty sql script. Our webmail product took a complete dump >.> All the webmails, down #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • GonOverHere Jul 3 @ 9:38 PM EDT
    On my 1st job I worked on a JS file over the weekend and replaced it on the server on Monday. Boss went crazy because he also worked on the same file during the wknd so his changes were gone. No backup. I almost cried. So weird we didn't use Git back then (8 yrs ago) #DevDiscuss
    In reply to @ThePracticalDev
  • kartikarora95 Jul 3 @ 9:39 PM EDT
    I once pushed commits marked for staging server to the production server, on a Friday. CI/CD pipeline did its magic and so did the server. :) #DevDiscuss
    In reply to @ThePracticalDev
  • ThePracticalDev Jul 3 @ 9:39 PM EDT
    One lesson from all of tonight's "That time I messed up" stories. Life goes on. And you just learned a ton. #devdiscuss
  • jibbi_ Jul 3 @ 9:39 PM EDT
    I was told to work on a backup of a CMS site to learn the ropes. I hit "publish" and the destination was still pointed to prod, but with different IDs. It didn't find matching IDs, so it made new ones. Every module on our live site was there in duplicate :x #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • DanFellini Jul 3 @ 9:39 PM EDT
    I put a private key in a public repo on GitHub once. Once. #devdiscuss
  • ozzyogkush Jul 3 @ 9:42 PM EDT
    I accidentally ran a report job via admin interface for our ecommerce sites in my first week on the job at my last place. It crashed the servers and OPS had to restart. Fixed by removing the ability to run that report from the admin interface. #DevDiscuss
    In reply to @ThePracticalDev
  • goldirises Jul 3 @ 9:42 PM EDT
    I thought I was being clever inheriting a prod config for an app in a new environment, turns out I was overwriting the app's prod config thus reducing its availability whoops #DevDiscuss
    In reply to @ThePracticalDev
  • IkeTheDev Jul 3 @ 9:43 PM EDT
    On a 3 letter agency project we had issues in prod. Test server worked fine. Instead of letting us troubleshoot management panicked and made us drop a year's worth of work and made us use SSRS for the frontend which does 100k crud operations a day. #Devdiscuss
  • KyleStratis Jul 3 @ 9:43 PM EDT
    Two weeks in at my second company I managed to remove all images from our Solr docstore from which our frontend was built. Slightly important for a real estate service. Luckily I had a competent team who actually kept backups. Always keep backups. #devdiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • jibbi_ Jul 3 @ 9:44 PM EDT
    #DevDiscuss also this has an even better part 2: i had just started this job and it was thanksgiving week - my new boss was off and hunting in the woods. I didn't know this. I called him, and he calmly whispered instructions to fix it In a tree With a deer like 50 ft away
  • DanFellini Jul 3 @ 9:44 PM EDT
    When I was newer to JS I wrote a thing that did a hefty database call to pull numbers for conference registration. Like 3 second updates, with no caching, so users could see up-to-the-minute numbers. Left for the weekend, as did users, who left their browsers open... #devdiscuss
  • Ld00d Jul 3 @ 9:44 PM EDT
    I wrote a service that got in a bad state and looped an error log around 1am and the support people were up all night over it. I got an ass chewing the next day. #DevDiscuss
    In reply to @ThePracticalDev
  • naren_legha Jul 3 @ 9:44 PM EDT
    While testing an authentication API, I once committed my work account password to company GitHub. #DevDiscuss
  • IgnoreIntuition Jul 3 @ 9:45 PM EDT
    What does the fact that so many of these stories are relatable say about me 🤔 #Devdiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • Programazing Jul 3 @ 9:45 PM EDT
    Check out my website/blog at https://t.co/4DAQVTUa1s #DevDiscuss
  • Brandon_Hinds Jul 3 @ 9:47 PM EDT
    Spent a day trying to figure out why my program wouldn’t stop. Turns out I was passing 500 seconds and not milliseconds to a time function. Huge facepalm moment 🤦🏽‍♂️ #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • sdlevi27 Jul 3 @ 9:47 PM EDT
    @ThePracticalDev A developer dynamically linked the C++ shared libs for our fintech website to a dev NFS share. No one noticed for weeks. One day I unplugged the workstation under my desk to clean. Prod went down about 30 second later. It was the dev NFS share. #DevDiscuss
    In reply to @ThePracticalDev, @ThePracticalDev
  • getDanArias Jul 3 @ 9:48 PM EDT
    #DevDiscuss "That time I messed up" I was bored on a backlog meeting. I started singing @onedirection's "What Makes You Beautiful." I was not muted on @Webex. > "Ur insecure. Dunno what for. Ur turning heads when you walk through the DO-OO-OOR" - "Mute yourself, por faVO-OO-OOR"
  • luxaritas Jul 3 @ 9:49 PM EDT
    Oh, here’s another one. Had some issues with a server, so set up some logging that ran every few minutes. Forgot about it, came back a couple weeks later, server crashed. Learned about logrotate after that. #DevDiscuss
    In reply to @ThePracticalDev
  • seahcy Jul 3 @ 9:49 PM EDT
    I made db schema changes (django migrate command) on my dev machine, except that I've exported production credentials in my shell earlier on that I forgot about. Overwrote some db values in production as a result #DevDiscuss
    In reply to @ThePracticalDev
  • ChrisNelsonPE Jul 3 @ 9:50 PM EDT
    I thought I was copying target binaries into a subdirectory prior to creating a firmware image but I flubbed the destination and was overwriting the build server's binaries. #DevDiscuss
    In reply to @ThePracticalDev
  • ThePracticalDev Jul 3 @ 9:51 PM EDT
    In the last few minutes of #DevDiscuss, anybody have any news to share, like a project or a personal win, or any other announcement?
  • missingno15 Jul 3 @ 9:52 PM EDT
    #DevDiscuss reached 100 commits on a personal library that i've been developing https://t.co/uKTlgnV2mh
  • JT_Grimes Jul 3 @ 9:53 PM EDT
    I can't settle on just one story for tonight's #DevDiscuss, but I encourage you to check out the tag and see that you're not alone.
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • emerak Jul 3 @ 9:53 PM EDT
    - I deleted the principal admin from the site - I performed maintenance tasks in a different server and that server was not in maintenance mode - I locked the largest table by running a migration #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:04 PM EDT
      Time for #DevDiscuss Tonight's topic is "That time I messed up" So let's here it! Tell us about a time in your coding life that you messed up. What happened? Was everything okay in the end?
  • m_shap Jul 3 @ 9:54 PM EDT
    I was creating a backup of our staging env Weblogic domain for some testing of a change. The file mount was out of space so I went to clean up some space but accidentally deleted the ACTUAL domain without a backup. We had to rebuild the server for ops #DevDiscuss
    In reply to @ThePracticalDev
  • kartikarora95 Jul 3 @ 9:55 PM EDT
    Oooh! I've got another one! 1/2 I had just started working mongoDB using pymongo. I quickly wrote a script to find all the documents which had a particular key set to "true". Co worker asked me to push that script to our private repo, he wanted to see my script. #DevDiscuss
    In reply to @ThePracticalDev
  • derekjhopper Jul 3 @ 9:55 PM EDT
    This didn't happen to me, but I remember reading this on HN. A new developer was setting up their development machine. Somehow they had a connection to the production database. What they thought was resetting the local database was actually dropping the production db. #DevDiscuss
    In reply to @ThePracticalDev
  • dmakovec Jul 3 @ 9:56 PM EDT
    I untarred a linux config tgz to my home folder on a prod box inside sudo bash. It unzipped to ~/etc/app/myfile.cnf. So I copied the file to the system folder. I decided to remove my local copy of the archive. I MEANT to type rm -rf ~/etc. Guess which char I skipped? #DevDiscuss
    In reply to @ThePracticalDev
  • orcishtylae Jul 3 @ 9:57 PM EDT
    I accidentally overwrote the prod web server in a misunderstanding of an option in my IDE, which took down the whole website for 30 minutes to an hour, while netadmin restored from a backup. I don't open the prod web server in my IDE anymore. #DevDiscuss
  • kartikarora95 Jul 3 @ 9:57 PM EDT
    2/2 So the script is pushed, and it's part of the same repo as the server and not included in the .gitignore file. Turns out, I had overwritten my flask server's complete https://t.co/mtQMSlzA1K and gunicorn was not able to run the Flask instance. :D #DevDiscuss
    In reply to @ThePracticalDev
  • _nlowe Jul 3 @ 9:58 PM EDT
    Got approval from legal and the VP's today to open source a small utility I wrote! It'll be the second project on my company's github page. Hoping to have it up end of this week or next! #DevDiscuss
    • ThePracticalDev Jul 3 @ 9:51 PM EDT
      In the last few minutes of #DevDiscuss, anybody have any news to share, like a project or a personal win, or any other announcement?