sorted by: new top controversial old

The article made a few good points, but a good amount of it was conjecture. I liked the part about comparing the two functions and showing that exceptions are faster but I think a big thing he's not getting is readability. Even in the functions he showed, you can directly see that the one using std::expected has the happy path and error path directly in the function signature, whereas the exception one doesn't.

As for the "error kind" trap he was talking about, that definitely exists, but ignores the fact that you can also get this same kind of error from exceptions. I've definitely gotten exceptions that I didn't understand from Python or Java libraries, but it's not a problem with exceptions but a problem with how they're shown. If there's nothing to tell me that I should have thought of that error, it shouldn't be an expectation for a dev to have thought of it.

[-] ExperimentalGuy@programming.dev 2 points 2 months ago

Before scraping I would verify that there is no HTTP API that you can use to craft requests instead of scraping from the website. These might be higher quality than what you can scrape. If there is no easy to use http API, go to scraping then. I would generally consider scraping the last option, unless it's a ridiculously easy website to scrape.

[-] ExperimentalGuy@programming.dev 2 points 2 months ago

I heard there are quantum computing libraries in Python if that interests you!

If I were you I'd browse PyPi for any packages that look cool.

[-] ExperimentalGuy@programming.dev 2 points 2 months ago

I'm not exactly sure what to think about it, but I do like how there's specific things that have their implementation in code right there. I did only look at the site for like a minute, so take that with a grain of salt.

[-] ExperimentalGuy@programming.dev 4 points 4 months ago

Why isn't syncthing there? Is there something bad with it I'm not aware of amor are they just not aware of it?

[-] ExperimentalGuy@programming.dev 7 points 4 months ago

You can make nice little self watering pots with a 3d printer and the right filament.

Those extending swords are really fun.

There are also 3d puzzles you can make.

You can also print models you'd like to paint as minis. You just need the model, sandpaper, primer and some paint.

[-] ExperimentalGuy@programming.dev 4 points 4 months ago

This is so bad I can't look away

[-] ExperimentalGuy@programming.dev 12 points 5 months ago

What's pkhex

[-] ExperimentalGuy@programming.dev 3 points 5 months ago

That looks promising, much appreciated. I should also mention I also mean to back up MMS along with SMS.

14

I've been looking around to find a good, privacy respecting way to sync my messages between phones. I decided I'm going to use SyncThing so I don't have to mess around with a server. The only problem with this is that I haven't been able to find any apps that work on modern Android that routinely backup and import messages from a file/folder into the messages database. Does anyone know any app that might do this?

[-] ExperimentalGuy@programming.dev 4 points 5 months ago

The problem with interpretation is that, if you can make a convincing argument about why something should be seen a specific way, youll have people see it that way. Same thing here. I agree that it's a possible interpretation, but it also just depends on who you're talking to. Point being others in the comments with wildly differing views, but with justifications that are equally as valid. Who knows what's the right interpretation, your guess is as good as anyone's.

view more: next ›

ExperimentalGuy

joined 1 year ago