Wednesday, August 9, 2023

Show HN: Automatic commit messages with AI copilot https://ift.tt/YkKOJLo

Show HN: Automatic commit messages with AI copilot https://ift.tt/Mfz4xQ2 August 10, 2023 at 12:52AM

Show HN: Kvak.io – Online note-taking app https://ift.tt/YzS3mw2

Show HN: Kvak.io – Online note-taking app Web-based note taking app with real-time colab. No accounts, barely any UI. Visiting the homepage generates a new note with a unique URL. https://kvak.io/hn August 9, 2023 at 01:25PM

Tuesday, August 8, 2023

Show HN: The Population Project https://ift.tt/Nf8r7LT

Show HN: The Population Project Two years ago, I turned 50. After a successful career as an entrepreneur, a business angel and a novelist, I set out to start a philanthropic venture under the following constraints: - it had to be global. - it had to be beautiful (in my eyes, at least). - it had to be technology and stats driven. I decided I would try to list the full name and date of birth of all humans alive. While some may find the concept pointless, I immediately knew I had struck gold: - it was global and incredibly hard. - it had an almost artistic quality to it, like an ever-changing installation. - as a libertarian, I resent that states conduct censuses and then sit on the data. - One billion people in the world aren't officially registered. At least someone would acknowledge their existence. I created a non-profit called The Population Project. I would never make a dime off it, but at least my costs would be tax-deductible. I then started researching lists of names online. I quickly adopted two principles. First I would collect a minimal set of information : full name, birth date, and birth place. Second, I would only scrape public information, i.e. nothing behind a password. After a few months, I realized I needed help from more experienced developers. I chose to work on 4D, a platform I had used in the past to develop my company's information system. It was a tough choice: 4D is not a leading player in the back-end world, but I figured the growth of API tooling would make language choice less critical. The first iteration of our database was frustrating - way too slow to publish a website. I learned the power of incremental change, with each marginal improvement saving you a few percent of speed or space. I also got to implement concepts I had heard about but never implemented, such as mirroring, partitioning, or hash-indexing. Then I hired a team of six data processors in Madagascar who clean up and process the lists found online. Lots of Python and Excel macros in their day-to-day. I have instilled in them an obsession with quality. A bad record will sit in our base forever. After trying dozens of softwares, we've settled on Adobe Acrobat and Octoparse. The final piece was the website. I lucked out in finding a strong team in Romania. They build with Next.js and deploy on Vercel. I gave them Wikipedia as the model to aim for. We/they haven't been able to match Wikipedia's simplicity. Our pages are too heavy. But I find the site user-friendly, pleasing to the eye and reasonably fast. We can and we will do better. A word about privacy. Some people complain that because it publishes names and DOBs, the Population Project infringes on their privacy. We obviously don't see it that way. - All our info is public. That DOB you find on the site is probably in the voter list of your state, a list that anyone can request or plainfully download. - The info we publish is minimal. Basically, we say that you exist. No one will find anything about your race, religion, sexual preferences, job or income. - We have adopted Wikipedia's privacy policy. We do not record your IP, unless you create or edit a record. - We're using Matomo for our Analytics. Great stuff. It's not free but they do not use your data like GA. Why am I telling you all this? From the beginning, I've envisioned a three-step process: 1) Build the database and populate it with millions of Western profiles. 2) Launch the site, where anybody can create or edit records and share them with their family. 3) When we've reached critical mass (1B records?), start making deals with NGOs and governments, and venture into other alphabets. We have just completed step 1. Step 2 is daunting as hell. I have grown a business but I have never grown a website. While I am ready to spend a bit of money on PR or SEO, I am not delusional: to reach the level of success we have in mind, we need this thing to go (somewhat) viral. How do you do that? https://ift.tt/CHoIdA3 August 7, 2023 at 09:16PM

Show HN: All-you-need OSS lib for modeling and working with ASTs in Python https://ift.tt/cYzBjIW

Show HN: All-you-need OSS lib for modeling and working with ASTs in Python https://ift.tt/6FML85i August 9, 2023 at 03:19AM

Show HN: Subscription-Based Alternative to Gumroad https://ift.tt/IKZaF8y

Show HN: Subscription-Based Alternative to Gumroad https://turbolink.io August 9, 2023 at 03:14AM

Show HN: Easyful – A Free Gumroad Alternative https://ift.tt/5NZPwqa

Show HN: Easyful – A Free Gumroad Alternative Hi HN, If you’re selling templates or digital assets online, platforms like Gumroad have a ton of amazing features . . . but they’re also expensive. It’s not uncommon to be paying 10%, 20% or even 30% of your revenue just to host and deliver some digital content to customers. Instead, we think most creators should own their own Stripe account and use a lightweight fulfillment layer to send customers their orders. So we built Easyful, a platform built on Stripe to email your content to customers when they buy it. And it’s free! We’ve been using Easyful ourselves for a few months now. Try it out and let us know what you think! https://ift.tt/g3pzMNK August 9, 2023 at 01:06AM

Show HN: Ggml.js – Serverless AI Inference on Browser with Web Assembly https://ift.tt/LXIGmuT

Show HN: Ggml.js – Serverless AI Inference on Browser with Web Assembly What is ggml.js? Run any ggml ported ML models directly on your web browser with ggml.js This project provides JavaScript bindings on ggml models, so that you can embed GGML models to your web apps to build serverless AI inferencing. Currently the framework supports following model types: - Dolly v2 - GPT2 - GPT J - GPT NEO X - MPT - Replit - StarCoder You can find more details about the framework: https://ift.tt/0GcMNeK For live demo examples, you can visit here: https://ift.tt/57cOKZD Source Code: https://ift.tt/5ezmIZo Please do provide any feedback/questions/suggestions in the comments. I'll be happy to take it up :) https://ift.tt/0GcMNeK August 9, 2023 at 12:50AM

Show HN: Knit – A Better LLM Playground https://ift.tt/NCixS76

Show HN: Knit – A Better LLM Playground Knit was created to solve pains of other LLM playgrounds. Some of the highlights: - Smart prompt builder, create prompt with simple requirement and few shot learning, fast and effortlessly. - Function call simulation, visualize the function callings and you can also setup a mocked value to return. - Support OpenAI/Anthropic/Azure models. - Manage prompts with projects and members. - And so much more! I have been developing Knit by myself for over 4 months now, and am looking for ways to improve it. Any feedback is appreciated. https://promptknit.com August 8, 2023 at 05:03PM

Show HN: Travel site made with Midjourney, GPT4 and Svelte https://ift.tt/0w7xNsZ

Show HN: Travel site made with Midjourney, GPT4 and Svelte https://meoweler.com August 8, 2023 at 12:22PM

Monday, August 7, 2023

Show HN: Make better deepfake videos with lip sync and natural body gestures https://ift.tt/bdHOTZ7

Show HN: Make better deepfake videos with lip sync and natural body gestures I built a site that lets you easily make deepfake videos. They are accurately lip synced to any text you enter and even include the person’s natural body gestures. Here's a deep fake of Paul Graham talking about the site lol: https://ift.tt/NdUKEIQ All you have to do is: 1. Choose a video. 2. Enter what you want them to say. 3. Get your lip-synced deepfake. Right now, you can only select from 10 celebrities. In the near future, you’ll be able to upload your own video file and create a deepfake from it. Would love to hear your questions/comments! Discord server: https://ift.tt/rXzGP0S Have fun! :) https://deepfakes.lol August 8, 2023 at 06:54AM

Show HN: Ready to Send – a Gmail add-on that automatically drafts email replies https://ift.tt/NZjv1Ow

Show HN: Ready to Send – a Gmail add-on that automatically drafts email replies Hi HN! Ready to Send works seamlessly with Gmail, crafting draft responses for your new, unread emails. You can add personalized info for each contact, ensuring every message sounds genuine. LMK your feedback below! https://ift.tt/najXte4 August 8, 2023 at 06:49AM

Show HN: An AI Textbook https://ift.tt/7H9OqXi

Show HN: An AI Textbook Hi HN, Introducing Inquistory, the world's first AI textbook for history. Unlike a textbook, students don’t passively read through long chapters of content. Inquistory briefly explains a high level ideas a student, and student's must inquire about the content to advance. Like a textbook, Inquistory utilizes both primary and secondary sources create content. This involves displaying relevant images inline with text and providing citations for the sources referenced. Read the wild story how we got started: https://ift.tt/hkm3pQu Currently in private beta, you can sign up on our website: https://inquistory.com/ https://inquistory.com/ August 8, 2023 at 03:10AM

Show HN: Create your perfect profile picture using AI https://ift.tt/F591mhE

Show HN: Create your perfect profile picture using AI #1 Best AI Profile Picture Generator Create your perfect profile picture in less than 10 minutes with our AI photographer! Upload 5 pictures and get 30 photos in various styles in minutes! https://ift.tt/b7pNhmv August 8, 2023 at 02:32AM

Show HN: Doculite – Use SQLite as a Document Database https://ift.tt/JSEkG8m

