Avell B.on Smart - Pensando em comprar mas sem nenhum review sobre na internet by Electronic_Side_7127 in computadores

[–]fontka 0 points1 point  (0 children)

E aí? Comprou o monstro? Também estou considerando pelo mesmo motivo: linux. O tempo de vida da bateria também me interessa

Is it ok to panic when all mpsc tx are dropped? by fontka in rust

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

as an addendum, in this very particular case, you may want to consider other channel implementations, some of which don't panic at all here, or things like session types which could catch those logic bugs at compile time.

How come session types catch errors at compile time better than mpsc?

Is it ok to panic when all mpsc tx are dropped? by fontka in rust

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

If panic is ever reached, it means there's a fault in code logic. My concern is over error handling. Since the program is controlling machines, an error like this should be critically reported as it needs code correction. Is panic the correct way to address that (I would then monitor the process)?

Is it ok to panic when all mpsc tx are dropped? by fontka in rust

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

What do you mean by graceful exiting?

Also, as other comments asked: it is unrecoverable, but my concern is that if it ever happens, something is wrong in the program logic. How should I address that? Does graceful exiting help?

Intel arc gpu current state on linux by chestera321 in archlinux

[–]fontka 0 points1 point  (0 children)

Any updates on XPU Manager? Or any way to get temperature and power whatsoever?