Thursday, August 29, 2024

Wednesday, August 28, 2024

Show HN: Skip – Build native iOS and Android apps from a single Swift codebase https://ift.tt/x6FGYu8

Show HN: Skip – Build native iOS and Android apps from a single Swift codebase Hello Hacker News. I'm Marc, one half of the team that created skip.tools. Skip is a tool that transpiles your SwiftUI iOS app into a Kotlin Jetpack Compose app, and enables you to use a single language to build a complete app that reaches the entire mobile marketplace. What it is: Skip stands in contrast to other cross-platform development tools like Flutter, React Native, and Xamarin, in that it enables the creation of genuinely native applications for both of the dominant mobile platforms. It doesn't embed a separate engine or runtime into your app, but instead lets you use pure Swift and SwiftUI to create the iOS side of the app (as per Apple's recommended best practices for creating iOS apps), and transpiles it into a pure Kotlin and Jetpack Compose app for the Android side (which is Google's recommendation for building Android apps). So your application will use platform-native controls and will automatically have all the affordances provided by the platform vendor: animations, accessibility, and future-proof evolution alongside OS updates. How it works: you build a Skip app using the same tools that you use to create a standard iOS app: Xcode, Swift, and SwiftUI. Skip augments this workflow with a Swift Package Manager plugin called "skipstone", which transpiles your Swift into Kotlin each time you build your app, and launches the Android app side-by-side with the iOS app each time you run the app. The transpilation works not just on your primary app module, but also transitively processes all your dependent SwiftPM modules, so you can break complex projects down into individually testable sub-modules containing business logic or UI code. In fact, this is how our own adaptor modules for the standard frameworks are structured: SkipFoundation adapts the Foundation framework and SkipUI adapts the SwiftUI framework, so the same familiar API can be used when building the app. And there's a GitHub ecosystem of open-source modules supporting popular frameworks, including SQLite, Firebase, Lottie, and many other common building blocks of modern apps. What it solves: Abe and I have been building apps since 2008, when we created the Stanza ebook reader. We have since worked on a number very large app projects for various companies, including Twitter, the New York Times, and Bose. We've seen all manner of attempts at cross-platform solutions using JavaScript and other languages, but in the end we've concluded that only a truly native app experience, using the tools and languages recommended by the platform vendor, will ever result in a first-class user experience. That that leaves only the prospect of writing your app twice: once in Swift or Objective-C for Apple platforms, and again in Kotlin or Java for Android. But writing the same app twice is much more than twice the effort: you need two separate skillsets, two sets of tools, and a lot of manual coordination overhead to ensure feature parity. So rather than attempting to add to the already-crowded field of cross-platform solutions, we instead approached the problem from an angle of how best to ease the process of creating two separate-yet-equivalent apps. And thus the Skip transpiler we born, and over the past year is has evolved into a fully-capable solution for creating best-in-class apps for both iOS and Android. We have a wealth of videos and documentation available at https://skip.tools , and I'll be around to field any questions that any of you might have. Thanks in advance for taking a look! Home: https://skip.tools FAQ: https://ift.tt/DusSkGU GitHub: https://ift.tt/Ceog5i7 https://skip.tools/ August 29, 2024 at 02:14AM

Show HN: Warehouse OpenAI requests to your own database https://ift.tt/Q7xMKyk

Show HN: Warehouse OpenAI requests to your own database Today we’re launching Velvet, an AI gateway for warehousing OpenAI and Anthropic requests to your PostgreSQL instance. We originally built an AI SQL editor, but realized that customers were using it to monitor their AI requests in production. We had already built an AI request warehousing tool internally to debug our SQL editor and gave some customers access. A few days into testing this idea, our pilot customer launched [1] and we began warehousing 1,500 requests per second. We worked closely with their engineering team in the following weeks, completely re-architecting Velvet for scale and additional features (such as Batch support). Along the way, other companies began seeking out Velvet to get visibility into their own LLM requests. We’re launching our AI gateway as a self-serve product today, but our pilot customers are already warehousing over 3 million requests per week - so the system is stable and performant. What makes Velvet unique is that you own the data in your own database. Also, we’re the first proxy that gives visibility into OpenAI batch calls - so you can observe and monitor async calls that save you money. Some technical notes: - Supports OpenAI and Anthropic endpoints - Data is formatted as JSON and logged to your own PostgreSQL instance (can add support for other databases for paying customers). - You can include queryable metadata in the header, such as user ID, org ID, model ID, and version ID. - Built on Cloudflare workers, which keeps latency minimal (using our caching feature will reduce latency overall) - Built for security + starting process of SOC II soon Why warehouse your requests? - Understand where money is spent. Use custom headers to calculate the cost per customer, model, or service. - Download real request/response data, so you can evaluate new models (e.g., re-running requests with a cheaper mini model) - Monitor time to completion of batch jobs. (e.g., OpenAI says 24 hours, but our customers average 3-4 hours) - Export a subset of example requests for fine-tuning It’s just a 2 line code change to get started. Try a sandbox demoing the logging proxy here: https://ift.tt/voPtWJD More details in our docs https://ift.tt/bOnFAZh [1] https://ift.tt/YqDTEnC https://ift.tt/gf49epa August 28, 2024 at 10:21PM

