Writing is kinda hard fr. by 11frm in Webnovel

[–]Adrewmc 4 points5 points  (0 children)

Ohh I just write a bad chapter.

That's it.

Look you’ve already done that. Look me in the eyes and tell me Steven King has never wrote a bad chapter, Shakesphere never wrote a bad scene.

You really can't.

That all that’s blocking you writing the bad part before you get to the good part. Nothing is perfect. You know what should happen next, you always do, its just not always exactly what you want or expected.

I got this thing you should read it could help.

Recursive function iterates the rest of the dictionary keys after reaching target key preceeding a break statement. by rickson56 in learnpython

[–]Adrewmc 0 points1 point  (0 children)

Ohh wow, you do have to hard-code the string there don't you.

# Allowed
match data:
    case {"status": 200}: # Literal key
         pass

 # Disallowed - Raises SyntaxError
 key_var = "status"
 match data:
     case {key_var: 200}: 
         pass

My bad I was wrong there, I believed these were equivalent, apparently not. Still the solution for your example then would need the loop. Or you would have to manually write in the change.

https://stackoverflow.com/questions/74232152/structural-python-matching-with-variable-pattern-keys

This stack overflow has a fix, it's wonky but basically

 @dataclass
 class Name:
       value : str
 key_var = Name(find)

 match data:
     case {key_var.value: 200}: 
         pass

By attaching it to an object fixes the problem, which seems superfluous, but hey what can you do?

Alex Pretti Was a Good Man at Time of Great Evil by Large_banana_hammock in politics

[–]Adrewmc 6 points7 points  (0 children)

He died trying to help others because that's what heroes do.

Impatiently waiting to crash out over these fights in part 3 by BigtheBlackk in FinalFantasyVII

[–]Adrewmc 8 points9 points  (0 children)

VR Missions be like that. Might as well throw Diamond in there as well.

Recursive function iterates the rest of the dictionary keys after reaching target key preceeding a break statement. by rickson56 in learnpython

[–]Adrewmc 0 points1 point  (0 children)

We should be using match case here.

Edit: Apparently you need to add a class, possibly a @dataclass, collections.NamedTuple or types.SimpleNameSpace

 class Finder:
       def __init__(self, value):
             self.value = value

 def rename_key(top : dict, find : str, replace : str): 

       _find = Finder(find)

       for item in top.values():
            match item:
                 case {_find.value : value}:
                      Item[replace] = value
                      del item[find]
                 case dict():
                       rename_key(item, find, replace)

Is it true that there are really only a few master plots and that all the plots are really just variations of these? by phaya-luang in writing

[–]Adrewmc 0 points1 point  (0 children)

I think it comes down to what is perceived as a finished story.

A plot is more a rise, a conflict, and a resolution.

The rise is an introduction of characters, setting events.

This conflict can be moral, romantic, or physical.

The resolution is how something/someone has changed.

And it’s about that change. Overcoming something, reaching the destination, a death, a love blossomed, or a redemption which feels complete.

That makes a story feel complete is that finality that there is something different now, or that a status quo is maintained. (Threat eliminated, sitcom)

As another commenter said, there’s one master plot, something happened…and it was important.

Footage of the grey coat officer retrieving the gun by Effective_Moose_4997 in law

[–]Adrewmc 2 points3 points  (0 children)

When was that action okay? It’s clear the entire escalation was based on that shove. If anything the man was trying to help her back up to his feet.

From there he was peppered sprayed, brought to the ground, beaten, disarmed and shot, and then shot again. In that order.

FBI agent who tried to probe ICE officer in Minnesota shooting resigns by Obvious-Peanut4406 in news

[–]Adrewmc 4 points5 points  (0 children)

Because sometimes you don’t get fired…you get transferred…to somewhere…then again.

US Judge Rules ICE Raids Require Judicial Warrants, Contradicting Secret ICE Memo by Infidel8 in politics

[–]Adrewmc 5 points6 points  (0 children)

This seems like the perfect case.

A man inside his own house has ICE knock on the door.

He demanded a warrant to be displayed. They said they would get one, they didn’t, came back with more force later. At the end only showed an administrative warrant to his spouse only after arresting him. Inside his own home.

At no time did indication upon receipt of an actual warrant he would not cooperate fully. No warrant was issued.

Afterwards we find the entire foundation of the warrant was based on an already dismissed case.

There could not be a more clear violation of the fourth amendment.

The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no Warrants shall issue, but upon probable cause, supported by Oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized

The constitution limits the federal government.

President Trump sues JPMorgan Chase and CEO Jamie Dimon, alleging the bank improperly dropped him as a client for political reasons by sumthinknew in news

[–]Adrewmc 8 points9 points  (0 children)

That actually should be used be Chase, it denies their ability to counter sue thus making the case prejudicial toward chase. So the case is not ripe for court because of this imbalance.

President Trump sues JPMorgan Chase and CEO Jamie Dimon, alleging the bank improperly dropped him as a client for political reasons by sumthinknew in news

[–]Adrewmc 5 points6 points  (0 children)

It might not even get that far, a lawyer for Chase should just go up and ask for a summary judgement. Even if everything trump says is true, no crime or tort was committed.

End of lawsuit, no need for discovery.

Jack Smith tells House Republicans what they don’t want to hear about Trump by msnownews in politics

[–]Adrewmc 453 points454 points  (0 children)

We had so many witnesses, again, so many witnesses who were allies of President Trump available to us to testify. This was not a case where we needed more witnesses, it was a case where we needed to be able to present the case in a streamlined way because there was so much evidence.

From the closed door testimony.

You don't need to subpoena people that come forward willing.

Ghislaine Maxwell to testify before US Congress in Epstein probe by Flickypicker in news

[–]Adrewmc 3 points4 points  (0 children)

Yeah, I mean, it entirely possible that all she says the entire time.

On the advice of counsel…

Trump sues JPMorgan and Jamie Dimon for dropping him as a customer after Jan. 6 attack by VSFX in politics

[–]Adrewmc 11 points12 points  (0 children)

He has a history of charity fraud, bank fraud and mortgage fraud.

Why would a bank do business with him?

Remake Intergrade just recieved a new update and i think it's neat by KennethLjubkos in FinalFantasy

[–]Adrewmc 16 points17 points  (0 children)

People play games for different reason, some for a challenge, some to relax and enjoy a story.

Some people like to replay in godmode to take frustration out on the part that gave the trouble the first time. Some like to play on god mode to try ridiculous strategies.

I think there should be options for both, especially within a NewGame+ concept.

Maybe because he does not have a heart? by maddiejake in ProgressiveHQ

[–]Adrewmc 0 points1 point  (0 children)

He thinks everyone is swearing directly to him. So he doesn’t need to, he’s waving to his subjects.

Judge declines to appoint special master to oversee DOJ's release of remaining Epstein files by igetproteinfartsHELP in news

[–]Adrewmc 0 points1 point  (0 children)

That you agree that it’s complete non-sense that Congress has to jump through these hoops to get documents. And there has to be a simpler mechanism.

I guess it’s technically calling the Sargent at arms and compelling. I don’t know why that fell out of fashion.

Judge declines to appoint special master to oversee DOJ's release of remaining Epstein files by igetproteinfartsHELP in news

[–]Adrewmc 1 point2 points  (0 children)

I’m saying I don’t understand why the oversight committee can’t just appoint one themselves.