r/redditdata • • Apr 18 '17

Place Datasets (April Fools 2017)

Background

On 2017-04-03 at 16:59, redditors concluded the Place project after 72 hours. The rules of Place were simple.

There is an empty canvas.
You may place a tile upon it, but you must wait to place another.
Individually you can create something.
Together you can create something more.

1.2 million redditors used these premises to build the largest collaborative art project in history, painting (and often re-painting) the million-pixel canvas with 16.5 million tiles in 16 colors.

Place showed that Redditors are at their best when they can build something creative. In that spirit, I wanted to share several datasets for exploration and experimentation.


Datasets

EDIT: You can find all the listed datasets here

  1. Full dataset: This is the good stuff; all tile placements for the 72 hour duration of Place. (ts, user_hash, x_coordinate, y_coordinate, color).
    Available on BigQuery, or as an s3 download courtesy of u/skeeto
  2. Top 100 battleground tiles: Not all tiles were equally attractive to reddit's budding artists. Despite 320 untouched tiles after 72 hours, users were dispropotionately drawn to several battleground tiles. These are the top 1000 most-placed tiles. (x_coordinate, y_coordinate, times_placed, unique_users).
    Available on BiqQuery or CSV

    While the corners are obvious, the most-changed tile list unearths some of the forgotten arcana of r/place. (775, 409) is the middle of ‘O’ in “PONIES”, (237, 461) is the middle of the ‘T’ in “r/TAGPRO”, and (821, 280) & (831, 28) are the pupils in the eyes of skull and crossbones drawn by r/onepiece. None of these come close, however, to the bottom-right tile, which was overwritten four times as frequently as any other tile on the canvas.
  3. Placements on (999,999): This tile was placed 37,214 times over the 72 hours of Place, as the Blue Corner fought to maintain their home turf, including the final blue placement by /u/NotZaphodBeeblebrox. This dataset shows all 37k placements on the bottom right corner. (ts, username, x_coordinate, y_coordinate, color)
    Available on Bigquery or CSV
  4. Colors per tile distribution: Even though most tiles changed hands several times, only 167 tiles were treated with the full complement of 16 colors. This dateset shows a distribution of the number of tiles by how many colors they saw. (number_of_colors, number_of_tiles)
    Available as a distribution graph and CSV
  5. Tiles per user distribution: A full 2,278 users managed to place over 250 tiles during Place, including /u/-NVLL-, who placed 656 total tiles. This distribution shows the number of tiles placed per user. (number_of_tiles_placed, number_of_users).
    Available as a CSV
  6. Color propensity by country: Redditors from around the world came together to contribute to the final canvas. When the tiles are split by the reported location, some strong national pride can be seen. Dutch users were more likely to place orange tiles, Australians loved green, and Germans efficiently stuck to black, yellow and red. This dataset shows the propensity for users from the top 100 countries participating to place each color tile. (iso_country_code, color_0_propensity, color_1_propensity, . . . color_15_propensity).
    Available on BiqQuery or as a CSV
  7. Monochrome powerusers: 146 users who placed over one hundred were working exclusively in one color, inlcuding /u/kidnappster, who placed 518 white tiles, and none of any other color. This dataset shows the favorite tile of the top 1000 monochormatic users. (username, num_tiles, color, unique_colors)
    Available on Biquery or as a CSV

Go forth, have fun with the data provided, keep making beautiful and meaningful things. And from the bottom of our hearts here at reddit, thank you for making our little April Fool's project a success.


Notes

Throughout the datasets, color is represented by an integer, 0 to 15. You can read about why in our technical blog post, How We Built Place, and refer to the following table to associate the index with its color code:

indexcolor code
0#FFFFFF
1#E4E4E4
2#888888
3#222222
4#FFA7D1
5#E50000
6#E59500
7#A06A42
8#E5D900
9#94E044
10#02BE01
11#00E5F0
12#0083C7
13#0000EA
14#E04AFF
15#820080

If you have any other ideas of datasets we can release, I'm always happy to do so!


If you think working with this data is cool and wish you could do it everyday, we always have an open door for talented and passionate people. We're currently hiring in the Senior Data Science team. Feel free to AMA or PM me to chat about being a data scientist at Reddit; I'm always excited to talk about the work we do.

596 Upvotes

310 comments sorted by

103

u/Pizzapastaagain Apr 18 '17

Christ, 37k times? Well, at least they accomplished something. Nothing good or useful, but it was something.

69

u/Drunken_Economist Apr 18 '17 edited Apr 18 '17

That's about once every seven minutes seconds, day and night, for the entire time.

54

u/TheVeryLeast Apr 18 '17

seven minutes

I think this is supposed to say 7 seconds

33

u/Drunken_Economist Apr 18 '17

sorry typing faster than I can think, although that's not really saying much

39

u/jttv Apr 18 '17

It's ok he is drunk

→ More replies (1)
→ More replies (4)

9

u/Ryuujinx Apr 18 '17

We accomplished making our corner blue.

That's all that matters to us.

6

u/zissou149 Apr 18 '17

I'm going to save this comment for whoever writes my eulogy.

6

u/[deleted] Apr 18 '17

Scripts did the heavy lifting I'd wager.

12

u/ELFAHBEHT_SOOP Apr 18 '17

Why no usernames?

33

u/Drunken_Economist Apr 18 '17

The original plan was to release with usernames attached, but a user reached out and asked that we remove theirs at least, because they were afraid somebody would find out what his or her alts were.

We landed on the idea because the usernames were publicly accessible throughout, they in fact public information. But if one user actually reached out nervous about it, there would likely be many more that wouldn't appreciate us making it much easier than it was to associate usernames. You absolutely won't get banned for posting datasets with the usernames included (like I said, they were publicly available), but we decided to err on the side of caution.

11

u/ThePopeShitsInHisHat Apr 18 '17

Is it possible to know how's the hash calculated?

I'd like to look for my tiles but it seems like I can't click on the original canvas anymore so I can't really find them. Plus I've participated in some contested areas so I wouldn't know if they're actually there anymore in the first place.

24

u/Drunken_Economist Apr 18 '17 edited Mar 30 '22

Yup, it's fully done in BigQuery, TO_BASE64(SHA1(username)), so for example you can find your tiles by

#standardSQL
SELECT color, COUNT(*) count
FROM `reddit-jg-data.place_events.all_tile_placements` 
WHERE user=TO_BASE64(SHA1('ThePopeShitsInHisHat'))
GROUP BY 1 ORDER BY 2 DESC

11

u/zissou149 Apr 18 '17

Hey just as a heads up, and this could just be because I've never used BigQuery before and don't know what I'm doing but I had to format mine like this to not get an error:

SELECT * FROM [reddit-jg-data:place_events.all_tile_placements] where user = TO_BASE64(SHA1("zissou149"))

→ More replies (26)

7

u/Goheeca Apr 18 '17

I'm just leaving here a bash command for the gunzipped csv: grep `echo -n username | openssl dgst -sha1 -binary | openssl enc -base64` tile_placements.csv

→ More replies (4)
→ More replies (3)

3

u/[deleted] Apr 18 '17

Can you at least show the first and last pixel placed? I'm really curious to know which users hold those positions.

9

u/phil_g Apr 18 '17 edited Apr 18 '17

The last pixel was placed by /u/stevenashattack at 2017-04-03 16:58:54 UTC. (It was a red pixel at (605,160).)

The first pixel was placed by /u/powerlanguage (go figure) at 2017-03-31 00:04:48 UTC. (It was a light grey pixel at (505, 510).)

Edit: Based on the timestamps, I'm guessing that the earliest pixels were testing by Reddit affiliates. The first real pixel appears to have been placed by /u/N3RD4L1F3 at 2017-03-31 16:55:12 UTC. It was a red pixel at (457, 539).

7

u/Drunken_Economist Apr 18 '17

The first pixel was placed by /u/powerlanguage

THE FIX IS IN

→ More replies (3)

7

u/Aevroze Apr 18 '17

Thanks for deciding to do this. I was concerned about communities posting lists like "Top 20 users who messed up our logo", which I don't believe is possible in the data's current state.

→ More replies (8)

2

u/sheesh Apr 18 '17

Perhaps can you show each user their specific "user_hash" on a private (to them) page? So that they can then look up where their actual final contributions ended up, etc.

10

u/[deleted] Apr 18 '17

Those monochrome users are bots bro. None of them have used their accounts to post something in years. There is literally 0% chance those are human controlled.

12

u/Drunken_Economist Apr 18 '17

Many of them, almost assuredly. Bots were part of Place — we made our API developer-accessible on purpose.

7

u/[deleted] Apr 18 '17

Well what I meant is that those are inactive accounts. Seems more like a botnet. I ran some botting scripts on my account but I also use my account and only have 1approximately

7

u/Drunken_Economist Apr 18 '17

Ah I see what you mean. As far as I can tell, the top six monochrome accounts are still controlled by the original creator. I stopped looking at six because it's pretty boring

6

u/GeodesicGroot Apr 19 '17

I'm #1 at something on reddit! Did we win anything? You know... other than the overwhelming feeling that I should spend my time more wisely?

6

u/Drunken_Economist Apr 19 '17

you win reddit gold I guess?

→ More replies (1)

5

u/glitchn Apr 18 '17

It doesn't have to be a botnet. Many of us have alt accounts, sometimes for porn or whatever reason. I have a few because I try change up my web profiles occasionally to make it harder to track down my entire internet history based on a username. Also as our preferences change, sometimes we desire updated usernames to match our current phase of life. So I have a few accounts that were never ever used, and might look like a botnet to you since they are empty, but I assure you they are under my control and not some botnet.

3

u/hunterschuler Apr 18 '17

So you're telling me you made r/place worse on purpose?

Bots made it less enjoyable.

7

u/[deleted] Apr 18 '17

It's human nature to optimize and it's also human nature to complain when we're outperformed by somebody else's optimization. Given that this was an experiment designed to illuminate human nature, I'd say it's been a complete success.

→ More replies (1)

9

u/swng Apr 18 '17

Neither /u/zig145 nor /u/Bizkitdoh had comments in months, yet they placed pixels, and have recently commented upon being mentioned.

Lurkers exist.

9

u/Bizkitdoh Apr 18 '17

Yeah I can promise we 100% physically dropped all of our dots and put the time in lol, too much time. ;_; We were like AHH IT'S ZIG on many occasions. It's amazing this came to be a thing.

4

u/TheKittenConspiracy Apr 18 '17

I was one of the top red tile monochrome users and I'm not a bot. I just decided to stick with one color for the heck of it. I never even used a pixel placement script.

2

u/Spider_pig448 Apr 18 '17

I assume by literally you mean probably right?

→ More replies (1)

6

u/DEATH-BY-CIRCLEJERK Apr 18 '17

