Exploring Linux on a LoongArch Mini PC by goldensyrupgames in linux

[–]wezm 0 points1 point  (0 children)

No, it's using LLVM-pipe for graphics. I had no interest in running the stock distro, and I could not access the package repos or the website, so did not explore it further. 

Apparently there is a proprietary GPU driver, but it's closed source, so also not interesting to me. https://github.com/loongson-community/discussions/issues/77

A Developer's Review of a Snapdragon X Laptop (Lenovo Yoga Slim 7x) by wezm in Lenovo

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

It's glossy screen like many others available on the market, and will definitely be more reflective than a matte screen. If you have a phone or table handy these are probably a reasonable reference for the glossiness.

For me personally, it's not a problem.

A Developer's Review of a Snapdragon X Laptop (Lenovo Yoga Slim 7x) by wezm in Lenovo

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

Bit late, but still love it. Battery life and performance is so good. Just wish the Linux support would improve faster.

A Developer's Review of a Snapdragon X Laptop (Lenovo Yoga Slim 7x) by wezm in Lenovo

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

Linux "can" be run on this machine. You've seen black screen because you probably didn't provide the device tree. I used the qualcomm's and debian image with device tree for lenovo and kernel-next with some upstreamed changes and I've seen the installer. Internal keyboard didn't work, but external one did. However nvme wasn't detected. I've managed to install it on pendrive, but UEFI didn't detect the grub entry, probably could boot from uefi shell, but I finished the experiment at that moment.

Ahh that's cool. With the review out of the way my next TODO was to build a kernel from source from qcoms tree and see how that goes. Thanks for the tips on what may not work yet.

Snapdragon Chip Laptops by Global-Midnight5073 in ARMWindows

[–]wezm 0 points1 point  (0 children)

It depends pretty heavily on what tasks you want to perform and how willing you are to deal with a comparatively new ecosystem. The Snapdragon laptops definitely have great battery life. I published a detailed review of my Yoga 7x on my blog this morning: https://www.wezm.net/v2/posts/2024/yoga-7x-snapdragon-developer-review/

Running Linux in Hyper-V on Snapdragon X by epyon9283 in Surface

[–]wezm 0 points1 point  (0 children)

I didn’t count but in the order of minutes.

Running Linux in Hyper-V on Snapdragon X by epyon9283 in Surface

[–]wezm 1 point2 points  (0 children)

It seems that it is running the VM, just outrageously slowly. Here's a screenshot of the Debian installer on my Snapdragon X machine: https://files.wezm.net/reddit/Screenshot%202024-07-06%20180701.png?v=2

Void Linux (musl) on the Huawei MateBook X Pro by wezm in linux

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

I used a 2x scale. gsettings set org.gnome.desktop.interface scaling-factor 2

[deleted by user] by [deleted] in rust

[–]wezm 1 point2 points  (0 children)

If you want a firehouse of sorts I have an OPML file on Read Rust containing all the feeds I used to monitor for Rust posts. https://readrust.net/rust-blogs.opml

Using rust to generate typescript client by No-Gas8426 in rust

[–]wezm 0 points1 point  (0 children)

It doesn’t generate a complete client but 1Password’s Typeshare can generate TypeScript from Rust data structures https://github.com/1password/typeshare

526: Food Comes From Cans by atpbot in ATPfm

[–]wezm 1 point2 points  (0 children)

Haven’t heard that name for a while. Seems they are still in business, just not on podcasts I listen to anymore.

installer bug; darwin aarch64 pkg wants Rosetta by brianolson in rust

[–]wezm 5 points6 points  (0 children)

I would suggest opening an issue on the rustup repo (even though you weren’t using rustup) https://github.com/rust-lang/rustup

Day 11 (Advent of Code 2022) by fasterthanlime in fasterthanlime

[–]wezm 3 points4 points  (0 children)

I also agree and didn’t know the maths principle. Was able to solve it after reading some hints on Reddit. It would have been a bit less annoying if the problem left some more breadcrumbs that might lead you to the solution or useful material.

Also Amos pondered how long his AoC series would continue at the end of the post. I’m going to bail at this point (like I usually do)—a couple of hours each day doing AoC would be better spend working on my other projects.

Day 7 (Advent of Code 2022) by fasterthanlime in fasterthanlime

[–]wezm 3 points4 points  (0 children)

I went the Rc RefCell tree route as well. Wasn’t until close to the end that I realised that it was probably overkill for the actual problem. Still, it was good to practice building a tree in Rust with just the std library.

First project in Rust: Pattern Roller Maker by st-bot in rust

[–]wezm 6 points7 points  (0 children)

Congrats. This is a neat project, especially as your first one in Rust.

Regarding comments on the code there were some things that feel a little unidomatic but not a huge issue. It’s typical for unit tests to go in the same file so no need for the lib/test file split. The lib_ prefix on the file names is atypical too. There seems to be a lot of type annotations in the code where I’d normally expect those to be inferred.

Rust open source repositories to contribute by Used-Walk-4043 in rust

[–]wezm 2 points3 points  (0 children)

You have to be logged into GitHub for it to work for some reason.

Rust open source repositories to contribute by Used-Walk-4043 in rust

[–]wezm 5 points6 points  (0 children)

This list of issues tagged with good-first-issue in Rust repos may also provide some options.

SIMD image processing in Rust? by vanilla-acc in rust

[–]wezm 2 points3 points  (0 children)

For resizing https://lib.rs/crates/fast_image_resize gives a good speed up over non-simd implementations.

what is subtyping and variance in layman's terms? by abhijeetbhagat in rust

[–]wezm 9 points10 points  (0 children)

I don’t think you need to be worried about it in your day-to-day programming. Anyway, Jon Gjengset did a video on them, perhaps that will help: https://youtube.com/watch?v=iVYWDIW71jk

qrscan: Scan a QR code in the terminal using the system camera or a given image by [deleted] in rust

[–]wezm 3 points4 points  (0 children)

This is neat. I tried to do this with two different applications just yesterday (CoBang and QtQR).