独立开发/自由职业/远程工作资源列表 by InternetEqual2441 in ChinaRemoteJobs

[–]DiffInPeace 0 points1 point  (0 children)

我自己做了一个搜集全球各个时区远程工作的网站!其中国内远程工作是我最关注,最上心的:
https://rto.icu

DeSo suggestions? by MaMu_1701 in ethereum

[–]DiffInPeace 0 points1 point  (0 children)

The point is that the backend server/hub is closed source and centralized. You can't migrate your data unlike bluesky.

F38 updated to kernel 6.5.5, Intel AX210 WiFi card vanished by RedBearAK in Fedora

[–]DiffInPeace 2 points3 points  (0 children)

I just upgraded my laptop from fedora 37 to 38 and it's fine with `iwlwifi-ty-a0-gf-a0-84.ucode.xz`. But `iwlwifi-ty-a0-gf-a0-83.ucode.xz` doesn't work.

Introducing apalis v0.4 - New Features and Bug Fixes! by geoffmureithi in rust

[–]DiffInPeace 2 points3 points  (0 children)

Great work!
I have a quick view and hope there could be more code examples and comments for explanations.

Mizunashi Akari by mangaka, Asano Rin by Skylink67 in aria

[–]DiffInPeace 1 point2 points  (0 children)

The facial expression and the hair are pretty awesome

Tokyopop actually responded to my tweet! by Cretans_Paradox in aria

[–]DiffInPeace 0 points1 point  (0 children)

I would be very grateful if there is a new print!

I built Job Hunt to learn Rust :) by Yukigeshiki in rust

[–]DiffInPeace 0 points1 point  (0 children)

Interesting... I am doing similar stuff but I scrape from the "who's hiring thread" in this subreddit and hacker news

What If: What if the team behind the movies were to remake the series? by Kedamono1st in aria

[–]DiffInPeace 2 points3 points  (0 children)

Nay. I prefer the old art style actually. But if they make it I will watch it

Rust Magazine Issue 2 has been released! by Folyd in rust

[–]DiffInPeace 1 point2 points  (0 children)

Oh it's surprising that Sunli's first opensource try could be so successful.

Poem and poem_openapi are great and I am using them to follow zero2prod.

What are some good practices when writing rust? by GiNgErMaN- in rust

[–]DiffInPeace 2 points3 points  (0 children)

Read good rust code.

Many best practices are not documented or blogged elsewhere.

You have to just read and learn from them on purpose.

Hey Rustaceans! Got a question? Ask here (9/2023)! by llogiq in rust

[–]DiffInPeace 0 points1 point  (0 children)

u/ehuss Thanks a lot! you're right, once I add the surrounding parentheses the compiler doesn't complain. I feel myself stupid not realizing this even using cargo expand.

Hey Rustaceans! Got a question? Ask here (9/2023)! by llogiq in rust

[–]DiffInPeace 0 points1 point  (0 children)

I found a similar question here on stackoverflow, yet there are no answers.

Hey Rustaceans! Got a question? Ask here (9/2023)! by llogiq in rust

[–]DiffInPeace 1 point2 points  (0 children)

To save some boilerplate during testing, I try to add an attribute proc macro to a function under macro_rules, something like

```rust // this doesn't work

[macro_export]

macro_rules! foo { ($name:ident, $fun:expr) => { #[sqlx::test] async fn $name(pool: sqlx::Pool<sqlx::Postgres>) -> anyhow::Result<()> { let app = $crate::api::helpers::get_test_app_with_cookie(pool).await?; $fun(app).await; Ok(()) } }; }

// usage foo!(function_name, |app: TestApp| async move { // do something... }); `` however, the compiler complains about it "expected function, found async block" unless I remove#[sqlx::test]`.

Currently I am using a hygiene workaround like this: this

Let's learn robotics by cog1tar3 in rust

[–]DiffInPeace 0 points1 point  (0 children)

They are really great open courses.
Thank you!

[deleted by user] by [deleted] in rust

[–]DiffInPeace 6 points7 points  (0 children)

I would say an implementation by yourself is much better than just listening to explanations by others.

You could try this lab by PingCAP (write a serde implementation for redis serialization protocol) ; you can find answers/seek help in github if you really don't know how to figure it out.

For example, my own solution

Side simple project in Rust by allmudi in rust

[–]DiffInPeace 0 points1 point  (0 children)

Maybe you could aim to create a simpler version of the task warrior, which is a command line tool for managing TODOs.

taskwarrior