the_real_monte

joined 1 year ago
[–] the_real_monte@sh.itjust.works 127 points 1 week ago (10 children)

Jokes on them, I don't use chrome

[–] the_real_monte@sh.itjust.works 22 points 1 week ago (2 children)

They better not give those llamas any hats or this therapy will take a dark turn.

Too bad that all the stores stop restocking Halloween and start setting up Christmas mid October

[–] the_real_monte@sh.itjust.works 19 points 1 month ago (1 children)

You should credit We Rate Dogs since it's their post

[–] the_real_monte@sh.itjust.works 6 points 2 months ago
[–] the_real_monte@sh.itjust.works 86 points 3 months ago (4 children)
[–] the_real_monte@sh.itjust.works 1 points 3 months ago

Didn't mean to post twice. Testing from PyCharm. Got a connection error on this one, but I guess it went through

[–] the_real_monte@sh.itjust.works 3 points 3 months ago (1 children)

I just finished deploying Canvas Stats. All of the data should be updated and correct now.

15
submitted 3 months ago* (last edited 3 months ago) by the_real_monte@sh.itjust.works to c/canvas@toast.ooo
 

There was an error with the fediverse-auth on the Canvas site where after a certain point new logins started being logged as all lower case which created duplicates of 59 users and were treated as separate users. I have merged all of the duplicate accounts and rebuild the database.

This also means that all of the stats on Canvas Stats are incorrect. The canvas Stats app has been updated with the new data.

You can find the fixed database dump sql file on my github: https://raw.githubusercontent.com/TheRealMonte/data-files/main/2024/canvas-2024-fixed-sql.sql The file is 33,568 kB.

The SQL file has 4 tables:

  • users (user_id, username, ranking, total_pixels_placed)
  • colors (color_id, color_name, color_hex)
  • pixels (log_id, user_id, x_cord, y_cord, color_id, time_placed, is_mod_action, is_top, time_deleted)
  • top_cord (top_cord_id, user_id, x_cord, y_cord, count_placed)

The users table includes the rank and total pixels placed for each user. Deleted pixels are not counted. There are 13 users who deleted every pixel the placed. They are still ranked, but their total pixel count is 0.

The colors table includes the color ID, name, and hex which when joined with the pixels table can be used to easly select the color name or hex.

The pixels table includes the username, x and y coordinates, color ID, the time the pixel was placed, if the pixel was a moderator placement, if the pixel can be seen in the final image, and the time the pixel was deleted or NULL.

The top_cord table includes the x and y coordiantes for the coordinate each user placed the most pixels on along with the count.

The only data not included here is the pixel color counts for each user. You an find the pixel color counts for a user by selecting:

SELECT color_name, count(color_name) FROM public.pixels JOIN users on users.user_id = pixels.user_id JOIN colors on colors.color_id = pixels.color_id WHERE username = <username> GROUP BY color_name

 

Another update to Canvas Stats app. You can now view your pixels you placed during the event in your browser and download the pixels as a png image!

[–] the_real_monte@sh.itjust.works 9 points 4 months ago* (last edited 1 month ago)

Canvas Stats, hosted on Github pages. The web app lets you search for a user who participated in the event. Current features:

  • View your ranking based on number of pixels place
  • View what color pixels you placed and how many
  • View the coordinate where you placed the most pixels and other users who had the same top coordinate
  • View the pixels you placed and download them as a png image!
  • View the stats from the 2023 event and compare how you did each year
  • View all of the pixels placed of just one color
  • The app will display in dark mode based on your device's setting
  • You can now save Canvas Stats as a PWA

click here to view the web app.

view the code here

[–] the_real_monte@sh.itjust.works 5 points 4 months ago

Thanks, I can't believe I forgot the link. I have updated the post

 

I have updated Canvas Stats with the new data from the sql log. Rankings should mostly be the same as the old data, but your total pixel count will be lower since deleted pixels no longer count. A new feature to the site is you can now see if your top coordinate placed is also another users top coordinate placed, which would mean you were probably battling it out over a pixel.

I am also generating images of individual user's pixels. If anyone is interested, just send me a DM. Here is an example of just the pixels that @rrconkle@lemmy.zip placed:

If you would prefer the background to be black instead of white, let me know in your DM.

Another feature I added was overall stats for the event.

[–] the_real_monte@sh.itjust.works 6 points 4 months ago (1 children)

I can help you out if there is something you are looking for. I have a script that I can run on my computer to generate an image of just one user's pixels, or a group of users. I have not gone through the new data yet, but should have something by the end of today.

68
Canvas Stats Website (sh.itjust.works)
submitted 4 months ago* (last edited 3 months ago) by the_real_monte@sh.itjust.works to c/canvas@toast.ooo
 

Hi everybody! I have finished building a web app that allows you to search for a user and view their stats from the event! The app will tell you your overall ranking, number of pixels placed, the coordinate you placed the most pixels on, and how many of each color you placed.

I will probably add more features to the website, but I wanted to get something out there so everyone could see how they did.

Thanks @grant@toast.ooo for providing the data.

Here is the link to the web app.

 

In theaters July 26

 

The WDW mansion is from HorizoneerDesign.

 
view more: next ›