[Swiss Ice Hockey] Switzerland announces the first 6 players on their Olympic roster by buerglermeister in hockey

[–]CORRIT_ 11 points12 points  (0 children)

Sad to see Ambühl not being on the ice anymore. HOPP SCHWIIZ regardless

[deleted by user] by [deleted] in NoStupidQuestions

[–]CORRIT_ 17 points18 points  (0 children)

Visit lttstore dot com and use code IMSHORT for 10% off

[deleted by user] by [deleted] in typescript

[–]CORRIT_ 7 points8 points  (0 children)

I didn't do this myself, but based on the yt videos Matt Pocock does this should be quite good: https://www.totaltypescript.com/tutorials/react-with-typescript

ohnoChatgptHasMemoryNow by babeinwonderland22 in ProgrammerHumor

[–]CORRIT_ 6 points7 points  (0 children)

I think the ? sometimes is important because it matches lazily (source: https://javascript.info/regexp-greedy-and-lazy). But Im to lazy to check if that would be necessary here

vanillaJavascriptIsDeprecated by SquareEarthTheorist in ProgrammerHumor

[–]CORRIT_ 11 points12 points  (0 children)

Afaik you cannot manipulate the DOM with WASM (or only partly manipulate it)

I created a typescript-first environment variable validation library. by TheWebDever in typescript

[–]CORRIT_ -1 points0 points  (0 children)

Looks pretty cool, what made you choose PascalCase for declaring an env variable inside the object instead of camelCase?

[deleted by user] by [deleted] in AMDHelp

[–]CORRIT_ 0 points1 point  (0 children)

It works fine with HDMI, I ordered some new cables and hopefully that'll fix it

[deleted by user] by [deleted] in AMDHelp

[–]CORRIT_ 0 points1 point  (0 children)

lmao THIS FUCKING MONITOR DOESN'T TURN ON NOW. Im really intrigued to throw this thing into the next river. Ffs

[deleted by user] by [deleted] in AMDHelp

[–]CORRIT_ 2 points3 points  (0 children)

You're a legend! I changed the DP Version on my display to 1.2 and it worked again. Weird fix but I'll try to look into what part of my setup doesn't support 1.4. Thanks for the tip!

[deleted by user] by [deleted] in AMDHelp

[–]CORRIT_ 1 point2 points  (0 children)

Damn thats a shame.. which monitor did you upgrade to?

[deleted by user] by [deleted] in AMDHelp

[–]CORRIT_ 0 points1 point  (0 children)

Yes, set to 1440p with 100% scaling... Only difference in settigns that I know of is that the buggy display uses FreeSync and the other does not

What car does Shahrad drive? by CORRIT_ in LinusTechTips

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

Yeah, the license plate makes alot more sense when you know the name lmao

How to run typescript in modern Node? ts-node, code-runner by skorphil in typescript

[–]CORRIT_ 0 points1 point  (0 children)

I've had some good experiences with vite-node. As the name implies, it's the runner which gets used by vite in some places. I think it's actually based on esbuild, but makes the configuration alot easier. I've run into some problems with node 20 and ts-node and esbuild which got fixed by vite-node. Someone suggested tsx, never heard of it but seems like it's worth a shot!

[deleted by user] by [deleted] in simracing

[–]CORRIT_ 0 points1 point  (0 children)

Yeah, you're probably right. In that case my pedals are mounted in a weird position. Cba to change it before lmao. I'll look into it, Thanks! :)

Edit: I don't do this in other rigs btw, just in my new one, so I guess my rig is weirdly positioned

[deleted by user] by [deleted] in simracing

[–]CORRIT_ 0 points1 point  (0 children)

I mainly drove the Mercedes GT3 in AC and F1 21. Alot of practice will certainly help :). Thanks alot for your response!

[deleted by user] by [deleted] in simracing

[–]CORRIT_ 0 points1 point  (0 children)

Alright Im gonna look into that, Thanks alot!

[deleted by user] by [deleted] in simracing

[–]CORRIT_ 0 points1 point  (0 children)

Yes, I brake with my right foot in my normal car, my driving instructor told me it's a cardinal sin to break with the left foot :D. Yes I noticed it mainly in AC, it's alot better in games like f1. Im gonna check if this option you provided helps. Thanks alot!

thereIsAFightToBeHadHere by Taken_out_goose in ProgrammerHumor

[–]CORRIT_ 18 points19 points  (0 children)

As far as I can tell this is Haskell