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
-
I hate 2FA, solving a problem I don't have. I expect it rather to lock me out some day than actually helping me.
Just subscribed to a service, pissed that I couldn't use a simple password and had to do one of those impossible ones making you store it in a Keychain or making you the forget-button dozens of times. Activated account, and then it wanted you to do the 2-FA as well.
Do realize, my freaking bank has just a four digit code weirdos!2 -
OK, I think Ive figured out how I want to implement the core of my game.
Basic idea. Everything is made of sigils. What is a sigil? Lorewise, a representation of a concrete idea. Mechanically, it's a container for one or more ingame effects.
Again, anything you can think of, be it mundane or arcane, is a sigil. Every object attribute and method that causes a mutation of the game world state is composed of either a single or a sequence of sigils, known as a signa. You can do abstraction and have one thing encapsulate others, all that good stuff.
We go turnbased because tabletop rules. In your turn, you choose what to do with the sigils available to you. Common stuff like walk, talk, crouch, attack, et cetera are available to everyone.
You choose which effects to use, keeping in mind that order matters, and these effects either clash against or boost each other according to internal rules. Any relevant environmental modifiers around you or status effects apply here as well. Theyre also made of sigils, so theyre just implicitly components of the spell.
Finally, we get the result. An aura. It is simply the aggregate of all the sigils, containing the final transaction that will be applied to the game world, with dicerolls, if any are needed, already performed.
So here's the crucial bit. We record the aura for each turn, taken by either the player or the game itself, which includes the sequence of sigils used. Because each of these are words, or a series of words, it can be used narratively.
Let me give you an example. You are in a swamp, you use your turn to move around. This gives you an aura like so.
src: player, location: swamp, status: ok, walk.
We push that to a stack the game can see.
Now the game has to take its turn, and will look at the stack to get ideas. So lets say this swamp hindered your movement, gave you some trouble getting around. This is noteworthy enough as it affected something in the game world, and theres nothing else going on, so its made into a topic. The game will now pay attention to it and make it available for talking about.
topic: swamp-slow on player-party.
Everything is sigils, remember? Speaking is an effect, as is giving you something to talk about. Adding a topic results in an aura, push that to the stack.
Maybe then the game decides have the players companion make a comment on this topic. OK, just pair speak with other sigils to make an expression. The current topic is simply about a single negative effect, so one or two should be enough for a comment.
Factoring in the companions traits, also sigils, and the fact that for now this only a minor annoyance, we end up with an aura.
speak: topic -> complain about.
Do you see where this is going yet? The spellmaker gives us the means for text generation. The key here is instead of processing natural language like a bunch of dumbasses we just have an array of structures meant specifically for this purpose.
Anyway, the player now takes their turn. They can keep silent and continue moving, or say something as well. So let's say you pick the speak sigil too because why not, the current topic is also available to you, so you can reply. Depending on what the last message (aura) was, you get a range of options, and why not, let's factor in the player's chosen traits as well.
speak: shutdown -> complain about topic DOT change-topic -> mcguffin-quest.
We're on a mission to recover some plot stuff so shut up.
This results in further state changes, albeit behind the scenes. Our companion isn't happy, and we have a sequence of structures to prove it. Actions taken in relation to a topic can be associated with it if they're deemed significant, id est they caused a mutation of the game world's state.
speak: remind -> topic-name.
Thats right. Companion dude WILL remember that, you son of a bitch, and you bet your ass hes gonna bring it up if you keep acting like youre his boss or some shit. You dont even pay him!
You may say its such a small thing, but it all matters in a story. So we keep track of it, see what we can make this branch off into once a little more time has gone by.
What do you mean crazy, Im a fucking patrician of tenebrous arcana. You solve the problem by not solving the problem, obviously. Fuck natural language processing, all my homies use Litechnics to make narrative-driven programmable representations of the human condition.
Further rules include breaking gameplay down into scenes and acts as if it were theatre, because why not, and having baddies cooking shit up behind the scenes. Mechanism for that is the same, read the current stack and output structured wordsoup based on it.
We can even have a chorus narrating.
Or an audience reacting lmao.
OH GOD.
BUT I'M SO FRIGGIN SLOW OF A DEV.
WHAT IF I DON'T LIVE LONG ENOUGH TO IMPLEMENT THIS?
SHIT.
WORST SHOULD COME TO PASS,
PLEASE AVENGE MY DEATH.1 -
Login button appears twice. What the fuck. Is the component somehow being rendered twice? That doesn't even make sense. You'd still only get one button.
No, it's because at some point, by the miracle of AI, when I hit tab to accept some superficially useful edit, the bastard thing thought it would be a good idea to duplicate a few lines of code further down the screen.
Thank you, CoPilot. You cretinous son of a cheap backstreet whore.2 -
Freelancers, where and how do you find clients?
And how's the whole freelancing thing working out?2 -
Okay I'm about to do something diabolical
Anybody knows if reading beyond the bounds of an allocation is UB in llvm when I'm doing the read via inline assembly? 👀1 -
What is your method of dealing with states in state machines? In programming, we often come across situations where we have to model states in our head as to not get the programming wrong, e.g. in my case right now:
You have a tabular webform that gets filled in.
Requirements:
- When the user is able to search the data for a specific value, it should be a cumulative search (e.g.: search for books with "eng" in the language and then with with "19" in the publishing date)
And so the current pseudocode is:
search(e) {
if(!word) {
set(previousState);
}
const searchdata = previousState.filter((row) => row.indexOf(word) != -1);
// but wait, what if I say: searchdata = searchdata.filter() for cumulative search? Oops, I can't, because it doesn't exist at that moment yet. What if I create another variable?
setState(data: searchdata);
}
Current bug:
- when deleting characters from the search field, it doesn't filter cumulatively; it just filters the data according to the current filter.
It's things like these that get me stuck sometimes.1 -
Product idea:
Create an app to dox people. Then with poor coding skills dox the entire app community.7 -
sooo... haldol and whatever anti psychotics reduce dopamine sensitivity (cuz high dopamine gives mania, then psychosis)
and a consequence of this is what they call "restlessness". I didn't feel it at first. but now I keep feeling PURE SUFFERING. and it makes me wanna run at walls or something just to make it shut up. the guy mentioned it offhandedly... and it's the one thing they said would go away but not all the other symptoms which did go away... well this one appears to be getting worse over time. at first it was mild but now I get ridiculous bouts. I can't even focus on anything now. I'm just in pure pain. the fuck man. weigh like a ton of bricks. wtf. why. jesus
annoyingly it comes on in the evening, milder, when I try to sleep. also happens when I try to sit and do something. again, milder. right now my whole body screams instead. is this gonna be for hours. bruh. what the fuck honestly. and it's not timed to the pill I'm eating, so why the fuck does it come on and off fucking randomly. sometimes far worse than other times. grrrrrrr. God just what the fuck man. pure suffering4 -
unfortunately, iCloud's "hide my mail" available for as low as $1.19/mo is the best email aliases service. Why? Because those addresses have no discernible pattern, and, most importantly, end with @icloud-dot-com.
a lot of services nowadays think aliases are for scammers, so they reject well-known alias domains like those proton has. but no one rejects icloud ones.
they can't wrap their head around that people like me use aliases, one alias per service, to have control over the spam you send us. unsubscribe buttons in emails often don't work, or unsubscribe you from some super-niche "segment" that one email belonged to, but because you bitches have a lot of those segments, you just carry on spamming.
major dicks that aren't concerned with email deliverability rating, like microsoft — because their emails get delivered no matter what, they're microsoft after all — think they can just not allow people to unsubscribe from their spam. when I needed to create a ms account, thank god I used an alias. I got bombarded with their spam, and lo and behold, not a single email had an unsubscribe button. Instead, the bottom of each email said "this email is a part of mandatory onboarding" or some shit like that, despite just being advertisement. no option to unsubscribe from that bs in their "dashboard" either.
so I just disabled that alias. despite what all of you stupid fucks want, it's my computer, and on it, the computing happens on my terms. when I need a confirmation email, I enable the alias, get the email and then disable it.
I have no mics and no cameras. I pay cash. I don't borrow money from banks. I don't have a credit card. when I receive crypto, I exchange it for cash directly in a physical crypto exchange that doesn't require my passport. I have headphones with built-in mic that I use exclusively for calls, but when I plug them out, no mic for ya. my next phone won't have a sim (and no eSIM either), I will disassemble it and take the front-facing cam, as well as mics, out of the phone, and then cover the back camera with velcro that I'll undo every time I need to take a pic. it will also run graphene os and be held inside a faraday cage when not in use. I have a separate dumb phone for calls that has its removable battery disconnected at all times when I don't use it. no matter if you're corpo or government, no matter all zero-days and backdoors, if there is physically no mic and no cam to be found, trying to access them is futile.
no use trying to profile me or get any kind of info from me unless I want you to — I'll just strangle you and your systems. my info sphere is a fortress surrounded by a bottomless tarpit. you'll drown in it should you try to violate me. if you so much as touch it, it will suck you in. I'll stream your drowning on youtube.
even irl, I try to dress, walk and move as weirdly as possible. during my morning walk, I be straight up walk as if I was rabid. when our eyes meet, I'll smile creepily, just to communicate that don't fucking touch me you fucking degenerate. don't even think about talking to me. just walk away you bitch before I pin you to the ground and bite your ear off. if you're bigger than me, you'll just get tased.
only those I trust deserve open, kind, validating, beautiful, well dressed and good smelling kiki.4 -
you know what? I'm gonna say the n-word whenever I feel like it. Of 88 English-speaking territories, exactly one did import people from Africa to enslave them. My home country wasn't doing that. I don't work in the US of A, I don't live there, so fuck off with your US defaultism. US of A's "culture" is not the default/main culture of the world.
You cry freedom of speech, then ban some words based on someone's skin color. If that's not racism and hypocrisy, I don't know what is.
I won't say it on devRant because I'm not anonymous, and I don't want some job to not hire me because of this stupid shit. I'm not afraid to admit it. Also, devRant is an american platform, so yeah.
If I came to the US of A, I wouldn't have been saying the n-word there, because when you're a guest, you gotta respect the rules of the house that hosts you. My problem with a certain one house is that this house thinks its borders end nowhere, so everyone must obey their rules wherever they live. Miss me with that shit.12 -
Week: 98 (Year 2 )
Last weekend of the month. How is it going to be for you?
Question: What's a line from a movie or TV show that you’ll never forget?
last Weekend : https://devrant.com/rants/189006024 -
Every time OpenAI updates ChatGPT they just mess things up. Like now, suddenly you can't hold the Ctrl-key without some overlay popping up - showing the shortcuts - that can't be configured! And there's no way to report bugs.2
-
Autocad is freaking expensive. Freecad is difficult to use and had weird quirks [eg how the hell do I close wall gaps created by removed windows?? How to position windows at fixed distance from a corner??]. Librecad seems to be the weakest of the three.
Soo.. Pencil, ruler and paper it is then, I guess2 -
lol the UI has a new background and some color updates, but features that users requested last year and myself and my team have been working on for the past 6 months (and can generate millions of revenue for the business) get pushed back in the deployment pipeline.
these people are fucking retards.10 -
We have a new game my coworker Landon and I are playing. There are two high use restrooms near our offices. There is another coworker (male) that likes to use these restrooms. If the toilet seat is left up he will go into the restroom and slam the toilet seat down. I have no idea if he is angry or just oblivious when slamming the seat down.
The game is to see how many slams we can get in a day. We will go "reset" the board when nobody is in there. (Resetting being lifting the seat up.) The current record is 4 slams in one day. We nearly got 5 yesterday. The clock literally ran out and there was no overtime yesterday.
Yes, this is a stupid game. We laugh our asses off every time we hear the seat slam down. We are taking friendly bets as to when the seat or the bowl breaks from the repeated trauma.
Note: the slamming coworker is in a wheel chair. AITAH?3 -