Autonomous Machines & Society.

2023-11-05
Home Assistant Installation & Setups

Fully functional HA mainly comes into two forms: flashable supervised .iso images, and virtual machines (not docker container).

Remember to create backup of HA after successful initialization. You can create an iso for the entire disk or just using backup utility builtin.

Supervisor need to be updated before other components. It is also the troublemaker. Set auto update of supervisor to false by:

1
2
ha supervisor options --auto-update=false

Since its heavy reliance on docker and github, one need to use OpenClash along with OpenWrt flashed in one dedicated router like NanoPi R2S to smooth the installation process.

Use video capture card and OBS studio to observe the RPI terminal. Attach to keyboard to type commands.

ha banner sometimes resolves issues.

To prevent addon installation limits, you can enter debug mode, edit the following file /mnt/data/supervisor/jobs.json into:

1
2
3
4
5
6
{
"ignore_conditions": [
"healthy"
]
}

Some files like /etc/docker/daemon.json, /etc/hosts cannot be changed after boot. You can change them before boot using card reader.

Read More

2023-10-10
Mastering System Events: Script Execution With @Reboot And Systemd

execute script before & after system events like startup, suspend & shutdown

for startup use @reboot with crontab -e

for others, write scripts under /lib/systemd/system-*

Read More

2023-10-10
Amdgpu, Rocm And Pytorch

https://scale-lang.com/


rocm is trash to apu. use vulkan or opengl (alternative backends)


find latest build in pytorch nightly repo

use sudo before invoking amdgpu related commands, otherwise unavailable


use directml (pytorch, tensorflow) instead. need windows.

you need to set the shared graphical memory to a larger value.

rocm does not work for integrated graphic cards (even if you build it and configured the card name), and supported amd cards are limited.

Read More

2023-10-06
Windows & Office Activation, Install Windows In Virtualbox

Read More

2023-10-05
Force To Use Docker Mirror Instead Of Pulling From Docker.Io

even if you configure /etc/docker/daemon.json like this (note: you still need to do this):

1
2
3
4
{ "registry-mirrors":
["https://mirror.baidubce.com"]
}

it is not fully working until:

1
2
sudo -E docker pull mirror.baidubce.com/significantgravitas/auto-gpt

Read More

2023-10-04
Cpu/Gpu Temperature Monitor

we’ve got archey4, a cross-platform sysinfo gather tool, with info on temperature monitor tools

macos

osx-core-temp for old intel macs

apple_sensors and smctemp for m1 and newer macs

place this under /opt/homebrew/bin/osx-cpu-temp to run archey4 with cpu temperature:

1
2
3
#!/bin/bash
smctemp -c

windows

coretemp

linux

psensor

Read More

2023-09-30
网上接单注意

不管什么单子 必须在虚拟机里面跑

不得物理机运行未知应用程序 否则就会出事

Read More

2023-09-29
Prerequisites For Running Autogpt/Open Intepreter And Multimodal Computer Agents (Such As Cybergod), Targets, And Similar Projects Collections

kosmos-2.5

prerequisites

run these things under virtual machine or docker, with a fixed size mountpoint. keep all ports of your local machine isolated from the agent.

when you need it to process anything, just use the mountpoint as the only data exchange location. do not let anything executable spit out from it. do not run anything generated by it programmatically.

targets

contracts shall be based on crypto exchange. self-contract shall be introduced, and for those don’t do self-contract or external contracts often their currency could inflate.

self-training: in the form of task & proof

multi-agent training: (contract) similar to self-training, with cross-validation

projects

autogpt

open-interpreter

cybergod

Read More

2023-09-29
Bilibili Dark Reader Mod

maybe toggle the filter mode triggers will help?

or stylus? other modding tools?

Read More

2023-09-26
Process Monitoring And Notification Tools: A Comprehensive List

Read More