Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "clipboard"
When you have something in your clipboard but then press Ctrl+C instead of Ctrl+V and end up with a blank line.28
I think I've shown in my past rants and comments that I'm pretty experienced. Looking back though, I was really fucking stupid. Since I haven't posted a rant yet on the weekly topics, I figure I would share this humbling little gem.
Way back in the ancient era known as 2009, I was working my first desk job as a "web designer". Apparently the owner of this company didn't know the difference between "designer", which I'm not, and "developer", which I am, nor the responsibilities of each role.
It was a shitty job paying $12/hour. It was such a nightmare to work at. I guess the silver lining is that this company now no longer exists as it was because of my mistake, but it was definitely a learning experience I hold in high regard even today. Okay, enough filler...
I was told to wipe the Dev server in order to start fresh and set up an entirely new distro of Linux. I was to swap out the drives with whatever was available from the non-production machines, set up the RAID 5 array and route it through the router and firewall, as we needed to bring this Dev server online to allow clients to monitor the work. I had no idea what any of this meant, but I was expected to learn it that day because the next day I would be commencing with the task.
Astonishingly, I managed to set up the server and everything worked great! I got a pat on the back and the boss offered me a 4 day weekend with pay to get some R&R. I decided to take the time to go camping. I let him know I would be out of town and possibly unreachable because of cell service, to which he said no problem.
Tuesday afternoon I walked into work and noticed two of the field techs messing with the Dev server I built. One was holding a drive while the other was holding a clipboard. I was immediately called into the boss's office.
He told me the drives on the production server failed during the weekend, resulting in the loss of the data. He then asked me where I got the drives from for the Dev server upgrade. I told him that they came from one of the inactive systems on the shelf. What he told me next through the deafening screams rendered me speechless.
I had gutted the drives from our backup server that was just set up the week prior. Every Friday at midnight, it would turn on through a remote power switch on a schedule, then the system would boot and proceed to copy over the production server's files into an archive for that night and shutdown when it completed. Well, that last Friday night/Saturday morning, the machine kicked on, but guess what didn't happen? The files weren't copied. Not only were they not copied, but the existing files that got backed up previously we're gone. Why? Because I wiped those drives when I put them into the Dev server.
I would up quitting because the conversation was very hostile and I couldn't deal with it. The next week, I was served with a suit for damages to this company. Long story short, the employer was found in the wrong from emails I saved of him giving me the task and not once stating that machine was excluded in the inactive machines I could salvage drives from. The company sued me because they were being sued by a client, whose entire company presence was hosted by us and we lost the data. In total just shy of 1TB of data was lost, all because of my mistake. The company filed for bankruptcy as a result of the lawsuit against them and someone bought the company name and location, putting my boss and its employees out of a job.
If there's one lesson I have learned that I take with the utmost respect to even this day, it's this: Know your infrastructure front to back before you change it, especially when it comes to data.8
Is it only me who press the [Ctrl] + C multiple times to make sure the content is copied to clipboard properly 😅
*I can't help it, pressing [Ctrl] + C multiple times is kind of satisfying*11
Lazy habit#1: Always Ctrl+C more than twice just in case the bugger fails to copy to the damn clipboard !!9
In 2008 I took my first web development job for an agency that's no longer around. There was a Vice President there by appointment from our coke headed owner who really liked to micromanage and invade privacy with key loggers and screencap spyware to "manage" us. I found out because my machine would snag when moving the mouse cursor and sometimes I'd accidentally paste the screenshot into photoshop just before the software cleared the clipboard. Anyway, I wasn't supposed to know I was being monitored so I just unplugged my network cable and killed the service running the jank ass spyware. I'd delete it when no one was looking and wipe out the cache of screencaps it would compile every day. It was basically a troll vs troll stalemate for weeks. Finally they gave in and told everyone what was going on so we collectively decided to seek revenge. We bought a piezo buzzer about the size of a quarter that chirped like crickets at random intervals. We stuck it on the underside of his desk inside of the middle drawer area and let it go. They spent so much time and money trying to get rid of the cricket infestation. We let it go on for weeks. I ended up quitting before the gag was up, but damn was it funny to see him squirm in that office because of those crickets!6
Me and a junior coder are working on a project. However, he likes to think he's funny and say "Ok google" to stop me from using my phone.
He said "Ok google, search midget porn" when I was calling my mom so naturally I need to get back at him, so when he's in the rec room, I backed up all his code on my flash drive, and copied it to the clipboard, and removed all project files from his computer.
He came back while I was in the bathroom, and when I reentered the room and was balling his eyes out, that his project was gone. I said to him, don't ok google me again and I handed him the flash drive back. He has never done anything bad again.12
Some data get lost during copy.The limit of clipboard exceeded so that's why pasted data is smaller :D1
Came across this gem a few months ago ago. The only thing I can think of is the recruiter had his favorite pornsearch phrase in his clipboard manager and hit the wrong hotkey.8
Just shouted to my boss: "You have a degree in CopyPaste issued by the University of Clipboard"
He's trying to edit some HTML tables and got lost... he also has this notion that he can do our job...
Recently in Computer Science Class...
The teacher said we should copy a text/ sentence to our clipboard. A student asked where the clipboard were and looked behind the keyboard. He isn't the smartest.
Thought that was funny.5
I hate when you copy something important to the clipboard, and accidentally copy something else later.6
Tools i use on windows to make life better, what do u use ?
I use :-
2. conemu with gitbash(if longer time switch to fish)
3. Services+ from codeplex
4. pickpick for screenshots
5. windows default workspaces(they are pretty decent now)
8. from developer settings i turn on show file extensions
9. ditto for clipboard11
That awkward moment when you had text in your clipboard, paste it and post the rant before realising you had copied the wrong text .-.5
All devices in the world:
Dev: can you gently copy the content of this dynamically generated <input> element and copy it to the clipboard?
Devices: Sure thing brah!
(and proposed solution on SO, ridiculous)
Don't you ever forget you have something "important" in your clipboard and then you feel this bad thing when copying something? that just happen to me5
I seriously thought I was losing my mind this morning.
Loaded up my IDE and got to work.
Needed to find something in the project, so I hit the keyboard shortcut to find all usages in the project path.
The dialog pops up, but my selection is replaced with a long hex string. I thought it was weird, but I just installed the latest update of my IDE so I thought I'd found a regression. I grabbed the hex string and went over to Google to see if anything useful popped up.
The first result is the reddit post for my keybase key.
Wait. The "random" hex string was the fingerprint for my keybase public key? I double-checked to make sure that keybase wasn't running and I didn't have anything weird hanging out on my clipboard. Nothing amiss, but I still got my key whenever I searched for something.
This is the point where my brain got a little melty. I started running weird conspiracy theories in my head. My ever-helpful coworkers could only suggest to "stop using a Mac".
I saw that the app menu got highlighted when I opened the dialog, so I opened the menu and looked at the Services. Lo and behold, the GPG Suite update I installed recently very "helpfully" added a global shortcut to "Insert My Fingerprint" with the same keyboard shortcut as the IDE action.2
A newish client just sent a channel ticket marked as "urgent", which set off the alarm for everybody in the chain, with an amazon link to lingerie.
I seriously don't know how to react to this, since I really hope it was a mistake and not how he expects us at the next meeting lol
To send such a ticket you have to confirm your pin and confirm the urgency reason too by the way, so the only thing coming to my mind is, it was some sort of clipboard fail?3
Definitely 'ditto' this is one of the best tool for every programmer.
It's a multi clipboard-history where you can store more then one item. You never need to think: 'what's last thing in my clipboard. Do I still need it?'1
This bug still drives me potty !
Select text, copy..
Only it doesn't paste the last thing you copied, no it pastes the last thing you copied previous to that !
It's really annoying !
Especially when trying to do remote access to another Windows 10 machine and the bug is there as well, so you can't copy stuff across the connection.
Anyone know how to either stop it, or make it stop happening ?
Sometimes I find if I press and hold the copy key combo for like 10 seconds, it maybe helps, sometimes..
I did wonder, maybe my 3.4Ghz 4 core CPU machine was too slow..
Now its a 3.3Ghz 12 core, it can't be too bloody slow !
Anyhow, I've never come across solutions that worked for me, only a few folk who talk about the bug. (Been around since I think maybe W98..)
> This is an old problem. It has been around
> since pre2004, and microsoft is well aware
> of it.
Every year or so, I ask in various places to see if anyone has a solution that works for me..
So, apologies in advance if you see me posting this in ten years time, again...7
Is this real?
OnePlus spying on its users using the clipboard app.12
What are your favorite hotkeys? Some of mine:
Super+x: opens xterm(by far my most used hotkey)
Alt+space: opens mutate launcher prompt
Super+Alt+c: opens selectable clipboard history
Super+Alt+d: toggles window decoration
Shift+Alt+4: enables draggable selection rectangle for screenshots(like on a Mac)
Alt+keypad_minus: switch to next virtual desktop
Super+tab: opens rofi for keyboard filterable selection of open applications5
So I started using this KVM over IP software called Synergy. I'm really digging dragging my cursor (and clipboard contents), from a Windows machine, to OSX, to Linux Mint.3
Shit, I lost the rant again. Well let's begin from the top.
This is little bit personal but I'm not keeping any of this as a secret. I'm a hyperactive thinker at nights (ADHD). I must write this down, although it's well over middle-night at this point.
I just discovered that I might be better writer whilst I'm sleepy, hungry, out of affection of the meds or all of the above.
And may I remind you that I'm not a native English speaker or writer.
* Saved to clipboard, so I won't lose this again *
I've written now 2 long rants, 8 issue reports (devRant) and a loong collab posting in this one sitting, or rather laying. It feels like I'm writing perfectly without missing a beat. I know that's not right, it's the main symptom in ADHD; My brain is actually running slower than an average, much slower. That's a reasonable explanation for the “fast” innovation.
I'm running without restrictions of a normal human, I don't "overthink" every single word and rather go with the flow. That's what spell checkers are for.
* Save *
You can probably see what's happening. It's certainly also true when writing code. I left out the normal cleaning up (except for the grammar, found 10 errors).
It's pretty much the same thing as I'd imagine being drunk or even high.
I must not be the only one.
* Writing tags... *
* Update error count *
* Recover one part from memory *10
So I was opening a support ticket on the portal of our cloud provider
I went to copy the affected database instance to put it in the ticket
for some reason ctrl+c didn't work and I pasted what was in my clipboard instead
and didn't notice until the issues was submitted
This what was in my clipboard
Was testing an editor for writing technical documentation. Asked their support:
Hey ___, am I right in thinking you can't paste images directly from clipboard into a document?
Couple of hours later:
Hi ___, yes, you can add images by uploading them: <url>
The URL they provide has no examples of being able to paste images directly from the clipboard. provides Trying to figure out if this is yes-but-no or no-but-yes.
Copy/Paste to/from multiple clipboards in Windows - https://github.com/Matts/AltCopy
I've always had the issue when refactoring code, I am wanting to "copy on cut", or just having two clipboards to use separately.
I am not sure if anyone has ever had this issue before, and so am also not sure if anyone has ever created a solution it. So I took 10 minutes and made a AutoHotkey script to solve it.6
This one was thanks to the beloved MariaDB.
I needed to update a record with id = 12345
I copied the id to the clipboard.
Then proceded to type:
UPDATE table SET field = NULL WHERE Ctrl+v
So it ended up
UPDATE table SET field = NULL WHERE 12345
I forgot to type "id = " after the "WHERE".
MariaDB says "OK, after the WHERE any number means TRUE".
Simple update taking longer than 0.000001 seconds means bad news. And if you add that I was making the stupid update using phpMyAdmin, I couldn't cancel it faster. I had to log into terminal and kill it from there. Some hundred of thousands of records updated to null, thank you.
It was a testing database, and we had a backup so I had to take my good 30 minutes to restore it but it was not cool.5
How many secret SSH keys has Apple already captured with their shiny new iCloud Clipboard Sync on Sierra?4
"Microsoft programming chief to devs: Tell us where windows hurts you"
You must be kidding, right? Since Windows 10 it hurst the moment it is installed on my fucking PC. I don't want those fucking cloud functionality on my fucking PC. If I want it, I would work on a Mac FFS!
Let me decide when to update my god damn machine! Even with a fucking enterprise edition it is not possible the way I want it! Yeah, I don't have to login with a Microsoft Account, but there is always a small, little, Microsoft-Hating-Devil in my Head telling me: "Who knows, if they don't sync your clipboard even, if you don't login with a Microsoft Account?" (Cloud synced Clipboards are the next bis shit coming!!!)
There is not much left, and Linux will be my all day OS (second boot atm).4
When our app encounters an error, it shows an alert with an option to copy the error details to the clipboard, that includes the full stack trace, broadcasting to the world that we are coding in C#. Also, our page URLs show .aspx at the end, so anyone using it can see details of our implementation. Not exactly world-stopping since the desktop portal is only available on customer servers and the ipad app requires username/password AND pin authentication. But still....
Ctrl+X followed by Ctrl+C to quit. Let that sink in. Think about :wq. Think about Ctrl+X. Think. Ask yourself how you think about it and then think again.
And if you say "well it's AWESOME" then start using your clipboard more when using a gui around the terminal or ssh and come back 1 month later.
People say vi is counter intuitive.. what the fuck is emacs then?3
Just updated my app and wanted to share it with my developer community.
Do you ever felt the need to play your favorite video on Youtube while using devRant, Whatsapp or any other app?
Now this is possible with the Youtube Assistant built in Floating Player.
You can now watch your favorite youtube videos while using any other app with Floating Player.
Just copy any YouTube video url or click Share->Copy to Clipboard in YouTube app to play the video in a floating window.
Download Floating Player and enjoy your favorite youtube videos.
Floating Player: https://play.google.com/store/apps/...6
So yeah I do work on windows laptop, with multiple remote sessions into windows servers. (deal with it)
I don't like restarting (who does?) so mostly put laptop to sleep. Sometime it bugs out after several cycles and clipboard stops working.
And I sometimes need copying / pasting texts into similar files on multiple servers.
Damn it, because of this bug I developed a mild paranoia in a sense that once i have text in clipboard I do ctrl+a, del in the target file and then paste, just to see visually that I did in fact successfully pasted that shit.
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
How VS Code goes total nuts and clears the entire fucking clipboard if you accidentally press Ctrl + C on a whitespace.
Is this a bug or something wrong with my settings?2
When the website does auto-copy to clipboard and adds spaces to the copied text. >:(
Let me copy it if you can't do your one fucking job arghhh
Hands down a decent clipboard manager.
The one that got me hooked was Flycut on OSX. I can get by without a lot of things for a while but this is the first install when I get a new setup
It's a GUI for Wine (a Windows compatibility layer) and I think it looks awesome! Feel free to use it!
But this ain't the best I *Will* have written. I plan in the near future to create an app that will connect the computer and a phone. But not in the traditional sense. the phone will become an extra screen for the computer, which will essentially be the a copy of all the icons of the dock of your elementary OS computer. In other words, a connected phone won't be useless to your PC workflow. It will however do the things other similar projects do, like copying files, a shared clipboard, etc. Stay tuned, I plan for this to be done in the next 3 to 4 months!2
I know there's a bunch of different clipboard enhancers out there, I just want a shortcut to view what I last copied/cut so I know if I need it before I copy/cut the next thing.