Show HN: Doculite – Use SQLite as a Document Database Hi! As I was working on a side project, I noticed I wanted to use SQLite like a Document Database on the server. So I built Doculite. DocuLite lets you use SQLite like Firebase Firestore. It's written in Typescript and an adapter on top of sqlite3 and sqlite. Reasons: 1) Using an SQL Database meant having less flexibility and iterating slower. 2) Alternative, proven Document Databases only offered client/server support. 3) No network. Having SQLite server-side next to the application is extremely fast. 4) Replicating Firestore's API makes it easy to use. 5) Listeners and real-time updates enhance UX greatly. 6) SQLite is a proven, stable, and well-liked standard. And, apparently one of the most deployed software modules right now. (src: https://ift.tt/NSrahlG ) What do you think? Feel free to comment with questions, remarks, and thoughts. Happy to hear them. Thanks https://ift.tt/jZNAUJK August 8, 2023 at 01:44AM

Show HN: Micrograd TS https://ift.tt/qxHjJpG

Show HN: Micrograd TS https://ift.tt/KNscHTe August 7, 2023 at 02:41PM

Show HN: Relume Site Builder – The fastest way to design and build a website https://ift.tt/hag8Wtp

Show HN: Relume Site Builder – The fastest way to design and build a website https://ift.tt/DI1wrjO August 7, 2023 at 01:37PM

Sunday, August 6, 2023

Show HN: I created an app to transfer files from my PC to any device wirelessly https://ift.tt/YmGjLKk

Show HN: I created an app to transfer files from my PC to any device wirelessly I found transferring images from my PC to my phone very tedious. Using Whatsapp and other such apps reduced image quality and had limitations on the file size. Using online file transfer solutions were too slow for my taste. Hence, I created a desktop app to send all sorts of files - images, PDFs, lengthy videos, etc. to any device connected to the same Wi-Fi network. You also don't need to download a separate mobile app. There's only 3 steps involved - select your files, scan a QR code, download your files. You can download it now for free via https://fyldrop.com August 7, 2023 at 12:23AM

Show HN: Carbonyl Terminal – A Windows/Linux/macOS Client for Carbonyl Browser https://ift.tt/Y2FDitK

Show HN: Carbonyl Terminal – A Windows/Linux/macOS Client for Carbonyl Browser https://ift.tt/wKAQnDI August 7, 2023 at 04:53AM

Show HN: ChatData-yet another chat-with-document app, querying millions of files https://ift.tt/KJT3vxg

Show HN: ChatData-yet another chat-with-document app, querying millions of files https://ift.tt/ctI3Df2 August 7, 2023 at 03:41AM

Show HN: SillyCoValley – I made a fast-paced startup simulation game https://ift.tt/AtGQpE3

Show HN: SillyCoValley – I made a fast-paced startup simulation game https://ift.tt/IZkbFvz August 6, 2023 at 06:56PM

Show HN: Create books on any topic with ChatGPT https://ift.tt/RhPvcry

Show HN: Create books on any topic with ChatGPT This weekend wanted to try out the streaming ChatGPT API. As test project, created a simple website, which allows you to create whole books by providing just the title (with optional extra instructions). Given the title of the book, table of contents, chapters and sections with text content are generated. All books are listed on the home page, sorted into topic categories. As a bonus, when reading a specific section of a chapter, you can use the chat interface to ask for clarifications, request more content, list relevant topics, etc. The system does quite well with knowledge based books (history for example) and not so good with literature, where more prompt tweaking is needed. What books would you create? # Examples: The Bible https://ift.tt/Q4OgAqr Child Psychology for Parents https://ift.tt/djU2Vqv ChatGPT: A step towards Artificial General Intelligence https://ift.tt/CRQkeWi The World History from a global point of view https://ift.tt/DdQljne The History of Ukraine https://ift.tt/kYbQife Art of War: A modern perspective https://ift.tt/ef5x8vU Kamasutra: A modern perspective https://ift.tt/RiuDIQz https://ift.tt/Tl8dR4N August 6, 2023 at 08:37PM

Show HN: A guide to self-host AudioCraft demo https://ift.tt/nN7RKdD

Show HN: A guide to self-host AudioCraft demo https://ift.tt/81pTMcA August 6, 2023 at 10:11AM

Show HN: A copy of LangChain swift for iOS or macOS applications https://ift.tt/As2ghCX

Show HN: A copy of LangChain swift for iOS or macOS applications https://ift.tt/CeE2aZN August 6, 2023 at 05:19PM

Show HN: Postgres Language Server https://ift.tt/d9Iu0EC

Show HN: Postgres Language Server https://ift.tt/90MIcWA August 6, 2023 at 03:56PM

Show HN: Archsense – Accurately generated architecture from the source code https://ift.tt/9DiY85R

Show HN: Archsense – Accurately generated architecture from the source code https://ift.tt/xYM6ZKj August 6, 2023 at 03:17PM

Saturday, August 5, 2023

Show HN: Briefed – Summaries for Hard Paywalled Content https://ift.tt/5usy9Lz

Show HN: Briefed – Summaries for Hard Paywalled Content Hey HN! Briefed developer here. Briefed creates summaries for (mostly hard) paywalled content. I built it because it's something that I wanted, but couldn't find (specifically the hard paywalled part). Why did I want this? 1. There are a lot of publications that I'm only tangentially interested in. Not enough to warrant a full subscription but enough to want to get the gist of what they're saying. A step between reading the title and reading the full article. Here's a list of the publications we currently create summaries for: https://ift.tt/n0rUtAR 2. I often don't have the time to read entire articles. I can save an article as "read later" in my rss app, but I've often lost interest by the time I get to it. Briefed creates two summaries for each article: one detailed, and one tldr. Here is an example of one: https://ift.tt/PIqimHw... 3. Sometimes I've read the full paywalled article and want to read comments here on HN, but hard paywalls limit the engagement those posts will get. Hopefully a detailed summary is enough to start meaningful and curious conversation. I'm still kicking the tires, so the first 500 people to sign up will get the first year free (normal price is $12/year; the price that I felt I would personally pay for such a service). Use the promo code LAUNCH500 at checkout. The code will be automatically invalidated after 500 people use it. Let me know what you think! Any feedback , issues, or questions are welcome. Thanks, Brandon https://briefed.news/ August 6, 2023 at 12:53AM

Show HN: Unstock.ai – Free image generation with SDXL https://ift.tt/1ZHiDw7

Show HN: Unstock.ai – Free image generation with SDXL Hi HN! I've got the barebones of a service running on top of Stable Diffusion XL. I can cheaply run image generations at 1024x1024. And of course there's a limit to how fast I can generate them given the request queue and limited GPUs, but the service is cheap enough that I'm happy to run it out of pocket for now. Let me know your thoughts, I hope you enjoy the service! https://unstock.ai August 5, 2023 at 07:32AM

Show HN: Name Checker – Find project name collisions https://ift.tt/5w9Jg4U

Show HN: Name Checker – Find project name collisions Name Checker is a tool for when you want to create a new project and don’t want to check all the places (npm, apt, GitHub) for a name collision, you can just use this tool instead. I started working on this because I noticed on HN folks sometimes create a new company and SAAS and they didn’t notice that the name was already taken. Please let me know if y'all have any questions or comments! https://ift.tt/S9yMf5u August 5, 2023 at 06:04PM

Show HN: Matrix. A Sci-Fi Comic https://ift.tt/mq9DSJ0

Show HN: Matrix. A Sci-Fi Comic On the occasion of completing 100 short stories in Matrix, I thought of sharing it with the wider audience. Matrix is a culmination of my 9 months of travel across India and 2 days that I spent in Barcelona. I started the project with an aim to improve my writing. But now I feel like the project is directing me on how it wants to take shape. And as I continued, The project took a shape of its own. I believe it is in a good enough shape to be considered as a mockumentary on life and meaning. It still only has me as a primary contributor because of which it has my limitations and my biases. If you like to contribute, Please feel free to create a pull request on the เคฆुเคจिเคฏा(World in Hindi) branch. เคœเคฏ เคถ्เคฐी เคฐाเคฎ| https://ift.tt/CWbwLy5 August 5, 2023 at 03:27PM

Show HN: Custom Haskell handlers for Nginx https://ift.tt/b5sx8ma

Show HN: Custom Haskell handlers for Nginx This is rather a mature project. It began out of curiosity: I wanted to test if Haskell FFI was powerful and expressive enough to interconnect C and Haskell code flawlessly. Particularly, if C strings generated inside Nginx can be shared within Haskell code and what must be done to respect their lifetimes etc. Recently, I released version 3.2.0 with revamped README (with a lot of examples) and a new approach to building Haskell handlers using the modernized cabal v2-build for dependencies. https://ift.tt/TE6WOI8 August 4, 2023 at 04:49PM

Friday, August 4, 2023

Show HN: Common Lisp tutorials with OpenGL graphics https://ift.tt/9DNOZJ7

Show HN: Common Lisp tutorials with OpenGL graphics https://www.youtube.com/playlist?list=PLTA6M4yZF0MzsMlNL0N67tIU12OLQ-R5K August 5, 2023 at 01:33AM

Show HN: Open-access book on platform governance https://ift.tt/mqfhKV2

Show HN: Open-access book on platform governance Hi there, I'm a political theorist, a professor at Northwestern law school and a founding fellow, board member, etc. of the Integrity Institute. I also was the in-house democratic theorist on Facebook's "civic integrity" (election protection) team for a while, and helped out with the research supporting the creation of the Meta Oversight Board. I just published an academic book with Cambridge University Press bringing together those experiences with research in political science to argue that the way forward for mitigating the harms of big internet platforms and governing user behavior on them is to create global direct democratic institutions for them. You can read the whole book for free on Cambridge's website or by downloading the open-access (license CC-BY-NC-ND 4.0) PDF at the link. If you want a hard copy, you can also buy it in paperback or hardcover. https://ift.tt/GjwHVp5 August 5, 2023 at 12:21AM

Show HN: WebRTC Without Signaling Server https://ift.tt/rQRvnuP

Show HN: WebRTC Without Signaling Server Web-components (lit) to use WebRTC p2p data channel connections, in the browser, without the need of any predefined signaling server. https://ift.tt/UVImblH August 4, 2023 at 11:53AM

Show HN: Put ChatGPT on any website in 5 seconds. No signup required https://ift.tt/kofyr8S

Show HN: Put ChatGPT on any website in 5 seconds. No signup required Are you looking for a way to boost customer engagement on your website without breaking the bank? Look no further, because VivoChat AI is here to save the day! This chatgpt based chatbot is not only easy to set up, but it also handles everything on its own. Can you imagine the convenience? You won't have to spend a single dime, yet you'll be able to provide your website visitors with an exceptional experience. Yes, you heard it right - VivoChat AI is completely free! Get started today and watch as your website becomes a hub of activity and interaction. Your visitors deserve the best, and with VivoChat AI, you can give them just that! https://ift.tt/vfcZK0A August 4, 2023 at 01:48PM

Thursday, August 3, 2023

Show HN: Try my new Bash prompt https://ift.tt/q16gBiQ

Show HN: Try my new Bash prompt PS1='\$ ' # short and sweet prompt old_cmdno=${old_cmdno-0} old_lines=${old_lines-0} old_cols=${old_cols-0} prepare_terminal() { stty rows $((LINES - 1)) printf "\n\033[1A" old_lines=$LINES old_cols=$COLUMNS } update_status_line() { local exit=$? local getcmdno='\#' local cmdno=${getcmdno@P} local esc=$(printf "\033") local pwd=$PWD local dots= [ $LINES -eq $old_lines -a $COLUMNS -eq $old_cols ] || prepare_terminal local status_esc="$esc[7m$esc[m" while true; do [ "${pwd#/*/}" == "$pwd" ] && break local status="$esc[7m$(date +%m-%d/%H:%M)$esc[m $HOSTNAME $dots$pwd" local status_len=$((${#status} - ${#status_esc})) [ $status_len -le $COLUMNS ] && break pwd=${pwd#/} pwd=/${pwd#*/} dots='...' done status_len=$((${#status} - ${#status_esc})) [ $status_len -gt $COLUMNS ] && status= printf "${esc}7$esc[%s;1H$esc[K%s$esc[1;%sr${esc}8" $((LINES + 1)) "$status" $LINES if [ $exit -ne 0 -a $cmdno -ne $old_cmdno ] ; then printf "!%s!\n" $exit fi old_cmdno=$cmdno } PROMPT_COMMAND='update_status_line' August 4, 2023 at 08:50AM

Show HN: ChatMyFiles, Open Source ChatPDF https://ift.tt/if3ro9O

Show HN: ChatMyFiles, Open Source ChatPDF ChatMyFiles is an open-source alternative to ChatPDF: you upload any PDF or Microsoft Office document and ask questions about it. Unlike other "chat with your documents" solutions, ChatMyFiles can be self hosted using a one-click deploy script that uses Terraform to deploy a - Vector database - Server - (Optional) Open-source LLM such as Falcon, Llama, or GPT4All to your virtual private cloud (VPC). We used Langchain to interface with open source LLMs and Ragstack to deploy to Google Cloud: https://ift.tt/QFeClWd https://ift.tt/lEGeYvu August 4, 2023 at 01:40AM

Show HN: Open-Source Favicon Provider https://ift.tt/dNWO0X3

Show HN: Open-Source Favicon Provider Hey HN, We couldn’t find a reliable favicon provider for our CRM [1]. There are existing solutions (FaviconKit, Google faviconV2, ...) but we have faced issues with all of them: rate-limiting, down-time, inconsistent icon size. We were looking for a solution that is: 1) reliable : no down-time ; 2) accurate : request a specific icon size to optimize for user bandwidth ; 3) high-quality : that provides the highest resolution icon available for a given requested size ; 4) open-source : this is a common need and a simple problem to solve: an open solution should exist and anybody should be able to contribute or to host it. Technical details: Here is the source code: https://ift.tt/zXHP2Br . The way it works is very simple. We have implemented a few strategies to fetch favicons: get favicon from html meta/link tags, call Google Favicon API. Then we retrieve the image and store it into S3. The next time someone asks for the image it is usually served from our CDN cache directly. If not, then it’s pulled from S3. Cloud Hosting: We are hosting a server on favicon.twenty.com. We will be using it to power Twenty CRM, so it will be maintained up and running for our own needs. Feel free to use it by directly by embedding images like this: https://ift.tt/tEeFO7R or https://ift.tt/W6TPBZE [1] https://ift.tt/uxWaknc https://ift.tt/zXHP2Br August 4, 2023 at 01:24AM

