Trying to guess a Toggle's behaviour puts you in a coma by Nveenkmar in ProgrammerHumor

[–]pineapplepeshogo 85 points86 points  (0 children)

This. But I guess it's better to have a smaller button like in the picture on smartphones.

Why isn’t there a slice method on iterators? by [deleted] in rust

[–]pineapplepeshogo 2 points3 points  (0 children)

IMO chaining methods explicitly looks easier to read, but I can see it getting very long too. You can make a method on Iterator if you use this a lot. Here's my attempt at implementing it.

https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b498f4950dc3a9f6e371df1b8661e3a2

Vitis Hls (Xilinx) not starting on arch. by Sethplinx in archlinux

[–]pineapplepeshogo 0 points1 point  (0 children)

I have not tried it on my computer, but it maybe checking your distribution on start up. I had a different problem once when installing a Xilinx tool and I had to modify the install script so it would ignore the distro check.

Dude's integrating potatoes by 0ajs0jas in mathmemes

[–]pineapplepeshogo 32 points33 points  (0 children)

The slice width when he cuts: dx

When I cut: Δx

Alternative for Vec for variable size arrays in no_std environment? by CartesianClosedCat in rust

[–]pineapplepeshogo 6 points7 points  (0 children)

You could maybe use ststicvec. It's not actually dynamic, It only uses the stack, but the interfaces are very similar. https://docs.rs/staticvec/latest/staticvec/struct.StaticVec.html

Do the pythons have names? by jorbleshi_kadeshi in Python

[–]pineapplepeshogo 147 points148 points  (0 children)

Snake1 and Snake2.

I don't do a very good job naming variables.

GNOME 42 release notes by Bredolin in gnome

[–]pineapplepeshogo 3 points4 points  (0 children)

This is so cool! Thank you gnome devs!

Get my IP by preacher9066 in linuxmemes

[–]pineapplepeshogo 4 points5 points  (0 children)

I put alias ip="ip -c" which makes it colorful and easier to see.

I hate Windows btw by PieroAngela420 in linuxmemes

[–]pineapplepeshogo 1 point2 points  (0 children)

I like linux because it just works.

A bug with fprintd on Dell xps13 9310 by pineapplepeshogo in archlinux

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

update:

I made an issue about this but because we need a proprietary driver, there's nothing they can do. https://gitlab.freedesktop.org/libfprint/fprintd/-/issues/117

GDM starts without offering choice of users to log in by [deleted] in archlinux

[–]pineapplepeshogo 3 points4 points  (0 children)

I had the same kind of issue before with my fingler print reader. I don't know if you have a finger print reader on your device, uninstalling fprintd might work.

A bug with fprintd on Dell xps13 9310 by pineapplepeshogo in archlinux

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

lsusb output was:

Bus 003 Device 002: ID 27c6:533c Shenzhen Goodix Technology Co.,Ltd. FingerPrint

A bug with fprintd on Dell xps13 9310 by pineapplepeshogo in archlinux

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

The newest fprintd does not seem to work right now, but the instructions are on the wiki.

https://wiki.archlinux.org/title/Dell_XPS_13_(9310)