jtrek

joined 3 weeks ago
[–] jtrek@startrek.website 18 points 3 hours ago

The problem is capitalism. Specifically, the consolidation of power in a small number of decision makers.

Break up the big companies. Stop letting them do mergers and acquisitions. You don't even have to do something radical like dismantling capitalism entirely.

[–] jtrek@startrek.website 2 points 4 hours ago

Yeah, if you initialize them to None then for the entire rest of the class you're going to have to account for the possibility that they're None. If it's unavoidable that they might be None, you should type it as such.

If you type them as like str | None then later when you do like return foo[0] it will warn you that you can't do that with None.

[–] jtrek@startrek.website 6 points 15 hours ago (3 children)

That seems like that's going to give you an error in most type checkers. You said it's always an int and then immediate made that a lie and made it None instead.

Why are you trying to do this?

[–] jtrek@startrek.website 5 points 15 hours ago

Maybe, if was cheap. Dislike Google and Apple.

Don't care so much about games on the phone as like GPS, texting, ad blocking in the browser.

[–] jtrek@startrek.website 1 points 17 hours ago

One of the other guys is on Windows and we had to change a config in git to handle it. Not sure what he did on his end. I have vscode on a Mac. Some people at this place have been working since like the 90s and probably are using notepad.

[–] jtrek@startrek.website 6 points 19 hours ago

Hanna's autobiography "Rebel Girl" was a good read, though parts of it are harrowing.

[–] jtrek@startrek.website -2 points 20 hours ago (2 children)

Windows isn't fit for software development unless you're doing Windows specific stuff. Maybe you can get by with WSL or cygwyn or similar, but that's just a bandaid to make the machine less windows. You'll probably still have problems with like case folding and line endings.

[–] jtrek@startrek.website 4 points 23 hours ago

How did this get normalized?

The average user doesn't know or understand technical details, and don't believe they have any power to change anything

Also capitalism means a small number of assholes make most of the decisions for reasons that benefit them

[–] jtrek@startrek.website 3 points 1 day ago (3 children)

Well, when you put it like that then my hypothesis doesn't sound very plausible. But maybe racism just Trump's everything else.

[–] jtrek@startrek.website 19 points 1 day ago (5 children)

My hypothesis is people are easily frightened idiots. They don't like change of any sort. It frightens them and then they can't reason about if the change is good or bad long term.

If a place had bike lanes for years the same people who bike-lash would probably oppose removing them.

[–] jtrek@startrek.website 17 points 1 day ago

There should be consequences for trying to pass all these horrible and doomed bills. Unfortunately the people keep voting for the people writing them.

[–] jtrek@startrek.website 4 points 1 day ago (1 children)

I feel like you could make an argument that "money" is ambiguous here. Bobby has more monetary value, but Amy has more items that are considered money. In a contrived example of like a DND puzzle where you need to put money on a floor tiles to disarm the traps, Amy can disable 30 and bobby only 4

view more: next ›