Details
-
AboutAAAAAAAAAAAAAAAAAAA
-
SkillsRust and other things
-
Locationhere
-
Website
Joined devRant on 12/8/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
-
"Block scope in console REPL:
Each line you type in the console is evaluated in a separate, temporary scope. This sometimes makes let and const behave differently than if you wrote the same code in a <script>."
Interesting... I didn't know that. lol -
https://stackoverflow.com/questions...
JavaScript sure is a pain in the butt when it also throws errors depending if you are in a REPL or not.
Hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.3 -
I came up with a really intuitive way to create a coroutine in Rust by passing the sender of an mpsc queue to a callback, then merging the receiver of the same mpsc with the future returned by that callback, but I must've cocked up somewhere because I'm pretty sure it leaks memory.
MPSC ports don't own each other in either direction, that was my first guess too.4 -
!dev I'm really frustrated, bored, lazy and unenergetic today so I will sing a lil song:
I had a giiiirl
Dooonna was her naame
Siiince she left me, I've never been the same
'cause I looove myyy giiirl
Donna, where can you be?
Ohhhh, Doooonna
Ohhhh, Do-onna
Ohhhh, Doooonna
Ohhhh, Do-onna
Don't mind me. :) We all have those days.6 -
Need your brutal, honest feedback on a personal project. for years I've been frustrated by the same thing: my GitHub shows my code, but my resume is a garbage fire of buzzwords that doesn't capture how I think. All the real, hard-won lessons from debugging hell or a failed project just... evaporate.
I got tired of it. So I spent the last 2 months building a solution for myself and for devs like us.
It's called insightdeed. It's not another social network. It's basically a personal, public changelog for your professional brain. A place to dump your insights, post-mortems, and the 'why' behind your work, so you can prove your expertise instead of just listing it."
It's still super early, and this is where I need your help. I'm trying to figure out how to share this with more developers without being a cringy marketing person. Direct ads feel wrong for something like this.
So, my question to you all is: If you saw a tool like this that you may though be useful, how would you want to hear about it? A quiet post on a specific subreddit? A mention in a newsletter? A blog post on Hashnode?
I'm not here to spam. I'm here to test and build something. Any advice would be hugely appreciated.7 -
Boy I sure hope Rust / LLVM's devirtualization pass is as good as its infamy suggests!
https://devrant.molodetz.nl/preview...2 -
What a fucking shit Qt is, is it one one the most boring fw to work with? in essence a Qt prog:
QtThis
QtThat
QtFuck
QtWidgetFucked
etc...
Boring, uninteresting, and most important you won't improve your skills, and to finish the Qt shit in its most primary representation is bloated.6 -
Years ago we had been developing a game for the handheld consoles. We were very young && inexperienced back then. Some more than others... Version for one of the consoles finally saw the light of day, while the other one was sadly canceled.
The development of that canceled one was very troubled.
One example of that would be the core team during the initial stages of the project. One fairly seasoned programmer... Yes - that's it.
Obviously he needed some help, so... the studio hired interns. Two of them, IIRC. One of the interns was put in charge of the game's multiplayer code.
He was ostensibly doing a good job, as the mode was working. Sure it needed some fixing && some tweaks, but it was there.
That is until it came time to check the platform's requirements by the testers. By the time they got their hands on the documentation, it turned out that the SDK used by the game had become obsolete && was no longer eligible for submission. Once the SDK was updated to a newer version, the multiplayer stopped working for some reason.
The issue was investigated which revealed that the intern who wrote the code had been using functions that were marked as deprecated && were no longer available in the newer SDK, explaining why the mode was FUBAR.
Moral of the story? Pay close attention to:
0. Interns,
1. Platform's requirements,
2. Changelogs,
3. Deprecations.6 -
Canada is so owned by China's climate scam the only jobs for software development in Canada are carbon credits or some green energy nonsense... sigh how is this not a dystopia already. every industry and sector is shrinking but Canada keeps pumping more subsidies into the climate scam so it's the only thing that exists now
maybe we'll economic collapse and I can retire but I wanted to get more money first just in case10 -
if I keep practicing burnout will I get burnout resistance. like level up. expertise at conquering 🤔
that's how muscles work, so?3 -
Last time I was in Brussel and the train conductor made his announcement in dutch only.
This kind of thing is how you get a civil war. There are rules. Brussel is both, wallonia is french (except the german part but nobody really cares about them) and the flemmish country is dutch. Except the town on the borders (and also some others) who also speak both. There's also the part of flanders that's in wallonia close to limburg, but it's a part we exchanged against comines-warneton that is close to france.
Sp to go from brussel to germany we would have to go from brussel to flanders and then to wallonia, and then to germany. If the train guy speaks the wrong language the train company have to pay fines.16 -
Latelly I'm feeling the urge to write about stuff, coding stuff, what are other places like dev.to and devrant that people enjoy browsing?11
-
Starting a side project. It's called UNIQUE.
Think of it as the vim of music production. DAWs are good for learning music but my workflow is getting clunky.
I like the looping mechanism of ableton though so I'm planning to do that in a standalone way.
It'll take me quite a bit of time i bet but if I pull it off I could get a job in audio5 -
So it turns out `futures` is a fucking liar and senders don't get an extra buffer slot in the sense that an additional message could be kept off-stack while the sender continues. The "extra buffer slot" they are talking about is the message resting inside the blocked Send future, which is to say, the fact that the sender can "block" is presented as a means of storage. Why does this community feel the need to complicate things? The analogy with the stack was perfectly fine. You wouldn't call a rendezvous channel a 1-item buffer just because the item actually has to be on the stack before it is sent and will stay there if the sender needs to wait.7
-
LLMs will FIX the internet, not ruin it; an argument:
Sam Altman recently acknowledged the large presence of LLMs on twitter and stated that he was finally starting to believe in dead internet theory.
And I couldn't agree more nor be any happier.
I had a sudden realization that social media has slowly crept from being "connect to your friends" to "try not to commit suicide as you climb the infinite social ladder amongst people who are not your peers"
... and I think it deserves to die. Furthermore, I think the only thing that could kill it is the greed that we're seeing finally strangle social media today.
People will never quit social media just because it's *bad for them*. It's too exciting, too interesting.
People will only quit social media if it itself becomes *bad*.
And when it becomes overbearingly full of corporate "brand personalities", LLM slop accounts churning out 500 posts a day to gain $4 in ad revenue, and 100 different AI bot accounts that add nothing to the conversation...
... that's when it's gonna be *bad* enough for people to reduce their usage of it. It will once again encourage the spaces we had before greed took a strangle-hold. Private areas for just you and your real-life friends. To be safe from the corporate slop bots, the LLMs, the 8-second videos of kittens performing impossible tasks... just you and your buds keeping up with each other.
This is the self-healing that nature is so good at. It's incredible how it always happens.13 -
Reddit stupid robots. The less unique you are, the more upvotes you het. Confirmation bias stuff. Unique view on things is not appreciated at all. I feel more rated on my behavior than anything else. Walk the line or something. The up / downvote culture from dR is so much better / social.
I could generate reddit with a LLM.
But also, the usernames, most of them are not something fun and creative but just pure shit. You should not be allowed on the internet if you can't imagine a fun username.
Maybe a lot is just whimsical stuff.24 -
Bossmang wrote a cursor prompt to pull tickets, their SLoC counts, and their average time to completion per dev, then praised or chastised accordingly.
You guessed it: no thought to complexity, code bloat, or scope creep. Just SLoC/day, days/ticket.
What won the statistics award is being assigned lots of small tickets /
tickets without scope creep, committing branches that don’t get merged, writing verbose spaghetti, using AI to write/rewrite large swaths of code, and simply moving large files.
Great job, dude! 💯🎉19 -
Oh dang, now that the individual components of Orchid are nearly complete, I should probably improve this ratio.22
-
A PCIe gen 7 1x slot has roughly the same data rate as a gen 3 16x slot.
Let me guess what that much bandwidth can ever be used for? AI 😑5 -
people really do seem to be trying to tell you as hard as possible that being happy should be illegal
found something that makes you happy? here's an excuse why you shouldn't do it. biiiitch
if the excuses don't work then let's try fearmongering, laws, "suggestions" as if they're your parents... know better than you... since when? you're not in my body so how are you qualified or would even be accountable for making these suggestions at me? what kind of nonsense is this?4 -
Like many of us, tired of hearing the expressions: "infused with A.I.", "powered by A.I.", "augmented with A.I.", "A.I.-first", etc.6
-
.rep:
Fixing old bits of code for my build tool so I can extend the damn thing and I'm throwing away so much shit. Can't stop man.
Pretty crazy as this code is, IIRC, 2 to 4 years old at most. And I am sure that I was feeling like an absolute legend when I wrote this ignominious fucking garbage, as in it is quite clever, just in a downright dogshit kind of way.
So I'm hacking away at this eternal monument to the abstract gonorrhea-infected bleeding and fully dilated defecating anus that are my past decisions, and I'm wondering, have I actually learned to write simpler code or am I just gonna repeat this process a few years down the road and get stuck in some kind of funky chronodisplacement self-sodomizing limbo.
Well, for one, I *am* very much simplifying the code because most of it I'm just outright deleting, and what I have to replace or rewrite is fairly succinct, so I'm feeling good about that. Second, and get this, now I have the advantage that I've actually used this piece of shit for a few years so I have the benefit of knowing where I fucked up from a user perspective, which is invaluable.
Yeah, I think I nailed it this time. No more fucking around; pinky-promise.
jmp .rep1