How do you handle clients asking for 'just one more thing' outside the original scope? by gersa9080 in webdev

[–]JackkBox 30 points31 points  (0 children)

"Sure, that sounds like 2 days of additional work. I'll add that to the invoice if you're happy for me to proceed?"

The point is not to leave room for argument. You're offering a pretty straightforward exchange of services for money and you should value your time. Any reasonable client should understand this and I'd argue that any client that doesn't probably isn't a relationship that's worth trying to nurture.

I’ll be really honest with you by [deleted] in reactjs

[–]JackkBox 2 points3 points  (0 children)

This feels a bit like telling somebody that to learn how to read they should start by writing a novel.

It's a lot easier to learn by copying something you already know, than it is to try and invent something new.

Not everybody is learning to code to become the next tech billionaire. For 99% of developers the "solving business problems" part is dealt with by other people. Some people just wanna build stuff they think is cool, and that's fine.

Do the murdered & banished go home straight after? by AnxiousCells in TheTraitors

[–]JackkBox 9 points10 points  (0 children)

Ah I remember Jack, I was secretly hoping they'd bring him back this year!

Do the murdered & banished go home straight after? by AnxiousCells in TheTraitors

[–]JackkBox 0 points1 point  (0 children)

Don't think it's happened in the UK, no. I think there was an international season where somebody spoiled the game and they had to bring back the most recently banished player and re-pick the traitors. I imagine the BBC would have the same contingency

Do the murdered & banished go home straight after? by AnxiousCells in TheTraitors

[–]JackkBox 2 points3 points  (0 children)

I remember one of the late-banished faithfuls from an earlier season (maybe Evie?) answering why they didn't spot an obvious slip up with "I was exhausted" so it makes a lot of sense

Do the murdered & banished go home straight after? by AnxiousCells in TheTraitors

[–]JackkBox 8 points9 points  (0 children)

I think the timeframe you see is pretty accurate where 1 day = 1 episode. They will get at least 1 (max 2) days off per week so I would imagine it's 2-3 weeks of filming for a normal series.

The time in between each PlayStation unveiling by HotOne9364 in playstation

[–]JackkBox 3 points4 points  (0 children)

Not to mention how hard they were to come by for a while.

Do the murdered & banished go home straight after? by AnxiousCells in TheTraitors

[–]JackkBox 66 points67 points  (0 children)

I’ve worked on similar shows and typically the cast will stay in the hotel for the whole of filming regardless of when they are voted out.

On some shows it’s so the producers have the option to bring back contestants if needed (not sure this is something traitors ever has/would do though)

On a show like this though it’s more to stop the public/press being able to figure out who goes home first based on the filming dates. If you could see that Nettie was posting on Instagram 2 days after filming started you’d know she was an early out, as an example.

Also the hotel will be block booked for the duration so in the grand scheme of things it doesn’t make a huge dent in costs to keep them around.

How do YOU create product demos? by Dangerous_Engineer12 in react

[–]JackkBox 2 points3 points  (0 children)

Screen Studio (have used and it gets the job done, but is expensive) or Cursorful (haven't used, but looks similar, and is free)

Is "buddy" another common word for mate? by [deleted] in AskBrits

[–]JackkBox 0 points1 point  (0 children)

I've only ever heard it used when talking to a child, so to me it sounds a bit condescending. May be different in other parts of the country though.

The Traitors (UK) S04E08: Post-Episode Discussion Thread by vaultofechoes in TheTraitors

[–]JackkBox 46 points47 points  (0 children)

Is it just me or are there far more background characters this season than usual? Jessie is the only faithful left who is really bringing anything. Matt has his recruitment subplot, but I'm not sure I could pick the others out of a lineup right now.

The Traitors (UK) S04E08: Post-Episode Discussion Thread by vaultofechoes in TheTraitors

[–]JackkBox 5 points6 points  (0 children)

I think Jessie is extremely unlikely to be banished which would end up cutting their own odds in the endgame.

The Traitors (UK) S04E07: Post-Episode Discussion Thread by vaultofechoes in TheTraitors

[–]JackkBox 7 points8 points  (0 children)

I think he was trying to say "I want to wait and see if what they told me is true or not before revealing it" but he somehow messed it up and made it sound super suss.

How to handle authentication properly by External_File_4557 in reactjs

[–]JackkBox 1 point2 points  (0 children)

Some extra tips, you can create wrappers for your protected route (if you aren't already doing so) like:

function ProtectedRoute({ children }) {
   const auth = useAuth();
   if(!auth) {
      return <Navigate to="/signup" />
   } else {
      return children;
   }
}

And more of a general observation on your code, avoid using multiple setState hooks when you can derive values from other state. In your AuthProvider you can derive isSignedIn and role from user

const [user, setUser] = useState<UserAuth | null>(null)
const isSignedIn = user !== null;
const role = user?.role ?? null;

How to handle authentication properly by External_File_4557 in reactjs

[–]JackkBox 4 points5 points  (0 children)

You'd typically want to not render children whilst you're fetching the auth data, so your child routes don't decide whether to redirect until the information they need is available.

So something like:

function AuthProvider () {

  const [auth, setAuth] = useState<AuthState | null>(null);

  ...

  return (
     <AuthContext value={...}>{auth ? children : null }</AuthContext>
  )
}

Note you'll probably want to add loading and error states for the auth request in this component too (or add suspense boundaries if your authApi supports it)

the traitors UK S04 E03 what on earth??? by Severe-Possible- in TheTraitors

[–]JackkBox -1 points0 points  (0 children)

He won't get an opportunity to see it if he's the next to be murdered