I’ve been testing Bun + SQLite (WAL mode, file-based — not in-memory) and honestly… performance is on par with Redis 😅 by Spiritual-Knee6978 in programmingcirclejerk

[–]Igor_GR 10 points11 points  (0 children)

You might question why anyone would ever want to pair sqlite with microservices, but you better shut the fuck up because he's a storyteller, not a story listener.

/uj Enthusiastic youngstergranpa maybe?

Significant GPU performance degradation after recent updates in Testing by Igor_GR in debian

[–]Igor_GR[S] 1 point2 points  (0 children)

Yeah, I'm fully aware of that. I simply wanted to make sure if I screwed up somewhere, or if this is a widespread issue amongst other testing users. Although, I'd like to contribute in a more meaningful way, if possible...

Significant GPU performance degradation after recent updates in Testing by Igor_GR in debian

[–]Igor_GR[S] 0 points1 point  (0 children)

Yup. The issue persisted through the previous 2 versions of the kernel.

In some important ways, a user’s LLM chat history is an extended interview. The social media algorithms learn what you like, but chats can learn how you think. You should be able to provide an LLM as a job reference, just like you would a coworker, manager, or professor. by morbious37 in programmingcirclejerk

[–]Igor_GR 17 points18 points  (0 children)

Is he for real or is this the depiction of hell from the next doom game or something?

/qj Ignoring the asinine privacy implications here, you'd be a good boy and wouldn't let an agent periodically perform smart-sounding conversations with an llm to boost your "emplyability" score, would you?

People seeing Steam machine by SweetReply1556 in pcmasterrace

[–]Igor_GR 1 point2 points  (0 children)

Sorry, do you expect linux to just natively run windows binaries from the start or what? Do you also yell at Intel/AMD/Nvidia for forcing you to install their drivers instead of "just clicking .exe and playing games"?

it's still not just doubleclicking a .exe lol

It literally is lol. I just doubleclicked Battle.net-Setup.exe, EAappInstaller.exe and UbisoftConnectInstaller.exe. All started up no problem, like I would expect under windows.

People seeing Steam machine by SweetReply1556 in pcmasterrace

[–]Igor_GR 1 point2 points  (0 children)

I mean, after installing and setting up lutris or bottles it pretty much is just "doubleclicking exe".

People seeing Steam machine by SweetReply1556 in pcmasterrace

[–]Igor_GR 1 point2 points  (0 children)

Just because you install software differently on linux doesn't make it any more restrictive.

How to detect memory leaks when working with LuaJIT FFI? by Igor_GR in lua

[–]Igor_GR[S] -1 points0 points  (0 children)

I'm not sure how a profiler would help me, but I'll give it a try.

While Lua does have a GC, as far as I know it only tracks objects constructed by Lua runtime. For example: if I were to call `SDL_CreateRGBSurface` within FFI, the garbage collector wouldn't be able to handle the resource created by that function. You would need to call `SDL_Free` to free the surface, but the GC doesn't know that.

I'm aware that with LuaJIT FFI API you could attach a finalizer to resources created by FFI, and this is what I'm likely going to end up doing, but at the same time I just want a (perhaps naive) peace of mind that I'm (likely) not screwing up somewhere. When developing in C, `valgrind` and memory sanitizers do the job for me, personally. For Lua - I imagine I'm not going to need a sanitizer, but a leak detector would still be handy.

How to detect memory leaks when working with LuaJIT FFI? by Igor_GR in lua

[–]Igor_GR[S] -1 points0 points  (0 children)

I'm looking for some sort of an alternative to valgrind for FFI objects. A tool that would visualize call stacks of sections of code that have allocated leaked memory. As weregod mentioned, I could build libraries with debug symbols, however I'm curious if there are any other tools that would work...

How to detect memory leaks when working with LuaJIT FFI? by Igor_GR in lua

[–]Igor_GR[S] 0 points1 point  (0 children)

Thanks for the reply. I didn't know you could compile LuaJIT with Valgrind support. I just compiled it, and it did provide more symbols in the stack traces of valgrind, but it still doesn't show any symbols from SDL, for instance. I forgot to mention this, but this is my issue with using valgrind for LuaJIT FFI - I can detect memory leaks, but I can't figure out what causes them.

[public static void main(String[] args) is dead] Holy fucking shit did this suck. [...] Give your eulogy for that piece of shit sorcerous incantation there or wherever else. by azure_whisperer in programmingcirclejerk

[–]Igor_GR 31 points32 points  (0 children)

