Live data from Hacker News

GitHubGuessr

github-guessr.vercel.app

21–30 of 54 posts

Re: GitHubGuessr

#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.

Re: GitHubGuessr

#22
post #17

Cool idea, but first I got a file which immediately read "This source file is part of the Swift codebase" or smth, and them I got one which is just the characters "})", so pretty inbalanced. Took me a while to figure out that the arrows change between files.

I had the inverse: literally only a return statement impossible to guess: return output } } } } } I guess this is one of the cases where an app should pretend to choose a "random" snippet, but actually the user doesn't want real randomness.

Seems like something that could be solved using tree-sitter[1], though it would probably be pretty involved.

1. https://tree-sitter.github.io/tree-sitter/

Re: GitHubGuessr

#23

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

Re: GitHubGuessr

#24
Nice! More time would be good (or a no time limit option). I like the element of being able to make inferences based on the code even if you're not familiar with it, narrowing down to a handful of candidate repos and making an informed guess - but this takes time and the 60s you get doesn't feel like enough to comfortably read the whole list of repos.

Being able to quickly eliminate languages might also be good - if you see some code that you know is Python, for example, a little filter bar would be a nice way of shortening the list. Great concept!

Re: GitHubGuessr

#26
Too little time to scroll over the list of repositories. It showed me a snippet with Python code for some observability tool, with

    SELECT count() ...
query, so I know that it uses ClickHouse. The right answer was Sentry, but I didn't have enough time to find it in the drop-down list.

Re: GitHubGuessr

#27
Very cool concept and execution. Love the circular periscope viewport. I think the only thing I would've preferred is to have a smaller set of options for each, where they're all visible, instead of having to scroll through a long list, where I've forgotten some options by the time I get to the bottom. Or just put the whole list off to the side so I can see them all.

Re: GitHubGuessr

#28

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

When hovering over an item that item is highlighted in pale lavender for only a moment before the highlight moves to the first entry.

Re: GitHubGuessr

#29
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!

Re: GitHubGuessr

#30

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!

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.

Post reply on HN