FizzyOrange

joined 2 years ago
[–] FizzyOrange@programming.dev 22 points 6 days ago (3 children)

Yeah if you saw the quality of my coworkers' code you would not be saying this.

[–] FizzyOrange@programming.dev 6 points 6 days ago

I agree. What we need is better PR workflows, not getting rid of review entirely. That's dumb.

[–] FizzyOrange@programming.dev 2 points 1 week ago (1 children)

Unless you want private repos and free CI, which are a pretty huge benefit of Github. I haven't personally seen any issues with Github despite all the moaning about uptime, and I use it a fair bit. I think it's going to take a lot more for them to become another SourceForge. Like, if they introduce banner ads for example.

[–] FizzyOrange@programming.dev 6 points 1 week ago (1 children)

which defined the product category so completely that it’s called “office software–”

Err, no it's called office software because it's software you use in an office. Microsoft didn't invent the word "office".

[–] FizzyOrange@programming.dev 0 points 1 week ago

and I probably don’t want my normal browser being able to access arbitrary USB devices

It has a permission check, just like location access, microphone access, webcam access, etc.

[–] FizzyOrange@programming.dev -3 points 1 week ago

A cheap smart ring sounds like a terrible idea. Have fun when the battery burns your finger...

[–] FizzyOrange@programming.dev 1 points 1 week ago

That is basically what this does, but more reliably.

[–] FizzyOrange@programming.dev 3 points 2 weeks ago (1 children)

...is terrible.

[–] FizzyOrange@programming.dev 2 points 2 weeks ago (2 children)

It's for closed source software obviously.

[–] FizzyOrange@programming.dev 1 points 2 weeks ago

Probably NPM packages. I once saw a guy who was super proud that they "maintained" something insane like 500 NPM packages. They had custom tooling to make it possible.

Of course it was all less than worthless.

[–] FizzyOrange@programming.dev 1 points 2 weeks ago

Yeah I do wonder if we need an easier way to declare these things because programmers are lazy and even in Rust I wouldn't always bother.

You can kind of do it in Typescript with strings:

function create_user(role: "admin" | "normal")

But of course the downside is they are strings at runtime. I'm sure it's possible though.

[–] FizzyOrange@programming.dev 9 points 2 weeks ago (3 children)

Rust doesn't need this as much because it has enums so you can just do create_user(user, Role::Admin, Notify::None).

view more: ‹ prev next ›