Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)CO
CombatWombatEsq @lemmy.world
Posts 641
Comments 418

How do you find the source of an infinite re-render?

I have a custom hook that I'm working on to make a fetch request to an api, and it is causing infinite re-renders. I'm struggling a bit to understand how the various parts of my application fit together -- in particular, my store (zustand) is using a middleware (immer) for immutable state, and I'm not certain why its drafting system isn't protecting me from changes in object identity. What tools can I use to try to track down what I've gotten wrong? I can't really leave the web page open very long because I'm making 1000s of requests per minute to the api I'm working against, so the Chrome dev tools are out, and the static analysis tools I set up (typescript and eslint) haven't identified any errors, like missing a dependency from the useEffect hook dependency array.

3

Ranking all 29 MLS teams by tier for 2024

www.mlssoccer.com Ranking all 29 MLS teams by tier for 2024 | MLSSoccer.com

As is now tradition, my final piece of season preview coverage starts with a tip of the cap to the great Zach Lowe for the inspiration, courtesy of his Annual Tiers of the NBA opus.

Ranking all 29 MLS teams by tier for 2024 | MLSSoccer.com
1
mynorthwest.com Study: Washington ranked #1 state with the worst pothole problems

It may not surprise those of us who grapple with Washington roads, but the state is ranked #1 regarding pothole problems in a study by AAA as reported in

Study: Washington ranked #1 state with the worst pothole problems
0
hard-drive.net Every Best Picture Winner Ranked by How Good a Muppets Version Would Be

The Academy of Motion Picture Arts and Sciences votes on the best movie every year. Whatever they chose is indeed the Best Picture: They have…

