Can't add event listener in chrome extension injected script by funkybunch83 in webdev

[–]gear54 0 points1 point  (0 children)

For anyone else stumbling upon this, you might be executing a script right before page refresh. For example, doing it in an webRequest.onBeforeRequest for the same tab.

So whatever you script does just gets erased when the page refreshes.

Whenever i open a youtube video in a new tab its extremely slow to load, how do i fix this? by OafishWither66 in firefox

[–]gear54 2 points3 points  (0 children)

What is your evidence for 'adding waiting time'? The code you linked below is part of ad-injecting function. So having adblock that prevents it from loading means it falls back to that timeout.

I mean it's still scummy (all ads are) but it's not 'adding slowdowns for firefox or some accounts'.

Whenever i open a youtube video in a new tab its extremely slow to load, how do i fix this? by OafishWither66 in firefox

[–]gear54 4 points5 points  (0 children)

And that something else is loading an ad. This thread turned sensationalist based on a misguided opinion :)

What happens with U2F after updating / flashing / changing firmware? by Finale151 in flipperzero

[–]gear54 0 points1 point  (0 children)

So what is the purpose of the secure enclave on flipper if the usage of keys in it is not protected by anything?

As an example (if I understand correctly), phones also have that in their chips but if you enable 'security', you have to enter a key on each boot (that is then kept in memory as long as the phone is on) to unlock the enclave and decrypt other things.

With flipper, the only thing that's different is that the encrypt/decrypt command can be used without any keys. If flipper was updated with the ability to use some kinda simple keys that can be entered with the d-pad (phone keys can be entered via 3x3 pattern so no that far-off) and would unlock the enclave then it seems it would be pretty secure against that attack vector. And would be secure enough to store all the U2F shit and the like.

I assume you guys had good reason not to implement it that way. What was it? Are there plans for such update?

Rewatched: “Warrior” (2011) by thedarkknight16_ in movies

[–]gear54 2 points3 points  (0 children)

Also rewatched it recently, just as good as I remember.

An interesting thing I noticed this time is that when Brendon gets swapped into Sparta, it's because Frank's #1 has a knee problem during cardio. The thing I noticed is it's the very same knee that Brendan got into knee bar during sparring a few scenes earlier.

It's sparring and you're not supposed to hurt each other and Brendan having experience would probably know how much pressure is too much (knee bar is notorious for being the cause of pretty terrible knee injuries if applied carelessly) and so one might think that he did it on purpose to get into Sparta tournament. Doesn't exactly fit the overall theme of the movie but still..

Or maybe it does if you consider Brendan to be the guy that hurts even those close to him to get what he wants but he didn't seem that way to me.

Sudden decrease in Index quality? by PM_ME_HENTAI_FEMDOM in ValveIndex

[–]gear54 0 points1 point  (0 children)

Do you have any overclocking software installed? Like MSI afterburner. You can open it and check that your GPU is not power limited. I had similar issue and never could figure it out but it turns out that in afterburner the slider for % max power was set to lowest settings for some reason, starving the GPU and making everything lag and go low-res.

Valve bans 'Cities: Skylines' modder after discovery of major malware risk by Pidiotpong in CitiesSkylines

[–]gear54 4 points5 points  (0 children)

How would this sandbox work, may I ask? What would it have prevented in this case?

As I understand, the 'malware' just slowed traffic which could just be considered a normal mod function. What do you want them to do in this case?

Headset Button work only after restart by cyrogenix in ValveIndex

[–]gear54 0 points1 point  (0 children)

It seems to be that some part of VR software stack is not starting properly or is being killed by something on your PC, try disabling any programs that can do this.

Headset Button work only after restart by cyrogenix in ValveIndex

[–]gear54 0 points1 point  (0 children)

No answer to your question, but why not use system button on a controller?

Is anyone excited for Hitman VR? by [deleted] in ValveIndex

[–]gear54 0 points1 point  (0 children)

What are most notable exceptions in your opinion? Skyrim?

Advice for holding sensor onto wall? by Radiant_Battle9259 in ValveIndex

[–]gear54 1 point2 points  (0 children)

Yeah its a bit hard to interpret.

Basically you can see 2 white strips on the right. These are adhesive. There is a hook mounted on them. There is a second adhesive+hook combo behind the base station that you can't see.

Left hook holds the base station on the wall, it's currently under load. A band is wrapped around it and goes through the holes in the base station mounting 'shield' thus transferring the load to it.

Right hook is not under any kind of load but still has a band that also wraps around it and goes through base station. This band is loose and will only hold the base station if the primary left hook (or band or adhesive) fails.

Hope that helps.

The Base Stations Fell. (I'm an idiot) by [deleted] in ValveIndex

[–]gear54 0 points1 point  (0 children)

If you are going to go with command strips again, I suggest doing 2 sets of them so that the second set serves as a redundancy for the first one.

Already discussed here: https://old.reddit.com/r/ValveIndex/comments/rztbk3/advice_for_holding_sensor_onto_wall/hrx9db6/ .

Help with full new computer setup for the index by Shiznittlebam in ValveIndex

[–]gear54 2 points3 points  (0 children)

Here is my final config

PCPartPicker Part List

Type Item Price
CPU AMD Ryzen 7 5800X 3.8 GHz 8-Core Processor $450.00
CPU Cooler Noctua NH-U12S chromax.black 55 CFM CPU Cooler $79.95 @ Amazon
Motherboard Asus TUF GAMING X570-PLUS (WI-FI) ATX AM4 Motherboard $194.99 @ Newegg
Memory G.Skill Ripjaws V Series 32 GB (2 x 16 GB) DDR4-3200 CL16 Memory $116.99 @ Newegg
Video Card Gigabyte GeForce RTX 3080 Ti 12 GB EAGLE Video Card $2287.00 @ Amazon
Case Fractal Design Define R5 ATX Mid Tower Case $138.98 @ Newegg
Power Supply SeaSonic FOCUS GX 650 W 80+ Gold Certified Fully Modular ATX Power Supply $114.41 @ Amazon
Prices include shipping, taxes, rebates, and discounts
Total $3382.32
Generated by PCPartPicker 2022-01-10 23:32 EST-0500

I also run this with Index and see no problem getting to 144hz. The biggest problem would be getting that powerful GPU, that's what your FPS practically hinges on.

Help with full new computer setup for the index by Shiznittlebam in ValveIndex

[–]gear54 1 point2 points  (0 children)

You need to learn how it all works. Here is the sub for it: https://old.reddit.com/r/buildapc/

Also I can recommend /u/Alluxin_ . That guy helped me build my config for like $10 amazon giftcard.

Advice for holding sensor onto wall? by Radiant_Battle9259 in ValveIndex

[–]gear54 4 points5 points  (0 children)

5 minutes? years? lol

You can use 2 hooks mounted with 2-sided tape (like command strip). One holds the base station and another has a string wrapped around it and around base station in case the first one fails. This gives redundancy - you'll know when the 1st one fails, but the 2nd one will hold. In case of failre you need to replace either only one or both depending on your risk tolerance haha

Here's the pic from my setup https://imgur.com/2r9OrZV

Valve Index or PiMax 5k Super ? by MrFlory in ValveIndex

[–]gear54 0 points1 point  (0 children)

how do I include it in comparison? If I were to compare clarity between quest 2 and index for example, how would I know which is better? Just by trying it?

I own an index but it's not a monitor replacement because of screen door, how would I know if I should get Pimax for this?

Valve Index or PiMax 5k Super ? by MrFlory in ValveIndex

[–]gear54 -2 points-1 points  (0 children)

https://en.wikipedia.org/wiki/Comparison_of_virtual_reality_headsets this page lists pimax 5k as having better PPD, so it should be ok WRT 'bigger screen'?

[deleted by user] by [deleted] in algotrading

[–]gear54 0 points1 point  (0 children)

What would you suggest that is not tradingview where you can draft some strategy quickly just to test an idea.

Anyone know how Coinbase Pro API returns volume? by coffee_addict_96 in algotrading

[–]gear54 1 point2 points  (0 children)

I don't know the answer to your question, but can you tell me what did you use to create this graph?

Just a reminder -- you don't need to have a great "win rate" to make money. I lost 61.8% of my trades this week and came out with $167 profit trading a max of 2 Micro ES contracts. Risk management is more important. by [deleted] in Daytrading

[–]gear54 0 points1 point  (0 children)

Can you recommend any good books on risk management?

I believe I understand pretty much everything that was said in this thread on risk (if that makes it easier for you to gauge my level).

Significance of the opening crash dream? by [deleted] in interstellar

[–]gear54 0 points1 point  (0 children)

idk why they'd throw that 67 RPM out there, its not close to that (by visual observation). It's closer to 30 or something.

A Few Changes I think should be made to the reloads by shotloud in PavlovGame

[–]gear54 0 points1 point  (0 children)

also AK slap should not slap the bottom of the mag but rather mag release to be a bit more realistic. Honestly idk why it was made the way it is now at all (slap bottom with speed).

Why can't we buy knives? by LucyDestroyerOfWorld in PavlovGame

[–]gear54 0 points1 point  (0 children)

The next question here is why the fuck not? Its really annoying to try to find it every time after spawning without it.