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
-
Didn't realize how disgusting Facebook was. If a girl removes her profile picture they have determined this person hates their look. So they start spamming them with makeup ads. If a person is suicidal they start spamming them with other ads they think are relevant.
This guy brought this to my attention:
https://youtube.com/watch/...
He seems to be in the trenches against, or reporting on right to repair. Not quite sure. I think he makes some interesting observations about how tech is weaponized against consumers.19 -
these drugs make me feel suffering to such a degree I can't really complain about the suffering that is needing to run 3 scripts instead of just having 1 holistic terminal
I would rewrite this mess finally cuz I'm feeling like it but if I sit still I want to scream because of the suffering of sitting still, so
also why the shit did my headless chromium stop working. I hate. works on my machine but not the "server" machine. sigh why. was there some config I need to set up for chrome. I don't even -
Goog actually got hacked. Not particularly sensitive data by the sound of it (publicly available business info). But wow. https://forbes.com/sites/...3
-
I just tried GPT5.
I hope coding got way better since I am so done with half delivered applications. The output window wasn't so big of the previous ones.
I just generated a simple AI chat by providing my own AI client that i prefer and with a nice screenshot of the current applicaiton (how it should like) and it did a great job. No mistakes, perfectly the right look.
I'm hopeful.
Currently still have subscription to Claude,GPT, Gemini and Grok. Everyone has their own advantages. All totally worth it.26 -
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 -
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 -
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
-
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 -
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`.7 -
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)4 -
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 -
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 -
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 -
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