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
-
In CSS, never ever enlarge anything by hover. There will exist a set of cursed cursor positions somewhere on the edge of fully zoomed out and fully zoomed in states, which will make your UI element twitch between two states at 60+ FPS.
If you want this effect, wrap the element you want to enlarge in a wrapper whose size won't change. Add :hover state on the wrapper, not the element, and change the element in that selector. It will make the curse go away.
wrong:
.zoom:hover { transform: scale(1.1) }
right:
.zoom-wrapper:hover .zoom { transform: scale(1.1) }6 -
I just had the most confusing error ever where clang ast randomly replaced classes with just int in type signatures
...wat? I guess the class only has one int field so maybe there's a cpp rule that requires replacing classes with their only field or something?
But when I add other fields it doesn't change. Even if the class has no int fields, it's still replaced by int in the ast
....
Yeah turns out I had the definitions in the wrong order and clang just uses int for unknown types instead of... you know maybe raising a fucking error
Thanks clang...18 -
As a product manager, acting like engineering is the only lever to speed up the delivery date on a project when we had the kick off meeting *last week* is slightly insulting.
Your job is to pull all the levers at your disposal to deliver your feature. Instead, you take up half the quarter figuring out what you want. Them give design and stakeholders an entire month to debate the UX before handing it off to be built.
It's simple math, and each part of the process delays the other.
But don't worry, eng will cut all the corners to get it there 🫠👍1 -
I can't receive packages, nothing to do about it. If I want a package, I have to choose a drop off location in city center. Totally fine.
But now, I ordered new internet and ofcourse, they assume that your address is the place where it should be delivered and there was no place to change it. Fine, I will contact them after order.
But then, how to contact? You get a chatbot with only freaking predefined choices. "Questions about status of your order?". Etc. No fuckers, I'm sure it's doing fine. Gave up. Went to calling them.
You choose all wrong unrelated options until the automatic phone bot get stuck before you get an employee on the line. Thank God - that went fairly quick.
But it's bizar right, that you kinda have to crash an automatic phone bot by providing weird unrelated answers before you can ask your question?
Result: they can't change my address and thus it will go to delivery point end of the day if they can't deliver so I can pick it up one day later (tomorrow). Smol grr. But while said being unable to to deliver, they'll try it anyway 😁 Efficiëntcy 😁12 -
I am so naive about LLMs. I wanted to know if I can just make one trained on text I produce. I don't even know what that means. But I read that it can take a huge effort to train one.
The more I read about this subject the less I understand. I assume some are available commercially:
https://github.com/eugeneyan/...
But I don't even know what that means. If I wanted to make an LLM to handle text interactions with NPCs what are we talking about here? Is it a multi-gigabyte file? Do I have to worry about what it was trained on? I don't want one that has infinite knowledge. I don't want it to have any frankly. I want to provide its reality as the sole creator.
The problem is I don't even know what the question is to ask it properly. I assume I need something that teaches it english, but then what comes after that?23 -
So I uninstalled Xbox App off my computer like a week ago. Today I get a notification to check out XBox Game Pass. So I find in notifications it has separate app or thing installed to notify about shit like that. So I removed that.
I also don't like the pos Game Bar. It won't let you uninstall in apps. So I searched and found this command:
Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage
Good bye MS POS Gaming Overlay. Good bye Gayme Pass Notifs.
So I am on Pro version of Windows 11. Is this shit not able to be removed from Home version? What a garbage future we are in.4 -
I have seen many debates on how children are taught but rarely about what they are taught. This reminds me of my mother who used to tell Jehovah’s Witnesses knocking on the door that ‘we’re Church of England’. We weren’t and our family never saw the inside of a church except for weddings and funerals (thank you God). But my mother had sorted out our official spirituality with the holding position of ‘we’re Church of England.’ In the same way, most people don’t question what is taught in schools any more than my mother thought about religion. It was like just ‘there’. We lived in England and it had a Church so ‘we’re Church of England’ was enough without delving into detail, thank you. Most people treat education just the same. It’s a school and that’s enough delving into detail, thanks very much. What goes on there? They have lessons and stuff. What lessons and stuff? Well, they’re taught what they need to know. And what’s that? Well, lessons and stuff. Phantom Self has an image of how things are, an image supplied by the program, but for the most part knows or seeks precious little detail about anything7
-
I hate quotes.
Just handed out a quote. Had to look through the project, guesstimate everything. Hard to do anyway accurately. Write bunch of stuff up. Easily took me in the end around 4 hours.
4 hours just to have someone tell me, I am too expensive. I mean, at this part it is a gamble. The other side accepts my quote or denies it. But, if they deny it, I worked for free. And that's bugs me.
But hey, next company, guess what, the hourly rate, there is the quote for the last company hidden inside and for all other companies who rejected my offer divided by all the companies who hired me. You're not only paying my fee, but for all quotes that got denied. Surprise!
Anyway, it is sent off. Now, the waiting begins. Time to find some work to fill the waiting.4 -
getting really tired of finding out that anything "popular" has the same damned globalist eugenics pedo cult behind it
either people can't make anything on their own or we are so fucked with everything so controlled you literally can't pop up as an entity unless you sell your soul to the literal unironic bond villains of the world first so they will let you pass through the channels
they even make alternative channels when they've tanked the reputation of their previous channels. and it's by the same damned people again, but they just lay in wait... to become popular. feeding off of the tension, pretending they're not the same entity...until it gets popular and then it becomes the same damned perverted thing via a takeover from within
how do you even escape this stupid prison
anyone of any importance has been bought. you need their cooperation to ride on their fame. so anything that gets any fame is the same damned game, again and again. it's like a creep that won't take no for an answer, comes back with a different mask like some endless remakes of Scooby-doo5 -
evidently by definition happiness is hyperfocus
which makes me wonder why people attack it so much. if they see you focused... they hate on you and try to ruin it. your focus has to be on every little random thing they want instead
it's an interrupt of your consciousness
interestingly, I can multitask and hyperfocus... but a person wanting attention is different. I can even talk to multiple people at once and be gaming solo, and I handle it fine... I can be working on multiple tickets, multiple emergencies at once, and it just feels like being the conductor of an orchestra in my head. but it's like... for some reason a manager ruining your flow is somehow different. it breaks you out of that happiness hyperfocus. it interrupts everything and your mind clears itself. all the context drops. what is that?
and then you start to fear it... that it will happen. and if you don't switch it fast enough, somehow management thinks you're a bad person, and they get "issues" with you. so you have to always be on alert to drop your hyperfocus... until one day you just cease to ever go into it. you can't even enter it when you want to, because you think at any moment you'll miss someone wanting you to pay attention to them, you'll miss some random bit of information that you see out of the corner of your eye but ignore because you're in hyper focus and it isn't part of your orchestra, isn't part of your context. and then calamity strikes
if hyperfocus is happiness, then what is the interrupt? why does it exist? why can certain activities be done perfectly fine in "hyperfocus", but others cannot, and drop you out of it?1 -
Jackson JSON parser can be a pain in the ass sometimes.
Like, bro, I don't want you to pollute my JSON when saving into Redis. Because now the frontend clients suddenly don't understand the schema because it's riddled with @class and type definitions everywhere.
You have to perform dark magic to get this thing to work automatically with Spring Boot caching.
I've had to implement my own custom serializer and deserializer after wasting who knows how many hours on this.
Shit like this is why I tend to roll my own implementation for many things at the slightest hint that a library isn't flexible.3 -
is there some trendy definition for "keyboard pattern" that im unaware of?
seriously though... while not always current on whatever scammer\phisher\wannabe hackers\etc are doing... im still one hell of a, beyond capable, cyber security pro... mainly cuz I've been networking professionally since half-duplex existed, know, and thoroughly enjoy data architectures, encryption and things like hardware drivers and low level systems down to the literal, physical\mechanical and digital bits...
basically,i have a rare viewpoint in comprehension; I'm used to nonsensical tactics being enforced as if they were actually valid (basically everything other than a min length (~6+) and *don't use basic words found in a pocket dictionary* is typically a double edged sword).
so wtf do they mean? i mean, technically, everything typed can be a keyboard pattern... itd be like how people say "vps" when they are talking about a proxy.23 -
I'm on the 2nd week of a support rotation. One of the support reps contacted my manager about two tickets, one that is about an automated e-mail that didn't go out (which .. doesn't even seem necessary since the action has been completed?) and one because I accidentally put in the postcode on the 2nd line of an address field (which I immediately fixed when he commented on the ticket, minutes after, the same fucking day!)
We also had a super cringe all hands meeting today. I got plenty of sleep and am already exhausted.
My old roommate/landlord/co-worker sent me a text about his company needing devops people. I should probably finish updating me resume today.1 -
The more I read these LinkedIn bullshit posts the more I believe StackOverflow was a perfect heaven and right all along regardlesss of all of its toxicity - this was neccessary.
There are just *too many* morons that are getting by and polluting industry and individuals with their so called "professional and expert" oppinions.
What's even worse is that almost nobody will call their bullshit as we're all here under some unwritten "act welcoming and professional" agreement.
This platform is such a fucking cancer of digital world, makes me want to create fake accounts just to troll them all the time.4 -
Yep, starving myself feels easier if I eat something. My body does notice if I fast, but it completely misses a huge caloric deficit.
I get more weight drop by eating two eggs a day (and nothing else) than when I fast. I have no idea why.
Anyway, I decided that eating about 400 calories a day will get me to my destination faster than not eating at all, just because it's more sustainable.10 -
To add references between projects (build units like DLLs or EXEs) within a Visual Studio solution, you need to open a popup from the context menu on a child node of the referring project in the VS solution tree, the child node set and the context menu have a different layout depending on whether that project follows the 2021 dependency system. The popup freezes VS so you can't keep it around, and it does six other things related to dependencies, except for NuGet which for some reason masquerades as an editor tab instead (equally inconvenient for different reasons). In the popup you tick checkboxes in a massive list of every project in the solution, then you close it. This doesn't save the changes and there's no explicit way to save changes to a csproj file because VS manages csproj files and presents them exclusively as visual forms. You can save either by "Save All", or by unloading the project which prompts you about unsaved changes and then reloading it to be able to actually initiate a build it's included in.2
-
I don’t fucking deserve to live. I’m but a lump of emotional scars. My brain instantly forgets the good, but relives the bad every single day, every hour, all traumas in parallel. I remember every moment and every detail of every traumatic event that happened to me.
Kiki’s body is a prison where Kiki’s uncontrollable brain tortures Kiki.
My body keeps twitching. PTSD flashbacks are unbearable.
I don’t see any reason for this abomination to exist. There is nothing to salvage.
I did everything in my power to regain control and stop the suffering: fitness routine, seven years of treatment with all kinds of psychiatrists, pills, sleeping routine, true love, cutting ties with toxic people… it didn’t help
Nothing ever helped me. I never stood a chance.20 -
just put everything I've been running for months into a bash startup script and it's all ticking along nicely...
yay I never have to look at these scripts again. unless they break in workspace 10
oddly proud of myself for solving this annoyance of having to manage scripts problem. literally my brain was too damaged to be able to figure out how to not have to manually manage scripts for like a year now and that is sad because the answer is obvious as all heck but I just "didn't feel" like it "would work" like that makes any sense. just literally didn't have the brainpower to imagine myself in a future where scripts would run on their own, that's how sad it is
just in time for this coffee to give me dementia... back to the brain of a 80 year old I go...3 -
people saying no to good things is so weird
i'd never say no to good things
though often people will use good things to lure you and mess with you. so I got trust issues from that (and deservedly so, because it still happens and that's largely how every ecosystem functions)
but I'd never say no to good things. and somehow people say no specifically if it's a truly good thing. wild
I like that they do, also. more for me I guess. then there's no competition. it's pretty chill
it's just hard to find the actual good things instead of those bait and switch
I want to find the people that fear truly good things. I want to hear what they rejected so I can get that thing instead 😁4 -
My colleagues excel at envisaging shit extracurricular activities. It may not be so godawful irritating if they weren't hypocritical scum, all of them but ESPECIALLY, the girls. When you're sick, nobody checks on you. When you text them, they don't reply. They only initiate conversations to get something. They are never friendly except they need a favor and have run out of options. You can't borrow more than one 1k naira from any during an emergency. Then they force you against your will to oblige them
Last year, they came up with this crappy cook fest assigning dishes each staff is to cook and present like some science expo project. I declined but participation was enforced. Things went sour with the caterer I recruited. Work that day was a living hell for me, I eventually had to leave
Next, they devised an end of year dinner, instead of converting all that money to a much needed 13th month salary or even bonuses. Thankfully, attendance was not compulsory so I and one other girl could exempt. Why would I buy/borrow dress code costumes at such short notice, to assemble with a bunch of people who think I'm crap?
This year again, they roped me into this dumb "love feast" program for valentine. I was livid and incensed. I stormed the inbox of one of the male instigators and gave him a piece of my mind. This scoundrel literally shakes my hand irl like it's covered in poop. Nowadays, he waltzes into my office without the courtesy to greet me. I'm so inconsequential and insignificant. He ordered me to delete the messages, implying he might leak them like the ex hr once did. Of course, I refused
The girl they paired me to buy gifts for doesn't reply my chats. I literally sent some that morning but she had the audacity to walk up to me and tell me what she wants me to buy her. It's our bosses fancy mug and my next seat buddy immediately tells me how crazy expensive it is
They've all got read notifications turned off. It's not even creepy messages or require deep thinking or lengthy replies. It's just not being regarded worthy to be communicated with. These are the people I'm going to spend a dime on. They don't even TRY to pretend I'm a human being. Literally don't talk to me but everyone else plays with each other. Personally, I'm not a gift person. I NEVER buy myself anything unless it's an absolute necessity. So why would I rack my brain, go out of my way to get you some shit you aren't even going to appreciate? It's a waste of money and intentions. They claim it helps with team bonding. I'm sore and bitter cuz that is a lie. Those interested in each other go home together, outings, sleep together, reply each other's messages. They don't need some formal carnival to do any of that
Messages are the most basic things. It's utterly insulting cause everyone always has their devices holstered. They respond to the boss instantly when tagged on the group. Any act of not communicating directly, is both deliberate and a passive declaration of war. So why drag me into your annoying shows? Do your clique thing however you want. Leave me the hell out of it15 -