It's not. I'm on mobile so not easiest to link, but the PHP versio of the parser is nothing like a single function. There is also a nodejs version of the parser under active development with the goal of replacing the php parser.
896 karma · joined January 2, 2012
It's not. I'm on mobile so not easiest to link, but the PHP versio of the parser is nothing like a single function. There is also a nodejs version of the parser under active development with the goal of replacing the php parser.
If taking all possible days, in the first year you have 42 days off, up to 55 by year 10
https://dumps.wikimedia.org/other/cirrussearch/current/
These dumps contain a json line per article and are formatted roughly like so: https://en.wikipedia.org/wiki/Hacker_News?action=cirrusdump
I hadn't set it up to sync to github as it was just internal development, but i've started the sync and it will show up at https://github.com/wikimedia/search-ltr soon.
It's got a bit more of the integration with elasticsearch put together, including storing models in cluster state and a rest interface for managing them. It's a bit more of a direct port of the solr plugin rather than a rewrite from the ground up so there are also some oddities that don't yet make sense. Refactors will certainly be done. It's also tied a little less directly to RankLib, such that i can convert and load in MART models trained by lightgbm or xgboost which have done pretty well in my offline tests and are able to utilize resources on my training machine much more efficiently than ranklib's LambdaMART (although in terms of results, the ranklib implementation is pretty good).
https://github.com/wikimedia/analytics-refinery-source/blob/...
It looks like hive or spark, depending on the use case. The data is also loaded into Druid when looking at statistics, rather than getting full data about individual messages.
> It's a good thing they didn't use Confleunt Camus. -shudder- It supports Avro-Over-Kafka out of the box, on the caveat that every single time it reads a message off kafka, it pings the schema registry to get the schema for it. That's great and all, until you've got thousands of messages per second.
They are using camus, much of the post is dedicated to it. It looks like they are also running avro over kafka+camus for some application logging, but at a lower volume (~10k messages/sec peak)
Software Engineer 2
Software Engineer 3
Senior Engineer
Staff Engineer
Senior Staff Engineer
Principal Engineer
Distinguished Engineer
Google Fellow
Senior Google Fellow
https://query.wikidata.org/#SELECT%20%3Fhuman%20%3FhumanLabe...
SELECT ?human ?humanLabel ?count WHERE {
{
SELECT ?human (COUNT(*) as ?count) WHERE {
?event wdt:P31 wd:Q18536594 . # All items that are instance of Olympic sporting event
?medal wdt:P279 wd:Q636830 . # All items that are subclass of Olympic medal
?human p:P1344 ?participantStat . # Humans with a participant of statement
?participantStat ps:P1344 ?event . # .. that has any of the values of ?event
?participantStat pq:P166 ?medal . # .. with the award received qualifier of any of the values of ?medal
}
GROUP BY ?human
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY DESC(?count)
LIMIT 100
EDIT: The dbpedia search should be something like: http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbp... SELECT ?human ?count WHERE
{
{
SELECT ?human (count(*) as ?count) WHERE {
?event rdf:type dbo:OlympicEvent
{
?event dbo:bronzeMedalist ?human .
} UNION {
?event dbo:silverMedalist ?human
} UNION {
?event dbo:goldMedalist ?human
}
}
GROUP BY ?human
}
}
ORDER BY DESC(?count)
LIMIT 100Start with: https://en.wikipedia.org/api/rest_v1/page/html/List_of_Olymp...
Run this js one-liner: [].slice.call(document.querySelectorAll('table[typeof="mw:Transclusion mw:ExpandedAttrs"] tr td:nth-child(n+2) > a:nth-child(1), table[typeof="mw:Transclusion mw:ExpandedAttrs"] tr:nth-child(3) td > a:nth-child(1)')).map(function(e) { return e.innerText; }).reduce(function(res,el) { res[el] = res[el] ? res[el] + 1 : 1; return res; }, {});
The result is an object with the medalists as keys, and the count as values. JS objects are unordered so sorting is left as an excercise for the reader.
k x y = x
b f g x = f (g x)
c f g x = f x g
y f = f (y f)
cond p f g x = if p x then f x else g x
fac = y (b (cond ((==) 0) (k 1)) (b (s (*)) (c b pred)))
Well if a single primary school needs 1 bln or anything close to it to
operate that won't be scale able.
Just to clarify, Zuckerburg has spent over a billion on education related grants and other gifts since 2010, but no one knows what he has spent on this one school. I can't see how he could have spent anywhere close to a billion dollars. Unfortunately the writing is fairly poor so I'm not even sure how many students this school will serve from which to guesstimate a cost.FTA:
Chan did not tell the Mercury News how much she and her husband are contributing
to The Primary School, but when it is fully built, it will serve 50 students
in 14 grades (pre-K through 12) plus the families of their 700 students.