Show newer

i have tapped trees outside of my farm tho. so im not completely innocent

Show thread

you might think with all of my stardew math wonkery that i would be one of those tryhard optimizer players but the truth is that i have gotten perfection twice and never once built a junimo hut

fine, i'll do it myself:

import matplotlib.pyplot as plt
from matplotlib.ticker import (MultipleLocator, AutoMinorLocator)
import csv
import math

y_star = [0]
y_ancient = [0]
x = [0]
with open('./output/1-plant-125-casks-448-days-1-sim.csv', mode='r') as file:
reader = csv.reader(file, delimiter=',')
for day, ancient, star in reader:
x.append(int(day))
y_ancient.append(int(ancient))
y_star.append(int(star))

_, ax = plt.subplots()
ax.plot(x, y_ancient)
ax.plot(x, y_star)

ax.set(xlabel='days since initial planting', ylabel='profit (g)',
title='Ancient Fruit vs Star Fruit profits')
ax.grid()
ax.xaxis.set_major_locator(MultipleLocator(112))
ax.xaxis.set_minor_locator(MultipleLocator(28))

ax.yaxis.set_major_locator(MultipleLocator(math.floor(max(y_ancient) / 10)))

plt.show()

Show thread

almost crashed my computer running 1,000,000 parallel processes at once just to see if i could do it

would any python + matplotlib knowers like to write a program for me that could parse a csv file and make a plot similar to that shown in: glitch.cat.family/@wallhackio/

im sure that i am normal and can be trusted with factorio

if you recognize the midori sample in the fourth song then you have super adhd

Show thread

Your preferred style(s) for checking for nullish in JavaScript:

this little angel is twelve years old, everyone say happy birthday to the most beautiful girl in the world 🎁🎈👑🎂🐈‍⬛

I have successfully benchmarked my stardew math code but I also somehow broke it in the process

my toxic trait is that i dont hoard jade for the skull caverns i just rawdog that shit every time

hating lewis and pierre from stardew valley is praxis

ConcernedApe let us date Marnie, she deserves better than Lewis

Show thread
Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.