julien040
It's inspired by Kusto and available as an open-source CLI. I've made it compatible with SQLite in one of my tools, and it's refreshing to use.
An example:
StormEvents
| where State startswith "W"
| summarize Count=count() by StateIt's mental gymnastics to transform different data sources (e.g. a spreadsheet) into a SQL database with write support, but I do enjoy the journey and learn a lot from it.
Anyquery can run SQL queries on local/remote files (CSV, JSON, Parquet, HTML, etc.) and SaaS (GitHub, Notion, TodoIst, Shopify, etc.). Anyquery can also transform a Google Sheets or an Airtable base into a SQL database with INSERT/UPDATE/DELETE support. Additionally, it can act as a MySQL server to leverage its ecosystem (BI tools, ORMs, etc.). Finally, you can run PRQL and PQL (KQL inspired language) queries with it.
Under the hood, it uses Go and SQLite's virtual tables. Therefore, you can use the SQLite ecosystem (e.g. sqlite-vec, datasette, etc.)
I would love to hear your feedback about the project.
Website: [https://anyquery.dev/](https://anyquery.dev/docs/#installati...
Source code: https://github.com/julien040/anyquery
(I know it’s a repost. I thought that posting the previous SHOW HN during the weekend was badly timed. If you find it inappropriate, please don’t hesitate to flag the post. https://news.ycombinator.com/item?id=41203559)
Show HN: I made an open source SQL engine for anything (APIs, file) using SQLite
But I guess it's because the landing page isn't clear enough. Thanks for the feedback, I'll try to fix that.
I think anyquery strength rather comes from querying things other than files
Show HN: Anyquery – A SQL query engine for anything (CSV, GitHub, Airtable,etc.)
Hey HN, I’m Julien, and after finishing my CS sophomore year, I wanted a project to keep me busy during the summer. So I built anyquery for fun, a SQL query engine for pretty much anything.SQL is the industry standard query language for databases. But what if it could query other services? That’s what I wanted to explore. Kinda like Yahoo! Query Language, except that I was too young to see...
https://newsroom.spotify.com/2024-03-07/spotify-to-adjust-it...
Open Policy Agent
You have a valid point. Using a versioning field would be nicer for mods. Thank you!
Dolt: A version-controlled SQL database
Location: Europe
Remote: Office / Hybrid / Remote
Willing to relocate: I'm willing to relocate in Europe or North America
Technologies: I'm fluent with TypeScript, React, Python, SQL and Golang
Résumé/CV: https://cdn.julienc.me/resume.pdf
Email: [email protected]
I'm a French CS student looking for an internship during the summer of 2024. I have built several projects during my freshman year:- Gut: an alternative CLI for Git (470 stars on GitHub and made it to the HN front page)
- HN Recommend: a recommendation engine for Hacker News (also made it to the front page of HN too)
I haven't used it, so I don't know about the quality of the data
Try this https://hn-recommend.julienc.me/?q=Golang if you want stories related to Go.
Edit: add link
The hit rate is low. I've only tried to get embeddings for stories with a score greater than 100. SQL Query "SELECT count(*) FROM story WHERE score > 100;" gives me 155,228 stories and the corpus size is 108,477 stories.
108,477/ 155,228 = 0,6988236658
The main problems were 404 links and posts that weren't articles (such as tweets).
As I can see, the longer the input, the more accurate the results. Perhaps you can try something longer, like "What is a design system for UI?"
For now, it only pushes the shared URL to the recommendation engine. If I have more time, I'll try to find a way to extract the URL from the HN page.
The API is already made and can be found at https://github.com/julien040/hn-recommendation-api. I don't think it would be too difficult to build a Chrome extension that fetches it.
Perhaps I can compute a score for each story, where each field has a weight and rank the results using this score. For example, the score could be 0.2 x score + 0.1 x comments + 1/distance - timestamp/ 10^9. The stories with the highest rank would be shown first, and the weight (0.2, 0.1, 10^9) could be adjusted by the user, as some might prefer recency while others prefer popularity.
Unlike HN Algolia, it doesn't match words; it uses embeddings so stories are matched by their similar meaning rather than similar words. To find it, you might try to be more specific, such as "Paul Graham Y Combinator <facts of the article>". I'm sorry HN Recommend doesn't match your use case
If you tried it, did you have great results with? I may use it in future projects.
If I recall correctly, myCANAL (the French Netflix) used to have a similar feature. You could access the recommendations of personalities of the channel, but it was curated manually.