The google timer just worked.
49 karma · joined June 28, 2022
The google timer just worked.
Small and independent websites have been taken offline for less. Why should these conglomerates who extinguished the original web be given a free pass? Ban them all, I say.
As YouTube shows, there are plenty of police officers who hate when bystanders film, and retaliate at every chance.
Now all they have to do is run up on you and arrest you for being within a 8 foot proximity? They are going to love it.
The previous HN discussion said it better than I can: https://news.ycombinator.com/item?id=17636032
What about people who turn down sex when they know the other party can't have kids?
https://gosamples.dev/check-error-type/
cond, err := foo()
if errors.Is(err, ErrFooHadTemporaryFailure) {
// retry
} else if errors.Is(err, ErrFooHostOffline) {
// switchFooHost()
} else if err != nil {
// propagate unhandled error upwards
return nil, fmt.Errorf("foo unhandled err: %w", err)
}
Of course it is up to the package author (or yourself) to write functions that return specific wrapped error types. Otherwise we're stuck in the situation your comment describes.What do you mean by creating an error interface? It's a one liner to make a new error case:
var ErrFooHadTemporaryFailure = errors.New("temporarily failure, retry later")>Turn some part of your regular scheduled meeting to cover some fun parts. We do this regularly within our department. We do virtual team-building activities like a virtual tour of What is in your fridge using a Miro board.
I'm disheartened by this suggestion. I think at least half of my top performers would be looking for new jobs within 30 minutes of me asking them to install the "Miro app" on their phone so they can livestream their refrigerator to the corporation. Or whatever this thing is supposed to be.
With python and other exception based languages? I have made hundreds of commits in my lifetime after being surprised that some random 3rd party library throws a nonstandard exception and breaks all sensible control flow that everybody assumed was happening.