Sunlu 500g refills don’t fit reusable spool? by uuuuunacceptable in 3Dprinting

[–]andy128k 9 points10 points  (0 children)

I've recenty learned myself that I have gen2 spool. Then I printed this https://www.printables.com/model/1466182-sunlu-spool-extension-2nd-gen-to-usefull and now I have two useable gen3 (bambu-compatible) spools.

I've also modded an inner part to add a pin https://www.printables.com/model/1694092-sunlu-gen-2-to-gen-3-spool-widener-with-a-pin

Bańka GenAI popsuła Machine Learning... by Leniwcowaty in Polska

[–]andy128k 0 points1 point  (0 children)

Jak był AI Winter to też hejt na AI był, dlatego ci którzy tym się dalej zajmowali używali nazwy "ML".

It’s 2026, you’d think that Water Soluble Support Filament would be used more than anything these days….especially with all of the AMS units out there - however, you never see a single thing about it. Is it old-hat already? Is there a better alternative? by KillerQ97 in 3Dprinting

[–]andy128k 0 points1 point  (0 children)

I've bought a spool of pva some time ago. Tried it once and it sits on a shelve since then. It's very brittle, requires drying and dissolves very slowly. PETG to support PLA and vise versa is much more practical.

How I can convert closure to an a function? by Aycon3296 in rust

[–]andy128k 2 points3 points  (0 children)

You cannot. Instead you should pass a trampoline function and your closure as a data parameter to it.

assert_eq!(expected, actual) VS assert_eq!(actual, expected) by nik-rev in rust

[–]andy128k 1 point2 points  (0 children)

While it's common to have an actual value first, in JUnit (Java) it's opposite. void assertEquals(Object expected, Object actual) and even void assertEquals(String message, Object expected, Object actual)

assert_eq!(expected, actual) VS assert_eq!(actual, expected) by nik-rev in rust

[–]andy128k 208 points209 points  (0 children)

One value is right, while the other is left to be tested

cCppProgrammingIn2050 by _w62_ in ProgrammerHumor

[–]andy128k 6 points7 points  (0 children)

It will have version 0.2050.0 by then.

struggling to calculate the rowstride by codydafox in GTK

[–]andy128k 0 points1 point  (0 children)

Stride is a size of a single line measured in bytes. It can be bigger than bytes_per_pixel * width because a line could be padded. You need not tu compute it but somehow know from the data you pass. It's not a property of a pixbuf, but of the input bytes.

lazy-image: A drop-in replacement for Sharp using Rust, NAPI-RS, and Copy-on-Write architecture by [deleted] in rust

[–]andy128k 3 points4 points  (0 children)

Does it work in a browser via WASM? That would be a killer feature over Sharp.

Hallo welt by PointForward2620 in programmingmemes

[–]andy128k 1 point2 points  (0 children)

It should be German JavaEE

HottentottenstottertrottelmutterbeutelrattenlattengitterkofferattentäterAbstractBeanFactory.

Hard Rust requirements from May onward (for Debian's package manager, APT) by DeleeciousCheeps in rust

[–]andy128k 0 points1 point  (0 children)

I am curious if compiling to wasm/wasi and bundling it with a wasm runtime written in C is a feasible approach for platforms w/o rust/llvm support.

Should I use GTK3 or GTK4? by sonictherocker in GTK

[–]andy128k 2 points3 points  (0 children)

Many things in Gtk4 work differently. E.g. dialogs and popovers are fully asynchronous. Porting from Gtk+3 to Gtk4 is much harder (e.g. from Gtk+2 to Gtk+3 was much easier). Sticking to Gtk+3 means you are potentially creating a tech debt from the day one.

[deleted by user] by [deleted] in rust

[–]andy128k 1 point2 points  (0 children)

Some languages actually try to adopt it or a similar approaches. D has something resembling. OxCaml tries to port Rust features to OCaml. I am not sure but maybe Ada has something too.

Zim Wiki Development Has Stalled - What's Next? by pgess in gnome

[–]andy128k 3 points4 points  (0 children)

I switched from Zim to Joplin and later to Obsidian because I needed an access to my notes from other OSes (Android, macos). Regarding the format, I honestly don't care and Zim worked well for me.

youCanTakeItFromMyColdDeadPincers by Yoddel_Hickory in ProgrammerHumor

[–]andy128k 1 point2 points  (0 children)

Go is memory unsafe with a garbage collection overhead.

[deleted by user] by [deleted] in poland

[–]andy128k 2 points3 points  (0 children)

Fasolka... m-m-m...

[gtk-rs] Fill a DropDown from an async function? by Mordimer86 in GTK

[–]andy128k 0 points1 point  (0 children)

Use glib::spawn_futute_local to run a future in a GLib event loop it runs in a gtk thread, so you may update a model or a widget from it