--- /dev/null
+#!/bin/bash
+cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi;
+
+cd ..
+
+export_org_to_html() {
+ local org_file=$1
+ local dir=$(dirname "$org_file")
+ local base=$(basename "$org_file" .org)
+ (
+ cd "$dir" || return 1
+ local html_file="${base}.html"
+ if [ -f "$html_file" ]; then
+ rm -f "$html_file"
+ fi
+ echo "Exporting: $org_file → $dir/$html_file"
+ emacs --batch -l ~/.emacs --visit="${base}.org" --funcall=org-html-export-to-html --kill
+ if [ $? -eq 0 ]; then
+ echo "✓ Successfully exported $org_file"
+ else
+ echo "✗ Failed to export $org_file"
+ return 1
+ fi
+ )
+}
+
+export_org_files_to_html() {
+ echo "🔍 Searching for .org files in doc/ ..."
+ echo "======================================="
+
+ mapfile -t ORG_FILES < <(find doc -type f -name "*.org" | sort)
+
+ if [ ${#ORG_FILES[@]} -eq 0 ]; then
+ echo "❌ No .org files found!"
+ return 1
+ fi
+
+ echo "Found ${#ORG_FILES[@]} .org file(s):"
+ printf '%s\n' "${ORG_FILES[@]}"
+ echo "======================================="
+
+ SUCCESS_COUNT=0
+ FAILED_COUNT=0
+
+ for org_file in "${ORG_FILES[@]}"; do
+ export_org_to_html "$org_file"
+ if [ $? -eq 0 ]; then
+ ((SUCCESS_COUNT++))
+ else
+ ((FAILED_COUNT++))
+ fi
+ done
+
+ echo "======================================="
+ echo "📊 SUMMARY:"
+ echo " ✓ Successful: $SUCCESS_COUNT"
+ echo " ✗ Failed: $FAILED_COUNT"
+ echo " Total: $((SUCCESS_COUNT + FAILED_COUNT))"
+ echo ""
+}
+
+mvn clean package
+
+export_org_files_to_html
+
+echo "📤 Uploading to server..."
+rsync -avz --delete -e 'ssh -p 10006' doc/ \
+ n0@www3.svjatoslav.eu:/mnt/big/projects/sixth-data/
+
+if [ $? -eq 0 ]; then
+ echo "✓ Upload completed successfully!"
+else
+ echo "✗ Upload failed!"
+fi
+
+echo ""
+echo "Press ENTER to close this window."
+read
\ No newline at end of file
+#+SETUPFILE: ~/.emacs.d/org-styles/html/darksun.theme
#+TITLE: Sixth Data - Data storage and computing engine
+#+LANGUAGE: en
+#+LATEX_HEADER: \usepackage[margin=1.0in]{geometry}
+#+LATEX_HEADER: \usepackage{parskip}
+#+LATEX_HEADER: \usepackage[none]{hyphenat}
-* (document settings) :noexport:
-** use dark style for TWBS-HTML exporter
-#+HTML_HEAD: <link href="https://bootswatch.com/3/darkly/bootstrap.min.css" rel="stylesheet">
-#+HTML_HEAD: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
-#+HTML_HEAD: <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/js/bootstrap.min.js"></script>
-#+HTML_HEAD: <style type="text/css">
-#+HTML_HEAD: footer {background-color: #111 !important;}
-#+HTML_HEAD: pre {background-color: #111; color: #ccc;}
-#+HTML_HEAD: </style>
+#+OPTIONS: H:20 num:20
+#+OPTIONS: author:nil
* General
+
- This program is free software: released under Creative Commons Zero
(CC0) license
:PROPERTIES:
:ID: f6764282-a6f6-44e6-8716-b428074dd093
:END:
+
Provide hackable, versioned, optimized, distributed, geometrical,
arbitrary dimensional ([[id:96116550-a6a1-4700-bef7-865d0deee7ea][hypercube based]]) data storage and computation
engine ([[id:d2375acc-af14-4f18-8ad0-7949501178c5][as inspired by the brain]]) for general purpose visual computing
:PROPERTIES:
:ID: 0fa6354b-18c9-4120-bbf5-c7239aebecab
:END:
+
+ see also: [[https://en.wikipedia.org/wiki/OLAP_cube][OLAP cube]].
+
** Brain
:PROPERTIES:
:ID: d2375acc-af14-4f18-8ad0-7949501178c5
:END:
+
+ Brain appears to be natural geometrical/parallel data storage and
computational engine:
+ https://www.quantamagazine.org/the-brain-maps-out-ideas-and-memories-like-spaces-20190114/
beautifully fits CM-1 Connection Machine architecture (for extra
hardware accelerated solution).
-
** CM-1 Connection Machine
:PROPERTIES:
:ID: 01aa65c1-3d44-44a8-9b90-58454bc6be80
:END:
+
https://en.wikipedia.org/wiki/Connection_Machine
Massively parallel (thousands of CPUs) connected via
we can pre-distribute data across computation units and perform
parallel [[id:171fe375-c737-41e6-b429-a414f6abc5d8][geometrical computation]].
-* Reasons for hypercube as a so called first class citizen
+* Reasons for hypercube
:PROPERTIES:
:ID: 96116550-a6a1-4700-bef7-865d0deee7ea
:END:
+
+ Hypercube is quite general purpose data structure that naturally
encapsulates wide variety data and problems.
+ Hypercube stored data (and computation process) has geometry by its
nature and should fit nicely with "3D first" user interface ideology
of the parent [[http://www2.svjatoslav.eu/gitbrowse/sixth/doc/index.html][Sixth]] project.
+
* Geometrical computation idea
:PROPERTIES:
:ID: 171fe375-c737-41e6-b429-a414f6abc5d8
:END:
+
** Distributed computation and data storage
:PROPERTIES:
:ID: 5d287158-53ea-44a2-a754-dd862366066a
:END:
+
Lots of problems can be translated to geometry (use any shapes and as
many dimensions as you need). Solution(s) to such problems could be
then found via geometrical search/comparison/lookup results. As a
:PROPERTIES:
:ID: a117c11e-97c1-4822-88b2-9fc10f96caec
:END:
+
Object oriented programming is inspired by the way human mind
operates. It allows programmer to express ideas to computer in a more
human-like terms.
:PROPERTIES:
:ID: b6b15bd2-c78b-4c51-a343-72843a515c29
:END:
-Consider we want to create database of:
+
+ Consider we want to create database of:
+ Books.
+ Authors.
+ Effort: Amount of time contributed by every author to every book
Points in that cube would nicely capture many to many relations
between authors and the books.
+
* Current status
+
- More or less defined [[id:f6764282-a6f6-44e6-8716-b428074dd093][Vision / goal]].
- Collected some [[id:0fa6354b-18c9-4120-bbf5-c7239aebecab][inspiring]] [[id:171fe375-c737-41e6-b429-a414f6abc5d8][ideas]].