Search
1000 results for “mo8it”
-
It's #followfriday time !
And, as always boosts are welcome!
#Writer
@carolynaluna
@SJHoodlet#PublicHealth practitioner
@DocCarms#FOSS
@array
@theruran
@chrisba
@kidsan
@adam #qmail maintainer#Web3isgreat creator
@molly0xfff#Rustlang / #Rust
@lodurel
@mo8it#Remarkable2 owner
@aeva#Photography
@mlyon0486
@vanitasvitae# other people
@PetitCoeur
@astrophoenix
@lapcatsoftware
@mijustin -
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 😁️ -
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
https://adventofcode.com/2023/day/4
https://github.com/woile/adventofcode/blob/main/2023/day4/src/main.rs -
Really interesting approach from Paul Goulart at #RustSciComp23 mixing #julia and #rust 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 https://mo8it.com/blog/rust-vs-julia/)
I wasn't expecting so much Julia but I'm loving it!
-
#Zellij integration in #Rustlings 🪟
https://asciinema.org/a/902151
Works well with terminal text editors like #HelixEditor :helix:
Will be released soon ✨️
-
#Rustlings Fixes Your Nightmares :ferris:
-
With that, we have a new guide for "Community Exercises" ✨
https://rustlings.rust-lang.org/community-exercises
You can create your own exercises and let the #Rustlings program manage them 😃
I have heard that the #BevyEngine community is thinking about creating some exercises for Bevy beginners 😉
-
Launched a new website for #Rustlings 🎉
https://rustlings.rust-lang.orgIt even has a new link 🔗
What do you think? Anything missing? 🤔
-
I replaced my document readers #Evince and #Okular with Papers 📖
https://flathub.org/apps/org.gnome.Papers
Papers is planned to replace Evince as the default document viewer on #Gnome :gnome:
It is a fork of Evince with about a third of the code migrated to #RustLang :ferris:
-
Released a new version of #OxiTraffic to use the new version of #SQLx that fixes the following database security vulnerability:
⚠️ RUSTSEC-2024-0363
https://rustsec.org/advisories/RUSTSEC-2024-0363.htmlAlso replaced Askama with #Rinja for the templates. The migration was trivial 😃
-
Wrote a small fish shell function to easily start a clean benchmarking project with divan :D
-
The #RustLang user group in Mainz, Germany has a website now ✨
If you live near Mainz, you are welcome to join us 😃
You can also join our weekly meetings online on BigBlueButton 💻️
-
Ever wondered why the language server #RustAnalyzer isn't showing all errors, warnings and lints? 😕
This is especially an issue in #Rustlings 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 😃
https://github.com/rust-lang/rust-analyzer/pull/17561
Thanks to @veykril 🤗
-
New #GitUI release by @rusticorn 🎉
https://github.com/extrawurst/gitui/releases/tag/v0.26.1
GitUI is a terminal #Git UI written in #RustLang with #Ratatui 🐭
The new version adds support for signing commits ✨
-
@billy Since #OxiTraffic 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…
-
@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.
#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.
-
➡️ 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 😉
-
➡️ 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 😉
-
➡️ 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 😉
-
➡️ 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 😉
-
➡️ 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 😉
-
I bought the wireless microphone #Hollyland 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 🔊
https://www.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 😉
-
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.
-
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.
-
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.
-
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.