this post was submitted on 12 Aug 2023
109 points (100.0% liked)

Pop!_OS (Linux)

5166 readers
3 users here now

Pop!_OS is an operating system developed by System76 for STEM and creative professionals who use their computer as a tool to discover and create. Unleash your potential on secure, reliable open source software. Based on your exceptional curiosity, we sense you have a lot of it.

Unleash your potential

Whether this is your first experience with Linux, or your latest adventure, all are welcome to discuss and ask questions about Pop!_OS and COSMIC. Keep the discussions friendly though, and remember to assume good intentions whenever you reply. We're all here because we have a shared love for Linux and open source software.

System76 Logo

Support us by buying System76 hardware for you or your company! Or by donating on the Pop!_OS website through the "Support Pop" button. Pop!_OS and COSMIC are fully funded by System76 hardware sales. All systems are assembled in the USA. With your support, we'll work to push the Linux desktop forward with COSMIC.

Links

Guides

Hardware

Recommended

Community Rules

Follow the Code of Conduct

All posts on pop_os must adhere to the Pop!_OS community Code of Conduct. https://github.com/pop-os/code-of-conduct

Be helpful

Posts to pop_os must be helpful. When responding to a user asking for help, do not provide tongue-in-cheek responses like "RTM" or links to LMGTFY. Linking to direct sources that answer the asker's question is fine, but it's advised to provide some explanation as to how you got to that source.

Critique should be constructive

We within the Pop!_OS community welcome helpful criticism or ideas on ways to improve. However, basic "It's bad" or other simple negative comments don't help anyone fix anything. When voicing a complaint about something, try to point out ways the complaint could be improved or worked around, so that we can make a better product for it.

This rule applies to both Pop!_OS and its projects as well as other products available from third-parties.

Don't post malicious "advice"

It can be funny to joke about malicious commands, however this is not the venue for it. Do not advise users to run commands which will lock up their systems, steal their data, or erase their drive. Examples of this include (but are not limited to) fork bombs, rm, etc.

Posts violating this rule will be removed, even if the post is clearly in jest. Repeated offences may lead to a ban. You may understand that the command isn't serious, but a new user might not.

No personal attacks

Posts making a personal attack on any user will not be tolerated.

No hate speech

Hate speech of any kind will not be tolerated. Any violations will be removed, and are grounds for a ban.

founded 1 year ago
MODERATORS
 

Our new, not yet released Rust-based desktop environment for Pop!_OS and other Linux distros is filling out with some essential systems that cater the DE to both users and developers alike. Customization is one of our main focuses for COSMIC, and was a huge focus for us in August, too.

you are viewing a single comment's thread
view the rest of the comments
[–] ike 4 points 1 year ago* (last edited 1 year ago) (4 children)

Thanks team for the hard work, this is shaping up to be a good platform. I would like to learn more coding and play with making some simple apps. I read the rust book (and completing the exercises) and the borrow checker and syntax seem friendly to me even only having only dabbled in light scripting and querying. However, I don't really know much about actually making a full program. Like I'm not super clear on how to best store persistent data, hook things into a GUI, etc. I don't have a lot of experience building an api and best practice with exposing private/public, etc. Outside of school does anyone have any advice for getting started on application building? Also will libcosmic be getting some documentation and quickstart type material in the next year?

[–] mmstick 2 points 1 year ago* (last edited 1 year ago) (1 children)

Check out the application example in pop-os/libcosmic. You can also compare with all the examples in the iced-rs/iced repository. The iced API enforces that you model your application in an Elm style. Both APIs are under construction though. So breaking changes will happen over time. Though Rust makes it easy to refactor to changes.

[–] ike 1 points 1 year ago* (last edited 1 year ago)

Definitely agree from my initial experimentation about Rust making refactoring much easier. I'll probably experiment some for fun while you all are working on the APIs. The sample app existing app projects are helpful and thanks for pointing me in the right direction.

load more comments (2 replies)