Tuesday, August 27, 2024

Show HN: Live Subtitles for Any App on Mac https://ift.tt/Tcpfbhn

Show HN: Live Subtitles for Any App on Mac I’m non-native English Speaker and i’m so tired of saying “Say it again” on online calls. Especially if it is Indian or Scottish Accent. And moreover if it is some really serious interview. That’s why i built Subtitly - Live Subtitles for any app on macOS. Few things about subtitly: - Subtitles are in Mac’s notch ⇒ you always look into the camera - They are really fast and reliable (2-3% Word Error Rate) - On-device AI ⇒ Offline & Private - Works in any app ⇒ Watch twitch streams with subs or calls in discord with subs. Here is the demo how it works: https://ift.tt/x0OpjvL August 27, 2024 at 09:24PM

Monday, August 26, 2024

Show HN: Find out if your area could be affected by a nuclear event https://ift.tt/at4QKH3

Show HN: Find out if your area could be affected by a nuclear event Hey, HN! I feel like lately a lot more people are trying to keep up with geopolitics. So we've collected data from different sources and put together this map with potential targets in nuclear warfare. Please let me know if it helps you and if you have other suggestions. Thanks a lot! https://ift.tt/GRZlpt6 August 27, 2024 at 12:08AM

Show HN: I made a game to show how bad the NYC rental market is https://ift.tt/nOilWZK

Show HN: I made a game to show how bad the NYC rental market is https://ift.tt/u32nkRm August 26, 2024 at 11:46PM

Show HN: D&D meets Siri – Interactive voice adventure https://ift.tt/3e4SvkD

Show HN: D&D meets Siri – Interactive voice adventure Hey HN! I've been building tooling for voice-driven apps over the past few months, as part of a hardware project. Someone suggested adapting the DSL to play Dungeons and Dragons. So, here we are! What is it? An AI-powered, voice-controlled D&D adventure set in the world of Dvorak. Talk to characters, explore locations, and shape the story using your words. Use your microphone to interact with the AI dungeon master. Explore freely – interrupt, ask questions, or take unexpected actions. If you make friends at the tavern, you can also just hang out there and chat. Hint: Talk to the bartender to move the story along. This is an early demo, and I'm eager for your thoughts: Is the concept engaging? What works well, and what doesn't? I've added a feedback form to the webpage in case you want to drop a comment without posting on HN. Thanks for trying out the demo! https://pocket.computer August 23, 2024 at 06:51PM

Sunday, August 25, 2024

Show HN: Lock-free concurrent maps for Golang https://ift.tt/nxqI9gZ

Show HN: Lock-free concurrent maps for Golang https://ift.tt/NmoMOGe August 26, 2024 at 03:02AM

Show HN: What's HN Working On – A structured dataset https://ift.tt/urU5zGo

Show HN: What's HN Working On – A structured dataset The latest Ask HN: What are you working[1] on thread just dropped. And to give my own answer, building structured datasets! I wrote a quick scraper for the HN comments. Just pulling every top level comment along with its replies as a nested object. This ended up pulling 642 top level comments with about 458 replies. I created a posrgres db with this original data set. The replies I just concatenated together in the order they came in (with an indent field to mark what level comment it was. Then stringified the json array and added it to the db. I generated the structured data using my own tool of course (OmniAI[2]). And pulled out the following values: - project_category - Enum - PERSONAL_PROJECT, STARTUP, SELF_IMPROVEMENT, OTHER - is_open_source - Boolean - github_link - String - project_industry - Enum - SOFTWARE_DEVELOPMENT, HEALTHCARE, EDUCATION, TRANSPORTATION, etc. - one_liner - String - A one line pitch for the project - tech_stack - String[] - reply_sentiment - Num - Sentiment betwee 0 and 2 for the comment replies - demo_link - String - ai_project - Boolean [1] https://ift.tt/ckjmKQL [2] https://getomni.ai/ https://ift.tt/xWM8Dsk August 26, 2024 at 03:28AM

Show HN: Aos – Alias on Steroids https://ift.tt/0Uul2M4

Show HN: Aos – Alias on Steroids A simple golang cli to run complex command lines in a simpler way https://ift.tt/mQA9pVw August 26, 2024 at 12:54AM

Saturday, August 24, 2024

Show HN: High school robotics code/CAD/design binder release https://ift.tt/zlwyHY7

Show HN: High school robotics code/CAD/design binder release Hello HN! My name is Patrick, and I am a junior at my High School’s FRC robotics team FRC 341 “Miss Daisy” (yes named after the movie). Every year, during the first weekend in January, a new robotics game is released (no it’s not battlebots). The game could be about launching balls into a goal, climbing monkeybars, or placing cubes on a see-saw. This year we were challenged to build a robot that could shoot orange foam donuts into a goal about 6 feet in the air. Here is a yt video with the game animation https://www.youtube.com/watch?v=9keeDyFxzY4&t . After we received the game we then had six weeks to design, build, program, and field a robot capable of playing the game. And we did pretty well this year! I have attached a ChiefDelphi thread (robotics forum) where we have released our season materials. This being our CAD (3D model of robot), code, and design binder. I encourage you to take a look and leave any questions that you may have. Thanks a lot! https://ift.tt/shKYSUN August 25, 2024 at 01:10AM

