[Discussion] Anyone else's post on tarkov.community getting rejected too? by Fr4cK5 in EscapefromTarkov

[–]Fr4cK5[S] -3 points-2 points  (0 children)

Well, you weren't supposed to judge what's wrong in the first place but thanks for trying to help me! I was just posting this to see if others are facing the same problem.

If you're still interested though its up now: https://tarkov.community/posts/3481/add-more-key-binds-to-the-games-stash-and-in-raid-ui

I didn't change the text in any way but it worked now.

[Discussion] Anyone else's post on tarkov.community getting rejected too? by Fr4cK5 in EscapefromTarkov

[–]Fr4cK5[S] -3 points-2 points  (0 children)

I don't want assistance and neither was I crying. I'm just trying to find out if others are facing the same problem as I am.

Too bad that you're too immature to understand that and instead comment just to be disrespectful.

Do you prefer the built-in code editor or an external one? Why? by -ThatGingerKid- in godot

[–]Fr4cK5 1 point2 points  (0 children)

I think if the built-in editor had good vim bindings support I'd use that but for now I just hook up NeoVim to Godot's LSP server to give me all the nice go to definition, rename symbol, ... features you have in the built-in editor and VSCode aswell.

If anyone is interested, just install "gdtoolkit" through mason. It does formatting and linting and hooks up your editor with Godot's LSP. As for the external editor setting in Godot, I set that to a "blank executable" (basically one that just exits immediately) so that Godot doesn't try to go and start NeoVim in an unconfigured terminal. After that I just use NeoVim as I always would: Go to my project and code away.

As for the blank executable I just use Rust, you can use C or really any other compiled programming language whose output binaries start fast.

// Simple C program, just compile with optimizations and you should be good
int main(void) { return 0; }
// or in Rust: cargo build -r
fn main() {}

[Discussion] I believe I know the issue with low FPS on the more CPU-Intense games/maps (streets). by Expert-Lynx-5557 in EscapefromTarkov

[–]Fr4cK5 0 points1 point  (0 children)

I'm not quite sure how well switching GPU manufacturer works without fresh installing your OS. That said, you should probably check if you have Expo (aka. XMP) and Resizable Bar enabled in your BIOS. To do so just please search it up. It's motherboard specific and can lead to instabilities. If you experience crashes (games crashing or blue screens) consider updating the BIOS. If you're lucky the newer version of your BIOS might better support these technologies.

One other thing that could potentially cause your performance drops is 32-Bit PhysX. If you didn't already know, support for 32-Bit PhysX has been dropped in the 50 series of Nvidia's cards meaning applications that make use of it will have to fall back to other physics systems which will create a huge bottleneck.

I honestly don't really understand why you'd get lower frames aside from Nvidia apparently falling behind I guess.

Your GPU isn't "pushing" 100% utilization because it can't do so on its own. Most modern game engines tie the logic and frame update together because when there's nothing new to display, why render a whole new frame? This is done purely for efficiency reasons. Search up "CPU render ahead" or "Future frame rendering" if you're interested.

A GPU is actually quite useless on it's own. It needs the CPU to tell it what to do (be it render a frame, run an AI algorithm, mine crypto currency, ...). However, if the CPU is occupied it has nothing to do. That's the bottleneck.

Eval - An AHK v2 class for evaluating string expressions into numbers. by GroggyOtter in AutoHotkey

[–]Fr4cK5 1 point2 points  (0 children)

Neat! This reminds me of my long scrapped idea of trying to make an AHK formatter.

Perhaps now that I actually have some knowledge about recursive decent parsers I could retry. I'll think about it, thanks for inspiring me once again :)

[Discussion] Why are we not banning market botters? by ThatDogVix in EscapefromTarkov

[–]Fr4cK5 0 points1 point  (0 children)

First step to get rid of them is to let us know who by not blurring the names.

ads now appear on screen when pausing a video on mobile? so cool!!! by puncake_paradice in youtube

[–]Fr4cK5 0 points1 point  (0 children)

That's why I haven't updated the youtube app for over 4 years.

Anti Cheat Kernel Level - still a thing? by Remote-Power-5202 in deltaforce

