FizzyOrange

joined 1 year ago
[–] FizzyOrange@programming.dev 2 points 1 month ago* (last edited 1 month ago) (8 children)

On Arduino it's 16 bits. (At least the original ATMEL ones; I dunno if they've finally moved to ARM yet.)

This lost me quite a lot of time when I tried to use their SD card library on a 32-bit Arduino and it hung due to some code assuming int was 16 bits.

[–] FizzyOrange@programming.dev 8 points 1 month ago

LLMs don't usually make trivial language mistakes like supposively.

I think this is just a really inexperienced or unskilled developer. Or possibly a very dedicated troll.

[–] FizzyOrange@programming.dev 4 points 1 month ago

It actually works. I tried poetry once and it failed to resolve some simple dependency specification.

Ok you can say it was a fluke bug but it didn't inspire confidence.

uv is also freakishly fast. My venv setup times went from 57 seconds to 7 seconds. I seriously doubt Poetry can do that because it's written in Python.

[–] FizzyOrange@programming.dev 1 points 1 month ago (1 children)

Right... I mean the idea is obvious so why even bother with any of it? The only interesting reason is to demo that it actually works in reality which clearly they didn't.

[–] FizzyOrange@programming.dev -2 points 1 month ago (1 children)

Ah I see, though they don't seem to be for sale so I don't think this guy actually has access to them.

[–] FizzyOrange@programming.dev 3 points 1 month ago (3 children)

Yeah it's definitely a vast improvement on previous attempts (Poetry et al).

I dunno if it can be called solved until it's officially sanctioned and installed by default though, and I don't see that happening for a very long time.

[–] FizzyOrange@programming.dev 7 points 1 month ago (6 children)

Kind of worthless video. Just speculates about how it works. They don't ever even show the app working!

These glasses aren't even AR so the idea that they can overlay details as shown in the mockups is impossible.

[–] FizzyOrange@programming.dev 2 points 1 month ago

It was clearly a joke.

[–] FizzyOrange@programming.dev 1 points 1 month ago* (last edited 1 month ago)

My advice is that you debug via tests. If you install Rust-analyzer (you probably already have) then any tests you add have a little "Run test" and "Debug test" button next to them that you can just click. It magically works without having to faff around with JSON files.

As for your current setup, as other said you have an issue in Cargo.toml which is unrelated to debugging, and the target binary is in target/debug, not in the workspace root.

[–] FizzyOrange@programming.dev 9 points 1 month ago

One of the things I hate about merge-based Git workflows is git makes a default Merge 123234234 from user/dave/fsdf message which:

a) Is shit - it contains zero useful information (what's in the change??) and contains information you explicitly don't care about (the temporary branch name the author happened to use). a) Makes people think they are supposed to use that message.

It would probably be better if the default message was blank. But also squash & rebase is generally better anyway and it avoids this problem entirely.

[–] FizzyOrange@programming.dev 16 points 1 month ago (10 children)

Wow, they (apparently) finally made the REPL not suck! I always thought it was weird how shit it was given that it's one of the big reasons Python has become as popular as it is.

Maybe in another 20 years they can make the package tooling not suck too.

[–] FizzyOrange@programming.dev 2 points 1 month ago

I dunno it looks well designed but I dunno why I would use it instead of Rust.

view more: ‹ prev next ›