Hacker Newsnew | past | comments | ask | show | jobs | submit | dagenix's commentslogin

I strongly suspect that its not feasible to colocate pijul and git. git and jj are based on snapshots, while pijul is based on patches. They have very different models.


As long as some repository state in either system can map onto a checkout in the other system it should be possible at least in some capacity. I’d like to try out pijul at work, but I’d need an analog of jj git fetch and jj git push. Whatever happens in between doesn’t really matter too much unless it’s tedious manual bookkeeping to maintain history mapping.


One thing JJ has that git doesn't is the concept of first class conflicts. In JJ, rebasing or merging never fails, but it might record a conflict to resolve later. Git, on the otherhand, forces you to drop we everything to resolve conflicts immediately. It sounds like a small thing - but in my experience, being able to resolve conflicts later when I feel like it is absolutely amazing and really helps reduce context switching.


You are supposed to supervise Tesla FSD. Waymo doesn't require someone in the driver's seat at all. They aren't the same thing.


The problem, IMO, with asyncio is that its way, way too complicated. In my experience, anyio (https://github.com/agronholm/anyio) provides a much better interface on top of asyncio. And since it can use asyncio as a backend, it maintains compatibility with the asyncio ecosystem. FastAPI, for example, uses anyio.

One thing that I don't see being mentioned in any of the threads here talking about green threads is cancellation. A huge benefit, IMO, of anyio is that it makes cancellation really easy to handle. With asyncio, cancellation is pretty hard. And with green threads, cancellation is often impossible.


In my experience, the key to using asyncio is to use anyio. Anyio is an interface that you can use ontop of asyncio and fixes most of its shortcomings.

https://anyio.readthedocs.io


> This approach eliminates the need for complex setup tools like requirements.txt or package managers...

And yet, the rest of the article is about uv. According to uv itself:

> An extremely fast Python package and project manager, written in Rust.

It's a package manager!


A package manager that is a quick and snappy binary that doesn't need a big runtime, unlike most of the Python tools.


What exactly is your standard for "big"?

    $ du ~/.local/pipx/venvs/uv/bin/uv | cut -f 1
    38812
Stripped and dynamically linked, BTW. Compare the system-provided Python:

    $ du /usr/bin/python3.12 | cut -f 1
    7832
(But also, if you hope not to pay the cost of a Python runtime, what is your remaining use case for uv?)


Seems like you're dismissing the uv single file setup approach without fully understanding it. I'd recommend giving it a try. It's indeed simpler and snappier than any other package manager to date.


Python is fun again!! Omg it’s like when I first started with python before I knew all the pitfalls that were coming. Uv just makes it work again(unaware of all uv pitfalls atm, don’t spoil it for me yet:)


I'm not dismissing uv, I'm critiquing the article.


So, a hackier version of Tesla's autopilot? Sounds, uh, terrifying.


I especially like how there is next to no mention about safety on the main page. But at least its only $999 and it has AI and 50k GitHub stars, so, thats nice.


They have a basic safety page in the docs [0], which unfortunately has a dead link to their vehicle safety definitions due to a recent PR [1], along with some other safety-related deadlinks in the panda README. Avoiding having to deal with safety is a pretty integral part of their whole process though. They run some basic static analysis/sanitizers/unit tests, and everything past that is out of scope. If you're not okay with that level of verification for your steering control, it's probably not the product for you.

[0] https://docs.comma.ai/concepts/safety/

[1] https://github.com/commaai/panda/pull/2143


What’s with the snark?


I think it did much better on safety in some tests (no I don't have sources, going from memory :/), but is less capable by design on some more trickier scenarios. Basically pretty much what you would something like this to be.


It doesn't seem like https://comma.ai/ has sources either.



If by terrifying you mean totally awesome, I agree!


They don't call it "full self driving", that's a good start


Not as terrifying as humans


Meh...AP and Comma are driver aids. They're only supposed to reduce the mental load of driving on the highway, not be complete autonomous driving systems.

They're nothing more than traffic aware cruise control with automatic lane keeping. They're not designed to be used on surface streets, and certainly not intended to allow you to read a book or something while driving.


The pretty significant updates to MacOS support are really cool to see!



The funny thing with debit/credit wall: only long dead Italian merchchants knew its purpose.


I don't believe its in the standard library for Rust, even if it is very popular in the Rust ecosystem.


Right; I'm not super-familiar with Rust and how exactly they organise things, but it's in more or less every Rust project due to Cargo.toml.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: