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
-
back in the day, by which i mean over a decade ago, i was a pretty big fan of the blender game engine. it was extremely barebones, but really fun because you could quickly make a model (textures, material, animation and all) and then slap some logic into it with python, all inside the same program.
me much liked that for funny brain tickle. but after a few years playing with it i eventually concluded that making a serious game with it was off the table. my reason? it's not all that great when you want to get technical with it, like say:
[dramatization] what? you want to write logic in C++ to speed things up well fuck you that's impossible but actually no it's entirely possible what happens is we have our scalps glued to own asses and the effort of living in this bent over backwards position makes it so the only way to ever meaningfully interact with code that is very much contained within the freaking binary is forking, modifying and recompiling the whole damn thing.
are you kidding me. the fuck were you smoking when you designed this.
but let me explain what i mean so that you can better understand my point ok. i had all necessary headers from blender source, so i could use structs and classes defined within them in my own code. so i compiled that to a shared object, open up blender, and load the *.so through python. worked, remember like it was yesterday.
so surely i could obtain a pointer to anything and pass that to C++? yes, absolutely, but it was entirely useless because i couldn't call any functions. functions that were loaded in memory, because they were all part of blender, but completely invisible to shared objects, so dynamic linking fails if you try to do anything meaningful with them. your only option is recompiling blender and using the statics in the build directory when linking your shared object.
that's stupid, isn't it. so i opened an issue about this on the game engine fork, saying something like:
"hey, i need to add some symbols to the dynamic table to make a public api for C extensions, is that ok? i'll do it myself, just tell me where the linker flags are actually being set, i can't find it in this cmake mess. this is just so one doesn't have to duplicate the entire codebase for every tiny extension."
the answer was this, AND I QUOTE:
"sorry i don't understand anything too technical."
...
anyway what followed was a thorough and painfully long look at alternatives which only left me disappointed. and by that point i already had enough experience with opengl that i said you know what, fuck you all: i'll make my own engine with blackjack and hookers.
but fast forward to today, still no game. sadface.
on the bright side, now i have super compiler utilities that trivialize a lot of problems my younger self had when writing C. cool, i can do much more with way less. code better too. but time? i'll never get that back.
just just just a few more months to go please. avtomat is *almost* there, i'm so close i can taste it. just need to hook the preprocessor into the C building pipeline, and then i can get back on track with... ugh, fuck! fixing the library code my engine depends on!
this is what i get for trying to do things MY way. suffering. but also mystical powers so it evens out.
ok back to you caroline.5 -
Currently building a simple-as-possible source language for my compiler and I was thinking whether I really need structs and arrays as fundamental objects. But I guess it makes sense because one is a heterogeneous collection and one a homogenous collection
My thought: Let's call those types Homo and Hetero!
Maybe not the best idea ^^6 -
My SQLite database has 37.930.787 records. The amazing part about it, i have inserted every record myself, by hand. Every key press is 3 records. So 37.930.787/3 is the amount of keys I have pressed this year. Quite sick huh? Oh, the data is still manageable btw, I have complete statistics pages about typing behavior such as speed and so on.13
-
I'm thinking of moving into functional programming. I'm deciding between F# and Haskell. I don't like that both have indentation as syntax, but that's neither here nor there.
I know the .net core stdlib like the back of my hand. I'm trying to decide - and, as the purpose of this post, trying to ask the community - if this is a *bad* thing when trying to learn a new programming paradigm.
In other words, I think I want to try Haskell because I won't be able to lean on my knowledge of the standard library. I'll be forced to actually understand the language and learn functional concepts, instead of trying to bring my OOP knowledge over from C#.
Additionally, the .net stdlib is obviously built in a OOP design, so I'm afraid that the F# stdlib might suffer from that too.
But I'm still thinking that maybe my knowledge of the .net stdlib will be more helpful than harmful? Like, yes, I'll be using it as a crutch but at least I won't be trying to learn three things at a time (stdlib, syntax, and paradigm) and can focus solely on the syntax and paradigm.
Anyone have any insight into this problem, or maybe some wild guesses?14 -
> Fred is a college student who was so preoccupied with getting a term paper “just right” that he dropped out of college to work on it for an entire year to avoid the horrors of turning in a product he wasn’t entirely satisfied with
-
Just submitted my first bounty PR. Waited 3+ weeks to hear anything back from maintainers.
Jumped in their discord and politely asked for a review.
Maintainers said, "tomorrow".
Thank them for their time
Waited an extra 3 days, asked again. Maintainers ignore me in Discord but happily tend to everyone else's PR
Get tired of waiting, being ghosted
Close PR
Delete branch
Leave comment saying "haven't heard anything, deleting this and taking it with me"
Leave discord
Block all organization members
Don't waste time on people who won't give a moment of theirs2 -
My colleagues are really addicted to Pokémon. They took their lunch break at 10:00 to go to shop because the pokémon cards are restocked today at 10:00. Now half of the team eats their lunch while working cuz their lunch break is already used lol
Also, the company doesn't even measure the breaks. They usually take multiple smoke breaks totalling over 1h each day. Nobody complains about that. Idk why they suddenly care about the duration of their lunch break2 -
Gooood morning, wood chuck chuckers! It's cooooding tiiime!
It's coooold out there! It's cold out there every day! What is this, Miami beach?
Nice job boys, you're playing yesterday's tape.3 -
What country is led by documented pedophiles? I know about the US, France and belgium. Any others?18
-
we all been there, if not, you're doing it wrong or not doing it at all. Either way, this time around it was Spotify's API. I had this great shit cooked I took down a while back and decided to get it back up because fuck why not so i put it online and BAM! No track preview playing, audio analysis missing and a feature I've busted a vessel to implement was utterly broken. I was very proud of that one btw, it generated color palettes from user taste in an actually meaningful way, no random shit, like, I almost got bald grasping the theory behind it... But I digress...
So I cloned that stupid project and checked some shit out and BAKABANG! Spotify deprecated all the endpoints and response fields I actually needed and only they had that shit FTP.... So I've noticed they still had their Embed API running... Hmmm hehehe.... Wrote a fucking module that used it for playing my tracks, so yeah, now I have playable tracks again... Illegally,might I add, since I'm not displaying the god awful banner their embedAPI fucks you with... The audio features thou, that's a mess cuz I now need to do the fucking audio analysis on top of that fucking embed API and FUCK my heart out figuring out a way to make it snappy without an actual server cuz yes, it's a SPA... fuck -
FUCK U FUCK U MY DAY WENT FINE UNTIL I ATE MY FLAN AND IT RURNED OUT FREEZED SO ITS NOT GOOD ANYMORE AAAAAA FUCK U3
-
Companies these days have this weird fetish where they take all the best nerds with the best grades from colleges and then only accept those.
It's now the opposite of what it used to be. No humility, no 'average Joe'. That stuff belongs to the 90's, it seems. Now we have a bunch of pink unicorn overachievers and the rest of the people just can't catch a break. lol13 -
There are exactly three variations of the % symbol:
% percent, 100
‰ per mille, 1000
‱ permyriad, 10000
and per cent mille, 100000, doesn’t have a symbol anymore, just an abbreviation: pcm
We can’t even go into the other direction and reduce the number.
per deca, 10, could be % without the second circle, like °/ but it doesn’t exist as one character.2 -
Got hands-on with algebraic data types for the first time ever while studying F# today. I can see the draw, but I don't really give a shit. Why? Cus 99% of the classes I'm going to work with on a daily basis are still gonna be
DatabaseReadWriteBaseImplementation2 {
sequentialIntegerID: string
}6 -
Week: 114 (Year 3)
How was the weekend?
Question: What is something most people misunderstand about you?
last Weekend : https://devrant.com/rants/19381611 -
you cold apply to a job and get ghosted
i cold apply and get two rejection emails
we are not the same
