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
-
Man going from Rust to other languages is making me go insane
Why does no other language have a high quality, standard documentation tool!? I just want to know what classes and functions you have 😭21 -
If you're using random in python, and need arbitrary precision, use mpmath.
If you're using it with the decimal module, it doesn't automatically convert just so you know.
Instead convert the output of arb_uniform to a string before passing to the decimal module.3 -
wait, is @-red gone now too?? :o How come my profile score did not suffer a major impact... Wasn't he the one flooding us with ++s back in the day?8
-
Dumb mistake from when I was still working:
My work laptop’s SSD went haywire, and I/O would spike every 10 minutes or so for ~50 ms. The hardware guy said he could replace the SSD right away, or I could endure it for a few weeks and get a new laptop instead. Obviously, I agreed to wait. The stutter noticeably affected screen rendering, but I didn’t notice any other issues. Little did I know that every time it happened, all input was ignored (as in: not queued). Normally it wouldn’t matter, because hitting a random ~50 ms window is hard. How-the-f×ck-ever…
A few days later — without getting into “why” — I was forced to apply a patch in production. So I opened an SSH session to prod in one terminal, spun up a dev environment in another, copied the database schema from prod to dev, and made sure to test everything. No issues, so I jumped to prod, applied the patch, restarted services, jumped back to dev, and cleaned up the now-unnecessary database. Only to discover that my “jumped back to dev” keystroke didn’t register.16 -
when you make money on crypto, you rob people who:
- wasn’t as quick as you because they were working 9 to 5
- wasn’t as educated as you because they spent all their time making ends meet9 -
I am at a work seminar and the presenter is talking bullshit about artificial neural nets.
Unfortunately I can't punch him through the webcam. This is frustrating. Why do morons who know nothing about neural nets always insist on talking about them?7 -
How much trouble am I asking for in allowing for very large strings in attributes of json data?
I went and looked at the maximums for the string in json strings. I cannot see any real limitations. I did see if sending json data to a browser that it should not be more than 40MB. That seems excessive. I also checked my internal data types. The string can hold 2GB. Then there is a the server it will be served from in OPCUA. Which I saw discussion of strings in the 77KB range.
We are using a json file to configure what points to read from a modbus device. I am adding fields for name and notes. I could limit these fields, but part of me wants to see if some customer tries to make the world burn. For the most part we will be editing this file. But the customer may want to as well.2 -
plotting such an evil fucking sequence of calculated manipulative, pure evil to the core, series of events to cause destruction to my blonde whore ex (shes on the verge of mental breakdown already and threatens to cut her veins or jump off a building and i couldnt care less)
p.s. her crying is music to my ears, hearing and watching her cry and suffer is very difficult for me, to hide the smile on my face2 -
This is not about devRant… but it might as well be.
Imagine public forum. Everyone can read and post, everyone can comment. And there's no way to send a private message.
You use said forum for years. Whether you like it or not, you form alliances, friendships, frenemieships and engage all kinds of social contracts. There's no ro(ot)ster either, so you keep all that in your head, until one day you need a social contract formalized — exchange contact info. With Steven.
You can't just “@Steven text me, here's my phone”, that's borderline suicidal. You yearn a safe haven. A proxy that'd allow privacy. So you quickly spin up a service, let's say Discord (it wasn't Discord, but close enough), post a link, and within seconds Steven joins… He and seven other Stevens.
So you send each a unique sentence, a 2fa token so to speak, and ask them to post it on said devRant-like forum — they can delete it later after all. And a few minutes later there's eleven Stevens posting garbage faster than mods can delete, because whitespace power. But you bravely sift through that shit until the correct Steven rants “I'm blue, da-ba-dee da-ba-da”, and finally you know which Discord Steven is blue, so you can privately chat about colours.
And then Steven's 75 years old, well-reputed account gets banned on devRant for posting along other spamming Stevens. And you can't even PM administration, because devRant is a public forum without PM-ing indeed.28 -
I swear to god that Docker is the worst thing in the world.
I'm trying to learn how to work with this f thing, and I've spent hours just troubleshooting, looking up on google how to do one simple task and I have yet to find a solution on this messed up, convoluted way of running a god damn project.6 -
A completely technical observation.
When I was out in a bar the other night, I watched someone play a poker machine, and it dawned on me, Poker machines haven't been adjusted for inflation.
20 years ago if you won 5 quid, it may have bought a round, but now you would be lucky to buy a pint with 5 quid.
I can still beat the machine myself, I thought it was interesting that there is less of a payoff for any coin you spend, so much so that it looks like a rip off.
I used to hate seeing guys throw their entire wage packet into machines on a Friday night.18 -
The objective c stdlib is pretty cool, it's what backs the swift stdlib on mac. The collection classes dynamically switch backend depending on size and expected performance characteristics. EG a set of 3 items is faster to linearly search a vector, so it'll switch that out.
https://objc.io/issues/...
I'm not a mac fan but that's some truly artful engineering.
(reposting comment as rant coz I think it's cool)3 -
So this just happened and I am mystified as to how. When I talk on the phone with my cell phone in my left pant pocket I get a sensation of being poked with a hot pin in my leg about 1 to 2 inches above the phone. It almost feels like the sensation of a bee sting. It happened the other day as well. I did not have this sensation with my 4G phone I just retired. My new phone is 5G. Its the most random thing and I would not have believed it. So I search a bit and some dude has been experiencing some weird phone related pain for like 20 years. Of course, none of the replies are constructive. Just assholes poking fun at someone who is trying to understand what they are experiencing.
I checked all of my clothing and there is nothing like a pin or anything stuck in my clothes. The temperature outside is about 32 degrees. So nothing actually stung me. I am going to be pissed if its actually my phone. Going to try putting it in another pocket to see what happens. My hope is its my clothing pulling on a damn hair or something. But it didn't do this at all when walking around the building without my phone. Just when I walked outside.
I can still feel the pain lingering in my leg with my phone on the desk. I checked and the spot where I scratched at it is red. Just another weird thing to deal with I guess.
I always thought electrosensitives were nutjobs. Now I am not so sure.9 -
"We need smaller deliverables so that we can validate each iteration with the client! Instead of doing the whole batch, let's try a minimum viable unit of work first!"
And then the cook made a single unit of French fries. Like, a single stick. It took about 10 minutes, or about 95% of the time it would take to fry a whole portion.12 -
To the person that put the washing machine on at 4am, who hurt you? Coz I'm gonna be added to that list.16
-
Anytime I see a reference to Elder Scrolls VI on reddit I do a "RemindMe! 5 years".
I also am predicting it will be absolute shit.9