Show HN: Interesting companies that are running on-prem https://ift.tt/IGA9Yvq

Show HN: Interesting companies that are running on-prem https://ift.tt/mexwnb3 August 4, 2023 at 12:35AM

Show HN: Create your first ZK-SNARK Contract with Mina Blockchain https://ift.tt/RkwgLM8

Show HN: Create your first ZK-SNARK Contract with Mina Blockchain https://ift.tt/HQ4cq8X August 3, 2023 at 11:51PM

Show HN: Zep – pgvector-based memory store for LLM apps https://ift.tt/r2eByjw

Show HN: Zep – pgvector-based memory store for LLM apps Hey HN - we launched Zep's document vector DB today. Zep is an open source memory store for LLM apps, and this builds on existing chat history memory persistence, embedding, and enrichment capabilities. Zep uses Postgres and pgvector for database operations and vector search. Vector search can be complicated on Postgres, with careful configuration required at both index creation and query time. We've focused on significantly improving this developer experience. Zep automatically selects index and query parameters for developers based on best practices and known heuristics. Vector database operations are exposed via a simple Python (and LangChain) API for working with document collections, documents, and search results. While we focus on LLM App use cases, you can turn any Postgres instance with pgvector into a vector database with great DX. Our launch announcement: https://ift.tt/A54HM0l... -Daniel https://ift.tt/zYdF5Oc August 3, 2023 at 11:47PM

Show HN: Making Don Quijote accessible to Spanish learners https://ift.tt/JYjyfGw

Show HN: Making Don Quijote accessible to Spanish learners I love simple english wikipedia and I wanted to use that style of writing to make spanish books accessible to me. First I simplified the spanish[0] but simplification can't remove every word I don't know. This led me to adding the definition for words I probably wouldn't know[1]. Second simplifying the spanish ruined the magic of Don Quijote so I tried just adding definitions to the original[2]. The definitions aren't perfect but they let me stay in the flow of the text. I'm tempted to make a firefox extension to annotate any website so I can spend more time reading spanish. Let me know what you think! [0] https://ift.tt/1MXqo8z [1] https://ift.tt/x5u9gTr [2] https://ift.tt/t5BzRUi August 3, 2023 at 08:58PM

Show HN: TripClub – Plan Travel with AI https://ift.tt/C3prU8Y

