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 had the strangest occurrence today.
Client lost priv key to some ec2 instance.
Sure, I detached the volume, and attached to another instance to go and add a new key to ./ssh/authorized_keys.
Sure thing, I mounted the partition successfully, and then shit happened.
Say I mounted to /mnt/old
It would mount without issue but...
ls -la .
(With /mnt/old as current directory) Would show nothing, as if the directory was empty. df showed it wasn't the case.3 -
I'm attempting to write a programming language (again). I've got a tokenizer. Anybody wanna check it out?
https://github.com/jason-pezzimenti...10 -
So story of my life i'm always the last to get the newest. But now that i got the newest, i miss out yet again
BECAUSE FUCKING DFOX DOESN'T UPDATE HIS APP!9 -
I was so bored with work in the end. It was more administration than programming. So, i kinda quitted full application development. The thing is, it's expected that you use some existing framework. First of all - they never work how you want and the programming part of your work is mainly solving the limitations the framework brings without hacking too much. You keep within the boundaries of the framework. Besides that - since all fun stuff is already done by the framework builders all you have to do left is kinda administration. Field here, field there, rest call here. Extremely boring. When you've setup the base good, there's no challenge anymore, just producing windows and input forms.
Now, a few days ago, I started to make a clone of rocket chat. I use minimalist http framework (aiohttp) and you have to build most features yourself on top. Same for the ORM, i use dataset which does schema synchronisation for you but doesn't come with models. So i made a complete model / mapper entity framework on top of that. I made one single validation system that applies on models, forms and frontend validation. There's only one truth of valid data. Within the models, services, mappers and forms there's always the services variable available making it possible to fetch any data from any object. Never weird exceptions has to be done to get data. The implemented global LRU cache system is super in auto synchronizing the objects, don't have to do anything manually.
Finally software development of a full product is fun again. If you know how to do it - making your own framework is way easier than an existing one. On top of that, it's more advanced. I do understand that frameworks are aiming to be a bit minimal to be multi purpose, but with that attitude in mind, they still achieve to make it annoying as fuck.
Regarding time, it's just a few days of development. That's nothing for something that does exactly what you want. We have to drop the use-a-framework-because-it-is-stupid-to-do-yourself mentality. We should be programmers again! Not administrators! It's not weird that chatGPT can do so much of our jobs, our projects became lame.3 -
Here's an idea: Instead of hundreds of lines of import statements (which nobody writes by hand anyways), programming languages should use c# style "import everything from this package"
BUT ambiguous types cause a compile error where you must annotate one import to be the correct one like this:
import engine; // has a struct named Foo
import stuff use Foo; // also has a struct named Foo, this one will be used
Additionally might make sense to also allow
import engine use Foo as EFoo;
import stuff as Foo as SFoo;2 -
A friend of mine has once sent me this job posting:
https://skillshot.pl/jobs/...
saying to me: 'You _need_ to see what they wrote for their 3rd requirement!'.
...
The fuck!?!
Since _when_ is empathy a fucking requirement for testers?
We had a good laugh about that.10 -
A couple fucking brutal, merciless dungeon moments.
So first, we were having a chill kind of session. Throwing lots of jokes and shit, and I rolled with it. The baddie for the day, I felt inspired, and named him Fawq El-Fuqer, which yes, is very unfortunate.
Anyway, we avoid his goons and reach his impenetrable fortress of chronic masturbation, and it goes as well as you think. The rogue says hey, we gotta get him with his pants down (pause) literally. The cleric is skeptical at first, but she comes around to it.
And so we do it. I spin this tale of a man who's got a schedule tighter than his fucking asshole. El-Fuqer meticulously plans his shits, he makes it a whole ritual, even gives it a special name: Mud O'Clock.
We wait for his alarm to ring, and spring into action while he's taking a fat stinking fucking dump. The warrior kicks down the bathroom door and corners El-Fuqer while he's on the shitter, demanding satisfaction for their past romantic involment that's been strongly been hinted at, you see, she said Fuck the Fucker and I, that's history. And that's enough for a subplot if you ask me.
So where was I? Ah, yes, the rogue bursts in through the window shouting out "Mud O'Clock MOTHER FUCKER!!" and we immortalize the moment in the finest silks. The wizard then does a little Bane impression for some reason and a multitude of loud 'plops' are heard as El-Fuqer evacuates the entire content of his putrid guts.
He gets roughed up a little, you know nothing like interrogating someone after they nearly shit themselves to death. We reveal some oooh so unexpected plot twist about a portal to goddamn hell and it's like well, crap, we gotta do something about that. So the wizard and the rogue leave to give the warrior and El-Fuqer some, ehem, space to settle their score.
What followed was the most unexpected, most brilliant part of the whole session. She didn't just execute him in a brutal, gruesome manner, no, she went full fucking throttle. Forced El-Fuqer to eat his own cock and balls while sewing his ass shut, then had a bowl of bull testicle salad to drop a montanious fecal cake of biblical proportions upon his face.
Believe it or not, we made it into an emotional moment. Because everyone was shocked by how brutal the affair was. Warrior had a mental breakdown like, uuuh, I'm becoming the monsters I swore to fight ooh no. She starting shaking and crap, ran away and hid in an alley to weep, it begins raining and it's getting very dramatic, so I cook up some spirit of sorrow that goes in and helps her face her fears and shit through the power of friendship or whatever.
Moving on to second moment, this is shorter but I like it best. The cleric and another two extras went to an old shrine to try and prove the wizard wrong about his denial of prophecy. Thing is, they did the ritual wrong. And I'm usually very forgiving but I was feeling nasty after the whole sowing of the asshole thing. So I'm like, uh, I gave you fools VERY PRECISE instructions on how to perform this ritual, and you just did some wacky prayers to the moon nonsense, that's idolatry in-universe and out-of-universe too (depending on who you ask).
So I said fuck it, you guys had it coming. I whip out immortal ten-thousand year old elder sorceress bitch guardian of the holy sphincter, and it gets real pretty fucking quick. She's got sanctified heavy plate armor, blue fire torches coming out they fucking pauldrons, argent greatsword of anal judgement plus infinity, all the juiciest shit.
Anyway, the sorc descends from the sky in a pillar of azure flames and is like yo, drop that idolatrous shit right now or I'm gonna kill you all. They mistake her for angel or some shit, and are like hey chill, we're the good guys. But the sorc doesn't give a shit, and she says shut the fuck up or I'll send you to the Night Eternal, bitch.
I dunno why but the cleric and the other two extras don't get it, so they insist with the whole heyyyy we are not idolaters, we're your friends, we are questing for the mandinga mandango mcguffango. So she bisects one, breaks the neck of another, and decapitates the fucking cleric. It was awesome.
So what did we learn? idk, don't plan your dumps and don't pray to the fucking moon if you're standing on hallowed ground. *****3 -
Decided to update my vcpkg version, and ran tests for my networking tests only for it to return QUIC_STATUS_NOT_SUPPORTED/E_NOINTERFACE for loading the config. Turns out someone decided to switch the default SSL implementation from OpenSSL to Schannel on Windows and didn't enable an option to put it back.
Now it returns an error if you provide a certificate file. Luckily if you enable 0-rtt it still forces OpenSSL 🙄2 -
Some time ago I had a brief period of time when I had no tasks.
In order to stay productive, while having a lot of free time on my hands, I had decided to create a documentation of a feature in our game that has slightly different implementations depending on the platform on which the game is running.
Once I was done w/ the documentation, I shared it w/ the lead.
His feedback was along the lines of:
'It's OK, but the color palette that you used could've been better.'
/* What I used was basic colors: feature is available = green; !available = gray; partial availability = yellow, etc. Simple, easily readable. */
So instead of 'Thanks for documenting this.' I hear 'You have poor design skills - you should've used company's theme'.
/* I'm guessing since the company's logo uses some fancy colors, in lead's mind, those colors should've been used in documentation. */
Well, duh - I'm !a graphics artist / designer, so no shit.
There will definitely be no graphical fireworks in my documentation.
I fucking love working w/ people who have their priorities straight - '_fuck_ usefulness && correctness of data; It must be pretty too!'.15 -
Finally fixed that bug after hours of debugging, and a bit of crying/screaming… and now I have a brand-new error message to cry about. Progress I guess?1
-
Help me find hooks for my techno radio.
I got:
"Boomradio, we got more booms than north korea"
"Boomradio, we got bigger booms than the tsar bomba"
"Boomradio, we got boomboomed by the boomboomtcha"
"Boomradio, you heard it once. It's too late".
"Boomradio, so you think you can dance?"
"Boomradio, be like water but dont spread around"
"Boomradio, we got more vibe than your crack dealer"5 -
Today I learned that power-to-weight ratio of modern passenger aircraft is so high that they can do a vertical takeoff. It should be almost impossible to stall those planes. I bet they can do barrel rolls just fine.
Even one engine is enough to fly safely.8 -
Does anyone know what the app id for devRant api is? is it still 3? I'm using 3, and it keeps responding with "invalid app id"
I sent you an email re this @dfox14 -
I'm writing a tokenizer for my programming language. Somehow, it found an closing bracket ']' before the fucking opening bracket '['.
Even though the code sample provided to the tokenizer isn't like that. :( FML8 -
Okay, this just fucked with my brain. We are supposedly seeing organisms (including humans) doing better in radiation fields.
https://youtube.com/watch/...
Not so sure about the ending, but I am also messed in the head about some of the thinking going on with consciousness. I suspected our thought processes are not completely body bound. I guess if the mind is interacting with a separate entity then it would need a physical mechanism. I dunno, seemed really speculative.
This guy usually does a rug pull and shows how everything in the beginning has doubts. He didn't do this on this one.6 -