[ overboard / sfw / alt / cytube] [ leftypol / b / WRK / hobby / tech / edu / ga / ent / music / 777 / posad / i / a / R9K / dead ] [ meta ]

/tech/ - Technology

"Technology reveals the active relation of man to nature"
Name
Email
Subject
Comment
Captcha
Tor Only

Flag
File
Embed
Password (For file deletion.)

Matrix   IRC Chat   Mumble   Telegram   Discord


File: 1617905774705.jpg ( 155.67 KB , 1280x804 , EtRGx4dXEAEtHlj.jpg )

 No.7710

Any programmers here? I thought about simulating a population organizing resources for a while. Nothing serious, just doing it for fun. Anyone tried that before in their free time? Do you have any conceptual starting points? I will start:

Type: Person
Attributes: sex, age_range
That is to predict how much resources they themselves need and how much work they can produce. All based on averages.

Type: Resource
Attributes: quantity, state
Subtypes: metal, mineral, wood, food
The attribute "state" describes for example if the resource has been refined based on some procedure. The mentioned subtypes have further subtypes of course.

Type: Product
Attribute: kcal, components
Subtypes: electronics, furniture, dish
kcal is supposed to represent the average amount of work exerted with the most efficient available tools available to produce the product.
>>

 No.7711

Just play Stronghold in free build mode.
>>

 No.7712

play dwarf fortress
>>

 No.7713

>>7711
>>7712
OP seems more interested in the programming challenge.
>>

 No.7714

probably take this to >>>/tech/

seems more programming related
>>

 No.7715

Man, I'm so jealous you can actually code for fun. Doing my first year of SE and its just pain. Actually have a project somewhat similar (coding a diner workschedule simulator) hanging over head and its the single worst feeling and I just can't get myself to start the bloody thing.
>>

 No.7718

>>7710
it’s easy as shit, just use lp-solve like WPC does here
https://www.jstor.org/stable/pdf/10.13169/worlrevipoliecon.10.3.0302.pdf
>>

 No.7719

>>7718
Even Cockshott points out here lp-solve is too inefficient for this. Modeling the economy as an LP problem and solving it with simplex is the most naive way to do central planning, we need to be able to go beyond that.
>>

 No.7720

>>7715
Hm, yeah coding under pressure because you have to do something you aren't interested in sucks. I don't know, I code for fun because it's like a puzzle you have to solve. There is a practical goal and you have a blank canvas and can design a system however you want. There are many ways to the same goal.
>>

 No.7721

>>7719
Well what methods should we use then?
>>

 No.7722

Brainlet here, but for the "Too simple" etc etc didn't Cockshott make an open source program in Julia for planning?
Couldn't you anons use this as a base?
>>

 No.7724

Cockshott has a github with some relevant code: https://github.com/wc22m?tab=repositories
>>

 No.7725

>>7722
yes that works but the question is scale
>>

 No.10536

Write an OpenTTD script/bot or whatever
>>

 No.10610

>>7710
At such simplistic level you could just structure the whole thing on iterations, so you have a simple mathematical function that takes the current state as input and transforms it according to some chosen model to produce a new state which is then again fed as input. Then just iterate to see how it behaves through hundreds of generations.

Unique IPs: 12

[Return][Catalog][Top][Home][Post a Reply]
Delete Post [ ]
[ overboard / sfw / alt / cytube] [ leftypol / b / WRK / hobby / tech / edu / ga / ent / music / 777 / posad / i / a / R9K / dead ] [ meta ]
ReturnCatalogTopBottomHome