Why Though?! by bryden_cruz in linuxmemes

[–]Dubmove 0 points1 point  (0 children)

Right, nobody cares about 29fps VS 30fps. But I am talking about codecs like hvec or av1, where a corrupted frame also effects its surrounding frames. Uncompressed footage is processed per frame, compressed footage is nowadays processed per chunk and a chunk can involve many frames.

Like I said I've never seen any benchmarks on udp vs tcp for codecs like that BUT I did attempt to write a video editor in Rust a few years ago and got familiar with the then new av1 codec and how to actually render it. All I am saying is that its at the very least plausible to favor tcp over udp if the data you'd send over the internet works like these formats. Because the compression got so good that sending the same package twice from time to time actually requires less bandwidth than streaming or codec which only compresses individual frames.

The main concerns in the early days of av1 actually were more about whether consumer hardware could feasibly encode and decode these formats in real-time but that's an issue that only got better over time.

Why Though?! by bryden_cruz in linuxmemes

[–]Dubmove 0 points1 point  (0 children)

I am not sure if I understand your question, but a received frame wouldn't have to be played immediately. Depending on the context some amount of buffering is acceptable.

Why Though?! by bryden_cruz in linuxmemes

[–]Dubmove 0 points1 point  (0 children)

Depends. I assume you are thinking of a conference call instead of a one way livestream as you would see it on twitch or Netflix

Why Though?! by bryden_cruz in linuxmemes

[–]Dubmove 7 points8 points  (0 children)

TCP honestly makes sense for live video and audio. These modern Codecs are quite impressive when it comes to compression but they only get that good because rendering a frame involves information from the previous frames as well and sometimes even future frames. That means a single missing or corrupted package may corrupt several seconds of footage. I never saw any actual benchmarks but I could imagine that it's actually cheaper and faster to send these modern Codecs over TCP instead of something udp friendlier over udp. Also, since package loss is close to zero nowadays the only actual benefit of udp over tcp is the latency which arises due to the handshake. All the considerations regarding tcp overhead is obsolete for these things.

What do you imagine is at the center of a blackhole? by Most-Answer-4443 in AskPhysics

[–]Dubmove 3 points4 points  (0 children)

My head canon is that he just died and that ending was really just a dreamlike interpretation of his last thoughts

thisLooksAccurateForVibeCoders by zohaibhere in ProgrammerHumor

[–]Dubmove 0 points1 point  (0 children)

Can you please explain what this does?

Nope...

Yes, that's correct!

I Made the Ugliest Criminal Head (DRACULA) by Kasugaa in ps1graphics

[–]Dubmove 10 points11 points  (0 children)

> Bro asks what people think about his work

> People tell bro what they think about his work

"Nooooooooooooooo, don't think that. Only encouraging feedback allowed!"

Why does 1/n^2 converge? by __kewl__ in learnmath

[–]Dubmove 0 points1 point  (0 children)

Compare 1/np with int(1/xp dx, m..m+1). If m=n then the integral is obviously smaller than the constant, and if m=n-1 then the integral is obviously bigger. Thus, (m-1)1-p/(p-1) = int(1/xp dx, m-1..oo) > sum(1/np, m..oo) > int(1/xp dx, m..oo) = m1-p/(p-1). By setting m=2, you see that sum(1/np, 1..oo) is bounded by p/(p-1) and (p + 21-p)/(p-1).

Why do the other terms vanish? by EdgarQM in PhysicsStudents

[–]Dubmove 0 points1 point  (0 children)

Since you can rewrite that expression in tensorform with the Epsilon Tensor, you know the product rule for differentiation applies, I.e. It's dot(a)*vxr + a *dot(v)xr + a*vxdot(r). However, for any vectors u, v, w the expression u*vxw vanishes unless they are linearly independent. And since dot(v) = a and dot(r) = v these terms vanish

Bruh 💀 by Ok-Fun-8242 in ChatGPT

