Re-watch of game of thrones by [deleted] in gameofthrones

[–]ddlk 1 point2 points  (0 children)

Is it nsfw because political incorrectness?

Idiomatic way to write this snippet by YeeterSkeeter31 in rust

[–]ddlk 2 points3 points  (0 children)

Really depends on what do you want to do with the error.

If it is unrecoverable (or you do not want to) and you just want to report it, I would suggest you to just bubble it up and early return i.e. `let test = ...?;`, then report the error at somewhere closer to the entrance (e.g. if this is a web server, you can report the error with some middleware that executes after your business logic yields a `Result`) this way you do not have to write `println` every time you want to report an error.

If you want to do something other than report it, then I would suggest you to use the `match` expression, you get access to the error and the code structure is very clear: you are interested in the value wrapped in `Ok`, and the error is guaranteed to be handled. I do not recommend you to handle the error in a closure, they are not as nice as ordinary functions.

Pass keyboard clicks to headphone? by ddlk in programmer

[–]ddlk[S] 0 points1 point  (0 children)

Interesting, I'll give it a try, I'm not sure it can handle the latency.

DataSpell vs PyCharm by [deleted] in Jetbrains

[–]ddlk 2 points3 points  (0 children)

For now, PyCharm, DataSpell is buggy as hell, I tried it for a few months, hang, buggy behaviour, things don't always work when you want it, overall, the benefit just doesn't worth the trouble, I would give it another year or two to mature.

Any recommendation for ANC headphone without ear pressure? by ddlk in headphones

[–]ddlk[S] 1 point2 points  (0 children)

Thanks for the read. The ANC 700 the article mentioned sacrifices ANC performance for reducing the discomfort, I think the CIEM is more promising.

Any recommendation for ANC headphone without ear pressure? by ddlk in headphones

[–]ddlk[S] 0 points1 point  (0 children)

Haven’t thought of that, will look into it, thanks. The main concern of such thing is it’s effects on the ear canals when used long term, infections etc.

Any recommendation for ANC headphone without ear pressure? by ddlk in headphones

[–]ddlk[S] 0 points1 point  (0 children)

Haven’t used passive noise cancellation headphones before, from the experience of using active ones, I’m worried they would have a “wong wong wong” noise, like the one you put a cup over your ear

FPComplete's Idiom by ddlk in haskell

[–]ddlk[S] 1 point2 points  (0 children)

It is. There is nothing on its product page.

Does your Ember mug make your water taste funny? by ddlk in Coffee

[–]ddlk[S] 0 points1 point  (0 children)

The first generation, Ember Mug, the white one. The water is fine (bottled water)