Thanks for the data. Just wanted to point out some small typos:

Avialable on BiqQuery, or as a gzipped CSV

12

u/Drunken_Economist Apr 18 '17

I have no idea what you're tlaking about thanks ^^^though

7

u/MrAykron Apr 18 '17

Did you just...

12

u/Drunken_Economist Apr 18 '17

Did I jsut what?

8

u/MrAykron Apr 18 '17

Heavy Breathing

3

u/opl_ Apr 18 '17

The article name is wrong too:

How We Build Place.

→ More replies (1)

5

u/rya_nc Apr 18 '17

I'm seeing values from 0 to 1000 inclusive for x/y - is this a bug somewhere?

5

u/Drunken_Economist Apr 18 '17

There's only a few in the x = 1000 or y = 1000 groups, right? I'm thinking it's a bug in Place (or perhaps the events sent by place)

2

u/rya_nc Apr 18 '17

I'm not sure. I'm trying to render everything to a canvas and output an image per second, and I just decided to give it a 1001x1001 canvas.

2

u/Drunken_Economist Apr 18 '17

I like that solution as well

2

u/phil_g Apr 18 '17

It looked, from the outside, like there were some off-by-one errors in the /r/place code. x and y coordinates of 1000 were accepted by the API and were sometimes sent over the websocket. The board-place API returned a 1000x1001 board.

I just throw away all coordinates over 999 and work with a 1000x1000 canvas.

3

u/Drunken_Economist Apr 04 '22

I'll edit the original post, you can find it all here https://console.cloud.google.com/storage/browser/place_data_share?pli=1

1

u/GarethPW Apr 04 '22

Was this meant as a reply to my comment? Either way thanks :)

3

u/Drunken_Economist Apr 04 '22

ha! It was meant as a reply, that's what I get for not paying attention

1

u/GarethPW Apr 05 '22

I have one other question about the 2017 data if it's okay with you:

I looked back at some of my old chat messages and found the user hash I ended up with in 2017 was n5aHNjanhmnw48LKuRTn0eFTG28= (SHA1). The updated dataset uses MD5 from what I can tell and I've managed to figure out my corresponding hash is RATFbb8DPeQjQODs1KICKA==. I can reproduce the SHA1 one, but I can't for the life of me figure out how the MD5 hash was generated.

Any help at all would be appreciated.

2

u/Drunken_Economist Apr 06 '22

ahhhhh, this was created so long ago. I wonder if I had salted the user hash in this dataset.

I'll see if I can figure it out

2

u/Drunken_Economist Apr 06 '22

Actually instead of worrying about figuring it out, I just did us all a favor and added place_tiles_sha1.csv to the google bucket.

I also re-made the public BigQuery table, so you can confirm by running this BQ query:

  *
FROM
  `jtbg-scratch.reddit_place.all_tile_placements_2017`
