India & France had their AI Bikini Moment (Was: Deephaven inspired me to name a predicate [first_by/2])

Liste des GroupesRevenir à cl prolog 
Sujet : India & France had their AI Bikini Moment (Was: Deephaven inspired me to name a predicate [first_by/2])
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.lang.prolog
Date : 10. Feb 2025, 21:17:22
Autres entêtes
Message-ID : <vodmsd$25ad$1@solani.org>
References : 1
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.20
Hi,
India & France had their AI Bikini Moment.
Facinating behavior:
Macron Says He And PM Modi Will Push
https://www.youtube.com/watch?v=LwCK8yAnlkA
But don't be fooled, things are possibly
more connected:
Synthesia: France's 109-billion-euro AI investment
https://www.youtube.com/watch?v=_uyo4RG0Q6I
Bye
Mild Shock schrieb:
Hi,
 Suddently I got an allergy to name a predicate
distinct/2. It is not so obvious that distinct/1 and
distinct/2 are related. There is no constant C such that:
 distinct(X) :- distinct(C, X).
 Just joking, but for some consistency with the introduction
of group_by/4 and aggregate_by/4 I went for the
name first_by/2. The name is more intuitive:
 ?- [user].
p(1,a).
p(1,b).
p(2,c).
p(2,d).
p(2,e).
^Z
true.
 Now some queries:
 ?- p(X,Y), write(X-Y), nl, fail; true.
1-a
1-b
2-c
2-d
2-e
true.
 ?- first_by(X, p(X,Y)), write(X-Y), nl, fail; true.
1-a
2-c
true.
 Cool! The name is also used here with the same semantics:
 https://deephaven.io/core/docs/reference/table-operations/group-and-aggregate/firstBy/  

Date Sujet#  Auteur
10 Feb 25 * Deephaven inspired me to name a predicate [first_by/2]5Mild Shock
10 Feb 25 `* India & France had their AI Bikini Moment (Was: Deephaven inspired me to name a predicate [first_by/2])4Mild Shock
16 Feb 25  `* More about an experimental aggregate_by/4 (Was: India & France had their AI Bikini Moment)3Mild Shock
16 Feb 25   `* Experimental aggregate_by/4 was dismissed (Was: India & France had their AI Bikini Moment)2Mild Shock
16 Feb 25    `- Re: Experimental aggregate_by/4 was dismissed (Was: India & France had their AI Bikini Moment)1olcott

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal