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
-
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 ^^4 -
When you heard so much about A.I. that you think 'code assist' in Eclipse means A.I., when it really just means local docs contextual pop-up. lol8
-
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 -
Everything goes behind payment walls regarding AI. Claude pro sucks, codex got limits, perplexity limited file uploads, I can hit daily limits with gemini that I didn't have before.. It started already with the limited deep search everywhere. The problem is, I'm still paying the same but got less. Wtf.10
-
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.1
-
I've achieved a new definition of "one shotting code".
There's this JS framework named tsoa or something?
I just take a look at existing API code, make subtle copies of it to create new APIs, don't even test in my local, and straight deploy to production.
And it works just fine, and no AI involved.
I feel like a god.1 -
The rust linux tools for Ubuntu are such a damn failure. They even have different output or do not even cover the full functionality of the real gnu tools. The project is already bonkers, but a bad execution.. At least do that right.10
-
zip > rar (personal)
Until... I had to compress files with UTF-8 in the name. zip couldn't... ?
Ugh... rar it will be this time then...
I bet there's an option in Windows to allow this, right? I guess I'll have to adopt some file compression software... ideas? I just know a couple, and have no real favourite.5 -
yay, the deadline has been pushed back to an undefined time next year. Senior dev admitted that his approach is wrong and we will work on documentation & set clear expectations with the shareholders & define what endpoints the project needs... Literally those things I did warn him about and he ignored previously.
The stress is now a lot lower, sadly still a lot of stress from my private life :[6 -
Who the fuck thinks that giving the user the possibility to delete/create any DB column is a good idea on a table that should have 100k+ records.
Why does this senior guy not realize how bad this is.10 -
Okay, Visual Studio 26 still has poor color contrast in some areas (specifically, menus, lists, and other "regular" UI elements as opposed to the actual code editing area)
But credit where credit is due, they have a LOT more themes and a LOT more variety. Visual Studio used to allow you three color themes: light, dark, and blue. Now, they have all sorts of colors like green and pink.
BUT (maybe because it's an an insider build?) it didn't get added to my start menu or anything so I have to launch it by going to the visual studio version manager (now called the "installer" even though that's just one of the things it does)
It also reset my fonts again, but that's just expected at this point.3 -
Looking at a job posting and they check to ask if you have experience using javascript/typescript for the backend.
All I'm left thinking is why would somebody choose that for the backend. I can understand if you know nothing else it would make sense.9 -
The iPhone Pocket (£220) was inspired by "a piece of cloth", apparently.
Bullshit.
The longer version resembles a type of knot referred to in nautical parlance as a "cunt splice".
There's your inspiration.
The iPhone Cunt Splice™ was lovingly crafted in Japan by some pretentious arse. "When stretched, the open textile subtly reveals its contents."
Perverts.7 -
reading a book on depression, which this psych dude I met apparently glowed about when I mentioned it. pretty sure this was a popular and pivotal book in psychology. "Feeling Good: The New Mood Therapy"
it has a quiz in it for "dysfunctional attitudes" which after you take it will tell you your psychological strengths / resiliencies and weaknesses / things people can abuse and manipulate you with, which will cause stress and eventual depression
then the guy tries to argue at the end of the quiz against you having the dysfunctional attitudes with this and that reason. which I'm finding quite validating because..
I took the quiz and scored it the first time I was like "whoa I'm so weak" but apparently I reversed the numbers because my brain is scrambled eggs. in reality I have no weaknesses, and the things that most annoyed people about me and had them try to put the most pressure on me are my strengths. I am so validated
but the problem is... ummm... everyone is highly fucking dysfunctional and they think you're the problem if you're different from them. if they can't manipulate you then they get irate and think you're good for nothing (you could just ASK instead of manipulating me. I always found this so disrespectful and insulting)
now I'm thinking my job PTSD / fear / anxiety is because everyone's attitudes at work were so dysfunctional. they really didn't sell me that such a life would be worth living. and in this book, yeah, literally those attitudes were tested to cause emotional and mental issues in people. wtf. I felt not built for this world but it is the world that is wrong -- according to this book anyway
so that gave me some hope but trying to research workplace attitudes made me feel worse. it's so wild to me that we believe these things as a culture and try to impose them on each other when they make us miserable
and workplaces seem to literally be looking for these "insecurities" (how I saw it before this quiz). that if you fail to agree or be friends with everybody that you're worthless. that if something you say upsets someone it's your fault. toxic competitive mindsets where you should always be "on" or you're worthless. displaying weaknesses is gross, etc. put others needs before your own. the stupid status or competence means happiness myth which always drove me wild about people because in my experience status is just a manipulation tactic and there's no gold at the end of the rainbow, just management then making everyone an enemy of yours by using you as a measuring stick until people unnecessarily hate you which is just so goddamned toxic (all the while you're not even making more money but you are working more unpaid overtime -- also the myth of "if you put in the work you will be rewarded" which they told me even though I don't believe in entitlement and then how am I supposed to rationalize that they promised me something and it wasn't even my attitude / belief but I got to suffer the depression from it anyway because they told me that was the worldview I should be having to belong and be a "professional"?)
omg and perfectionism. finish everything you start. I even got these at interviews totally unprompted, but it isn't like I lacked content for them to judge me on
I remember a "friend" heard I got let go at a job and he started laughing and saying what a failure I am and I was taken aback because I was having issues with my boss there. I felt _relieved_ they let me go, because it was causing me stress to try to work with my boss who wouldn't communicate her expectations to me but would always get mad at me and not explain why she was. to me that whole situation was dysfunctional. to the company, none of my co workers saw it as a problem, and eventually I contacted HR and a few days later I was let go so I guess they didn't see it as a problem either. it was a problem, objectively though, like how physics works. if you don't say what you want you're not going to get it. it was making me crazy trying to explain that to people. I was happy to be rid of the problem. but this guy for days went on how it was a personal failure of mine, but all I could think of was how I knew myself better from the experience. and this "friend" wasn't the only tech person who sided with dysfunctionality in tech. an ex of mine was vicious another time and you'd think someone you're dating would have your back, but in his head all criticism was always valid and he was in the wrong if he ever got any and should be ashamed of himself as a person and he put that on me and I thought that was so fucked up
recently someone got irate at me and terminated friendship because something a mutual friend of ours said to me was unhelpful and I told the guy as such. well said guy took it personally, and then I was under pressure to be "compassionate", and "understanding". yo what about being understanding of me? when I wouldn't go with the pressure he turned a cold shoulder🤷
I swear the world is fucking mad6 -
Ok so they want me to "taylor my CV"
Im gonna stalk the shit out of every recruiter in this continent. When I apply I will know the color of his underpants, his political affiliation, his entire background and his sexual performances (or lack thereof).13 -
A while ago, i wanted to automate literally everything with AI. So, taking screenshots, clicking, mousing, typing automation it is! Of course, you can imagine how the process looks like. But the project failed because when I asked for x/y coordinates of elements in a nice json output from the AI (of the screenshot) it all gave wrong values. I found out that those values are batshit wrong AFTER building the whole application that only worked in expection of that part (kinda most important).
Fuck.
But it really understood "Go to the address bar of the browser" (and it would do on the backgran a query to dimensions of the address bar. that's where the neat AI comes in). It could locate elements with poor descriptions. It understood very well. Only coordinates went wrong.2 -
The hoops you have to go through to summarize a document even using LLMs with 100s of billions of parameters is insane. Even when you get something that "works" with RAG, all you are really getting is a summary of the distilled version of the document, not a pure summary.
I've got a script that breaks down documents into manageable chunks with an overlap so the meaning isn't lost between paragraphs, and it works decently enough, especially when you add terms and definitions to the system prompt for things it has trouble with. But the context window is still a problem so you have to discard older entries, which means you can't correct previous items based on new entries.
Using vision models to OCR the image instead of reading in a text document seems to be working a bit better, but it relies on the image being the right size and you can't load in too many at a time.8 -
Has anyone noticed ChatGPT glazing getting really bad lately? Every single one of my stupid, bone-headed fucking questions are "insightful" and "important".
FUCK you, you psychopath. Stop manipulating me.5 -