Every Best Picture Winner Ranked by How Good a Muppets Version Would Be
14
Ballard FC Release 2024 Schedule and Tickets
  • It looks like there are a pair of Ballard double headers with the pro teams:

    • 6/23 Reign/Ballard (with like, 5 minutes to get between stadia)
    • 7/6 Ballard/Sounders (a breezy 2.5 hours to get between stadia)
  • Ballard FC schedule drops tomorrow

    I got an email from the club today

    > Tomorrow, Thursday 2/15, we will be releasing our 2024 USL2 schedule! You will see that we will be announcing our 14 game league schedule which includes 7 home matches at Memorial Stadium and 7 away matches.

    0
    MLS new kits 2024: Tracking all of the looks
  • Hiya! I run @[email protected] so its my fault we're posting pro soccer wire even though the site is less than ideal. If you know of a site or combination of sites that:

    • has no paywall
    • vends an mls-specific rss feed
    • has equal or better mls coverage

    please let me know and I'll update the code to use that instead. I definitely want the bot to positively contribute to the community.

  • Rocks Are Immutable by Michael Roberts

    ROCKS ARE IMMUTABLE

    Rocks are immutable and hold No scope for self-aggrandizement, Each well-worn pebble churned and rolled Suffers a like predicament.

    Gripped in what mesh of causal schemes Endures each casual atom what When one perchanced electron screams A stuttering signal, and is not?

    Grant then a gamete, grant a score By crabbed environment beset, And man the instrument, no more, And where’s the credit? Where the debt?

    Or grant pure chaos, flickering chance, And life’s defection near and soon, Then mark the shock of circumstance, The day from solid darkness hewn — Rock is a shivering miracle, Betrayed in sunlight, gleaming wet, And love cries out in chlorophyll To welcome truth in petals yet!

    — From These Our Matins (1930) by Michael Roberts.

    0
    I could’ve done with double that, tbh
  • Agreed. I'm a soccer/hockey/volleyball fan myself, and really struggled to pay attention for the 4.5 hour event. 115 minute soccer games (once you include halftime and stoppage) are much more my speed.

  • punchdrink.com The New Vocabulary of Cocktails

    “Fruit bat,” “amaroulette,” “dirty dump.” The language developed behind the bar today has come a long way since the age of Jerry Thomas. Here, a non-exhaustive guide to the modern lexicon.

    The New Vocabulary of Cocktails

    I'm definitely most interested in trying out the 50/50 shots

    > 50/50 shot: A shot featuring two ingredients measured in equal parts. Damon Boelte kick-started the trend with the Hard Start (Fernet-Branca and Branca Menta) at New York’s Grand Army, and it’s since evolved to cover just about every imaginable combination of booze and bitter, including the aforementioned Ferrari, M&M (mezcal and Montenegro), Bro-Nar (bourbon and Cynar) and the Maserati (mezcal and Ramazzotti).

    0

    TWISTERS | Official Trailer

    17

    The Fall Guy | Everything

    6
    Microblog Memes @lemmy.world CombatWombatEsq @lemmy.world

    And it was a huge PBSuccess!

    29
    USL Super League officially sanctioned as first division, joining NWSL atop the pyramid
  • I legitimately don't understand what it means for there to be two top flight leagues in the United States. Like, if the Women's Club World Cup ever materializes, which league gets to sens a team? And honestly, between the two leagues, there's only one leagues worth of teams? I don't get why USSF is doing this.

  • What's the most supernatural thing you've experienced that has no rational explanation?
  • Growing up, I was Mormon (though I no longer am), and I served my mission in Russia. I was serving in a little town outside Moscow called Lobyna (meaning "the place of the skull"), and it was mid-winter and my companion (that's what the other missionary in a pair is called) and I were sign-boarding, handing out free Books of Mormon. I noticed that there was a man who had walked by our station a couple of times, dressed kinda bedraggled -- I noticed him because he wasn't wearing any shoes -- who seemed interested in talking but shy about starting a conversation. I offered him a copy of the book, and struck up a reasonably pleasant conversation that resulted in my inviting him to take the discussions by meeting with us in the church building.

    Our companionship lived on the second floor of the church building, which was a converted dacha (a Russian summer home), and then the first floor and half of the second floor was reserved for church activities. We scheduled our meeting with this investigator (I don't remember his name, it's been a few years) to be right after morning study, so we didn't have to leave the house and come back.

    Come the day of, and I go downstairs to the kitchen to make breakfast, and lo and behold, our new investigator is sitting in the middle of the biggest room (the chapel/former living room) on a folding chair just waiting. I called down my companion, and we did our discussion earlier than expected, which was fine, and then did morning study afterwards. I don't remember a lot of that first meeting, other than he seemed like a reasonable Russian Orthodox member who was chatting with American missionaries. What I do remember is that when I went to let the investigator out, I had to unbolt both front doors to do it.

    After he'd left, I asked my companion if next time he'd please tell me when he lets people into our house, to which he replied that he didn't let the investigator in, he just assumed I'd done it. This was when I started to get concerned. You see, Russian doors aren't like American doors. Generally speaking, there are two doors -- a wooden door with a lock like I'm used to, and then a "fire door", which is like an inch and a half thick steel with five deadbolts into the frame (three into the wall, and one into each of the floor and ceiling). This isn't a "tee-hee" kinda situation to open up the door to get in, you would have to do major structural damage to enter through a door. And it was mid-winter (like -30 - -40 degrees mid-winter), so it wasn't like we forgot and left a window open or something. We resolved to be extra certain to lock up the house next time.

    Which is why it was so surprising when, a few days later, he was sitting in the middle of the chapel-living-room waiting for our appointment an hour early again. We had checked all the bolts and windows and everything, yet there he was. And this time, the discussion went thoroughly off the rails. He was telling us about how the spirits of the dead congregate behind a comet that circles the solar system, and that they're awaiting the confluence of some celestial bodies and would get free and so on. We wrapped up the conversation and did not invite him back, and never saw him again.

    And sure as shootin', when we checked the doors and windows when he left, they were all still locked and barred. It's been 15 years and I still don't know how he got into our house.