Hacker News new | past | comments | ask | show | jobs | submit | more lakecresva's comments login

I'm still a datalog guy, but imo PRQL is indeed the nicest of the SQL family. Thanks for the hard work, and best of luck.


Thank you.

If you need recursive/iterative queries then watch this space. That's ok the roadmap!


> I understand many people do not "like" this kind of solution...

Which in and of itself should be disqualifying. This would be so deeply unpopular and destabilizing that it's not even worth considering.


This is definitely not true.


How do you know that?


I think you should rather ask GP "How do you know that?". The link to the about page of Lean doesn't back up the claim that you can only write programs that halt.

And indeed, you can write programs that do not halt. You just have to explicitly tell Lean that you want to do that.


Just to be clear on https://busy-beavers.tigyog.app/proofs-about-programs if you can locate the section "Once more, in Lean", it says:

"That’s because Lean only lets you write functions that halt. "

Is that incorrect?


Yes, that is incorrect. If you write `partial def foo : Nat := foo + 1` it will be accepted, but `def foo : Nat := foo + 1` is not. So while lean checks that functions terminate by default, it is possible to define and run programs containing general recursion. This is subject to some restrictions though:

* You can't unfold the definition to try to prove `foo = foo + 1` (which is of course false for any natural number), it is an "opaque" definition and its value for specification purposes is essentially arbitrary and does not need to match the definition.

* Even then there is a possibility of proving false things as in `partial def loop : False := loop`, so to prevent inconsistency the target type (`Nat` in the previous example, `False` in this one) must be inhabited (proved automatically by the typeclass machinery). So it would reject the `loop` example but not `foo`.


> All laws make you less free

I offer the 13th amendment (US) as a counterexample.


I mean, that does restrict private tyranny…


If op is affiliated with texmacs, your website (texmacs.org) is down.


Hell yeah. If we can't detect all fraud all the time, we shouldn't bother trying to detect any new forms of fraud that emerge.


Same with central banks. If the brakes occasionally fail, get rid of them!


The syntax is consistent, I don't know about the semantics. The trade-off is that it becomes more difficult to glance at a piece of code and visually distinguish what's what.


Datafrog doesn't use differential dataflow. Datafrog also requires you to do index management and joins manually, but it's very performant. Some of the join strategies are super optimized, but they don't allow for certain things that may be desirable, like negation/anti-join with a dynamic relation.


> perhaps it wasn't the money or the articles

Lol yeah, "perhaps" it wasn't. "Perhaps" proponents just spent that $200 million on the campaign for no reason.


> does anyone really want it?

It's probably safe to assume the people who need affordable housing want it.


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

Search: