Tuesday, 20 June 2023

Show HN: A library for execing Python code safely using WASM https://bit.ly/3CCgGWW

Show HN: A library for `exec`ing Python code safely using WASM Inspired by Simon Willison's blog post that was catalyzed by this HN post: https://bit.ly/46gIM80 wasm_exec is a Wasm-powered, sandboxed implementation of exec() for safely running dynamic Python code There are number of use-cases emerging that require arbitrary code execution, often code that is generated by LLMs (Large Language Models) like ChatGPT. This can enable some really cool functionality - like generative BI or website generation - but also introduce a massive security flaw if implemented via eval() or exec(). This is because arbitrary code can be executed using these methods. In a worst case scenario, exec'ing arbitrary code could enable some to rm -rf / your entire server! This library intends to provide a secure method of executing arbitrary Python code to empower LLM-based code generation. This was originally intended to be a direct PR to Langchain but given that the problems with exec() extend to the entire Python ecosystem, it was decided that it would be better as a standalone package. Given the love for Wasm on HN, I thought some folks might be interested,and I'd love additional feedback or contributions to the code base. https://bit.ly/3NhyYSy June 21, 2023 at 01:44AM

Show HN: AfterZhev A Graphical RPG for Arduino in AVR Assembly https://bit.ly/43PGqva

Show HN: AfterZhev – A Graphical RPG for Arduino in AVR Assembly For the last year I've been working on a small RPG, called "AfterZhev", that runs on a single ATmega2560 plus some passive components. The game runs at 60 FPS on a stock 16 MHz ATmega2560, so it's Arduino Mega2560 compatible, and generates a 60 Hz 640x480 VGA video output, with an effective resolution of 120x66 pixels. It also generates 8-bit sound. AfterZhev was written entirely in AVR assembly. AfterZhev - I think! - is the only graphical RPG that runs on an 8-bit Atmel chip. I'd like to be wrong about that, though. As the world's official best player, I can beat the game in under three minutes, but it'll probably take an hour or so to complete. Let me know what you think! Writeup: https://bit.ly/3Xfetug Source code: https://bit.ly/3XebvpT https://bit.ly/3NltDtp June 20, 2023 at 10:35PM

Monday, 19 June 2023

Show HN: Reproducing TikTok with Django Ninja and React Native https://bit.ly/3PnraRW

Show HN: Reproducing TikTok with Django Ninja and React Native I am about to graduate from university this year, and I had an idea to create a mobile app similar to TikTok but for OnlyFans. Interestingly, the inspiration to replicate TikTok came from an episode of the Acquired Podcast discussing Meituan. It seemed somewhat ironic to copy a Chinese app. I ran out of money to pay rent though, so I’m looking for jobs here in Sydney instead now. I want to keep working on this project in my spare time and would appreciate any feedback and particularly guidance for how to run an open-source project! https://bit.ly/46bG9nI June 20, 2023 at 02:19AM

Show HN: Global Pomodoro every 30 minutes https://bit.ly/3Phm21D

Show HN: Global Pomodoro every 30 minutes I love using the Pomodoro technique with my friends. We each share what we want to accomplish in 25 minutes, work together, and then take a 5-minute break to discuss our progress. Recently, I had an idea to take this concept to the next level. If you think about it, 25 + 5 = 30 minutes - the perfect amount of time for a global Pomodoro session to start every half hour. After several evenings of brainstorming and collaboration, I'm excited to introduce Pomodorr.io. This platform allows individuals from around the world to come together and work on their projects during these global Pomodoro sessions. So, meet Pomodorr.io. Every 30 minutes, a global pomodoro kicks off in the world. There is a general chat to feel the shoulder of remote colleagues in terms of efficiency. You can meet me and my friends there almost every day. https://bit.ly/44c328Z June 20, 2023 at 12:12AM

Show HN: Debian Based Home Router https://bit.ly/42LRoAA

Show HN: Debian Based Home Router https://bit.ly/46borAQ June 19, 2023 at 10:12PM

Show HN: Simulacra and Simulation Photography Project https://bit.ly/3NBu7N7

Show HN: Simulacra and Simulation” Photography Project Simulacra and Simulation is a conceptual photography project that is meant to explore what constitutes reality in an image. First, I ask ChatGPT to create a detailed description of a famous photograph. Second, I provide that description to Midjourney, which creates a flawed, but usually recognizable interpretation of the original photograph. Third, I capture my computer screen, where the Midjourney image is visible, with a medium format film camera. Fourth, I hand develop and print the resulting image, which is now very much a real photograph of a facsimile of a real photograph. https://bit.ly/3Pq91D3 June 19, 2023 at 07:04PM

Show HN: Python package for interfacing with ChatGPT with minimized complexity https://bit.ly/3CzbQda

Show HN: Python package for interfacing with ChatGPT with minimized complexity https://bit.ly/4694GtI June 19, 2023 at 06:20PM

Show HN: HN recommend A recommendation engine for Hacker News https://bit.ly/468R3e3

Show HN: HN recommend – A recommendation engine for Hacker News Hi! I’m Julien and I built a recommendation engine for Hacker News. I feel like this website is a gold mine. Every day, I find some very interesting stories about a topic. And sometimes, I want to find other stories covering that same topic but I can’t. Hacker News has years of history of awesome discussion and ressources. Unfortunately, I think HN Algolia isn’t helpful in searching these old threads. As a student, I want to learn a lot from this website. This is why I created HN Recommend. Input a sentence or the URL of an article, and get the most popular and similar posts from Hacker News. About the technical details, I've computed the embeddings of over 100,000 articles from HN and indexed it using Faiss. I made a blog post for a deeper explanation. Source code: https://bit.ly/3NdVnQw Article: https://bit.ly/46fgcUj... Project: https://bit.ly/3JmxapZ https://bit.ly/3JmxapZ June 19, 2023 at 03:45PM

Show HN: Slint - A Declarative UI Toolkit Written in Rust for Embedded & Desktop https://bit.ly/3NAPf69

Show HN: Slint - A Declarative UI Toolkit Written in Rust for Embedded & Desktop Slint is a declarative GUI toolkit written primarily in Rust, with API support for multiple programming languages such as C++ and JavaScript. It is designed for desktop and embedded usage. The Slint website has just been redesigned. And we added a new Royalty-Free License option besides GPL and commercial https://bit.ly/3CC6HRE June 19, 2023 at 09:57AM

Show HN: Reading Tracker (Mobile First) https://bit.ly/3XtQGqJ

Show HN: Reading Tracker (Mobile First) https://bit.ly/3PpphEl June 19, 2023 at 08:28AM

Sunday, 18 June 2023

Show HN: Indexing Discord content into the web Answer Overflow https://bit.ly/3NbKqyZ

Show HN: Indexing Discord content into the web – Answer Overflow Hi! I'm Rhys, I develop Answer Overflow a search engine for Discord channels. Answer Overflow indexes content from channels into Google making them discoverable on the web. I'm sharing this again after seeing a lot of discussion during the Reddit blackout about the inaccessibility of information sent in Discord servers. Answer Overflow is a verified bot in over 100 communities, fully complies with the Discord ToS, and is open source! https://bit.ly/3p2Jvch Check out some of the communities here! T3 Community - https://bit.ly/3NeV2NF C# - https://bit.ly/3PBmbNF Reactiflux - https://bit.ly/3PBmbNF All - https://bit.ly/3pawflL Please let me know what feedback you have, thanks for checking it out! https://bit.ly/3qTFK9i June 18, 2023 at 08:50PM

Show HN: I built a SIP server from scratch https://bit.ly/3NbIczD

Show HN: I built a SIP server from scratch https://bit.ly/43IP0M4 June 18, 2023 at 07:30PM

Show HN: Make you feel free to use ALL ChatGPT applications https://bit.ly/3Nhlfv3

Show HN: Make you feel free to use ALL ChatGPT applications https://bit.ly/3NbzAJj June 18, 2023 at 04:57PM

Show HN: I recorded a video course to let anyone learn Math bottom-up https://bit.ly/3PmhHdo

Show HN: I recorded a video course to let anyone learn Math bottom-up This course was intended for ages 7 and up, including adults. I really tried to make the material accessible to everyone, and hopefully not be too boring, while it establishes a solid foundation for learning anything else. If you do watch it, let me know if it is helpful in getting a solid foundation! My background: Before I got full-time into software development, I was doing a Ph. D in math at NYU. I thought YouTube needed something like this. https://www.youtube.com/@thinkingmathematically June 18, 2023 at 04:08PM

Show HN: A CLI for fanfiction downloads using the fichub.net API https://bit.ly/3pd2IrK

Show HN: A CLI for fanfiction downloads using the fichub.net API https://bit.ly/443RjJj June 18, 2023 at 11:46AM

Show HN: Dots and Boxes in Elm https://bit.ly/3Pk3kX5

Show HN: Dots and Boxes in Elm https://bit.ly/46bka09 June 18, 2023 at 07:46AM

Saturday, 17 June 2023

Show HN: Wasmtime Driver for Nomad https://bit.ly/42KIaVg

Show HN: Wasmtime Driver for Nomad https://bit.ly/3PjauuB June 18, 2023 at 04:51AM

Show HN: Conquer CSS a free introductory book for CSS [pdf] https://bit.ly/442TP2H

Show HN: Conquer CSS, a free introductory book for CSS [pdf] I have moved onto other side projects since writing a short book for those looking to cover the fundamentals of CSS, so I made it free and stopped marketing it. Enjoy. https://bit.ly/3NAaZzj June 18, 2023 at 02:47AM

Show HN: The Drive AI: Combine Google Drive Notion into One Platform https://bit.ly/3NBhmCz

Show HN: The Drive AI: Combine Google Drive, Notion into One Platform We at The Drive AI are building a context-aware storage solution where you can upload, link, or sync files across different storage solutions, and build your knowledge base. With access to this knowledge base, you can query it to search for relevant information from a file or collection of files. You can also write new content based on your knowledge base. We also want to integrate slack like channels so that teams don't have to leave somewhere else to store and manage their knowledge base. That means for businesses, you get slack like feature with storage system built in. Link to MVP: https://bit.ly/3NApTFE Demo: https://youtu.be/gNpqVkjq9EI Promo: https://youtu.be/acXpn5qKom8 https://bit.ly/3NApTFE June 17, 2023 at 05:59AM

Show HN: A product hunt for prompts 300 marketing real-life prompts https://bit.ly/42RdIIN

Show HN: A product hunt for prompts – 300 marketing real-life prompts https://bit.ly/42RdJwl June 17, 2023 at 11:03AM