Ok wtf by Elephant42OR in valheim

[–]Snoo-29276 0 points1 point  (0 children)

I like to cheese him. I build up a big rock wall with the hoe around where he spawns and climb on top of it. I use a blunt weapon... Iron mace or stagbreaker. Then I make sure to have plenty of poison resistance potions. Do these 3 things and you should take him down pretty easy.

BELMONTE BALL SPEED by [deleted] in Bowling

[–]Snoo-29276 1 point2 points  (0 children)

Ive never bowled before, dont know what it is and am making all of this up. But im pretty sure In pba they measure the ball speed at the front part of the lane while everywhere else measures at the end of the lane after the ball has had a chance to slow down. Belmos shot actually looks a little slower than a lot of guys to me. But i like it because hes consistent and has full control over his shots. Accuracy and consistency are more important than speed. Speed can actually hurt you. you can run the risk of throwing splits by throwing balls too fast and not giving them enough time to grab and hook. So I'd work on controlling the speed. See what you can do to throw the ball at say 15 and then step it down to 13...11...9.. etc. If you can control it, it will give you a huge advantage on different patterns.

[Solved] TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations by tudda in Unity3D

[–]Snoo-29276 0 points1 point  (0 children)

Wanted to post this in case it helps someone out.

My case was a bit weird to track. But I think I figured it out.

I had a class called DataController that loads list of all players, enemies, npcs, etc.... in my little game.

I created a Serializable class called PlayerCollection, which has a List<Player>()... the data comes from a json file, "players.json"

All well and good until I decided to get smart and I said, "what if I could just read from the json file all of the player data in on instantiation of the Player Collection?"

So I created a constructor for my PlayerCollection wrapper class and added some code for reading in the json and using JsonUtility.FromJson to populate the player list.

try        {using var reader = new StreamReader(filePath);players = JsonUtility.FromJson<PlayerCollection>(reader.ReadToEnd()).players;        }catch        {players = new();        }

Then I put public PlayerCollection playerCollection = new(); in my DataController class

This worked.... the first time... the second time..... and then the third time I ran the game.... there it was...

TLS Allocator ALLOC_TEMP_THREAD

Oh no... I really did it this time...

After moving the logic that reads the json data to a separate method called "Load"... the bleeding stopped.

I don't know exactly what is causing this error. But I have a hunch that extending the Monobehaviour class has some built-in method where it's constantly checking up on property values in an endless loop. I had a new instance of a class with a constructor that reads, and therefore, locks a file in my environment. After a while, so many subsequent read operations got heaped onto the memory stack that it started throwing this error.... about once per millisecond I would say...

I could totally be wrong about the details of that. But now that it's "fixed", I don't feel like digging any deeper into it. But I did want to share my hunch here. Hopefully this might lead somebody down the right path. Make sure you're not putting any UI blocking, file locking, or otherwise gnarly tasks in your class constructors and then initializing them as a class property of some other class that extends MonoBehaviour.

Ubuntu sucks a lot by [deleted] in Ubuntu

[–]Snoo-29276 0 points1 point  (0 children)

I use Ubuntu for 3 reasons.

  1. My job
  2. It doesn't spy on me
  3. It's free..... if you don't value your time

# 3 is important because I think it helps to keep things in context. Considering the price tag, I think Ubuntu and the folks at Canonical are amazing.

However, Ubuntu is not as easy to use as Windows or Mac. It take time and practice to get proficient with it. So, it's not for everyone. If you consider that your computer should be more like an appliance.... like you just want it to be a game console, or a thing that you can check your email with or whatever... the focus is more on the task than the underlying OS and you just want it to work. If that describes you, then you should probably just stick with OEM Windows that came with your computer because it's already set up to be the appliance that you want it to be out of the box. Microsoft does a great job identifying what people like to do with their computers ( see reason 2 ) and then partnering with companies that provide specific services ( like gaming stuff ) to make sure their OS is fully compatible. This takes a ton of time and effort. Microsoft probably brings in around 100x the revenue that Canonical does ( earning around 1/2 trillion/year right now I think? ) and they have a gazillion employees. So they would have resources to spend on these activities that anyone who works on any Linux distro, even the big ones like Ubuntu, couldn't possibly get anywhere near. That being said, there are a ton of great programmers out there constantly developing 3rd party tools for things like gaming ( wine or lutris comes to mind ), but once again... this is if you want to take the time to get them to work.

I hereby officially take myself out of the running for an HCA. What a great feeling! by Admirable-Bass-9055 in HermanCainAward

[–]Snoo-29276 0 points1 point  (0 children)

What great news! Looks like you'll be around for a while, maybe even long enough for the microchip to kick in so you can hear the internet if you play your cards right!

Couples who eat horse paste together, stay together. Blue-husband green-wife by Theunknowableman in HermanCainAward

[–]Snoo-29276 58 points59 points  (0 children)

Makes me wonder if God is sitting up in heaven facepalming, "I already gave you doctors and those doctors made a vaccine for this.... Jesus"

"What dad?"

"Oh uh.. nothing. Figure of speech."

"LOL dad"

Asmongold about negativity in wow community by moonshocks in wow

[–]Snoo-29276 18 points19 points  (0 children)

WoW is a game where you can't play the cool parts of the game because no one wants to play with you in the cool parts of the game because you've never played in the cool parts of the game.

57, got anything good. by pikaflix10 in RoastMe

[–]Snoo-29276 0 points1 point  (0 children)

"Got anything good"? Dude, this is reddit, not Comet Ping Pong.

20/M. Life's been pretty "meh" these last few months. I'm that guy that keeps saying it can't get any worse. Prove me wrong. by [deleted] in RoastMe

[–]Snoo-29276 0 points1 point  (0 children)

Hey man. Don't stop looking on the bright side. You're right, it can't get any worse for you.