Live data from Hacker News

Welcome to Wikifunctions

wikifunctions.org

131–140 of 179 posts

Re: Welcome to Wikifunctions

#131
post #88
post #68

Earlier quoted context omitted.

Wow. This feels like someone has taken a Borges parody and ran with it: > What is the scope of the new "Wikipedia of functions"? > [...] Vrandečić explained the concept of Abstract Wikipedia and a "wiki for functions" using an example describing political happenings involving San Francisco mayor London Breed: > "Instead of saying "in order to deny her the advantage of the incumbent, the board votes in January 2018 to…

Feels a lot like RDF, especially in terms of how I expect the underlying utopian dream to play out.

Vrandečić was Google's consultant on the old Freebase's RDF export. Wikidata, which he helped create, succeeded it. It's the same people pushing the same solution under different names.

Re: Welcome to Wikifunctions

#132
post #44

This has to be one of the most confusing documentation sites I have ever seen. Maybe I just don't get it, since I never edited Wikipedia. Opening some of the pages at random, like https://www.wikifunctions.org/view/en/Z828 https://www.wikifunctions.org/view/en/Z110 There's a "try this function" section, which I couldn't get to take any sort of input on a few tries. It always ended up with a field that said "no result…

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: Welcome to Wikifunctions

#133

The documentation doesn't quite match the ambition of the project which may complicate the onboarding of new contributions Some suggestions for immediate questions that people might want to see on a landing page: * How does the function collection relate to existing function libraries in various programming languages * What are the target domain and range of the function set, i.e., what is the overall scope of the pr…

There are no reasons for public users to contribute; editing is locked to trusted, hand-selected users given temporary permissions.[1] The lack of documentation and purpose are arguably intentional because they're targeting internal uses. A large-scale, alpha-quality solution still looking for any non-Wikimedia Foundation problem to solve, made public mostly because Wikimedia prefers to be and enjoys being messy in public.

1: https://www.wikifunctions.org/wiki/Wikifunctions:Apply_for_e...

Re: Welcome to Wikifunctions

#134
post #7

What are the holes in the namespace? https://www.wikifunctions.org/wiki/Z1 is about "Type: Object" https://www.wikifunctions.org/wiki/Z2 is about "Type: Persistent object" https://www.wikifunctions.org/wiki/Z10 404 https://www.wikifunctions.org/wiki/Z100 404 https://www.wikifunctions.org/wiki/Z500 is about "Error type: Unspecified error" https://www.wikifunctions.org/wiki/Z1000 404 https://www.wikifunctions.org/wiki/…

Many of the built-ins are currently turned off, whilst the team continues configuring things and bug-fixing.

The intended built-ins are listed at https://meta.wikimedia.org/wiki/Abstract_Wikipedia/Reserved_...

There are more interesting examples of some user-made functions at the Older Beta-deployment location the team has been using for the past year: https://wikifunctions.beta.wmflabs.org/wiki/Wikifunctions:Ma...

Re: Welcome to Wikifunctions

#135

The documentation doesn't quite match the ambition of the project which may complicate the onboarding of new contributions Some suggestions for immediate questions that people might want to see on a landing page: * How does the function collection relate to existing function libraries in various programming languages * What are the target domain and range of the function set, i.e., what is the overall scope of the pr…

Yes, I think a pointer to somewhere like https://meta.wikimedia.org/wiki/Abstract_Wikipedia or around (possibly under https://meta.wikimedia.org/wiki/Category:Abstract_Wikipedia ) should be here. Also I'd say one of the more important pages here is actually https://www.wikifunctions.org/wiki/Wikifunctions:What_Wikifu...

Also, from the well-buried FAQ:[1]

> In the future:

> * It will be possible to call Wikifunctions functions from other Wikimedia projects, and integrate their results in the output of the page.

> * It will be possible to use data from Wikidata in functions.

> * It will be possible to call data sets from Commons Data namespace.

Everything right now is just transparency about the project's immaturity and publicly alpha-testing actual use cases.[2][3][4]

1: https://www.wikifunctions.org/wiki/Wikifunctions:FAQ/en

2: All open tickets on Wikilambda, the stack behind Wikifunctions: https://phabricator.wikimedia.org/maniphest/?project=PHID-PR...

3: https://lists.wikimedia.org/hyperkitty/list/abstract-wikiped... — "We encountered a number of issues while deploying, and it was fascinating to fix these live while the community was watching. There are still a number of high-priority bugs, and we need to fix those before we get to the next step. The current plan is to open the wiki for editing on Tuesday, August 1st 2023, and we’ll update you if that changes."

