Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate


Tuesday, March 25th, 2008 at 9:49:43am UTC 

  1. #this document is meant to catalog all possible entries in the autogenix
  2. #.agx file format, version 0.0.1  THIS WILL CHANGE
  3. #i will turn this into an xml schema or DTD as soon as i figure out how
  5. #apkg, the autogenix package manager, in combination with astream, keeps
  6. #track of the user's current "installation" which is the sum of all their
  7. #posessions and skills. it is also used to test various 'pretend'
  8. #scenarios, either manually or using agimme.
  9. #packages and streams may not have the same names as units.
  11. #agimme, (in analogy to apt-get) will test various trees of package
  12. #combinations in order to try to satisfy the requested functionality
  13. #(quantity*efficiency*quality), while still staying within the specified
  14. #cost envelope (money*labor*skill*time*hazard). the user can specify a
  15. #vector along which to minimize costs. the concept of capital does not
  16. #exist in this scenario, since one can either buy or make any required
  17. #infrastructure as necessary.
  19. #if the current installation has the capability to produce the desired
  20. #functionality or package, agimme runs the source code for each package
  21. #in the tree. this might send commands to a rapid prototyper, produce
  22. #a web page with plans for the user to follow, or simply dump cad files
  23. #to stdout.
  25. #explanation of syntax:
  26. #section: item, {item}, [[package:capability]]
  27. #items in {} are instances of whole sections being included. this means
  28. #anything that can be specified in the other section can be specified.
  29. #a single item from another section can be included with {section:item},
  30. #but this is sloppy and is discouraged.
  31. #items in [[]]'s are capabilities of other packages being specified.
  32. #if you specify a package/capability, the other package is required for
  33. #the current mode.
  34. #for non-package (stream) requirements, the requirement is treated as a
  35. #unit. presumably each stream will have its own DTD/schema
  37. #mathematical operators <,>,=,*,/,^,- can be used when there is at least
  38. #one number or unit. capabilities and streams count as units.
  39. #multiple constraints are AND'ed together, unless separated by a comma or
  40. #logical operator
  41. #example (an unusual shucking machine that can use multiple power sources):
  42. # run-time: electricity 240V 3*phase >=35A*peak >5A*continuous |
  43. #   compressed-air "3/8-NPT-F" 90psi 5scfm, [[human:attention]] 0.2
  44. # provides: corn 0.5kg/corn-cob # this kinda sucks
  45. # teams-with: [[packaging]] >=5gal, conveyor123
  47. #example (a plug-in-hybrid car - dont you love my mixed units?)
  48. # package-name: pollywag-car
  49. # provides: electricity 144VDC <100A NEMA-1234, electricity 12V <100A,
  50. #   transportation peak 90mi/h 300kg 1m*length 0.5m*radius,
  51. #   storage 1m*length 0.5m*radius, temp +25C | -10C, [[computer]],
  52. #   transportation 50mile/(diesel gal) | electricity 0.1kWh/mi,
  53. #   electricity 10kWh/charge, diesel 6gal,
  54. # run-time: diesel | electricity 144VDC NEMA-1234 |
  55. #   electricity 240VAC*60Hz NEMA-4567 |
  56. #   electricity 120VAC*60Hz IEC-632  #gets cross-referenced
  57. #   road, human:attention 1*peak 0.3*continuous #road and human are packages
  58. # build-time: fiberglass 4oz*20m^2, epoxy 10ksi 3gal,
  59. #   steel-4340:tubing 20mm*radius 3mm*thick 100ft*length, #hmm
  60. #   Emotor-21, dieselengine-600, computer:embedded #etc.
  61. # recommends: road:paved
  62. # teams-with: solar-carport
  63. # storage: 3m*long 2m*wide 2m*high, temp >-15C <70C, 600kg
  65. #the idea is to specify as little as possible to enable unanticipated
  66. #combinations of packages and streams, but specify enough so that it's
  67. #guaranteed to work without hackery. the user can test various scenarios
  68. #by using apkg's ignore and pretend tools if they are so inclined.
  70. ====metadata====
  71. package-name: foo-bar2
  72. version: 2.7.183
  73. date: 03/23/08
  74. maintainer: donald duck
  75. email: <[email protected]>
  76. homepage: <>,
  77.   <>
  78. icon: /usr/share/icons/autogenix/foo.svgz
  80. #things that arent really capabilites or requirements, they just "are"
  81. ===properties===
  82. #much of this can be got from MSDS databases and autogenerated
  83. hazard: #will limit what type of space the package can be used in
  84.   env-impact, cleanliness, noise, moving-parts, {power}, [[MSDS]]
  85. cost: #normally only specified for bought'n components+materials
  86.   purchase cost, environmental cost #TODO expand on this
  87. materials:
  88.   {cost}, {transportation}, {hazard}, {storage}, fatigue,
  89.   strength, elasticity, damping, chemical/wear resistance, surface-finish
  90. space:
  91.   #space is a package that is really more like a stream. it must? be a package
  92.   #because it provides a crude nesting/collision-detection unit test
  93.   #for determining whether the requested object will fit in the space
  94.   long, wide, high, radius, thick, volume #for more complex spaces ??
  95.   lighting, humidity, temperature, acceleration
  96. #TODO how to describe if something must stay right-side up?
  97. time:
  98.   #much like space, but for units of time
  99.   cycles, time-units
  100. complexity:
  101.   #this was supposed to gauge the amount of human effort required to
  102.   #inventory something, for example a cube would be less complex than a
  103.   #tangly spider-web. i might just use [[human:attention]]/cycle in
  104.   #the storage section instead
  105.   bits
  108. #each operating mode should have its own run-time section
  109. #typical simple packages will have one run-time, one build-time, and
  110. #one storage dependency
  111. ====Dependencies section====
  112. power:
  113.   electricity, compressed-air, hydraulics, belt-driven,
  114.   [[human:power]], [[animal:power]], fuel
  115. build:
  116.   {materials}, {assembly}, {process}
  117. process:
  118.   measurement-tolerance, cutting tolerance,
  119.   [[human:skill]]*{time}, {hazard}, {space}, {cost}
  120. test:
  121.   [[instruments]], {materials}, [[human:skill]], {process}
  122. transportation:
  123.   {storage}, permits, hold-downs, packaging
  124. assembly:
  125.   {space}, assembly-equipment, [[human:skill]]*{time}
  126. disassembly:
  127.   {assembly}
  128. run-time:
  129.   {materials}, {space}, {safety}, {power}, {process},
  130.   [[human:attention]], [[human:skill]]
  131. storage:  #complexity is provided by [[human]] or an automated inventory system
  132.   {space}, [[human:attention]]/cycle, mass, security
  133. #things that go here arent absolutely necessary but will make your life
  134. #much easier
  135. ==recommends==
  136. {Dependencies}
  138. #packages here will work synergetically with this package
  139. teams-with:
  140.   [[.*]], {capabilities}
  142. #this section describes the performance and operational modes
  143. ===capabilities===
  144. performance:
  145.   {space}, #for storage systems such as buildings or containers
  146.   dimensional envelope, #for machine-tools or robots i.e. a 6"x12" lathe
  147.   {efficiency}
  149. rating:
  150.   nominal, peak, continuous, typical, once,
  151.   minimum, #minimum should be used sparingly - it means the machine
  152.   #can't produce less than this much
  154. mtbf: #longevity in various modes
  155.   {time}*{rating}
  157. #this section is really ugly
  158. #basically we want any combination of performance and cost
  159. efficiency:
  160.   {performance}*{quantity}/{time}, {quality}/{time},
  161.   {quantity}/({power}*{time}) #??
  162.   {quantity}/{quantity}, {quantity}/([[human:skill]]*{time}),
  163.   {quality}/([[human:skill]]*{time})
  165. quantity: #can be just about anything - streams packages or units
  166.   [[.*]], #units are handed off to GNU units for validation

Paste Details

Tags: autogenix


Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)

Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus