169
submitted 1 year ago by ray@lemmy.ml to c/technology@lemmy.ml
top 11 comments
sorted by: hot top controversial new old
[-] over_clox@lemmy.world 68 points 1 year ago

Oddly enough, by posting this data publicly, those least viewed articles will end up getting a lot more views now.

[-] IzzyData@lemmy.ml 44 points 1 year ago

I want to see a website that links to whatever is the least viewed Wikipedia article at any given time until all Wikipedia articles basically have the same number of views.

[-] agressivelyPassive@feddit.de 21 points 1 year ago

There is a site, that randomly shows YouTube videos with 0 views.

[-] IzzyData@lemmy.ml 6 points 1 year ago

I do remember that. I suppose not enough people would ever use it for things to ever balance out.

[-] perviouslyiner@lemm.ee 11 points 1 year ago

https://en.wikipedia.org/wiki/Wikipedia:New_pages_patrol already does something like that to ensure all new pages get some minimum number of views to check the quality.

[-] bool@lemm.ee 25 points 1 year ago

Really enjoyed the read. Thanks for sharing. I’m surprised by the random page implementation.

Usually in a database each record has an integer primary key. The keys would be assigned sequentially as pages are created. Then the “random page” function could select a random integer between zero and the largest page index. If that index isn’t used (because the page was deleted), you could either try again with a new random number or then march up to the next non empty index.

[-] AbouBenAdhem@lemmy.world 27 points 1 year ago

Marching up to the next non-empty key would skew the distribution—pages preceded by more empty keys would show up more often under “random”.

[-] SheeEttin@lemmy.world 19 points 1 year ago* (last edited 1 year ago)

Fun fact, that concept is used in computer security exploits: https://en.wikipedia.org/wiki/NOP_slide

For choosing an article, it would be better to just pick a new random number.

Although there are probably more efficient ways to pick a random record out of a database. For example, by periodically reindexing, or by sorting extant records by random (if supported by the database).

[-] bl4kers@lemmy.ml 9 points 1 year ago

Did you know one of the most translated articles on Wikipedia is none other than American actor Corbin Bleu?

https://www.insider.com/why-corbin-bleu-wikipedia-pages-2019-1

[-] DirkMcCallahan@lemmy.world 4 points 1 year ago

Very cool! I love stuff like this.

this post was submitted on 26 Oct 2023
169 points (96.7% liked)

Technology

34794 readers
291 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS