Hacker News

Latest

The essays of Michel de Montaigne online

2024-12-22 @ 05:16:37Points: 35Comments: 8

Slow deployment causes meetings (2015)

2024-12-22 @ 03:12:23Points: 56Comments: 17

Rosetta 2 creator leaves Apple to work on Lean full-time

2024-12-22 @ 02:01:51Points: 126Comments: 42

Show HN: GitHub-assistant – Natural language questions from your GitHub data

2024-12-22 @ 00:41:27Points: 17Comments: 4

How it works:

- Data Loading: We use dlt to pull data (issues, PRs, commits, stars) from GitHub

- Semantic Layer: Relta wraps the underlying dataset into a semantic layer so the LLM doesn’t hallucinate.

- Text-to-SQL: A text-to-SQL agent transforms your plain-English question into a query using the semantic layer

- Generative Charts: assistant-ui dynamically generates a chart based on the SQL query

- Refinements: If the semantic layer can’t handle your question, our agent submits semantic layer improvements via pull requests

Hosted version: https://github-assistant.com

Demo Video: https://youtu.be/ATaf98nID5c

Check out the repo + hosted version and let us know what you think.

AI Is the Black Mirror

2024-12-21 @ 23:57:30Points: 32Comments: 16

Train a Mnist VAE with C and CUDA

2024-12-21 @ 23:28:12Points: 24Comments: 1

A data table thousands of years old (2020)

2024-12-21 @ 22:25:37Points: 151Comments: 56

JEP 483: Ahead-of-Time Class Loading and Linking

2024-12-21 @ 19:53:26Points: 74Comments: 9

A curious case of O(N^2) behavior which should be O(N) (2023)

2024-12-21 @ 19:34:07Points: 66Comments: 18

Dividing unsigned 8-bit numbers

2024-12-21 @ 19:25:13Points: 120Comments: 56

Show HN: Demo of my web game about social persuasion

2024-12-21 @ 18:22:58Points: 71Comments: 31

I hope you enjoy, and would love to get your feedback!

City Roads: A tool to draw all roads in a city at once

2024-12-21 @ 18:16:01Points: 194Comments: 29

Show HN: Eonfall – A new third-person co-op action game built for the web

2024-12-21 @ 16:45:36Points: 164Comments: 109

It's been 2-years in the making built by a 2 man team. Eonfall, is a new third-person co-op action game with rogue-lite elements built exclusively for the web! We've finally reached a release candidate state and set our official public release date for Jan 15th! The game's current version 5.0.0-beta is live and available to test play today!

Unity game engine was used to develop the game along with other services to handle the backend, and Nuxt 3 + Nuxt UI to handle the front-end.

We welcome any and all questions, feedback & suggestions!

Thanks all, Jon

Introducing S2

2024-12-21 @ 15:11:19Points: 269Comments: 135

Query Apple's FindMy network with Python

2024-12-21 @ 12:14:55Points: 371Comments: 153

Keeping a Changelog at Work (2020)

2024-12-21 @ 06:13:27Points: 66Comments: 27

Enum of Arrays

2024-12-21 @ 01:49:25Points: 78Comments: 18

Show HN: Rivet Actors – Durable Objects build with Rust, FoundationDB, Isolates

2024-12-20 @ 16:36:33Points: 98Comments: 21

https://news.ycombinator.com/item?id=37188659). 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://github.com/rivet-gg/rivet?tab=readme-ov-file#diagram

[2] https://github.com/rivet-gg/rivet/blob/a3db31f3b5c351061d665...

[3] https://www.youtube.com/watch?v=9g84y_60VGM

[4] https://apple.github.io/foundationdb/flow.html

[5] https://jsr.io/@rivet-gg/actor/doc

[6] https://rivet.gg/docs

[7] https://rivet.gg/docs/internals/design-decisions

Language and Personality

2024-12-20 @ 10:51:06Points: 28Comments: 13

Spherical Harmonics

2024-12-20 @ 05:34:18Points: 39Comments: 32

Cqd: Colour my __dir__ please

2024-12-20 @ 03:49:28Points: 28Comments: 3

Talking over a wall changed my direction as a programmer

2024-12-20 @ 03:10:09Points: 82Comments: 37

An epitome of electricity and galvanism (1809)

2024-12-20 @ 00:38:43Points: 5Comments: 2

Wuppertal's suspended monorail proved its doubters wrong [video]

2024-12-19 @ 15:07:22Points: 62Comments: 23

Ideas from "A Philosophy of Software Design"

2024-12-18 @ 23:03:58Points: 106Comments: 65

New York man finds Mastodon jaw while gardening in his backyard

2024-12-18 @ 22:14:47Points: 14Comments: 1

Translating 10M lines of Java to Kotlin

2024-12-18 @ 17:29:22Points: 107Comments: 88

How we made our AI code review bot stop leaving nitpicky comments

2024-12-18 @ 16:31:46Points: 120Comments: 71

Fault Report – and alternative to Result in F#

2024-12-18 @ 12:04:42Points: 19Comments: 8

Grammarly acquires Coda

2024-12-17 @ 16:44:36Points: 113Comments: 72

Archives

2024

2023

2022