News for hackers. Stuff that matters.
Re:Map of GitHub by tux3 on Sunday December 15, 2024 @06:12PM (#42426628)
Somehow torvalds/linux is in Fronterra, next to JS projects, awesome-X lists, and frontend checklists.

Either kernel hackers unexpectedly love frontend, or more likely the people that write the code don't overlap much with the people that star Github projects!

Re:Map of GitHub by revskill on Sunday December 15, 2024 @06:23PM (#42426693)
Because of react ?
Re:Map of GitHub by jensenbox on Sunday December 15, 2024 @07:56PM (#42427088)
That was my first reaction.
Re:Map of GitHub by moffkalast on Monday December 16, 2024 @09:51AM (#42431480)
What's your angle?
Re:Map of GitHub by dbrans on Sunday December 15, 2024 @08:50PM (#42427327)
Can you elaborate?
Re:Map of GitHub by odo1242 on Sunday December 15, 2024 @10:11PM (#42427691)
Wait, why React?
Re:Map of GitHub by dataviz1000 on Sunday December 15, 2024 @11:28PM (#42428029)
Perhaps the same reason heat maps are often really the underlining population map https://xkcd.com/1138/
Re:Map of GitHub by wodenokoto on Sunday December 15, 2024 @11:48PM (#42428087)
That’s why in NLP we use term frequency over inverse document frequency. It gives you a measure of common uncommon things are.

Wonder how you’d implement that in a heat map. Just call each pixel a document and see where it takes you?

Re:Map of GitHub by supriyo-biswas on Sunday December 15, 2024 @11:55PM (#42428120)
Winsorize the data points to remove outliers and then divide it by the population count for the case of the heatmap?
Re:Map of GitHub by bravura on Monday December 16, 2024 @06:55AM (#42430239)
People have been critiquing the collaborative filtering aspect of this work vs content analysis ("[why use stars instead of code similarity]") but there's something elegant about the simplicity of using less priors here.

A tf*idf matrix could be applied to the star-feature matrix too. Document = github repo. Term = name of user who starred it.

THUS, users who overstar are simply less important for computing similarities.

This would mitigate the phenomenon of massively popular github repos being clustered together because of folks who blithely star the most well known stuff.

Re:Map of GitHub by supriyo-biswas on Sunday December 15, 2024 @11:53PM (#42428114)
I wonder if code embeddings might have been a better way to organize the projects, although probably infeasible given the amount of resources required to download and compute embeddings for each file.
Re:Map of GitHub by machiaweliczny on Monday December 16, 2024 @07:08AM (#42430302)
Embeddings are super cheap to compute
Re:Map of GitHub by anvaka on Monday December 16, 2024 @09:11AM (#42431102)
Jaccard similarity is not particularly good for "celebrity" projects.

They are similar because they are popular, not because there is semantic relationship.

It's the same problem I faced with the map of reddit (https://anvaka.github.io/map-of-reddit/ ) - all popular subreddits are just "similar" to each other.

Stil works great for smaller, non-celebrity projects :D