Details
-
AboutJust a dude who's a little bit too enthusiastic about life :D Wish y'all a great time on our beautiful Earth <3
-
SkillsJava, C#, Python, C, JS/TS
-
LocationIsrael
Joined devRant on 6/23/2018
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
-
so good to go back to code you wrote 6 years ago, and realize you improved both its readability and its computation complexity in a more recent rewrite
it's like you won bingo against yourself or something1 -
I've started messing with C++ again, and it's kinda fun :)
I'm a fan of modular systems, so I've decided to build a little proof of concept for plugin loading.
A plugin is basically just a shared library which exposes a class that extends the Plugin abstract class and implements some lifecycle methods.
Then a plugin file has a system specific PLUGIN_EXPORT create_plugin()... function that just returns an instance of the plugin.
I've decided to use a super simple event bus for communicating from the host system to the plugin and vice versa, it's supplied in a PluginContext class which is supplied to the plugin upon initialisation.
Loading the plugins is done via LoadLibraryA(...) or dlopen(...).
Of course I'm freeing/closing them again at the end of the host system lifecycle. I hope to eventually implement some form of HMR.
Idunno why I'm sharing this; The system has zero purpose other than learning, but I've figured that implementing plugins in a "lower" level language, rather than typescript with node is more fun :)5 -
> Your concern is entirely valid—naming can significantly affect how intuitive a concept feels. The term "object safe" in Rust might seem odd or even misleading if we approach it from a traditional object‑oriented perspective.
can rust please stop trying to be "different" for the sake of being different. Dumbest thing. Just call things what they are. What's the point of words if you're not actually accurately using them. Especially for a programming language, which is based on math and logical systems. Like how. Why. Stop. Antithesis to the mindset that should be making languages to begin with if you can't do logic with the words that already exist. Horrible sales pitch. Are they trying to confuse people on purpose, make moats so nobody learns it? is this self-sabotage?
---
I have bludgeoned an AI on this matter. I feel kind of bad. It tried to ad hominem me and then tell me I'd get it if I wasn't so new, and that it's a perfectly valid name because it's in the "reference guide". Called it out on appeal to authority and now it's just saying my argument points back at me like it's groveling. Sigh.
And it's hallucinated thinking I'm the whole online community giving critiques on this matter now, therefore my points are valid, lmao1 -
Polish military has the official "8 wounds" chevron that is given to those who sustained 8 battle wounds. Do you know why Americans don't have those? Because you have to be Polish to get wounded eight times in battle and still be alive enough to wear this thing on your uniform. Poles are built different.17
-
come into our digital space so we can charge you tax for breathing - modern internet era
I guess the longer a group of people stick together the asymptote of more and more taxes approaches?3 -
AI safety legislation is just to make it illegal for regular people to have it themselves and work for themselves instead of somebody else5
-
Asian fried red onions that are dry and crispy potato chip-like snack, organic Italian tomato juice, sardines
I am the olive garden now1 -
I hate what AI has done to developers, man.
I was discussing something a couple of days ago while my colleague was sharing his screen. He (Android/Flutter developer asked for my help for something custom in the iOS build) And while we were discussing it, he went to ChatGPT.
He wrote a bad prompt using wrong terms (for example how tabbar in ios is a different thing than android), i told him he was wrong and what the solution is, he didn't listen and went to try out what the AI said, made a bunch of errors, the proceeded to copy the errors to chatgpt wasting so much time.
AI to some developers is like tiktok to kids.11 -
it's so comforting to live with Debian knowing that Debian is a journey, not destination. Slowly, step by step, you hone this system to be _exactly_ as you want it. it's computing on your terms.
I'm yet to wrap my head around the fact that what's on my screen is for my eyes only, and no one else anywhere in the world sees it, human or AI.10 -
Heard some news/rumorus that we missed our quarterly goal slightly. It was first set to 450k then our accountant said it was not realistic at all and was lowered to 350k....
Our number was just around 100k. We only completed 28.6% of our quarterly goal :DDDDDD5 -
I'm slowly but surely make my KDE Debian's UX better than what I was familiar with on macOS. It's already _way_ faster.
When I'll get UX done, I'll get to UI -- all kinds of beautification
pro tip: AI is VERY good at configuring linux for you3 -
my phone bill is more expensive some reason. which is strange because that's illegal to do
they're like if you want to see bill details log in. ok I did. I see nothing mentioning it. check my last few bills emails. it's been 5$ more expensive since the new year.
actually I have a 1gb data plan and if I Google up good mobile plans this exact same provider is advertised as giving you 60gb data for 45$. I used to pay 47$ for 1 GB but now I'm paying 52$ for 1 GB it seems
yeah I think I'm going to go with a different company. I literally don't even use my phone unless the power goes out or something. I don't even want to be paying 50$ for something I'm not using. maybe you shouldn't have tried to illegally increase my pricing and then you could've kept me paying. dunno. byyyee4 -
Dear KDE Plasma, I'm sorry. I treated you way too harshly, unfairly even. Yes, you was unpolished back in 2018. Assuming you still were did nothing but prove my own ignorance.
Your out-of-the-box polish and support for modern screens, UI scaling, trackpads, smooth scrolling, etc. is unparalleled.3 -
One thing that I've noticed after getting married, is the fact that I have to be careful when I'm switching sleep positions while my wife is asleep next to me. I can't just flail like that.
Because there is a high probability that my elbow can go into her jaw and knock her out.8 -
So there I was, maintaining our rock-solid Java 7 codebase, older than this Gen Z intern who still thinks floppy disks are 3D-printed save icons.
First day in, he’s like, “Bro, let’s rewrite this in Next.js! Microservices! Serverless! AI!”
Son, this code has been running longer than your TikTok attention span. It doesn’t need scaling, it needs to keep working.
But nooo, he wants TypeScript. He wants to Dockerize a Hello World. He saw a YouTube tutorial and now thinks Java is dead.
I asked, "Why do we need microservices?"
Silence. Blank stare. You could hear a single thread in our monolith peacefully executing a transaction.
Then he mumbled something about "scalability" and "modern architecture"—like we’re running a billion-dollar SaaS, not a POS that’s been happily running since the Nokia ringtone era.
Microservices? Buddy, our biggest spike is the Sunday brunch buffet reservations when the retirees remember they have grandkids. Sit down.7 -
I accepted a nice offer by my current company.
Boss invited us to a nice dinner today for some planning and whatnot.
Was quite nice actually.
Definitely looking forward to the future atm...3 -
I batched 150mb of textual data to extract data from as prompts to OpenAI to analyse the data and give me facts about it back to me in json format. To give you an idea about how much 150Mb in text is, the first Harry Potter book is 429Kb.
Ok people, how much do you guys think it costed? I used gpt4o-mini model. The result will shock you.19 -
The next time I hear someone go "it'll happen when you least expect it", I'll cave their skull in.
Oh and also, my Parser is done :)8 -
Have you ever typed up an interesting rant, only to accidentally click outside of the rant editor and have the whole damn thing disappear?
Ok DevRant, you get my "your number one" today
🖕🏼11 -
Kernel coming along slowly but surely. I can now fetch the memory map and use normal Rust printlns to the vga text mode!
Next up is physical memory allocation and page maps17 -
If you want to know how bad the job market is in India, a colleague told me that he got offered a job from an employer, where the condition is he has to give 20% of his paycheck back to the employer in their other bank account.10
-
I always felt a bit bad for scammers. That your life must suck so hard that you screw over people. But now i watched them working on YouTube and i don't feel bad for them at all anymore. First of all, trash people, the lowest of the lowest. Second - they show no mercy to their victims. And that shouting and stuff. Is that normal in India? If you do that to a Dutch, it won't engage a phone call with you at all. They start the phone calls in a fucked up way already.
Trash people.5