Hacker News

Video Game Pitch Decks

Hacker News - Wed, 10/30/2024 - 12:54pm
Categories: Hacker News

Refusals (LLM Leaderboard)

Hacker News - Wed, 10/30/2024 - 12:48pm
Categories: Hacker News

Show HN: Modus, serverless framework for intelligent APIs powered by WebAssembly

Hacker News - Wed, 10/30/2024 - 12:02pm

Modus is an open-source, serverless framework for building APIs powered by WebAssembly. It simplifies integrating AI models, data, and business logic with sandboxed execution.

We built Modus to put code back at the heart of development.

You write a function.

export function sayHello(name: string): string { return `Hello, ${name}!`; } Then, Modus:

- extracts the metadata of your functions - compiles your code with optimizations based on the host environment - caches the compiled module in memory for fast retrieval - prepares an invocation plan for each function - extracts connections, models, and other configuration details from the app’s manifest - generates an API schema and activates the endpoint

You query the endpoint.

query SayHello { sayHello(name: "world") } In a few milliseconds, Modus:

- loads your compiled code into a sandboxed execution environment with a dedicated memory space - runs your code, aided by host functions that power the Modus APIs - securely queries data and AI models as needed, without exposing credentials to your code - responds via the API result and releases the execution environment

Now you have a production ready scalable endpoint for your AI-enabled app. AI-ready when you’re ready. Launch and iterate.

Read more in the announcement blog post: https://hypermode.com/blog/introducing-modus-code-first-inte...

Come join our Discord, we’d love to hear your feedback: https://discord.hypermode.com

Follow us on GitHub: https://github.com/hypermodeinc/modus

Modus docs: https://docs.hypermode.com/modus

Modus quickstart video: https://youtu.be/3CcJTXTmz88

Comments URL: https://news.ycombinator.com/item?id=41996682

Points: 1

# Comments: 0

Categories: Hacker News

Miracle tiling Wayland window manager

Hacker News - Wed, 10/30/2024 - 12:02pm

Article URL: https://miracle-wm.org

Comments URL: https://news.ycombinator.com/item?id=41996678

Points: 1

# Comments: 0

Categories: Hacker News

Pages