locust VS hn-search

Compare locust vs hn-search and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
locust hn-search
4 1,651
48 526
- 0.6%
0.0 2.9
7 months ago 7 months ago
Python TypeScript
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

locust

Posts with mentions or reviews of locust. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-06.
  • Effective Code Browsing
    7 projects | news.ycombinator.com | 6 Oct 2021
    Nice!

    Have been working on something similar, although my use case is more about learning how code has changed across git commits: https://github.com/bugout-dev/locust

    For Javascript/Typescript/React support, like you, I hooked into the Babel toolchain. Can't recommend it highly enough.

    There's also a newish project called quick-lint-js which seems to have written their own from-scratch AST parser for JS, but I haven't tried it yet: https://github.com/quick-lint/quick-lint-js

    Finally, another project that I know in this space is comby (I believe it is owned/maintained by the folks at Sourcegraph): https://comby.dev/

    Don't know why I dumped all those links there. Just figured there may be something useful in them for you. Am also just super passionate about building knowledge about code bases by analyzing their ASTs. Nice to meet a fellow enthusiast. :)

  • What if Git worked with Programming Languages?
    17 projects | news.ycombinator.com | 27 Sep 2021
    I maintain a free/open source project that does exactly what the author asks for: https://github.com/bugout-dev/locust.

    Our tool uses git as the foundation of its functionality. It superimposes git diffs on top of ASTs.

    It is insanely powerful.

    For example, we use it to power semantic code search and current support Python, Javascript, and Java. We generate a JSON object defining the AST differences between initial and terminal commits on GitHub PRs and doing text search on the JSON objects performs surprisingly well when we want to answer questions like, "When did we add dateutils as a dependency?" or "When did we last change the /journals handler on the API?"

    The Python integration currently sees the most use but if you are interested in other languages, we would be happy to support it.

    Do drop me a DM if you want help getting started with Locust.

  • Diffsitter: A tree-sitter based AST difftool to get meaningful semantic diffs
    8 projects | news.ycombinator.com | 18 Jul 2021
    My team has a similar project (Locust: https://github.com/bugout-dev/locust) where the goal is to learn the semantic meanings of code changes in git commits, GitHub PRs, etc.

    Since we took git diffs as a target for semantic analysis, we have a different approach to our diffs. We start with line-by-line diffs (specifically using "git diff") and then take a semantic diff by superimposing the git diff information on top of the initial and terminal ASTs.

    This makes the diff calculation cheaper because we don't have to do full diff between trees.

    Haven't updated the code in a few months, but my team is actively using Locust on public GitHub repos to learn the semantics of those code bases. We do plan to do some work on it soon to make it easier to make Locust easier to use (especially as a library).

    Really need to sit down and take a proper look at tree-sitter. We currently support Locust diffs for Python, Javascript, and Java, but each one is custom written and implements the same basic algorithm. It looks like tree sitter might just crush this problem for us.

  • Difftastic: Syntax-aware structured diff tool
    6 projects | news.ycombinator.com | 7 Jul 2021

hn-search

Posts with mentions or reviews of hn-search. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-07.
  • Rule of Thumb: Anything that looks fancy is not worth you time
    1 project | news.ycombinator.com | 8 May 2024
    - Ads with Psychological tricks

    Truly good websites have around 2 facts per 10 word sentence, and get instantly to the chase. Also: good websites give you the names of all their competitors/alternative websites before showing their own stuff, and give you further reading.

    Right now the world of technology is supposedly more innovative than ever, but somehow Wikipedia (https://www.wikipedia.org/) and Search Hackernews (https://hn.algolia.com/) beat billion dollar search engines.

    Articles written decades ago are still unsurpassed in terms of quality and ease of understanding, but the best modern websites can do is textbook explanations. It is time society graduates from boilerplate buzzword textbook culture.

    Now the gems of the internet are slowly being buried beneath mountains of trash.

    If something sounds boilerplate it isn't good enough.

    Don't bother saying something that has been said before, and better.

  • What makes a translation great
    2 projects | news.ycombinator.com | 7 May 2024
    >for more detail: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

    Oh, I see. We actually discussed Pound about four years ago - just a little back and forth about the ABC of Reading: https://news.ycombinator.com/item?id=24196681

    >What's your explanation of why Pound went Fascist?

    I'm not sure I particularly have one; I haven't read any of his longer political or cultural (i.e. non-literary) works. I just think it's silly to correlate an approach to translation that you dislike with fascism. Especially as I'm not sure it even makes sense on its own terms: I can only read your comment as 'lazy translator? Figures that he would be a fascist', but if I imagine the type of translation a fascist would approve of, the approach I picture is fastidious, fussy, concerned with fidelity to the point of stickler-ishness. (Isn't that from where we get 'grammar nazi'?)

    And oh, well, since you ask I'll take a shy at it: my vague sense is that he became fascist because saw a society in decline due to it becoming more and more a sham society: opulence without virtue, power without vigour, money no longer tied to actually existing goods. (Of course, all of this shades easily into antisemitism.) He saw fascism as the answer; It's easier to see in retrospect that it wasn't.

  • Zed Decoded: Linux When? – Zed Blog
    7 projects | news.ycombinator.com | 7 May 2024
    "multiplayer notepad" goes back 15 years at least - https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu... notepad&sort=byDate&type=comment

    it was used back with a popular website which opened a text document and anyone viewing could type, but I can't remember the name. That became a thing in Google Docs, Microsoft Office, Floobits, and lots of self-hosted and cloned sites.

  • Louis Rossmann: YouTube's Legal Team sent me a letter [video]
    1 project | news.ycombinator.com | 3 May 2024
    If you see a post that ought to have been moderated but hasn't been, the likeliest explanation is that we didn't see it. You can help by flagging it or emailing us at [email protected].

    https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

  • An Oil Price-Fixing Conspiracy Caused 27% of All Inflation in 2021
    1 project | news.ycombinator.com | 3 May 2024
    Ok, but please don't post unsubstantive comments to Hacker News.

    I understand the reason for repeating these sentiments—it's the same reason why they get upvoted to the top of threads*—but repetition of this kind is what we're most trying to avoid here.

    https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...

    https://news.ycombinator.com/newsguidelines.html

    * I've marked this one off topic now.

  • Validating app for manufacturers enhancing process reliability and efficiency
    1 project | news.ycombinator.com | 2 May 2024
    I was looking for it in the guidelines. There are a couple of conventions for postings. Consider a bit of prior examples: [https://hn.algolia.com/?q=show+hn]
  • Show HN: Hacker Search – A semantic search engine for Hacker News
    3 projects | news.ycombinator.com | 2 May 2024
    yeah there are only three stories coming up from the site search

    https://hn.algolia.com/?q=postgres+clustering

    only one is semanthically correct, the other pick up the wrong version of clustering (i.e. k-means instead of multi master writes)

    but yeah if one doesn't test the hard cases, how does one know it preserves semantics :D

  • Longevity of Recordable CDs, DVDs and Blu-Rays
    1 project | news.ycombinator.com | 2 May 2024
  • The Scientific Method Part 5: Illusions, Delusions, and Dreams
    1 project | news.ycombinator.com | 2 May 2024
    Like dismissing the work of Feyerabend or Wittgenstein without seemingly having read either:

    https://hn.algolia.com/?dateRange=pastMonth&page=0&prefix=tr...

  • Any Google Analytics Alternatives?
    3 projects | news.ycombinator.com | 1 May 2024
    https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

What are some alternatives?

When comparing locust and hn-search you can also consider the following projects:

weggli - weggli is a fast and robust semantic search tool for C and C++ codebases. It is designed to help security researchers identify interesting functionality in large codebases.

duckduckgo-locales - Translation files for <a href="https://duckduckgo.com"> </a>

gumtree - An awesome code differencing tool

v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io

difftastic - a structural diff that understands syntax 🟥🟩

parser - 📜 Extract meaningful content from the chaos of a web page

TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

readability - A standalone version of the readability lib

nbdime - Tools for diffing and merging of Jupyter notebooks.

yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents

diffsitter - A tree-sitter based AST difftool to get meaningful semantic diffs

milkdown - 🍼 Plugin driven WYSIWYG markdown editor framework.