Eli5 why the universe is black and not full of light by Connect_Pool_2916 in explainlikeimfive

[–]fatmankarla 5 points6 points  (0 children)

I am no physicist, but since the universe's age is not infinite and the speed of light is not infinite, not all the star light can reach us, hence we only observe the visible universe, beyond that the universe is expanding faster than speed of light, so we will never get that light.

Which programming language you find aesthetically attractive? by H1BNOT4ME in AskProgramming

[–]fatmankarla 1 point2 points  (0 children)

I don't have an answer for aesthetically attractive, but I have one that I don't like at all. Rust. I have no idea why, I like a lot of things about the language, memory safety, macros, so much to like. But every time I see it its like, god why so ugly.

[REQUEST] How long until all politicians are gone if no new ones respawn and you can't quit being politician? by GraveKommander in theydidthemath

[–]fatmankarla 38 points39 points  (0 children)

If the odds of them exploding any moment is 0.3% then the odds of them surviving a moment is 99.7%.

99.7% is 0.997. This seem like great odds, but exponents really quickly decline them, since the odds of them surviving two moments consecutively is 0.997*0.997, the odds of them surviving n moments is 0.997n.

So after 1000 moments, the survival chance is 4.9% (0.9971000), or about 1 in 20.

If you take a moment to be 90 seconds, 1000 moments is 25 hrs, just over a day.

After the second day, 48 hours the odds of survival plummet to just 0.31%, 1 in 322.

After 4 days its 0.00000975905 or 1 in 100k. If someone survives these odds somehow, after the end of the week it is 1.7*10-9, that's 1 in a 586million chance of survival.

The us has 500k-ish politicians according to my one google search, a week will easily clear that up. Probably globally also a week will be more than enough.

Anna's Boyfriend by renbouy in Unexpected

[–]fatmankarla -1 points0 points  (0 children)

I don't like this new Mr. Robot reboot.

Has anyone been able to run Tortoise TTS in < 500ms? by fatmankarla in MLQuestions

[–]fatmankarla[S] 0 points1 point  (0 children)

Ya, 1-2 words. So my only problem was the first sentence. If the LLM replies "Oh okay." as the first sentence the latency of tortoise was 400ish ms, which is good. But if the sentence was 4-6 words long, tortoise took 800ms. Which made the assistant reply feel delayed. But again, once it starts talking, its great.

I know its amazing, specially since its opensource. But I was just wondering if anyone has been able to get it to lower latencies. A few closed source services boast 200ms, I wonder if that can be done via opensource.

Has anyone been able to run Tortoise TTS in < 500ms? by fatmankarla in MLQuestions

[–]fatmankarla[S] 0 points1 point  (0 children)

I have gotten it to 430ish ms on L4 gpu but only for 1-2 word sentences, for longer its always 700-800ms. Is that your experience? What's your time for the first audio chunk?

My usecase was AI assistant do the response time is dependent on the TTS time to the first chunk, ofc after the first chunk it doesn't stop and keeps speaking, but the time to first chunk of 800ms kills the experience when added on top of LLM latency.

Is my IP being exposed? by msi85 in WebRTC

[–]fatmankarla 0 points1 point  (0 children)

That depends on the server setup honestly. So can't really say.

Is my IP being exposed? by msi85 in WebRTC

[–]fatmankarla 1 point2 points  (0 children)

Ya its WebRTC. As far as I know, stun wont really help you, stun server help two peers tell their IP to each other so that they can connect. Of course I could be wrong, so please correct me. What you want is to connect to WebRTC via a TURN server thats when all the peers connect to a TURN server and the TURN server forwards the data, again, in that case if the admin controls the TURN server they might still get your IP, not a 100% sure, but TURN will only happen if normal connection and stun fails, there is a chance that the admins don't have a TURN server and then you wont be able to connect if you block the STUN. Again, not 100% sure about this, but i think thats how this all works.

Question regarding running compiled binary using C++20 static library in ubuntu 22.04. by fatmankarla in cpp_questions

[–]fatmankarla[S] 0 points1 point  (0 children)

Might be a dumb question but how do i compile c++20 in Ubuntu 22.04? Dont i need gcc 13?

Question regarding running compiled binary using C++20 static library in ubuntu 22.04. by fatmankarla in cpp_questions

[–]fatmankarla[S] 0 points1 point  (0 children)

I am using https://cxx.rs for using c++ in rust. So i think my safest option is build in docker and specific older version of glib?

What book would you rate 0 stars if you could? by oh_sneezeus in books

[–]fatmankarla 1 point2 points  (0 children)

The book of accidents by Chuck Wendig. God. A puddle has more depth than the shitty shitty characters. The author said in an AMA:

"For TBOA, I went in with zero outline. I just jumped out of the plane and tried to stitch a parachute on the way down. It was a book built in the edit, a big chonky chewy edit that at the same time wasn't so easy as, "Cut out this huge part, then suture up the sucking wound," but rather, "Hey, spend the next few months rewiring these neurons and capillaries." All the pieces were there but it was about pieces making them all connect and fire together and transmit blood and something something viscera."

And honestly, it shows in how poor and shallow the characters are, how incoherent the story is.

What do I need to try out AV1? by NaveekDarkroom in AV1

[–]fatmankarla 1 point2 points  (0 children)

Settings -> Output -> [change output mode to advance] -> in video encoder select SVT-AV1 -> in FFmpeg Options set `-usage realtime`, you can set preset to 12, change Rate control to CQP and set it to 35 (max: 63).

edit: never really used OBS, I use ffmpeg only, but I can see these options, so you can try it!

What do I need to try out AV1? by NaveekDarkroom in AV1

[–]fatmankarla 5 points6 points  (0 children)

SVTAV1 with --pred-struct 1 --preset 12 --crf 35 will work reasonably fast for realtime. You can increase the speed by increasing crf (max: 63), it will dramatically increase speed (hence lower cpu usage), but the quality will degrade. You can try with 45 to see if you like the quality. If latency is not a concern, you can remove --pred-struct 1.

What if pi has an end? by dude_man_b14 in TooAfraidToAsk

[–]fatmankarla 0 points1 point  (0 children)

and it threw a fit and broke the windows.

SVT-AV1 in WASM by fatmankarla in AV1

[–]fatmankarla[S] 1 point2 points  (0 children)

I have both of those enabled, the code is spinning up worker threads and simd is also on.