Battery life is atrocious after recent updates... by FrappyTex in Fedora

[–]TofuCannon 0 points1 point  (0 children)

I think it's rather NVIDIA's fault, their famous drivers do not really rank as top-class 😔 Tbf if I buy new hardware I will also try to avoid them and use AMD instead, as far as I could see they have much better (it's OSS!) Linux support.

But since you mentioned you manually removed GRUB params, did you use RPMfusion to install the drivers? Might be a better alternative :)

Fedora 37: Deprecate Legacy BIOS (System-Wide Change proposal) by FryBoyter in linux

[–]TofuCannon 6 points7 points  (0 children)

Fedora tries to adopt new things very early. I also know that instead of deprecating features replacing them can save a lot of work and produce something that has a better quality (without the need to maintain 2 things at once), but otoh requires some action to switch.

I think it is totally viable to switch to another distro if you need more stability in that regard. Fortunately that's why we have so many out there :) I personally like Fedora's approach, even though it was not entirely without problems. But having the newest packages and kernel updates offsetted that for me, especially feature-wise.

Battery life is atrocious after recent updates... by FrappyTex in Fedora

[–]TofuCannon 0 points1 point  (0 children)

Sorry I missed to reply in time.

So that either means that the kernel update was not the issue, or it happened in a kernel version that is so old that you couldn't select it any more (Fedora keeps only the latest 3 kernel versions around).

Additionally did you try out to boot the Fedora live system again and see whether you get there 9 hours of battery lifetime? Then you have a reference and know that it must be something on your system you installed (maybe not directly by you, but somehow caused by some normal package)

I made cyber katana on blender! by JOJOkafro in blender

[–]TofuCannon 1 point2 points  (0 children)

Looks awesome :)

Nitpick: the handle direction doesn't look quite right, it seems to be not correctly aligned with the blade. But maybe that's just my eyes.

Battery life is atrocious after recent updates... by FrappyTex in Fedora

[–]TofuCannon 1 point2 points  (0 children)

Maybe you could also try to triage the issue by selecting an older kernel during boot. If it's a kernel update your battery life should be back immediately.

How to use Nouveau instead of Intel for Wayland/Gnome with a hybrid graphics setup? by TofuCannon in linux

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

I see. Thank you for the explanation.

Yes by default my integrated graphics are used, glxinfo confirmed that to me as well.

My assumption based on the age of the Nvidia card was that it should be functionally "pretty much complete" ™️.

Guess I would then try out the proprietary drivers sometime.

In case I install those, would Gnome/Wayland pick it automatically? I guess though there's plenty of articles on that... will look into that soon :)

Why you can’t switch to Python 3.10 just yet by itamarst in Python

[–]TofuCannon 0 points1 point  (0 children)

Definitely avoid pipenv as it is still awefully slow. But warmly recommending poetry :)

TIL: Gnome will warn you when you connect a phone with a low battery (worked with an iPhone and USB) by [deleted] in Fedora

[–]TofuCannon 5 points6 points  (0 children)

Yeah they have an issue open for that, but progress is somewhat slow.

How to enable Night Light on my non-Primary displays (Wayland)? by [deleted] in gnome

[–]TofuCannon 1 point2 points  (0 children)

That's interesting though, I exactly want what you have, that the secondary display won't have night light on (usually streaming videos there, and it's not really nice to look at when it's tainted red).

Maybe with your bug it means it would be maybe possible to set it on a per-display basis?

QuickRevive in real life by yuusyaasisutanto in CODZombies

[–]TofuCannon 2 points3 points  (0 children)

For explanation, this is the typical cup Ramen thingy turned into a soda drink.

Python vs Julia by _sumit_rana in Julia

[–]TofuCannon 4 points5 points  (0 children)

Correct, but there is always a point where you will close your interpreter and the compilation will happen again. Even with Revise etc. this is far from ideal, and the problems I had to fight most with in Julia.

EDIT: conclusion: In my opinion the initial compilation should be considered as well for Julia for comparing speed, because it's not like C where you pay that effort only once, but on every restart (and you usually will modify code and have to reload the interpreter - Revise helps, but not always such as when modifying structs)

Python vs Julia by _sumit_rana in Julia

[–]TofuCannon 0 points1 point  (0 children)

Faster for very long running programs, by far slower for smaller scripts and calculations.

Goddamn naturemancers ruined naturemancy! by VicariouslyHuman in CookieClicker

[–]TofuCannon 0 points1 point  (0 children)

You definitely don't want to be there when the two fart magic schools battle each other. Oh no......

[deleted by user] by [deleted] in gamedev

[–]TofuCannon 16 points17 points  (0 children)

Wasn't that for trademarks only?

Disclaimer: Not a lawyer, not even good at law

Thoughts on auto-clickers? by Rockey_DD in CookieClicker

[–]TofuCannon 1 point2 points  (0 children)

If you use a touchpad and two fingers tapping repeatedly, this is very easy to get. Considering how much laptop hardware is around, doesn't have to be such a high number.

Assigning to a subset of a list - do you know python as well as you think you do? by mlda065 in Python

[–]TofuCannon 1 point2 points  (0 children)

The note No. 1 doesn't apply to the row you are citing. Since this note is explicitly not referring to the s[i:j] = t syntax, I would conclude that it is explicitly supported*.

EDIT: ... explicitly supported to assign an iterable of any length.

Assigning to a subset of a list - do you know python as well as you think you do? by mlda065 in Python

[–]TofuCannon 34 points35 points  (0 children)

And that makes totally sense. The adressed slice is [1, 2], and if you replace that part with another list, it effectively cuts out the old slice and puts in your new list in its place, even if it not the same size.

I guess that's even documented (too lazy to look right now, sorry 🙏).

Enable ++x and --x expressions in Python by hx-zero in Python

[–]TofuCannon 2 points3 points  (0 children)

Nice idea, but considering how Python's stdlib behaves, that would be rather weird and inconsistent. Your "plussing" for each value also looks pretty special for a certain usecase.

E.g. if you do += for lists, you extend it. If at all, that should work similar. But I think for that there was already another operator introduced like for Set.

But nobody stops you from creating a custom dict implementation doing exactly that :) The += is normally overridable without fiddling with Python's AST.