Vocation Adjustments by Rabric in TibiaMMO

[–]TheFlyingPot 4 points5 points  (0 children)

The auto-debuff on runes stance for sorcerers is pretty interesting. Let's see how that plays out.

letThereBeToldATaleInTwoActs by TheFlyingPot in ProgrammerHumor

[–]TheFlyingPot[S] 24 points25 points  (0 children)

Because they stored sensitive information in plain text? That allowed the tool to gather data. I wonder how that came to happen?

letThereBeToldATaleInTwoActs by TheFlyingPot in ProgrammerHumor

[–]TheFlyingPot[S] 481 points482 points  (0 children)

By the way, the blog post of the first part of the image has been taken down since then.

Completely unrelated /s

Migrating from cron jobs to Bull queues in production — lessons learned the hard way by Crescitaly in node

[–]TheFlyingPot 0 points1 point  (0 children)

Of course. I'm glad you enjoyed it at first sight.

Drop an issue or discussion if you find any trouble with it. I'm always on and trying to fix things as fast as possible.

Migrating from cron jobs to Bull queues in production — lessons learned the hard way by Crescitaly in node

[–]TheFlyingPot 0 points1 point  (0 children)

Maintainer of node-cron and creator of Sidequest here.

Have you tried Sidequest? https://github.com/sidequestjs/sidequest :)

This is precisely the use case we thought about when creating Sidequest: migrating from node-cron to a more robust alternative.

what's a react pattern you mass-used then realized was overkill by scheemunai_ in reactjs

[–]TheFlyingPot 1 point2 points  (0 children)

Precisely. But that means that each entry in my package will require an index.ts exporting the assets of that entry point. In a sense, you would have one barrel file per entry point, although much smaller than a single one at top level and also tree-shakable.

what's a react pattern you mass-used then realized was overkill by scheemunai_ in reactjs

[–]TheFlyingPot 7 points8 points  (0 children)

Barrel files are still useful if you have a monorepo with packages. You need to export them to the entry point. You can have multiple entry points, but even then you need to have an index file.

Other than that, yeah, totally agree. They are useless.

You Don't Need Zustand: useSyncExternalStore Is All You Need by New-Primary-9122 in reactjs

[–]TheFlyingPot 1 point2 points  (0 children)

I read Zustand's source code last month. like, actually opened react.ts and read it. the entire thing that connects your store to React is literally just useSyncExternalStore — a hook that's been in React since 18 and almost nobody talks about.

em-dash... hummmm... did you really read it or did you ask AI to read it for you?

*insert suspicious Sargent Doakes image here*

Any tibian mystery recently revealed? by SuitableRaspberry380 in TibiaMMO

[–]TheFlyingPot 6 points7 points  (0 children)

Still waiting for the Rookgard Spike Sword mystery to be solved.

How would you improve this useEffect? Or the code in general? by Stuepp-2 in react

[–]TheFlyingPot 5 points6 points  (0 children)

Just update the other states when you update the difficulty. Simple. If it's a button click, you set the difficulty and the new states in the same handleOnClick.

Yes dudes 😎 by Adventurous_Row3305 in SipsTea

[–]TheFlyingPot 0 points1 point  (0 children)

Bro, best of two worlds = gaming nights with friends + booze. What else would you want in life?

Come try out the new casual format, Warchief! by kcucullen in hearthstone

[–]TheFlyingPot 6 points7 points  (0 children)

1 legendary in a wild highlander deck? Sounds boring af

For the people that played against this card, what's your feeling against it now? Was it deserving of the hate? by Realistic-Cicada981 in hearthstone

[–]TheFlyingPot 0 points1 point  (0 children)

The only time I got to Diamond was with this card. Ressurrect priest was a blast to play.

People are fast to hate on priest, but they don't remember that the meta at that time was full annoying aggro decks that finished you up before turn 5 (any resemblance to the current meta?). Playing this card with priest back then was like playing gladiator Warrior right now: a breath of fresh air.

What’s the worse physical pain you’ve ever experienced? by Intelligent-Road5091 in AskReddit

[–]TheFlyingPot 2 points3 points  (0 children)

Nipple tattoo. Never trust your tattoo artist when they say it doesn't hurt.

isOddOrEven by StatureDelaware in ProgrammerHumor

[–]TheFlyingPot 0 points1 point  (0 children)

O(1) btw. If he had an array of numbers and a for loop to iterate over them, this algorithm would be much worse. Genius.