News for hackers. Stuff that matters.
Re:Wikifunctions by Lockal on Sunday July 30, 2023 @01:05PM (#36933340)
Huh, it took me a while to find that there is a UI for exactly this object on "Details" tab.

I hope "Z1K1": "Z2" will be removed from UI soon. It is like "Q42 P31 Q5" for Wikidata - everyone understands it, but it is not the main interface.

Basically, at this point of development, consider this as a storage of Python (https://www.wikifunctions.org/view/en/Z10004) or Javascript code (https://www.wikifunctions.org/view/en/Z10005).

But instead of writing

  def format_person_info(name, surname, birth_date, death_date):
     return "{} {} ({}-{})".format(name, surname, birth_date, death_date)
you need to

1) create a page that declares a public interface for your function: and there is no "camel case vs snake case": function name will be "Format person info" (and フォーマット担当者情報 in Japanese, and so on), with arguments: name, surname, birth date, death date (again, people can add translations)

2) create a set of tests

3) create an implementation using Zvalues (see links above for example) in public interface. If this is not the first version, implementation can be reviewed and approved by some reviewer.

Re:Wikifunctions by Eduard on Sunday July 30, 2023 @01:32PM (#36933694)
> It is like "Q42 P31 Q5" for Wikidata - everyone understands it, ...

I don't.

Re:Wikifunctions by danbruc on Sunday July 30, 2023 @01:55PM (#36934005)
It's a semantic triple [1] - subject, predicate, object - made out of Wikidata IDs. Some common ones one will quickly memorize and start to recognize if one works with Wikidata.

Q42 is Douglas Adams [2], P31 is instance of [3], Q5 is human [4].

[1] https://en.wikipedia.org/wiki/Semantic_triple

[2] https://www.wikidata.org/wiki/Q42

[3] https://www.wikidata.org/wiki/Property:P31

[4] https://www.wikidata.org/wiki/Q5

Re:Wikifunctions by lanstin on Sunday July 30, 2023 @03:23PM (#36934953)
Fascinating. I had no idea people are still working on this sweetly optimistic project, like the architects writing a catalog of data taxonomies but for the unfenced territory of humanities knowledge. Sort of a modern Principia Mathematica with the Gödel of GPT4 waiting to blow it away.

Still 42 for Douglas Adams manually assigned token is a nice touch.

Re:Wikifunctions by brimwats on Monday July 31, 2023 @05:24PM (#36949057)
much of the AI projects would not really be possible without linked data, so it seems a bit silly to call it optimistic. the two are connected
Re:Wikifunctions by vrandecic on Monday July 31, 2023 @08:03PM (#36950606)
I have a half hour YouTube video on that topic, maybe you'll find it interesting, but likely too long: https://www.youtube.com/watch?v=WqYBx2gB6vA
Re:Wikifunctions by lanstin on Wednesday August 02, 2023 @01:17AM (#36967212)
It was interesting. I don’t think cheap matters much in a world:where compute is still getting rapidly cheaper. Being certain is good, but the throwmtons of data i to massive models keeps beating everything else. I do think the models need to get some self doubt built in some how but I don’t think the data catalog will be more than post NOC fact checking. Fun times tho.
Re:Wikifunctions by lanstin on Monday August 07, 2023 @01:26PM (#37037614)
Edited: It was interesting. I don’t think cheap matters much in a world where compute is still getting rapidly cheaper. Being certain is good, but the throw tons of data into massive models keeps beating everything else. I do think the models need to get some self doubt built in some how but I don’t think the data catalog will be more than post hoc fact checking. Fun times tho. (My mom was an editor, she'd be horrified.)