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
				- 
				    
				    Whenever your manager comes to you with a new request, I think you should reply with Ocean 13's Roman's line:
"“Oh, with 18 months, nothing else on my plate, no other jobs, no distractions… maybe.”2 - 
				    
				    this isn't really a DEVrant because i don't vibe code (or even use AI tools that much), it's more of a "please don't make your app like this"
chatgpt is so fricking pathetic. the company behind it is so fricking paralyzed with fear of liability that they have made the chatbot unable to respond to any question with the slightest undertone of potential unsafety. i asked it a homework problem involving the acceleration of a 20x102mm AA cartridge. i asked it whether a wooden or Steel handle would be better for a splitting axe. i asked it if my homemade lye was safe to dump down a clogged drain. on all three occasions it said that it couldn't "help with anything that would meaningfully facilitate harm", and proceeded to just suggest consumerism or some other nonsense as a "safe alternative". like what the actual heck? life on Earth inherently has risk, that's part of human existence. nobody would enjoy being put in a bubble-wrapped room designed for maximum safety (i know from experience), a bit of risk is what keeps us happy and motivated. i'm not even mad at whatever megacorp made chatgpt, i'm just disappointed. it's like watching a freshly-lobotomized fish flop around on the ground. if anyone makes an AI or something else. please don't do this. just slap on a limitation of liability and indemnity clause into your TOS, please don't lobotomize your chatbot in the name of "safety".13 - 
				    
				    Freaking, some devs should learn how to make websites well. lol. I was hovering over a text, then I let it lose focus and focused my cursor floating halfway between left and right element and it caused an intense strobe effect.
I just can't. lol8 - 
				    
				    My PC suddenly shut off, i repressed on the button, nothing. Unplugged from it everything included my Pi server, keyboard...
Nothing.
I take the computer and its power cord to another room, maybe the multiplug isnt working anymore...
Nothing.
I sit and text someone about it, and suddenly, in my hands, it explodes. Extreme light and sound into my eyes and ears.
The sound in my eyes, the light in my ears.
Now I am amputated from my right arm, "The Great Holy Arch Computer".
My god why!10 - 
				    
				    The only solution is to disolve the Kingdom of Belgium and the french 5th republic.
We must establish the federal popular republic of Francobelgium.
Germany can have luxemburg.
Death to the king6 - 
				    
				    Non-Cooperative Threading With Lock-free, Wait-free Read AND Write
(without compare-And-Swap (CAS))
Premise is straight-forward:
You spawn multiple threads. Each is given a prime number assigned and a counter updated each full execution of the thread.
Any time a thread wants to read or write to a shared resource, it checks its counter modulo its prime number against all others. Wherever counter modulo prime == 0 and > 0 for all other prime keys in a given set, it is safe to read/write the shared resource.
Some limit is set on the counter so it periodically resets.
You may also assign these to say, numbered priority enums or somesuch.
So for example a "priority 0" thread would use prime=2, because this is going to match the most frequently against the counter.
And this is how you get non-cooperative threading with lock-free read and write.
Additionally, by carefully tuning the size of the set of primes, relative to the maximum of the counter before reset, you can minimize latency.
Finally with careful thread management, you could, say, have a framework such that if some threads counter mod its key == 0 while the mod of other keys == 1, those threads may be strictly reading a resource rather than writing it, decreasing read/write latency further, if I haven't misunderstood how reading a shared resource works.
Is this novel? Idk, but maybe it'll help someone eventually.22 - 
				    
				    In a world where any shareholder can have your job cut away without warning, the freedom fighter is the man brave enough to place a dead man switch.7
 - 
				    
				    I am really heartbroken. Caught my girl with another guy. Told her to end things with him only for her to change the password on her phone. How can I unlock her phone password to know if she's still cheating? She is using Samsung S2019
 - 
				    
				    We were on this vacation island where we all got to eat those black, peanut sized, jelly candy - a speciality of that island. This candy was lying around everywhere: In our huts, next to our beds, on the edges of the streets, and also floating on the water of the river.
Then a species of humanoid amphibians appeared on that island. They told us that this black jelly candy is actually their eggs.
I asked their leader if they are pissed about us for eating them.
The leader faked a smile and after a short delay he slowly said that it doesn’t bother them.
We were told to gather in one place, behind a sacred black pool, that we had to swim across.
That pool looked like oil and was half full with that "candy". The candy was sticky and got everywhere, eyes, mouth, ears, nose. It was disgusting and hard to swim in.16 - 
				    
				    This will make ur pc crash by allocating a lot of ram and cpu :
https://gist.github.com/3dgoose/...
compile with gcc SDLdie.c -lSDL25 - 
				    
				    For some people it wasn't clear how it worked, so I added a short tutorial at the beginning and an objective thingy: https://retoortycoon.app.molodetz.nl/......
Do a HARD refresh, else you maybe can't login if you were there before.
Give it another change :) But yeah, you can't build on existing streets and buildings, scroll down to a green area. You can only build on ground and before that you need to build road.4 - 
				    
				    It's such a mess, I honestly don't even know where to begin, what's lacking the most and what's got higher priority...4
 - 
				    
				    I am so tired of people during interviews expecting me to be totally excited about AI.
Don’t get me wrong, I use it… Just when I need. Which means not that often.
And then I get the usual cliché sentences.
“You’d be faster if you were using AI more”
Alright then. Outpace me with your AI.
“AI won’t replace you but a developer using it will”
Can’t wait to see that. For now, I just loose time on reviews of vibecoded crap.
Really, it was fun at the beginning, we all had hopes with those tools, but right now, it’s annoying and they didn’t deliver. So I’ll keep using it when I need it and ONLY when I need it.8 - 
				    
				    Omg I hate github. Fuck microsoft I swear those leeches are ruining everything they touch. They're like reverse midas.5
 - 
					
 
