Readit News logoReadit News
llacb47 · 6 years ago
This is truly the most advanced algorithm ever seen ;)

    https://twiktwok.github.io/firstVids.js

blocked_again · 6 years ago
That's just the ouput cache of the algorithm's last run. The algorithm itself is pretty advanced and is run on the developers's biological neural net.
stopyellingatme · 6 years ago
Love the term *biological neural net" Great way to say "still in the noggin"
oefrha · 6 years ago
Reminds me of the best no-bullshit algorithm:

  int getRandomNumber()
  {
     return 4; // chosen by fair dice roll.
               // guaranteed to be random.
  }
https://xkcd.com/221/

codetrotter · 6 years ago
tucnak · 6 years ago
Haha very funny, classic xkcd
heed · 6 years ago
So all of the content is manually uploaded to the repo?
homero · 6 years ago
I'd do that too but it would be cached and updated hourly. Why hit the Twitter api on each request?
benbristow · 6 years ago
You could set the app up to call the Twitter API but cache the response in memory or something like Redis so you don't need any background jobs/file management etc.
galuggus · 6 years ago
Hahaha

Dead Comment

9nGQluzmnq3M · 6 years ago
Built by HNer galuggus, who mentioned this deep in another thread. Give him some karma:

https://news.ycombinator.com/item?id=24095821

galuggus · 6 years ago
Much appreciated. I'll be in this thread answering any questions. Bug reports and feedback very welcome. This app was made with help from Tanya of techtwox.com
codetrotter · 6 years ago
When you swipe to next video, you have to unmute each time. I know that mobile browsers only allow muted videos to auto play but was wondering if you’ve thought about finding a way to make it so that you only have to unmute the first video.

I know that this is possible to do, because for example YouTube is able to do that in mobile browsers. I don’t know how they do it, but for example if you open this link in a mobile browser and unmute it and allow auto play to continue to next video after it then notice that the next video is unmuted as well.

https://m.youtube.com/watch?v=0MW0mDZysxc

I guess it might be that they reuse the same player element that was unmuted or something like that.

I think it would be possible to achieve something similar even with multiple player elements by doing something clever.

Deleted Comment

ehsankia · 6 years ago
Is there any algorithms involved, or is it just ranked the same for everyone, and ordered by most ranks?
wyxuan · 6 years ago
FYI- To encourage more organic “karma” , votes that are cast from people who accessed direct links aren’t counted
searchableguy · 6 years ago
HN always surprises me with little measures like this one.
galuggus · 6 years ago
I don't follow your meaning. Could you explain more?
samblr · 6 years ago
This is pretty cool. Well done galuggus.
Scaevolus · 6 years ago
This really makes you appreciate how much higher quality TikTok videos are than Twitter! (no account/app needed-- https://www.tiktok.com/foryou )
nsomaru · 6 years ago
Unfortunately that makes me download the app. Firefox for iOS
njsubedi · 6 years ago
For me it’s only the banner prompt at the bottom of the page.
aabbcc1241 · 6 years ago
Unfortunately that doesn't work with web archive
morsch · 6 years ago
I just got an endless stream of incredibly boring garbage. Gave the algorithm some feedback to tune it to my interests, but there's nothing there for me. I guess now I know what the fuss is about though.
Scaevolus · 6 years ago
I meant in terms of video bitrate-- regarding content, the default feed is unlikely to appeal to working professionals, but it does tune itself rather effectively when fed preference data. I have no idea if it will do personalization from the web site.
thisismyswamp · 6 years ago
You're an intellectual
blisseyGo · 6 years ago
Slightly related but some Redditor "created a NSFW TikTok clone, with just portait-mode porn gifs, some with sound. (works best on mobile)":

https://www.reddit.com/r/SideProject/comments/enn048/i_creat...

ehsankia · 6 years ago
These are neat, but in my mind, TikTok is far more about the ForYou algorithm than the fact that it's a scrolling feed of videos. The latter is fairly easy to do, as showcased by this very thread. Any decent engineer can throw together a demo like this fairly easily. TikTok's huge success though seems to be due to how good it is at predicting what people will like, which is something that even Youtube struggles to sometimes. Of course predicting 10s videos is much easier than predicting 5m videos.
genericacct · 6 years ago
The algo has been failing pretty bad; "hide videos from this user" does not work anymore, i suspect it can only deal with a limited number of ignores. Last summer I did an experiment, tapping "not interested" on any food-related video (I was on a diet) and yet i kept being shown food videos.
bradgessler · 6 years ago
Microsoft x TikTok = Bing Bong
galuggus · 6 years ago
Clippy clop

Deleted Comment

jenkins6g · 6 years ago
This is pretty cool, I like the aspect of simply watching videos. I think I made it to the end of videos though, not sure if this was intentional or if you want to continue to paginate videos forever lol. Appreciate your idea and work, keep chugging!
galuggus · 6 years ago
Thanks, your encouragement is appreciated
organicfigs · 6 years ago
I don't have a tiktok nor a twitter, but somehow I sincerely enjoyed consuming this, nice work!
galuggus · 6 years ago
Thanks. I'll put it on product hunt tomorrow
echelon · 6 years ago
Does product hunt help at all? What's the objective and audience in posting there? Genuinely curious.
jkingsman · 6 years ago
Neat idea! Bummed I can't use a scroll wheel; dragging with a mouse to emulate touch is not my favorite thing.

Cool overall though

drusepth · 6 years ago
Wow, it didn't even occur to me to try dragging with a mouse. I'm on a touchscreen laptop and when touching-and-dragging didn't work (only moved the videos a little bit, but not enough to go to the next one), I just assumed it was mobile-only.
galuggus · 6 years ago
Adding this feature. This is still a work in progress.
ALittleLight · 6 years ago
Can the sound selection persist between videos? i.e if I turn it on for one video, I'd expect it would be on for the next video.

Great stuff!

galuggus · 6 years ago
Added this feature you can now use arrow keys or the mouse wheel