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/)PE
PeriodicallyPedantic @lemmy.ca
Posts 39
Comments 947
Trying to understand JSON…
  • I wasn't taking about new fields. I was talking about resource partial updates (eg PATCH, or commonly the U in CRUD).

    If you just want to update a single field on a resource with 100 fields, rather than GETting the entire resource, updating the single field, and PUTting whole thing back, just do a PATCH with the single field.

    Likewise if you're POSTing a resource that has nullable fields, but the default value isn't null, how do you indicate that you want the default value for a given field? Do you have to first query some metadata API? That doesn't seem ideal, when this existing pattern exists

  • Trying to understand JSON…
  • Imagine you're writing a CRUD API, which is pretty common.
    If null attributes aren't included in the payload, and someone does an update (typically a PATCH), how do you know which fields should be nulled out and which should be ignored?

    I agree for many cases the two are semantically equivalent, but it's common enough to not have them be equivalent that I'm surprised that it causes arguments

  • Stay Mad, Tankies
  • Have you seen what the supreme Court justices that he appointed have been doing?

    They make a big stink about old supreme courts overreaching, but seem to go out of their way to grab power for themselves and their buddies 🤔

  • Nuclear isn't perfect, but it is the best we have right now.
  • I agree it's not the ideal solution, but it's better than most solutions we have, depending on location.

    Rooftop solar doesn't only need to be on residential buildings, it can also be on industrial and commercial buildings, which take a significant land area.

    One last benefit of most renewable energy that is related to its distributed nature: it's easy to slowly roll out update and replacements. If a new tech emerges you can quickly change your rollout plan to use the new tech, and replace the old tech a little bit at a time, without any energy disruption.
    With mega-projects like nuclear reactors, you can't really change direction mid-construction, and you can't just replace the reactors as new tech comes online, because each reactor is a huge part of the energy supply and each one costs a fortune.

    Also, according to the doc you shared of land-use, in-store wind power is nearly the same as nuclear, since the ecology between the windmills isn't destroyed.

    So while I agree that nuclear absolutely has a place, and that renewables have some undesirable ecological repercussions, they're still generally an excellent solution.

    The elephant in the room, though, is that all the renewable solutions I mentioned will require energy storage, to handle demand variation and production variation. The most reliable and economically feasible energy storage is pumped hydro, which will have a similar land usage to hydro power. On the upside, although it has a significant impact, it does not make the land ecological unviable, it just changes what ecosystem will thrive there - so sites must be chosen with care.

  • Nuclear isn't perfect, but it is the best we have right now.
  • Sorry, I wasn't clear.
    There is a significant amount of real estate for solar panels that won't require any land cleaning, if policy paved the way for it. Total rooftop area in a city and surrounding area is not a small amount, it's not all high density housing.

    You also don't need to go all-in on solar, or rooftop solar. You can also have wind farms. You can also have solar farms (which now wouldn't need to be as large).

    And I never pretended that this was the best solution everywhere. There are places where nuclear absolutely makes more sense. Landlocked countries that have dark winters and no plains, for example.

  • Nuclear isn't perfect, but it is the best we have right now.
  • Solar can be installed on roofs of existing structures, requiring zero land. Although just because it can be done doesn't mean it will be. Thats a policy problem more than anything, though.

    Lots of places have windy coasts besides the uk. And also I don't believe that offshore is the only good place for wind: praries, plains, etc also seem like good options. Places with extensive tracts of land with low vegetation.

  • Nuclear isn't perfect, but it is the best we have right now.
  • Are you displacing whole ecosystems, though?
    How much do wind farms affect grasslands and prairies, etc? They'll have an impact for sure, but it's not like the whole place gets paved over.
    And solar can get placed on roofs of existing structures. Or distributed so it doesn't affect any one area too much.

    I have to admit idk much about sourcing the materials involved in building solar panels and windmills. Idk if they require destructive mining operations.
    I imagine that a nuclear reactor would require more concrete, metal, and rate earth magnets that a solar/wind farm, but idk. I likewise don't know the details about mining and refining the various fissile material and nuclear poisons.

    The other advantage of renewables is that it's distributed so it's naturally redundant. If it needs to get shut down (repairs, or a problem with the grid) it wont have a big impact.

    I like nuclear, and it's certainly the better choice for some locations, but many locations seems better suited for renewable

  • Nuclear isn't perfect, but it is the best we have right now.
  • I agree it absolutely has problems and I hope we come up with a better solution in the near future.

    But it's currently the lesser evil. Even though nuclear plants don't need a lot of fuel, getting that fuel is still typically more damaging than creating a water reservoir, or using an existing natural reservoir.

  • Acrimony and cheese

    I really tried to get it to generate Mac from the film Mac and Me, but it just wouldn't

    3

    It's weird that we enjoy stimulating our fear response

    What would aliens think if they leaned we evolved fear as a survival mechanism, but we intentionally seek out situations that trigger our fear response, for fun?

    Horror movies, extreme sports, thrill-seeking, it's all weird.

    Edit\ Changed the title and added an extra line to make it clear I'm talking about the fear response, and not specifically about extreme sports

    34

    LOLWUT

    Not to count my chickens before they hatch, but I think I've decided my next contest theme, if I win one in the near future

    > a large green pear with a large mouth. the mouth is open, showing large blunt teeth, and a tongue. the pear is on a meadow with small hills, on a sunny day. oil painting

    5

    Who was in charge of deciding where to put this?

    I know FNAF is a "kids game" but putting it next to the Care Bears seems a bit excessive lol

    3

    [Community Challenge 35] Unexpected Astronaut

    Theme

    Unexpected Astronaut!

    What could possibly be unexpected, unusual, or surprising about astronauts or the situations they find themselves in?

    Rules

    • Follow the community’s rules above all else
    • One comment and image per user
    • Embed image directly in the post (no external link)
    • Workflow/Prompt sharing encouraged (we’re all here for fun and learning)
    • Posts that are tied will both get the points
    • The challenge runs for 7 days from now on
    • Down votes will not be counted

    Scores

    At the end of the challenge each post will be scored:

    • Most upvoted: +3 points
    • Second most upvoted: +2 pointS
    • Third most upvoted: +1 point
    • OP’s favorite: +1 point
    • Most original: +1 point
    • Last two entries (to compensate for less time to vote): +1 point
    • Prompt and workflow included: +1 point

    The winner gets to pick next theme! Have fun everyone!

    32

    [Community Challenge 33] Cozy Catastrophy

    Theme

    Cozy Catastrophy. It's the end of the world as we know it, and I feel fine.

    Rules

    • Follow the community’s rules above all else
    • One comment and image per user
    • Embed image directly in the post (no external link)
    • Workflow/Prompt sharing encouraged (we’re all here for fun and learning)
    • Posts that are tied will both get the points
    • The challenge runs for 7 days from now on
    • Down votes will not be counted
    • No memes

    Scores

    At the end of the challenge each post will be scored:

    • Most upvoted: +3 points
    • Second most upvoted: +2 point
    • Third most upvoted: +1 point
    • OP’s favorite: +1 point
    • Most original: +1 point
    • Last two entries (to compensate for less time to vote): +1 point
    • Prompt and workflow included: +1 point

    The winner gets to pick next theme! Have fun everyone!

    42

    English is such a peach.

    It's bullshit that the opposite of "impeachable" is "unimpeachable" instead of "peachable"

    47

    share the cheesiest Ai-generated novel covers you can make

    Here is my attempt:

    > cover art for a young adult urban fantasy romance novel, called “moon slime”

    53

    Share the cheesiest ai-generated novel cover you can

    Here is my attempt:

    > cover art for a young adult urban fantasy romance novel, called "moon slime"

    6
    Books @lemmy.world PeriodicallyPedantic @lemmy.ca

    isekai subgenres

    Now that isekai has firmly established itself as a subgenre in western storytelling (although it has always been there in some form), it got me thinking about what to call the subgenres of isekai itself.

    If isekai itself is being transported to another world/universe, and reverse isekai is someone from another world being transported to ours... Then what do we call someone from another world being transported to another other wold? Or someone from our world being transported to another time in our world? Do these have names already?

    Setting aside if we like or appreciate isekai, if they don't have genres names yet I thought it'd be funny to come up with our own. What do you think we should call all the sub-subgenres?

    7

    all head, all the time

    Scientists couldn't find the head of the starfish. Turns out, the entire thing is head, it's the body that is missing.

    14

    [OC] Homebrew magic consumable: The Martyr's Evil Eye

    I had an idea for an offensive consumable item, and I figured I’d share it and get some feedback. Its power scales with the user, so it should presumably be pretty rare. on consuming, it casts a spell, but I didn’t want to make the spell separately so I’m just describing the item as though it was a spell too. it perhaps tries to do a bit too much, but I thought it wouldn’t be the same if I took away any particular aspect.

    #The Martyr’s Evil Eye

    • range/area: self / sphere 5ft + 5ft for every level of exhaustion sacrificed
    • duration: instantaneous
    • damage: necrotic / remaining caster HP + 1/3 max HP for every death save sacrificed
    • save: CHA save for half-damage

    A black marble with faint green swirls, that seem to move when seen out the corner of the eye. With a willing sacrifice of life force and stamina, the marble cracks open and a necrotic aura radiates out, quickly obscuring those within the sphere. Flashes of green light from within briefly silhouette nightmarish creatures. The aura expands out, reaching its maximum size, before popping like a bubble and exposing the haggard survivors and withered bodies of the dead. The fragments of the marble turn to dust.

    Item must be in contact with the caster. All creatures within the radius of the sphere, including the caster, take damage equivalent to the caster’s remaining HP. The caster may increase the damage by 1/3 of their max HP for every death saving throw they sacrifice. All creatures, except the caster, take half-damage on a successful CHA saving throw. Radius of the sphere is 5ft plus an additional 5ft for every level of exhaustion sacrificed.

    The item is for self-sacrifice in a moment of desperation. The more you sacrifice, the more damage is dealt, but the lower your chances of escape and survival. Sacrifice more of your own life force to deal more damage to each enemy, sacrifice your exhaustion to deal damage to more enemies. If you sacrifice all 3 death throws, or all 6 levels of exhaustion, then you’re instantly dead, but you deal the maximum damage to maximum enemies.

    I thought that an item that always killed the user was kind of boring, so i included the part about death saves. I included the part about exhaustion so that even if the unconscious character is immediately healed back to consciousness, there are still lasting repercussions that make rejoining the fight or even fleeing difficult. Plus it fit thematically - health for health, and effort/exhaustion to cover area.

    I also imagined the exhaustion bit as a ring, where you could increase range/area of a spell by spending levels of exhaustion.

    What are your thoughts? Its kind of mechanically complicated, but I didn’t know how to simplify it without losing something too much character.

    9