[–] 1 point 2 years ago

I have a script that runs every 5 mins that does a robocopy for each local repo to OneDrive, excluding all the git system files. I don’t really like the idea of pushing half-finished / broken code.

Rarely need to actually copy stuff back out of onedrive, but it’s good enough on the few occasions I forget to push before changing machines.

  • source
  • [–] 5 points 2 years ago

    It’s not that bad, you might have a couple of moments where you suddenly second guess yourself, particularly on smaller country roads, or car parks. Just remember you the driver should be nearest to the center of the road and you’ll be fine. If you pre book you might have a chance of renting an automatic to make things even easier.

  • source
  • [–] 1 point 2 years ago (1 child)

    I also had this issue, and I think it was because I used my email address instead of username, which works initially but breaks later. Deleting app and logging in with username fixes it.

  • source
  • [–] 12 points 2 years ago (1 child)

    Assuming this is C#, you could just make Reservation a record type, which can be defined with a one line primary constructor, is immutable and has value type equality. Second example is an insane amount of boilerplate.

  • source