





decentralized autonomous organi{sm,zation} aka DAO.
With a common purpose, values, and good transparent discussion, you can track and reward contributions, let outside investors speculate on it, and coordinate large groups of people without having to manage them.
The most successful and friendly community DAO I've found, that I participate in, is
https://1hive.org/#/home
They propose fun things like managing a decentralized minecraft server, as well as more mundane management things.






1
1

















































1























































Hey everyone,
what's the plan for PreciousPlastic in 2023?
This year was a catastrophe so far. Numerous job losses, people's investments, retirement but also their reputation have been put on the edge - if not lost; and myself in a pretty awful situation, facing lawsuits, and tremendous work (5-10 years) to recover the damages for everyone involved. If I'm lucky, we don't need to leave the country ... The upcoming global problems won't make it easier. Venture capital dropped by 70%, compared to 2021.
The 'new rules' have also other bad impacts on small-scale recycling, such as the general discovery of talents, projects, etc... Most of the new designs, enhancements, and fixes - have been financed through the Bazar discovery, in the last 4 years. That includes supporting the rare talents we have around.
However, re-evaluating the existing portfolio, v3-v4 but also OSR-plastic enhancements & designs, based on user & customer feedback and needs, I'd suggest splitting the project into several parts, aiming for a success-oriented approach, for the entire chain, eg: builder and user. 1. v3 should be refined/re-designed, less waste, risk, and resources ( and disappointment ) - aiming for the educational and enthusiasts camp, ideally classroom grade equipment - also to increase the educational value of courses. Refinements, addons, etc... for lab usage could be added once a good foundation allows collaborative methods (distributed design). We have some proposals for that in the drawer as well.
2. v4 requires unfortunately too much labor and professional equipment, rendering its current price/value ratio beyond reasonable - and yet, it doesn't address SME or professional needs. Open to suggestions but composing industrial solutions into more tailored solutions may have the best outcome, in the long run. That would also allow having some buffer for other side projects.
3. Networking, allocation of funds, etc... deserves more coordinated attention. I'd suggest that dedicated working groups could create a good plan, eg: visits to fair trades, finding sponsors, etc.
all the best & godspeed,
g
ps: dm me for questions or hints. 
























purchase vs self-fabrication expediency for open source hardware ecologies if anyone has ideas
































