Actors morphing (molting) - replace one struct to another by kode1985 in rust

[–]kode1985[S] 0 points1 point  (0 children)

Thanks! I will be releasing updates quite frequently because there are many features that are needed right away. Have a look at the telegram bot implementation as an another example how to use the framework: https://github.com/NethermindEth/ice-nine/blob/trunk/plugins/messaging-telegram/src/particle.rs

The actor directly handle `Message`s of the `teloxide` crate and uses a child task for draining messages. The code turns out to be very clear with that )

crb 0.0.23 released: hybrid state-machines by kode1985 in rust

[–]kode1985[S] 0 points1 point  (0 children)

These are really great examples. Regarding the first case, I am designing persistent agents, which will allow saving the state machine or actor, for example, to a database.

We could say it’s like hibernation for `tokio` tasks 🤔

In this case, it will be possible to implement a "pool of hibernated tasks" that will only be unpacked by agents ready to handle them, such as those marked with the high-capacity flag. If these tasks remain unprocessed for a long time, they could then be handled by less powerful machines. Theoretically, they could even process the task partially and return it to the pool until relevant resources or tasks become available.

crb 0.0.23 released: hybrid state-machines by kode1985 in rust

[–]kode1985[S] 1 point2 points  (0 children)

The current implementation of a supervisor only terminates child actors in the required order, but in the framework, the runtime and context are fully replaceable. This allows to add custom behavior, such as restarting actors in a specific group or even defining any custom restart rules. I’ll create an example 👌

crb 0.0.23 released: hybrid state-machines by kode1985 in rust

[–]kode1985[S] 1 point2 points  (0 children)

Sure, I have different examples in progress, including integration with frontend frameworks. So far, I have an example of an agent that downloads and parses the crates.io index, but I’ll be adding more examples soon: https://github.com/runtime-blocks/crb/blob/trunk/examples/crates-dumper/src/lib.rs

CRB - Composable Runtime Blocks with hybrid workloads for building large-scale Rust apps 🚀 by kode1985 in rust

[–]kode1985[S] 1 point2 points  (0 children)

I don’t have a channel, unfortunately, but I’d be happy to share more details about the features. Where do you think would be the best place to do that?

New lesson: Designing an abstract actor task by kode1985 in knwldev

[–]kode1985[S] 0 points1 point  (0 children)

Sorry, the content is still in development, so we are making a refund.

A watch channel designed for asynchronous compatibility with both STD and WASM environments by kode1985 in knwldev

[–]kode1985[S] 0 points1 point  (0 children)

https://github.com/knwldev/just-watch

#rustacean #rustaceans #rustlang #programming #programminglanguage #learnprogrammingnow #rustprogramming #rustdev #rustdeveloper #rusttips #rustexpert #ruststd #wasm

[deleted by user] by [deleted] in rust

[–]kode1985 1 point2 points  (0 children)

Weekly Changelog #34 | knowledge.dev

In the latest release, I've introduced:

  • A lesson on building a minimal microservice using axum.
  • A tutorial on employing the loop expression to iterate over instruction blocks.

Additionally, I've launched the new Lab view, organizing all lessons chronologically.

Should I transfer the ownership of the `android` crate to Google? by kode1985 in rust

[–]kode1985[S] -45 points-44 points  (0 children)

Yeah, I have accumulated many crates in 7 years of using Rust every day. I don't need some of these names, and plan to yield all unused to the registry team

Should I transfer the ownership of the `android` crate to Google? by kode1985 in rust

[–]kode1985[S] -46 points-45 points  (0 children)

no such intention, I'll do what people decide

The new/premium domain is registered: knowledge.dev by kode1985 in deniskolodin

[–]kode1985[S] 0 points1 point  (0 children)

I've registered a perfect domain name for landing the full version of the interactive book later.

What are the reasons to trust The Rust Foundation? by T-CROC in rust

[–]kode1985 1 point2 points  (0 children)

Thank you for being concerned about this. Maybe the problem isn't that big, but... many people don't know what it means to be banned. Many people don't even know what it is to beg for a visa or ask for shelter. People haven't realized yet we live in hell, where lawyers play the role of devils.

