Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "accidentally closed"
-
TL;DR
I accidentally surpassed(?) my user permissions and closed some of my classmates browsers and locked up a terminal for me
In school we have 2 primary operating systems: Windows and Ubuntu. Windows is hell in general and but not as hell as the firefox installation on Ubuntu.
"Just loaded this page. Now wait half a minute so that I can render it"
"Woah, woah, woah. Slow there. You just made an input event. Give me those 5 seconds to compute what you just did"
Executing "top" or "htop" shows you a long list of firefox processes with a cpu usage of 99.9%, since the whole school shares that linux environment.
Anyway, one day it was way more servere than normally and I way forced to kill my firefox instances. So I pressed CTRL+ALT+T for that terminal, waited 5 minutes until it accepted input typed "killall firefox" with a delay of half a minute per character and smahed that enter key.
At this very point in time I could hear confusion from every corner of the room. "What happened to firefox?"
Around 30% of the opened browsers where abruptly stopped. I looked back to my screen noticed I was logged out. I couldn't login from that terminal for the rest of that day.
Our network admin, which happened to be there, since the server is just next door, said that this was just convenience, but the timing was too perfect so I heighly doubt that.
I felt like a real hackerman even if it was by accident :)8 -
So I did not notice that my google chrome had another window and I accidentally closed the 2 chrome windows in the wrong order. Now my 1st chrome window tabs are all gone. Stupid me 😅8
-
I opened a pdf in macOS today.
It was opened in the default pdf viewer and I could scroll through the pages. Then I accidentally dragged one of the pages in the left area where all of the pages are shown as thumbnails. I was surprised that I can do that, because surely I was just viewing the pdf. Like in a pdf viewer. Like read only.
Imagine my surprise when I closed the pdf, opened it again and found the pages in the wrong order!
It freaking autosaved my accidental drag and drop in the standard app that opens pdfs!
Who the hell thought it was a good idea to do that? That’s insane!5 -
Tried flutter for the first time in life, for 2 days, java based Android dev here.
I have some.... thoughts...
Flutter does not feel extremely new to me. It is very much relatable if you have ever tried basic the spring/ other java based gui framework. It is trying to achieve the goods from multiple worlds,its so far good, but mann its playing on thin ice.
Flutter : Yo boy embrace me. I am the beauty. checkout my hot reload.
Me :❤️❤️😍 (But wait. your first execution is wayy longer than a simple android studio build. And AS would generally take smaller time after every rebuild. And you are going to take the same long time as first build, if app gets closed or my usb gets accidentally removed. So I see what you did there ;))
Flutter: Ha. Checkout my function passing as parameter. ever thought your puny java going to give you that?
Me :you got me ,❤️. (Although this style is not so uncommon with web devs)
Flutter: everything is a widget, everything is stateful or stateless, Single Streams FTW!
me: ❤️
Flutter:You kotlin devs are gonna love me, i got Small, concise code
Me: Now wait, This is a thin ice for me, okay? I hated when kotlin replaced everything with symbols & lamdas for a confusing but small code, So be careful,even though your code is still good.
Flutter : Control every pixel , dear! No more xmls!
Me : Yes, what is with that? are we accidentally going in the past?
Java desktop apps, spring framework used to build whole layouts with programming language. The day i stepped into Android, it was xml for ui and java/kotlin for code. was that a bad decision or is this one?
Anyways i liked my stuff seperated, but that's just me.
Flutter : Ugh so much whining. Are you going to work with me or not?
Me : Yes mam! ❤️4 -
I just fucking hate my fat fingers, every once in a while I'm trying to hit CMD + TAB and I end up with my finger in the Q.
FFS.
It hurts the most when what you close is your terminal that had 20 sessions up.2 -
i accidentally closed my browser with 34+ opened stackoverflow tabs which were EXTREMELY IMPORTANT AND BEEN OPENED FOR DAYS while the rest of tabs were also important dev and non dev related stuff just because Google chrome does not have an option to warn me if i am sure i want to close my browser and because googlle chrome doesnot have even extensio n that can do this for me i am deeply frustrated right now5
-
I have accidentally closed so many windows trying to use ctrl-w instead of ctrl-f to search after spending days in nano.1
-
Open Visual Studio with existing project. After a while closed it due to accidentally clicked the close button.
Open back the Visual Studio again...
Opening the recent project...
**Project is (unavailable)**
Is okay, I can always close and open it back again. And I have done it!
The previous opened tab all is gone.2 -
Thank You StackOverflow.
After looking for 4 hours on internet and stackoverflow, searching whole documentation and blog pages, i didn't find a solution to an error I was getting in my Android app.
So I began and started writing the question on StackOverflow, phrasing it properly, to the point (so as to not get downvoted), providing all my files and code (so not to get closed or duplicate), formatting them properly, and explaining why my error was unique. On the last XML file I see something trying to call a function which wasn't declared.
So yeah, there you go.
But it's not over yet.
I saw it and got excited, corrected it and ran the code again. But accidentally ran it on the emulator and forgot my device wasn't connected anymore, and the emulator wasn't already loaded either. And my machine is old.
I don't know what to say anymore.1 -
Some interesting keyboard shortcuts that are lesser-known but can be quite useful:
1.Windows Key + . (Period): In Windows 10 and later versions, this shortcut opens the emoji panel, allowing you to quickly insert emojis into your text.
2.Ctrl + Shift + T: This shortcut reopens the last closed tab in most web browsers (Chrome, Firefox, Edge). It's handy if you accidentally close a tab and want to retrieve it quickly.
3.Ctrl + Backtick (`): In some text editors and IDEs (like Visual Studio Code), this shortcut toggles the integrated terminal window, allowing you to quickly switch between editing and running commands.
4.Ctrl + Shift + Esc: This directly opens the Task Manager in Windows, skipping the intermediary step of opening Ctrl + Alt + Delete and selecting Task Manager.
5.Alt + Drag: In many graphics and design applications (like Photoshop), holding down the Alt key while dragging an object duplicates it. This can save time compared to copying and pasting.
6.Ctrl + Alt + D: This shortcut shows the desktop on Windows, minimizing all open windows to quickly access icons and shortcuts on your desktop.
7.Ctrl + Shift + N: In most web browsers, this shortcut opens a new incognito or private browsing window, useful for browsing without saving history or cookies.
8.Alt + Enter: In Excel, this shortcut opens the Format Cells dialog box for the selected cell or range, allowing quick formatting changes without navigating through menus.
9.Shift + F10: This shortcut performs a right-click action on the selected item or text, useful when you can't or don't want to use the mouse.
10.Ctrl + Shift + V: In many applications, including Google Chrome and Microsoft Word, this shortcut pastes text without formatting (paste as plain text). It's useful when copying text from websites or other documents.
++ if you like this6 -
Impulsive saving. I just cut a portion of newly written code (not committed), saved the file as a reflex, and accidentally closed emacs instead of switching window.
The environment should have had the cut in its clipboard, but nope. I should have a history of autosaves, but that doesn't seem to work as I expected.
Binding C-x C-c to null again :(
I have work to do on my .emacs.3 -
One of those annoying moments: when you close the tab accidentally because you pressed ctrl+w in the current tab, but the active window was the other browser in your second monitor so instead you closed the wrong one... 😑... luckily there's "open last closed tab".. but still is annoying3