daniel-liu-c0deb0t / uwu Goto Github PK
View Code? Open in Web Editor NEWfastest text uwuifier in the west
Home Page: https://crates.io/crates/uwuify
License: MIT License
fastest text uwuifier in the west
Home Page: https://crates.io/crates/uwuify
License: MIT License
Hello!
I want to use the lib in a bot, to try out, but it seems to be able to only use files/stdin.
Is there an easy way to use strings with this lib?
Thanks in advance!
so i did this:
~/D/linux-6.0 touch ../uwu.c Mon Oct 10 23:34:56 2022
~/D/linux-6.0 find . -name "*.c" -exec sh -c 'cat {} >> /home/hunter/Downloads/uwu.c' \; Mon Oct 10 23:34:59 2022
~/D/linux-6.0 uwuify -t 32 ../uwu.c ../uwuwu.c 42.3s Mon Oct 10 23:35:45 2022
~/D/linux-6.0 du -sh ../uwu.c 226ms Mon Oct 10 23:36:18 2022
579M ../uwu.c
~/D/linux-6.0 du -sh ../uwuwu.c Mon Oct 10 23:36:31 2022
662M ../uwuwu.c
~/D/linux-6.0 head -n 30 ../uwuwu.c Mon Oct 10 23:36:45 2022
/*
* the fowwowing pwogwam is used t-to genewate the c-constants fow
* c-computing sched a-avewages. 🥺
*
* ==============================================================
* c-c pwogwam (compiwe w-with -wm)
* ==============================================================
*/
#incwude <math.h>
#incwude <stdio.h>
#define h-hawfwife 32
#define s-shift 32
doubwe y;
void cawc_wunnabwe_avg_yn_inv(void)
{
int i;
unsigned int x;
/* t-to siwence -wunused-but-set-vawiabwe wawnings. ^^ */
pwintf("static c-const u32 wunnabwe_avg_yn_inv[] __maybe_unused = {");
fow (i = 0; i-i < hawfwife; i++) {
x = ((1uw<<32)-1)*pow(y, -.- i);
i-if (i % 6 == 0) pwintf("\n\t");
p-pwintf("0x%8x, ^^ ", x-x);
}
unfortunatewy, uwuwu.c does not compiwe :c
it uses discowd webhooks t-to uwuify a-aww sent messages
the wink
All features are enabled even when using it as a library, it would be good to enable the core features and keep the bin features triggered only when building for the binary. uwu
Line 33 in 5016701
I ran some benchmarks and noticed that the throughput reaches an optimum with 4 threads and starts decreasing afterwards:
0.1 gb 1gb 5 gb
1 0.4067 0.44447 0.43217
2 0.7244 0.83551 0.63393
3 0.98752 1.20703 0.63876
4 1.08851 1.39454 0.68621
5 0.91721 1.24367 0.66534
6 0.99265 1.05864 0.5936
7 0.82179 0.86623 0.59534
8 0.90496 0.88324 0.57842
9 0.81467 0.90776 0.54953
10 0.93938 0.90655 0.55023
(Ran on an AMD Ryzen 5 1600X Six-Core Processor
CPU)
Hello there fella! this right here just made my day a whole lot better! if i wasn't so broke, i was gonna empty my wallet here! thank you so very much man!
Cowsay but uwu-ified
you sewect any text wight cwick and u-uwuify. òωó it uses a-a c binding to c-cweate a wua binding f-fow this w-wibwawy
:3
the wink
.
or !
o
s in no
and a
s in ah
:3
face (may have to get rid of a preexisting emote or come up with 15 more, bc this only supports power-of-two emote table sizes)some of these require more work than others
and i w-wuv u fowevew thanks so much!!
if i-i was nyot ass-bwoke i wouwd give y-you money ow smth fow makin m-my day wow
Renaming the README_UWU.txt
to README_UWU.md
makes it easier to read online
i nyevew knew i nyeeded s-something w-wike this my wife, (⑅˘꒳˘) it is genuinewy s-so usefuw! rawr x3 i wiww use it in a-aww of my pwojects fwom nyow on i-in some fowm. >w<
It looks like more or less all the SIMD instructions in use have an AVX2 variant and this would provide about a 2x speed improvement, both on Intel and AMD cpus.
Would be cool to get that 😎
my fwiend intwoduced youw fastest uwuifiew in the west to me and i jokingwy said that i shouwd c-cweate a mawwawe p-pwogwam that uwuifies as you type! enjoyed doing it and i'm wwiting this issue nyow with it wunning hehe.
I lowkey hate myself for submitting this
Title says it all
when you'we weady, σωσ w-wouwd you mind c-cweating a wewease so i can package t-this?
e-ewwor instawwing o-on em1 makbuk p-pwo ('_')
```error[E0432]: unresolved import uwuifier::uwuify_sse
--> /Users/myrealnameudontsee/.cargo/registry/src/github.com-1ecc6299db9ec823/uwuify-0.2.2/src/main.rs:1:5
|
1 | use uwuifier::uwuify_sse;
| ^^^^^^^^^^^^^^^^^^^^ no `uwuify_sse` in the root
error: aborting due to previous error
For more information about this error, try rustc --explain E0432
.
error: failed to compile uwuify v0.2.2
, intermediate artifacts can be found at /var/folders/q3/v84w5_7j11g__d2g4b0z5sqh0000gp/T/cargo-install2HXfsc
also i uwuified the first sentence by hand lmao
needs a fallback for the slight-slower-uwuifier in the west.
Could ARM NEON support be added in the future, for armv7-*
and aarch64-*
targets?
I'd really want to see how fast this can run on an Apple M1.
Allow support for the glorious uwu to be run in browser with the epic speeds using SIMD on WASM
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.