Details
-
Aboutambition is the loser's last refuge
-
Skillsgeneralist: can fuck up everything
-
Website
Joined devRant on 11/3/2019
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
-
Spent 3 hours not understanding why the exact same procedure on Linux worked while not in windows. Ended up installing Linux on the windows computer.5
-
I'm preparing a major deployment & what do I see?
SOMEONE MANUALLY EDITED PROD AGAIN
IMO they deserve to be hit on their hands with a stick every time they even think of fucking with it.13 -
my ISP set up a coax cable splitter with all 3 ends disconnected, and my internet is running through a parallel pair uninsulated phone line.1
-
what's the most memorable way you've destroyed a piece of hardware?
I left my laptop on top of a heating unit today and then proceeded to crank it up to like 80°C. I'll try turning it on when it cools down, the plastic hasn't melted so I'm optimistic, but I'm pretty sure the battery's a pillow.29 -
Update to my "I broke prod" rant:
- I managed to unfuck it on the same evening.
- Worked fine for one day
- Crashed today morning
- Can't fix it because I had surgery yesterday and am on sick leave currently
=> Probably gonna result in me VPNing into the comp network and RDPing into the prod instance to analyse the failure
Yep, ladies and gents, more open heart surgery on the menu!11 -
I did it.
I finally fucked prod.
And had to do open heart surgery on the service to get it unfucked.
Shit happens. Luckily its internal prod only...9 -
Things that shouldn't have needed to be said:
Don't give an LLM sudo and pipe all it's output to bash...
https://theregister.com/AMP/2024/...15 -
New developers(5-6 years experience) these days are so pathetic. They dont have any sense of code review. All they want is to put their opinion out without giving any thought.
I had a PR for review today which contains mock specification to match a regular expression and return the corresponding response
The regular expression I put was
104000(02|06|20|48)
Now, this guy comes and puts a comment that we could "simplify" as 104000\d{2}
I replied, the ending digits are not contiguous. The specific pair of digits have to match for these mocks.
Then this guy replied, then we could simplify as 104(0{4}(2|6)l0{3}(20|48)).
I said, I cannot understand how that is simplification. Why do we need such a complex regex to match something very straight forward.
And the guy replied, we should be writing proper regexes, otherwise we could just specify everything explicitly.
I was like WTF man. You try deciphering this next week without taking at least a minute to know which values are matched.
Anyhow, another senior person approved my PR, and I merged it.12 -
Being helpful and a c++ programmer has led me to trying to add a (tiny) feature to cpython.
The file I'm currently looking at is 2,000 lines long.
I have regrets...10 -
client cto: "SOMEBODY COMPROMISED YOUR KEY!!!! IT SHOWS SOMEBODY LOGGED IN TO DEVOPS GUY'S ACCOUNT USING KALI LINUX!!!!! HERE ARE THE LOGS!!!!"
the logs: *show an ip address*
the ip address: *ip address of the office*
devops guy: *actually uses kali linux*
not really a rant, just found it funny2 -
I've been interviewing at a local company. They want that I (as the new FE dev) do monthly presentations to the whole company (50-ish) about the progress of our product.
This is the first time I heard this. I assume this is a red flag :(
Otherwise, the company looked good (except a company phone that would have been an iPhone)11 -
Currently making a perfect sudoku webapp / plugin using native JS and html templates where I'm very enthousiast about.
It allows to select multiple cells and then put in a number and all selected have that number. It keeps state of every change, you can do unlimited redo's. Right click or double click someehere removes selection. Not built yet, but it will have a box where you can paste sudoku's you've found on the internet. I just parse 81 times [1-9] with regex. So all formats are supported including noisy ones as long the noise is not numbers. Making your own puzzle is very easy. Art is to make hard ones. I'm generating extra hard puzzles using C threading. For reference: there are 6,670,903,752,021,072,936,960 sudoku puzzles possible and from that I try to resolve the hard ones using simple human logging with brute forcing as fallback until it can use logic again. 30 million attempts to solve per secon. I should at some more logic. I don't do xwing or ywing, bs imho. You have to be a superhuman to spot xwing / ywing possibilities. I think i can imagine a better logic myself. We'll see.
And yes, that's a real screenshot. Puzzle is validated and it found issues. Marked with red font. Green is current selection by user11 -
My brain overheated again. with my autistic empathy cranked to 11, I’m now feeling sorry for a js service worker because browser puts it to sleep when it wants to, and it has to call waitUntil to ask the browser not to
I’m about to cry -
!rant I pity anyone who may have overheard my interaction with a gecko that managed to sneak inside my house when I went to get a package on my doorstep last night around midnight
“Hey little guy, let’s try to get you to go back outside, okay? Nonononooo not that way, fella. Down the wall. DOWN. DO NOT CLIMB BACK UP. Okay. Yeah, see, there you go. Good job. OH MY GOD DO NOT DO THAT. Listen, I think you’re fucking cute, okay? BUT IF YOU CHARGE AT ME LIKE THAT, YOU TRIGGER MY FEAR RESPONSE AND YOU MAKE IT REALLY HARD FOR ME NOT TO KILL YOU. Hooooooly shit, little dude. You were so almost dead. Okay. Okay, yeah, go out the door. Door. Yesssss.”
closes door, only to realize little dude’s tail is still on this side
“OMG LITTLE DUDE, are you okay?!!” opens door, little dude sneaks back inside
“Noooooo you need to go outside. Come on, you know you want to go outside”
Finally managed coax him out the door and confirmed he’d cleared the doorway before closing and locking it.5 -
Idea for a next gen image compression method:
* Put your image into a reverse AI image generator to get the prompt for that image.
* store the text string as the compressed image
* Put the text string into to AI image generator to get back your compressed image.14 -
Yay, I won my bet against a colleague to see what developer (colleague) would be fired first.
Easiest €10 of my life5 -
Somebody stole Ed's nuts...
Was moving my office a month or so ago and had to occupy a temporary cubicle for 2 weeks. In this cube I found a previous employee had left a jar of specialty peanuts. I thought: "You know who needs these specialty nuts? Ed." So I put them in Ed's office. He was gone that week. A coworker says "You know Ed is allergic to peanuts." Me: "Oh yeah, I forgot. That makes it even better!" Ed did get a good laugh about this.
Today I went into Ed's office with same coworker. I noticed the nuts were gone. I said, "Ed, where are your nuts?" He said: "Somebody stole them." So somebody did in fact steal Ed's nuts.
Ed is also the guy who had 3 US quarters on his desk. Someone replaced them with 3 Canadian quarters. Never did find out who did that. Legend.2 -
was looking up some code, won't say which, trying to find something, won't say what, and, heck, I need to find out who wrote and maintains this awesome piece of art. After a couple hours of stalking done, yep, that's how good it was, I finally found the author and guess what? They died two years ago, 24 years old. Dead. Gone. A little more stalking and the punchline was: suicide.
FUCK, I don't even know them but it makes me real sad. It seems this' an actual issue in our line of work24 -
Guess who has to finally swallow his pride and implement traditional deferred rendering with a traditional gbuffer even though he swore to never do that
This guy right here2 -
These motherfucking incompetent programmers... Demon spaghetti code base saga continues.
So they have a password change functionality in their web app.
We have to change the length of it for cybersecurity insurance. I found a regex in the front end spaghetti and changed it to match the required length.
Noticed 7 regexes that validate the password input field. Wtf, why not just use one?! REGEX ABUSE! Also, why not just do a string length check, it's fucking easy in JS. I guess regex makes you look smart.
So we test it out and the regexes was only there for vanity, like display a nicely designed error that the password doesn't have x amount of characters, doesn't have a this and that, etc.
I check the backend ColdFusion mess that this charismatic asshole built. Finally find the method that handles password updates. THERE'S NO BACKEND VALIDATION. It at least sanitises the user input...
What's worse is that I could submit a blank new password and it accepts it. No errors. I can submit a password of "123" and it works.
The button that the user clicks when the password is changed, is some random custom HTML element called <btn> so you can't even disable it.
I really don't enjoy insulting people, but this... If you're one of the idiots who built this shit show and you're reading this, change your career, because you're incompetent and I don't think you should EVER write code again.8 -
Hey everyone in all seriousness I am gonna be out of the dev field now - hopefully forever. I’m back in school now and hopefully will become employed in emergency response. Before dev, I have had jobs where I could directly help people with their troubles and I could reduce a lot of chaos. I really enjoyed it and I want to kind of steer my life back towards that. I find that while I was an employed dev, I felt like I was contributing a lot towards corporate greed, this wealth gap problem, and a bunch of other stuff. It all felt morally wrong (to me - not judging here). I also felt the worse I have ever felt in a job - constantly burned out, depressed, lonely, sleep deprived, and almost even ashamed of myself of how I constructed my life thus far. I had some good times meeting some cool ass people in some cool ass places tho.
Now, even though I’m still sleep deprived and EXTREMELY poor, I’m very happy now. I am excited to start this thing I’m more passionate about. It feels good to not feel my head hurt every day from trying to fix shit that will always break anyways. I feel so relieved to be away from the meaningless turbulence of it all. Just wanted to share my lil success here!!9 -
The handle on the faucet in one of the bathrooms broke off today. You can still operate the faucet with some finger strength. It is just difficult. We also got a reminder today that we are not to be streaming video or music using the company wifi. They ask that we use our own bandwidth on our phones.
So on the bathroom door where the faucet handle is broken I placed this sign:10