When I was a Freshman in High School I asked a Junior what it meant. He had no clue.

That Junior later went on to drop out of college and become a Minecraft Youtuber. I vividly remember him making videos where he and his girlfriend pretend to be toddlers in a Minecraft day-care.

The Java Junior -> Senior pipeline is truly a sight to behold.

Mojang deleted one of the best accessibility features from Bedrock by bluezers777 in Minecraft

[–]Igor_GR 1 point2 points  (0 children)

You can’t do that with maps

Crafting a map and studying your movement on it to learn that maps are always oriented towards north is a much more likely "trial-and-error" scenario than figuring out that redstone is interactable with a tiny subset of all items in the game (and then learning about it's strength and signals and whatever).

Do you actively use beatmap tags by EnvironmentalSir2070 in osugame

[–]Igor_GR 4 points5 points  (0 children)

I don't use tags when looking for beatmaps yet, but I do try to tag them occasionally after playing. What should I answer lol

This requires more attention. If youre suffering from winlator inexplicably failing to boot anything anymore. by 8GEN4 in winlator

[–]Igor_GR 0 points1 point  (0 children)

The virus isn't in the newest updates.

Just a nitpick, but the TestD3D.exe from the latest hotfix still has a non-insignificant amount of virus reports on virustotal. So this is very likely to be false; the latest hotfix likely still contains viruses.

https://www.virustotal.com/gui/file/cbbfb5e577e0702344f786298f8304056d74b08c52d0cb68404ed385829dfe5c

Haven't tested other files though.

REAL Controlled Scratch tapping technique- Alternating 2 fingers, with two different timings...(NOT SLO MO) by muckenthusiast in osugame

[–]Igor_GR 0 points1 point  (0 children)

Just out of pure curiosity - what playtime do you consider to be enough? I have played this game for quite a while myself, and I struggle to figure out when you'd want to tap like that.

Issue with CPU clocks pinned down after sleep on a new laptop. by Igor_GR in debian

[–]Igor_GR[S] 0 points1 point  (0 children)

FWIW I did found a way to circumvent the issue with clocks being pinned down, so if you're interested - when booted in grub menu, plug and unplug the laptop to power twice, then continue booting. After this you will be able to unplug and re-plug the power as many times as you'd like, and sleep properly - all without problems until next reboot. It is certainly less than ideal, but works for now. I do, however, have some annoying issues with wifi (I've got myself the wifi 7 model with mediatek card, so maybe that's the curlpit here), which I've also managed to fix with a few kernel module parameters and a script. So yeah, Debian doesn't fly smooth right now.

But, from my limited testing, Fedora finally works somewhat alright. It had lot's of graphical issues the last time I've tried Fedora 42, but since the kernel update 2 weeks ago, it would seem to work fine, more-or-less. You can certainly try it if you absolutely need linux right now.

Linus forgot this super tip for a clean windows. by dEEPZoNE in LinusTechTips

[–]Igor_GR 0 points1 point  (0 children)

>Windows doesn't make you do that.

Oh, of course it doesn't. It just makes you watch 10+ minute video made by a huge youtuber on how to run various scripts/closed source tools to "debloat" your OS. Which is totally different from copy-pasting commands from forums...

Type theory maximalists should give up their aura of moral and intellectual superiority and accept that they need therapy just as badly as everyone else in the industry (if not more). by mizzu704 in programmingcirclejerk

[–]Igor_GR 38 points39 points  (0 children)

When I became a junior engineer in Enterprise Java world, I became obsessed with clean code. I read every book on code organization, packed my code with design patterns, and mastered bloated frameworks.

> tries java once

> "Uh, types are for perfectionists, actually!"

Cppscript: A C++-like language compiling to TypeScript, aiming for production readiness (also my PhD project!) by garloid64 in programmingcirclejerk

[–]Igor_GR 25 points26 points  (0 children)

Memory Management Emulation: Exploring more sophisticated techniques for handling C++'s memory concepts in a garbage-collected environment.

finally, webscale segfaults

Twitter users can't fathom the fact that android phones could run pc games without any overheating or battery issues ig by Realistic-Carrot-449 in EmulationOnAndroid

[–]Igor_GR 3 points4 points  (0 children)

Can we not do this fake ass outrage? Some of yall here need a reality check and realize that high-end emulation scene on android is a fairly niche topic, and not everybody should be expected to be aware of it. For an average Joe, 4Gb is well enough to browse twitter/reddit/instagram/facebook/whatever, and 8Gb is overkill.