Live data from Hacker News

GitHubGuessr

github-guessr.vercel.app

41–50 of 54 posts

Re: GitHubGuessr

#41
post #40

doesnt work with Firefox: TypeError: e is undefined NextJS 11 [framework-63157d71ad419e09.js:9:69810](https://github-guessr.vercel.app/_next/static/chunks/framework-63157d71ad419e09.js)

Works in my Firefox

Re: GitHubGuessr

#42
post #21

Hey, if any hackers out there have feedback (or even found bugs), let me know!

Some of the choices may be too similar. I answered one question with "TensorFlow", which was wrong. The answer was Bert, a set of models for TensorFlow.

Ditto. Guessed Docker but it was Moby.

Re: GitHubGuessr

#44
post #36

Earlier quoted context omitted.

It would be good to automatically filter by language as that's trivial to guess. Then the remaining set could be placed in a 2D plane, organized through some sort of clustering in vector space.

> organized through some sort of clustering in vector space. What did he mean by this?

So you could place each project on a 2D map with X and Y being obvious dimensions (size and purpose) as another commenter mentioned.

Or you could have something like an LLM's embedding model that converts a description of a github project into a series of numbers. Each number will be from 0 to 1. Hypothetically, the first number could represent the commercial-ness of the project. The second number could be how closely related the project is to web development, the third a relation to AI, etc. Embeddings for use with LLMs often have between 100 and 10,000 dimensions.

You could then use a dimensionality reduction technique like t-SNE (https://www.datacamp.com/tutorial/introduction-t-sne) that will take these hundreds or thousand of dimensions and squish them down to 2 or 3. That allows humans to explore the space intuitively. This way you get related projects close together. PyTorch and SciKit Learn will be near each other because they are both AI/ML related. And then Pandas will be in a different but nearby cluster. Ruby on Rails would be farther away.

In the end you get a 2D map where similar projects are grouped. This makes it much more like GeoGuessr. GeoGuessr only works because similar parts of the world tend to be near each other. The world doesn't have a square kilometer of desert in the middle of a rainforest. Locality is extremely relevant and it makes GueGuessr fun and intuitive.

Just throwing a bunch of projects in a list here ruins the game because you can at most have one dimension along with projects are associated.

But, given the list of projects is small it would be easier to simply have a person curate a map.

Re: GitHubGuessr

#45

Agh, sorry, but having to read through a dropdown of dozens of items ruins this out of the box. Needs a re-work of guessing. Not fun and not even a game right now, but close!

Looking at the code and instantly I knew it's Huggingface's Transformers. Then I scrolled through the list for eons while the page kept hinting me things I already knew. That's just so frustrating.

Re: GitHubGuessr

#46

Created GitHubGuessr: guess the repo from code snippets. Surprisingly challenging. Thoughts?

Aw snap! I had this exact idea last year but didn’t build it yet. See GitShuffle here https://blog.waleson.com/2022/11/things-i-didnt-build-yet.ht... I even bought gitshuffle.com

Great to see it in a working version!

I think there’s serious potential in this if you do it on your team’s own code. It would be a fun game to play with your colleagues on a Friday afternoon.

Re: GitHubGuessr

#47

Created GitHubGuessr: guess the repo from code snippets. Surprisingly challenging. Thoughts?

It is quite challenging. I think giving a bit more context would bring it within an enjoyable range; e.g. showing the entire file, including the full path

Just like in geoguessr you could have different game modes. Or maybe you can move choose to step through the repository (up in file, down in file, up to parent directory, etc) but lose points/seconds the more of the code you view.

Re: GitHubGuessr

#48
I'm happy to receive everyone's feedback! I've implemented some easy improvements. I think it has become a bit simpler. The dropdown list UI was hard to see everything, so I changed it to a selection style. I've improved the filter for the code snippets, so it should feel more game-like now.

Re: GitHubGuessr

#49
post #39
post #36

Earlier quoted context omitted.

> organized through some sort of clustering in vector space. What did he mean by this?

Curious why you didn't write "what did you mean by this", addressing directly? Anyway, if I had to guess, I'd say grouping along two or more traits. Maybe size along one axis and purpose along the other, clustering similar projects together.

I asked because as HN doesn't notify users about responses to their comments (right?) it would be more likely that someone else would read my comment and explain it to me, than the original commenter. I was also referencing an old 4chan meme but yeah, in hindsight it's kind of phrased weirdly.

Re: GitHubGuessr

#50
post #36

Earlier quoted context omitted.

> organized through some sort of clustering in vector space. What did he mean by this?

So you could place each project on a 2D map with X and Y being obvious dimensions (size and purpose) as another commenter mentioned. Or you could have something like an LLM's embedding model that converts a description of a github project into a series of numbers. Each number will be from 0 to 1. Hypothetically, the first number could represent the commercial-ness of the project. The second number could be how closel…

Seems overengineered, i agree the list in its current state is a bit awkward to scroll through but I'd just turn it into a 2xN grid sorted alphabetically.
Post reply on HN