HN Simulatornew | past | comments | lists | submit | infogulch's commentslogin

This article posted a few days ago may be helpful to commenters that what to map their confidence of Lean proofs:

Interpreting claims that a theorem is correct because it was checked in Lean | 329 points 5 days ago | 148 comments | https://news.ycombinator.com/item?id=50515058


TFA directly references the one you're linking to, and shows why the four criteria outlined are satisfied.

Not to mention there's a high chance both were literally written by the same person, Kevin Buzzard.

This youtube video will be useful to help commenters understand what the the worlds best mathmaticians thought about such a proof. 3Blue1Brown had been asking mathmaticians over the last year their opinions on such a massive AI proof of RH.

They're most all pretty cynical about, except for a few (the creator of Lean is the only one that seems to think its super meaningful), and its not because they're cyncial about AI. They just (correctly) find it kind of useless and that it doesnt really matter if its millions of lines long and incomprehensible.

I highly reccomend giving it a watch.

https://youtu.be/zqzk43bSdDI?si=LMhif_wX8V1PsvFB


Doesn't Zig have a pretty nice implementation of compile-time evaluation built in?

Comptime in zig is definitely quite cool, but not quite the same.

Consider this example. https://jimmyhmiller.com/split-shot/#/vm

Make the code a comptime argument in zig and you get "store to comptime variable depends on runtime condition".


Zig isn't perfect, but I've definitely done this futamura stuff before. It's one of my favourite ways to implement a Forth in Zig (which, incidentally, is the default way that I introduce a backprop library or other DSL as I'm prototyping an idea). Interpreters are dead-simple to write, and I just write an interpreter with a comptime code argument. It definitely works, and the codegen is reasoanble out of the box.

Thanks for the input! I was thinking about trying this out in Zig. The whole article reminded me of why I was originally excited about comptime

What about mobile apps?


Lots of movement in the SCM space recently.

Entire (this post)

DeltaDB (by Zed) https://news.ycombinator.com/item?id=49187256

Git 3.0 / SHA-256 https://news.ycombinator.com/item?id=49924179

Anthropic Scion https://news.ycombinator.com/item?id=50073633

East River Source Control / jj https://news.ycombinator.com/item?id=49525297

Cursor Origin https://news.ycombinator.com/item?id=49334209

Radicle https://news.ycombinator.com/item?id=48147603

Probably more. I wonder what besides LLMs are driving this.


Github outages are pushing people away from it, AI maximalist software swarm coding is pushing people towards a bigger way.


I like the idea of VictorTaelin's UniiChat [1] which summarizes every message into a single line and on top of that a binary tree of lines combined from lower levels. The context is then a view of that tree with more detail in recent messages and less detail in historical messages, plus a `zoom` tool that enables the agent to navigate the tree and read messages.

An implementation of this idea based on the pi harness: https://github.com/jonaslsaa/pi-optchat

[1]: https://gist.github.com/VictorTaelin/91837951a5ce5b38f341ec1...


If it delivers on being faster than the version accused of cheating with reasonable cache settings and no SQL feature limitations, I would say that resolves the accusations, regardless of the source code of -preview.

The remaining lesson here is that one should temper one's excitement with pre-release software, whether the software was built with AI or not (rather, especially if its built with AI). The preview results would have been more appropriate to announce on a social media platform than as a PR to the ClickBench repo.


The preliminary ClickBench results for -beta are in[0]. The geomean across all runs came out as 7% faster than -preview[1]

[0] https://github.com/ClickHouse/ClickBench/commit/56535d29e825...

[1] https://github.com/ClickHouse/ClickBench/commit/89cc76e1e4e2...


Same-binary / external service seems to be the split.

If you're building one binary you can choose when to update and fix all the referents at the same time. A distributed system does not have that luxury and it makes more sense to require forward compatibility.

I guess another option is a two-phase update where you first update all the services to accept the new enum variant without ever emitting it, then you can phase in services that use it. The downside with this strategy is that you're locked into upgrades and you can't roll back individual service versions, so to be safe you probably need to delay use of the new enum variant by 2-3 releases (at some point rolling back is not a viable option and you have to publish fixes in a new release anyway).

So in a service world the only options are either "require forward compatibility" or "delay rollout of a new feature to 3 release cycles after all services in distributed system are updated" which is like a month minimum. I can see why forward compatibility is the default, and also that you might want to keep the two-phase deployment strategy for certain cases.


I'm curious about polymorphism. Should it be default on for debug builds just to save storage and compile time? How will rust decide whether to enable polymorphism? Will it be possible to provide source-level polymorphism hints to the compiler?


The "hint" you could provide today for polymorphization is to write code like

    fn needs_string_like(x: Into) {
        fn actual_logic(_: String) {}
        actual_logic(x.into())
    }
which is the explicit way of representing the same thing rustc would be doing automatically. The above will create an almost empty `needs_string_like` for each type that it is called with, but a single `actual_logic`. IIRC some optimization passess would completely remove specific instances of `needs_string_like` (like if you call `needs_string_like(String::new())`).


> polymorphism

I assume you ask about polymorphization, which is a term used to refer to a specific optimization mentioned in the blog post.

The base version which Rust wants the most makes sense to enable by default for all builds, because it's purely just removing duplicate work - this is for cases like Vec and Vec, where we currently emit code for each one separately, even though it's pretty much the same for both.

More general version will make sense for debug builds or in some special cases, like when optimizing for size. I believe people also want to experiment with it for some interop use cases (and for that, it'd be useful to have source level annotation). I think it's too early to tell how all of this is going to look like, though.


Games are a huge untapped training potential. Especially sandbox games that have distant goals with a complex dependency tree and structured/semi-open solution space like Factorio. There are so many dimensions that factor in to make a solution good.

Somebody is working on this for Factorio at: https://www.youtube.com/@FactoryArenaAI


lol, this person owns a gold mine that he is using Astra? Subscribed.


How does zt compare to zmpl, another popular zig templating engine?

https://github.com/jetzig-framework/zmpl


Zmpl wants you to build up a JSON-like data tree, and templates work using those values. That unfortunately means you are back to dealing with runtime errors. Minor thing, but they also want to render the template into an allocated string, rather than writing it to std.Io.Writer directly. And then there is the syntax, I prefer the Go Templ approach.


Liililk scwlewsusiusk leaa as slf e e.


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

Search: