Hello Here~~~
這是一個奇怪的地方,放一些計畫,你可以看看下方的目錄
Mingdao OnlineJudge, A performant contest management system base on cutting edge stack.
In early design, we would like admin to verification every problem/contest created by user.
However, in our later discussion, we decide to remove(decide to not implement them) verification mechanism.
For reference, codeforces
don't require admin to verify user submitted content.
Switch normal resource to leptos-query for caching
Add new feature: Provide a chat area for each problem.
To do list:
We haven't yet provide any kind of sort for list_by_* rpc
, providing such guarantee is useful in many situation.
For example, you have 100 problem in a contest(so you want to use paginator), by guarantee secquence of all problem are sorted in ascending, we can partially render problem without actually retrieve 100 problem from the server.
related_filter()
and PaginateCol
)In current API, we expose a order field for api consumer to set value, them frontend can ask server to order response of list request by that value.
Basic example could be...
In that way, client could list problem in order.
This proposal is intended to move such logic to backend.
the proposed API is similar to such:
message AddToContestRequest{
required int32 contest_id = 1;
required int32 problem_id = 2;
optional string request_id = 3;
}
service Problem{
/** Add to end of the contest */
rpc AddToContest(AddToContestRequest) returns (Empty);
}
message InsertRequest{
optional string request_id = 1;
optional int32 pivot_id = 2;
required int32 problem_id = 3;
}
service Contest{
/**
* move the problem to just one after pivot
*
* if pivot is null, insert at front
*/
rpc insert(InsertRequest) returns (Empty);
}
As the title.
When using leptos-build, run with --pre-compress
will compress all static wasm/js/css...
For example:
tree /site/
/site/
├── favicon.ico
├── favicon.ico.br
├── favicon.ico.gz
└── pkg
├── mdoj.css
├── mdoj.css.br
├── mdoj.css.gz
├── mdoj.js
├── mdoj.js.br
├── mdoj.js.gz
├── mdoj.wasm
├── mdoj.wasm.br
└── mdoj.wasm.gz
By just serving compressed content, we can save about 70% of bandwidth.
However, leptos-build
won't help you serving them, you need to write them in actual code.
Lines 21 to 31 in 05789a0
A lot config file use default value, so it can be remove
Because I want SSR support, 100% rust / weird js runtime is require
Related
Maybe we need to open a issue to solve this
SortBy
, example: ProblemSortBy
, ContestSortBy
.SortBy
from protolink
to addToContest
bit flag
with enum
It seems like clippy doesn't like codegen....
Before working on PartialModel
, we should rewrite Pager
first.
Select<E>
recreationPager
The actual work:
PartialModel
Pager
Docker build fail because current Dockerfile only copy member folder.
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.