roknovosel
Building a Movie Recommendation Agent
Show HN: Movieagent.io – An agent for movie recommendations (with couple mode)
Most Friday nights and weekends, my wife and I would spend 30+ minutes scrolling Netflix, vetoing each other's movie suggestions. The intersection of our tastes is pretty small. She's into rom coms and the occasional thriller, and couldn't care less about ratings. I gravitate toward critically acclaimed stuff and 3h+ sagas. Eventually, we would settle on something neither of us really wanted,...
Show HN: SloVlo V1 – Embeddings for the Slovenian Language
Show HN: Glance – Highlighting interesting code with embeddings and PageRank
It is a semantic code search tool that can be queried using natural language. It provides decent answers to a variety of questions, and I've been finding myself using it quite often to "autocomplete" various mundane tasks. For example, plotting with matplotlib, making http requests in Go, running multiple goroutines, etc. - things where I would usually reach for Google. It doesn't provide a straightforward ready-to-run answer like CoPilot, but it does provide a way to help yourself. It all depends on what you prefer and how you learn. Arguably, having to read the code before you use it makes it more likely it will stick in your brain.
I've been interested in contrastive learning for a while, mainly as a means to train semantic code search models. OpenAI released a great paper on this topic called Text and Code Embeddings by Contrastive Pre-Training[1] that outlines the approach. I've used it as a base to build https://codesearch.ai [2] with pretty good results.
[1] https://arxiv.org/pdf/2201.10005.pdf [2] https://sourcegraph.com/notebooks/Tm90ZWJvb2s6MTU1OQ==
Show HN: Codesearch.ai – Semantic Code Search
Show HN: rsoccer.live – Live highlight updates from r/soccer
Show HN: CodeSnippetSearch – Search GitHub repositories using natural language
As with any cool project nowadays, CodeSnippetSearch is powered by neural networks (six in fact - one for each programming language). The project is open-sourced and you can read about the implementation details here: https://github.com/novoselrok/codesnippetsearch
As with any cool project nowadays, CodeSnippetSearch is powered by neural networks (six in fact - one for each programming language). The project is open-sourced and you can read about the implementation details here: https://github.com/novoselrok/codesnippetsearch This project started as a reimplementation of the models in the CodeSearchNet challenge by GitHub (https://github.com/github/CodeSearchNet/). I have reused their data and reimplemented the neural bag-of-words model in Keras. I didn't expect any improvements with my reimplementation, but I did manage to beat the baseline models by a little bit.
The search is still a bit of a hit-and-miss and I'm continually trying to improve it. If the match rating for the top result is below 50% it will most likely be irrelevant.
Show HN: Codesnippetsearch.net – Query code snippets using natural language
Even though getting the right performance was tricky, I was more frustrated with the lack of tooling, sometimes cryptic compiler messages and long compilation times for even mid-sized programs. Most of the issues were mitigated by the great community around Chapel. They are usually very responsive and helpful in their Gitter channel.
In regards to actual parallel programming, Chapel was a breeze. Documentation is solid and most of the parallel concepts were easy to use.
I arrived at this idea from two directions. The first direction is that I sometimes try to code review some of the questions over at CodeReview SE, and the whole thing feels unergonomic. I dislike scrolling up and down to check the code and constantly losing track of the things I'm reviewing. This is where I think inline commenting would help. Also, there is not a lot of room for discussion. You only get those comments below the review, where you only have a few characters to argue your point. The second direction is that I produce code snippets (programming homework, short snippets at work, etc.) which I would like to submit for review. I don't always want to submit it to the entire internet for review. I just want to get a private link to the code review, which I can share with my colleagues so they can review it. Kind of like a reviewable PasteBin.
Some of the features I would like to add: importing files from GitHub for reviewing and users could import their unanswered CodeReview SE questions for another review.
Developing anything multithreaded was a major pain.