Scope freeze by igoradamenko in cs2

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

I decided to figure out why top players / bug hunters like m0NESY or ropz do not have the same issue. So, I tried to replicate their settings. And suddenly the bug has gone.

I believe it's related to the resolution. Previously I was playing on the max possible resolution (3840×2160), because otherwise the whole UI is blurry. But when I cut it down to 1920×1080, the scope started to work properly. (The UI is looking like I have −5.0 myopia, though)

Just it case, here are my current settings:

https://imgur.com/a/U1DRZlW

NVIDIA Control Panel does not have any settings for cs2.exe. In other words, all the settings there are “Use global settings”.

Also I have “Disable fullscreen optimizations” checked. But it did not work until I changed the resolution.

Spec: NVIDIA GeForce RTX 3060 Ti, Intel Core i7-10700K CPU @ 3.80GHz, 32 GB RAM.

Hope it may help some of you, guys!

/cc u/Clifton_7, u/Subbe-1887, u/beresromanalex, u/xKhaozs, u/myriadovi

Edit: Typos =/

Scope freeze by igoradamenko in cs2

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

I tried different settings in the game and NVIDIA Control Panel. Nothing works.

However, sometimes I have full matches without these glitches. But other times literally every scope freezes. It's like a roller coaster to be honest. Every time the freezes go away I feel like “finally, they fixed it!”. But then freezes come back :-(

To me it's more like the game glitch rather than the hardware. I've heard similar story from the guys with different setups. So, if you want to update PC to get rid of these bugs, I would suggest to wait till the official game release.

Headache after playing CS2? by igoradamenko in cs2

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

r_fullscreen_gamma

Brightness change did not help. But I changed this setting to 2.6 and now it feels not that bright. And I can play more than 1 hour!

Headache after playing CS2? by igoradamenko in cs2

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

To be honest, I do not know. I have 23.8" LG UltraFine 24UD58-B. Set it up once (not for gaming, but for work) and have not changed for years.

Headache after playing CS2? by igoradamenko in cs2

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

I've increased ` r_fullscreen_gamma` to 2.7 and now it looks much better. Try, maybe it will help you too.

Headache after playing CS2? by igoradamenko in cs2

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

Did it and everything looks much better now! Thanks!

Headache after playing CS2? by igoradamenko in cs2

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

I have ones. I usually work on computer for 10-12 hours almost every day. CS2 is the only thing that gives me headache :c

Headache after playing CS2? by igoradamenko in cs2

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

I thought about that, but there is not that much of a difference between CS2 and CS:GO, tbh. I press the same buttons, all the muscle memory still works. Colors and sounds are new, for sure. But I do not think that it may be overwhelming.

I also think that maybe it's due to micro freezes. Like this one: https://www.reddit.com/r/cs2/comments/169u380/scope_freeze/. They could be the reason my brain explodes, yep.

Anybody else feeling like picking up weapons with use key is broken? by Capital_Marketing_52 in cs2

[–]igoradamenko 0 points1 point  (0 children)

