Saturday 14 September 2024

Show HN: I build Figma plugin for unlimited themes/modes https://bit.ly/4d4dHXb

Show HN: I build Figma plugin for unlimited themes/modes Hi everyone, I’ve created a new Token Swapper plugin for Figma to address limitations I encountered while working on a multi-brand mobile app UI. The Figma’s Pro plan’s 4 Modes (or even the Enterprise plan’s 40 Modes) weren’t sufficient for my needs. I made Token Swapper to quickly switch between themes (based on variables and styles) without relying on Modes. The only requirement is that you organize your themes in top-level folders within both the variables and styles sections. I’d love for you to try it out and share your thoughts. Your feedback is appreciated! https://bit.ly/3TvADrk September 14, 2024 at 08:01PM

Show HN: Wordllama – Things you can do with the token embeddings of an LLM https://bit.ly/3XIfooF

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 semantically . You don’t need to install pytorch to use it, or any deep learning runtimes. 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. 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). 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). Hope you enjoy it, and find it useful. PS I haven’t figured out Windows builds yet, but Linux and Mac are supported. https://bit.ly/3XIfoFb September 15, 2024 at 04:25AM

Show HN: Insta2000 – Re-render Instagram locally, retro, and ad free https://bit.ly/4d1bMTi

Show HN: Insta2000 – Re-render Instagram locally, retro, and ad free I've been avoiding instagram for a few years, as it feels very noisy and addictive. I'm starting to feel out of touch from friends though, so got wondering if I could build a tool to get just my friends updates, without all the other junk. It turns out scraping my own profile and re-rendering a static webpage is quite a successful way to achieve that goal. It has no ads, no discovery injections, no trackers, no infinite scroll, no notifications. It does include stories and posts alongside each other. It does sort things based on recent updates. In the end, it proved better than I expected with a relatively small effort. I made it retro as well just for a fun throwback, and as a protest against the modern web! It leans very heavily on the [instaloader package]( https://bit.ly/47qNhhg I'm quite grateful for the contributors there! Repo is yours to use and build on, and feel free to contribute as well. https://bit.ly/3Txra30 September 15, 2024 at 02:01AM

Show HN: I made a digital circuit drawing and simulation game https://bit.ly/4gsUe5m

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. 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. 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. 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. 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: https://bit.ly/3ZwrAds... . Feedback is appreciated! https://bit.ly/3XI0izF September 14, 2024 at 11:43PM

Friday 13 September 2024

Show HN: Strip-windows.ps1 – this could get smaller in the right hands https://bit.ly/4e401N8

Show HN: Strip-windows.ps1 – this could get smaller in the right hands https://bit.ly/3TrfKNW September 14, 2024 at 05:25AM

Show HN: Built a Cookie Clicker Clone in Google Sheets https://bit.ly/3B0lIPM

Show HN: Built a Cookie Clicker Clone in Google Sheets https://www.youtube.com/watch?v=r4Z8MdYm1_s September 14, 2024 at 03:23AM

Show HN: Ftail – logger for Rust with multiple drivers (console/daily file/etc.) https://bit.ly/3XIL3qk

Show HN: Ftail – logger for Rust with multiple drivers (console/daily file/etc.) https://bit.ly/4gqRq96 September 13, 2024 at 07:57PM

Show HN: Search San Francisco using natural language https://bit.ly/3TqDMc5

Show HN: Search San Francisco using natural language Hey HN! We're Alex and Szymon from Bluesight ( https://bit.ly/3TQumqH ), where we're developing a foundation model for satellite data. We've created a demo to showcase the current capabilities of state-of-the-art models and identify areas for improvement. Our demo allows you to search for objects in San Francisco using natural language. You can look for things like Tesla cars, dry patches, boats, and more. Key features: - Search using text or by selecting an object from the image as a source ("aim" icon) - Toggle between object search (default) and tile search ("big" toggle, useful when contextual information matters, like tennis courts) - Adjust results with downvotes (useful when results are water images) - Click on tiles to locate them on a map - Control the number of retrieved tiles with a slider We use OpenAI's CLIP model ( https://bit.ly/3ZnyIZL ) to put texts and images into the same embedding space. We do a similarity search within this space using text query or source image. We are using CLIP finetuned on pairs of satellite images and OpenStreetMap ( https://bit.ly/3TsY8Bg ) tags ( https://bit.ly/3ZipzSh ) because vanilla clip performs poorly on satellite data. We pre-segment objects using Meta's Segment Anything Model ( https://bit.ly/3ZqkMy6 ) and pre-compute CLIP embeddings for each object. We'd love to hear your thoughts! What worked well for you? Where did it fail? What features do you wish it had? Any real-world problems you think this could help with? https://bit.ly/3z5wCmM September 12, 2024 at 06:06PM

Show HN: A whiteboard that writes math equations https://bit.ly/3AVDrrl

Show HN: A whiteboard that writes math equations https://bit.ly/3XFXbIp September 9, 2024 at 01:23PM

Thursday 12 September 2024

Show HN: Interested in an automated fact checking service? https://bit.ly/3XhbS3a

Show HN: Interested in an automated fact checking service? Hey everyone, I'm working on an automated fact checking service that works like so: 1. Paste a link to the website, X or facebook comment you want to fact check, 2. Select a quote on the site, 3. We search for relevant results from research databases, reputable news sites and searches on the web, 4. You get a web page with the quote, fact check rating, summary of the findings and sources, 5. Share that fact check back to the source, so people can be aware of the relevant information. This is a work in progress (currently a landing page) and I'd love to know if you are interested in it (it's worth me continuing to work on). Would love to hear your opinions or ideas :) https://bit.ly/3TtnizM September 13, 2024 at 07:46AM

Show HN: Fabrix – Instantly Generate UI Frontend from GraphQL https://bit.ly/4d8ZUP4

Show HN: Fabrix – Instantly Generate UI Frontend from GraphQL https://bit.ly/3XrfoIA September 12, 2024 at 11:10PM

Show HN: Build Your WSL Distro in Docker https://bit.ly/3MJadPe

Show HN: Build Your WSL Distro in Docker https://bit.ly/3TqrTmw September 12, 2024 at 12:05PM

Wednesday 11 September 2024

Show HN: Konty – A Balsamiq-alternative lo-fi wireframe tool for modern apps https://bit.ly/3XGpfLZ

Show HN: Konty – A Balsamiq-alternative lo-fi wireframe tool for modern apps https://bit.ly/4d15EdJ September 12, 2024 at 04:31AM

Show HN: I built an AI-powered app that helped me lose 30 lbs and gain muscle https://bit.ly/3XIgrEf

Show HN: I built an AI-powered app that helped me lose 30 lbs and gain muscle Hey everyone, Like many of you, I've been amazed by the latest AI advancements and have integrated AI into my daily life. As a fitness enthusiast, I was searching for an all-in-one tool that could track my nutrition, workouts, and sleep in one place, while providing insights into how these factors correlate with each other. This need led me to create HealthMaxAI. Using the app, I've personally lost over 30 pounds of fat, which has been incredibly motivating. HealthMaxAI has truly transformed my approach to health and fitness, and I believe it can do the same for others. I'm excited to share this tool with you and would love any feedback you might have. Your insights will be invaluable in making HealthMaxAI even better. Thank you in advance for your time and for checking out the app! https://bit.ly/3TOqpTp September 12, 2024 at 12:06AM

Tuesday 10 September 2024

Show HN: I put together boring hex code color to save you time https://bit.ly/3MMG29D

Show HN: I put together boring hex code color to save you time I made this tool to help users get hex codes that I put together based on the seasons I find beautiful. I hope you like it https://bit.ly/4gnOaLI September 11, 2024 at 02:32AM

Show HN: Forms with OpenPGP https://bit.ly/3MDgbRA

Show HN: Forms with OpenPGP I'm Pal, the creator of an open source form/survey platform. It's written in Rust and Svelte and it's all on GitHub: https://bit.ly/3AThjxO . My aim is to do something similar to how Proton encrypted emails: keep it simple and user-friendly, so that basically everyone can switch to it from Google/Typeform. Of course, there's some compromises. You can't really do integrations, since the server doesn't have the raw responses to send anywhere. But there's still tons of use cases where Palform's features suffice. The encryption is powered by the amazing Sequoia PGP library and simply uses OpenPGP. I know it's not a perfect protocol, but it's been around for ages and audited several times. Users need to be able to trust Palform, and a DIY obscure cryptographic system would make that hard. Plus, this way you can import + export your keys and everything stays interoperable. It even has webhooks, so your servers can store PGP keys and you can decrypt the form responses yourself. https://bit.ly/3ZfFmRR September 10, 2024 at 11:53PM

Show HN: Semantic Bookmark Manager https://bit.ly/3XEwiVt

Show HN: Semantic Bookmark Manager Hi Hacker News, I would like to share my new side project: the Semantic Bookmark Manager. This web application is designed to help users manage and semantically search for their bookmarks using the RAG technique. Traditional bookmark managers can become quite disorganized and difficult to navigate as they grow. This tool offers a solution by eliminating the need for manual categorization, therefore simplifying the overall user experience. It is open-source under MIT license Thank you for your attention, and I hope you find it useful :) https://bit.ly/4gi8ZId September 11, 2024 at 12:27AM

Show HN: Fire for the Wall – A Guide to Censorship-Resistant Tools and Networks https://bit.ly/3MGjOpY

Show HN: Fire for the Wall – A Guide to Censorship-Resistant Tools and Networks Hi HN, I've been working on a project called "Fire For The Wall", which is an ongoing and maintained guide to help people resist internet censorship. It covers censorship-resistant tools, protocols, and networks, as well as how censorship firewalls like the GFW (Great Firewall) work. The guide is organized into the following sections: - Censorship Circumvention Tools - Censorship Circumvention Protocols - Censorship-Resistant Networks - Censorship Techniques - Censorship Analysis Tools Each document provides details on how these tools work, what privacy/security precautions to take, and how to set them up. The project is open-source and under the CC BY-NC 4.0 license, meaning it's free to use and modify with proper credit. I'm looking for contributors who are interested in helping expand and refine this guide. Whether it's improving documentation, adding new tools, or helping with analysis, all contributions are welcome! If you're interested, please read the contribution guidelines before starting. Thanks for checking it out, and I'd love to hear any feedback or suggestions! Guide: https://bit.ly/4dXp5VZ Repo: https://bit.ly/3MFPKdY https://bit.ly/3MFPKdY September 10, 2024 at 11:31AM

Show HN: Vomitorium – all of your project in 1 text file https://bit.ly/47mJul9

Show HN: Vomitorium – all of your project in 1 text file Neat little nodejs/cli tool for putting all of your project's files into 1. I built it for LLM assistance with small-ish projects. https://bit.ly/47mJuSb September 8, 2024 at 02:45PM

Monday 9 September 2024

Show HN: HypergraphZ – A Hypergraph Implementation in Zig https://bit.ly/3AZrqkT

Show HN: HypergraphZ – A Hypergraph Implementation in Zig https://bit.ly/4d2yvhV September 10, 2024 at 07:07AM