home.social

Search

1000 results for “mo8it”

  1. It's been a while since I worked on it, but I tried to work on my #RSS Api.

    I'm trying #helix as a code editor now (thanks @mo8it for the tips!), so I'm a bit slower than usual, not that I was particularly fast at first.

    #rust #rustlang #api #devdiary #harss

  2. It's been a while since I worked on it, but I tried to work on my #RSS Api.

    I'm trying #helix as a code editor now (thanks @mo8it for the tips!), so I'm a bit slower than usual, not that I was particularly fast at first.

    #rust #rustlang #api #devdiary #harss

  3. It's been a while since I worked on it, but I tried to work on my #RSS Api.

    I'm trying #helix as a code editor now (thanks @mo8it for the tips!), so I'm a bit slower than usual, not that I was particularly fast at first.

    #rust #rustlang #api #devdiary #harss

  4. Today i am stuggling with #SQLX migrations in #RustLang.
    I have an app, which starts with a sync main fn, which then continues in an async init fn.
    I have placed the migrate! macro there, but i am not able to migrate on `cargo build`. Anybody got a clue here?
    The documentation just says to run the macro when the application starts.
    Taggin @mo8it for being and sqlx-evangelist 😁️

  5. I've completed "Scratchcards" - Day 4 - Advent of Code 2023 #AdventOfCode

    The 2nd part was really hard, but in the end I managed to do it anyways.

    I tried @epage #winnow this time, a replacement for #rust #nom . And even though I don't get why `&mut &str` is needed, I found it really easy to pick up.

    Thanks @mo8it for the recommendation

    adventofcode.com/2023/day/4
    github.com/woile/adventofcode/

  6. Really interesting approach from Paul Goulart at mixing and with the takeaway (paraphrased)

    "Julia is great for debugging the *math* problems, Rust is great for debugging the *code* problems, and supporting both of those at once Is a lot less work than doing all of it twice"

    Followed by another great talk by @mo8it highlighting the footguns and benefits of Julia (check out his blog post mo8it.com/blog/rust-vs-julia/)

    I wasn't expecting so much Julia but I'm loving it!

  7. integration in 🪟

    asciinema.org/a/902151

    Works well with terminal text editors like :helix:

    Will be released soon ✨️

  8. With that, we have a new guide for "Community Exercises" ✨

    rustlings.rust-lang.org/commun

    You can create your own exercises and let the program manage them 😃

    I have heard that the community is thinking about creating some exercises for Bevy beginners 😉

    @alice_i_cecile @chrisbiscardi

  9. Launched a new website for 🎉
    rustlings.rust-lang.org

    It even has a new link 🔗

    What do you think? Anything missing? 🤔

  10. I replaced my document readers and with Papers 📖

    flathub.org/apps/org.gnome.Pap

    Papers is planned to replace Evince as the default document viewer on :gnome:

    It is a fork of Evince with about a third of the code migrated to :ferris:

  11. Released a new version of to use the new version of that fixes the following database security vulnerability:

    ⚠️ RUSTSEC-2024-0363
    rustsec.org/advisories/RUSTSEC

    Also replaced Askama with for the templates. The migration was trivial 😃

  12. Wrote a small fish shell function to easily start a clean benchmarking project with divan :D

  13. The user group in Mainz, Germany has a website now ✨

    rust.kph.uni-mainz.de

    If you live near Mainz, you are welcome to join us 😃

    You can also join our weekly meetings online on BigBlueButton 💻️

  14. Ever wondered why the language server isn't showing all errors, warnings and lints? 😕

    This is especially an issue in where Rust-Analyzer only shows the diagnostics in some of the exercises.

    Turns out, Rust-Analyzer uses `cargo check` under the hood which itself stops checking early unless you specify the `--keep-going` flag 🏃🏼

    This is fixed in Rust-Analyzer now 😃

    github.com/rust-lang/rust-anal

    Thanks to @veykril 🤗

  15. New release by @rusticorn 🎉

    github.com/extrawurst/gitui/re

    GitUI is a terminal UI written in with 🐭

    The new version adds support for signing commits ✨

  16. @billy Since is written in Rust and is optimized, it only uses 4MB of RAM (11MiB with shared memory) and almost no CPU time.

    About 6MB is used by the dedicated PostgreSQL database. But you can of course share the database if you want to save resources.

    You can see the stats that Podman reports about the containers.

    In comparison, one backend I wrote in Python with Flask uses about 550MB and keeps the CPU busy…

  17. @billy This is a good idea and definitely something an app developer would like to know about. But this is out of scope for OxiTraffic.

    's main goals is being very simple and only tracking visits and their durations. It is easy to trust and the JS script is tiny.

    It is also focused on normal websites like blogs instead of apps.

    I would recommend taking a look at Motomo or Plausible for event tracking.

  18. ➡️ What you want:
    Reduce complexity for #RustLang backend development 🤔

    ➡️ What you actually do:
    Let people write weird Rust code using macros generating more code in a crate that is fed to a custom transpiler that generates multiple Rust crates that you are supposed to then build and use in production 🫨

    On top of that, you introduce weird licensing so that teams need an activation key with a MONTHLY FEE 🤢

    Thanks #Pavex… 😐

    Rustaceans, just use #Axum 😉

  19. ➡️ What you want:
    Reduce complexity for backend development 🤔

    ➡️ What you actually do:
    Let people write weird Rust code using macros generating more code in a crate that is fed to a custom transpiler that generates multiple Rust crates that you are supposed to then build and use in production 🫨

    On top of that, you introduce weird licensing so that teams need an activation key with a MONTHLY FEE 🤢

    Thanks … 😐

    Rustaceans, just use 😉

  20. ➡️ What you want:
    Reduce complexity for #RustLang backend development 🤔

    ➡️ What you actually do:
    Let people write weird Rust code using macros generating more code in a crate that is fed to a custom transpiler that generates multiple Rust crates that you are supposed to then build and use in production 🫨

    On top of that, you introduce weird licensing so that teams need an activation key with a MONTHLY FEE 🤢

    Thanks #Pavex… 😐

    Rustaceans, just use #Axum 😉

  21. ➡️ What you want:
    Reduce complexity for #RustLang backend development 🤔

    ➡️ What you actually do:
    Let people write weird Rust code using macros generating more code in a crate that is fed to a custom transpiler that generates multiple Rust crates that you are supposed to then build and use in production 🫨

    On top of that, you introduce weird licensing so that teams need an activation key with a MONTHLY FEE 🤢

    Thanks #Pavex… 😐

    Rustaceans, just use #Axum 😉

  22. ➡️ What you want:
    Reduce complexity for #RustLang backend development 🤔

    ➡️ What you actually do:
    Let people write weird Rust code using macros generating more code in a crate that is fed to a custom transpiler that generates multiple Rust crates that you are supposed to then build and use in production 🫨

    On top of that, you introduce weird licensing so that teams need an activation key with a MONTHLY FEE 🤢

    Thanks #Pavex… 😐

    Rustaceans, just use #Axum 😉

  23. I bought the wireless microphone Lark M2 and it is awesome, I am rarely that impressed by a tech product 🤯

    It is a tiny microphone with the size of a coin! The sound quality is excellent, especially with noise canceling 🔊

    youtube.com/watch?v=KKQjo8i7GCA

    No, I am not paid to promote it. I bought it myself. But I found it the perfect fit for talks/presentations online 🌟

    I will use it for my Rust course. I might publish the recordings, but no promise 😉

  24. performance tip 🚀

    If you want to update the value of a String, it is more efficient to recycle the existing allocation with `clear` and `write*` instead of reallocating with `format!` ♻️

    shows that the method with `format!` has one allocation while the other one doesn't 😃

  25. Progress with my physics from scratch in #Bevy 😇

    I was asked to simulate one sphere and plot its energy to validate my physics implementation.
    But since I use #Rust, I thought why not simulate 10000 spheres instead? 😂

    I don't understand the energy spike at the beginning, but at least the energy is stable later.

    #XPBD #RustLang #egui

  26. Progress with my physics from scratch in 😇

    I was asked to simulate one sphere and plot its energy to validate my physics implementation.
    But since I use , I thought why not simulate 10000 spheres instead? 😂

    I don't understand the energy spike at the beginning, but at least the energy is stable later.

  27. Progress with my physics from scratch in #Bevy 😇

    I was asked to simulate one sphere and plot its energy to validate my physics implementation.
    But since I use #Rust, I thought why not simulate 10000 spheres instead? 😂

    I don't understand the energy spike at the beginning, but at least the energy is stable later.

    #XPBD #RustLang #egui

  28. Progress with my physics from scratch in #Bevy 😇

    I was asked to simulate one sphere and plot its energy to validate my physics implementation.
    But since I use #Rust, I thought why not simulate 10000 spheres instead? 😂

    I don't understand the energy spike at the beginning, but at least the energy is stable later.

    #XPBD #RustLang #egui