Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
@Frederick nice 🙂 things like this make me regret a career in IT.
@Frederick gartner sounds dope. When I have had enough of IT I'm gonna drop it and open a yarn shop
I come from the future and let me ask you this: why shouldn't an API just return 5?
We fought for the freedom of being able to returning 5 in the great ai war, where thousands of fellow devs died, shot down by the managers cannons: cannons shooting 500 pages projectiles with in detail justifications for why we need to do unpaid overtime many were hit by the hr raids with pointless meetings on the importance of the company and many betrayed us saying that js == java.
We fought for our developer freedom, so yes. We are free to just return five.
... I think I need to see a therapist for being able to invent this crap without being on drugs.
@Elyz I want to open a tea house!
(And a smoothie shop. There are no good smoothies within at least a hundred miles of here...)
@Root 's tea house? Just give me the address! My burnout work plan is to be a florist or something ... I know... Laaaame 🤣
@piratefox Nothing wrong with that! We need good florists, and the shops always smell so nice.
@Frederick on a related smoothie note I recommend getting one of those smoothie blenders where you blend directly into the bottle you drink from. I have a smoothie for breakfast every day and it's wonderful. Just remember it should be more vegetable than fruit in order to be good for ya. I recommend spinach, banana and strawberry. You don't even taste the spinach.
@Elyz And some virgin coconut oil :)
Also! Lemon. A tiny touch of lemon makes every smoothie noticeably better.
@Frederick yeah well, if nobody knows the endpoint nor the database structure anyway, it's extremely secure. It's called security through obscurity.
an API endpoint that just returns the value 5?
They probably implemented a very efficient caching system
The joy of the dumb people is that they don't care.
They don't care that they're dumb.
They don't care if it's production down or up.
They don't care.
It's a mantra I guess.
I want to have a nice lil hotel, bed n breakfast family style. You come. You'll stay. We and every other guest have fun together.
@Frederick I was literally employed in my school after graduation to rewrite their website... as "gardener" according to contract. My first job coincidentally fits your analogy 😅
Why do you have an API endpoint that just returns the number 5? Why not just use the number.... as you would normally do?
@OmerFlame nobody knows 🤷🏻♀️
@Frederick ah yes yes makes lots of sense lmao
Today's highlights include:
The offshore team has put code gems in production featuring the example code generated on project startup that you're supposed to delete or overwrite, an API endpoint that just returns the value 5, and various debugging console.logs. it's a delight reading their code.
My boss also forgot the meeting he called me in for so I've been sitting here waiting for 20 minutes when I could have gone home. I'm glad it's friday
one of those days