adamniederer / base100 Goto Github PK
View Code? Open in Web Editor NEWbase๐ฏ - Encode your data into emoji
License: GNU Affero General Public License v3.0
base๐ฏ - Encode your data into emoji
License: GNU Affero General Public License v3.0
First off, just want to say how much I like the concept of this utility. That being said, I am able to encode strings, but unable to decode strings. At first, I thought it might be because I was using OSX, but I'm receiving the same error on an Arch box. Here is an example:
โฐ % echo "test"|./base100 12:52 PM 101 โต
๐ซ๐๐ช๐ซ๐
โฐ % echo "๐ซ๐๐ช๐ซ๐"|RUST_BACKTRACE=1 ./base100 -d 1:05 PM 101 โต
thread 'main' panicked at 'attempt to subtract with overflow', src/main.rs:69:44
stack backtrace:
0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace
1: std::panicking::default_hook::{{closure}}
2: std::panicking::default_hook
3: std::panicking::rust_panic_with_hook
4: std::panicking::begin_panic_new
5: std::panicking::begin_panic_fmt
6: rust_begin_unwind
7: core::panicking::panic_fmt
8: core::panicking::panic
9: base100::main::{{closure}}
10: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &'a mut F>::call_once
11: <core::option::Option<T>>::map
12: <core::iter::Map<I, F> as core::iter::iterator::Iterator>::next
13: <alloc::vec::Vec<T>>::extend_desugared
14: <alloc::vec::Vec<T> as alloc::vec::SpecExtend<T, I>>::spec_extend
15: <alloc::vec::Vec<T> as alloc::vec::SpecExtend<T, I>>::from_iter
16: <alloc::vec::Vec<T> as core::iter::traits::FromIterator<T>>::from_iter
17: core::iter::iterator::Iterator::collect
18: base100::main
19: __rust_maybe_catch_panic
20: std::rt::lang_start
21: main
[brain@ignatenko-w541 ~]$ echo "๐๐๐ฃ๐ฃ๐ฆ๐" | base100 -d
thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 2', src/main.rs:91:20
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Aborted (core dumped)
It's hard to say whether it is AGPL-3.0 or AGPL-3.0+... Also it just would not hurt to have full text license in the repo.
This is required for packaging in distributions.
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.