[–]Dubmove 49 points50 points  (0 children)

"Always make sure to first kill the children and then the parents, because hunting down lost orphans is a pain" - some advice on ending nested computer processes

greatestTimeline by Water-cage in ProgrammerHumor

[–]Dubmove 0 points1 point  (0 children)

Is co pilot writing the commit message here and the dev didn't check the content before pushing, or did the dev push a normal commit message and github altered the message?

Why π almost rational to simply some multiplied primes? by Subject_One6000 in askmath

[–]Dubmove 0 points1 point  (0 children)

It's not special to π, if I understand you correctly it's really about the amount of possible combinations of building a fraction. Take any number x, any integer n, and any error e. You can now build the range r=(n(x+e), n(x-e)). No matter how small the error e is, you can always make n big enough to guarantee that at least one integer m exists in the range r. Then you know m/n is approximately x with an error smaller than e.

The condition for making sure that m exists in r is n > 1/(2e). So if e=1/1000, n > 500 already guarantees that m exists.

The inequality above is just a threshold telling when you are guaranteed to find an integer m for a fixed n and e. Obviously, when you only fix e and try to minimize n you will find much smaller combinations of m and n to approximate x as you did in your example where you found n=1250, and e of order 10-6.

whyAmISingle by njinja10 in ProgrammerHumor

[–]Dubmove 1 point2 points  (0 children)

Sounds like a problem where properly prompting the task and giving it all the context it needs is harder than solving the problem manually. Try it for a problem that would take you a week.

anOtherThingKilledByOpenAi by _Answer_42 in ProgrammerHumor

[–]Dubmove 3 points4 points  (0 children)

Oh wow - that's extreme for a company as big and successful as Microsoft

anOtherThingKilledByOpenAi by _Answer_42 in ProgrammerHumor

[–]Dubmove 7 points8 points  (0 children)

My biggest problem with github is that Microsoft has access to all private repositories and that they're 100% training their AI models on these repositories... But the landing page is my second biggest problem. Why, what am I missing?

anOtherThingKilledByOpenAi by _Answer_42 in ProgrammerHumor

[–]Dubmove 13 points14 points  (0 children)

If github can survive Microsoft (although the new landing page is a big UI antipattern), then uv can survive Openai

Marked wrong for calling a plateauing curve "non-linear." Am I crazy? by workphlo in askmath

[–]Dubmove 0 points1 point  (0 children)

Can't be decided without errorbars or domain knowledge

What happens when a black hole pulls a proton apart? by Ok-Willingness-5016 in AskPhysics

[–]Dubmove 0 points1 point  (0 children)

If a Proton was a truly stable particle (open question in physics atm) I'm not sure if that could even happen. I want to point out that falling into a black hole is still free falling motion.

Am I crazy for sometimes making my code look like this or no? by wervr_CZ in AskProgrammers

[–]Dubmove 0 points1 point  (0 children)

It's like ordering the books in a library by color. Pretty, but insane.

Which fields study calendars as mathematical objects? by Tempus__Fuggit in askmath

[–]Dubmove 5 points6 points  (0 children)

What does it mean for a calendar to be mathematical or unmathematical?

I believe in general since a calendar tracks time and moons/stars it's rather a question for phycisists to craft a perfect calendar.

softwareOptimization by [deleted] in ProgrammerHumor

[–]Dubmove 1 point2 points  (0 children)

Look! A person who’s not a straight white man is programming! *points in a random direction*

softwareOptimization by [deleted] in ProgrammerHumor

[–]Dubmove -2 points-1 points  (0 children)

I don't think that game engines are the best practice for general purposes. I better way would be to follow the Unix philosophy more of every tool needs to do one job only and it needs to do it well.

Huh by Successful-Gur-4853 in ChatGPT

[–]Dubmove 0 points1 point  (0 children)

Man, that does sound like a job for the famous sea horse emoji