XCoin Streamer - [xcomreborn]


ChatLog

First Previous 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 Next Last

user name message /\

10bag

it'd work and look more readable to me

10bag

i thought the original regex was just for stripping forbidden chars from a string ie \"xcom:reborn\" to \"xcomreborn\" so why not just iterate using replace

mystiksoda

constructers its easy

mystiksoda

string.Replace() can only replace a string by another string and thats it, you have no controll over on how to replace or under which conditions so on and so fourth

10bag

well, everybody else just googles \"twitch tts\" and runs it in the background from someone's website

mystiksoda

overcomplicating*

mystiksoda

10bag the thing is he's not evercomplicating at all

10bag

i'm just curious bro, seems you over complicate things

10bag

programming master

10bag

remember two years ago when you were troubleshooting idiots trying to install python so they can run your broken scripts

mystiksoda

they just tell you it exists and that you should avoid using it

10bag

bro this attitude is why you struggle

mystiksoda

they don't really teach any regex in school at all

mystiksoda

wrong

10bag

you're moving goalposts

10bag

the regex is just for stripping chars you don't want though

10bag

?

mystiksoda

better yet, u lose actually

mystiksoda

u gain nothing

10bag

what's wrong with using replace for readability then?

mystiksoda

yes of course

10bag

bro he's gonna be trying to fix this code for the next decade, trust me

10bag

no i didn't but replacing characters in a string should be pretty ez

muktoakash

is the tts reading c-sharp as c-hash? I was quite confused for a bit

mystiksoda

10bag did you even take any time to read the doc u just linked???

10bag

the underlying api is some madly outdated microsoft thing though no

10bag

weren't you trying to write a python program around a 2005 library yesterday until i suggested you did it in c#? 4Head

10bag

https://docs.microsoft.com/en-us/dotnet/api/system.string.replace?view=net-6.0

mystiksoda

@XcomReborn don't listen to 10bag, they're trolling you

10bag

string replace or something? been a while since i wrote c#

First Previous 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 Next Last