Monday, July 31, 2023

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

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/ZOeSdnj July 31, 2023 at 01:07AM

Sunday, July 30, 2023

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

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/WmaCfyZ (I recommend using release.py in compiler/scripts if you want to locally compile it) https://ift.tt/EwagltA July 30, 2023 at 10:06PM

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

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/2UWY4r3 July 30, 2023 at 11:06AM

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

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/FhdqL94

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

Show HN: Vite React Boilerplate – A Production Ready, Scalable Starter Template https://ift.tt/sEwBSU6

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://ift.tt/cZ9mGpQ July 30, 2023 at 05:19AM

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

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/GL7EMYQ... 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/JPK84kj July 29, 2023 at 07:22PM

Show HN: Core – open source memory graph for LLMs – shareable, user owned https://ift.tt/2eL9jK6

Show HN: Core – open source memory graph for LLMs – shareable, user owned I keep running in the same problem of each AI app “remembers” me i...