Live data from Hacker News

Welcome to Wikifunctions

wikifunctions.org

141–150 of 179 posts

Re: Welcome to Wikifunctions

#141

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…

Also, in case anyone is interested, the uninformative Jeffreys prior for this in Bayesian statistics (meaning it does not assume anything and is invariant to certain transformations of the inputs) is Beta(0.5, 0.5). Thus the initial guess is 0.5, and it evolves from there from the data.

Isn't 0.5 an absurd guess for the probability of a new restaurant being exceptionally good?

Re: Welcome to Wikifunctions

#142
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…

Kind of surprised nobody's posted this in reply yet (or that these aren't linked to from anywhere I can find in the UI), but:

on ZObjects: https://meta.wikimedia.org/wiki/Abstract_Wikipedia/ZObject

on human-readable equivalents to the above: https://meta.wikimedia.org/wiki/Abstract_Wikipedia/Canonical...

It's all so very utopian.

Re: Welcome to Wikifunctions

#143
post #140
post #132

Earlier quoted context omitted.

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.

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

#144
post #68
post #64

Earlier quoted context omitted.

Yeah, you're not the only one to think that https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2...

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…

THAT's the reason? Conveying a sentence as a series of propositions or a tree with case labels has been tried in the previous century, without success. It does not offer a good basis for translation, as e.g. Philips' Rosetta project showed. It works for simple cases, but as soon as the text becomes more complex, it runs into all the horrible little details that make up language.

A simple example: in Spanish you don't say "I like X" but "X pleases me". In Dutch you say, "I find X tasty" or "X is good" or something else entirely, depending on what X is. Those are three fairly close languages. How can you encode that simple sentence in such a way that it translates properly for all languages, now and in the future?

Symbolic representation isn't going to cut it outside a very narrow subset of language. It might work for highly technical, unambiguous, simple content, but not in general. Whatever you think of ChatGPT, it shows that a neural network can't be beaten for linguistic representation.

Re: Welcome to Wikifunctions

#145
post #123

Earlier quoted context omitted.

That page seems totally reasonable and admirable to me. It’s literally just advocating for including the wide and varied history of algorithm development, in order to encourage readers from many different backgrounds to find ways to connect with the important topic.

>It’s literally just advocating for including the wide and varied history of algorithm development, in order to encourage readers from many different backgrounds to find ways to connect with the important topic. I'm at a loss of words for what I feel towards respecting (even promoting!) the idea that a piece of knowledge ought to become interesting or valuable if there is ethnic relationship to it. It reeks of suprem…

[flagged]

Re: Welcome to Wikifunctions

#146

Earlier quoted context omitted.

> 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 e…

Thanks, I haven't been donating to WP but did not know all of that either (apart from the Google employees who are mentioned and linked already in the conversations referenced in this thread).

1 million doesn't even seem that much, but still, yes, nobody knows what donations actually mean behind the scenes (who believes in philantropy anyway?)

I mean, it's clear how much Google and others profit from WP and especially Wikidata already.

But does this mean they control the platform?

Re: Welcome to Wikifunctions

#147
It really doesn't explain what it's for.. so I'm left to guess that it's a RosettaCode clone.[1]

I can't figure out how you're going to see implementations of a function in the language of your choice.

Will there be C/C++/D/Go/Rust/Python/Java sections?

[1] https://rosettacode.org/wiki/Rosetta_Code

Re: Welcome to Wikifunctions

#148
post #80

I was about to say I stopped reading at: > the creation of new development environments or programming languages or paradigms will become easier, as they could simply refer to Wikilambda for a vast library of functions. ... except morbid curiosity compelled me to the end.

https://erlang.org/pipermail/erlang-questions/2011-May/05876...

I remember being intrigued by this idea. I doubt it would work but it’s interesting to understand why. Seems the main hold up is that each function might have to point to other function as dependencies, so it’s not going to be linear but really a graph. And then you are immediately in the position of I like this code but I am user Log package N, but they use Log package M so I have to copy and edit. . Vs _ and how things are published and versioned is just implementation details.

Re: Welcome to Wikifunctions

#149
post #140

Earlier quoted context omitted.

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

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

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

#150
post #4

https://rosettacode.org/wiki/Rosetta_Code is a similar website for people interested in this sort of thing

> We are not competing with sites such as gist, or sites such as rosettacode.org, esolangs.org, or helloworldcollection.de, where code snippets are collected either to share them quickly with others or around a specific theme in different programming languages.

https://www.wikifunctions.org/wiki/Wikifunctions:What_Wikifu...

Post reply on HN