Base-n Command
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 49/100
Direzione di ricerca
Start by reading the command parsing and macro code mentioned in the planning notes, then trace how numbers are currently parsed and formatted. Check Rug's parse_radix and to_string_radix APIs for bases 2 through 36. Done means an optional !base=12 command changes both accepted digits and number output to the selected base; the issue does not name specific files or tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
A Command like "!base=12" could be available per base, which makes the bot read and write numbers in that base.
Reasoning
There have been multiple instances in which a factorial of a non-decimal number was wanted.
Resources
- Requested here: https://www.reddit.com/r/unexpectedfactorial/s/fscyC9tS5p
Planning
Rug supports any Radix between 2 and 36 with parse_radix and to_string_radix (maybe some formatting Option alternative?). We would need to change what is accepted as a digit in parsing (dynamic) and add a Command supporting an Optional Number -> change macro.
- Lingua principale
- Rust
- Stelle
- 51
- Fork
- 8
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di tolik518/factorion-bot
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
tolik518/factorion-bot#347 · 7 commenti ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
tolik518/factorion-bot#328 · 3 commenti ·
-
enhancement proposal
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
tolik518/factorion-bot#316 · 4 commenti ·
-
reddit-bot
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
tolik518/factorion-bot#268 · 2 commenti ·
-
TranslationsApertaenhancement
Difficoltà 2/5 1-2 giorni Idoneità per principianti 42/100
tolik518/factorion-bot#262 · 14 commenti ·
Tutte le issue di tolik518/factorion-bot
Issue simili
-
[1.x Bug] run-operation --sql reports success but rolls back writes on transaction-capable adaptersApertatriage
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
dbt-labs/dbt#16784 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area:cli bug good first issue priority:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
rtk-ai/rtk#4615 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bnv-manager-v2: accept_invite creates the Mailcow domain admin before the commitForse già presa @myOmikron l’ha presa oggi. Apertabug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Windows: mio 1.2.3 named-pipe use-after-free panics the native IPC broker and hangs every toolApertaplatform:windows tool triaged wontfix
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
resources: add a regression test confirming admin mint still works after the #16 SAC handoffForse già presa @Daniexie l’ha presa oggi. Apertacontracts good first issue Stellar Wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
OlaGreat/starbound-realms#137 · 1 commento ·