I was working on a e-commerce site for a large furniture manufacturer. They wanted to add a new attribute to a site that dealt with the fabrics they used. This would have been somewhere near 500 individual products with their own value for this attribute. We had to get this lined up on the product csv because somebody didn't think to do it in the erp. One of my managers was set to go in and use Excel to merge the lists, but I realized he would have to do this every month until the end of time. I wrote a quick script on the site to do this anytime the product csv needed to be updated. Write once, run forever.
Asklemmy
A loosely moderated place to ask open-ended questions
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
Turned it off ... and then turned it back on again. It feels stupid, but it fixes way more issues than it should.
That's not stupid, that's one of the first steps of any sane troubleshooting.
Removed the plastic film on a brand new phone when someone complained that the earpiece sounded bad during calls
Ran a hairdryer all night, propped against my Mac laptop keyboard after a friend knocked over a full pint of beer onto it.
The next morning the whole bathroom reeked of stale beer, the power bill was astronomical, and the left quarter of the keyboard never worked again.
Took it in for repairs and was grateful AppleCare swapped it out without a peep. This was a while back, before the embedded moisture strips that void the warranty.
Lol! You definitely win.
chmod -R 777 *
You fucking heathen
Great idea!
I had a router that I converted to a access point with openwrt, couldn't get vlan trunking to work, so I ran 3 separate network cables back to the switch and assigned each one to its own WiFi network
Like the good old days of manual segmentation lol
Told someone to take their headset off their keyboard when help application kept appearing on their screen.
I had to get someone to find a wireless keyboard they left in a random box because they never used it, yet they still connected the USB receiver for it.
I can't say I've never been confused by keystrokes from objects laying on my keyboard, but I do usually figure it out within a couple of seconds at most.
Individually press all the Shift, Alt and Ctrl keys.
This was back in the Windows 95 days and persisted for quite a few versions. The symptoms were that when typing you'd get accented or no characters, basically Windows thought one of the keys was held down. It happened more often than you'd think.
Early in my career (a long time ago), I was tasked with ordering replacement chargers for some laptops. I ordered several off Amazon and even though they were labeled as being what we wanted, they were apparently bootleg and were not, in fact, the correct charger. Fried a few laptops before I realized Amazon wasn’t the “Amazon” of yore selling first-party parts and I was ordering from random third party sellers. (That was all relatively new at the time. Amazon was a bookstore branching out in my head.)
In fairness, I was a programmer and not an electrical engineer. And chargers back then weren’t exactly USB-C level smart. The barrel charger fit. I just thought “Oh, what a great deal. I’ll order these and get plaudits from my boss for saving money.” It wasn’t even my money.
The other one is that when I was learning to code — I’m self-taught because everyone was back then — I used Vim and invented my own style. All my code was basically unformatted or, at best formatted consistently in a very non-standard way. That’s easy to fix nowadays where I can hit save and my code gets formatted automatically but it wasn’t so simple back then. I still feel bad for the engineer who followed me who had to fix that shit.
I just spent the better part of the day trying to get a "music archival tool" to work, but I wasn't able to get my Spotify account to connect.
The eventual solution I ended up with was to spin up a Windows VM, get the tool connected to my Spotify account there and copy over the config file from the Windows installation to my (Linux BTW) actual computer.
Of course, I've never really dabbled in emulation past old video game consoles, so getting a Windows VM up and running involved its own troubleshooting... The whole thing felt absurd, especially since there are so many easy ways to download music, but this was one of those times where I didn't want to let the computer best me.