4: https://meta.wikimedia.org/wiki/Abstract_Wikipedia/Updates/2...

Re: Welcome to Wikifunctions

#136
post #48

Earlier quoted context omitted.

One way to view this formula is to use the fact that the Beta distribution is a conjugate prior for the binomial distribution. Essentially if you have a Beta(a, b) prior then your prior mean is a/(a+b) and after observing n samples from a Bernoulli distribution that are all positive, your posterior is Beta(a+n, b) with posterior mean (a+n)/(a+n+b). So in your example you effectively have a Beta(0, x) prior and x (“su…

Can this way to view the formula be expressed without the terms beta distribution conjugate prior binomial distribution bernoulli distribution posterior ? Because I could easily grasp that it is a "trust formula" in the way mg described it. But this way to "view" the formula is a mistery to me.

Yeah, that's a lot of jargon associated with Bayesian statistics, but at it's root the idea is simple. How to merge information you have before observing some data (a.k.a. prior) with new information you just observed, to obtain updated information (a.k.a. posterior) that includes both what you believed initially + the new evidence you observed.

The probability machinery (Bayes rule) is a principled way to do this, and in the case of count data (number of positive reviews for the cafe) works out to give be a simple fraction n/(n+x).

Define: x = parameter of how skeptical you are in general about the quality of cafes (large x very sceptical), m = number of positive reviews for the cafe,

p = m+1 / (m+1+x) your belief (expressed as a probability) that the cafe is good after hearing m positive reviews about it.

Learning about the binomial and the beta distribution would help you see where the formula comes from. People really like Bayesian machinery, because it has a logical/consistent feel: i.e. rather than coming up with some formula out of thin air, you derive the formula based on general rules about reasoning under uncertainty + updating beliefs.

Re: Welcome to Wikifunctions

#137
post #44

This has to be one of the most confusing documentation sites I have ever seen. Maybe I just don't get it, since I never edited Wikipedia. Opening some of the pages at random, like https://www.wikifunctions.org/view/en/Z828 https://www.wikifunctions.org/view/en/Z110 There's a "try this function" section, which I couldn't get to take any sort of input on a few tries. It always ended up with a field that said "no result…

We didn’t want to announce Wikifunctions before you can edit it (what’s a wiki if you can’t edit it?). It is currently in locked-down testing. We have been slowly configuring and testing the wiki, the first new multilingual project in over 12 years! It is more complicated than a normal new wiki, in many ways. We are expecting to open it to broader editing in the next few days - on or after August 1. We are planning a…

Disclosure, not disclaimer.

Re: Welcome to Wikifunctions

#138
post #121

Earlier quoted context omitted.

>Do you think they should have to embrace austerity because they’ve asked for donations? "Not embracing austerity" is one thing, "asking for donations" is another thing, "what Wikimedia currently does" is something completely different from these two things. When you get a banner featuring Jimmy Wales with the words "Please read: A personal appeal from Wikipedia founder Jimmy Wales" and then something like this: >To…

> if Wikipedia, ever in our lifetimes, goes under, it won't be because they weren't given enough money I agree, I think it will be because they'll accept more money from commercial actors on the terms of whoever these actors are – Google currently does not seem to force any conditions on WP, as far as I can tell. > If you want to do a good deed donate to the Internet Archive. I agree with this as well but I consider…

The Rockefeller Foundation donated $1 million to Abstract Wikipedia toward the development of Wikifunctions a couple weeks ago: https://diff.wikimedia.org/2023/07/12/abstract-wikipedia-gai...

Wikifunctions also got nine Google employees from a Google.org Fellowship in April 2022: https://diff.wikimedia.org/2022/04/14/google-org-fellowship-...

The people whose business models benefit from this project's success will ensure it's staffed and funded. Your donations are emphatically not needed, nor will declining to donate do anything to slow it down.

Re: Welcome to Wikifunctions

#140
post #132
post #44

This has to be one of the most confusing documentation sites I have ever seen. Maybe I just don't get it, since I never edited Wikipedia. Opening some of the pages at random, like https://www.wikifunctions.org/view/en/Z828 https://www.wikifunctions.org/view/en/Z110 There's a "try this function" section, which I couldn't get to take any sort of input on a few tries. It always ended up with a field that said "no result…

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/v…

> It is like "Q42 P31 Q5" for Wikidata - everyone understands it, ...

I don't.

Post reply on HN