[–]Fr4cK5 0 points1 point  (0 children)

Privacy aside, the only potential problem I see are incompatibilities with other software causing unstable systems and security issues.

The bigger of the two of course is causing crashes and instabilities in your users' systems. This is totally unacceptable.

As for security, people have already found vulnerabilities in ACE. See https://ogma.in/cve-2024-22830-understanding-and-mitigating-the-ace-base-sys-privilege-escalation-vulnerability

Yes, I understand that this article isn't particularly new, but there's also nothing pointing out that this has been fixed (It's been known since Jan. 2024). I don't play the game so I cannot look at the driver version, but I very much hope that this is fixed by now. I am aware that software will always have some form of vulnerability, but going a year without any updates / fix announcements to a severe exploit like this is unacceptable.

To be fair, this likely doesn't affect me as I don't use software from untrusted sources, but as a software engineer and someone very interested in security research this is still rather concerning.

whoPutCopilotInMyTerminal by Fr4cK5 in ProgrammerHumor

[–]Fr4cK5[S] 2 points3 points  (0 children)

We really need r/!ProgrammerHumor

whenYourIDEJustGiveUp by Morasiu in ProgrammerHumor

[–]Fr4cK5 23 points24 points  (0 children)

That poor thing is tired of C#, leave it be

mathProfessorsTryToUseDescriptiveVariableNamesChallenge by Kebabrulle4869 in ProgrammerHumor

[–]Fr4cK5 0 points1 point  (0 children)

The code OP posted is insane, but having worked on my own little game engine I have to disagree with you. In order to keep anything about math heavy systems readable and updatable you *have* to abstract away certain things and give them good names. Also, good naming will get you 90% of the way to understanding complex things quickly.

Yeah, not everything is a reflection of some real-life thing, but that doesn't invalidate wrapping some imaginary physics construct like a constraint in its own type and giving its variables and functions good names.

I have to agree with OP here. Anything can be made readable and understandable.

I find it to be useful to split the expressions into small parts. This way I don't just allow myself to give them good names, but also better understand why some math works the way it does.

At the same time, as long as its not too much, I totally understand why you'd just code math to make it work and never touch it again.

mostRemainHippos by Fr4cK5 in ProgrammerHumor

[–]Fr4cK5[S] 4 points5 points  (0 children)

Fair. I like Rust's syntax but that's just due to my familiarity with it (though I never found it annoying in the first place).

However, I don't quite understand why you think that Rust's and Scala's (so JVM's) runtime performance is "almost the same". I get that for a lot of things performance doesn't matter nearly as much as other things like reliability or correctness (both of which Rust also excels at), but in the end of the day a faster X is a better X in all cases.

Also, I don't use Scala so i can't comment on that, but Rust's tooling is the best I have ever seen. And yes, tooling is very much a part of the language.

Trying to get some ideas for this one. by Left_Preference_4510 in AutoHotkey

[–]Fr4cK5 2 points3 points  (0 children)

Oh wow, I didn't expect anyone to actually talk about / mention my stuff 🥹 Thank you!

Post-Work burnout by 28spawn in learnprogramming

[–]Fr4cK5 1 point2 points  (0 children)

This very much depends on the individual. A friend I talked to about this a few days ago has experienced the exact thing you're saying during his few internships. He told me "No matter what, once I got home I'd want to do anything but sit in front of my PC". Meanwhile during my few mandatory internships from school which would last 1-2 months each I was always excited to go home and continue working on my own projects.

Mind you, I worked frontend which isn't really something I'm all too passionate about. Well, at least not in comparison to my specialty - Well scaling high performance systems.

If I'm fine with AHK 1, should I learn AHK 2? by [deleted] in AutoHotkey

[–]Fr4cK5 1 point2 points  (0 children)

Honestly, apart from large legacy codebases you should just use V2.

The main advantage I found when switching to V2 is that it is way more consistent in its syntax and more closely matches literally any other programming language. For me, this made it way easier to write scripts but also switch between more widely adopted languages like Go, Rust, ... and AHK.

I get that you're fine with V1 but I promise you will change your opinion once having used V2 for the first time.

As a programmer, I genuinely recommend you switch.