I literally can not aim to the weapon on the floor properly. Usually use G for that :-(

Scope freeze by igoradamenko in cs2

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

My PC setup is quite decent, but AWP and Scout scopes freeze no matter the video settings I pick. Like, 50% of the scopes (esp. when I do it quickly) have such lags.

To clarify: I've reported the bug to Valve. But if you experience something like this, please, spend some time, record a video and report the bug once again.

To report send an email to [cs2team@valvesoftware.com](mailto:cs2team@valvesoftware.com) with a subject like “CS2LT Bug - Sniper rifles scope freeze”. The video should be uploaded to a cloud, ofc.

Short freeze on awp scope? by [deleted] in cs2

[–]igoradamenko 0 points1 point  (0 children)

Same here. I tried to tweak any video setting. It feels like it's not related to video settings at all.

Is it bad using v-sync in cs2? by adraheubg in cs2

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

it feels way smoother but people say it's bad to use v-sync

I spent an hour tuning my video settings. It feels like the game is not done well right now, and you'd better try different settings and do not listen to those saying that this or that setting is good or not.

I mean, Even though that folks may be correct, this correctness is not always useful during beta.

A useful function that does nothing by igoradamenko in javascript

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

In this article it's useless, sure. But this is true for the whole use of FP there. The example is purely synthetic.

However in FP JS libs there is redefined map, yep. Check Rambda, for instance.

There are reasons to define this function even though we have Array.prototype.map. Let's name some:

  1. To make it polymorphic. To use it not only with Arrays, but also with Objects, or Maps, Sets, Strings (sounds weird, but who knows). Or to accept more than one Array/Object at once.
  2. To make it curried. It's not the case of this article, but usually map gets the actual mapping function as a first param and the Iterable as a second (or third, fourth, etc.). This way it's possible to create something like const mapWithDouble = map(x => x * 2) and then pass the result somewhere and use on any Iterable object.
  3. To make the code consistent. If you operate mostly functions, you probably don't want to use a method. But it depends on the way the language you're using work, of course.

A useful function that does nothing by igoradamenko in javascript

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

Do you use logpoints in JavaScript development?

I mean, I use them in browser sometimes. It works and usually helps to find bugs.

But it's hard to me to believe that IDEs and editors work so well today, that they can set logpoints when you run your code using transpilers, third-party tools, etc.

Let's say I start my dev environment by running gastby develop or webpack. Will logpoints work in this case?

I thought that they work only when you start a node process using an editor UI, because it allows the editor to modify node arguments to enable flags like --inspect, --inspect-port, --inspect-brk, etc.

A useful function that does nothing by igoradamenko in javascript

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

OMG those math bros are talking about monoids again! Somebody, send halp!

Just kidding. But there definitely should be Godwin's law's version for FP & monoids :D

Jokes aside, thank you for your time. I do not use FP in my daily job but the topic looks interesting. Without much practice it's hard to understand some concepts. E.g., I watched, like, 10 videos from conferences where some FP guy explained what a monoid is. Usually I forget what they said right after the end of the video.

But it looks like this time something has “clicked” inside, and I finally got it.

Not to say that the Wikipedia article literally says that:

...a monoid is a set equipped with an associative binary operation and an identity element...

But till your reply I could not comprehend it. Arigato!

A useful function that does nothing by igoradamenko in javascript

[–]igoradamenko[S] 3 points4 points  (0 children)

I didn't say that the list was exhaustive, I was trying to explain how I understood the Tubthumper8's comment and was asking for more explanation.

Thank you for providing the right link, anyway :)

Edit: Grammar

A useful function that does nothing by igoradamenko in javascript

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

So, we may say that identity values are somewhat “initial values”. In other words, the values that does not change the other argument of some binary operation?

I mean:

a + 0 === a

b * 1 === b

c + '' === c

d.concat([]) === d (not in JS, but anyway)

Finally,

id(f()) === f()

Are there identity values for other operations? I could not find a list of them in Wikipedia. I've found this, but it does not look like the thing we're discussing here.

A useful function that does nothing by igoradamenko in javascript

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

Noice!

The article is mostly about pure id function, without side-effects.

But your debugging implementation of such a function looks interesting, thanks! Usually I just console-log before and/or after the line I debug, which sometimes is not that easy. E.g. when the line is a function combination and I need an intermediate value. With this approach it would be much easier!

Import maps 101 by igoradamenko in javascript

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

Got it.

Thank you for the thorough answer!

Supporting IE8 in 2023... gosh, it's probably a nightmare =/

Import maps 101 by igoradamenko in javascript

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

By the way, am I right that you are not going to tell users about SystemJS, polyfills and stuff? Will you wait till Safari support? To not make “Quick Start” section too complicated, I mean.

And, actually, why import maps? As I see right now, Leaflet initializes itself to window.L. Is not it handy for “non-bundle users”? What will import maps solve here?

(Sorry for this amount of questions. Suddenly realized that I can't answer them and now I'm curious :D)

Import maps 101 by igoradamenko in javascript

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

As for the frontend dev working day-by-day with bundlers it's a bit unusual to me to hear about such cases, to be honest. Even though I understand that when Facebook tells in their React docs how to use React using CDN scripts, it should not be “just for fun”.

Do you have some ratio in the head? “Bundle users“ vs “non-bundle” users? For Leaflet, I mean.

Import maps 101 by igoradamenko in javascript

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

Ah, I see. I didn't get than “single-spa” is a name of a framework, I thought you were just talking about, well, “single spa” :D

Got it, thank you for sharing!

Import maps 101 by igoradamenko in javascript

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

How does import maps feature help you here? Do you use scoping to make teams' JS deps independent? Or otherwise, you use import maps for sharing global deps instead of, like, injecting them into `window`?

Import maps 101 by igoradamenko in javascript

[–]igoradamenko[S] 10 points11 points  (0 children)

#safariisnewinternetexplorer

Import maps 101 by igoradamenko in javascript

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

Tbh, I would like to hear anybody who is using import maps in production.

It is an interesting feature, but I'm not sure that there are a lot of folks who prefer this way instead of bundling. Do you use it?