lunatic-solutions / chat Goto Github PK
View Code? Open in Web Editor NEWA telnet chat server
A telnet chat server
noting #10 โฆ
latest update on 2023-08-03, rust version 1.71.1 (eb26296b5 2023-08-03)
error[E0277]: the size for values of type `str` cannot be known at compilation time
--> src/client.rs:64:68
|
64 | let coordinator = ProcessRef::<CoordinatorProcess>::lookup("coordinator").unwrap();
| ---------------------------------------- ^^^^^^^^^^^^^ doesn't have a size known at compile-time
| |
| required by a bound introduced by this call
|
= help: the trait `Sized` is not implemented for `str`
note: required by a bound in `ProcessRef::<T>::lookup`
--> /Users/srl295/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lunatic-0.13.1/src/ap/mod.rs:395:19
|
395 | pub fn lookup<N: ProcessName>(name: &N) -> Option<Self> {
| ^ required by this bound in `ProcessRef::<T>::lookup`
For more information about this error, try `rustc --explain E0277`.
error: could not compile `telnet-chat` (bin "telnet-chat") due to previous error
I like the concept of tabs, but it needs some polishing. It took me a while to figure out that the top words were, indeed, tabs. It doesn't help that, when you're in a channel and no one is speaking chatting, if you type "/help", then a new help tab is created, and you're taken to the help tab. A casual user like me would think that they are still in the channel, and be puzzled that anything they type is not showing. The user has to cycle through the tabs back to the channel.
Nice project! I wish you well!
Edit: typos.
As a software engineer trying to learn how Lunatic functions
I would like this example application to be up to date
So that I can learn the most up to date version of Lunatic
I have to build it on my WSL system(i love the linux commandline), but always got the error, how do i fix it and run it?
Compiling unicode-width v0.1.8
Compiling wasi v0.10.0+wasi-snapshot-preview1
Compiling byteorder v1.4.2
Compiling hashbrown v0.9.1
Compiling humansize v1.1.0
Compiling askama_escape v0.2.0
error[E0463]: can't find crate for `core`
|
= note: the `wasm32-wasi` target may not be installed
error[E0463]: can't find crate for `core`
|
= note: the `wasm32-wasi` target may not be installed
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error: could not compile `unicode-width`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error[E0463]: can't find crate for `std`
|
= note: the `wasm32-wasi` target may not be installed
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error[E0463]: can't find crate for `std`
|
= note: the `wasm32-wasi` target may not be installed
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error[E0463]: can't find crate for `std`
|
= note: the `wasm32-wasi` target may not be installed
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error[E0463]: can't find crate for `core`
|
= note: the `wasm32-wasi` target may not be installed
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error: build failed
This version doesn't exist here (https://crates.io/crates/lunatic/versions) so is causing errors during build.
After I /join #swift
ed a channel, I can send a message. It doesn't show up immediately though, looks like I have to re-join to get the message to show up.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.