News for hackers. Stuff that matters.
Re:Ask HN: Techwise, how did TikTok get so good? by nostromo on Tuesday January 17, 2023 @08:56PM (#34422461)
> Compare that to the Reddit video player

This is worthy of it's own question. Why is Reddit's player so uniquely bad? It's worse than any other video player on the entire internet.

Re:Ask HN: Techwise, how did TikTok get so good? by jawr on Tuesday January 17, 2023 @09:04PM (#34422537)
It’s serverless
Re:Ask HN: Techwise, how did TikTok get so good? by TechnicolorByte on Tuesday January 17, 2023 @09:37PM (#34422776)
For someone who doesn’t know much about this stuff, what does that mean?
Re:Ask HN: Techwise, how did TikTok get so good? by europeanguy on Tuesday January 17, 2023 @09:47PM (#34422844)
It means it has no server.
Re:Ask HN: Techwise, how did TikTok get so good? by catfishx on Wednesday January 18, 2023 @04:49AM (#34425001)
Yes, no server. It runs somewhere up in the clouds!
Re:Ask HN: Techwise, how did TikTok get so good? by not_kurt_godel on Tuesday January 17, 2023 @09:49PM (#34422863)
Ignore them, it's unlikely they know what they're talking about at multiple levels
Re:Ask HN: Techwise, how did TikTok get so good? by hot_gril on Tuesday January 17, 2023 @10:14PM (#34423008)
I took it as a joke about cloud marketing speak.
Re:Ask HN: Techwise, how did TikTok get so good? by jawr on Sunday January 22, 2023 @05:08PM (#34482746)
It’s my understanding that Reddit video was PoC’d by one person using aws lambda.

Severless often gets touted as being the best way of doing things rather than just a way. My comment was a dig at that.

But it seems like my comment somehow exposes multiple levels of ignorance, would love to know what they all are!

Re:Ask HN: Techwise, how did TikTok get so good? by not_kurt_godel on Wednesday January 25, 2023 @04:26PM (#34524429)
It was unclear to me that you were being tongue-in-cheek. Were you serious, I'd point out for starters that A. You probably don't know whether it's serverless currently and B. Even if it were it's not a particularly uniquely likely explanation for consistent latency at scale
Re:Ask HN: Techwise, how did TikTok get so good? by syrrim on Tuesday January 17, 2023 @09:51PM (#34422875)
Usually that it works via "functions" like aws lambda that don't maintain a long running process, but instead start a new process for every request.
Re:Ask HN: Techwise, how did TikTok get so good? by penjelly on Wednesday January 18, 2023 @07:31AM (#34425925)
my understanding is that in a serverless architecture the dev does not manage the server, there still is one but its managed via third party cloud services who expose basic server or database functions which your app can plug into.

think a "like count" database, it needs to increment and persist. Both very simple, and its implementation is entirely decoupled from the client implementation. Firebase would manage that for you, youd just call firebase functions instead of updating a database yourself.

note: i dont know if this is how tiktok works

Re:Ask HN: Techwise, how did TikTok get so good? by cellularmitosis on Tuesday January 17, 2023 @09:44PM (#34422825)
Indeed. The behavior I've seen consistently is that the first N seconds play, then buffering starts, and it _never recovers from buffering_. And it has been this way for at least a year. Astonishing.
Re:Ask HN: Techwise, how did TikTok get so good? by silisili on Wednesday January 18, 2023 @12:31AM (#34423725)
This is what I get on the second play.

Without fail, my experience is:

Play video. Usually works.

Try to replay video. It stops at 4 seconds.

Refresh browser. Now the video is half the size? But it now plays, though tiny.

I don't know who wrote Reddit's video player, but it's obvious they are a masochist. That they still haven't fixed it speaks volumes of their eng org to an end user like myself.

Re:Ask HN: Techwise, how did TikTok get so good? by O1111OOO on Wednesday January 18, 2023 @12:31AM (#34423730)
> The behavior I've seen consistently is that the first N seconds play, then buffering starts, and it _never recovers from buffering_.

It's why on the Desktop, at least, I always have a https://redditsave.com/ tab opened. It's just way faster (and less frustrating). There's an FF extension that automates this : https://addons.mozilla.org/en-US/firefox/addon/downloader-4-... : which I haven't tested.

Re:Ask HN: Techwise, how did TikTok get so good? by fregante on Tuesday January 17, 2023 @09:54PM (#34422889)
The fun part is that they completely botched an experience that iOS can delivery natively. I built a mini app to extract the HSL stream from a URL and have iOS play it. It usually solves my problems with it: https://arte.vercel.app/
Re:Ask HN: Techwise, how did TikTok get so good? by encoderer on Tuesday January 17, 2023 @11:25PM (#34423426)
Is Reddit what engineering at scale looks like when not funded by a surveillance monopoly?
Re:Ask HN: Techwise, how did TikTok get so good? by hengheng on Wednesday January 18, 2023 @03:30AM (#34424627)
Or not funded at all, which is both its curse and its blessing.
Re:Ask HN: Techwise, how did TikTok get so good? by revolvingocelot on Wednesday January 18, 2023 @12:18PM (#34429643)
Don't fret, surveillance is still baked right in. The video player is bad so that one installs the app, whose video player, and ability to spy on the user, is much superior to that of the browser.

The various ol., old., and i. subdomains, which still allow access to a functional reddit with a functional video player, are there to keep the old-school power users from revolting, for now, anyway.

Re:Ask HN: Techwise, how did TikTok get so good? by KRAKRISMOTT on Wednesday January 18, 2023 @12:05AM (#34423611)
They want to encourage you to use their mobile app
Re:Ask HN: Techwise, how did TikTok get so good? by rchaud on Thursday January 19, 2023 @10:01AM (#34440996)
I'm using the same 3rd party Reddit app as I have been since 2013, and not only do videos work fine, I can download them to storage as well. Here's hoping Musk doesn't turn his attention to them anytime soon.