WHERE
  user_sha1_b64 = TO_BASE64(SHA1('GarethPW'))```
→ More replies (3)

1

u/Jazzanthipus Apr 04 '22

Will there be similar data shared for this year's Place? Stoked to dig in!

→ More replies (5)

1

u/revadike Apr 06 '22

Can we expect place 2022 datasets from you?

4

u/Wolfur Apr 18 '17

Whoa, this is way better then the other data source i was using! Thnx! Though, is there a reason for the sorting the way it is? I looked through the CSV data in a text editor and the timestamps are all over the place. Is there a version of the full data set that is sorted by time stamp?

5

u/Drunken_Economist Apr 18 '17

It's totally unsorted, you could sort in BigQuery and export it (or even ruby/python, it's 16.5M rows and they can both handle it in a few seconds)

3

u/Wolfur Apr 18 '17

hmmm... i see, problem is, i don't know how to use either of these tools, i'm getting the hang of Java trough processing but i don't think that's powerful enough. though trying to get this sorted will be a nice challenge.

→ More replies (8)

3

u/frumperino Apr 19 '17

This is wonderful, but the "full dataset" :

Available on BigQuery, or as a gzipped CSV

This zipped CSV has the rows sorted by color which is not very useful. Sorting 16 million records is a bit much for common desktop data processing tools. Can we please have the "full results" dataset re-exported so that the rows are ordered by time? That makes it a lot easier to then run through line-by-line parsed processing for visualization of the tile placements over time. Thanks.

I guess there's a way to do it myself with bigquery but when I try to run the select all, order by ts query I get an out of resources error.

3

u/Drunken_Economist Apr 19 '17

You can easily sort in BigQuery with SELECT * FROM [reddit-jg-data:place_events.all_tile_placements] ORDER BY ts ASC.

3

u/frumperino Apr 20 '17

As I mentioned, when I run that exact query I get:

Query Failed Error: Resources exceeded during query execution.

→ More replies (2)

1

u/thatguywiththatname2 Apr 19 '17

I second this. The data sorted by time stamp would be so much more useful for iterating over it to create a visualisation

1

u/KyleTheScientist Apr 20 '17

I sorted it by timestamp but I took out the usernames because I wasn't planning on using them. I can post it somewhere if you want. Not sure where would be easiest/most convienient. I can resort it with the usernames as well.

308

u/mentionhelper Apr 18 '17

It looks like you're trying to mention other users, which only works if it's done in the comments like this (otherwise they don't receive a notification):


I'm a bot. Bleep. Bloop. | Visit /r/mentionhelper for discussion/feedback | Want to be left alone? Reply to this message with "stop"

408

u/Ph0X Apr 18 '17

Bot teaching the admins how to use the site. Bold move.

54

u/siraisy Apr 18 '17

24

u/sneakpeekbot Apr 18 '17

16

u/JasonDJ Apr 18 '17

Heh, #2 post is the /r/totallynotrobots captcha on /r/Place .

8

u/[deleted] Apr 18 '17

Sneak peak bot need's a /r/totallynotrobots exception. Instead of posting regular content it needs to affirm that it's not a robot.

21

u/Teekeks Apr 18 '17

It does, in the fineprint at the bottom. Usually it is "I am a bot", for /r/totallynotrobots it is "I'm not a bot"

8

u/ItsYaBoyChipsAhoy Apr 18 '17 edited Apr 18 '17

Bold move cotton, let's see how it plays out.

6

u/2lazy4forgotpassword Apr 18 '17

It's treason, then.

3

u/BradC Apr 18 '17

I sure do love pumpkins, Cotton.

→ More replies (2)

9

u/[deleted] Apr 20 '17

I like how /u/kidnappster hasn't posted a comment or post in 4 years. I think he died on his keyboard and, in death, couldn't stop placing white tiles.

2

u/glitchn Apr 18 '17

I cant download the full data csv, and i'm not sure if there is a way to export it from bigquery and download it locally (not to a bucket).

I tried another dataset's csv file and it worked, just not the full dataset. Anyone else able to get it?

2

u/Drunken_Economist Apr 18 '17

It's a pretty big file (and gzipped), maybe your browser is blocking it. You can export BQ -> bucket and then download from your resultant bucket

2

u/Romejanic Aug 09 '17

/u/Drunken_Economist Why are the usernames in the entire /r/place history hashed, when the other datasets are just the plain text usernames?

3

u/Drunken_Economist Aug 09 '17

Eh, just to add a bit of obfuscation. For some users, tensions were quite high during place, as they"battled" over real estate on the canvas. We wanted to discourage any potential issues with the hashing. It's a simple md5 hash of the username, so you can easily go username -> hash if you'd like to find your own or another users pixels, but it's a slight bit harder in the other direction.

Of course, at the end of the day there are a finite number of Reddit users, and you could produce a rainbow table for it with some amount of time and motivation . . . which would be okay, since nobody seems to still be upset about anything in r/place now :)

3

u/Romejanic Aug 09 '17

That makes sense, thanks for the quick reply!

96

u/crblanz Apr 18 '17

Crazy to see that our small subreddit /r/Tagpro ended up with the 6th most changed tile, simply because 2000 different people thought Fagpro would be funnier lol

67

u/[deleted] Apr 18 '17

lol that is funnier

→ More replies (1)

15

u/HBlight Apr 18 '17

The lesson if this ever happens again, don't use single-pixels for text unless you are /r/PrequelMemes

8

u/TPsquirrely Apr 18 '17

We didn't we actually changed it to a thicker font part way through to make it harder to grief. T could still be easily changed to basically an F with one pixel (the 6th most changed pixel in place and the second most changed non-corner pixel) although a better looking F was harder.

→ More replies (1)

10

u/Ajedi32 Apr 18 '17

Same for /r/mylittlepony (4th most changed tile), where people kept trying to change "PONIES" to "PENISS".

→ More replies (1)

8

u/BradC Apr 18 '17

I wonder how many times "Lakers" was changed to "Fakers".

6

u/Mechanical_Teapot Apr 18 '17 edited May 27 '17

[Deleted]

6

u/ElectroclassicM Apr 18 '17

It is indeed funnier. And our VIVA in VIVA MEXICO CABRONES, kept changing to WALL MEXICO.

2

u/frumperino Apr 20 '17

Try counting how many people tried to put a dick on Nick Wilde.

1

u/Sexy_Offender Apr 18 '17

UM's go blue was changed to go bloe many times.

1

u/Uristqwerty Apr 19 '17

A 1px border line around each letter would have effectively defeated that particular change, though.

1

u/bathingsoap Apr 19 '17

I was actually really surprised when I saw Tagpro on there. Never thought it will have such a big spot

1

u/RealGamerGod88 Apr 19 '17

I actually thought it was Fagpro, and changed it to Tagpro as a joke.

1

u/FelkCraft Apr 19 '17

People frequently griefed the M in /r/androidgaming to a Y

64

u/daniel Apr 18 '17

Here's a torrent of a screenshot of the board taken once per minute from the very beginning. There's a description of the format in the readme, but I'm guessing that's been thoroughly described elsewhere on the site by now. This should help reconcile any events you see that are at the same timestamp.

Please seed.

62

u/[deleted] Apr 18 '17

Please seed.

not a chance buddy. Thanks for the free data sucker

24

u/DFGdanger Apr 18 '17

#teamLeech

11

u/AKnightAlone Apr 18 '17

As a communist, you two would be in my gulag.

6

u/DFGdanger Apr 18 '17

No, comrade, I am make ironic joke!

→ More replies (1)

10

u/Ohsin Apr 18 '17

8

u/daniel Apr 18 '17

Yeah, I believe that's using the event stream (if you click through to the HN source, you can see it's referring to u/Drunken_Economist's initial data dump), which can have duplicate timestamps or have slight ordering problems due to server side timestamps being different. This dump is the defacto board state that was shown to all users at every point in time, and could be used as synchronization "frames" for that event-stream if someone wanted.

6

u/B-VI Apr 18 '17

Must be a stupid question but... how do I see the screenshots? There's just files I can't open

9

u/daniel Apr 18 '17

Sorry, it's not a stupid question, but they're still in their raw binary format. If you're programmatically inclined you can make them into PNGs. If not, I suspect someone else will shortly given how great the community is at that sort of thing.

6

u/IAM_Deafharp_AMA Apr 18 '17

Wow Daniel, an 8 year old account.

One might say, "damn"

→ More replies (2)

4

u/B-VI Apr 18 '17

Alright I guess I'll wait then :p Anyway thanks for making this torrent available though!

12

u/jakowz Apr 18 '17 edited Mar 30 '22

I converted them all to pngs, here you go :)

→ More replies (2)

2

u/MissLauralot Apr 18 '17

Awesome, thankyou.

/u/rya_nc ↑parent

2

u/vikramdesh1 Apr 18 '17

Can someone please post a CSV of the final screenshot with x, y and color pretty please? Thanks!

40

u/fhoffa Apr 18 '17 edited Apr 18 '17

Thanks for sharing in BigQuery! As a reminder, everyone gets a free monthly terabyte for querying, no credit card needed.

Disclosure: I'm Felipe Hoffa and I work for Google Cloud. Find me on /r/bigquery :)

Obligatory BigQuery query: Top color per hour

#standardSQL
SELECT hour, color top_color, c placements
FROM (
  SELECT *, ROW_NUMBER() OVER(PARTITION BY hour ORDER BY c DESC) rn
  FROM (
    SELECT  TIMESTAMP_TRUNC(TIMESTAMP_MILLIS(ts), HOUR) hour, color, COUNT(*) c
    FROM `reddit-jg-data.place_events.all_tile_placements` 
    GROUP BY 1, 2
  )
)
WHERE rn=1
ORDER BY hour
LIMIT 1000
Rowhourtop_colorplacements
12017-03-31 00:00:00 UTC1126
22017-03-31 01:00:00 UTC332
32017-03-31 02:00:00 UTC949
42017-03-31 03:00:00 UTC54
52017-03-31 04:00:00 UTC216
62017-03-31 05:00:00 UTC615
72017-03-31 07:00:00 UTC817
82017-03-31 08:00:00 UTC85
92017-03-31 14:00:00 UTC71
102017-03-31 15:00:00 UTC1010
112017-03-31 16:00:00 UTC5153
122017-03-31 17:00:00 UTC58055
132017-03-31 18:00:00 UTC517756
142017-03-31 19:00:00 UTC1337435
152017-03-31 20:00:00 UTC1352604
162017-03-31 21:00:00 UTC1335376
172017-03-31 22:00:00 UTC1330869
182017-03-31 23:00:00 UTC1340076
192017-04-01 00:00:00 UTC1324814
202017-04-01 01:00:00 UTC1322201
212017-04-01 02:00:00 UTC1321015
............

8

u/fhoffa Apr 18 '17

Based on /u/drunken_economist's post, decoding user names:

#standardSQL
SELECT color, COUNT(*) count
FROM `reddit-jg-data.place_events.all_tile_placements` 
WHERE user=TO_BASE64(SHA1('ThePopeShitsInHisHat'))
GROUP BY 1 ORDER BY 2 DESC

2

u/minimaxir Apr 19 '17 edited Apr 19 '17

Note that this maps usernames to userhashes, but it can't map userhashes to username. (without a rainbow table anyways or doing a JOIN on the hashes derived from usernames from the normal Reddit dataset)

EDIT: dammit, my strikeout was not original.

6

u/skeeto Apr 20 '17 edited Apr 20 '17

I managed to reverse more than 90% of the hashes, so we can now see the majority of who-did-what. Here's the mapping of hashes back into actual usernames:

The remaining <10% are accounts that have never left a comment, making them difficult to discover.

7

u/fhoffa Apr 18 '17

How many users got the most tiles placed per hour:

#standardSQL
SELECT hour, COUNT(*) users_tied_top, placements
FROM (
  SELECT hour, user top_user, c placements
  FROM (
    SELECT *, RANK() OVER(PARTITION BY hour ORDER BY c DESC) rn
    FROM (
      SELECT  TIMESTAMP_TRUNC(TIMESTAMP_MILLIS(ts), HOUR) hour, user, COUNT(*) c
      FROM `reddit-jg-data.place_events.all_tile_placements` 
      GROUP BY 1, 2
    )
  )
  WHERE rn=1
  ORDER BY hour
)
GROUP BY hour, placements
ORDER BY hour
LIMIT 1000

Wild variations here, for example:

  • On 2017-03-31 17:00:00 UTC, 8 users did 12 placements each.
  • On 2017-03-31 18:00:00 UTC, 100 users did 12 placements each.
  • On 2017-03-31 21:00:00 UTC, 444 users did 7 placements each.
  • On 2017-04-01 13:00:00 UTC, 1416 users did 6 placements each.
  • On 2017-04-01 14:00:00 UTC, 1 user did 8 placements only.
  • ...

3

u/0110100001101000 Apr 18 '17

How did someone place 39 in an hour...?

6

u/jringstad Apr 18 '17

Some part of their infrastructure was not properly locked, and this allowed you to issue many simultaneous place commands that would all go through.

https://redditblog.com/2017/04/13/how-we-built-rplace/

ctrl-F "race condition"

5

u/amaze-username Apr 18 '17

See how many tiles you placed every hour:

#standardSQL
SELECT TIMESTAMP_TRUNC(TIMESTAMP_MILLIS(ts), HOUR) hour, COUNT(*) c
FROM `reddit-jg-data.place_events.all_tile_placements`
WHERE user=TO_BASE64(SHA1('username'))
GROUP BY hour
ORDER BY hour

Helpful to see when you were most active.

4

u/chalks777 Apr 18 '17

Any way to get the final state of the board from this data set?

5

u/fhoffa Apr 18 '17
#standardSQL
SELECT * FROM (
SELECT color, x_coordinate, y_coordinate
  , ROW_NUMBER() OVER(PARTITION BY x_coordinate, y_coordinate ORDER BY ts DESC) rn
FROM `reddit-jg-data.place_events.all_tile_placements` 
)
WHERE rn=1
ORDER by x_coordinate, y_coordinate 
→ More replies (3)

3

u/cftwat Apr 18 '17

How to see if you had a tile placed in the final state:

SELECT * FROM (
SELECT user, color, x_coordinate, y_coordinate
  , ROW_NUMBER() OVER(PARTITION BY x_coordinate, y_coordinate ORDER BY ts DESC) rn
FROM [reddit-jg-data:place_events.all_tile_placements] 
)
WHERE rn=1
AND user =TO_BASE64(SHA1('YOUR_USERNAME_HERE'))
ORDER by x_coordinate, y_coordinate     

(Adapted from /u/fhoffa's final board state query)

2

u/IHadThatUsername Apr 19 '17

Thank you for this! Seems like I managed to have 3 pixels on the final canvas! I really wasn't expecting to have that many!

2

u/minimaxir Apr 18 '17

Why are there gaps in the hours intervals? (Did not follow /r/Place that closely so unsure if there was an outage)

3

u/fhoffa Apr 18 '17

Might have to do with the number of unique users:

http://imgur.com/a/XBuaK

#standardSQL
SELECT  TIMESTAMP_TRUNC(TIMESTAMP_MILLIS(ts), HOUR) hour, COUNT(DISTINCT user) c
FROM `reddit-jg-data.place_events.all_tile_placements` 
GROUP BY 1 
ORDER BY 1

2

u/phil_g Apr 18 '17

I believe /r/place went public at about 16:55 UTC on the 31st. The pixels placed before that point are all Reddit admins, presumably doing final testing. Once everyone could hit it, the activity levels went up and stayed up.

→ More replies (19)

13

u/opl_ Apr 18 '17

Why are the timestamps accurate only to a second, when the timestamps returned by the pixel.json api had millisecond accuracy?

1

u/TechLaden Apr 19 '17

Why are the timestamps accurate only to a second, when the timestamps returned by the pixel.json api had millisecond accuracy?

Ah, the old "ms vs s" issue.

Please raise a ticket here with an appropriately named title and description of the issue. Once submitted, please reply to this comment with the ticket number and someone will respond soonTM.

5

u/rickRollWarning Apr 19 '17

[The comment above likely has (one or more) prank links]:

"Rick Roll"


^^#bot

13

u/phil_g Apr 18 '17

The most successful pixel-placer might have been /u/chalks777; they ended up with 232 of their pixels on the final board. Second-place goes to /u/Acid147, with 166 pixels.

18

u/chalks777 Apr 18 '17 edited Apr 18 '17

I kind of gave up on trying to draw anything myself. I figured that I COULD draw something by 'owning' tiles though... so I wrote a script to write "chalksy" (my tagpro username) as many times as I could using 3x3 font under the /r/tagpro sign... by claiming tiles with the color that already existed in the location I cared about.

4

u/Alphaetus_Prime Apr 18 '17

Oh, now that's clever.

2

u/wilyuhm Apr 19 '17

So we should pull all of your tiles that made it to the end and see what image comes out? Would we see multiple iterations of your username?

→ More replies (2)

2

u/Suchui Apr 18 '17

In case anyone's interested in checking, I wrote a query to list all the pixels placed by a particular user which made it to the final board:

select myPlacements.x as x
	, myPlacements.y as y
	, globalPlacements.ts as ts
from (
	--Last timestamp in pixel
	select 
		x_coordinate as x, 
		y_coordinate as y, 
		max( ts ) as ts
	from [reddit-jg-data:place_events.all_tile_placements]
	group by x, y
) as globalPlacements
inner join (
	--last ts of my placements at each coord
	select x_coordinate as x
		, y_coordinate as y
		, max( ts ) as ts
	from [reddit-jg-data:place_events.all_tile_placements]
	where user = to_base64(SHA1("Suchui")) -- Change to your username
	group by x, y
) as myPlacements
on globalPlacements.x = myPlacements.x 
	and globalPlacements.y = myPlacements.y
where myPlacements.ts >= globalPlacements.ts

Apparently I got a whole 35 pixels on the final board.

5

u/Commandtechno Apr 02 '22

Hey, just wondering if we'll be receiving something similar to this this year 👀

2

u/GarethPW Apr 04 '22

Ditto!

4

u/Commandtechno Apr 04 '22

Hey, I actually got a response in DMs... he said he would suggest it!

→ More replies (2)

5

u/[deleted] Apr 05 '22

Any chance of place data for 2022

4

u/Ginkgopsida Apr 18 '17

Thank you for providing this data it could be usefull for research

4

u/redshift78 Apr 19 '17

The full dataset is currently sorted by color. Would it be possible to get one sorted by timestamp?

2

u/KyleTheScientist Apr 20 '17

I made a version of the data sorted by timestamp and uploaded it to dropbox here.

4

u/[deleted] Apr 05 '22

When will this year's data be ready?

1

u/Disciple153 Apr 08 '22

I'm trying to figure out if I placed any tiles back in 2017, but it looks like the hashes have changed. Is there anywhere I can find the original full dataset, or any other way to tell if I placed any tiles?

1

u/Mysterious_Example38 Apr 14 '22

Geo News

Photo by reporter

"I did everything for the will of God. I saw that people who were stuck by the avalanche and had I not helped them, they probably wouldn't have returned alive. I had been trying to help them since 2pm, however officials arrived around 12am," Khan told Geo.

The Kachlak native added, "I tried to give priority to pregnant women, heart patients and small children when rescuing, and made them stay in my own home, fed them, and gave them a place to sleep."

Also read:83 dead as severe cold grips Pakistan=

Geo News

The 30-year-old reached the stranded passengers on his Sports Utility Vehicle, a Toyota Land Cruiser, and helped the people to safety and comfort of his home without any assistance from the authorities.

The kindness of Khan, however, knew no bounds, as he also helped get fuel, paid out of his own pocket, to people whose cars had broken down on the road in the severe cold, thereby playing a pivotal role in getting them to safety.

Also read:In pictures: Heavy snowfall cripples life across Balochistan

One of the people rescued by Khan spoke to Geo about the super-human efforts of the kind stranger. "I witnessed Khan rescue more than 100 people out of the snowstorm, including a little girl from a Danish School, who was then safely taken to her area of Khanozai," said Habib Ullah, a driver who was stuck on the road.

'I did everything for the will of God'

Khan took the rescued survivors to his home, where he gave them food and provided a place to sleep for the ones who had fallen ill.

Share

f

Next Story >>>Suleman Khan, a young man from the Kachlak area in Quetta, was hailed as a hero earlier this week after he, in an herculean effort, saved the lives of more than a 100 people stuck on snow jammed roads in the area.

Three days ago, the Quetta-Zhob highway was shut down due to severe snowfall in the Kachlak, Ziarat Cross, Khanozai, and Kan Mehtarzai areas of the Balochistan province.

The situation led to hundreds of cars being stranded on the road, with women, children and elderly passengers left vulnerable in the harsh weather without adequate food supplies or clothing.

Also read:Hundreds stuck in harsh weather as snowfall wreaks havoc in Balochistan

Bracing the blood-curdling cold, Khan not only rescued several passengers by driving them to safety in his own car, but in a gesture of kindness that has touched the hearts of many across the nation, also opened his home to them for food andLocal hero Suleman Khan rescues more than 100 people stuck in Quetta snow

Pakistan

Nadeem Kausar

January 16, 2020

Suleman Khan rescued more than 100 people in his own car, offered them food and shelter

Suleman Khan in Quetta rescued more than 100 people stuck in snowfall. Photo: Reporter

Suleman Khan, a young man from the Kachlak area in Quetta, was hailed as a hero earlier this week after he, in an herculean effort, saved the

3

u/rya_nc Apr 18 '17

Do you have all of the PNG snapshots you generated? I'm looking at the data, and there are 422 instances where two users placed different colors in the same location within the same second.

1

u/m9u13gDhNrq1 Apr 18 '17

They mentioned somewhere that due to not locking the user's ability to place tiles between the test and the place, there was a race condition where you could place multiple tiles in one go. It was in their technical write-up.

2

u/rya_nc Apr 18 '17

Right, I'm aware of that, but it isn't what I'm talking about.

3

u/Alphaetus_Prime Apr 18 '17

Is there a record of all the changes to the timer? I'd like to make a timelapse with the timer normalized.

3

u/abyss1337 Apr 18 '17

Man, according to the number of tiles placed sheet, there were a total of 16,559,897 tiles placed.

2

u/davidgro Apr 18 '17

So each pixel was only changed an average of 16.6 times. (Some 0, some thousands). I don't know how many I would have expected, but seems reasonable to me

3

u/0110100001101000 Apr 18 '17

All links are broken for me, asking me to create a project. /u/fhoffa can you help?

3

u/Lornedon Apr 05 '22 edited Apr 06 '22

Please make a new one!

3

u/IntroductionFun7984 Apr 05 '22

Where can we find the new dataset 2022?

2

u/5space Apr 06 '22

they'll probably release it in a couple weeks like in 2017

2

u/un3qual Apr 18 '17 edited Apr 18 '17

I'm not a SQL expert, and I'm sure someone who is could get some more interesting data out of this, but here's the 100 users who placed the most: https://bigquery.cloud.google.com/savedquery/1099448378622:b4434dfb44bf4f32ba1e782007b7a0c9

Here are the most popular colors: https://bigquery.cloud.google.com/savedquery/1099448378622:dadb919766054131a251b10480573db8

And a graph of that: http://codepen.io/un3qual/full/pPjqNV/

Sorry about it being sideways, I don't know how to use d3. If you have a better fork, let me know and i'll change the link

2

u/rya_nc Apr 18 '17 edited Apr 18 '17

I've got a python script running which will output a png for every second, will probably take a while to run. I'll post the output when I'm done.

Edit:

Here's the script - for now I'm not going to try to have it handle ambigious pixels: https://gist.github.com/ryancdotorg/67a2a8d351ccaf746881066009e5390c

Edit2:

Someone already made a timelapse with every second. I'm going to try making one using the per-minute snapshots from reddit to deal with the ambiguous pixels.

2

u/mncke Apr 18 '17

Awesome, thanks for the data.

2

u/hackingdreams Apr 18 '17

Thank you guys so much for posting this! I was really hoping you would - this is going to be a great dataset to play with!

2

u/[deleted] Apr 19 '17 edited Sep 24 '18

D

2

u/yaph Apr 19 '17

Thanks for making these datasets available! I created a map showing the most frequently used color by country: http://ramiro.org/map/world/rplace-country-color-propensity/

Certainly not a deep dive into the data, but it's a start.

2

u/frickenate Apr 20 '17 edited Apr 20 '17

I am so upset that /r/place was archived. I get that it was a temporary official subreddit. But you have many people who are actively working on projects to do with /r/place and its dataset, and now the majority of people don't know where to go to receive updates on those projects. You literally killed off the post-/r/place conversation, where a large number of users were still active. All the clones and the minecraft maps, etc just lost 99% of their visibility. You've killed an enormous opportunity to allow the community to continue with its discourse. Shame, Reddit. Shame. Shame. bells ringing

1

u/brokenindu Apr 18 '17

Original link in the article didn't work for me. Here's a link to the Full dataset gzipped CSV that did work for me.

1

u/agentfooly Apr 18 '17

So who placed the first/last tile?

1

u/phil_g Apr 18 '17

See my other comment.

(Also, keep growing. Never abandon.)

1

u/AbeLincoln575 Apr 18 '17

I've been told by a few people now that I made it on the final piece, that's really cool, definitely need to buy a poster of it.

1

u/V2Blast Apr 18 '17

Thanks for sharing this!

1

u/viksra Apr 18 '17

sad my blatant self promotion of me_irl @viksra on r/place didn't make it to the end

1

u/caligari87 Apr 19 '17

I'm at a complete loss working with datasets/SQL/BigQuery. Is there any way to easily generate an image from each pixel's median value over the entire lifespan?

1

u/2010_12_24 Apr 19 '17

For the technically illiterate, how is any of this data accessible to me?

1

u/north_tank Apr 20 '17

Amazing data.

1

u/MesePudenda Apr 20 '17

If anyone is like me and wants to load the csv locally, here's how I did it:

  1. install mariadb (RDBMS, like mysql; compatible) locally and start the server.
  2. If you want to look at the data first, use the simplest text editor available, such as notepad or textedit. Alternatively head -n 5 tile_placements.csv will show you the first 5 lines in the file. Any editors that are even moderately "serious" will likely crash unless you have a "beast" pc.
  3. connect to the local server while in the folder with the csv: mysql --local-infile if you set this flag and still get an error when importing the data, google the error and "load data infile", then update the relevant config line. Alternatively upload directly on the server.
  4. create the table: create table place (ts timestamp, user varchar(28), x_coordinate smallint, y_coordinate smallint, color tinyint); You could probably define a proper enum for color, but I was too lazy here.
  5. load the data: load data local infile 'tile_placements.csv' into table place fields terminated by ',' ignore 1 lines (@ts, user, x_coordinate, y_coordinate, color) set ts = from_unixtime(@ts / 1000); the default column delimiter is \t, meaning csv isn't the default mode. Additionally, the column headings need to be explicitly skipped. Note that this ignores the milliseconds on the timestamps, but I think they're all 000 anyways. Additionally, from_unixtime() can be lossy when the db's timezone has a daylight savings time mode, but it shouldn't matter in this case.
  6. If select to_base64(sha1("username")) produces a string that's too long, use to_base64(unhex(sha1("username"))) to force the type conversion. Additionally, reddit usernames are not case sensitive, but sha1 is, so you should use the user's canonical capitalization.

1

u/AuahDark Apr 20 '17

Can anyone process the final canvas data to 500KB file for me?

→ More replies (6)

1

u/dadougler Apr 20 '17

Wrote some processing code to show all the data. Here is my result. It's pretty close to the final image but not perfect.

1

u/jyl5555 Jul 24 '17

"middle of O in PONIES"

defended that for so long against the people who tried to turn it into "PENISS"

1

u/TheOnlyJacky Aug 21 '17

Is there a way to tell if I have a pixel still in /r/place

1

u/GarethPW Apr 04 '22 edited Apr 05 '22

Does anyone still have this data? It seems only the first CSV is available now.

Edit: Looks like the data is still available here. Continued

0

u/[deleted] Apr 18 '17

[deleted] — view deleted comment

4

u/Drunken_Economist Apr 18 '17

Nice, catch, look like I had the gzip one labeled CSV by accident :). Fixed now!

3

u/laqq3 Apr 18 '17 edited Apr 18 '17

The URL it points to is broken now though ("key does not exist"). EDIT: it's fixed!

1

u/toastedstapler Apr 18 '17

i'm having the same issue at the moment

latin-1 has got me the best results so far, but i don't think it's quite that

1

u/Azure_Kytia Apr 18 '17

Thanks for asking; I was perplexed as well but figured I was doing something silly.

0

u/[deleted] Apr 18 '17

[deleted] — view deleted comment

3

u/RMS_Gigantic Apr 19 '17

Actually, the top four colors placed by American users are, in order, black (the color of the US flag's border in Place), red, white, and blue.

2

u/[deleted] Apr 18 '17

[removed] — view removed comment

1

u/effdeekaa Apr 20 '17

Check if you have a flair at r/place :)