Show HN: Visualizing Kubernetes Pods Distribution in Nodes https://ift.tt/V0EOmqM

Show HN: Visualizing Kubernetes Pods Distribution in Nodes https://ift.tt/vyVxXT9 August 24, 2024 at 06:28PM

Friday, August 23, 2024

Show HN: Support.dev – a non-trivial Vue and Supabase app https://ift.tt/xhMgdKG

Show HN: Support.dev – a non-trivial Vue and Supabase app I built this tool about a year ago to get really good at the supabase ecosystem. We were trying to raise money on the idea, but that didn't occur, so I wanted to open-source it, as I would love to give back to the commmunity. It allows you to invite friends and family to be helpers for child-care, meals, and transportation, and then you can create an event and they will get auto-invited to it and can choose to support you. It is using vue on the frontend and then supabase on the backend for auth, database, realtime, storage, and edge functions. Anyway, I hope someone finds it useful, there are some pretty cool features with db triggers in the database calling out to edge functions to process data, and then realtime notifications for invites and such. https://ift.tt/vO5S8Rt August 23, 2024 at 11:29PM

Show HN: No-Code ETL Framework for Vector Databases https://ift.tt/CxWBwD5

Show HN: No-Code ETL Framework for Vector Databases We've open-sourced our no-code ETL framework for Vector Data processing. The VectorETL framework allows Data & AI engineers seamlessly process data from multiple data sources (S3, MySQL, Postgres, Salesforce) to ALL MAJOR vector databases (Pinecone, Weaviate, Qdrant, Milvus etc.) using just a config file. We'd love to get your feedback! https://ift.tt/vKluqdR August 23, 2024 at 11:19PM

Thursday, August 22, 2024

Show HN: Kardinal – Building light-weight Kubernetes dev ephemeral environments https://ift.tt/Vrij9oK

Show HN: Kardinal – Building light-weight Kubernetes dev ephemeral environments https://kardinal.dev/ August 23, 2024 at 06:01AM

Show HN: Funcy – AWS Lambda strongly typed, best practice https://ift.tt/NI42Uat

Show HN: Funcy – AWS Lambda strongly typed, best practice Hi, Please check out my new library funcy. It's really simplified AWS Lambda APIs in my projects, so I thought I would open-source it. It strongly-types all request parameters, has support for CORS, content-negotiation, security headers, etc.. out of the box and works via a very simply declarative interface with progressive disclosure. It's currently pre-release, let me know what you think :) https://ift.tt/KlT6AWU August 23, 2024 at 02:44AM

Show HN: I made recipes app, so you don't waste your food ingredients https://ift.tt/Qjp42cO

Show HN: I made recipes app, so you don't waste your food ingredients Hello everyone, I created a EasyCook app, this app will generate food recipes based on your ingredients. The idea is not to waste food, and if you have left some ingredients in the Kitchen, you can write it down in app and get a recipe based on these ingredients. The app is free to use, however have more features available for paid users. Would be thankful for feedback, so I can improve the app more! https://ift.tt/RCAvxSt August 23, 2024 at 01:02AM

Wednesday, August 21, 2024

Show HN: Permify 1.0 – Open-source fine-grained authorization service https://ift.tt/8fNLKVh

Show HN: Permify 1.0 – Open-source fine-grained authorization service https://ift.tt/tmwJyie August 21, 2024 at 09:28PM

Tuesday, August 20, 2024

Show HN: A simple and powerful RSS reader for the web https://ift.tt/V4w3OCK

Show HN: A simple and powerful RSS reader for the web Hello HN! I've been working on this new open-source project called Feedbomb. It is a simple and powerful RSS reader for the web with a modern UI, PWA support, and a built-in article reader. Visit it at https://ift.tt/3uHBkyL View our GitHub repo at https://ift.tt/A1y3bXz https://ift.tt/3uHBkyL August 21, 2024 at 05:17AM

Show HN: SmolCopilot – 360M LLM writing assistant in the browser https://ift.tt/RE2tSga

Show HN: SmolCopilot – 360M LLM writing assistant in the browser Hey! I've been really intrigued about small, on device models recently. This project was to explore that a small base model running in the browser as a Co Pilot-like writing assistant. You can check out the demo here: smol-complete.vercel.app. Smal, on device models have a lot of advantages with low latency, cost, privacy (a big one), and being task specific. The demo will definitely repeat itself and hallucinate sometimes, but let me know what you think! https://ift.tt/kKaldBN August 21, 2024 at 02:48AM

Show HN: Kstack – Skill pack for monitoring/troubleshooting K8s in Claude Code https://ift.tt/GQauRgE

Show HN: Kstack – Skill pack for monitoring/troubleshooting K8s in Claude Code Hi All, Recently I've been using Claude Code a lot for de...