Recent submissions

Comment · 12 days ago
Pydantic AI has a great set of abstractions over LLM providers. The documentation tends to focus on its agent loop more, but I find the LLM abstractions quite nice even on their own
Comment · 2 months ago
Laguna S 2.1 is another fairly impressive-for-the-size American open model
Comment · 3 months ago
Comment · 5 months ago
My uneducated guess is that crew members in the back galley could have been injured by unsecured items they were loading falling or sliding. The service cart itself is 200-250 lbs. With the rear galley accelerating upward, then a sudden halt to the acceleration when the front nose impacts the ground, I could imagine the cart lifting off the ground and landing on feet or legs. Or putting the cart aside, other items such as drink cans, galley appliances, etc. falling from cabinets or counters could cause injury
Comment · 6 months ago
I'm seeing GitHub Actions runs not occurring. A colleague is experiencing 500s (angry unicorn) and issues with Codespaces.

I always check DownDetector and Updog whenever something seems strange about GitHub behavior, they tend to pick up issues before the official status page.

Comment · 7 months ago
I've found Claude Code's built-in sandbox to strike a good balance between safety and autonomy on macOS. I think it's available on Windows via WSL2 (if you're looking for a middle ground between approving everything manually and --dangerously-skip-permissions)
Comment · 8 months ago
Comment · 10 months ago
100% agree on the better video hardware. I found out this weekend the Raspberry Pi 5 removes the dedicated video encoder present on the Pi 4B. I was getting 2-3 fps in OBS, which makes it unusable for my application. Any mini PC would do much better with dedicated encode capabilities.

To be fair, I haven't messed around with video encoding settings yet. I've seen claims the Pi 5 can do 1080p60 with 50% of the CPU. I could trade off quality for faster encoding, but with a mini PC I could get high quality encoding at real-time speeds.

I'm feeling some buyer's remorse with the Pi 5 right now...

Comment · 1 year ago
Technically yes. But it can take months to years to experimentally obtain the structure for a single protein, and that assumes that it's possible to crystallize (X-ray), prepare grids (cryo-EM) or highly concentrate (NMR) the protein at all.

On the other hand, validating a predicted protein structure to a good level of accuracy is much easier (solvent accessibility, mutagenesis, etc.). So having a complex model that can be trained on a small dataset drastically expands the set of accurate protein structure samples available to future models, both through direct predictions and validated protein structures.

So technically yes, this dataset could have been collected solely experimentally, but in practice, AlphaFold is now part of the experimental process. Without it, the world would have less protein structure data, in terms of both directly predicted and experimentally verified protein structures

Comment · 1 year ago
On my Framework (16), I've found that switching to GNOME's "Power Saver" mode strikes the right balance between thermals, battery usage and performance. I would recommend trying it. If you're not using GNOME, manually modifying `amd_pstate` and `amd_pstate_epp` (either via kernel boot parameters or runtime sysfs parameters) might help out.

I agree that it's unfortunate that the power usage isn't better tuned out of the box. An especially annoying aspect of GNOME's "Power Saver" mode is that it disables automatic software updates, so you can't have both automatic updates and efficient power usage at the same time (AFAIK)

Comment · 1 year ago
Comment · 4 years ago
Another great project for Python logging is loguru: https://loguru.readthedocs.io/en/stable/overview.html

One of my favorite features of loguru is the ability to contextualize logging messages using a context manager.

  with logger.contextualize(user_name=user_name):
    handle_request(...)
Within the context manager, all loguru logging messages include the contextual information. This is especially nice when used in combination with loguru's native JSON formatting support and a JSON-compatible log archiving system.

One downside of loguru is that it doesn't include messages from Python's standard logging system, but it can be integrated as a logging handler for the standard logging system. At the company where I work we've created a helper similar to Datadog's ddtrace-run executable to automatically set up these integrations and log message formatting with loguru

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton