Sunday, 30 July 2023

Show HN: Pyflo – a free, interactive guide to learning Python https://bit.ly/3rSQOUP

Show HN: Pyflo – a free, interactive guide to learning Python TL;DR: https://bit.ly/3Ye3QIt is a free, interactive guide to learning Python Hi Everyone, I am a CS educator who has taught a variety of university courses, including many on introductory Python programming. Over the past few years, I've written down a number of Python programming lessons and has culminated into Pyflo.net. This tool is a completely free, introductory guide to learning Python. It is more-or-less an intro programming textbook, but with a few twists, including: * It is totally free. You don't even have to give me your email to use it * The lessons are short and modularized * It's interactive, containing embedded questions that provide instant feedback throughout. My hope is that this can be a useful resource for those looking to learn Python. Feel free to use yourself, or share with those you think would be interested. Feedback is very much welcome and appreciated. https://bit.ly/3Ye3QIt July 30, 2023 at 11:49PM

Show HN: YakshaLisp – Lisp dialect and macros for Yaksha lang https://bit.ly/3KfBo3q

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://bit.ly/3OAl1Rv (I recommend using release.py in compiler/scripts if you want to locally compile it) https://bit.ly/3Ki5aUU July 30, 2023 at 05:36PM

Show HN: Hear radio emissions from Earth, comets, black holes, and more https://bit.ly/3Yg1NUq

Show HN: Hear radio emissions from Earth, comets, black holes, and more https://bit.ly/3OdfCyj July 30, 2023 at 02:05PM

Saturday, 29 July 2023

Show HN: Vite React Boilerplate – A Production Ready, Scalable Starter Template https://bit.ly/3rQUGFV

Show HN: Vite React Boilerplate – A Production Ready, Scalable Starter Template Hello everyone, I’ve created this starter project for creating production ready web apps in Vite and React that I hope some might find useful. This template came about as a necessity to provide some standardization across new projects at work. A few of the initial goals when creating this project were to: - Reduce setup time - Standardize codebase with ESLint and Prettier - Improve commit messages with tools like husky, commitizen and commitlint - Improve codebase maintainability and scalability by providing a reasonable folder structure - Simplify React Component development through use of tools like Storybook - Improving codebase stability with unit and E2E tests via Vitest + React Testing Library and Playwright respectively - Ease the deployment process by providing a simple starter Dockerfile In addition to all the aforementioned goals, I also wanted to use modern tools such as React Query + Zustand for state management, React Hook Form + Zod for creating and validating forms, Tailwind CSS for building out UI’s, etc. I tried to cover everything I, and others, might need but recognize that everyones requirements are different. Luckily, this isn’t a framework so removing unneeded packages or adding new ones is as simple it would normally be. The project itself doesn’t come with a demo as its purpose is to simply provide a foundation for any new projects you might have in mind. Feedback is always welcome and I appreciate anyone willing to checkout this project. Thank you and have a great day. https://bit.ly/3O6A1oI July 30, 2023 at 12:49AM

Show HN: Scribe – android dictaphone with speech recognition on device https://bit.ly/3OxuGIv

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://bit.ly/456XEUZ... 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://bit.ly/3rTnWvO July 29, 2023 at 02:52PM

Show HN: Gogit – Just enough Git (in Go) to push itself to GitHub https://bit.ly/45avqZH

Show HN: Gogit – Just enough Git (in Go) to push itself to GitHub https://bit.ly/3YeSxQr July 29, 2023 at 09:34PM

Show HN: Makeitso – A (possibly evil) AI-powered preprocessor https://bit.ly/3Yg5RnO

Show HN: Makeitso – A (possibly evil) AI-powered preprocessor Your programming task is too hard? Too boring? Too confusing? Makeitso will "just do it" for you. https://bit.ly/3DAcjfz July 29, 2023 at 05:29PM

Show HN: LLMFlows – LangChain alternative for explicit and transparent apps https://bit.ly/47m9tZw

Show HN: LLMFlows – LangChain alternative for explicit and transparent apps Hi HN! Over the last several weekends, I've been building LLMFlows as an alternative to langchain. There's been a lot of discussion on the shortcomings of langchain in the past few weeks, but when I first tried it in March, I thought there are 3 main problems: 1. Too many abstractions 2. Hidden prompts and opinionated logic in chains which makes it hard to customize 3. Hard to debug This inspired me to try and build a framework that solves these 3 issues, and therefore I started building LLFlows with the "philosophy" of being "simple, explicit, and transparent." A few weekends later, I think I finally managed to reach a state where I feel it's ready to be shared. I would love to hear your feedback! Thank you! https://bit.ly/3OdXiVJ July 29, 2023 at 03:03PM

Show HN: ssh-tpm-agent – SSH agent for TPMs https://bit.ly/3DxnMwH

Show HN: ssh-tpm-agent – SSH agent for TPMs https://bit.ly/3OfFOrV July 29, 2023 at 02:28PM

Show HN: This blog post shows its Hacker News score https://bit.ly/3Qi5GWV

Show HN: This blog post shows its Hacker News score https://bit.ly/3Yavk1R July 29, 2023 at 10:29AM

Show HN: An app to help you stay Focused https://bit.ly/3OzGw4Q

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://bit.ly/3Oxo10Y July 29, 2023 at 07:38AM

Friday, 28 July 2023

Show HN: I built an iOS app that helps YouChoose faster https://bit.ly/476duRB

Show HN: I built an iOS app that helps YouChoose faster Hey, This is Yash here. I built YouChoose because I was confused about how to have my eggs - scrambled or as an omelet. This made me realize..... In life, we spend too much time thinking about our choices rather than making a choice. These things take up too much mental bandwidth that is better utilized elsewhere. In most circumstances, we just need to make the call - the more we delay, the more it exerts us. Input your two choices. Hit the Choose button. And that's it. There's only one caveat - you can't go back (for the same choices). YouChoose is my micro effort to introduce some randomness in people's life. I am eager to hear your thoughts and comments! https://apple.co/3rDMEzV July 28, 2023 at 01:05PM

Show HN: A Daily Drawing Challenge https://bit.ly/3Dw30x8

Show HN: A Daily Drawing Challenge https://bit.ly/47a9mjt July 28, 2023 at 10:55AM

Thursday, 27 July 2023

Show HN: Envoy playground in the browser https://bit.ly/3qgh2zY

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://bit.ly/3rJ29qp [1] - https://bit.ly/3KiZ7zt [2] - https://bit.ly/47bAmiw https://bit.ly/3OfDXDs July 27, 2023 at 08:59PM

Show HN: Diablo 2 runeword calculator in C++ using wxWidgets https://bit.ly/44JVHOy

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://bit.ly/44P3NFB July 27, 2023 at 11:46PM

Show HN: I built a Chrome extension that detects logical fallacies using GPT-4 https://bit.ly/3Qo5hSG

Show HN: I built a Chrome extension that detects logical fallacies using GPT-4 Code base is here https://bit.ly/3KdziB1 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 12:00AM

Show HN: AI-utils.js – TypeScript-first lib for AI apps, chatbots, and agents https://bit.ly/46ZY8ho

Show HN: AI-utils.js – TypeScript-first lib for AI apps, chatbots, and agents I'm building LLM (and diffusion model) apps (and agents) and was not that happy with the existing libaries. Either they take away a lot of control (especially over the prompts) or they are just the raw APIs, e.g. OpenAI. So I wrote a lib that tries to cover the middle ground and provide additional functionality (e.g. type checking and LLM abstraction) while letting you fully control the prompts etc. https://bit.ly/3OalU1I July 27, 2023 at 09:43AM

Show HN: Share your gratitude in public one sticky note at a time https://bit.ly/3QceMEv

Show HN: Share your gratitude in public one sticky note at a time Gratitude deserves to be seen. Each of us can point to individuals who've impacted our lives in significant ways. Perhaps it was a mentor who guided us, a friend who stood by us during challenging times, or a family member whose love was unwavering and unconditional. However, they don't get to hear our appreciations, especially in public. In many organizations, we've embraced the practice of expressing gratitude to our colleagues through karma points, kudos, or similar recognition. While these gestures are valuable, they often happen behind closed doors. Therefore I made this little website so that we can share our gratitude in public and inspire others to do the same. https://bit.ly/3QfHHYp July 27, 2023 at 09:13AM

Show HN: MUI Toolpad – Open-source, local-first, admin app builder https://bit.ly/3KerAq4

Show HN: MUI Toolpad – Open-source, local-first, admin app builder Hi HN, Prakhar, Jan, Pedro and Bharat here - we are excited to introduce you to our product, MUI Toolpad. It’s been more than a year since we started working on it and are glad to show it to the HN community today. Toolpad is an open-source, self-hosted internal tool builder designed for backend and full-stack developers who want to build web apps like analytics dashboards, CRUD interfaces, and utility apps quickly. Toolpad comes as a Node.js package that integrates into your backend and harnesses the speed of its drag-and-drop UI builder for the frontend. It comes with 16 pre-built Material UI components to build UI in seconds. You can also import and use external React components in the drag-and-drop builder. Toolpad runs completely locally which means you're not stuck with an online code editor or a suboptimal GitHub integration. It lets you use your own IDE and extend your existing functions to the canvas through our intuitive queries. All configuration is stored in local files which you can version-control, edit, and deploy in any way you want. You can check out our live demo [1]. If you find it useful, you can support us by giving a star on GitHub [2]. We released our public beta [3] this week. We are happy to answer any questions/feedback in the comments. [1]: https://bit.ly/3KbXPXe... [2]: https://bit.ly/3DDkg3z [3]: https://bit.ly/3rDXQfW https://bit.ly/43J35Iv July 27, 2023 at 02:18PM

Wednesday, 26 July 2023

Show HN: Litellm – simple library to standardize OpenAI, Cohere, Azure LLM I/O https://bit.ly/3Y9UoG2

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://bit.ly/3DvQcHb July 27, 2023 at 02:31AM