Skip Navigation
Aloso Aloso @lemmyrs.org

Programmer based in Munich, Germany, interested in Rust, programming, science, etc. He/him

GitHub: https://github.com/Aloso -- Mastodon: https://hachyderm.io/@aloso

Posts 2
Comments 24
Libs.rs is now closed source
  • What’s the bad scenario you’re worried about here? What type of data you’re specifically worried about? Do you expect me to maliciously manipulate the data, or is even well-intentioned curation and use of heuristics somehow not acceptable?

    I think they are worried that some crates may not show up in the search results, either because their author requested their removal, or you decreased their search ranking for political reasons.

    And I agree with you that crates.io is not a viable alternative due to the poor quality of the search results. So switching from lib.rs to crates.io doesn't make sense for this reason alone, since crates.io may not display the crate you're looking for either, unless you already know its name.

  • Experimenting with better CLI errors
  • You need to tell the user that this is an error, otherwise they don't know if it succeeded or not.

    error: --att cannot be used at the same time as --intel

    The last line is incomprehensible, just use a full sentence.

  • blog.rust-lang.org Rustfmt support for let-else statements | Rust Blog

    Empowering everyone to build reliable and efficient software.

    3
    Yes, we were down for ~2 hours :(
  • thank you for maintaining this server, and being very transparent about it ❤️

  • Two week (well 17 days) update!
  • Most excellent, I have been using your CSS with Stylebot :)

    Since I've turned it into UserCSS, I think you need the Stylus extension to use it now, sorry 😄

    I wanted to make a PR for lemmy-ui, but haven't gotten around to it yet.

  • Two week (well 17 days) update!
  • Will you update to Lemmy 0.18.0 (announced today)? The new HTTP API is allegedly more lightweight.

    By the way, I updated my dark theme published here :)

  • Two week (well 17 days) update!
  • Looking at the stats, [email protected] is slightly more popular than [email protected]. But I don't think there's a consensus on how to proceed; the r/rust moderators have been reluctant to recommend Lemmy, even though they want to move away from Reddit – which makes sense, since Lemmy still lacks good moderation tools, from what I've heard.

  • *Permanently Deleted*
  • And are you sure the license is the sole reason for that? With a sample size of 2, this correlation might very well be coincidence. I'm not intimately familiar of the history of Linux or BSD, so I might be off base, but I don't think a permissive license like MIT prevents a project from being widely adopted and becoming successful.

  • Rust on Kbin
  • Thanks, this link worked :)

  • Rust on Kbin
  • I can't find it on LemmyRS, is it possible that LemmyRS is not federating with kbin.social?

  • When your compiler takes care of you <3
  • The screenshot is fake. Rust doesn't tell you to go to bed. But it does usually tell you how to fix the problem, and occasionally offers you some ice 😄

  • gist.github.com Lemmy configurable dark theme

    Lemmy configurable dark theme. GitHub Gist: instantly share code, notes, and snippets.

    I made a configurable user style for Lemmy:

    Original: !Original

    With this user style: !Darker

    Adjusted colors: !Rusty

    Features

    • Sticky navbar: Navigation is always visible when scrolling
    • Wider content: Use more of your screen width
    • Darker colors
    • Everything is easily configurable by adjusting a few CSS variables!

    Usage

    EDIT: I published it here, install it is with Stylus!

    1. Go to the Lemmy settings and make sure that the "darkly" theme is selected; this user style doesn't work otherwise
    2. Install a browser extension for user styles, e.g. Stylus.
    3. Install the userstyle here.
    4. Adjust the configuration as desired 👍‍
    1
    Lemmy is in serious need of more devs [CROSS POST]
  • i also saw that there’s about 200+ open tickets of variable importance

    Note that it is normal that the number of open issues grows faster than issues are resolved. For example, rust-lang/rust has 8,963 open issues and 39,803 closed issues. microsoft/TypeScript has 6,001 open issues and 31,397 closed issues. A large number of open issues isn't necessarily concerning, unless high-priority issues (vulnerabilities and critical bugs) stay open for a long time.

  • Discussion for possible improvements to the homepage
    • Custom CSS saved along with your user profile

    You can use a browser extension like Stylus or Greasemonkey. Actually, I could create and publish a configurable userstyle if there's demand for it.

  • Using OnceCell with Regex (for reading only)
  • Yeah, it doesn't help that in the once_cell crate, the thread-safe version was also called OnceCell; you had to choose between once_cell::sync::OnceCell and once_cell::unsync::OnceCell. But when it was added to the standard library, once_cell::sync::OnceCell was renamed to OnceLock to make them easier distinguishable. So

  • Shall lemmyrs favicon be different from URLO's?
  • You mean the Rust logo? That is not a cog, it's a sprocket (a wheel that meshes with a bicycle chain).

  • One week update and stats!
  • Interesting! So how much bandwidth and CPU time will it use when all of r/rust moves here? 😄

    r/rust has almost 250k members, but many of them were probably inactive or infrequent visitors.

  • Discussion for possible improvements to the homepage
  • I really like the darker colors. But I don't think it's possible to change the styles of this particular instance, it would have to be implemented in lemmy-ui (and then be available to all lemmy instances).

    And note that capitalized text isn't particularly accessible. In fact, it is harder to read than regular text, because we have a lot more practice reading regular text than capitalized text.

  • Consolidating on one Lemmy instance
  • I'd like for the r/rust community to completely migrate to lemmy, and for the r/rust moderators to become moderators of the chosen lemmy instance.

    I don't care which instance it will be, although I do like the idea of the Rust community being fully self-sufficient and self-governed by hosting our own instance (but still being interoperable with others). The main downside seems to be that people who are active in multiple communities will need multiple accounts, and creating an account requires

    • a unique username (too bad if the name you use on another instance is already taken here)
    • a password you need to save in your password manager
    • approval by the instance owners/moderators, which makes this not only tedious, but also slow

    And if you use a mobile app as well as the web app, you need to login twice after the account was approved.

    On another note: The lemmyrs.org instance currently has several "communities", which are more like categories. They might be a substitute for Reddit flairs, which should allow people to filter what they see on their Reddit homepage. However, Lemmy doesn't support flairs, and on r/rust they weren't actually used that much. Most people didn't set a flair when posting something, which kind of defeated the purpose. I think we should come up with a proper solution for this at some point.

  • Shall lemmyrs favicon be different from URLO's?
  • Modifying the logo would likely violate the logo trademark. We could use Ferris instead (and that's what https://lemmy.ml/c/rust does)

  • Advantages of async runtimes other than tokio?
  • There are executors for more specific use cases.

    • For example, bastion is a "Highly-available Distributed Fault-tolerant Runtime", inspired by Erlang, and including an async executor.
    • embassy includes an async executor specifically for embedded systems.
    • fuchsia-async is an executor for use in the Fuchsia OS.
    • wasm-bindgen-futures converts Rust Futures to JavaScript Promises and schedules them to run to completion. It could also be seen as a (very basic) executor.
  • Whats the latest personal project youre working on?
  • What are these needs? Maybe it makes sense to implement them in to-html directly. I'm open to making to-html more configurable.