Show HN: TripClub – Plan Travel with AI Hey HN! This is Will and Riley from TripClub ( https://tripclub.ai/ ). TripClub helps you plan and visualize your trips while giving you recommended itineraries to anywhere in the world based on your input. We began working on this when we couldn’t find a good solution to plan trips with friends, and found that most people we knew used something like google docs along with 24 tabs for researching places. Also, with the recent progress in generative AI, we found that we could now create detailed trips based on any input you’d like, and turn these into visually appealing itineraries. As you may have suspected, we primarily use openAI models for trip generation on the backend. We put the recommendations into an interactable map and itinerary. After creating a trip, you can add your friends so everyone can collaborate on editing the various places on your itinerary. Right now every aspect of the app is free and we hope to keep it that way. However we haven’t built in a source of revenue at the moment and are fully bootstrapped, so this could change (we plan to make revenue on hotel bookings in the future). We’re looking forward to hearing any of your comments, questions, and feedback! https://tripclub.ai/ August 3, 2023 at 09:06PM

Show HN: Learn languages through immersion with AI friends https://ift.tt/89GmBWV

Show HN: Learn languages through immersion with AI friends https://ift.tt/AeHs7mp August 3, 2023 at 07:26PM

Wednesday, August 2, 2023

Show HN: Using LLama2 to Correct OCR Errors https://ift.tt/wt5L1Dq

Show HN: Using LLama2 to Correct OCR Errors I've been disappointed by the very poor quality of results that I generally get when trying to run OCR on older scanned documents, especially ones that are typewritten or otherwise have unusual or irregular typography. I recently had the idea of using Llama2 to use common sense reasoning and subject level expertise to correct transcription errors in a "smart" way-- basically doing what a human proofreader who is familiar with the topic might do. I came up with the linked script that takes a PDF as input, runs Tesseract on it to get an initial text extraction, and then feeds this sentence-by-sentence to Llama2, first to correct mistakes, and then again on the corrected text to format it as markdown where possible. This was surprisingly easier than I initially expected thanks to the very nice tooling now available in libraries such as llama-cpp-python, langchain, and pytesseract. But the big issue I was encountering was that Llama2 wasn't just correcting the text it was given-- it was also hallucinating a LOT of totally new sentences that didn't appear in the original text at all (some of these new sentences used words which never appeared elsewhere in the original text). I figured this would be pretty simple to filter out using fuzzy string matching-- basically check all the sentences in the LLM corrected text and filter out sentences that are very different from any sentences in the original OCRed text. To my surprise, this approach worked very poorly. In fact, lots of other similar tweaks, including using bag-of-words and the spacy NLP library in various ways (spacy worked very poorly in everything I tried). Finally I realized that I had a good solution staring me in the face: Llama2. I realized I could get sentence level vector embeddings straight from Llama2 using langchain. So I did that, getting embeddings for each sentence in the raw OCRed text and the LLM corrected text, and then computed the cosine similarity of each sentence in the LLM corrected text against all sentences in the raw OCRed text. If no sentences match in the raw OCRed text, then that sentence has a good chance of being hallucinated. In order to save the user from having to experiment with various thresholds, I saved the computed embeddings to an SQLite database so they only had to be computed once, and then tried several thresholds, comparing the length of the filtered LLM corrected text to the raw OCRed text; if things worked right, these texts should be roughly the same length. So as soon as the filtered length dips below the raw OCRed text length, it backtracks and uses the previous threshold as the final selected threshold. Anyway, if you have some very old scanned documents laying around, you might try them out and see how well it works for you. Do note that it's extremely slow, but you can leave it overnight and maybe the next day you'll have your finished text, which is better than nothing! I feel like this could be useful for sites like the Internet Archive-- I've found their OCR results to be extremely poor for older documents. I'm very open to any ideas or suggestions you might have. I threw this together in a couple days and know that it can certainly be improved in various ways. One idea that I thought might be fun would be to make this work with a Ray cluster, sending a different page of the document to each of the workers in the cluster to do it all at the same time. https://ift.tt/6dOmpQg August 3, 2023 at 01:23AM

Show HN: We built swup+fragment-plugin to visually enhance classic websites https://ift.tt/D6vWdrK

Show HN: We built swup+fragment-plugin to visually enhance classic websites ## TL;DR - Progressively enhance your classic website / MPA to a single page app. - Support for fragment visits, comparable to nested routes in React or Vue. - Keep your site crawlable and indexable without any of the overhead of SSR. - No tight coupling of back- and frontend. Use the CMS / Framework / SSG of your choice. - Strong focus on interoperability with DOM-altering JS tools (think Alpine.js, jQuery, ...). - Strong focus on accessibility, even for fragment visits. ## Long Version: Best of three worlds Hi, I'm Rasso Hilber. I have been a web designer and developer since around 2004. From the beginning of my career, I always had to make tradeoffs between 3 goals when building websites: 1. The websites I build should be visually impressive, original, and snappy. 2. The websites I build should be crawlable, accessible and standards compliant. 3. The websites I build should have low technical complexity and be easy to maintain in the long run. In the beginning, I was able to achieve goals 1 (impressive!) and 3 (easy to maintain!) by using Macromedia/Adobe Flash, but due to the nature of the technology horribly failed to deliver crawlable and accessible websites. Later, I found a way to run two sites in parallel for each website I built, one using CMS-generated XHTML for crawlability, one in Flash for the visitors, fetching the data from its XHTML twin. Now I had solved goals 1 and 2, but my setup was awfully complex and brittle. Around 2010, I was relieved to see Flash finally coming to its end. I switched to building websites using PHP, HTML, and jQuery. I could now tick goals 2 (accessibility) and 3 (low complexity), but the websites I was able to build using these technologies weren't as impressive anymore. Hard page loads between every link click being one of the biggest regressions in UX from the days of Flash IMO. Around 2014/15, I first heard about the new frameworks: Angular, React, Vue. These frameworks were not intended to be used for classic websites. They were made for single-page-apps! But it felt to me like no one cared. Even when building classic websites, many developers sacrificed SEO and accessibility for a snappy experience, serving an empty `
` to the browser. I couldn't blame them; I had done the same in my early days as a Flash developer. They ticked goal 1 (impressive) and goal 3 (low complexity). But the lack of accessibility kept me from joining the movement. I was still building classic websites, after all. After some time, many started realizing that serving an empty div had downsides – SSR, hydration, and whatnot were born, now ticking goal 1 (impressive) and goal 2 (accessibility), with the trade-off of awful complexity. It reminded me a lot of my little Frankenstein's monster "Flash+XHTML," and I still didn't want to join the hype. Still, because the noise was so loud, I felt like I might be becoming obsolete, an "old man yelling at the clouds". New very interesting tools like HTMX or Unpoly popped up that looked promising at first, but at closer inspection weren't optimized for my use case either. These were primarily built for real interfaces/single-page-apps (html snippets instead of full pages, UI state independent of URLs, altered DOM saved in history snapshots, ...). I wanted to find a tiny tool, optimized for building presentational , content-driven websites with a strong focus on accessibility . Instead, after a few years of rolling my own home-grown solutions, I started using swup[0], a "Versatile and extensible page transition library for server-rendered websites". Swup consists of a tiny core and a rich ecosystem of official plugins[1] for additional functionality. It was hitting the sweet spot between simplicity and complexity, and felt like it was perfect for my use cases. Shortly after I had started using it, I became a core contributor and maintainer of swup. The only thing I was still missing to be a happy developer was the ability to create really complex navigation paths where selected fragments are updated as you navigate a site, much like nested routes allow in React or Vue. The last two months I teamed up with @daun [2] to finally solve this hard problem. The result is two things: 1. A new major release of swup (v4) that allows customizing the complete page transition process by providing a powerful hook system and a mutable visit object 2. The newly released fragment-plugin [3] that provides a declarative API for dynamically replacing containers based on rules Use cases for the fragment-plugin are: - a filter UI that live-updates its list of results on every interaction - a detail overlay that shows on top of the currently open content - a tab group that updates only itself when selecting one of the tabs - a form that updates only itself upon submission I can now finally build websites that tick all three boxes: 1. Visually impressive, fun, and snappy by using swup's first-class support for animations[4], cache[5], and preload capacities[6], enhanced with fragment visits as seen on the demo site. 2. Accessible by being able to serve server-rendered semantic markup that will fully work even with JavaScript disabled (try it out on the demo site!). On top of that, swup's a11y plugin[7] will automatically announce page visits to assistive technologies and will focus the new `
` element after each visit. 3. Because now all I need for my fancy frontend is a bit of progressive JavaScript, I can choose whatever tool I like on the server, keeping complexity low and maintainability high. I can use SSGs like eleventy or Astro (the demo site is built using Astro!), I can use any CMS like WordPress or ProcessWire, or a framework like Laravel. And I don't have to maintain an additional node server for SSG! The plugin is still in it's early stages, but I have a good feeling that this finally is the right path for me as a web developer. All it took was 20 years! ;) [0] https://ift.tt/dHK8hNx [1] https://ift.tt/jahtk8T [2] https://github.com/daun [3] https://ift.tt/7mYd8kJ [4] https://ift.tt/RLa4mTH [5] https://ift.tt/dTIXx6u [6] https://ift.tt/MQFjB4C [7] https://ift.tt/WNxMFY8 https://ift.tt/d5sfZO6 August 2, 2023 at 05:45PM

Show HN: Glo Dollar – the antipoverty stablecoin https://ift.tt/17S3u0t

Show HN: Glo Dollar – the antipoverty stablecoin Hi everyone! I just shipped a crypto project which I think all of you might actually like. It’s a digital dollar that helps end extreme poverty called Glo Dollar. We're backed by Sid Sijbrandij (GitLab). How it works: 1. You buy $1 Glo Dollar for $1 USD 2. Our partners invest the $1 USD in US Treasuries 3. Revenue we make we donate to a charity called GiveDirectly.org who use it to fund basic income programs for people in extreme poverty Note that you can _always_ redeem your $1 Glo Dollar for $1 USD again. We’re doing this because we believe stablecoins are a public good and should be managed as one. At the moment, the two big stablecoin companies are making record profits for a tiny group of shareholders instead. Tether, the issuer of USDT, shared profits of ~$1.5 billion in Q1 on assets under management of ~60 billion, with just ~50 people on staff. Even though its success is mostly attributable to the ecosystem’s adoption. Glo Dollar seeks to radically change this dynamic by repurposing its revenue to a good cause rather than risk/profit-seeking shareholders. At scale, we could lift millions of people out of extreme poverty. So even if you loathe crypto, we hope you at least appreciate what we’re trying to achieve. Very curious what y’all think :-)! https://ift.tt/dMVmnzW August 2, 2023 at 11:52PM

Tuesday, August 1, 2023

Show HN: Bookmarklet to open any web page in archive.is https://ift.tt/puSg5MK

Show HN: Bookmarklet to open any web page in archive.is This will bypass most paywalls. Simply make a new bookmark, edit it and paste in this code: javascript:(()=>{var url="https://archive.is/"+encodeURI(window.location.protocol + "//" + window.location.hostname + window.location.pathname); window.open(url, "_blank");})(); August 2, 2023 at 12:50AM

Show HN: Magic Loops – Combine LLMs and code to create simple automations https://ift.tt/oImaE1f

Show HN: Magic Loops – Combine LLMs and code to create simple automations Howdy! We built this as an experiment in personal-programming, combining the best of LLMs and code to help automate tasks around you. I personally use it to track the tides and get notified when certain conditions are met, something that pure LLMs had trouble dealing with and pure code was often too brittle for. We created it after getting frustrated with the inability of LLMs to deal with numbers and the various hoops we had to jump through to make ChatGPT output repeatable. At the core, Magic Loops are just a series of "blocks" (JSON) that can be triggered with different inputs (email, time, webhook), then operate on those inputs using a combination of LLMs and code, and then output those results (email, text, webhook). Under the hood, the LLM calls are using GPT-4 via OpenAI and the code is run in sandboxed (no internet) Docker containers in AWS. You have full control over each step of the loop, but you can also create (or attempt to create) a Magic Loop by simply describing what you want. We use GPT-4 to break that request into feasible steps, and then create a Magic Loop scaffold. Of course, you should still validate the loop before publishing it! We've seen some neat use cases already: - "Text me when the tide is less than 1ft between 7am and 7pm at Fort Funston" - "Summarize an email using this format and forward it to this address" - "Text me every time our store does more than $1000/day in volume on Shopify" - "Take specific data from Cloudflare, format it, and send it to Mixpanel every hour" We hope you enjoy what's essentially an experiment at this point. If folks like the concept, we're thinking about open sourcing it so you can run the loops locally with the code runtimes you wish (rather than in our code runners). Let us know what you think, and more importantly, what you wish to build or automate! Cheers, Adam & Mihai https://magicloops.dev August 1, 2023 at 10:27PM

Show HN: What you can do with 35 bytes of HTML and a single CSS file? https://ift.tt/BCMaoAD

Show HN: What you can do with 35 bytes of HTML and a single CSS file? Hi! Minimal code required to render an contentful and styled HTML page with CSS consists of these 35 bytes: In the submitted link I try to share with you how it works and what are the limitations of this hack I hope you have some fun with it :) Thanks Repo: https://ift.tt/qPwfyK1 https://ift.tt/e9iUjBu August 2, 2023 at 01:12AM

Show HN: IdentityLM, cryptographic proof of identity via language model output https://ift.tt/8hCaiy9

Show HN: IdentityLM, cryptographic proof of identity via language model output Hi HN, IdentityLM allows you to create text from a language model that is statistically signed by you, in a way that is computationally very hard to replicate, and computationally very easy to verify. It builds on current research around logit biasing, statistically advantaging certain tokens in a deterministic way. That research focuses on watermarking language model output to identify the model it came from. A really good paper about this idea was just awarded outstanding paper at ICML - https://ift.tt/u4MeHEh . I’ve basically taken that research and interpreted it in the context of public key cryptography. The readme of the github repo is basically small white paper describing how it works. Why should you care? First of all, we can fight scams and deepfakes with it which I know everyone is worried about with generative models becoming so good at simulating a politician, or writing convincing phishing emails and so on. Using speech-to-text it could also verify phone identities. Second, it’s allows transferable identity and trust across any internet platform. You can prove who you are anywhere, and link different profiles, just with natural text. Third, it allows extra encryption around pretty much anything. It adds an extra layer of proof to any interaction or communication. Love to have any comments or feedback! https://ift.tt/iNg3lSR August 2, 2023 at 01:06AM

Show HN: Your Open Source CV https://ift.tt/oy07MA5

Show HN: Your Open Source CV Hi HN! We launched Ringer last year and have been working hard on new features to support creators in Open Source. Today we're launching the Open Source CV. This is your complete history of contributions from GitHub in an easily shareable format. We're also making the code for the CV open source so that you can self-host: https://ift.tt/jJ91AXr Always happy to hear thoughts and suggestions! https://ift.tt/xnrt6qh August 1, 2023 at 07:39PM

Monday, July 31, 2023

Show HN: Web simulation of POP-CORN time service https://ift.tt/FizGxc0

Show HN: Web simulation of POP-CORN time service This replicates the experience of calling POP-CORN and having the current time read out by an Audichron. There is no commercial value here. It’s just some tech “art” for nostalgia purposes along with some history of popcorn. https://7672676.io/ August 1, 2023 at 09:24AM

Show HN: An MIT-licensed ChatGPT plugin that loads and edits files locally https://ift.tt/y4WcNRm

Show HN: An MIT-licensed ChatGPT plugin that loads and edits files locally https://ift.tt/5qRYVXc August 1, 2023 at 08:52AM

Show HN: Socket web extension – free NPM supply chain protection https://ift.tt/k5DtWgf

Show HN: Socket web extension – free NPM supply chain protection Hey HN, I'm Arjun, an 18-year-old intern at Socket. I've been working on a project that I'm really excited to share with you all - a browser extension that makes it easier to check the security of NPM packages before you use them. You can try the extension on any Chromium-based browser or on Firefox. - Chrome extension: < https://chrome.google.com/webstore/detail/socket-security/jb... > - Firefox add-on: < https://addons.mozilla.org/en-US/firefox/addon/socket-securi... > Socket scans NPM packages for malware, vulnerabilities, code smell, and unwanted behavior using AI and some very powerful in-house static analysis we've been perfecting over the last 2 years. As the primary developer of Parcel.js' web extension transformer (< https://parceljs.org/recipes/web-extension/ >), I thought it would be cool to use my own work on Parcel to create a useful extension during my internship at Socket. The extension displays scores alongside each package indicating quality, security, maintenance, and other useful metrics. It also tells you if a package accesses the network when it shouldn't need to, or if it runs malware in an install script. You can learn more about its features in my blog post: < https://socket.dev/blog/socket-web-extension > Feel free to ask any questions you have about Socket, the extension or even my work on Parcel. Excited to hear your feedback! - Arjun https://ift.tt/AjcV4Y9 August 1, 2023 at 04:23AM

Show HN: CocktailCMS – in-browser database with no login or servers required https://ift.tt/8eVf317

Show HN: CocktailCMS – in-browser database with no login or servers required During the lockdown in 2020, my girlfriend, an enthusiastic mixologist, needed a tool to organize her cocktail recipes and visualize the data. Traditional spreadsheets weren't cutting it due to the deeply nested data, and this struggle led me to create 'CocktailCMS'. Drawing inspiration from old-school databases like DBase, FoxPro, and MS Access, CocktailCMS is a browser-based database with features such as linking datasets and sub-tables. It's designed for local data storage in JSON format, but there's an option to sync with Google Drive for backup. Data can be exported in CSV and easily copy-pasted into visualizers. To give you an idea of what it can do, I've included two example datasets: a Game of Thrones one and another one on Mixology. The project is currently built in JS + Vue2. However, it does need a bit of renovation due to tech rot. I'm contemplating an upgrade to TS + Vue3, and also want to open source the project. But before I embark on this, I'm curious to gauge the community interest. Your feedback and suggestions are much appreciated! https://ift.tt/Bce20Ds August 1, 2023 at 04:50AM

Show HN: A Girl Next Door Does Not Exist (NSFW) https://ift.tt/wNtK8QJ

Show HN: A Girl Next Door Does Not Exist (NSFW) Warning: NSFW. I'm posting this from a throwaway. Note that on HN favorites are public, but upvotes are private. Porn seems like it'll be one of the big areas of ai in the short term. There've been multiple threads and comments about AI + Onlyfans and AI + porn and AI girlfriends on HN recently ( https://ift.tt/VMbNrDt , https://ift.tt/c2M70qE , https://ift.tt/ZCxfjWm ). I've heard that porn is the industry that pushes new technology forward - VHS, bluray, highly scalable video serving. I made a site compiling together some of the AI porn that I made with the help of some people on Discord over the past few months. I don't think AI will get rid of onlyfans. People spend on onlyfans for more than just the images. I do think people will have access to unlimited image and video porn at some point in the coming decade, which will definitely change the porn industry. The site shows what's possible with AI porn today - images both sfw and nsfw, audio, text, and some moving images. There's even more possible than just what's on the page, with lots of people are playing around with making animated gifs that are nsfw, there'll be animated 3d nsfw avatars, and so on. So the site isn't comprehensive at all. But it's still quite interesting. https://ift.tt/ev0dy4R August 1, 2023 at 04:04AM

Show HN: Openexus – Building blocks for the internet https://ift.tt/YqI8TPo

Show HN: Openexus – Building blocks for the internet Hi HN! We are thrilled to share a sneak peek of https://openexus.com after months of work. You can try out the cool demos on the front page! The idea is to build a platform and community for composable building blocks where anyone can easily create, find and connect different modules to create dynamic and interactive apps, sites, dashboards, and docs. This can be done without using a single line of code. Key principles of what we are building: 1) True composability that enables infinite possibilities — Modules today are either too complex to be used only by developers (e.g. NPM packages) or too simplistic where they are usually used as an embed in isolation. We are establishing a modularization foundation that is powerful enough for developers to express functionalities, simple enough for anyone (even kids) to use, and flexible enough to build sophisticated creations. 2) Smart connect without code — All logic can be clearly expressed by simply drawing lines. Depending on the data type and other characteristics of the connector, we can figure out how the connection should behave. For example, triggers can only be connected to actions, and data connectors that fetch from APIs can be defined as directional read-only connectors. 3) Open-connections for instant forking — Forking today is a time-consuming complex endeavor. Even a simple change requires many layers of code understanding. Instead of open-source code, we see a future of open-source connections, where remixing simply means adding new blocks and re-wiring them. What we are building can be described as NPM for non-developers, connectable Lego blocks for the Internet, or Minecraft for non-game creations. Our focus is to create a community where we can share ideas and innovations. We are super excited about the possibilities of this platform, especially when we incorporate AI. We will be releasing tutorials, opening up the playground, and sending out invites in the coming weeks. If you are eager to try out our tooling and create your own building blocks, drop us an email! We would love to hear your feedback! Website: https://openexus.com Email: m@openexus.com July 31, 2023 at 08:29AM

Show HN: YakshaLisp – Macros for Yaksha and Lisp Dialect https://ift.tt/4pm69ac

Show HN: YakshaLisp – Macros for Yaksha and Lisp Dialect YakshaLisp is a sub-language embedded in Yaksha compiler. Allowing you to do things like below (fizzbuzz). macros!{ (defun to_fb (n) (+ (if (== n 1) "" " ") (cond ((== 0 (modulo n 15)) "FizzBuzz") ((== 0 (modulo n 3)) "Fizz") ((== 0 (modulo n 5)) "Buzz") (true (to_string n)) ))) (defun fizzbuzz () (list (yk_create_token YK_TOKEN_STRING (reduce + (map to_fb (range 1 101)))))) (yk_register {dsl fizzbuzz fizzbuzz}) } def main() -> int: println(fizzbuzz!{}) return 0 This is available in latest release - https://ift.tt/XATF6xd (I recommend using release.py in compiler/scripts if you want to locally compile it) Few more examples: - embedding a text file macros! { (defun load_string (file) (list (yk_create_token YK_TOKEN_STRING (io_read_file (map_get file "value"))))) (yk_register {dsl load_string load_string}) } def main() -> int: println(load_string!{"test.txt"}) return 0 - importing a macro import import_me as magic def main() -> int: println(magic.counter!{}) println(magic.counter!{}) println(magic.counter!{}) return 0 Looking for ideas/advice/criticism :) https://ift.tt/mHwdu6R July 31, 2023 at 04:30PM

Sunday, July 30, 2023

Show HN: LearnLingo – Converse with an AI-powered language tutor https://ift.tt/VCDfiLR

Show HN: LearnLingo – Converse with an AI-powered language tutor Hey folks! I'm Callum, and I'm working on a way to practice a new language with an AI powered tutor. I've always found that the hardest part of learning a new language is finding someone to actually converse with. Even if a partner can be found, the pressure can mean that you are more focused on not making mistakes than on actually learning new grammar or vocabulary. The service that I have been working on allows you to practice with a language tutor via online chat messages, or you can have a turn-based voice conversation. I'm working on a number of other features that will be coming out shortly, including a few games for practising pronunciation and listening skills, as well as a plan to release some lesson plans for specific languages later on. Have a try, and let me know if you have any feedback! https://ift.tt/P3J96l5 July 31, 2023 at 11:06AM

Show HN: pff - Modern ping alternative to check your internet connection quality https://ift.tt/UDNYB8g

Show HN: pff - Modern ping alternative to check your internet connection quality Hi, you can examine your internet connection quality and status in terminal using this small tool I created last year See a preview on asciinema: https://ift.tt/LceCOgl I hope you find it useful. Thanks :) https://ift.tt/tqh7KAy July 31, 2023 at 01:45AM

Show HN: Formula8.ai – A formula-based approach to AI prompts https://ift.tt/Zk13qgL

Show HN: Formula8.ai – A formula-based approach to AI prompts We just launched our new product, which we developed ourselves out of the need to have a better abstraction layer for ChatGPT. Yes, we know; another AI content tool. As a marketing agency, we produce different types of content such as newsletters for large public companies. We found ourselves typing the same prompts over and over again, even though the structure was often very similar or identical, except for the actual content or topic. Formula8 offers us an easy way to develop parameter-based prompts for this and combine them in templates and make them smarter with helper functions, such as automatically crawling the content of an external URL for article teaser excerpts. Frankly, we didn't really plan to turn it into a real product originally, but since our team adapted it super fast and we can certainly give those who have the same problem a useful tool with it, we're introducing it today. Happy if it seems to be helpful to anybody and to collect your input or ideas. https://www.formula8.ai July 31, 2023 at 02:27AM

Show HN: Single-Instruction (Subleq) Programming Game https://ift.tt/TdlLb9i

Show HN: Single-Instruction (Subleq) Programming Game https://ift.tt/qGEoQ1D July 31, 2023 at 03:34AM

Show HN: FFmpeg and Replit for C Programmers https://ift.tt/ZGP2CFt

Show HN: FFmpeg and Replit for C Programmers Hey guys, I made an online course teaching FFMPEG C API. We turn FFMPEG command line text into actual C code. https://ift.tt/BzxpuSN July 31, 2023 at 01:07AM

Show HN: YakshaLisp – Lisp dialect and macros for Yaksha lang https://ift.tt/s9PvcXT

Show HN: YakshaLisp – Lisp dialect and macros for Yaksha lang YakshaLisp is a sub-language embedded in Yaksha compiler. Allowing you to do things like below. See the link for updated documentation. What is your opinion about lisp dialect for defining macros in a off-side rule language? # ╔═╗┌─┐┌┬┐┌─┐┬┬ ┌─┐ ╔╦╗┬┌┬┐┌─┐ # ║ │ ││││├─┘││ ├┤ ║ ││││├┤ # ╚═╝└─┘┴ ┴┴ ┴┴─┘└─┘ ╩ ┴┴ ┴└─┘ # ╔═╗┬┌─┐┌─┐ ╔╗ ┬ ┬┌─┐┌─┐ # ╠╣ │┌─┘┌─┘ ╠╩╗│ │┌─┘┌─┘ # ╚ ┴└─┘└─┘ ╚═╝└─┘└─┘└─┘ macros!{ (defun to_fb (n) (+ (if (== n 1) "" " ") (cond ((== 0 (modulo n 15)) "FizzBuzz") ((== 0 (modulo n 3)) "Fizz") ((== 0 (modulo n 5)) "Buzz") (true (to_string n)) ))) (defun fizzbuzz () (list (yk_create_token YK_TOKEN_STRING (reduce + (map to_fb (range 1 101)))))) (yk_register {dsl fizzbuzz fizzbuzz}) } def main() -> int: println(fizzbuzz!{}) return 0 This is available in latest release - https://ift.tt/XATF6xd (I recommend using release.py in compiler/scripts if you want to locally compile it) https://ift.tt/mHwdu6R July 30, 2023 at 10:06PM

Show HN: QUnitX – Oldest, flexible JavaScript test API in Deno, node and browser https://ift.tt/RCveKEs

Show HN: QUnitX – Oldest, flexible JavaScript test API in Deno, node and browser https://ift.tt/knJyUvf July 30, 2023 at 05:38PM

Show HN: Sshield, a secure(r) SSH agent written in Rust https://ift.tt/ZaxbU1F

Show HN: Sshield, a secure(r) SSH agent written in Rust sshield is a drop-in SSH agent replacement written in Rust which stores keys in an encrypted SQLite database instead of in ~/.ssh. I opted to use russh, which is a Rust implementation of the SSH protocol and ssh-agent for greater memory safety. It allows importing settings and keys from OpenSSH as well as creating, updating, showing and deleting keys. Whenever a program requests using the key for signing, a prompt is displayed to the user for confirmation. This way: 1. Your keys don't get leaked (unless the server process' memory is dumped, but that requires root on *nix systems) 2. Your keys don't get misused and inadvertedly sign something malicious. It is still a work in progress, but I've been able to switch with fairly minor inconveniences that are just the result of not having it globally installed. The repo will soon have a Nix overlay or package output with all the right settings enabled for daily production usage. Other planned features include using one of the Linux sandboxing APIs, like Landlock or seccomp to further lock down server process to reduce the chance of an RCE being triggered and a way to store the database on different cloud storage mediums so you can use their ACLs to further lock down access to the database and back up keys simultaneously. https://ift.tt/NS60pgo July 30, 2023 at 11:06AM

Saturday, July 29, 2023

Show HN: AI Powered Markdown Editor for tech writers https://ift.tt/jBVAxUS

Show HN: AI Powered Markdown Editor for tech writers https://mdedit.ai/ July 30, 2023 at 08:20AM

Show HN: Llama2.ipynb https://ift.tt/9nAdPGQ

Show HN: Llama2.ipynb https://ift.tt/F1jXuE8 July 30, 2023 at 03:07AM

Show HN: Scribe – android dictaphone with speech recognition on device https://ift.tt/TY68LMX

Show HN: Scribe – android dictaphone with speech recognition on device Dear HN community! We are developing Scribe - dictaphone with speech recognition on device. On device means - audio is not sent to any cloud and stays on your phone, so it is private. The neural network runs right on the CPU of your smartphone. The app is free, there are no limits or fees based on transcription hours, one can transcribe 24/7 and pay only for electricity. This is actually a demo of our SDK, which we offer to businesses to embed in their applications, and it will stay always free for private users. It is like Google Recorder, but unlike Otter.ai or other transcribing apps based on Google Assistant. https://ift.tt/t9RXeG1... Some of the features: - record to wav, flac, aac and transcribe in real-time - transcribe from audio/video files - share to and from Scribe - access records and texts easily from file system Some of the possible uses: - transcribing lectures/trainings - court hearings - medical/psychological interviews - journalist interviews https://ift.tt/9oWHlwN July 29, 2023 at 07:22PM

Show HN: Gogit – Just enough Git (in Go) to push itself to GitHub https://ift.tt/B7O5bSq

Show HN: Gogit – Just enough Git (in Go) to push itself to GitHub https://ift.tt/YhrIdu7 July 30, 2023 at 02:04AM

Show HN: This blog post shows its Hacker News score https://ift.tt/57CPS4h

Show HN: This blog post shows its Hacker News score https://ift.tt/Yz9sr46 July 29, 2023 at 02:59PM

Show HN: An app to help you stay Focused https://ift.tt/8VkpizP

Show HN: An app to help you stay Focused I built this app in less than 4 hours over a busy and noisy weekend to help me stay focused while studying, during my college days. Since then I have been maintaining this open source project. Its been quite a fruitful and enjoyable ride. Hope you all like it :) https://ift.tt/yPnfSro July 29, 2023 at 12:08PM

Friday, July 28, 2023

Show HN: Heimdall ML - Democratizing access to machine learning https://ift.tt/gnts1BG

Show HN: Heimdall ML - Democratizing access to machine learning https://ift.tt/o0kyw4H July 29, 2023 at 02:52AM

Show HN: Worst programming language written in less than an hour https://ift.tt/CklpWhU

Show HN: Worst programming language written in less than an hour Unfinished side project inspared by JavaScript It's just a stupid interpeter for my poor language https://ift.tt/3VCn2bX July 29, 2023 at 01:32AM

Show HN: Rubbrband – Evaluating generated images at scale https://ift.tt/WD0kNgb

Show HN: Rubbrband – Evaluating generated images at scale Hey HN! We’re the founders of Rubbrband ( https://ift.tt/GNoJ1pU ), a evaluation platform for image generation models like Stable Diffusion. We provide a monitoring application to detect deformed human features in AI generated images at scale. For example, we automatically flag images of people with deformed eyes or hands. We’ve worked with several companies leveraging generative image models in production, and found that one of the main problems is that it’s hard to filter images for good quality sample at scale. Typically, teams will have to manually look through the images for these samples, which is slow and expensive. We wanted to build a monitoring solution that lets you to see all of the images you’ve generated, and to automatically be alerted when an image was generated with a deformity. We’ve started by building evaluators that detects deformities in human features, like face and hands. We’re focused on expanding rapidly into build evaluators for other types of images, like gaming and design assets. We charge using a storage-based pricing model. Rubbrband costs 5¢ per image to use, with your first 1000 images uploaded free. We’d love to hear your thoughts and critiques, if you have any feature requests please let us know! July 28, 2023 at 11:07PM

Show HN: Diffusion Models for Greeting Cards https://ift.tt/kydIrfZ

Show HN: Diffusion Models for Greeting Cards https://yoohoo.cards July 29, 2023 at 12:04AM

Show HN: Trout – relay webhook events and listen to them locally https://ift.tt/biy6sQS

Show HN: Trout – relay webhook events and listen to them locally Today, the apps we build use a LOT of APIs, including Stripe for payments, Clerk for auth, Twilio for messaging and more. But receiving these webhook events to keep our own data synchronized has traditionally been a big hassle. The problem applies to both prod and dev. In prod, we need a reliable way to subscribe to these events and deliver them to their eventual destination. In dev, we need a way to test against these events locally. The existing products in this space include ngrok, HookDeck, Convoy and others. They are all great, but they have some caveats. For one, ngrok doesn't provide stable URLs for webhook development unless you fork over money for a paid plan. For an indie/hobbyist developer just trying to test their app, this can be a non-starter. Meanwhile, HookDeck and Convoy are full-fledged webhook relays which can be complicated to use. Trout is a simpler way to do webhook development. You can create sources and plug them into your external services e.g. Stripe. Then, you can forward these events anywhere. Trout also comes with a CLI you can install and use to listen to events on any source. This makes developing on localhost easy. All feedback is welcome! https://trout.run July 28, 2023 at 11:39AM

Thursday, July 27, 2023

Show HN: Envoy playground in the browser https://ift.tt/IAg9M5B

Show HN: Envoy playground in the browser Hey HN, We made an Envoy Proxy playground [0] so we could test out our Envoy configs directly in the browser. This is based on Julia's work with Nginx Playround. [1] We forked that repo and added more Envoy to it. [2] Check it out! [0] - Envoy is a popular programmable proxy similar to Nginx or HAProxy that is popular with cloud-native setups: https://ift.tt/tLEGKni [1] - https://ift.tt/yZNphKO [2] - https://ift.tt/qj6gw0y https://ift.tt/scbIDMZ July 28, 2023 at 01:29AM

Show HN: Diablo 2 runeword calculator in C++ using wxWidgets https://ift.tt/MZazCFQ

Show HN: Diablo 2 runeword calculator in C++ using wxWidgets I have programmed this a few years ago and I use it while playing. I decided to publish it because it might be useful to others. Feel free to give feedback! I am also interested in people who have used QT and wxWidgets, because I have never really used QT and would like to know about pros and cons of QT vs wxWidgets! https://ift.tt/K85U2vl July 28, 2023 at 04:16AM

Show HN: I built a Chrome extension that detects logical fallacies using GPT-4 https://ift.tt/6WbSCnu

Show HN: I built a Chrome extension that detects logical fallacies using GPT-4 Code base is here https://ift.tt/dVnJcYI Screenshots and learnings in tweet https://twitter.com/clairefroe/status/1684692302843838464?t=... I experimented with a "Bring your own API Key" approach that I think is sufficiently secure. I'll Venmo $50 to whoever can hack my OpenAI API key https://twitter.com/clairefroe/status/1684692302843838464 July 28, 2023 at 04:30AM

Show HN: lilo, A CLI to download GCP logs to a SQLite db https://ift.tt/4lAP12d

Show HN: lilo, A CLI to download GCP logs to a SQLite db https://ift.tt/nacN6le https://ift.tt/nacN6le July 28, 2023 at 01:58AM

Wednesday, July 26, 2023

Show HN: Emaction – GitHub styled emoji reaction for blogs https://ift.tt/hWvab8y

Show HN: Emaction – GitHub styled emoji reaction for blogs Just For Fun. https://ift.tt/GFUpgMl July 27, 2023 at 08:20AM

Show HN: Litellm – simple library to standardize OpenAI, Cohere, Azure LLM I/O https://ift.tt/L4vAMtz

Show HN: Litellm – simple library to standardize OpenAI, Cohere, Azure LLM I/O I built this library because langchain was too bloated and I needed a simple abstraction to call multiple LLM APIs. litellm has two functions - completion(), embedding() https://ift.tt/1Akub6q July 27, 2023 at 07:01AM

Show HN: The place to learn any topic, quickly https://ift.tt/Km42QXg

Show HN: The place to learn any topic, quickly Hi HN, we’re building deriveit.org, the website where you can learn any topic, quickly. On our website, you pay to ask any physics, computer science, or math question, and our community competes to give you the best explanation (for a cash reward). Right now, resources with high quality content are a time drain (papers, textbooks, and courses). We think that material is typically written in an unnecessarily hard-to-read way, but that there are tons of people who are passionate about explaining it well to others. We want to give the world access to those people, and remove barriers for them to answer questions and write content. I'm writing to encourage you to try us out, if you’re interested - ask a question on a topic you always wanted to learn (we added a free mode so you don't have to pay or sign in), and we’ll give you a condensed, easy-to-read explanation. Or write about the intuitions that you have, which you know you won’t find anywhere else online. We’re obviously in the early stages, and are very open to feedback. https://ift.tt/JSD296t July 27, 2023 at 05:27AM

Show HN: Interactive and lightweight map of NYC's Restaurant Week https://ift.tt/63jCKIs

Show HN: Interactive and lightweight map of NYC's Restaurant Week I found the official website https://ift.tt/NJnk5cI slow and tedious to navigate, so I hacked together a fast, filterable map to showcase the participating NYC restaurants during Restaurant Week. It's in pure HTML, CSS, and JS, and it uses Leaflet for mapping and a utility JS file for the searchable multi-select input. If you're interested, check out the unminified source code by right-clicking and selecting "view source". The full source is available here: https://ift.tt/GjRlgJu . https://nyc.jimoapp.com July 27, 2023 at 01:04AM

Show HN: Continue (YC S23) – Open-source coding autopilot https://ift.tt/PnvFWaE

Show HN: Continue (YC S23) – Open-source coding autopilot Hi HN, we’re Nate and Ty, co-founders of Continue, an open-source autopilot for software development built to be deeply customizable and continuously learn from development data. It consists of an extended language server and (to start) a VS Code extension. Our GitHub is https://ift.tt/FElIWnC . You can watch a demo of Continue and download the extension at https://continue.dev — — — A growing number of developers are replacing Google + Stack Overflow with Large Language Models (LLMs) as their primary approach to get help, similar to how developers previously replaced reference manuals with Google + Stack Overflow. However, existing LLM developer tools are cumbersome black boxes. Developers are stuck copy/pasting from ChatGPT and guessing what context Copilot uses to make a suggestion. As we use these products, we expose how we build software and give implicit feedback that is used to improve their LLMs, yet we don’t benefit from this data nor get to keep it. The solution is to give developers what they need: transparency, hackability, and control . Every one of us should be able to reason about what’s going on, tinker, and have control over our own development data. This is why we created Continue. — — — At its most basic, Continue removes the need for copy/pasting from ChatGPT—instead, you collect context by highlighting and then ask questions in the sidebar or have an edit streamed directly to your editor. But Continue also provides powerful tools for managing context. For example, type ‘@issue’ to quickly reference a GitHub issue as you are prompting the LLM, ‘@README.md’ to reference such a file, or ‘@google’ to include the results of a Google search. And there’s a ton of room for further customization. Today, you can write your own - slash commands (e.g. ‘/commit’ to write a summary and commit message for staged changes, ‘/docs’ to grab the contents of a file and update documentation pages that depend on it, ‘/ticket’ to generate a full-featured ticket with relevant files and high-level instructions from a short description) - context sources (e.g. GitHub issues, Jira, local files, StackOverflow, documentation pages) - templated system message (e.g. “Always give maximally concise answers. Adhere to the following style guide whenever writing code: ”) - tools (e.g. add a file, run unit tests, build and watch for errors) - policies (e.g. define a goal-oriented agent that works in a write code, run code, read errors, fix code, repeat loop) Continue works with any LLM, including local models using ggml or open-source models hosted on your own cloud infrastructure, allowing you to remain 100% private. While OpenAI and Anthropic perform best today, we are excited to support the progress of open-source as it catches up ( https://ift.tt/VLuOAYF... ). When you use Continue, you automatically collect data on how you build software. By default, this development data is saved to `.continue/dev_data` on your local machine. When combined with the code that you ultimately commit, it can be used to improve the LLM that you or your team use (if you allow). You can read more about how development data is generated as a byproduct of LLM-aided development and why we believe that you should start collecting it now: https://ift.tt/7vBWEON... Continue has an Apache 2.0 license. We plan to make money by offering organizations a paid development data engine—a continuous feedback loop that ensures the LLMs always have fresh information and code in their preferred style. — — — We’d love for you to try out Continue and give us feedback! Let us know what you think in the comments : ) https://ift.tt/FElIWnC July 26, 2023 at 11:34PM

Show HN: I built a monitor for AMC movie tickets https://ift.tt/YFiTlCr

Show HN: I built a monitor for AMC movie tickets Reverse engineered the AMC GraphQL API to monitor for tickets to Oppenheimer, but the code should be fairly easy to modify to monitor other movies / formats / theatres. This was just a fun weekend project between a concert, Yankees game, and seeing the movie myself. I'm monitoring AMC Lincoln Square over at https://twitter.com/OppenheimerTix if you live in or near NYC and want to see the movie in 70MM, which I would highly recommend. https://ift.tt/65XYUSd July 27, 2023 at 01:12AM

Show HN: A glTF to HTML5 Zip Converter https://ift.tt/QPp21tf

Show HN: A glTF to HTML5 Zip Converter For everyone graphically and visually talented people there's now a converter that lets you render gltf 3d models in a web site of your choice. How it works is that you post your gltf model to a hosting space of your choice, and let our web service know the url to the gltf file. Then web service generates a zip file that has 3d engine included and unzipping it to your hosting space directory (again the same operation) lets you display the 3d model in a web page. Final touches come with ordinary embed tag which just need to find the index.html that was stored in the zip file and specify the size of the canvas with width/height tags. Embed allows you to include instance of 3d engine to your own articles and web pages. https://ift.tt/Pqs2N3C July 26, 2023 at 10:14AM

Show HN: I built a multiplayer Gameboy https://ift.tt/yo8ltqT

Show HN: I built a multiplayer Gameboy Still very much a work in progress, but really wanted to share this even in it's early state. Had heaps of fun building it to learn more about WebRTC. https://ift.tt/Th4N35j July 26, 2023 at 05:03PM

Show HN: Django Admin Site Customization Tutorial https://ift.tt/XiRubZn

Show HN: Django Admin Site Customization Tutorial https://ift.tt/HOenjvI July 26, 2023 at 05:07PM

Tuesday, July 25, 2023

Show HN: Shell AI – My Aggressively Minimal Open Source Assistant https://ift.tt/GiUCKyv

Show HN: Shell AI – My Aggressively Minimal Open Source Assistant https://ift.tt/vgqW3bG July 25, 2023 at 06:23PM

Show HN: I spent a weekend building a tool that lets you make LoRAs without code https://ift.tt/jkKs4XU

Show HN: I spent a weekend building a tool that lets you make LoRAs without code https://www.lorai.art/ July 26, 2023 at 04:29AM

Show HN: AI to analyze SEC filings (10-Ks, 10-Qs, etc.) of public companies https://ift.tt/3bxUNRO

Show HN: AI to analyze SEC filings (10-Ks, 10-Qs, etc.) of public companies https://cofinapp.com July 25, 2023 at 11:58PM

Show HN: RealAboutInstagram – a replica highlighting harmful strategies https://ift.tt/Gc3LCuq

Show HN: RealAboutInstagram – a replica highlighting harmful strategies Hello HN! I'm a creative technologist and recently decided to develop RealAboutInstagram, a replica of the current About page of Instagram replacing its content with their current harmful strategies used on the platform and the negative impacts of social media. The information on the website is extracted from resources such as the Digital Minimalism book by Cal Newport, Ted Talks, and many others that can be found in the footer. This is one of many projects for my career, and I appreciate anyone taking the time to read this and check out the website. You can check out my other projects at https://ift.tt/3Ln0za8 Thank you for your time! https://ift.tt/Xn0VGjK July 25, 2023 at 11:31PM

Monday, July 24, 2023

Show HN: Agent Protocol https://ift.tt/gMKDsjV

Show HN: Agent Protocol https://ift.tt/Zdh5csN July 25, 2023 at 02:28AM

Show HN: Twitter Logo Mad Fold-In https://ift.tt/Nifdko8

Show HN: Twitter Logo Mad Fold-In I've been watching Elon Musk's takeover of Twitter, and I've even been personally affected by it (negatively), so I wanted a way to vent using open-source software and some very basic art skills. I woke up yesterday with an idea in mind for a MAD Fold-In[1]. A MAD Fold-In is a piece of artwork on the inside-back cover of each issue of "MAD Magazine". The main image can be folded to reveal a hidden, secondary image. I wanted to share my interactive picture with others, but printing a fold-in and mailing it to friends with instructions seemed really hard, so I searched for a digital way to do it. I found a blog post[2] from Thomas Park where he already did 100% of the work necessary to make a MAD Fold-In using nothing but CSS and HTML and a normal PNG image. Using Inkscape and some Creative Commons images, I drafted a rough piece of artwork and tweaked it until the CSS folded it nicely. I wouldn't normally share here, but I think other HN readers may get some utility from seeing and trying out a purely CSS implementation of a MAD Fold-In, even if I didn't write the CSS myself. I'm hoping to start a trend where others make their own fold-ins. Moreover, Elon Musk picked today of all days to rebrand the Twitter logo as a unicode "X" character (๐•). So, the Twitter bird really _did_ die today, as happened in my MAD fold-in, making my post somewhat topical and weirdly apropos. If this post is too off-topic, please feel free to take it down. If it stays up, please let me know what you think. In the event my server goes down, I made a WayBack Machine archive of the site [3]. References: 1: https://ift.tt/oHZ67nB 2: https://ift.tt/BbgJpSZ... 3: https://ift.tt/imYN2e7... https://ift.tt/NzgGMC6 July 25, 2023 at 04:13AM

Show HN: An Open-Source Platform for Raspberry Pi with Robust OTA Updates https://ift.tt/YKFgLHR

Show HN: An Open-Source Platform for Raspberry Pi with Robust OTA Updates Over the last few weeks, I worked on a set of tools which enables (1) a modern workflow to build customized images for Raspberry Pi, (2) robust over-the-air updates with rollback support of the entire system, including firmware files, and (3) managed state which is preserved across reboots and updates. The goal is to have a reliable platform for creating Raspberry Pi-based products. The initial motivation for the project came from one of our customers who uses Raspberry Pi to control test benches for pedelecs. The entire project is open-source. Feel free to check it out and give it a try. The project is still in an early stage and I am eager to hear your thoughts and opinions. Also, feel free to ask any questions! :) https://ift.tt/TWByhsm July 24, 2023 at 06:57PM

Show HN: I built a robot that generates b-movie plots https://ift.tt/C9a3xw4

Show HN: I built a robot that generates b-movie plots It's hilarious. https://ift.tt/uaYpSHh July 25, 2023 at 01:43AM

Show HN: SiteOS – Website platform with CRM, email, and analytics https://ift.tt/0wxIhq4

Show HN: SiteOS – Website platform with CRM, email, and analytics The Demo URL is: https://ift.tt/kT9QBIe Info: https://ift.tt/2MaIjPG GitHub: https://ift.tt/OuktJN8 https://ift.tt/eMWam7I July 24, 2023 at 11:02PM

Show HN: TLA+ AutoRepair (with GPT-4) to fix formal specs and understand them https://ift.tt/EjyJItT

Show HN: TLA+ AutoRepair (with GPT-4) to fix formal specs and understand them TLA+ is a language for formal specification. It can be used to formally verify algorithms and mathematical theorems. Companies like AWS use it for verifying mission-critical parts of systems like S3. The challenge is that TLA+ and formal specifications have a steep learning curve. This tool can aid in overcoming this obstacle at the outset. TLA+ AutoRepair is used to repair/self-heal formal specifications with GPT-4 in a loop, with or without human intervention. Given a TLA+ specification (.tla file) and a model to check (.cfg), the application will go through each error, send it to GPT-4 (or specified model), and fix all errors. Finally, it will document the code to make it more readable. Example Command: python3 autorepair.py Test_Specs/Counter.tla --model=gpt-4 https://ift.tt/kshD6MO July 24, 2023 at 11:13PM

Show HN: C.O.R.E – Opensource, user owned, shareable memory for Claude, Cursor https://ift.tt/VogWu3E

Show HN: C.O.R.E – Opensource, user owned, shareable memory for Claude, Cursor Hi HN, I keep running in the same problem of each AI app “rem...