The best Hacker News stories from Show from the past day
Latest posts:
Show HN: JAQT – JavaScript Queries and Transformations
Hi all,<p>I've made a javascript library to simplify searching/sorting/filtering in arrays of objects. Its inspired by both GraphQL and SQL, but implemented using javascript Proxies. Instead of creating a new language, its all just javascript.<p>I've made it as part of an experimental database, which uses javascript as the query engine. The normal javascript map/reduce/sort functions are quite difficult to master for junior developers. JAQT is easier to explain, and can still be used in combination with any existing array functions.<p>Please let me know what you think of the API and its ease of use!
Show HN: Sisi – Semantic Image Search CLI tool, locally without third party APIs
I wrote this tool to get familiar with CLIP model, I know many people have written similar tools with CLIP before, but I'm new to machine learning and writing a classic tool helps my study.<p>The unusual thing with my version is, it is in pure Node.js, with the power of node-mlx, a Node.js machine learning framework.<p>The repo in the link is mostly about implementing indexing and CLI, the code of the model implementation lives as a Node.js module: <a href="https://github.com/frost-beta/clip">https://github.com/frost-beta/clip</a> .<p>Hope this helps other learners!
Show HN: Sisi – Semantic Image Search CLI tool, locally without third party APIs
I wrote this tool to get familiar with CLIP model, I know many people have written similar tools with CLIP before, but I'm new to machine learning and writing a classic tool helps my study.<p>The unusual thing with my version is, it is in pure Node.js, with the power of node-mlx, a Node.js machine learning framework.<p>The repo in the link is mostly about implementing indexing and CLI, the code of the model implementation lives as a Node.js module: <a href="https://github.com/frost-beta/clip">https://github.com/frost-beta/clip</a> .<p>Hope this helps other learners!
Show HN: Epitomē – A semantic search engine for ancient text
Show HN: Server Uptime
Show HN: I made a digital circuit drawing and simulation game
Inspired by games like Turing Complete/Virtual Circuit Board/Logic World, I tried to make a mix of aseprite and wiredworld/wired-logic, the idea being the user can build a digital circuit using a "fullstack" pixelart creation workflow.<p>The circuit is just an image. The primitives are (i) connected wires which have undefined, 0 or 1 state during simulation (displayed brighter or darker in function of the state) and (ii) NANDs, which are little pixel triangles. During simulation the user can interact with any wire by clicking on it, toggling its state, which is cool for messing around when learning. The simulation uses a unit-delay event driven algorithm.<p>Then, on top of that there are little wire interfaces on the left side of the image that communicate with an external system. This external system is defined in lua and is simulated together with the main circuit (they alternate until convergence). By default there's a sandbox mode with a clock and a power-on-reset signal. The user can choose other "levels", where the API change and there are some problems to solve, from finding if a number is multiple of 3 to solving hanoi tower to finding if a number is prime. The idea is that if the user want to learn but not sure what to do they can try to solve these puzzles, or they can change the lua scripts to add their own stuff/interface for a custom project.<p>I've also included a small wiki (circuitopedia) with some basic digital concepts to guide those who are new or are a bit rusty. It's not super detailed but I guess it can at the very least present the concepts so the user can dig further on more serious material if they want to.<p>I developed the game in C with raylib, with scripting in lua/luajit. I've put the game on steam (for windows) and released the source code on github under GPLv3. There's also a web demo version on itch.io, even though it's a bit laggy: <a href="https://lets-all-be-stupid-foreva.itch.io/circuit-artist-demo" rel="nofollow">https://lets-all-be-stupid-foreva.itch.io/circuit-artist-dem...</a> .<p>Feedback is appreciated!
Show HN: I made a digital circuit drawing and simulation game
Inspired by games like Turing Complete/Virtual Circuit Board/Logic World, I tried to make a mix of aseprite and wiredworld/wired-logic, the idea being the user can build a digital circuit using a "fullstack" pixelart creation workflow.<p>The circuit is just an image. The primitives are (i) connected wires which have undefined, 0 or 1 state during simulation (displayed brighter or darker in function of the state) and (ii) NANDs, which are little pixel triangles. During simulation the user can interact with any wire by clicking on it, toggling its state, which is cool for messing around when learning. The simulation uses a unit-delay event driven algorithm.<p>Then, on top of that there are little wire interfaces on the left side of the image that communicate with an external system. This external system is defined in lua and is simulated together with the main circuit (they alternate until convergence). By default there's a sandbox mode with a clock and a power-on-reset signal. The user can choose other "levels", where the API change and there are some problems to solve, from finding if a number is multiple of 3 to solving hanoi tower to finding if a number is prime. The idea is that if the user want to learn but not sure what to do they can try to solve these puzzles, or they can change the lua scripts to add their own stuff/interface for a custom project.<p>I've also included a small wiki (circuitopedia) with some basic digital concepts to guide those who are new or are a bit rusty. It's not super detailed but I guess it can at the very least present the concepts so the user can dig further on more serious material if they want to.<p>I developed the game in C with raylib, with scripting in lua/luajit. I've put the game on steam (for windows) and released the source code on github under GPLv3. There's also a web demo version on itch.io, even though it's a bit laggy: <a href="https://lets-all-be-stupid-foreva.itch.io/circuit-artist-demo" rel="nofollow">https://lets-all-be-stupid-foreva.itch.io/circuit-artist-dem...</a> .<p>Feedback is appreciated!
Show HN: I made a digital circuit drawing and simulation game
Inspired by games like Turing Complete/Virtual Circuit Board/Logic World, I tried to make a mix of aseprite and wiredworld/wired-logic, the idea being the user can build a digital circuit using a "fullstack" pixelart creation workflow.<p>The circuit is just an image. The primitives are (i) connected wires which have undefined, 0 or 1 state during simulation (displayed brighter or darker in function of the state) and (ii) NANDs, which are little pixel triangles. During simulation the user can interact with any wire by clicking on it, toggling its state, which is cool for messing around when learning. The simulation uses a unit-delay event driven algorithm.<p>Then, on top of that there are little wire interfaces on the left side of the image that communicate with an external system. This external system is defined in lua and is simulated together with the main circuit (they alternate until convergence). By default there's a sandbox mode with a clock and a power-on-reset signal. The user can choose other "levels", where the API change and there are some problems to solve, from finding if a number is multiple of 3 to solving hanoi tower to finding if a number is prime. The idea is that if the user want to learn but not sure what to do they can try to solve these puzzles, or they can change the lua scripts to add their own stuff/interface for a custom project.<p>I've also included a small wiki (circuitopedia) with some basic digital concepts to guide those who are new or are a bit rusty. It's not super detailed but I guess it can at the very least present the concepts so the user can dig further on more serious material if they want to.<p>I developed the game in C with raylib, with scripting in lua/luajit. I've put the game on steam (for windows) and released the source code on github under GPLv3. There's also a web demo version on itch.io, even though it's a bit laggy: <a href="https://lets-all-be-stupid-foreva.itch.io/circuit-artist-demo" rel="nofollow">https://lets-all-be-stupid-foreva.itch.io/circuit-artist-dem...</a> .<p>Feedback is appreciated!
Show HN: Wordllama – Things you can do with the token embeddings of an LLM
After working with LLMs for long enough, I found myself wanting a lightweight utility for doing various small tasks to prepare inputs, locate information and create evaluators. This library is two things: a very simple model and utilities that inference it (eg. fuzzy deduplication). The target platform is CPU, and it’s intended to be light, fast and pip installable — a library that lowers the barrier to working with strings <i>semantically</i>. You don’t need to install pytorch to use it, or any deep learning runtimes.<p>How can this be accomplished? The model is simply token embeddings that are average pooled. To create this model, I extracted token embedding (nn.Embedding) vectors from LLMs, concatenated them along the embedding dimension, added a learnable weight parameter, and projected them to a smaller dimension. Using the sentence transformers framework and datasets, I trained the pooled embedding with multiple negatives ranking loss and matryoshka representation learning so they can be truncated. After training, the weights and projections are no longer needed, because there is no contextual calculations. I inference the entire token vocabulary and save the new token embeddings to be loaded to numpy.<p>While the results are not impressive compared to transformer models, they perform well on MTEB benchmarks compared to word embedding models (which they are most similar to), while being much smaller in size (smallest model, 32k vocab, 64-dim is only 4MB).<p>On the utility side, I’ve been adding some tools that I think it’ll be useful for. In addition to general embedding, there’s algorithms for ranking, filtering, clustering, deduplicating and similarity. Some of them have a cython implementation, and I’m continuing to work on benchmarking them and improving them as I have time. In addition to “standard” models that use cosine similarity for some algorithms, there are binarized models that use hamming distance. This is a slightly faster, similarity algorithm, with significantly less memory per embedding (float32 -> 1 bit).<p>Hope you enjoy it, and find it useful. PS I haven’t figured out Windows builds yet, but Linux and Mac are supported.
Show HN: Wordllama – Things you can do with the token embeddings of an LLM
After working with LLMs for long enough, I found myself wanting a lightweight utility for doing various small tasks to prepare inputs, locate information and create evaluators. This library is two things: a very simple model and utilities that inference it (eg. fuzzy deduplication). The target platform is CPU, and it’s intended to be light, fast and pip installable — a library that lowers the barrier to working with strings <i>semantically</i>. You don’t need to install pytorch to use it, or any deep learning runtimes.<p>How can this be accomplished? The model is simply token embeddings that are average pooled. To create this model, I extracted token embedding (nn.Embedding) vectors from LLMs, concatenated them along the embedding dimension, added a learnable weight parameter, and projected them to a smaller dimension. Using the sentence transformers framework and datasets, I trained the pooled embedding with multiple negatives ranking loss and matryoshka representation learning so they can be truncated. After training, the weights and projections are no longer needed, because there is no contextual calculations. I inference the entire token vocabulary and save the new token embeddings to be loaded to numpy.<p>While the results are not impressive compared to transformer models, they perform well on MTEB benchmarks compared to word embedding models (which they are most similar to), while being much smaller in size (smallest model, 32k vocab, 64-dim is only 4MB).<p>On the utility side, I’ve been adding some tools that I think it’ll be useful for. In addition to general embedding, there’s algorithms for ranking, filtering, clustering, deduplicating and similarity. Some of them have a cython implementation, and I’m continuing to work on benchmarking them and improving them as I have time. In addition to “standard” models that use cosine similarity for some algorithms, there are binarized models that use hamming distance. This is a slightly faster, similarity algorithm, with significantly less memory per embedding (float32 -> 1 bit).<p>Hope you enjoy it, and find it useful. PS I haven’t figured out Windows builds yet, but Linux and Mac are supported.
Show HN: Wordllama – Things you can do with the token embeddings of an LLM
After working with LLMs for long enough, I found myself wanting a lightweight utility for doing various small tasks to prepare inputs, locate information and create evaluators. This library is two things: a very simple model and utilities that inference it (eg. fuzzy deduplication). The target platform is CPU, and it’s intended to be light, fast and pip installable — a library that lowers the barrier to working with strings <i>semantically</i>. You don’t need to install pytorch to use it, or any deep learning runtimes.<p>How can this be accomplished? The model is simply token embeddings that are average pooled. To create this model, I extracted token embedding (nn.Embedding) vectors from LLMs, concatenated them along the embedding dimension, added a learnable weight parameter, and projected them to a smaller dimension. Using the sentence transformers framework and datasets, I trained the pooled embedding with multiple negatives ranking loss and matryoshka representation learning so they can be truncated. After training, the weights and projections are no longer needed, because there is no contextual calculations. I inference the entire token vocabulary and save the new token embeddings to be loaded to numpy.<p>While the results are not impressive compared to transformer models, they perform well on MTEB benchmarks compared to word embedding models (which they are most similar to), while being much smaller in size (smallest model, 32k vocab, 64-dim is only 4MB).<p>On the utility side, I’ve been adding some tools that I think it’ll be useful for. In addition to general embedding, there’s algorithms for ranking, filtering, clustering, deduplicating and similarity. Some of them have a cython implementation, and I’m continuing to work on benchmarking them and improving them as I have time. In addition to “standard” models that use cosine similarity for some algorithms, there are binarized models that use hamming distance. This is a slightly faster, similarity algorithm, with significantly less memory per embedding (float32 -> 1 bit).<p>Hope you enjoy it, and find it useful. PS I haven’t figured out Windows builds yet, but Linux and Mac are supported.
Show HN: Bullshit Remover
Show HN: The Hitchhiker's Guide to the Galaxy Online
I thought to make a funny website with a fine-tuned model that acts like the guide from Douglas Adams's novel. This way, you can find the right answer when in a tight spot (like when you need a ride to Alpha Centauri or smth).
Show HN: The Hitchhiker's Guide to the Galaxy Online
I thought to make a funny website with a fine-tuned model that acts like the guide from Douglas Adams's novel. This way, you can find the right answer when in a tight spot (like when you need a ride to Alpha Centauri or smth).
Show HN: The Hitchhiker's Guide to the Galaxy Online
I thought to make a funny website with a fine-tuned model that acts like the guide from Douglas Adams's novel. This way, you can find the right answer when in a tight spot (like when you need a ride to Alpha Centauri or smth).
Show HN: I removed politics from Twitter with AI
I'm sure you all saw the debate a few days ago, alongside all the tech influencoors giving their mid-takes about politics.<p>Doesn't it get tiring?<p>That's why I built mindfirewall a chrome extension that uses AI to filter out tweets.<p>You'll never have to see politics, war, or negativity on your timeline again.<p>In the future you'll be shocked you even allowed this stuff into your brain in the first place.<p>Let me know what you think below, does it feel too much like censorship? would you use this?
Show HN: Meet.hn – Meet the Hacker News community in your city
Hey HN!<p>I just published <a href="https://meet.hn" rel="nofollow">https://meet.hn</a>, a map to find hackers in your city.<p>How it works?<p>Demo of the signup process: <a href="https://x.com/meet_hn/status/1834918518904746329" rel="nofollow">https://x.com/meet_hn/status/1834918518904746329</a><p>1. Fill the form: username, city+country<p>2. Copy the text generated in the box below the form, and paste it in your HN description.<p>3. Click "Add me on the map"<p>Optionnaly (it's recommended!) you can add links to your socials as well as some tags to showcase your interests.<p>Why does it exist?<p>I created this because, despite its harsh reputation on the internet, I love the HN community.
I have fewer than a handful of friends who are as curious and eager to think and reflect as the people on HN.
Also, the city I currently live in is more focused on industry than on technology and entrepreneurship, which are core to HN.<p>This led me to want to meet the HN community IRL.
After trying `site:news.ycombinator.com/user toulouse` on Google and getting only one result, I decided to create meet.hn.<p>My first goal with this is to meet at least one HN member in my city: Toulouse, France.
If you are ever in the area, hit me up! I'm sirobg at <a href="https://meet.hn/city/fr-Toulouse" rel="nofollow">https://meet.hn/city/fr-Toulouse</a><p>Additional details:<p>- meet.hn has a twitter page: <a href="https://x.com/meet_hn" rel="nofollow">https://x.com/meet_hn</a>. If you meet IRL thanks to meet.hn, don't hesitate to tag it with a picture, it would mean the world to me.<p>- the code is open source: <a href="https://github.com/borisghidaglia/meet-hn">https://github.com/borisghidaglia/meet-hn</a><p>- meet.hn integrates with <a href="https://at.hn/" rel="nofollow">https://at.hn/</a> from @padolsey (<a href="https://padolsey.at.hn/" rel="nofollow">https://padolsey.at.hn/</a>), registered on meet.hn at <a href="https://meet.hn/city/cn-Beijing" rel="nofollow">https://meet.hn/city/cn-Beijing</a><p>Finally, many thanks to these people for their help and/or feedbacks!
Ordered alphabetically:<p>- <a href="https://x.com/ericbureltech" rel="nofollow">https://x.com/ericbureltech</a><p>- <a href="https://x.com/fredkisss" rel="nofollow">https://x.com/fredkisss</a><p>- <a href="https://x.com/JulienDuquesne1" rel="nofollow">https://x.com/JulienDuquesne1</a><p>- <a href="https://www.linkedin.com/in/lbasseto/" rel="nofollow">https://www.linkedin.com/in/lbasseto/</a><p>- <a href="https://x.com/lcswillems" rel="nofollow">https://x.com/lcswillems</a><p>- <a href="https://x.com/leeerob" rel="nofollow">https://x.com/leeerob</a><p>- <a href="https://x.com/padolsey" rel="nofollow">https://x.com/padolsey</a><p>- <a href="https://x.com/tomlienard" rel="nofollow">https://x.com/tomlienard</a><p>I hope you will enjoy this!
Please share any feedback in the comments.
Show HN: Meet.hn – Meet the Hacker News community in your city
Hey HN!<p>I just published <a href="https://meet.hn" rel="nofollow">https://meet.hn</a>, a map to find hackers in your city.<p>How it works?<p>Demo of the signup process: <a href="https://x.com/meet_hn/status/1834918518904746329" rel="nofollow">https://x.com/meet_hn/status/1834918518904746329</a><p>1. Fill the form: username, city+country<p>2. Copy the text generated in the box below the form, and paste it in your HN description.<p>3. Click "Add me on the map"<p>Optionnaly (it's recommended!) you can add links to your socials as well as some tags to showcase your interests.<p>Why does it exist?<p>I created this because, despite its harsh reputation on the internet, I love the HN community.
I have fewer than a handful of friends who are as curious and eager to think and reflect as the people on HN.
Also, the city I currently live in is more focused on industry than on technology and entrepreneurship, which are core to HN.<p>This led me to want to meet the HN community IRL.
After trying `site:news.ycombinator.com/user toulouse` on Google and getting only one result, I decided to create meet.hn.<p>My first goal with this is to meet at least one HN member in my city: Toulouse, France.
If you are ever in the area, hit me up! I'm sirobg at <a href="https://meet.hn/city/fr-Toulouse" rel="nofollow">https://meet.hn/city/fr-Toulouse</a><p>Additional details:<p>- meet.hn has a twitter page: <a href="https://x.com/meet_hn" rel="nofollow">https://x.com/meet_hn</a>. If you meet IRL thanks to meet.hn, don't hesitate to tag it with a picture, it would mean the world to me.<p>- the code is open source: <a href="https://github.com/borisghidaglia/meet-hn">https://github.com/borisghidaglia/meet-hn</a><p>- meet.hn integrates with <a href="https://at.hn/" rel="nofollow">https://at.hn/</a> from @padolsey (<a href="https://padolsey.at.hn/" rel="nofollow">https://padolsey.at.hn/</a>), registered on meet.hn at <a href="https://meet.hn/city/cn-Beijing" rel="nofollow">https://meet.hn/city/cn-Beijing</a><p>Finally, many thanks to these people for their help and/or feedbacks!
Ordered alphabetically:<p>- <a href="https://x.com/ericbureltech" rel="nofollow">https://x.com/ericbureltech</a><p>- <a href="https://x.com/fredkisss" rel="nofollow">https://x.com/fredkisss</a><p>- <a href="https://x.com/JulienDuquesne1" rel="nofollow">https://x.com/JulienDuquesne1</a><p>- <a href="https://www.linkedin.com/in/lbasseto/" rel="nofollow">https://www.linkedin.com/in/lbasseto/</a><p>- <a href="https://x.com/lcswillems" rel="nofollow">https://x.com/lcswillems</a><p>- <a href="https://x.com/leeerob" rel="nofollow">https://x.com/leeerob</a><p>- <a href="https://x.com/padolsey" rel="nofollow">https://x.com/padolsey</a><p>- <a href="https://x.com/tomlienard" rel="nofollow">https://x.com/tomlienard</a><p>I hope you will enjoy this!
Please share any feedback in the comments.
Show HN: Meet.hn – Meet the Hacker News community in your city
Hey HN!<p>I just published <a href="https://meet.hn" rel="nofollow">https://meet.hn</a>, a map to find hackers in your city.<p>How it works?<p>Demo of the signup process: <a href="https://x.com/meet_hn/status/1834918518904746329" rel="nofollow">https://x.com/meet_hn/status/1834918518904746329</a><p>1. Fill the form: username, city+country<p>2. Copy the text generated in the box below the form, and paste it in your HN description.<p>3. Click "Add me on the map"<p>Optionnaly (it's recommended!) you can add links to your socials as well as some tags to showcase your interests.<p>Why does it exist?<p>I created this because, despite its harsh reputation on the internet, I love the HN community.
I have fewer than a handful of friends who are as curious and eager to think and reflect as the people on HN.
Also, the city I currently live in is more focused on industry than on technology and entrepreneurship, which are core to HN.<p>This led me to want to meet the HN community IRL.
After trying `site:news.ycombinator.com/user toulouse` on Google and getting only one result, I decided to create meet.hn.<p>My first goal with this is to meet at least one HN member in my city: Toulouse, France.
If you are ever in the area, hit me up! I'm sirobg at <a href="https://meet.hn/city/fr-Toulouse" rel="nofollow">https://meet.hn/city/fr-Toulouse</a><p>Additional details:<p>- meet.hn has a twitter page: <a href="https://x.com/meet_hn" rel="nofollow">https://x.com/meet_hn</a>. If you meet IRL thanks to meet.hn, don't hesitate to tag it with a picture, it would mean the world to me.<p>- the code is open source: <a href="https://github.com/borisghidaglia/meet-hn">https://github.com/borisghidaglia/meet-hn</a><p>- meet.hn integrates with <a href="https://at.hn/" rel="nofollow">https://at.hn/</a> from @padolsey (<a href="https://padolsey.at.hn/" rel="nofollow">https://padolsey.at.hn/</a>), registered on meet.hn at <a href="https://meet.hn/city/cn-Beijing" rel="nofollow">https://meet.hn/city/cn-Beijing</a><p>Finally, many thanks to these people for their help and/or feedbacks!
Ordered alphabetically:<p>- <a href="https://x.com/ericbureltech" rel="nofollow">https://x.com/ericbureltech</a><p>- <a href="https://x.com/fredkisss" rel="nofollow">https://x.com/fredkisss</a><p>- <a href="https://x.com/JulienDuquesne1" rel="nofollow">https://x.com/JulienDuquesne1</a><p>- <a href="https://www.linkedin.com/in/lbasseto/" rel="nofollow">https://www.linkedin.com/in/lbasseto/</a><p>- <a href="https://x.com/lcswillems" rel="nofollow">https://x.com/lcswillems</a><p>- <a href="https://x.com/leeerob" rel="nofollow">https://x.com/leeerob</a><p>- <a href="https://x.com/padolsey" rel="nofollow">https://x.com/padolsey</a><p>- <a href="https://x.com/tomlienard" rel="nofollow">https://x.com/tomlienard</a><p>I hope you will enjoy this!
Please share any feedback in the comments.
Show HN: HypergraphZ – A Hypergraph Implementation in Zig