Feed aggregator

Google Gemini is the first proprietary frontier model that can be run on-premises via Google Distributed Cloud for privacy- and cost-conscious enterprises.

Security Wire Daily News - Wed, 04/09/2025 - 10:14am
Google Gemini is the first proprietary frontier model that can be run on-premises via Google Distributed Cloud for privacy- and cost-conscious enterprises.

Quantum-resistant algorithms play a crucial role in post-quantum cryptography, which protects against threats on digital signatures and current encryption methods.

Security Wire Daily News - Wed, 04/09/2025 - 10:14am
Quantum-resistant algorithms play a crucial role in post-quantum cryptography, which protects against threats on digital signatures and current encryption methods.

Show HN: Python at the Speed of Rust

Hacker News - Wed, 04/09/2025 - 10:12am

I’m sure many of you are familiar, but there’s a treacherous gap between finding (or building) a model that works in PyTorch, and getting that deployed into your application, especially in consumer-facing applications.

I’ve been very interested in solving this problem with a great developer experience. Over time, I gradually realized that the highest-impact thing to have was a way to go from existing Python code to a self-contained native binary—in other words, a Python compiler.

I was already pretty familiar with a successful attempt: when Apple introduced armv8 on the iPhone 5s, they quickly mandated 64-bit support for all apps. Unity—where I had been programming since I was 11—kinda got f*cked because they used Mono to run developers’ C# code, and Mono didn’t support 64-bit ARM. Unity ended up building IL2CPP, which transpiles the C# intermediate language into C++, then cross-compiles it. Till date, this is perhaps the most amazing technical feat Unity has achieved imo.

I set out to build something similar, but this time starting from Python. It’s a pretty difficult problem, given the dynamic nature of the language. The key unlock was the PyTorch 2.0 release, where they pioneered the use of symbolic tracing to power `torch.compile`. In a nutshell, they register a callback with the Python interpreter (using CPython’s frame evaluation API), run a function with fake inputs, and record an IR graph of everything that happened in the function.

Once you have an IR graph, you can lower it to C++/Rust code, operation-by-operation, by propagating type information throughout the program (see the blog post for an example). And now is the perfect time to have this infrastructure, because LLMs can do all the hard work of writing and validating the required operations in native code.

Anyway, I wanted to share the proof-of-concept and gather feedback. Using Function is pretty simple, just decorate a module-level function with `@compile` then use the CLI to compile it: `fxn compile module.py` .

TL;DR: Get Rust performance without having to learn Rust ;)

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

Points: 1

# Comments: 0

Categories: Hacker News

An app for TV series IMDB data visualizations

Hacker News - Wed, 04/09/2025 - 10:11am

Article URL: https://imdb.trevorhealy.me

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

Points: 1

# Comments: 1

Categories: Hacker News

Show HN: Postgres MCP Server with AI-Powered Index Tuning

Hacker News - Wed, 04/09/2025 - 10:06am

Hey HN,

Postgres Pro is an open source Model Context Protocol (MCP) server built to support every stage of the development process.

It does a lot more than help generate and run SQL—it helps you make sure your application and database actually run well.

Features - Industrial-strength tuning algorithms similar to those in MS SQL Server - “What if?” tool to evaluate LLM-generated index suggestions - Works with Cursor, etc., to make changes in ORM code - Ensures safe SQL execution with restricted mode - Includes health checks to stay ahead of production problems

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

Points: 2

# Comments: 0

Categories: Hacker News

How I Use Remind(1)

Hacker News - Wed, 04/09/2025 - 10:04am
Categories: Hacker News

Show HN: Fermi – A Wordle-style game for order-of-magnitude thinking

Hacker News - Wed, 04/09/2025 - 10:04am

I always thought it was cool when someone could make a plausible estimate from reasonable guesses. I recently learned that these are sometimes named after Enrico Fermi, the famous physicist, and its the same technique used to create his famous Fermi paradox.

You build a rough logic chain using a few sliders and fixed quantities (e.g. weeks per year), and the goal is to get within an order of magnitude of the true answer. The math is simple; the thinking is the game.

Would love feedback.

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

Points: 1

# Comments: 0

Categories: Hacker News

The Invisible Difference

Hacker News - Wed, 04/09/2025 - 10:03am
Categories: Hacker News

Netflix Privacy: How to Delete Shows and Movies From Your History

CNET Feed - Wed, 04/09/2025 - 10:00am
Keeping your viewing history private isn't the only reason to remove the shows and movies you watched.
Categories: CNET

Pages