Avatar

Ephera

Ephera@lemmy.ml
Joined
16 posts • 195 comments
Direct message
8 points
  1. Are there any distributions that come with the minimum pre-installed apps ? … I mean not even a video or music player

You would not believe the obsession the Linux community has with minimal distros. Yes, there are many variants of “nothing” pre-installed.

Problem is, that many of the minimal distributions are more difficult to use, because they might not have a GUI, for example. Or they don’t have handling for Bluetooth out of the box. Things like that.

For someone new to Linux, I would not recommend jumping straight to a minimal distro. The pre-installed apps are typically decent on Linux (like a recommendation by the folks who create the distro) and if you don’t know much of the ecosystem yet, it’s a good way to start learning about it.

If you do find, you really just don’t need any video or music player, you can also separately uninstall them. Which, again, is easier than installing missing things that you never heard of.

permalink
report
reply

Huh, are they also doing Patch Tuesday on Minecraft now or is this a coincidence?

permalink
report
reply

I’m certainly not impressed. The medium would allow for every frame to look like an artwork, but especially big budget titles seem to be competing for looking as boring as possible (i.e. photorealistic) or like Fortnite, which is amazingly almost even more boring. But yeah, indies are where it’s at.

permalink
report
reply

Hmm, I’m able to not use banking apps and whatnot on Android, so maybe I should look into it more.

permalink
report
parent
reply
19 points

Personally, it always decreased satisfaction that it breaks unpredictably, because I’d get crumbs everywhere. In particular, the shape also hinders putting them far enough into your mouth to catch the crumbs.
Definitely prefer chips which are just sliced potatoes. Them being a naturally grown structure makes them unpredictable enough for my taste.

permalink
report
reply

Descriptions of YouTube links posted to lemmy.ml are in French. This seems to depend on the instance rather than the user viewing the post.
I’m guessing, the instance server fetches this description once and YouTube responds with a language based on the server IP address.

…and I just checked, yep, according to one of the IP geolocation services, lemmy.ml is hosted in France, midwest.social is hosted in Germany.

permalink
report
reply

More fries. ¯\_(ツ)_/¯

permalink
report
reply

Yeah, I’m only looking into proc_macros, because I’m working on a library. In application code, I do think they’re essentially never going to be worth the complexity that they introduce. But in a library, I can deal with the complexity and hopefully my users don’t have to think about it.

Having said that, I actually don’t think proc_macros are insanely complex. There’s a bit of a learning curve to them, particularly the parsing with the syn-crate takes a moment to understand the concepts.
But once you’ve parsed things, you can use the quote-crate to do templating in quite a similar fashion as macro_rules. The thing is just that all the simple cases are covered by the simpler macro_rules, so you just wouldn’t reach for proc_macro most of the time in application code.

permalink
report
parent
reply

Ah, you’re right. I’ve mainly worked through the sorted-chapter and thought the seq!()-macro would be a macro_rules thing, but apparently that’s a proc_macro-thing with TokenStream parsing and such, too. I didn’t even know that’s an option, although it makes perfect sense. 🙃

permalink
report
parent
reply

For figuring out how to write macros anyone wanting to learn about more advanced macros beyond macro_rules, I can recommend this: https://github.com/dtolnay/proc-macro-workshop

Basically, you clone that repo, pick one of the projects, uncomment the first test in the respective tests/progress.rs file and read the steps in the respective unit test file. Then you try to implement a macro to fulfill the test.

It should be said that it isn’t spoon-feeding you, you will still need to read actual documentation for macros. But with its test harness, you get a quick feedback loop and it gives at least some pointers for where to start learning.

permalink
report
reply