osr-ai chatgpt prompt --query="create a scene, with all possible primitives, lined up along one line, for SCAD" --model=gpt-4 --dst="./tests/chatgpt/primitives.scad" --system="./tests/chatgpt/scad-system.json"
still have to make it chainable (https://js.langchain.com/docs/integrations/document_loaders/file_loaders/pdf)osr-search googlemaps --query="fablab" --searchFrom="Berlin, Germany" --language=de --google_domain=google.de
// see more : https://git.osr-plastic.org/osr-plastic/osr-search#search-google-maps
todos: plug more APIs, eg: gender of the company owner (there are now 100+), names of their employees, their social habits, company worth, social network activities, and perhaps the same about their pets 

osr-ai chatgpt prompt --query="create a scene, with all possible primitives, lined up along one line, for SCAD" --model=gpt-4 --dst="./tests/chatgpt/primitives.scad" --system="./tests/chatgpt/scad-system.json"
still have to make it chainable (https://js.langchain.com/docs/integrations/document_loaders/file_loaders/pdf) 



Create an Arduino Class, to control stepper motors, max. 6 in total, via potentiometers. There's one additional potentiometer to control speeds of all motors, using multiplication. Dont wrap it as Markdown, output just the code.
- Use MultiStepper class of the AccelStepper library
- add an example Arduino program
- dont add notes
- each motor has 2 parameters, direction and pulse, and one for the potentiometer pin, define a struct for this
- the controller's main function is called 'loop', and the initialization 'setup'
- optimize the class and it's types for low-memory consumption
- place all constants at the top, max acceleration, max speed, etc.
- dont use moveTo or distanceToGo, use setSpeed
Wrap the motor controller in another class, and adding this functions
- add 2 analog inputs, to start and stop the motors. let me specify the threshold as constant
- add 2 digital ouputs for LED feedback, eg: PIN_LED_ON, PIN_LED_OFF
- add a function to query the speed for each motorosr-ai chatgpt prompt --query="./query.md" --dst="pwm-mixer-query.hpp" --skip=false
you can massage the output using the --source argument, eg: 'add Doxygen comments', osr-ai chatgpt prompt --query="add comments" --src="pwm-mixer-query.hpp" --dst="pwm-mixer-query.hpp" --skip=false (edited)








// X2 Stepper
#if HAS_X2_ENABLE && AXIS_IS_TMC(X2)
extern TMC_CLASS(X2, X) stepperX2;
#ifndef CHOPPER_TIMING_X2
#define CHOPPER_TIMING_X2 CHOPPER_TIMING_X
#endif
static constexpr chopper_timing_t chopper_timing_X2 = CHOPPER_TIMING_X2;
#if ENABLED(SOFTWARE_DRIVER_ENABLE)
#define X2_ENABLE_INIT() NOOP
#define X2_ENABLE_WRITE(STATE) stepperX2.toff((STATE)==X_ENABLE_ON ? chopper_timing_X2.toff : 0)
#define X2_ENABLE_READ() stepperX2.isEnabled()
#endif
#if AXIS_HAS_DEDGE(X2)
#define X2_STEP_WRITE(STATE) do{ if (STATE) TOGGLE(X2_STEP_PIN); }while(0)
#endif
#endif (edited)



#if (defined(MB_STEPPER_DIR_0) && defined(MB_STEPPER_PULSE_0))
stepperController_0 = new StepperController(this,
MB_STEPPER_DIR_0, MB_STEPPER_PULSE_0, MB_STEPPER_FEEDBACK_0, MB_STEPPER_OVERLOAD_0, MB_STEPPER_ENABLED_0,
STEPPER_DEFAULT_SPEED_0,
STEPPER_PULSE_WIDTH_0,
STEPPER_DEFAULT_DIR_0,
COMPONENT_KEY_STEPPER_0,
MB_RW_STEPPER_SPEED_0);
components.push_back(stepperController_0);
stepperController_0->setGateway(modbusBridge->getMudbus());
#endif (edited)

#if (defined(MB_STEPPER_DIR_0) && defined(MB_STEPPER_PULSE_0))
stepperController_0 = new StepperController(this,
MB_STEPPER_DIR_0, MB_STEPPER_PULSE_0, MB_STEPPER_FEEDBACK_0, MB_STEPPER_OVERLOAD_0, MB_STEPPER_ENABLED_0,
STEPPER_DEFAULT_SPEED_0,
STEPPER_PULSE_WIDTH_0,
STEPPER_DEFAULT_DIR_0,
COMPONENT_KEY_STEPPER_0,
MB_RW_STEPPER_SPEED_0);
components.push_back(stepperController_0);
stepperController_0->setGateway(modbusBridge->getMudbus());
#endif (edited)





[%capture continents %]
[% osr-ai model:"gpt-4o" skip:false gui:true logLevel:"trace" filters:"code" %]
List all continents, as json, , add a field with all countries, as array [% osr-ai-end %]
[% endcapture %]
``json
[[continents]]
``
## Continents
[% osr-ai model:"gpt-4o" skip:true gui:true logLevel:"warn" filters:"code" %]
List all continents (including russia), as markdown table, columns :
- population
- total gdp
- at war or involved in war
- religion
- number of US bases
- debts
[% osr-ai-end %]
## Africa
[% osr-ai model:"gpt-4o" skip:true gui:true logLevel:"warn" filters:"code" %]
List all countries in Africa, as markdown table, columns :
- population
- total gdp
- at war or involved in war
- religion
- number of US bases
- debts
- link to databases, wikipedia, ..
[% osr-ai-end %] (edited)
Instagram 














[% assign area = "Sentmenat" %]
[% assign location = "(Spain, Barcelona)" %]
[% osr-ai model:"gpt-4o" cache:false gui:false logLevel:"warn" filters:"code,JSONParse" dst:"${SRC_DIR}/${SRC_NAME}-sentmenat.json" assign:"areas" %]
- List 20 'polygonos' (industrial areas) next to [[area]] [[location]]
- as json array
- dont comment
[% osr-ai-end %]
[%- for area_item in areas %]
## [[area_item]]
[%- capture area_query -%]
List essential geo data [[area_item]] [[location]], as Markdown bullet list, with links, dont add a chapter:
- Link to Google Maps
- Link to Wikipedia
- Size of Population
- type of industries
- Next major city / town
- Distance to [[area]] [[location]] (in kilometers)
[%- endcapture -%]
[%- osr-ai model:"gpt-4o" cache:false gui:true logLevel:"warn" filters:"code" assign:"area_result" -%]
[[-area_query-]]
[%- osr-ai-end -%]
[[-area_result-]]
[%- endfor -%]
generating leads, preferably validated using RAG (google map scraper), via right click, in any document, as template 




Hacker News β’ 9/9/2024 6:37 PM 









































































export const taskOptions = () => z.object({
logLevel: TLogLevelNameSchema.default('info'),
sourceLanguage: CommonLanguageCodeSchema.default(I18N_SOURCE_LANGUAGE),
languages: z.union([
z.array(CommonLanguageCodeSchema),
z.string().transform((val) => val.split(',').map((str) => str.trim()) as CommonLanguageCode[])
]).default([I18N_SOURCE_LANGUAGE]),
}, { description: 'ICompileTaskOptions' })
saves some time writing test-units 
Hacker News β’ 10/31/2024 5:41 PM 






