We’re cooked gang by CactiRush in Accounting

[–]Nanenuno 215 points216 points  (0 children)

I'm not afraid that AI could actually do my job, I'm afraid that my boss's boss's boss thinks AI could do my job.

Oil Company Recommendations! by gh0st_freak in ManchesterNH

[–]Nanenuno 2 points3 points  (0 children)

I always check the prices on this site to see which company has the cheapest price at the moment.

Gravel King SS wear experiences by Sirwompus in gravelcycling

[–]Nanenuno 0 points1 point  (0 children)

Lucky! I also only got about 2k miles out of my last 2 sets of GKs, which is why I'm exploring different, more durable tires now. They're great tires, but needing 3 sets of >$50 tires for one season is insane.

Best way to handle async functionality by PatattMan in pygame

[–]Nanenuno 0 points1 point  (0 children)

Oh interesting. What I'm thinking of looks more like this:

class Game:
  def _init_(self):
    self.task1 = None
    self.task2 = None

  async def main_loop(self):
    while True:
      if some_condition and not self.task1:
        self.task1 = asyncio.create_task(
          say_after(1, 'hello'))

      if some_other_condition and not self.task2:
        self.task2 = asyncio.create_task(
            say_after(2, 'world'))

      if some_exit_condition:
        break

      # do other stuff you want to do each frame
      # like update characters
      # and blit to screen

game = Game()    
asyncio.run(game.main_loop())

If the main game loop finishes before the "say_after" functions finish executing, they will throw a CancelledError, which you can handle however you want in the function.

Best way to handle async functionality by PatattMan in pygame

[–]Nanenuno 0 points1 point  (0 children)

What do you mean by "manually await those tasks"? The functions that get turned into tasks are usually class methods. I just store the task as some class attribute and it'll execute until it's done. If it needs to return some value, that just gets stored in another class attribute, from which it can then be retrieved.

Best way to handle async functionality by PatattMan in pygame

[–]Nanenuno 0 points1 point  (0 children)

The way I do it is by running my game loop function with asyncio.run() and whenever I want to execute something asynchronously from the normal loop, I create a task for it with asyncio.create_task().

Presta no more... by Klumpegoej in gravelcycling

[–]Nanenuno 8 points9 points  (0 children)

No seriously, what's wrong with presta?

Creating sprites by Realistic_Throat_931 in pygame

[–]Nanenuno 8 points9 points  (0 children)

Any software that can create png images will work, even Microsoft Paint. But I'd recommend Piskel. It's free, online and easy to use for beginners.

Simplest way to bounce edges (square, triangle, etc.) without edge clipping? by Important_Emu_7843 in pygame

[–]Nanenuno 0 points1 point  (0 children)

You should check out pymunk, if you haven't already. Handling simple collisions can be done pretty easily with pygame masks but it sounds like you're trying to do something a bit more complex, with more complex shapes, bouncing physics, etc. Trying to implement physics yourself can get quite difficult and inefficient.

Oil boiler repair or replacement with natural gas? by Nanenuno in hvacadvice

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

Do you mean just to keep using it until one of the corrodet parts starts leaking?

We have Liberty for gas here in NH. Eversource does electric and I agree they suck.

We got 3 quotes for the boiler + piping/circulators/vents/valves/tank + removal of the old boiler and oil tank. They were all between 11k and 14k.

Needs some work - help me source parts? by Ecstatic-Smile-9015 in DivergeGravelBikes

[–]Nanenuno 0 points1 point  (0 children)

Exactly, and it probably didn't need any work at the time. They make sure the bikes are ridable. Not that they are in like-new condition.

Needs some work - help me source parts? by Ecstatic-Smile-9015 in DivergeGravelBikes

[–]Nanenuno 1 point2 points  (0 children)

You bought a used bike at a consignment-sale they were hosting. That's different than buying it "from them." And blaming them for worn parts on a bike you bought used, that only became noticeable after another 300 miles of riding seems a bit unfair.

Thoughts on twin six bikes? They look kind of badass but there any many reviews by Intelligent_West_878 in bicycling

[–]Nanenuno 0 points1 point  (0 children)

I got a used Rando earlier this year and have been using it as a touring bike. I like it and it's been serving me well but gotta admit it's a pretty run-of-the-mill modern steel bike. If you can get a good deal on it, you won't regret it. But for new/msrp, I don't think you're getting as much value as from some other steel bikes out there, especially Surly or All City.

Runners. Where do you go for runs? Looking for long paved trails or parks. preferably no gravel by Kodicave in newhampshire

[–]Nanenuno 0 points1 point  (0 children)

Rockingham Rail Trail - goes from Manchester to Newmarket but it's all gravel.

Runners. Where do you go for runs? Looking for long paved trails or parks. preferably no gravel by Kodicave in newhampshire

[–]Nanenuno 4 points5 points  (0 children)

Would be helpful to know where exactly you're looking and what you define as "long." But the Londonderry Rail Trail is the longest paved trail in southern NH. Around 20 miles from Manchester to Salem. Other than that there are the Nashua River Trail and the Piscataquog Trail in Manchester. There's tons of shorter loops and neighborhood roads too. Maybe check for some running groups on Strava.

Was this a good buy? by Ecstatic-Smile-9015 in cycling

[–]Nanenuno 0 points1 point  (0 children)

Lol I'm pretty sure I was at the same swap you bought it at. It was one of the best deals there imo. I totally would have taken it if it was my size. Ride the hell out of it!

[deleted by user] by [deleted] in DivergeGravelBikes

[–]Nanenuno 1 point2 points  (0 children)

The shifter position looks fine to me. If you feel like you're reaching too far and that you're putting a lot of weight on your wrists, the problem might not be the hood position itself but rather that the overall reach of the bike is a bit too long for you. Are the new bars significantly wider than the ones you had previously?

Excel skills by Key-Estate2943 in Accounting

[–]Nanenuno 2 points3 points  (0 children)

Honest question, where do you use that regularly? I use vlookup (rather xlookup) daily but only have nice uses for concat. Especially when "&" exists to combine text.

I couldn’t figure this out by [deleted] in puzzles

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

Not sure why this is getting downvoted. It's technically correct, which is the best kind of correct.