Feed aggregator

Vim is more useful in the age of LLMs

Hacker News - Fri, 04/11/2025 - 5:32am

Article URL: https://ja3k.com/blog/vimllm

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

Points: 1

# Comments: 0

Categories: Hacker News

Worried About the Economy? A CD Can Keep Your Money Safe. Today's CD Rates, April 11, 2025

CNET Feed - Fri, 04/11/2025 - 5:30am
Shield your cash from economic turmoil with one of these high-yielding accounts.
Categories: CNET

Ask HN: Does any one know if Firebase is a successful from Google's perspective?

Hacker News - Fri, 04/11/2025 - 5:19am

Recently, we haven’t seen much marketing for Firebase, Google’s core Backend-as-a-Service product.

Given Google’s well‑known reputation for discontinuing products that don’t meet its internal success criteria, I’m wondering whether Firebase is considered successful by Google’s standards.

They’ve already begun deprecating individual services under the Firebase umbrella—for example, Firebase Dynamic Links (https://firebase.google.com/support/dynamic-links-faq).

Does anyone know where Firebase’s App Backend‑as‑a‑Service is headed?

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

Points: 3

# Comments: 0

Categories: Hacker News

Show HN: Blob Goes 3D – A 3D game for the Gameboy Advance in Rust

Hacker News - Fri, 04/11/2025 - 5:18am

Been wanting to learn Rust for a while and wrote a GBA game as a learning exercise. Also got to familiarize myself with 3d rendering as a bonus. Previously I've written a raycast game, but this is my first one in "real" 3d.

A lot of the hardware abstractions are done by the agb rust library. The video memory intractions were rewritten as that turned out to be way faster. Since there is no OS on the gba, this was a no_std project, with only core rust features available.

On noteworthy features:

The game "engine" includes a non textured polygon renderer that uses a painters algorithm instead of a zbuffer.

The game levels are declared in json files, that are sanity checked and bundled into the ROM file at compile time. The contents are parsed at runtime with serde. With this approach the user can receive more readable error messages in case of malformed file contents.

The repo contains a release .gba rom file that can be run with pretty much any accurate GBA emulator (eg. mGBA) or on real hardware with a flashcart or by flashing a bootleg cartridge.

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

Points: 1

# Comments: 0

Categories: Hacker News

Iterators in Go

Hacker News - Fri, 04/11/2025 - 5:18am
Categories: Hacker News

What about a "preferred" keyword in TypeScript?

Hacker News - Fri, 04/11/2025 - 5:11am

95% of the time these days, when I'm trying to figure out how to make some imported piece of code do what I need it to do, I'm relying on the IDE to jump my way through interfaces and types until I find what I need.

Wouldn't it be cool if instead of just public, protected and private, there was also a "preferred" keyword that told IDEs that this is a public method or attribute that was ALSO meant for people to use?

The concept of "public/private" is great for class inheritance. But not so great for building an API. So we resort to naming conventions: An API might have its own internally public methods, but name certain ones certain ways and block calls that try to access them. Wouldn't it be nice if you could say this method is "public" but not "open" to certain calls, or not "preferred" for someone hooking the API? A sprite might have an .x and an ._x, and we assume we should probably assign things to the .x or something weird might happen. But lots of codebases still make ._x public, for various reasons. I'm thinking here of Pixijs's Container.pivot._x. While the underscore is clearly a warning of some kind not to do things this way, there's nothing about public ._x that makes it stand out from public .set(x,y), besides that underscore. Wouldn't it be nice if the suggested methods were somehow, like, suggested by the IDE when you try to use another method to set something like that?

This could be as simple as adding a `preferred` keyword to a public method, and then sticking `prefer [method]` into the comments of another public method that refers to it. Your little light bulb in VSCode would say "You should prefer pivot.set() to directly assigning pivot._x". Or something like that.

Stray thought. Obviously, this is just a sugar concept, doesn't affect code relationships at all, but I feel like it would really help as a way to document code as you go along, especially when some methods do need to be exposed to internal code but really shouldn't be used externally.

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

Points: 2

# Comments: 2

Categories: Hacker News

Show HN: An app that applies the concept of Git to todos

Hacker News - Fri, 04/11/2025 - 5:08am

Innovative Todo List with Git Concepts

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

Points: 2

# Comments: 0

Categories: Hacker News

How can we help America?

Hacker News - Fri, 04/11/2025 - 5:06am
Categories: Hacker News

Pages