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
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
What's your favorite letter? Mine is Z. It have a fascinating history. it was originally an S, but it became edgy and angular.13
-
GRAARGHHHHHHHHHHHHH POOHHHHHHHHHHHHH!!!
That's just my frustration with SourceTree.
This is a story all about how my SourceTree got twisted upside down, and I'd like to take a minute to just sit right there and tell you how I pushed my code to my repository on GitHub:
Iiiiiin my SourceTree, born and raised, I checked out my branch, tried to push but SourceTree said: "See ya later!" (denied/authentication failed). Sssoooo I told myself I was not going to use ChatGPT to solve this problem. I was going to use my Medior skillzzzz1!1!1!Oen and so I did solve it, but what a fucking hassle!
First I tried to remove all credentials from SourceTree and from my system, then I tried to add a fine-grained PAT, and finally... someone mentioned on StackOverflow that it was the git version that was oudated. So, SourceTree has an outdated embedded git, even on the latest version. Wtf?! Anyway, so I let it choose system git (which uses the latest git version).
And now it works!
Haaaaaaaaaaaaaaaaaaaaaa.21 -
I come home and the park is surrounded by police. Fine, I'll take a shortcut home and will snuff the mountain of amphetamine I have left and will end as the scarface from Ali express. If I do not get shot, I'll be online for the next 72 hours. Both are appealing tho. Anyway, I have to act quick. TTYL.4
-
urgh I want someone to help me with my job PTSD by like letting me talk to them as I try to choose one and figure out my neurosis and just do some comforting words or something
but they're thinking of doing it next week when my boyfriend will get his passport next week and I wanna spend 3 weeks with him unemployed just chilling when he finally visits 🥺9 -
i started smoking cigarettes 1 year ago. and its getting more intense. i only smoke when i am overburned with HEAVY. HEAVY FUCKING STRESS.
11 august 2024 i had a mental breakdown. complete crashout due to losing ANOTHER 2000$ on $VINE coin
i crashed out so hard. so badly. in front of my parents. dad picked me up from floor and hugged me and he was shaking. mom was comforting me confused and scared. i uncontrollably breathed hard shaked and cried.
thats why i started.
crypto was the trigger to start smoking for the first time ever after 27 years.
now 28 years later i am still smoking but very rarely. took me 1 year to smoke 1 pack of cigs. now im on a 2nd pack.
i smoke 2-4 cigs per session one after another.
am i fucking going insane?6 -
wow tarot cards have a solution to hobby programming projects
just always stuck in 3 of wands, forever
cuz 5 of wands sucked. so then I started avoiding 4 of wands to never get to 5. and then you just get stuck planning forever at 3.
5 is when communities of people come with their own ideas and cause self doubts in you, override you. 4 is respite/pride/reveling and feeling comfortable in your idea/quest and seeking out a community base to share it with
guess in the end it's always that people suck and nobody can do anything alone. mega lame!5 -
The symbol for things to avoid in biology: ☣️
The symbol for things to avoid in physics: ☢️
The symbol for things to avoid in IT: ✨9 -
I actually think that auto-completing pull requests with any merge strategy other than fast-forward is completely insane. WTF do you mean the final version of the code is produced with no humans present?5
-
heh what if you make an ad that does no horror or coercion but makes anyone who sees it buy your product out of compulsive, OCD-like terror
do you think they would care about ads doing subliminal hacking of brains
I feel like this is when mods ban me for not the rules3 -
Company is not doing well so decided to go job hunting again, or rather respond on linkedin. Didn't think I cared that much, but I have been unable to finish the work I need to do, something that I should be able to do in a day at most. Half of me is "remember you don't care" the other half is "why are such a slacker, useless piece of shit"
Anyway, first call with an actual recruiter was positive8 -
In case anyone else has the bug in the web version of DevRant where if you scroll to the comments the page grows infinitely, I made a userstyle
https://userstyles.world/style/...2 -
After 5 days of being /gone/ finally caught up again. Anyway, see you all next week or when page 4 is fully unread again
(not really, just have been busy)
(btw you can get temporarily banned from commenting it seems)9 -
Consider:
For a "Save As" dialog, you pipe into an external util from your application, passing in directory and an extension filter, something like `|` separated "Description (*.ext)".
Your code waits as the user picks. When they press OK, you get back a filename.
---
Quick poll:
If the user chose an extension/filter, but wrote the filename _without_ an extension, then what is the expected output?
[A] The filename as-is, no extension.
[B] The filename with the extension added, according to the selected filter, unless the filter was just "All Files (*.*)".
[C] "\1\0\0\0" and errno set to `EDEADLOCK`.24 -
Title:- When the Code Runs, But You Don’t Know Why 😵💫
I wrote a piece of code last night at 2 AM. Eyes half-shut, brain running on caffeine and regret. Woke up today, ran the code… and it worked. Flawlessly.
The only problem?
I HAVE NO IDEA WHY.
No comments.
No memory of what I was trying to do.
Variables named like x1, x2, and idk.
It’s elegant. It’s efficient. It's... suspicious.
Now I'm afraid to touch anything because clearly, 2 AM Me unlocked some higher dimensional dev mode.
So here I am, documenting the "miracle" like it’s ancient alien tech.
Praying future me never has to debug this.
Send help. Or more coffee.
(Preferably both.)
#devLife #SleepCoding #CodeGodAtMidnight7 -
An endpoint called TryFailedCopyDocuments which is called unconditionally in the happy path, calls into a service to update session data, then separately checks whether the service is live which could only be false if the service died shortly after the previous call, then if it was live, does a separate blocking call into the service to copy some files, and if it wasn't, copies the files within the request handler thread.9
-
urgghhh this old laptop doesn't have a working shift key
also it's sticky. eeeeee
thankfully there's 2 shift keys but talk about awkward
just gotta dump ssh on it and find out if it can run rust or not. God this thing is slow. was top of the line 10 years ago when this business guy bought the best laptop he could find, now somehow barely runs arch. crazy20 -
Trying to flash a windows iso on a usb stick from linux is making me wanna fucking kill myself
IS THERE ONE FUCKING SOFTWARE WHICH CAN FLASH A FUCKING WINDOWS ISO SUCESSFULLY??
From the 4 ive tried so far none of them worked. What the actual fuck is wrong with desktop linux sometimes
Ive already wasted 1 and half hour of this shit. On windows I would have done this in literally 3 minutes
Holy shit fuck me21