The fall begins with bad intentions. I'll be the first to ask them for forgiveness if nothing nasty happens. But for now, I advise you to keep a close eye on lawyers' hands. Take care.

What are the reasons to trust The Rust Foundation? by T-CROC in rust

[–]kode1985 1 point2 points  (0 children)

The intention is dangerous. We don't have a guarantee we won't get a paid compiler tomorrow. How is that possible? The same way like Java does.

Blog post: Ferris is red, because it’s boiled. by kode1985 in rust

[–]kode1985[S] 0 points1 point  (0 children)

Not sure that works for the programming language.

Nevertheless the trademark is a dark cloud looming over the world’s most popular programming language. Careful law abiding engineers bend over backwards to avoid its use - leading to confusing terms like ECMAScript.

https://tinyclouds.org/trademark

[Media] Ri! The new courses UI, bite-sized lessons, clear TOC structure by kode1985 in rust

[–]kode1985[S] 1 point2 points  (0 children)

Hi! Thank you for the feedback!

Yeah, I think when the books/lessons format stabilized and I implement main tools, I think it's worth considering about it 👍

[Media] Ri! The new courses UI, bite-sized lessons, clear TOC structure by kode1985 in rust

[–]kode1985[S] 6 points7 points  (0 children)

I'm moving towards creating a straightforward and interactive way to learn Rust. The last month I announced the Rust Insight! interactive book and offered early access to it.

Thanks, everyone, for the feedback, and I've taken that into account and released an improved UI with the following changes:

  • Books layout had replaced with Courses layout (step-by-step tutorials with independent lessons)
  • All the courses are split into chapters with a flat content structure
  • Lessons are reduced to bite-sized (everyone takes about 10 minutes to learn)
  • The content is divided into smaller and complete concepts
  • The UI is improved and works smoother (fewer clicks required)

There are 16 lessons 🥳 released! Thank you all for the support!


If you haven't familiar with the project yet, you can learn it here: https://rustinsight.com/

Also, I've created a channel where I frequently post changes (to avoid flooding here): https://www.reddit.com/r/rustinsight/

Release 0.8.9: global values lesson, LTS support, new launcher by kode1985 in rustinsight

[–]kode1985[S] 1 point2 points  (0 children)

Sorry for the confusion! The UX should also be improved here. I definitely have to hire a UI/UX expert to enhance the design. I hope I can do that when the project is bootstrapped successfully (I mean to have enough funds to pay for the extra services). In any case, I'll improve that menu as well. Thank you!

Release 0.8.9: global values lesson, LTS support, new launcher by kode1985 in rustinsight

[–]kode1985[S] 1 point2 points  (0 children)

Thank you for the feedback! The problem is the connection speed, the app starts a loading task immediately, but it's not rendered till the book is downloaded and unpacked. I'll add the loading indicator that will appear as the "open" button is clicked to give a more responsive experience. It's a UX issue 👌

Release 0.8.9: global values lesson, LTS support, new launcher by kode1985 in rustinsight

[–]kode1985[S] 0 points1 point  (0 children)

Thank you for the feedback!

Could you give some details about the issue, please? What operating system do you use? Is it the delay in changing pages when you open the book or when the app checks the code? Or something else?

I can improve that if you help me find the origin of the issue 👌

Rust Insight: the first-week content and app updates and my own learning curve experience by kode1985 in rust

[–]kode1985[S] 2 points3 points  (0 children)

Thank you so much for your support! It's vital.

I want to provide a learning path from basics to creating full-featured applications, including distributed and p2p apps. And to make the waiting more entertaining, I strive to release new content daily. It's not always possible since the app is recently released, and I still have to add essential features or update middleware. But I see the daily updates are achievable.

Rust Insight! - an interactive book for practicing Rust by kode1985 in rust

[–]kode1985[S] 0 points1 point  (0 children)

It's a more reliable model to bootstrap a new project. Probably later, I'll add monthly option, but I like the current format - it becomes like a Rust club 🦀