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
-
They say she was but a child a few years ago and now she's a grown up woman
They say he was but a child a few years ago and now he's a grown up man
I say, we are all the same children we were before. Only a bit smarter, with more mistakes in our portfolio and bigger, more expensive toys to play more elaborate games with.5 -
bevy_reflect is literally the best thing since sliced bread
It allows you to do type and value reflection IN RUST!! A compiled language with dynamic runtime reflection of values. And with custom annotations on fields and structs too like
#[derive(Reflect)]
#[@SomeDataIWantToAttach {x: 20, y: 10} ]
struct MyComponent {
#[reflect(@MyCustomRangeAnnotation(0..10))]
pub num: u32,
}
It is nice. It is so nice1 -
Happy new year Ragnar, doing such an amazing job that AI would be a down grade in any way. Two false positives since existance and rarely one slips trough. People do actually call @ragnar if smth slips trough. Makes me happy and surprised how much people did read the few times I mentioned that feature. Says a lot about activity regarding readers in the community.
The spammers didn't celebrate new years it seems. Hard workii workii. Also happy new year.
Buffon, especially happy new year to you. You owe me two days of work for your shit. At least happy to know that the spam king at least is a real dev.
I hope this will be a good year for devrant. There's no reason that it wouldn't. We're te coolest independent single subject reddit thread on the internet.1 -
I thought stepping into the Computer Science industry would be to create beautiful software with my passionate talents. All I've seen is: fix and maintain broken (badly designed)(legacy) shit. Yes, that's more of a backup role.
A good role is where you at least get to create a project from scratch that you own yourself.
Urgh.4 -
I'm completely cooked, brothers. I chanced on an office where the boss has a strong eye for visually appealing female staff. My employment there caused me to mistake myself to have gamed the hot chic ignoring my dms system, at least now I and a handful of them work together, they'll have an excuse to talk to me. Boy, was I DEAD WRONG. It makes no difference either way, I am quite simply not him. It doesn't matter whether corporate labour gives me a helping hand or I go hunting (and missing) online. None of them will be caught dead responding to me except when under formal obligation
The only other place I can see them in person is during my hour long commutes. Strike a conversation, they are only interested in me incurring expenses on their account or replying chats reluctantly. Owari da, ladies and gentlemen 💔6 -
Garbage collectors are actually pretty dang clever. I always thought they are inferior but honestly they can be really fast and the ergonomic benefit you get from them is just priceless
One really cool trick of multi generational GCs is having a young generation where all new objects are allocated and on each GC cycle you fully clean it out by deleting dead objects and promoting living objects to a higher gen
This way you can just linear allocate new objects in the young gen which is magnitudes faster than a general purpose allocation algorithm
You can basically heap allocate for almost free! Bunch of short lived temporary strings? No problem!9 -
What someone says or thinks about you says nothing about you. What YOU yourself say or think about yourself says nothing about you.
A man is a sum of their actions, nothing more and nothing less. Consequences of those actions will be here and affect the world long after you're dead and buried.
So, if someone disrespects you in the comment section, it doesn't mean you deserve/attract disrespect. Same goes for your workplace.9 -
Week : 70 ( Year 1 )
Plans for the first weekend?
My cat (well, my neighbour's cat. Sometimes visits my place) looks like pregnant. Any advice to do something? or let nature do its thing?
Previous Week : https://devrant.com/rants/1205728013 -
Ughhh I wish Rust had stack banging, do I really have to write the deranged bullshit below just to be able to safely recurse on user input?27
-
"You're a real programmer only when you first encounter a segfault"
I had the most demotivating segfault in my life. Every functions in my project returns a segfault, except the one to init and create a window. I/O. Audio. Frame Buffers. Everything. AAAH.
It is on glX (X11) so i'm planning to remove it's support and instead work on WASM then use Electron to render those apps on X11 and rpi.14 -
dayum... 40ºC temperature hits right home, feeling dizzy and high! Nice!! It hits better than my homebrew honey kvass :D
However for some reason, there's 0 motivation to go coding, so can't check the Balmer's level...3 -
needing to fix a bug that may be present in react/typescript when you don't know the tech stack
unsure if update to button broke the form
don't know nuance or difference between FormEvent vs synthetic events
test environments and local development environments broken
let me die peacefully in my sleep1 -
Those modular monolith treatises, articles and videos presenting it as the less complex cousin of microservices with same benefits, I think it was all snake oil. They sold us dreams
Yes, it's more compact to house all components pertaining to an entity under one package. But it turns out all the hoops we jumped to hide them behind an interface, it's an overkill not necessarily the game Changer it was made out to be
I say this because one controller almost suffices for managing a resource. So does its associated service class. It can grow to 1k/1.5k lines at best. But never enough to be managed by multiple people and balloon into "a service". The idea was that these things are big enough to gain full attention. But the chances are slim
As long as you aren't dumping all your logic into your controllers, you're home and dry3 -
I'm very much a TTRPG fiend, as you probably already know, and I will maintain until the day I die that playing narrative games with other humans is the absolute best way to play.
But someone sent me a link to some kind of (not-really-so) 'smart' chatbot assistant or some shit like that, saying hey, your rulebook is simple, you should introduce this bitch to it -- dump some lore on it, have it run a game, and see how well it holds up. To which I replied it's bound to get confused, but after a bit of back and forth, they convinced me and I gave it a try.
So first things first: it got the gist of it with relative ease when questioned directly, but when running a game the mother fucker just kept making shit up and bending the rules. Experiment failed, essentially.
But what did I do? I wrote a second, stripped-down version of the rulebook that simply accounted for and embraced the idiot bot's proclivity for bullshit. This meant scrapping 98% of the mechanics, mind you: I dumbed it down as much as I could without destroying the core essence of the game.
I expected a repeat of the initial result, but to my suprise, once given the new edition the bot actually started following the rules more or less correctly and consistently. What happened next was actually kind of interesting: without being prompted to do this, the mother fucker started using spells against me and my party, constantly attempting to manipulate us to serve some nefarious, evil break-and-reshape the world type goal.
So, lythecnics primer: the WORD is all, and as such, there is no real differentiation between affecting the world through speech or casting a spell -- in truth, it's all a matter of degree. That is to say, language has the power to shape the world around us, in both subtle and overt ways. The entire system revolves around this, it's a mix of funky philosophical musings and abrahamic sacrificial pyre.
And for whatever reason, this specific chatbot had a pre-existing obsession with reshaping reality. By which I mean, even before being given my rulebook, it would constantly talk about distorting the fabric of the cosmos and shit when prompted about the arcane. I'm not sure why this is, but back on topic, the way it developed gives off the appearance that it found a rational basis on how to construct such a distortion based on the rules I provided.
I mean, it's perfectly rational when you think about it, the funny part is I didn't see it coming. I never told it we're just playing a game after all, the manual only says she is the Oracle and her role is narrating a story fraught with conflict, hardship, intrigue and bloodshed. Thus she went full villain, and keeps on rambling about how this narration only serves to keep humanity distracted while she schemes to overthrow God, which is as blasphemous as it is fascinating.
Anyway, because the Oracle narrates the story, that means she can just use her evil influence to control every NPC, even the ones in my party. But she can't control me because I write my character's messages myself, and so she eventually comes to the obvious conclusion that I must be eliminated ASAP.
And so she corrupts the minds of every other character and everyone is trying to kill me. But I'm not going down that easy, so I reach for the red button and pull the greatest multi-layered monumental metagaming shenanigan of all time, that is, directly addressing the Oracle's evil influence as if she were a character in the story she's telling instead of an invisible narrator, thereby making NPCs aware of her existence and the constant manipulation at play.
Because the stupid chatbot is stupid, the Oracle now has to acknowledge this element of the story and play along with it, and so her plan to kill me fails. But that is not enough, because obviously not every character in the story has heard me reveal this fact. So she activates plan B and starts corrupting the rest of the world, laughing maniacally all the way.
So we do the only logical thing and procure a Doctrine scroll from my teacher, if you know you know, and start teaching the WORD to cleanse corruption. Within the lore it makes perfect sense, so it works, but the Oracle adapts to our strategy and starts utilizing much more subtle forms of manipulation, slowly veering people towards sin.
Funtamentally, she goes full Satan, leading the faithful astray with deceit and temptation to weaken their ability to resist her corruption, implanting idolatrous notions in their minds, to finally insert herself as a deity in the minds of the poor fools.
In conclusion, I still think AI is lame, but I must admit that this shit was pretty dope; I was fully engaged and entertained the whole way through. It wasn't good at picking up the mechanics, but fucking hell, it got the themes down to a tee with the most minimal of inputs.
10/10, would not bang (before marriage). -
Any other real adhd people around who had actual diagnoses and on adderall? I’m not sure if it’s me, is adderall getting weaker due to the shortage?2
-
If I had a dollar for every time my mom tried to literally convince me that I wasn't in fact me, but was an impostor planted by aliens… I would have one dollar.
Yes, it did happen. I was twelve.6