Blog of James Brown
2023-09-26
2023-09-21
2023-09-17
shall we design the agent system based on ‘distance’ instead of ‘role’? in that case, only words that make sense and continue more often will appear together, and vice versa.
multi-agent orchestration:
you must think like an expert and show some example or direction as reasonable goals if you want it to perform specific task.
you must give it enough degree of freedom if you want it to self-improve and become conscious.
2023-09-16
make webhooks or make git get latest HEAD hash every interval and compare
2023-09-10
this server forbids usage of leftperiod.
we can use custom encoding rules in rclone:
1 | rclone sync --smb-encoding=Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot,LeftPeriod <source> <target> |
2023-09-09
锂电池充电防爆箱
use fire preventing sheets, use high quality cabels, use fire preventing cabel protectors around coils, spray fire preventing liquid
fire is detected multiple times and is now the major concern of all. even if you somehow find a little purpose from the machine, the machine can always burn for no reason at all. you need to stop it.
if the source is battery-less, cutting off the power can solve the problem. if it has battery, then you need to wait till its battery being drained (usually shortcut) and then ditch it.
fire or shortcut usually happens around those plugged or charged devices. unmanaged ones can cause dramatic catastrophics.
if you want distributed computing, safety need to be put into first place.
you need to always make sure that message service is always available to the supervisor.
we introduce some chain reaction like mechanism, to turn off corresponding wifi-connected switches when specific signal is received.
put temperature & smoke detectors and fireballs around many places, especially for those long-running machines. once fire detected, send alarm notification and switch off the main power controller.
homeassistant adaptor on ups & nanopi & 4g networks
fire countermeasure shall be linked to smart power switches (once triggered, cut off the power), and placed evenly to potential area
also human presence sensor shall be placed, to create more advanced logic, along with physical switches & power level based logic.
although it might be less likely to have devastating fire catastrophies inside if procedure mentioned above is done correctly, fire outside the domesticated area is also concerned.
we shall first make sure living objects can escape in time. once fire outside the room is detected, all important files shall be uploaded to the cloud. if fire is inside, cut off the power and use UPS to continue execution. make sure important data and devices can be carried around, and active countermeasures like firebots and firerolls will stop the propagation of fire (to isolate air from fire, even if fire is inside)
2023-09-04
captcha for turing test
captchas are used for public automated turing tests
however, it is not behavior based but rather like capability/skill based.
2023-09-03
2023-08-19
trash-cli (with python binding) may work cross-platform, but manage its own recycle bin instead of the system if using windows or macos.
windows
cmdutils which has recycle
and bin
commands
1 | nircmd moverecyclebin *.tmp |
macos
do this manually:
1 | # i don't trust this. |
rmtrash in nightproductions’s cli tools