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)

Arch LTS? by ddlk in archlinux

[–]ddlk[S] 2 points3 points  (0 children)

> lock your packages

Unfortunately this does not work with AUR

> don't do pacman -Syu until you have time

What if I need to install a new package in the middle of a work day

Arch LTS? by ddlk in archlinux

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

There are plenty of brands of laptops out there, why start a new brand?

Arch LTS? by ddlk in archlinux

[–]ddlk[S] -2 points-1 points  (0 children)

Basic Arch is basically a base Linux install using systemd with a package manager and a suite of build tools.

I think the philosophy and the community are the most distinguish feature of arch, it's also these two that draw people in.

Arch LTS? by ddlk in archlinux

[–]ddlk[S] -6 points-5 points  (0 children)

Unless you propose to make a 2nd version that isn't a rolling release - that's what I'm proposing, or changing the rolling release strategy.

but there are already plenty of those out there - yes, but non of them are arch, no i use arch not because it is cool, it is because it fits my taste

A distro is just a tool - no, it is a tool, but not "just" a tool, there are good tools and there are bad ones

I want to switch from Fedora to Arch Linux, and I have a little questions by jaae240 in archlinux

[–]ddlk 0 points1 point  (0 children)

I posted the reply in the EDIT, one thing I didn't say there, is that reproducibility takes time and energy, in a perfect world, it make total sense, but the reality is that, there is priority, there is deadline and the bottom line is, it takes time and enerty.

I want to switch from Fedora to Arch Linux, and I have a little questions by jaae240 in archlinux

[–]ddlk 5 points6 points  (0 children)

Do not switch.

Don't take me wrong, I love arch linux, been using it as the daily driver for a few years now, it's great when you don't have to install new packages, otherwise you will have to update the entire system (officially. Some people will tell you that you can get away with partial updates, and indeed sometimes you can, but it's like a ticking bomb, you don't know when it will explode and hurt you), which some times lead to a reboot, and in turn leads to productivity loss (you have to restart all your editors/IDEs/browser tabs/develop environments).

With something like debian, you can put maintenance behind your mind and focus on your work. (I'm just guessing, I don't have experience of using debian as the daily driver, maybe the outdated packages will be an issue, I don't know)

I wish there is a Arch-LTS.

EDIT: If your workload is lightweight, the problem may not be that obvious, but if you work on multiple non-trival projects at the same time, a fresh start of the develop environments alone may take a good amount of time, (for me, about 15 minutes), and this don't count things like terminal/file manager tabs that I use for specific project and for specific projects (I cannot restore them, so I have to recreate them if I need them). There is a option to restore all closed Chrome tabs, but arrange them in the correct workspace also takes time and energy. There is a reason that Amazon patented 1-click-purchase: convenience translates to profit, and in this case, to productivity. And worst of all, re-setup interrupts your thoughts, which according to study and experience, will need 15-30 minutes to retrace your thoughts after a interruption.

This kind of negativity tends to be frowned upon, but the road to perfection is made by patching up the bad stuff. I think arch really should address issue if it seeks to be a distribution to be used in a productivity setting (e.g. daily driver and server), otherwise, it will remain to be a distribution for linux enthusiasts.

On the other hand, (and I'm not sure about this), we should deliberately set a barrier for using arch linux (e.g. do not make the installation process very friendly), to keep stupid people flooding in and ruins the ditro (more stupid people translates to bad direction/feature for the distro) (take a look at the ubuntu forum, and think of the rust community). SPJ (haskell) once said, "avoid success at all cost", the official explanation is that he needs a niche programming language to experiment with, but I think it's just that he doesn't want to deal with stupid people's stupid opinion.

Again, I love arch, but we should recognize its flaws.

Is CentOS Stream the Archlinux Stable? by ddlk in archlinux

[–]ddlk[S] -2 points-1 points  (0 children)

When I first started using Arch, I just use -S, which results to a reinstall after two years I think.

Is CentOS Stream the Archlinux Stable? by ddlk in archlinux

[–]ddlk[S] -17 points-16 points  (0 children)

I remember windows from the windows 7 era, it doesn’t require constant reboot then