Yo whatup

  • 0 Posts
  • 86 Comments
Joined 1 year ago
cake
Cake day: September 28th, 2023

help-circle

  • So the big important part of git is that it’s a collection of commits. A branch is just a labeled commit and each commit is a list of what changed from the parent. Rebasing (the most confusing one for people) is when you fiddle with a commit from underneath yourself. Or in even more simple terms editing a parent commit. Rebasing is extremely powerful but most useful for when you notice a bug you wrote a couple commits ago. Fixing such issues via rebase (or !fixup commits you auto squash at the end) keeps your history clean. It’s as though you never wrote the bug. The other thing you do a lot with rebasing is moving your branch up in the history cause somebody updated the remote.



  • Yup, libraries should usually let the consumer chose what to do with an error, not crash the program without a choice in the matter. The only real exception is performance critical low level code such as the core of a graphics or audio driver. Though in those cases crashing also often isn’t an option, you just power through and hope things aren’t too screwed up.





  • Um what? I didn’t like hide extra meaning in what I said. High quality code doesn’t imply all that extra shit you added. It’s code that’s easy to read and modify. Typically this just means you name stuff well and document things that aren’t obvious. Usually my docs explain why something exists since thinking it’s unnecessary cause you don’t remember what the original problem was a common occurrence before I started doing so.

    Is high quality code ran through a formatter? I’d hope so yeah. There should be a consistent code style across the entire project. Doesn’t matter what it it long as it’s consistent.

    100% code coverage is meaningless and as such a pointless metric. Also 100% coverage is explicitly tied to the implimentaion as all code paths have to be reached which is obviously not a good idea (tests have to change when the implimentaion changes as you’re testing the implimentaion not the api).

    Really a lot of this is just meaningless buzz words as an attempt at some sort of gotcha. Really don’t understand how you even interpreted a statement so simple in this way.







  • What right investments? He was born into money and failed into getting anything from his X.com (banking!) website which was bought out by PayPal long after he was fired. The only reason he got anything out of that at all was he’d kept the stocks around.

    He “invested” in Tesla so that he could get a cool car (he royally fucked over the actual founders in the process).

    Low cost space? Low cost space? Do you live on Mars or some shit? Every one of those “Rapid Unscheduled Disassembly” events cost over one Billion. That ain’t cheap buddy.


  • Look I think even you should be able to understand that phones aren’t actually the problem here. Look around at the world around you. Where are kids supposed to go? You can’t walk anywhere. Are they supposed to just get chauffeured around by their parents until they can drive?

    Social media is bad for everyone, that’s not unique to kids. The only reasonable solution to this problem is to remove car dependency and unfuck our zoning laws. Give kids places to go and they’ll go there. They love that shit but they hate being a burden and since the modern world removed those opportunities what else do you expect them to do?