CatPoop

joined 1 year ago
[–] CatPoop@lemmy.world 1 points 2 weeks 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.

[–] CatPoop@lemmy.world 5 points 8 months 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.

[–] CatPoop@lemmy.world 1 points 10 months ago* (last edited 10 months ago)

10GPa is about 2 billion footballers piled on top of a football field.

[–] CatPoop@lemmy.world 11 points 1 year ago (1 children)

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.