Sunday, December 22, 2024

Show HN: Rivet Actors – Durable Objects build with Rust, FoundationDB, Isolates https://ift.tt/VMSQYtn

Show HN: Rivet Actors – Durable Objects build with Rust, FoundationDB, Isolates Hello! We posted a Show HN for Rivet last year for our container orchestration project ( https://ift.tt/KLyeZmM ). In that time, a lot has changed that I think HN will find interesting. Rivet is open-source actor infrastructure similar to Cloudflare's Durable Objects. Rivet itself already serves millions of MAU in production using our current container runtime – primarily for multiplayer games – and Rivet Actors are a new extension to support actor-like workloads. Rivet Actor's core primitives are RPC, state, and events. Actors are powered by Rust, V8 isolates (supports Deno), and FoundationDB. An architecture diagram is available here for [1]. If you're not familiar with FoundationDB, you're overdue to watch Dave Rosenthal's talk [3]. (I firmly believe it's by far the best permissively licensed database; if only it had a well maintained SQL layer.) Here's where Rivet's architecture gets fun – we don't rely on a traditional orchestrator like Kubernetes or Nomad for our runtime. Instead, our orchestrator is powered by an in-house actor-like workflow engine – similar to how FoundationDB is powered by their own actor library (Flow [4]) internally. It lets us reliably & efficiently build complex logic – like our orchestrator – that would normally be incredibly difficult to build correctly. For example, here's the logic that powers Rivet Actors themselves with complex mechanisms like retry upgrades, retry backoffs, and draining [2]. One of the reasons we built Rivet Actors is because we tried to replace most of our Redis-based realtime infrastructure with Durable Objects. The architecture allowed us to build realtime features much faster & efficiently, but the platform & APIs were needlessly rigid and difficult to use. Our goal is to build an actor-like platform that includes the bells and whistles required for developers to benefit from the actor model without the learning curve of tools like Erlang/OTP, Akka, or Orleans. Rivet Actors provides a few key benefits in flexibility over Durable Objects: - Open-source (Apache 2.0) – built to be self-hosted and deployed on-prem - Provides observability out of the box, no Logpush required - Rivet Actors support the Deno runtime, so NPM & JSR just works - @rivet-gg/actor [5] framework provides RPC, state, and events out of the box for faster bootstrapping; you can modify and deploy it yourself - Supports both V8 isolates & Docker-compatible containers so you can run any software you'd like, like Godot/Unity servers or video transcoding - Also supports TCP & UDP (we run games!) - Provides vanilla HTTP API for easy use with existing apps - Full control over regions There's plenty more that I don't have space to talk about. Give our docs a read if you'd like to learn more [6] or read about internal design decisions [7]. I'll be in the comments answering questions! Cheers, Nathan [1] https://ift.tt/rWPSa3K [2] https://ift.tt/X8WOuNe... [3] https://www.youtube.com/watch?v=9g84y_60VGM [4] https://ift.tt/S4AhDsq [5] https://ift.tt/SYMy0Rq [6] https://rivet.gg/docs [7] https://ift.tt/2gUy64E https://ift.tt/hiJdTvX December 20, 2024 at 10:06PM

Show HN: Web worker and polling exp / HN client app https://ift.tt/DMnC4mE

Show HN: Web worker and polling exp / HN client app demo and src inside newstories will be loaded in web worker polling for comments refresh in main thread configurable worker cache https://ift.tt/yiwfebN December 22, 2024 at 01:28AM

Saturday, December 21, 2024

Show HN:Free Online Tool to Experience Microsoft's MarkItdown https://ift.tt/Pd54I6i

Show HN:Free Online Tool to Experience Microsoft's MarkItdown https://markitdown.pro December 21, 2024 at 10:43AM

Show HN: openai-realtime-embedded-SDK Build AI assistants on microcontrollers https://ift.tt/U0qtgvD

Show HN: openai-realtime-embedded-SDK Build AI assistants on microcontrollers Hi HN! This is an SDK for ESP32s (microcontrollers) that runs against OpenAI's new WebRTC service [0] My hope is that people can easily add AI to lots of 'real' devices. Wearable devices, speakers around the house, toys etc... You don't have to write any code, just buy a device and set some env variables. If you have any feedback/questions I would love to hear! I hope this kicks off a generation of new interesting devices. If you aren't familiar with WebRTC it can do some magical things. Check out WebRTC for the Curious[1] and would love to talk about all the cool things that does also. [0] https://ift.tt/FKJo1x6 [1] https://ift.tt/btkcoae https://ift.tt/daAZVfX December 18, 2024 at 09:17PM

Show HN: Model Validation Using LLMs https://ift.tt/KwfpTM7

Show HN: Model Validation Using LLMs https://ift.tt/iVxHNuF December 21, 2024 at 12:31AM

Improving Safety for M Ocean View Riders: New Boarding Island and Lighting

Improving Safety for M Ocean View Riders: New Boarding Island and Lighting
By Brian Haagsman

M Ocean View riders step off the train onto a new boarding island at the line’s final outbound stop on San Jose and Niagara avenues. M Ocean View Muni riders now have a safer, easier connection to Balboa Park BART. Before, riders had to step off the train directly into the street at the San Jose Avenue last stop near Balboa Park BART Station. The street design at the stop simply didn’t allow for a widened sidewalk or an island riders could step onto when leaving the train. Recently, we found a solution. We moved the stop across the street to the south side of the intersection. This provided...



Published December 20, 2024 at 05:30AM
https://ift.tt/DVBMpXv

Friday, December 20, 2024

Show HN: CxReports – Low-Code Tool for User-Facing PDF Reports https://ift.tt/2qYav6I

Show HN: CxReports – Low-Code Tool for User-Facing PDF Reports Marko here from Codaxy. For over two years, we have been working on CxReports, a low-code tool for creating user-facing PDF documents and reports. We first saw the problem in wealth management, where reports are crucial for the user experience. Software vendors have customers who ask for customized reports with unique content, branding, and visuals. The solution was to build a tool that allows customization for each customer, which even customers themselves can use. Over time, this evolved to be a generic solution that works for various other use cases. CxReports lets you build reports visually. You can connect to a database and get data using SQL queries. It supports scheduled report generation and delivery. The API enables accessing CxReports from other applications or workflows. https://cx-reports.com/ You can easily try it out with our Docker image - https://ift.tt/5C2YRM7 . We offer a free tier for registered users. How do you currently handle customized reporting? Are there specific challenges you face with generating user-facing reports? I’d love to hear your thoughts and feedback. Looking forward to the discussion! December 19, 2024 at 08:45PM

Show HN: Free OSS transcription app I made and found it's faster than wispr flow https://ift.tt/jXQh9Tk

Show HN: Free OSS transcription app I made and found it's faster than wispr flow title doesn't let nuance, ofc it's not the app ...