From 58ca814ac37b778d1fd35b1fbcdd5743f7923140 Mon Sep 17 00:00:00 2001 From: Eyob Yirdaw Date: Wed, 27 Feb 2019 10:26:24 +0300 Subject: [PATCH 1/3] added a smaller sized test doc --- docs/tests/test_doc 2.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docs/tests/test_doc 2.txt diff --git a/docs/tests/test_doc 2.txt b/docs/tests/test_doc 2.txt new file mode 100644 index 0000000..7caed67 --- /dev/null +++ b/docs/tests/test_doc 2.txt @@ -0,0 +1,19 @@ +Toward Democratic, Lawful Citizenship for AIs, Robots, and Corporations + +Dr. Ben Goertzel, CEO of SingularityNET, shares his thoughts about the AI Citizenship Test + +I am writing this on a plane flying away from Malta, where I just spoke about SingularityNET at the Malta Blockchain Summit. + +It was my first time on Malta, and after the event, I took the afternoon to explore some of the elegant, quaint, ancient neighborhoods of the island. + +Walking through medieval alleyways by the rocky coast, I felt an ironic contrast between my elegant surroundings and the main reason I had decided to allocate a couple days from my insanely busy schedule to this Malta event: not just the conference itself, but also the opportunity to meet with the top levels of the Malta government to discuss the enablement of Maltese citizenship for AIs, robots and automated corporations. + +The folks who had built the stone walls lining the narrow Maltese roads, still standing strong centuries later, had probably not foreseen their blue-wave-lapped island becoming a nexus of thinking at the intersection of general intelligence theory, cryptography, distributed systems, and advanced legal theory. + +The Hanson Robot Sophia, with whose development I've been intimately involved via my role as Chief Scientist of Hanson Robotics, was granted citizenship of Saudi Arabia this year. This was an exciting landmark event, however, its significance is muddled a bit by the fact that Saudi Arabia is not governed by rule of law in the modern sense. + +In a nation governed by rule of law, citizenship has a clearly defined meaning with rights and responsibilities relatively straightforwardly derivable from written legal documents using modern analytical logic (admittedly with some measure of quasi-subjective interpretation via case law). + +Saudi Arabian citizenship also has a real meaning, but it's a different sort of meaning — derivable from various historical Islamic writings (the Quran, the hadiths, etc.) based on deep contextual interpretation by modern and historical Islamic figures. This is a species of legal interpretation that is understood rather poorly by myself personally, and one that is less easily comprehensible by current AIs. + +I'm aware that affiliation with Saudi Arabia in any sense has become controversial in recent weeks due to the apparent murder of Jamal Khashoggi. From 64d63938f8b2efe2a1286168354a88ab5c386260 Mon Sep 17 00:00:00 2001 From: Eyob Yirdaw Date: Wed, 27 Feb 2019 10:56:49 +0300 Subject: [PATCH 2/3] fix docker file, file name of mainnetd.conf error --- Docker/Dockerfile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/Docker/Dockerfile b/Docker/Dockerfile index 1c79a50..c8069d0 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -42,6 +42,18 @@ RUN sudo apt-get install -y supervisor && \ COPY requirements_2.txt /tmp/ RUN sudo pip install -r requirements_2.txt + +RUN sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install -y locales + +RUN sudo sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ + sudo dpkg-reconfigure --frontend=noninteractive locales && \ + sudo update-locale LANG=en_US.UTF-8 + +ENV LANG en_US.UTF-8 + + +RUN echo 1 + RUN sudo mkdir /var/log/kovand/ \ /var/log/ropstend/ \ /var/log/mainnetd/ \ @@ -66,6 +78,7 @@ RUN mkdir /home/top/pay/ \ /home/top/dep/appData/plsa/plsa-parameters + ENV DAEMON_VERSION 0.1.7 RUN wget -O snet-daemon.tar.gz https://github.com/singnet/snet-daemon/releases/download/v$DAEMON_VERSION/snet-daemon-v$DAEMON_VERSION-linux-amd64.tar.gz && \ @@ -74,13 +87,6 @@ RUN wget -O snet-daemon.tar.gz https://github.com/singnet/snet-daemon/releases/d cp snetd /home/top/daemons/ropsten/ && \ cp snetd /home/top/daemons/mainnet/ -RUN sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install -y locales - -RUN sudo sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ - sudo dpkg-reconfigure --frontend=noninteractive locales && \ - sudo update-locale LANG=en_US.UTF-8 - -ENV LANG en_US.UTF-8 RUN echo 37 @@ -90,7 +96,7 @@ COPY daemons/snetd_topic_mainnet.json /home/top/daemons/mainnet/ COPY gunicorn/config.py /home/top/gunicorn/ COPY supervisor/kovand.conf /etc/supervisor/conf.d/ COPY supervisor/ropstend.conf /etc/supervisor/conf.d/ -COPY supervisor/mainnet.conf /etc/supervisor/conf.d/ +COPY supervisor/mainnetd.conf /etc/supervisor/conf.d/ COPY supervisor/topic_grpc.conf /etc/supervisor/conf.d/ COPY supervisor/topic_rest.conf /etc/supervisor/conf.d/ COPY supervisor/supervisord.conf /etc/supervisor/ From 4e987b9770bc808322046276ba8e84f285746641 Mon Sep 17 00:00:00 2001 From: Eyob Yirdaw Date: Wed, 27 Feb 2019 10:58:05 +0300 Subject: [PATCH 3/3] build for circleci --- Docker/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Docker/Dockerfile b/Docker/Dockerfile index c8069d0..17075cd 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -43,6 +43,9 @@ COPY requirements_2.txt /tmp/ RUN sudo pip install -r requirements_2.txt +RUN echo 1 + + RUN sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install -y locales RUN sudo sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ @@ -52,8 +55,6 @@ RUN sudo sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && ENV LANG en_US.UTF-8 -RUN echo 1 - RUN sudo mkdir /var/log/kovand/ \ /var/log/ropstend/ \ /var/log/mainnetd/ \