content
stringlengths
10
4.9M
Station aggregation scheme considering channel interference for radio on demand networks With the rapid growth of the Internet, deploying energy-efficient networking technology is an urgent matter. In particular, wireless LAN (WLAN), which is widely used due to its ease of deployment and low cost of installation, is also required to be energy efficient. For this purpose, R & D activities for Radio-On-Demand-Networks (ROD) have been proposed. In ROD networks, access points (APs) have been equipped with wake-up receivers, switching their status to sleep mode, depending on the traffic distribution in the network. In the present paper, a station (STA) aggregation scheme in ROD networks considering channel interference is proposed. In this scheme, APs cooperate with each other and aggregate their STAs depending on the channel utilization information rather than the AP utilization. The simulation results reveal the scheme effectiveness in terms of power savings without throughput degradation in WLANs even in the presence of interference.
def unhidehashlikerevs(repo, specs, hiddentype): if not repo.filtername or not repo.ui.configbool('experimental', 'directaccess'): return repo if repo.filtername not in ('visible', 'visible-hidden'): return repo symbols = set() for spec in specs: try: tree = revsetlang.parse(spec) except error.ParseError: continue symbols.update(revsetlang.gethashlikesymbols(tree)) if not symbols: return repo revs = _getrevsfromsymbols(repo, symbols) if not revs: return repo if hiddentype == 'warn': unfi = repo.unfiltered() revstr = ", ".join([pycompat.bytestr(unfi[l]) for l in revs]) repo.ui.warn(_("warning: accessing hidden changesets for write " "operation: %s\n") % revstr) return repo.filtered('visible-hidden', revs)
/* <NAME> 3^C Informatica Questo programma ti permette di giocare al gioco del Master Mind. In 10 tentativi bisogna indovinare un numero di 4 cifre pensato dal computer. Saranno 4 cifre singole contenute in un vettore Int di 4 posizioni. Ad ogni tiro il computer dovrà dire quante cifre sono state indovinate e in che posizione del vettore */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <iostream> #include <math.h> #define LEN 4 #define MAX_ATT 10 /*------------------------------ Definizione del tipo solutions -------------------------------*/ typedef struct { int corretto; int quasiCorretto; } solutions; /*------------------------------ Procedura che stampa una linea -------------------------------*/ void linea() { for (int i = 0; i < 75; i++) printf("-"); } /*-------------------------------------------------------- Procedura che genera il codice segreto * Parametri: * int numSegreti[]: output: Contiene il codice segreto ----------------------------------------------------------*/ void codeGen(int numSegreti[LEN]) { int i, numRand; for (i = 0; i < LEN; i++) { numRand = rand() % 10; numSegreti[i] = numRand; printf("%d ", numSegreti[i]); } } /*-------------------------------------------------------- Procedura che chiede in input il codice all'interno ad una variabile temporanea che poi verrà scomposta ed inserita all'interno di un array * Parametri: * int indNumeri[]: output: Contiene il codice dell'utente ----------------------------------------------------------*/ void guess(int indNumeri[LEN], int *tentativi) { int i; int tmpCode; printf("Le cifre che puoi inserire sono: "); for (i = 0; i < 10; i++) printf("%d, ", i); do { printf("\n\nTentativo numero: %d", *tentativi); printf("\nInserisci le tue risposte: \n"); scanf("%d", &tmpCode); } while (tmpCode > (pow(10, LEN) - 1) || tmpCode < 0); printf("\n"); for (int i = 0; i < LEN; i++) { indNumeri[(LEN - 1) - i] = tmpCode % 10; //serve per copiare i numeri in input dentro al vettore tmpCode /= 10; } } /*---------------------------------------------------------------- Procedura che stampa l'array passato come parametro * Parametri: * int vet[]: input: array che sarà stampato * int len: input: lunghezza dell'array ----------------------------------------------------------------*/ void stampaVett(int vet[], int len) { for (int i = 0; i < len; i++) printf("%d", vet[i]); } /*--------------------------------------------------------------------- Procedura che stampa se le cifre sono al posto giusto oppure no, e in caso il numero venga indovinato viene stampato il messaggio di vittoria * Parametri: * int: indNumeri[]: input: codice inserito da utente * solutions soluzioni: indizi se le cifre sono nel posto giusto -----------------------------------------------------------------------*/ bool stampaRis(int indNumeri[], solutions soluzioni) { char risp; //stampaVett(indNumeri, LEN); printf("%d cifre giuste nel posto giusto, %d cifre giuste nel posto sbagliato", soluzioni.corretto, soluzioni.quasiCorretto); printf("\n"); printf("\n"); linea(); printf("\n"); printf("\n"); if (soluzioni.corretto == LEN) { printf("HAI INDOVINATO IL NUMERO! BRAVO!! \n\n"); return true; } return false; } /*---------------------------------------------------------------- Procedura che copia il contenuto del secondo array nel primo * Parametri: * int vet1[]: input: array contenente la copia * int vet2[]: input: array originario ----------------------------------------------------------------*/ void copiaArray(int vet1[], int vet2[]) { for (int i = 0; i < LEN; i++) vet1[i] = vet2[i]; } /*-------------------------------------------------------- Funzione che esegue la comparazione dei due codici per vedere se ci sono differenze, e grazie a questo si possono ricevere le indicazioni sulle posizoni giuste o meno dei numeri * Parametri: * int indNumeri[]: input: codice inserito dall'utente * int numSegreti[]: input: codice creato dal Programma * return solutions: output: contiene le indicazioni se * i numeri inseriti sono corretti o quasiCorretti --------------------------------------------------------*/ solutions verificaCodice(int indNumeri[], int numSegreti[]) { int tmpCode[LEN]; solutions soluzioni; soluzioni.corretto = 0; soluzioni.quasiCorretto = 0; bool checkUguale; copiaArray(tmpCode, numSegreti); for (int i = 0; i < LEN; i++) { checkUguale = false; for (int j = 0; j < LEN && !checkUguale; j++) { if (indNumeri[i] == tmpCode[j]) { if (i == j) soluzioni.corretto++; else soluzioni.quasiCorretto++; checkUguale = true; tmpCode[j] = -1; } } } return soluzioni; } /*---------------------------------------------- Procedura che stampa l'introduzione al programma ----------------------------------------------*/ void Benvenuto() { printf("\n******************************************************************"); printf("\n BENVENUTO AL GIOCO DEL MASTERMIND "); printf("\n******************************************************************"); } /*------MAIN------*/ int main(int argc, char const *argv[]) { /* code */ srand(time(NULL)); int numSegreti[LEN], indNumeri[LEN], tentativi = 0; char risp; solutions soluzioni; Benvenuto(); do { codeGen(numSegreti); do { guess(indNumeri, &tentativi); soluzioni = verificaCodice(indNumeri, numSegreti); stampaRis(indNumeri, soluzioni); tentativi++; } while (tentativi < MAX_ATT && !stampaRis(indNumeri, soluzioni)); if (soluzioni.corretto < LEN) printf("MI DISPIACE HAI PERSO...\n\n"); printf("La combinazione giusta era: "); stampaVett(numSegreti, LEN); printf("\nVUOI CONTINUARE? (S/N): "); scanf("%c", &risp); } while (risp == 'S'); printf("\nSEI USCITO DAL GIOCO\n"); return 0; }
/** * Record a histogram by sending it to metrics service or add it to a pending list if the * connection isn't ready yet. Bind the service only once on the first record to arrive. */ private void recordHistogram(HistogramRecord record) { record = mRecordingDelegate.addMetadata(record); synchronized (mLock) { if (mServiceStub != null) { sendToServiceLocked(record); return; } maybeBindServiceLocked(); if (mPendingRecordsList.size() < MAX_PENDING_RECORDS_COUNT) { mPendingRecordsList.add(record); } else { Log.w(TAG, "Number of pending records has reached max capacity, dropping record"); } } }
import json import re import time import networkx import requests from mininet.cli import CLI from mininet.log import MininetLogger from mininet.net import Mininet from mininet.node import RemoteController from mininet.topo import Topo from upload import put_flow class MininetSimulator(object): def __init__(self, graph, controller_addr): self.graph = graph self.mininet_topo = Topo() self.controller_addr = controller_addr def generate_topo(self): nodes = self.graph.nodes() edges = self.graph.edges() hosts = [n for n in nodes if 1 == networkx.degree(self.graph, n)] for node in nodes: if node in hosts: self.mininet_topo.addHost(node) else: self.mininet_topo.addSwitch(node, protocols="OpenFlow13") for edge in edges: # set link properties here. # bw(Mbps), delay, loss, max_queue_size # source code is in {mininet_root}/mininet/link.py linkopts = dict() self.mininet_topo.addLink(edge[0], edge[1], **linkopts) def apply_stp(self): # 最小生成树 self.graph = networkx.minimum_spanning_tree(self.graph) # 获取当前网络拓扑 url = "http://172.16.86.1:8181/restconf/operational/network-topology:network-topology/topology/flow:1" rsp = requests.get(auth=("admin", "admin"), url=url) json_obj = json.loads(rsp.text) links = json_obj['topology'][0]['link'] switch_state = {} for link in links: dest = re.findall(r"[-+]?\d+", link['destination']['dest-tp']) src = re.findall(r"[-+]?\d+", link['source']['source-tp']) print(f"s{src[0]}:{src[1]} and s{dest[0]}:{dest[1]}") if (f's{dest[0]}', f's{src[0]}') in self.graph.edges(): if dest[0] not in switch_state: switch_state[dest[0]] = set() if src[0] not in switch_state: switch_state[src[0]] = set() switch_state[dest[0]].add(dest[1]) switch_state[src[0]].add(src[1]) for s in switch_state: # 为所有末端的路由器添加一个端口 if len(switch_state[s]) == 1: switch_state[s].add('3') # 上传连通的流规则 for in_port in switch_state[s]: out_ports = list(switch_state[s]-{in_port}) put_flow("arp", s, in_port, out_ports) put_flow("ip", s, in_port, out_ports) print(f"s{s} {in_port} to {out_ports}") def run(self): self.generate_topo() net = Mininet(topo=self.mininet_topo, controller=RemoteController, build=False, # autoStaticArp=True ) net.addController(ip=self.controller_addr) net.start() time.sleep(1) while(1): try: MS.apply_stp() break except Exception as e: print(e) CLI(net) net.stop() MininetLogger().setLogLevel(levelname='debug') g = networkx.read_graphml("task4_topo.graphml") MS = MininetSimulator(g, "172.16.86.1") MS.run()
// Log prints string to stdout func Log(format string, v ...interface{}) { if !strings.HasSuffix(format, "\n") { format += "\n" } fmt.Printf(format, v...) }
/** * The tag reference object */ public class GitTag extends GitReference { /** * Prefix for tags ({@value}) */ @NonNls public static final String REFS_TAGS_PREFIX = "refs/tags/"; /** * The constructor * * @param name the used name */ public GitTag(@Nonnull String name) { super(name); } /** * {@inheritDoc} */ @Nonnull public String getFullName() { return REFS_TAGS_PREFIX + myName; } /** * List tags for the git root * * @param project the context * @param root the git root * @param tags the tag list * @param containingCommit * @throws VcsException if there is a problem with running git */ public static void listAsStrings(final Project project, final VirtualFile root, final Collection<String> tags, @Nullable final String containingCommit) throws VcsException { GitSimpleHandler handler = new GitSimpleHandler(project, root, GitCommand.TAG); handler.setSilent(true); handler.addParameters("-l"); if (containingCommit != null) { handler.addParameters("--contains"); handler.addParameters(containingCommit); } for (String line : handler.run().split("\n")) { if (line.length() == 0) { continue; } tags.add(new String(line)); } } /** * List tags for the git root * * @param project the context * @param root the git root * @param tags the tag list * @throws VcsException if there is a problem with running git */ public static void list(final Project project, final VirtualFile root, final Collection<? super GitTag> tags) throws VcsException { ArrayList<String> temp = new ArrayList<String>(); listAsStrings(project, root, temp, null); for (String t : temp) { tags.add(new GitTag(t)); } } }
import re import html import itertools from typing import Optional, Tuple from datetime import date, timedelta import requests class NationalDietLibrary: def __init__(self, offset: int = 30): self.BASE_SRU_URL: str = "https://iss.ndl.go.jp/api/sru?operation=searchRetrieve&query={param}%3d%22{keyword}%22%20AND%20from%3d%22{dt:%Y-%m}" self.BASE_OS_URL: str = "https://iss.ndl.go.jp/api/opensearch?title={title}" self.dt = date.today() - timedelta(days=offset) def get_bibliography(self, params: list, keywords: list) -> Tuple[str, str]: for param, keyword in itertools.product(params, keywords): res = requests.get(self.BASE_SRU_URL.format(param=param, keyword=keyword, dt=self.dt)) yield html.unescape(res.text), keyword def get_isbn(self, title: str) -> Optional[str]: res = requests.get(self.BASE_OS_URL.format(title=title)).text htm = html.unescape(res) m = re.search(r'(?<=<dc:identifier xsi:type="dcndl:ISBN">)\d+(?=</dc:identifier>)', htm) if m: return m.group()
/** * CSVCheckMapper check the content of csv files. */ public static class CSVCheckMapper extends Mapper<NullWritable, StringArrayWritable, NullWritable, NullWritable> { @Override protected void map(NullWritable key, StringArrayWritable value, Context context) throws IOException, InterruptedException { String[] columns = value.get(); int id = Integer.parseInt(columns[0]); int salary = Integer.parseInt(columns[6]); Assert.assertEquals(id - 1, salary - 15000); } }
/** * Partitioned atomic cache metrics test. */ @RunWith(JUnit4.class) public class GridCacheAtomicPartitionedTckMetricsSelfTestImpl extends GridCacheAtomicPartitionedMetricsSelfTest { /** {@inheritDoc} */ @Override protected int gridCount() { return 1; } /** * @throws Exception If failed. */ @Test public void testEntryProcessorRemove() throws Exception { IgniteCache<Integer, Integer> cache = grid(0).cache(DEFAULT_CACHE_NAME); cache.put(1, 20); int result = cache.invoke(1, new EntryProcessor<Integer, Integer, Integer>() { @Override public Integer process(MutableEntry<Integer, Integer> entry, Object... arguments) throws EntryProcessorException { Integer result = entry.getValue(); entry.remove(); return result; } }); assertEquals(1L, cache.localMetrics().getCachePuts()); assertEquals(20, result); assertEquals(1L, cache.localMetrics().getCacheHits()); assertEquals(100.0f, cache.localMetrics().getCacheHitPercentage()); assertEquals(0L, cache.localMetrics().getCacheMisses()); assertEquals(0f, cache.localMetrics().getCacheMissPercentage()); assertEquals(1L, cache.localMetrics().getCachePuts()); assertEquals(1L, cache.localMetrics().getCacheRemovals()); assertEquals(0L, cache.localMetrics().getCacheEvictions()); assert cache.localMetrics().getAveragePutTime() >= 0; assert cache.localMetrics().getAverageGetTime() >= 0; assert cache.localMetrics().getAverageRemoveTime() >= 0; } /** * @throws Exception If failed. */ @Test public void testCacheStatistics() throws Exception { IgniteCache<Integer, Integer> cache = grid(0).cache(DEFAULT_CACHE_NAME); cache.put(1, 10); assertEquals(0, cache.localMetrics().getCacheRemovals()); assertEquals(1, cache.localMetrics().getCachePuts()); cache.remove(1); assertEquals(0, cache.localMetrics().getCacheHits()); assertEquals(1, cache.localMetrics().getCacheRemovals()); assertEquals(1, cache.localMetrics().getCachePuts()); cache.remove(1); assertEquals(0, cache.localMetrics().getCacheHits()); assertEquals(0, cache.localMetrics().getCacheMisses()); assertEquals(1, cache.localMetrics().getCacheRemovals()); assertEquals(1, cache.localMetrics().getCachePuts()); cache.put(1, 10); assertTrue(cache.remove(1, 10)); assertEquals(1, cache.localMetrics().getCacheHits()); assertEquals(0, cache.localMetrics().getCacheMisses()); assertEquals(2, cache.localMetrics().getCacheRemovals()); assertEquals(2, cache.localMetrics().getCachePuts()); assertFalse(cache.remove(1, 10)); assertEquals(1, cache.localMetrics().getCacheHits()); assertEquals(1, cache.localMetrics().getCacheMisses()); assertEquals(2, cache.localMetrics().getCacheRemovals()); assertEquals(2, cache.localMetrics().getCachePuts()); } /** * @throws Exception If failed. */ @Test public void testConditionReplace() throws Exception { IgniteCache<Integer, Integer> cache = grid(0).cache(DEFAULT_CACHE_NAME); long hitCount = 0; long missCount = 0; long putCount = 0; boolean result = cache.replace(1, 0, 10); ++missCount; assertFalse(result); assertEquals(missCount, cache.localMetrics().getCacheMisses()); assertEquals(hitCount, cache.localMetrics().getCacheHits()); assertEquals(putCount, cache.localMetrics().getCachePuts()); assertNull(cache.localPeek(1)); cache.put(1, 10); ++putCount; assertEquals(missCount, cache.localMetrics().getCacheMisses()); assertEquals(hitCount, cache.localMetrics().getCacheHits()); assertEquals(putCount, cache.localMetrics().getCachePuts()); assertNotNull(cache.localPeek(1)); result = cache.replace(1, 10, 20); assertTrue(result); ++hitCount; ++putCount; assertEquals(missCount, cache.localMetrics().getCacheMisses()); assertEquals(hitCount, cache.localMetrics().getCacheHits()); assertEquals(putCount, cache.localMetrics().getCachePuts()); result = cache.replace(1, 40, 50); assertFalse(result); ++hitCount; assertEquals(hitCount, cache.localMetrics().getCacheHits()); assertEquals(putCount, cache.localMetrics().getCachePuts()); assertEquals(missCount, cache.localMetrics().getCacheMisses()); } /** * @throws Exception If failed. */ @Test public void testPutIfAbsent() throws Exception { IgniteCache<Integer, Integer> cache = grid(0).cache(DEFAULT_CACHE_NAME); long hitCount = 0; long missCount = 0; long putCount = 0; boolean result = cache.putIfAbsent(1, 1); ++putCount; ++missCount; assertTrue(result); assertEquals(missCount, cache.localMetrics().getCacheMisses()); assertEquals(hitCount, cache.localMetrics().getCacheHits()); assertEquals(putCount, cache.localMetrics().getCachePuts()); result = cache.putIfAbsent(1, 1); ++hitCount; cache.containsKey(123); assertFalse(result); assertEquals(hitCount, cache.localMetrics().getCacheHits()); assertEquals(putCount, cache.localMetrics().getCachePuts()); assertEquals(missCount, cache.localMetrics().getCacheMisses()); } }
declare namespace Jymfony.Bundle.SecurityBundle { import Bundle = Jymfony.Component.Kernel.Bundle; import ContainerBuilder = Jymfony.Component.DependencyInjection.ContainerBuilder; /** * Bundle */ export class SecurityBundle extends Bundle { /** * @inheritdoc */ build(container: ContainerBuilder): void; } }
For more than 180 years, scientists had pulled these "monster" larvae from the guts of fish, wondering they looked like as grown-ups. Turns out, they are the baby version of a deep-sea shrimp. [ For nearly two centuries, scientists have pulled so-called "monster larva" from the guts of fish and wondered what these thick-bodied creatures looked like as grown-ups. Now one biologist believes he has finally matched the larva with its adult counterpart. "It's very exciting to have solved a nearly 200-year-old conundrum," Keith Crandall, a biology professor at George Washington University, said in a statement. Drawing from genetic evidence, Crandall reported in the journal Ecology and Evolution this month that the larva, Cerataspis monstrosa, is actually a baby version of the deep-water aristeid shrimp known as Plesiopenaeus armatus. Making this match-up between the baby and adult forms was not as easy as finding a larger version of the larva. In fact, the two couldn't look more different, the researchers said. C. monstrosa has a thick body covered in armor with "exceptional horn ornamentation," the researchers write. Yellowfin and blackfin tuna and dolphins prefer this "monstrous and misshapen animal," as the larva was called, for prey — and it was in these predators' gut contents that scientists had encountered the monster larvae. Its adult form, Plesiopenaeus, which calls the deep waters of the Atlantic Ocean home, looks more like a lobster. [Image Gallery: Magnificent Shrimp Photos] Scientists began to suspect a link between the two in the 19th century. "Because previous studies suggested an affinity between Cerataspis and penaeoid shrimp, and more specifically the family Aristeidae, we sampled heavily within these groups," Crandall explained. His lab had been collecting crustacean DNA information for several years, providing a database to compare the Cerataspis DNA and make the link. They found a 99.96 percent match between the sequences of five genes for both organisms. Follow LiveScience on Twitter @livescience. We're also on Facebook & Google+. Copyright 2012 LiveScience, a TechMediaNetwork company. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.
def make_id_number( date_of_birth: date, gender: Gender, citizenship: Citizenship ) -> str: date_of_birth_digits = date_of_birth.strftime(DATE_OF_BIRTH_FORMAT) gender_digits = generate_gender_digits(gender) if citizenship == Citizenship.SA_CITIZEN: citizenship_digit = SA_CITIZEN_DIGIT else: citizenship_digit = PERMANENT_RESIDENT_DIGIT digits = "".join( [date_of_birth_digits, gender_digits, citizenship_digit, RACE_DIGIT] ) checksum_digit = calculate_checksum_digit(digits) return f"{digits}{checksum_digit}"
package api import ( "database/sql" "testing" "github.com/lovi-cloud/satelit/pkg/ganymede" uuid "github.com/satori/go.uuid" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "github.com/go-test/deep" pb "github.com/lovi-cloud/satelit/api/satelit" ) func TestSatelitServer_AddVirtualMachine(t *testing.T) { nodes := getDummyNodes() hypervisorName, teardownTeleskop, err := setupTeleskop(nodes) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() imageResp, err := uploadDummyImage(ctx, client) if err != nil { t.Fatalf("failed to upload dummy image: %+v\n", err) } cpgResp, err := client.AddCPUPinningGroup(ctx, &pb.AddCPUPinningGroupRequest{ Name: "testgroup", CountOfCore: 2, HypervisorName: hypervisorName, }) if err != nil { t.Fatalf("failed to add cpu pinning group: %+v", err) } tests := []struct { input *pb.AddVirtualMachineRequest want *pb.AddVirtualMachineResponse err bool }{ { input: &pb.AddVirtualMachineRequest{ Name: "test001", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, EuropaBackendName: testEuropaBackendName, }, want: &pb.AddVirtualMachineResponse{ Uuid: "", Name: "test001", }, err: false, }, { input: &pb.AddVirtualMachineRequest{ Name: "test-with-cpu-pinning-group", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, PinningGroupName: cpgResp.CpuPinningGroup.Name, EuropaBackendName: testEuropaBackendName, }, want: &pb.AddVirtualMachineResponse{ Uuid: "", Name: "test-with-cpu-pinning-group", }, err: false, }, } for _, test := range tests { got, err := client.AddVirtualMachine(ctx, test.input) if got != nil { test.want.Uuid = got.Uuid } if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_StartVirtualMachine(t *testing.T) { hypervisorName, teardownTeleskop, err := setupTeleskop(nil) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() imageResp, err := uploadDummyImage(ctx, client) if err != nil { t.Fatalf("failed to upload dummy image: %+v\n", err) } vmResp, err := client.AddVirtualMachine(ctx, &pb.AddVirtualMachineRequest{ Name: "test001", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, EuropaBackendName: testEuropaBackendName, }) if err != nil { t.Fatalf("failed to add test virtual machine: %+v\n", err) } tests := []struct { input *pb.StartVirtualMachineRequest want *pb.StartVirtualMachineResponse err bool }{ { input: &pb.StartVirtualMachineRequest{ Uuid: vmResp.Uuid, }, want: &pb.StartVirtualMachineResponse{ Uuid: vmResp.Uuid, Name: vmResp.Uuid, // TODO }, err: false, }, } for _, test := range tests { got, err := client.StartVirtualMachine(ctx, test.input) if got != nil { test.want.Uuid = got.Uuid } if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_ShowVirtualMachine(t *testing.T) { nodes := getDummyNodes() hypervisorName, teardownTeleskop, err := setupTeleskop(nodes) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() imageResp, err := uploadDummyImage(ctx, client) if err != nil { t.Fatalf("failed to upload dummy image: %+v\n", err) } cpgResp, err := client.AddCPUPinningGroup(ctx, &pb.AddCPUPinningGroupRequest{ Name: "testgroup", CountOfCore: 2, HypervisorName: hypervisorName, }) if err != nil { t.Fatalf("failed to add cpu pinning group: %+v", err) } vmResp, err := client.AddVirtualMachine(ctx, &pb.AddVirtualMachineRequest{ Name: "test001", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, EuropaBackendName: testEuropaBackendName, }) if err != nil { t.Fatalf("failed to add test virtual machine: %+v\n", err) } vmCpgResp, err := client.AddVirtualMachine(ctx, &pb.AddVirtualMachineRequest{ Name: "test-with-cpu-pinning-group", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, PinningGroupName: cpgResp.CpuPinningGroup.Name, EuropaBackendName: testEuropaBackendName, }) if err != nil { t.Fatalf("failed to add test virtual machine with cpu pinning group: %+v", err) } tests := []struct { input *pb.ShowVirtualMachineRequest want *pb.ShowVirtualMachineResponse err bool }{ { input: &pb.ShowVirtualMachineRequest{Uuid: vmResp.Uuid}, want: &pb.ShowVirtualMachineResponse{ VirtualMachine: &pb.VirtualMachine{ Uuid: vmResp.Uuid, Name: "test001", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, HypervisorName: hypervisorName, SourceImageId: imageResp.Image.Id, RootVolumeGb: 10, EuropaBackendName: testEuropaBackendName, }, }, err: false, }, { input: &pb.ShowVirtualMachineRequest{Uuid: vmCpgResp.Uuid}, want: &pb.ShowVirtualMachineResponse{ VirtualMachine: &pb.VirtualMachine{ Uuid: vmCpgResp.Uuid, Name: "test-with-cpu-pinning-group", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, PinningGroupName: cpgResp.CpuPinningGroup.Name, EuropaBackendName: testEuropaBackendName, }, }, err: false, }, } for _, test := range tests { got, err := client.ShowVirtualMachine(ctx, test.input) if got != nil { test.want.VirtualMachine.Uuid = got.VirtualMachine.Uuid } if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_ListVirtualMachine(t *testing.T) { nodes := getDummyNodes() hypervisorName, teardownTeleskop, err := setupTeleskop(nodes) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() imageResp, err := uploadDummyImage(ctx, client) if err != nil { t.Fatalf("failed to upload dummy image: %+v\n", err) } cpgResp, err := client.AddCPUPinningGroup(ctx, &pb.AddCPUPinningGroupRequest{ Name: "testgroup", CountOfCore: 2, HypervisorName: hypervisorName, }) if err != nil { t.Fatalf("failed to add cpu pinning group: %+v", err) } vmResp, err := client.AddVirtualMachine(ctx, &pb.AddVirtualMachineRequest{ Name: "test001", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, EuropaBackendName: testEuropaBackendName, }) if err != nil { t.Fatalf("failed to add test virtual machine: %+v\n", err) } vmCpgResp, err := client.AddVirtualMachine(ctx, &pb.AddVirtualMachineRequest{ Name: "test-with-cpu-pinning-group", Vcpus: 2, // sort key for test MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, PinningGroupName: cpgResp.CpuPinningGroup.Name, EuropaBackendName: testEuropaBackendName, }) if err != nil { t.Fatalf("failed to add test virtual machine with cpu pinning group: %+v", err) } tests := []struct { input *pb.ListVirtualMachineRequest want *pb.ListVirtualMachineResponse err bool }{ { input: &pb.ListVirtualMachineRequest{}, want: &pb.ListVirtualMachineResponse{ VirtualMachines: []*pb.VirtualMachine{ { Uuid: vmResp.Uuid, Name: "test001", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, EuropaBackendName: testEuropaBackendName, }, { Uuid: vmCpgResp.Uuid, Name: "test-with-cpu-pinning-group", Vcpus: 2, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, PinningGroupName: cpgResp.CpuPinningGroup.Name, EuropaBackendName: testEuropaBackendName, }, }, }, err: false, }, } for _, test := range tests { got, err := client.ListVirtualMachine(ctx, test.input) if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_DeleteVirtualMachine(t *testing.T) { hypervisorName, teardownTeleskop, err := setupTeleskop(nil) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() imageResp, err := uploadDummyImage(ctx, client) if err != nil { t.Fatalf("failed to upload dummy image: %+v\n", err) } vmResp, err := client.AddVirtualMachine(ctx, &pb.AddVirtualMachineRequest{ Name: "test001", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, EuropaBackendName: testEuropaBackendName, }) if err != nil { t.Fatalf("failed to add test virtual machine: %+v\n", err) } tests := []struct { input *pb.DeleteVirtualMachineRequest want *pb.DeleteVirtualMachineResponse err bool }{ { input: &pb.DeleteVirtualMachineRequest{ Uuid: vmResp.Uuid, }, want: &pb.DeleteVirtualMachineResponse{}, err: false, }, } for _, test := range tests { got, err := client.DeleteVirtualMachine(ctx, test.input) if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_CreateBridge(t *testing.T) { _, teardownTeleskop, err := setupTeleskop(nil) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() tests := []struct { input *pb.CreateBridgeRequest want *pb.CreateBridgeResponse err bool }{ { input: &pb.CreateBridgeRequest{ Name: "testbr1000", VlanId: 1000, }, want: &pb.CreateBridgeResponse{Bridge: &pb.Bridge{ Uuid: "", VlanId: 1000, Name: "testbr1000", }}, err: false, }, } for _, test := range tests { got, err := client.CreateBridge(ctx, test.input) if got != nil { test.want.Bridge.Uuid = got.Bridge.Uuid } if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_CreateInternalBridge(t *testing.T) { _, teardownTeleskop, err := setupTeleskop(nil) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() tests := []struct { input *pb.CreateInternalBridgeRequest want *pb.CreateInternalBridgeResponse err bool }{ { input: &pb.CreateInternalBridgeRequest{ Name: "testbr1000", }, want: &pb.CreateInternalBridgeResponse{Bridge: &pb.Bridge{ Uuid: "", VlanId: 0, Name: "testbr1000", }}, err: false, }, } for _, test := range tests { got, err := client.CreateInternalBridge(ctx, test.input) if got != nil { test.want.Bridge.Uuid = got.Bridge.Uuid } if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_GetBridge(t *testing.T) { _, teardownTeleskop, err := setupTeleskop(nil) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() resp, err := client.CreateBridge(ctx, &pb.CreateBridgeRequest{ Name: "testbr1000", VlanId: 1000, }) if err != nil { t.Fatalf("failed to create bridge: %+v", err) } tests := []struct { input *pb.GetBridgeRequest want *pb.GetBridgeResponse err bool }{ { input: &pb.GetBridgeRequest{ Uuid: resp.Bridge.Uuid, }, want: &pb.GetBridgeResponse{ Bridge: resp.Bridge, }, err: false, }, } for _, test := range tests { got, err := client.GetBridge(ctx, test.input) if got != nil { test.want.Bridge.Uuid = got.Bridge.Uuid } if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_ListBridge(t *testing.T) { _, teardownTeleskop, err := setupTeleskop(nil) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() resp, err := client.CreateBridge(ctx, &pb.CreateBridgeRequest{ Name: "testbr1000", VlanId: 1000, }) if err != nil { t.Fatalf("failed to create bridge: %+v", err) } tests := []struct { input *pb.ListBridgeRequest want *pb.ListBridgeResponse err bool }{ { input: &pb.ListBridgeRequest{}, want: &pb.ListBridgeResponse{ Bridges: []*pb.Bridge{ resp.Bridge, }, }, err: false, }, } for _, test := range tests { got, err := client.ListBridge(ctx, test.input) if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_DeleteBridge(t *testing.T) { _, teardownTeleskop, err := setupTeleskop(nil) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() resp, err := client.CreateBridge(ctx, &pb.CreateBridgeRequest{ Name: "testbr1000", VlanId: 1000, }) if err != nil { t.Fatalf("failed to create bridge: %+v", err) } tests := []struct { input *pb.DeleteBridgeRequest want *pb.DeleteBridgeResponse err bool }{ { input: &pb.DeleteBridgeRequest{ Uuid: resp.Bridge.Uuid, }, want: &pb.DeleteBridgeResponse{}, err: false, }, } for _, test := range tests { got, err := client.DeleteBridge(ctx, test.input) if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_AttachInterface(t *testing.T) { hypervisorName, teardownTeleskop, err := setupTeleskop(nil) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() imageResp, err := uploadDummyImage(ctx, client) if err != nil { t.Fatalf("failed to upload dummy image: %+v\n", err) } vmResp, err := client.AddVirtualMachine(ctx, &pb.AddVirtualMachineRequest{ Name: "test001", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, EuropaBackendName: testEuropaBackendName, }) if err != nil { t.Fatalf("failed to add test virtual machine: %+v\n", err) } bridgeResp, err := client.CreateBridge(ctx, &pb.CreateBridgeRequest{ Name: "testbr1000", VlanId: 1000, }) if err != nil { t.Fatalf("failed to create test bridge: %+v", err) } subnetResp, err := client.CreateSubnet(ctx, &pb.CreateSubnetRequest{ Name: "testsubnet1000", Network: "192.0.2.0/24", VlanId: 1000, Start: "192.0.2.100", End: "192.0.2.200", Gateway: "192.0.2.1", DnsServer: "8.8.8.8", MetadataServer: "192.0.2.15", }) if err != nil { t.Fatalf("failed to create test subnet: %+v", err) } addressResp, err := client.CreateAddress(ctx, &pb.CreateAddressRequest{ SubnetId: subnetResp.Subnet.Uuid, }) if err != nil { t.Fatalf("failed to create test address: %+v", err) } leaseResp, err := client.CreateLease(ctx, &pb.CreateLeaseRequest{ AddressId: addressResp.Address.Uuid, }) if err != nil { t.Fatalf("failed to create test lease: %+v", err) } tests := []struct { input *pb.AttachInterfaceRequest want *pb.AttachInterfaceResponse err bool }{ { input: &pb.AttachInterfaceRequest{ VirtualMachineId: vmResp.Uuid, BridgeId: bridgeResp.Bridge.Uuid, Average: 1 * 1024 * 1024, Name: "vnet0", LeaseId: leaseResp.Lease.Uuid, }, want: &pb.AttachInterfaceResponse{ InterfaceAttachment: &pb.InterfaceAttachment{ Uuid: "", VirtualMachineId: vmResp.Uuid, BridgeId: bridgeResp.Bridge.Uuid, Average: 1 * 1024 * 1024, Name: "vnet0", LeaseId: leaseResp.Lease.Uuid, }, }, err: false, }, } for _, test := range tests { got, err := client.AttachInterface(ctx, test.input) if got != nil { test.want.InterfaceAttachment.Uuid = got.InterfaceAttachment.Uuid } if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_DetachInterface(t *testing.T) { hypervisorName, teardownTeleskop, err := setupTeleskop(nil) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() imageResp, err := uploadDummyImage(ctx, client) if err != nil { t.Fatalf("failed to upload dummy image: %+v\n", err) } vmResp, err := client.AddVirtualMachine(ctx, &pb.AddVirtualMachineRequest{ Name: "test001", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, EuropaBackendName: testEuropaBackendName, }) if err != nil { t.Fatalf("failed to add test virtual machine: %+v\n", err) } bridgeResp, err := client.CreateBridge(ctx, &pb.CreateBridgeRequest{ Name: "testbr1000", VlanId: 1000, }) if err != nil { t.Fatalf("failed to create test bridge: %+v", err) } subnetResp, err := client.CreateSubnet(ctx, &pb.CreateSubnetRequest{ Name: "testsubnet1000", Network: "192.0.2.0/24", VlanId: 1000, Start: "192.0.2.100", End: "192.0.2.200", Gateway: "192.0.2.1", DnsServer: "8.8.8.8", MetadataServer: "192.0.2.15", }) if err != nil { t.Fatalf("failed to create test subnet: %+v", err) } addressResp, err := client.CreateAddress(ctx, &pb.CreateAddressRequest{ SubnetId: subnetResp.Subnet.Uuid, }) if err != nil { t.Fatalf("failed to create test address: %+v", err) } leaseResp, err := client.CreateLease(ctx, &pb.CreateLeaseRequest{ AddressId: addressResp.Address.Uuid, }) if err != nil { t.Fatalf("failed to create test lease: %+v", err) } attachResp, err := client.AttachInterface(ctx, &pb.AttachInterfaceRequest{ VirtualMachineId: vmResp.Uuid, BridgeId: bridgeResp.Bridge.Uuid, Average: 1 * 1024 * 1024, Name: "vnet0", LeaseId: leaseResp.Lease.Uuid, }) if err != nil { t.Fatalf("failed to attach test interface: %+v", err) } tests := []struct { input *pb.DetachInterfaceRequest want *pb.DetachInterfaceResponse err bool }{ { input: &pb.DetachInterfaceRequest{ AtttachmentId: attachResp.InterfaceAttachment.Uuid, }, want: &pb.DetachInterfaceResponse{}, err: false, }, } for _, test := range tests { got, err := client.DetachInterface(ctx, test.input) if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_GetAttachment(t *testing.T) { hypervisorName, teardownTeleskop, err := setupTeleskop(nil) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() imageResp, err := uploadDummyImage(ctx, client) if err != nil { t.Fatalf("failed to upload dummy image: %+v\n", err) } vmResp, err := client.AddVirtualMachine(ctx, &pb.AddVirtualMachineRequest{ Name: "test001", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, EuropaBackendName: testEuropaBackendName, }) if err != nil { t.Fatalf("failed to add test virtual machine: %+v\n", err) } bridgeResp, err := client.CreateBridge(ctx, &pb.CreateBridgeRequest{ Name: "testbr1000", VlanId: 1000, }) if err != nil { t.Fatalf("failed to create test bridge: %+v", err) } subnetResp, err := client.CreateSubnet(ctx, &pb.CreateSubnetRequest{ Name: "testsubnet1000", Network: "192.0.2.0/24", VlanId: 1000, Start: "192.0.2.100", End: "192.0.2.200", Gateway: "192.0.2.1", DnsServer: "8.8.8.8", MetadataServer: "192.0.2.15", }) if err != nil { t.Fatalf("failed to create test subnet: %+v", err) } addressResp, err := client.CreateAddress(ctx, &pb.CreateAddressRequest{ SubnetId: subnetResp.Subnet.Uuid, }) if err != nil { t.Fatalf("failed to create test address: %+v", err) } leaseResp, err := client.CreateLease(ctx, &pb.CreateLeaseRequest{ AddressId: addressResp.Address.Uuid, }) if err != nil { t.Fatalf("failed to create test lease: %+v", err) } attachResp, err := client.AttachInterface(ctx, &pb.AttachInterfaceRequest{ VirtualMachineId: vmResp.Uuid, BridgeId: bridgeResp.Bridge.Uuid, Average: 1 * 1024 * 1024, Name: "vnet0", LeaseId: leaseResp.Lease.Uuid, }) if err != nil { t.Fatalf("failed to attach test interface: %+v", err) } tests := []struct { input *pb.GetAttachmentRequest want *pb.GetAttachmentResponse err bool }{ { input: &pb.GetAttachmentRequest{ AttachmentId: attachResp.InterfaceAttachment.Uuid, }, want: &pb.GetAttachmentResponse{ InterfaceAttachment: attachResp.InterfaceAttachment, }, err: false, }, } for _, test := range tests { got, err := client.GetAttachment(ctx, test.input) if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_ListAttachment(t *testing.T) { hypervisorName, teardownTeleskop, err := setupTeleskop(nil) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() ctx, client, teardown := getSatelitClient() defer teardown() imageResp, err := uploadDummyImage(ctx, client) if err != nil { t.Fatalf("failed to upload dummy image: %+v\n", err) } vmResp, err := client.AddVirtualMachine(ctx, &pb.AddVirtualMachineRequest{ Name: "test001", Vcpus: 1, MemoryKib: 1 * 1024 * 1024, RootVolumeGb: 10, SourceImageId: imageResp.Image.Id, HypervisorName: hypervisorName, EuropaBackendName: testEuropaBackendName, }) if err != nil { t.Fatalf("failed to add test virtual machine: %+v\n", err) } bridgeResp, err := client.CreateBridge(ctx, &pb.CreateBridgeRequest{ Name: "testbr1000", VlanId: 1000, }) if err != nil { t.Fatalf("failed to create test bridge: %+v", err) } subnetResp, err := client.CreateSubnet(ctx, &pb.CreateSubnetRequest{ Name: "testsubnet1000", Network: "192.0.2.0/24", VlanId: 1000, Start: "192.0.2.100", End: "192.0.2.200", Gateway: "192.0.2.1", DnsServer: "8.8.8.8", MetadataServer: "192.0.2.15", }) if err != nil { t.Fatalf("failed to create test subnet: %+v", err) } addressResp, err := client.CreateAddress(ctx, &pb.CreateAddressRequest{ SubnetId: subnetResp.Subnet.Uuid, }) if err != nil { t.Fatalf("failed to create test address: %+v", err) } leaseResp, err := client.CreateLease(ctx, &pb.CreateLeaseRequest{ AddressId: addressResp.Address.Uuid, }) if err != nil { t.Fatalf("failed to create test lease: %+v", err) } attachResp, err := client.AttachInterface(ctx, &pb.AttachInterfaceRequest{ VirtualMachineId: vmResp.Uuid, BridgeId: bridgeResp.Bridge.Uuid, Average: 1 * 1024 * 1024, Name: "vnet0", LeaseId: leaseResp.Lease.Uuid, }) if err != nil { t.Fatalf("failed to attach test interface: %+v", err) } tests := []struct { input *pb.ListAttachmentRequest want *pb.ListAttachmentResponse err bool }{ { input: &pb.ListAttachmentRequest{}, want: &pb.ListAttachmentResponse{ InterfaceAttachments: []*pb.InterfaceAttachment{ attachResp.InterfaceAttachment, }, }, err: false, }, } for _, test := range tests { got, err := client.ListAttachment(ctx, test.input) if !test.err && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } if test.err && err == nil { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_AddCPUPinningGroup(t *testing.T) { ctx, client, teardown := getSatelitClient() defer teardown() nodes := getDummyNodes() hypervisorName, teardownTeleskop, err := setupTeleskop(nodes) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() tests := []struct { input *pb.AddCPUPinningGroupRequest want *pb.AddCPUPinningGroupResponse errCode codes.Code }{ { input: &pb.AddCPUPinningGroupRequest{ Name: "testgroup", CountOfCore: 2, HypervisorName: hypervisorName, }, want: &pb.AddCPUPinningGroupResponse{CpuPinningGroup: &pb.CPUPinningGroup{ Uuid: "", Name: "testgroup", CountOfCore: 2, }}, errCode: codes.OK, }, { input: &pb.AddCPUPinningGroupRequest{ Name: "not_multiple_of_two_group", CountOfCore: 3, HypervisorName: hypervisorName, }, want: nil, errCode: codes.InvalidArgument, }, } for _, test := range tests { got, err := client.AddCPUPinningGroup(ctx, test.input) if got != nil { test.want.CpuPinningGroup.Uuid = got.CpuPinningGroup.Uuid } if test.errCode == 0 && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } s, ok := status.FromError(err) if test.errCode != 0 && ok && s.Code() != test.errCode { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_ShowCPUPinningGroup(t *testing.T) { ctx, client, teardown := getSatelitClient() defer teardown() nodes := getDummyNodes() hypervisorName, teardownTeleskop, err := setupTeleskop(nodes) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() resp, err := client.AddCPUPinningGroup(ctx, &pb.AddCPUPinningGroupRequest{ Name: "testgroup", CountOfCore: 4, HypervisorName: hypervisorName, }) if err != nil { t.Fatalf("failed to addCPUPinningGroup: %+v", err) } tests := []struct { input *pb.ShowCPUPinningGroupRequest want *pb.ShowCPUPinningGroupResponse errCode codes.Code }{ { input: &pb.ShowCPUPinningGroupRequest{ Uuid: resp.CpuPinningGroup.Uuid, }, want: &pb.ShowCPUPinningGroupResponse{ CpuPinningGroup: &pb.CPUPinningGroup{ Uuid: resp.CpuPinningGroup.Uuid, Name: "testgroup", CountOfCore: 4, }, }, errCode: codes.OK, }, } for _, test := range tests { got, err := client.ShowCPUPinningGroup(ctx, test.input) if test.errCode == 0 && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } s, ok := status.FromError(err) if test.errCode != 0 && ok && s.Code() != test.errCode { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func TestSatelitServer_DeleteCPUPinningGroup(t *testing.T) { ctx, client, teardown := getSatelitClient() defer teardown() nodes := getDummyNodes() hypervisorName, teardownTeleskop, err := setupTeleskop(nodes) if err != nil { t.Fatalf("failed to get teleskop endpoint %+v\n", err) } defer teardownTeleskop() resp, err := client.AddCPUPinningGroup(ctx, &pb.AddCPUPinningGroupRequest{ Name: "testgroup", CountOfCore: 4, HypervisorName: hypervisorName, }) if err != nil { t.Fatalf("failed to addCPUPinningGroup: %+v", err) } tests := []struct { input *pb.DeleteCPUPinningGroupRequest want *pb.DeleteCPUPinningGroupResponse errCode codes.Code }{ { input: &pb.DeleteCPUPinningGroupRequest{ Uuid: resp.CpuPinningGroup.Uuid, }, want: &pb.DeleteCPUPinningGroupResponse{}, errCode: codes.OK, }, } for _, test := range tests { got, err := client.DeleteCPUPinningGroup(ctx, test.input) if test.errCode == 0 && err != nil { t.Fatalf("should not be error for %+v but: %+v", test.input, err) } s, ok := status.FromError(err) if test.errCode != 0 && ok && s.Code() != test.errCode { t.Fatalf("should be error for %+v but not:", test.input) } if diff := deep.Equal(test.want, got); len(diff) != 0 { t.Fatalf("want %q, but %q, diff %q:", test.want, got, diff) } } } func getDummyNodes() []ganymede.NUMANode { var ( testNUMANodeUUID = "162b42f5-2eea-4fd1-b57b-c598db69fb4a" testCorePairUUIDs = []uuid.UUID{ uuid.FromStringOrNil("9cf11645-ec85-4607-b638-cd592819bbae"), uuid.FromStringOrNil("25b403a9-cdd7-4176-8d44-c922220bdcb8"), uuid.FromStringOrNil("2cc61359-8912-4187-aadc-8692574b1b52"), uuid.FromStringOrNil("e77523a3-fef0-4864-b24f-4f9579a65eed"), } ) var cps []ganymede.CorePair for i, u := range testCorePairUUIDs { l := int32(len(testCorePairUUIDs) + i) ll := sql.NullInt32{ Int32: l, Valid: true, } cp := ganymede.CorePair{ UUID: u, PhysicalCore: uint32(i), LogicalCore: ll, NUMANodeID: uuid.FromStringOrNil(testNUMANodeUUID), } cps = append(cps, cp) } nodes := []ganymede.NUMANode{ { UUID: uuid.FromStringOrNil(testNUMANodeUUID), CorePairs: cps, PhysicalCoreMin: 0, PhysicalCoreMax: 3, LogicalCoreMin: sql.NullInt32{ Int32: 4, Valid: true, }, LogicalCoreMax: sql.NullInt32{ Int32: 8, Valid: true, }, }, } return nodes }
<gh_stars>1-10 import { AngularFireAuth } from 'angularfire2/auth'; import { AngularFireDatabase } from 'angularfire2/database'; import { Observable } from 'rxjs/Rx'; import { Injectable } from '@angular/core'; @Injectable() export class HelloWorldService { authState: any = null; constructor( private afAuth: AngularFireAuth, private db: AngularFireDatabase ) { this.afAuth.authState.subscribe((auth) => { this.authState = auth }); } signIn(loginForm: any): Observable<any>{ let email = loginForm.email; let password = loginForm.password; return Observable.fromPromise(this.afAuth.auth.signInWithEmailAndPassword(email, password)); } signUp(signUpForm: any): Observable<any>{ let email = signUpForm.email; let password = <PASSWORD>; return Observable.fromPromise(this.afAuth.auth.createUserWithEmailAndPassword(email, password)); } signOut() { return Observable.fromPromise(this.afAuth.auth.signOut()); } get authenticated(): boolean { return this.authState !== null; } getData(){ return Observable.fromPromise(this.db.database.ref('teste').once('value')); } sendData(data: any){ return Observable.fromPromise(this.db.database.ref('teste').push(data)); } }
Law of bounded dissipation and its consequences in turbulent wall flows Abstract The dominant paradigm in turbulent wall flows is that the mean velocity near the wall, when scaled on wall variables, is independent of the friction Reynolds number $Re_\tau$. This paradigm faces challenges when applied to fluctuations but has received serious attention only recently. Here, by extending our earlier work (Chen & Sreenivasan, J. Fluid Mech., vol. 908, 2021, p. R3) we present a promising perspective, and support it with data, that fluctuations displaying non-zero wall values, or near-wall peaks, are bounded for large values of $Re_\tau$, owing to the natural constraint that the dissipation rate is bounded. Specifically, $\varPhi _\infty - \varPhi = C_\varPhi \,Re_\tau ^{-1/4},$ where $\varPhi$ represents the maximum value of any of the following quantities: energy dissipation rate, turbulent diffusion, fluctuations of pressure, streamwise and spanwise velocities, squares of vorticity components, and the wall values of pressure and shear stresses; the subscript $\infty$ denotes the bounded asymptotic value of $\varPhi$, and the coefficient $C_\varPhi$ depends on $\varPhi$ but not on $Re_\tau$. Moreover, there exists a scaling law for the maximum value in the wall-normal direction of high-order moments, of the form $\langle \varphi ^{2q}\rangle ^{{1}/{q}}_{max}= \alpha _q-\beta _q\,Re^{-1/4}_\tau$, where $\varphi$ represents the streamwise or spanwise velocity fluctuation, and $\alpha _q$ and $\beta _q$ are independent of $Re_\tau$. Excellent agreement with available data is observed. A stochastic process for which the random variable has the form just mentioned, referred to here as the ‘linear $q$-norm Gaussian’, is proposed to explain the observed linear dependence of $\alpha _q$ on $q$.
def fetch(config, engine, index, q, restricted=None): if len(q) != index.schema.arity: raise ValueError(f'Arity mismatch for index schema "{index.schema}"') return _run_query(config, engine, index, q, restricted)
<filename>psltdsim/plot/__init__.py #import sys #if sys.version_info[0] > 2: # import matplotlib.pyplot as plt # The above doesn't seem to perform as desired, as a result # each function handles own import of matplotlib... from .sysPePmF import sysPePmF from .sysPePmFLoad import sysPePmFLoad from .sysPQVF import sysPQVF from .sysPLQF import sysPLQF from .sysVmVa import sysVmVa from .sysLoad import sysLoad from .sysPQgen import sysPQgen from .allGenDynamics import allGenDynamics from .oneGenDynamics import oneGenDynamics from .sysPemLQF import sysPemLQF from .BAplots01 import BAplots01 from .BAplots02 import BAplots02 from .BAplots02detail import BAplots02detail from .BAgovU import BAgovU from .ValveTravel import ValveTravel from .ValveTravel00 import ValveTravel00 from .ValveTravel01 import ValveTravel01 from .AreaLosses import AreaLosses from .SACE import SACE from .ACE2dist import ACE2dist from .sysF import sysF from .Pload import Pload from .PloadIEEE import PloadIEEE from .sysFcomp import sysFcomp from .genDynamicsComp import genDynamicsComp from .AreaRunningValveTravel import AreaRunningValveTravel from .BAALtest import BAALtest from .branchMW import branchMW from .branchMW2 import branchMW2 from .branchMW3 import branchMW3 from .AreaPLoad import AreaPLoad from .AreaPe import AreaPe from .AreaPm import AreaPm from .sysShunt import sysShunt from .branchMVAR import branchMVAR from .sysBranchMVAR import sysBranchMVAR from .sysShuntV import sysShuntV from .sysShuntMVAR import sysShuntMVAR from .sysPePmFLoad2 import sysPePmFLoad2 from .sysH import sysH from .sysVmVAR import sysVmVAR from .sysFcomp2 import sysFcomp2 from .sysPgenComp import sysPgenComp from .sysPmComp import sysPmComp from .sysPeComp import sysPeComp from .sysPe import sysPe from .areaPL import areaPL from .PloadIEEE2 import PloadIEEE2 from .genDynamicsComp2 import genDynamicsComp2
import { useEffect } from "react"; import { useToggle } from "@react-md/utils"; const TEN_SECONDS = 10000; interface ReturnValue { toggle: () => void; toggled: boolean; disable: () => void; } export default function useTemporaryToggle( duration: number = TEN_SECONDS ): ReturnValue { const [toggled, , disable, toggle] = useToggle(false); useEffect(() => { let timeout: number | undefined = window.setTimeout(() => { timeout = undefined; disable(); }, duration); return () => window.clearTimeout(timeout); }, [toggled, disable, duration]); return { toggle, toggled, disable }; }
import * as React from 'react'; import styles from '../GraphApiWebpartSimpleExample.module.scss'; import { IGraphApiWebpartSimpleExampleProps } from './IGraphApiWebpartSimpleExampleProps'; import { Environment, EnvironmentType } from '@microsoft/sp-core-library'; import { MSGraphClient } from "@microsoft/sp-http"; import { IGraphApiWebpartSimpleExampleState } from './IGraphApiWebpartSimpleExampleState'; import ISPListItem from "../../../model/ISPListItem"; import { DefaultButton, DetailsList, DetailsListLayoutMode, Selection } from 'office-ui-fabric-react'; export default class GraphApiWebpartSimpleExample extends React.Component<IGraphApiWebpartSimpleExampleProps, IGraphApiWebpartSimpleExampleState> { private _selection: Selection; constructor(props) { super(props); let columns = []; columns.push({ key: 'Id', name: 'Id', fieldName: 'Id', minWidth: 100, maxWidth: 200, isResizable: true }); columns.push({ key: 'Title', name: 'Title', fieldName: 'Title', minWidth: 100, maxWidth: 200, isResizable: true }); this.state = { userDisplayName: "", client: null, listName: "testListWithSomeData", columns, listItems: [] }; } private _IsWorkbench(): boolean { if (Environment.type == EnvironmentType.Local) return true; return false; } private _GetListItemsWithGraphApi = () =>{ if (this.state.client){ this.state.client .api(`sites('${this.props.context.pageContext.site.id}')/lists('${this.state.listName}')/items?expand=fields`) .version("v1.0") .get((err, res) => { if (err) { console.error(err); return; } let listItems:ISPListItem[] = []; res.value.map((item: any) => { listItems.push( { Id: item.id, Title: item.fields.Title }); }); this.setState({ listItems }); }); } } private _DeleteListItem = () =>{ if (this.state.client){ this.state.client .api(`sites('${this.props.context.pageContext.site.id}')/lists('${this.state.listName}')/items?expand=fields`) .version("v1.0") .get((err, res) => { if (err) { console.error(err); return; } let id = res.value[res.value.length - 1].id; this.state.client .api(`sites('${this.props.context.pageContext.site.id}')/lists('${this.state.listName}')/items/${id}`) .version("v1.0") .delete((err, res) => { if (err) { console.error(err); return; } this._GetListItemsWithGraphApi(); }); }); } } private _AddListItem = () =>{ if (this.state.client){ let item = { "fields": { "Title": "New Item" } }; this.state.client .api(`sites('${this.props.context.pageContext.site.id}')/lists('${this.state.listName}')/items`) .version("v1.0") .post(item, (err, res, success) => { if (err) { console.error(err); return; } if (success) this._GetListItemsWithGraphApi(); }); } } public componentDidMount(){ if (!this._IsWorkbench()){ this.props.context.msGraphClientFactory .getClient() .then((client: MSGraphClient): void => { this.setState({ client }); client .api('/me') .get((error, response: any, rawResponse?: any) => { this.setState({ userDisplayName: response.displayName }); }); }); } } public render(): React.ReactElement<IGraphApiWebpartSimpleExampleProps> { const { listItems, columns, userDisplayName } = this.state; return ( <div className={ styles.graphApiWebpartSimpleExample }> <div className={ styles.container }> <div className={ styles.row }> <div className={ styles.column }> <p className={ styles.title }>Hi { userDisplayName }</p> <p className={ styles.subTitle }>Graph Api Webpart Test</p> </div> </div> <div className={ styles.row }> <div className={ styles.column }> <DefaultButton text="_GetListItemsWithGraphApi()" onClick={this._GetListItemsWithGraphApi} allowDisabledFocus/> <DefaultButton text="_AddListItem()" onClick={this._AddListItem} allowDisabledFocus/> <DefaultButton text="_DeleteListItem()" onClick={this._DeleteListItem} allowDisabledFocus/> </div> </div> <div className={ styles.row }> <div className={ styles.column }> <DetailsList items={listItems} columns={columns} setKey="set" layoutMode={DetailsListLayoutMode.justified} selection={this._selection} selectionPreservedOnEmptyClick={true} ariaLabelForSelectionColumn="Toggle selection" ariaLabelForSelectAllCheckbox="Toggle selection for all items" checkButtonAriaLabel="Row checkbox" /> </div> </div> </div> </div> ); } }
def rpc_to_json(rpc_message): return json.loads(protojson.encode_message(rpc_message))
/** * Resets the configuration if two requests are made during 5s * After reset the unit will reboot */ void funcResetConfirmTimeout() { static unsigned long lastRequest = 0; if (!lastRequest) { Serial1.println("Config: Reset timer first call"); lastRequest = millis(); return; } if (millis() - lastRequest > 5000) { Serial1.println("Config: Reset timer updated"); lastRequest = millis(); return; } Serial1.println("Config: Resetting device"); s_config.remove(); WiFiManager wifiManager; wifiManager.resetSettings(); delay(3000); ESP.restart(); delay(5000); }
<commit_msg>Add suppressing warnings for preferences activity. Change-Id: I7808e8bbc080b65017dc273e423db51c9151d9f7 <commit_before>/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.libreoffice.impressremote.activity; import android.os.Bundle; import com.actionbarsherlock.app.SherlockPreferenceActivity; import com.actionbarsherlock.view.MenuItem; import org.libreoffice.impressremote.R; public class SettingsActivity extends SherlockPreferenceActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setUpHomeButton(); setUpPreferences(); } private void setUpHomeButton() { getSupportActionBar().setHomeButtonEnabled(true); } private void setUpPreferences() { // This action is deprecated // but we still need to target pre-Honeycomb devices addPreferencesFromResource(R.xml.preferences); } @Override public boolean onOptionsItemSelected(MenuItem aMenuItem) { switch (aMenuItem.getItemId()) { case android.R.id.home: navigateUp(); return true; default: return super.onOptionsItemSelected(aMenuItem); } } private void navigateUp() { finish(); } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ <commit_after>/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.libreoffice.impressremote.activity; import android.os.Bundle; import com.actionbarsherlock.app.SherlockPreferenceActivity; import com.actionbarsherlock.view.MenuItem; import org.libreoffice.impressremote.R; public class SettingsActivity extends SherlockPreferenceActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setUpHomeButton(); setUpPreferences(); } private void setUpHomeButton() { getSupportActionBar().setHomeButtonEnabled(true); } @SuppressWarnings("deprecation") private void setUpPreferences() { // This action is deprecated // but we still need to target pre-Honeycomb devices. addPreferencesFromResource(R.xml.preferences); } @Override public boolean onOptionsItemSelected(MenuItem aMenuItem) { switch (aMenuItem.getItemId()) { case android.R.id.home: navigateUp(); return true; default: return super.onOptionsItemSelected(aMenuItem); } } private void navigateUp() { finish(); } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
<filename>src/kv.cpp #include <kv.hpp> void kv::set(const name &owner, const name &key, const string &value, const string &notes) { require_auth(owner); kv_table kv_t(get_self(), get_self().value); if (exists(owner, key)) { auto kv_itr = kv_t.find(get_id(owner, key)); // paranoid programming require_auth(kv_itr->owner); check(owner == kv_itr->owner, "FATAL: Owner on key [" + kv_itr->owner.to_string() + "] does not match parameterized owner [" + owner.to_string() + "]"); kv_t.modify(kv_itr, get_self(), [&](auto &k) { k.value = value; k.notes = notes; }); } else { kv_t.emplace(get_self(), [&](auto &k) { k.id = kv_t.available_primary_key(); k.owner = owner; k.key = key; k.value = value; k.notes = notes; }); } } void kv::erase(const name &owner, const name &key) { require_auth(owner); kv_table kv_t(get_self(), get_self().value); kv_t.erase(kv_t.find(get_id(owner, key))); }
/** * Configures the operation tests for Drools. * * @author Sizonenko * @author El-Sharkawy */ public class GeneratedStats extends AbstractTest { /** * Creating a test instance. * * @param descriptor the test descriptor */ protected GeneratedStats(ITestDescriptor descriptor) { super(descriptor, "ssePerformance"); } /** * Tests Boolean 1 to 3 ratio. */ @Test public void gr11() { reasoningTest("gr1_1_v100_c300_b_l2_0.ivml", 150); reasoningTest("gr1_1_v100_c300_b_l2_0.ivml", 150); reasoningTest("gr1_1_v300_c900_b_l2_0.ivml", 438); reasoningTest("gr1_1_v500_c1500_b_l2_0.ivml", 726); reasoningTest("gr1_1_v1000_c3000_b_l2_0.ivml", 1518); reasoningTest("gr1_1_v1500_c4500_b_l2_0.ivml", 2236); } /** * Tests Boolean 1 to 1 ratio. */ @Test public void gr12() { reasoningTest("gr1_2_v100_c100_b_l2_0.ivml", 46); reasoningTest("gr1_2_v100_c100_b_l2_0.ivml", 46); reasoningTest("gr1_2_v300_c300_b_l2_0.ivml", 124); reasoningTest("gr1_2_v500_c500_b_l2_0.ivml", 266); reasoningTest("gr1_2_v1000_c1000_b_l2_0.ivml", 504); reasoningTest("gr1_2_v1500_c1500_b_l2_0.ivml", 739); } }
<reponame>ernasauer/zombiespbbg import { FrameworkConfiguration } from 'aurelia-framework'; import { Config } from 'aurelia-api'; import { PersistenceUnit } from './persistence-unit'; import { PersistenceConfiguration } from './persistence-configuration'; /** * Persistence feature configuration * * @export * @param {FrameworkConfiguration} frameworkConfig * @param {function} [callback] */ export function configure(frameworkConfig: FrameworkConfiguration, callback?: (persistenceConfiguration: PersistenceConfiguration) => void): void { const persistenceConfiguration: PersistenceConfiguration = frameworkConfig.container.get(PersistenceConfiguration); // configure feature if (callback !== undefined && typeof callback === 'function') { callback(persistenceConfiguration); } else { persistenceConfiguration.client = frameworkConfig.container.get(Config).getEndpoint(); } } export { PersistenceUnit } from './persistence-unit'; export { EntityManagerFactory } from './entity-manager-factory'; export { EntityManager } from './entity-manager'; export { Entity } from './entity'; export { hasOne } from './decorator/has-one'; export { resource } from './decorator/resource';
<filename>src/Components/Organisms/DataTable/Common/FakeComponents/FakeColumns.tsx import React, { ReactElement } from 'react'; import { IColumnAmount, IColumnBadge, IColumnButton, IColumnCheckbox, IColumnCode, IColumnCustom, IColumnDate, IColumnDescription, IColumnDynamicSearch, IColumnFile, IColumnMultiSelect, IColumnNumber, IColumnPercentage, IColumnRichText, IColumnSection, IColumnSwitch, IColumnTable, IColumnText, IColumnTextArea, IColumnYear, } from '../types'; export const FakeColumnAmount = <T,>(props: IColumnAmount<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnBadge = <T,>(props: IColumnBadge<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnButton = <T,>(props: IColumnButton<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnCheckbox = <T,>(props: IColumnCheckbox<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnCode = <T,>(props: IColumnCode<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnCustom = <T,>(props: IColumnCustom<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnDescription = <T,>(props: IColumnDescription<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnDate = <T,>(props: IColumnDate<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnDynamicSearch = <T,>(props: IColumnDynamicSearch<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnFile = <T,>(props: IColumnFile<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnMultiSelect = <T,>(props: IColumnMultiSelect<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnNumber = <T,>(props: IColumnNumber<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnPercentage = <T,>(props: IColumnPercentage<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnRichText = <T,>(props: IColumnRichText<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnSection = <T,>(props: IColumnSection<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnSwitch = <T,>(props: IColumnSwitch<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnTable = <T, U>(props: IColumnTable<T, U>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnText = <T,>(props: IColumnText<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnTextArea = <T,>(props: IColumnTextArea<T>): ReactElement => { return <>{JSON.stringify(props)}</>; }; export const FakeColumnYear = <T,>(props: IColumnYear<T>): ReactElement => { return <>{JSON.stringify(props)}</>; };
{-# LANGUAGE OverloadedStrings #-} module Chainweb.Api.ChainTip where ------------------------------------------------------------------------------ import Data.Aeson import Data.Text (Text) ------------------------------------------------------------------------------ data ChainTip = ChainTip { _tipHeight :: Int , _tipHash :: Text } deriving (Eq,Ord,Show) instance FromJSON ChainTip where parseJSON = withObject "ChainTip" $ \o -> ChainTip <$> o .: "height" <*> o .: "hash"
When Tertium Organum burst onto the New York literary scene its author, P. D. Ouspensky, was unaware of it. Piotr Demianovich Ouspensky, the most famous pupil of Greco-Armenian spiritual teacher George Ivanovitch Gurdjieff, had written Kluck Kzaradkam (the original title) in his native Russian and it had been published in St. Petersburg in 1912. At the time of its New York debut his whereabouts were unknown. A Russian by the name of Nicholas Bessarabof had emigrated to America before the 1917 Russian Revolution and had taken the book with him. He gave a copy to architect Claude Bragdon who could read Russian and was interested in forth-dimensional consciousness. After reading the book a friend echoed Bragdons' sentiments saying; "He has recently discovered a young Russian who "seems to us remarkable in many ways." The man has introduced him to Ouspensky and his book on the fourth dimension called Tertium Organum. Bragdon believes this book to be the "long sought New Testament of the Sixth Race which will justify the meekness of the saint, the vision of the mystic, and create a new heaven and a new earth." He is currently collaborating with Bessarabof on an English translation." In 1920 without Ouspensky's knowledge, Bragdon and Bessarabof published the book in English through Manas Press in New York. Meanwhile Ouspensky, a journalist and destitute author, had arrived in Constantinople with hardly a penny to his name. Later that year he was gratified to receive a substantial royalty check, and the news that Tertium Organum was a publishing success in English, and that his fame in literary circles was assured. In 1921 he wrote, "This translation, made without my knowledge and participation, at a time when I was cut off by war and revolution from the civilized world, transmits my thought so exactly that after a very attentive review of the book I could find only one word to correct. Such a result could be achieved only because Mr. Bessarabof and Mr. Bragdon were not translating words merely, but were grasping directly my thoughts at the back of them." In May 1921 Ouspensky received the sum of £100 from Lady Rothermere who was in Rochester, New York; it was wired with the message: 'Deeply impressed by your book Tertium Organum — wish to meet you in New York or London — will pay all expenses.' This invitation gave Ouspensky the opportunity to move to England where he secured Gurdjieff's permission to write a book on his philosophy. Ouspensky spent the next twenty years in England lecturing and teaching Gurdjieff's ideas and developing his own philosophy. His lectures in London were attended by such literary figures as Aldous Huxley, T. S. Eliot, and other writers, journalists and doctors. His influence on the literary scene of the 1920's and 1930's as well as on the Russian avant-garde was huge but today he is not widely known. TERTIUM ORGANUM **Tertium Organum** White Crow Books is an imprint of White Crow Productions Ltd PO Box 1013 Guildford GU1 9EJ www.whitecrowbooks.com This edition copyright © 2011 White Crow Books All rights reserved. Unauthorized reproduction, in any manner, is prohibited. Text design and eBook production by Essential Works www.essentialworks.co.uk Hardback ISBN 978-1-907-661-49-5 Paperback ISBN 978-1-907-661-47-1 eBook ISBN 978-1-907-661-48-8 Philosophy / Spiritual Distributed in the UK by Lightning Source Ltd. Chapter House Pitfield Kiln Farm Milton Keynes MK11 3LW Distributed in the USA by Lightning Source Inc. 246 Heil Quaker Boulevard LaVergne Tennessee 37086 **TERTIUM ORGANUM** The Third Canon of Thought A Key to the Enigmas of the World **P. D. OUSPENSKY** Translated from the Russian by Nicholas Bessaraboff and Claude Bragdon Introduction by Claude Bragdon The Mystery of Space and Time – Shadows and Reality – Occultism and Love – Animated Nature – Voices of the Stones – Mathematics of the Infinite – The Logic of Ecstasy – Mystical Theosophy Cosmic Consciousness – The New Morality – Birth of the Superman "And swear... that there should be time no longer." REVELATIONS 10: 6 "That ye, being rooted and grounded in love may be able to comprehend with all _saints_ what is the breadth and length and depth and height." Paul the Apostle, EPISTLE TO THE EPHESIANS 3: 18 # CONTENTS Author's Preface to the Second Edition Introduction to the English translation **Chapter 1** What do we know and what do we not know? Our data, and the things for which we seek. The unknown mistaken for the known. Matter and motion. What does the positive philosophy come to? Identity of the unknown: x=y, y=x. What we really know. The existence of consciousness in us, and of the world outside of us. Dualism or monism? Subjective and objective knowledge. Where do the causes of the sensations lie? Kant's system. Time and Space. Kant and the "ether." Mach's observation. With what does the physicist really deal? **Chapter 2** A new view of the Kantian problem. The books of Hinton. The "space-sense" and its evolution. A system for the development of a sense of the fourth dimension by exercises with colored cubes. The geometrical conception of space. Three perpendiculars – why three? Can everything existing be measured by three perpendiculars? The indices of existence. Reality of ideas. Insufficient evidence of the existence of matter and motion. Matter and motion are only logical concepts, like "good" and "evil." **Chapter 3** What may we learn about the fourth dimension by a study of the geometrical relations within our space? What should be the relation between a three-dimensional body and one of four dimensions? The four-dimensional body as the tracing of the movement of a three-dimensional body in the direction which is not confined within it. A four-dimensional body as containing an infinite number of three-dimensional bodies. A three dimensional body as a section of a four-dimensional one. Parts of bodies and entire bodies in three and in four dimensions. The incommensurability of a three-dimensional and a four-dimensional body. A material atom as a section of a four-dimensional line. **Chapter 4** In what direction may the fourth dimension lie? What is motion? Two kinds of motion – motion in space and motion in time – which are contained in every movement. What is time? Two ideas contained in the conception of time. The new dimension of space, and motion upon that dimension. Time as the fourth dimension of space. Impossibility of understanding the fourth dimension without the idea of motion. The idea of motion and the "time-sense." The time sense as a limit (surface) of the "space-sense." Hinton on the law of surfaces. The "ether" as a surface. Riemann's idea concerning the translation of time into space in the fourth dimension. Present, past, and future. Why do we not see the past and the future? Life as a feeling of one's way. Wundt on the subject of our sensuous knowledge. **Chapter 5** Four-dimensional space. "Temporal body" – Linga Sharīra. The form of a human body from birth to death. Incommensurability of three-dimensional and four-dimensional bodies. Newton's fluents. The unreality of constant quantities in our world. The right and left hands in three-dimensional and in four dimensional space. Difference between three-dimensional and four-dimensional space. Not two different spaces but different methods of receptivity of one and the same world **Chapter 6** Methods of investigation of the problem of higher dimensions. The analogy between imaginary worlds of different dimensions. The one-dimensional world on a line. "Space" and "time" of a one-dimensional being. The two-dimensional world on a plane. "Space" and "time," "ether," "matter," and "motion" of a two-dimensional being. Reality and illusion on a plane. The impossibility of seeing an "angle." An angle as motion. The incomprehensibility to a two-dimensional being of the functions of things in our world. Phenomena and noumena of a two-dimensional being. How could a plane being comprehend the third dimension? **Chapter 7** The impossibility of the mathematical definition of dimensions. Why doesn't mathematics sense dimensions? The entire conditionality of the representation of dimensions by powers. The possibility of representing all powers on a line. Kant and Lobachevsky. The difference between non-Euclidian geometry and metageometry. Where shall we find the explanation of the three-dimensionality of the world, if Kant's ideas are true? Are not the conditions of the three-dimensionality of the world confined to our receptive apparatus, to our psyche? **Chapter 8** Our receptive apparatus. Sensation. Perception. Conception. Intuition. Art as the language of the future. To what extent does the three-dimensionality of the world depend upon the properties of our receptive apparatus? What might prove this interdependence? Where may we find the real affirmation of this interdependence? The animal psyche. In what does it differ from the human? Reflex action. The irritability of the cell. Instinct. Pleasure-pain. Emotional thinking. The absence of concepts. Language of animals. Logic of animals. Different degrees of psychic development in animals. The goose, the cat, the dog and the monkey. **Chapter 9** The receptivity of the world by a man and by an animal. Illusions of the animal and its lack of control of the receptive faculties. The world of moving planes. Angles and curves considered as motion. The third dimension as motion. The animal's two-dimensional view of our three-dimensional world. The animal as a real two-dimensional being. Lower animals as one-dimensional beings. The time and space of a snail. The time-sense as an imperfect space-sense. The time and space of a dog. The change in the world coincident with a change in the psychic apparatus. The proof of Kant's problem. The three-dimensional world – an illusionary perception. **Chapter 10** The spatial understanding of time. The angles and curves of the fourth dimension in our life. Does motion exist in the world or not? Mechanical motion and "life." Biological phenomena as the manifestation of motions going on in the higher dimension. Evolution of the space-sense. The growth of the space-sense and the diminution of the time-sense. The transformation of the time-sense into the space-sense. The difficulties of our language and of our concepts. The necessity for seeking a method of spatial expression for temporal concepts. Science in relation to the fourth dimension. The solid of four dimensions. The four-dimensional sphere. **Chapter 11** Science and the problem of the fourth dimension. The address of Prof. N. A. Oumoff before the Mendeleevskian Convention in 1911 – "The Characteristic Traits and Problems of Contemporary Scientific Thought." The new physics. The electromagnetic theory. The principle of relativity. The works of Einstein and Minkowsky. Simultaneous existence of the past and the future. The Eternal Now. Van Manen's book about occult experiences. The drawing of a four-dimensional figure. **Chapter 12** Analysis of phenomena. What defines different orders of phenomena for us? Methods and forms of the transition of one order of phenomena into another. Phenomena of motion. Phenomena of life. Phenomena of consciousness. The central question of our knowledge of the world: what mode of phenomena is generic and produces the others? Can the origin of everything lie in motion? The laws of transformation of energy. Simple transformation and liberation of latent energy. Different liberating forces of different orders of phenomena. The force of mechanical energy, the force of a living cell, the force of an idea. Phenomena and noumena of our world **Chapter 13** The apparent and hidden side of life. Positivism as the study of the phenomenal side of life. Of what does the "two-dimensionality" of positive philosophy consist? The regarding of everything upon a single plane, in one physical sequence. The streams which flow underneath the earth. What can the study of life, as a phenomenon, yield? The artificial world which science erects for itself. The unreality of finished and isolated phenomena. The new apprehension of the world **Chapter 14** The voices of stones. The wall of a church and the wall of a prison. The mast of a ship and a gallows. The shadow of a hangman and of an ascetic. The soul of a hangman and of an ascetic. The different combinations of known phenomena in higher space. The relationship of phenomena which appear unrelated, and the difference between phenomena which appear similar. How shall we approach the noumenal world? The understanding of things outside the categories of space and time. The reality of many "figures of speech." The occult understanding of energy. The letter of a Hindu occultist. Art as the knowledge of the noumenal world. What we see and what we do not see. Plato's dialogue about the cavern. **Chapter 15** Occultism and love. Love and death. Our different relations to the problems of death and to the problems of love. What is lacking in our understanding of love? Love as an everyday and merely psychological phenomena. The possibility of a spiritual understanding of love. The creative force of love. The negation of love. Love and mysticism. The "wondrous" in love. Nietzsche, Edward Carpenter and Schopenhauer on love. "The Ocean of Sex." **Chapter 16** The phenomenal and noumenal side of man. "Man-in-himself." How do we know the inner side of man? Can we know of the existence of consciousness in conditions of space not analogous to ours? Brain and consciousness. Unity of the world. Logical impossibility of the simultaneous existence of spirit and matter. Either all spirit or all matter. Rational and irrational actions in nature and in the life of man. Can rational actions exist alongside irrational? The world as an accidentally self-created mechanical toy. The impossibility of reason in a mechanical universe. The irreconcilability of mechanicalness with the existence of reason. Kant concerning "hosts." Spinoza on the knowledge of the invisible world. Necessity for the intellectual definition of that which can be, and that which cannot be, in the world of hidden. **Chapter 17** Rationality and life. Life as knowledge. Intellect and emotions. Emotion as an organ of knowledge. The evolution of emotion from the standpoint of knowledge. Pure and impure emotions. Personal and impersonal emotions. Personal and super-personal emotions. The elimination of self-elements as a means of approach to true knowledge. "Be as little children... " "Blessed are the pure in heart...." The value of morals from the standpoint of knowledge. The defects of intellectualism. Dreadnaughts as the crown of intellectual culture. The dangers of morality. Moral esthetics. Religion and art as organized forms of emotional knowledge. The knowledge of God and the knowledge of Beauty. **Chapter 18** Rationality and life. Life as knowledge. Intellect and emotions. Emotion as an organ of knowledge. The evolution of emotion from the standpoint of knowledge. Pure and impure emotions. Personal and impersonal emotions. Personal and super-personal emotions. The elimination of self-elements as a means of approach to true knowledge. "Be as little children... " "Blessed are the pure in heart...." The value of morals from the standpoint of knowledge. The defects of intellectualism. Dreadnaughts as the crown of intellectual culture. The dangers of morality. Moral esthetics. Religion and art as organized forms of emotional knowledge. The knowledge of God and the knowledge of Beauty. **Chapter 19** The intellectual method, objective knowledge. The limits of objective knowledge. The possibility of the expansion of the application of the psychological method. New forms of knowledge. The ideas of Plotinus. Different forms of consciousness. Sleep (the potential state of consciousness). Dreams (consciousness en-closed in itself, reflected from itself). Waking consciousness (dualistic sensation of the world, the division of the I and the Not-I). Ecstasy (the liberation of the Self). _Turiya_ (the absolute consciousness of all, as of the self). "The dewdrop slips into the shining sea." Nirvana. **Chapter 20** The sense of infinity. The neophyte's first ordeal. An intolerable sadness. The loss of everything real. What would an animal feel on becoming a man? The transition to the new logic. Our logic as founded on the observation of the laws of the phenomenal world. Its invalidity for the study of the world of noumena. The necessity for another logic. Analogy between the axioms of logic and of mathematics. TWO MATHEMATICS. The mathematics of real magnitudes (infinite and variable); and the mathematics of unreal, imaginary magnitudes (finite and constant). Transfinite numbers – numbers lying beyond INFINITY. The possibility of different infinities. **Chapter 21** Man's transition to a higher logic. The necessity for rejecting everything "real." "Poverty of the spirit." The recognition of the infinite alone as real. Laws of the infinite. Logic of the finite – the _Organon_ of Aristotle and the _Novum Organum_ of Bacon. Logic of the infinite – _Tertium Organum_. The higher logic as an instrument of thought, as a key to the mysteries of nature, to the hidden side of life, to the world of noumena. A definition of the world of noumena on the basis of all the foregoing. The impression of the noumenal world on an unprepared consciousness. "The thrice unknown darkness in the contemplation of which all knowledge is resolved into ignorance." **Chapter 22** _Theosophy_ of Max Müller. Ancient India. Philosophy of the _Vedanta_. _That twam asi_. Knowledge by means of the expansion of consciousness as a reality. Mysticism of different ages and peoples. Unity of experiences. _Tertium Organum_ as a key to mysticism. Signs of the noumenal world. _Treatise_ of Plotinus On Intelligible Beauty as a misunderstood system of higher logic Illumination in Jacob Boehme. "A harp of many strings, of which each string is a separate instrument, while the whole is only one harp." Mystics of The Love of the Good. St. Avva Dorotheus and others. Clement of Alexandria. Lao-Tzu and Chuang-Tzu. Light on the Path. The Voice of the Silence. Mohammedan mystics. Poetry of the Sufis. Mystical states under narcotics. _The Anaestetic Revelation_. Experiments of Prof. James. Dostoyevsky on "time" ( _The Idiot_ ). Influence of nature on the soul of man. **Chapter 23** _Cosmic Consciousness_ of Dr. Bucke. The three forms of consciousness according to Dr. Bucke. Simple consciousness, or the consciousness of animals. Self-consciousness, or the consciousness of men. Dr. Bucke's fundamental error. Cosmic consciousness. In what is it expressed? Sensation, perception, concept, higher MORAL concept – creative intuition. Men of cosmic consciousness. Adam's fall into sin. The knowledge of good and evil. Christ and the salvation of man. Commentary on Dr. Bucke's book. Birth of the new humanity. Two races. SUPERMAN. Table of the four forms of the manifestation of consciousness Conclusion Paperbacks also available from White Crow Books # **Author's Preface to the Second Edition** IN REVISING _Tertium Organum_ for the second edition in English my chief concern has been to coordinate its terminology with the more developed terminology of those of my books written after the publication of the second Russian edition of _Tertium Organum_ , from which the English translation was made. Such a unity of terminology is the more necessary because I am obliged to lead the reader into regions of thought and knowledge where boundaries have not been clearly established, and where different authors – and often one and the same author, in different works and during different periods of his activity – have called the same thing by different names, or different things by the same name. It must be admitted that language is a weak and inadequate vehicle even for the expression of our usual understanding of things, to say nothing of those moments when the understanding unexpectedly expands and becomes deeper, and we see revealed an entire series of facts and relations for the description of which we have neither words nor expressions. But quite aside from this, in ordinary conditions of thinking and feeling, we are frequently at a loss for words, and we use one word at different times to describe different things. On the other hand, it is no merit in an author to invent new words, or to use old words in new meanings which have nothing in common with the accepted ones – to create, in other words, a special terminology. I have always considered that it is necessary to write in the language which men commonly speak, and I have endeavored to do this, although in some cases it has been necessary to make some additions to and corrections of that language for the sake of exactness and lucidity. In due time I shall separately consider the subject of language and the methods of its adaptation for the transmission of exact thought. For the present I have reference only to the language of _Tertium Organum_. The first word demanding a more careful use is "consciousness." In conversational language and in every-day psychology, even in psychology purporting to be scientific, the word _consciousness_ is often used as a term for the designation of a complex of all psychic functions in general, or for their separate manifestations. At present I have not access to the necessary books – I abandoned them all in Petrograd, four years ago – but to the best of my recollection Prof. William James defined thought as "a moment of consciousness." From my standpoint, which I shall elucidate in works now being prepared for the press, it is necessary to regard consciousness as distinct from the commonly understood psychic functions: thought, feeling and sensation. Over and above all this, consciousness has several exactly definable forms or phases, in each one of which thoughts, feelings and sensations can function, giving in each different results. Thus consciousness (be it this or something other) is a background upon which thoughts, feelings and sensations reveal themselves. This background can be more or less bright. But as thoughts, feelings and sensations have their own separate life, and can be regarded independently of this background, so can it be regarded and studied independently of them. For the present I shall not insist too strongly upon the idea of this _ground_ as something separate in its substance from psychic functions. The practical result is the same if we say that thoughts, feelings and sensations may have _a different character_ , and that thoughts, feelings and sensations of this or that character create this or that state of consciousness. It is important only to establish the fact that thoughts, feelings and sensations, i.e., psychic functions, are not consciousness, and that this or that state of consciousness is something pertaining to them, but separate from them, and in some cases capable of being separately observed. In the early editions of _Tertium Organum_ I have used the word consciousness in its generally accepted meaning, i.e., as a complex of psychic functions, or in the sense of their indication and contents. But as in my future works it will be necessary for me to use the word consciousness in its real and true meaning, I have tried in this revised text of _Tertium Organum_to substitute for the word consciousness (wherever it is used in the sense of a complex of psychic functions) such other words as psyche, or psychic life, which perfectly express my meaning in such cases. Furthermore, in my work of revision, I have found numerous instances of illustrations, examples, etc., having no direct connection with the main theme. I have found also that some of these introduced themes vitiate the correctness of the main line of thought, creating associations which lead too far away. Other themes also, accidentally touched upon, demand a considerably more extended treatment than can be given them within the limits of this book, but being inadequately developed they leave a wrong impression. In such cases I consider it necessary to eliminate this extraneous matter in order to elucidate the principal thought more clearly and directly, particularly as some of the questions touched upon demanding more or different exposition are discussed at length in my forth-coming books. In conclusion, let me express to Mr. Nicholas Bessaraboff and to Mr. Claude Bragdon my deep appreciation of their labors on the translation of my book into English. This translation, made without my knowledge and participation, at a time when I was cut off by war and revolution from the civilized world, transmits my thought so exactly that after a very attentive review of the book I could find only one word to correct. Such a result could be achieved only because Mr. Bessaraboff and Mr. Bragdon were not translating words merely, but were grasping directly _the thoughts_ back of them. Also, it is especially pleasant for me to remember that a number of years ago Mr. Bragdon's _Man the Square_ reached me in Petrograd, and that I, not knowing Mr. Bragdon's other works at all, selected this little book from a whole series received from abroad, as one which carried the message of a common thought, a common understanding. **P. OUSPENSKY** **Constantinople, June 1921** # **Introduction to the English translation** IN NAMING HIS BOOK _Tertium Organum_ Ouspensky reveals at a stroke that astounding audacity which characterizes his thought throughout – an audacity which we are accustomed to associate with the Russian mind in all its phases. Such a title says, in effect: "Here is a book which will reorganize all knowledge. The _Organon_ of Aristotle formulated the laws under which the subject thinks; the _Novum Organum_ of Bacon, the laws under which the object may be known; but _The Third Canon of Thought_ existed before these two, and ignorance of its laws does not justify their violation. _Tertium Organum_ shall guide and govern human thought henceforth." How passing strange, in this era of negative thinking, of timid philosophizing, does such a challenge sound! And yet it has the echo in it of something heard before – what but the title of another volume, Hinton's _A New Era of Thought_? Ouspensky's _Tertium Organum_ and Hinton's _A New Era of Thought_ present substantially the same philosophy (though Hinton's book only sketchily), arrived at by the same route – mathematics. Here is food for thought. In the words of Philip Henry Wynne, "Mathematics possesses the most potent and perfect symbolism the intellect knows; and this symbolism has offered for generations certain concepts (of which hyper-dimensionality is only one) whose naming and envisagement by the human intellect is perhaps its loftiest achievement. Mathematics presents the highest certitudes known to the intellect, and is becoming more and more the final arbiter and interpreter in physics, chemistry and astronomy. Like Aaron's rod it threatens to swallow all other knowledge as fast as they assume organized form. Mathematics has already taken possession of great provinces of logic and psychology – will it embrace ethics, religion and philosophy?" In _Tertium Organum_ mathematics enters and pervades the field of philosophy; but so adroitly, so silently as it were, that one hardly knows that it is there. It dwells more in Ouspensky's method than in his matter, because for the most part the mathematical ideas necessary for an understanding of his thesis are such as any intelligent high school student can comprehend. The author puts to himself and to the reader certain questions, propounds certain problems, which have baffled the human mind for thousands of years – the problems of space, time, motion, causality, of free will and determination – and he deals with them according to the mathematical method: that is all. He has sensed the truth that the problem of mathematics is the problem of the _world order_ , and as such must deal with every aspect of human life. Mathematics is a terrible word to those whose taste and training have led them into other fields, so lest the non-mathematical reader should be turned back at the very threshold, deciding too hastily that the book is not for him, let me dwell rather on its richly humanistic aspect. To such as ask no "key to the enigmas of the world," but only some light to live by, some mitigation of the daily grind, some glimpse of some more enlightened polity than that which rules the world today, this book should have an appeal. The author has thrown overboard all the jargon of all the schools; he uses the language of common sense, and of every day; his illustrations and figures of speech are homely, taken from the life of every day. He simply says to the reader, "Come let us reason together," and leads him away from the haunted jungle of philosophical systems and metaphysical theories, out into the light of day, there to contemplate and to endeavor to understand those primal mysteries which puzzle the mind of a child or of a savage no less than that of the sophisticated and super-subtle ponderer on the enigmas of the world. Not that Ouspensky is a trafficker in the obvious – far from it: those who know most, think most, feel most, will get most out of his book – but a great sanity pervades his pages, and he never leads away into labyrinths where guide and follower alike lose their way and fail to come to any end. Leaving the average reader out of account for the moment, there are certain others whom the book should particularly interest – if only in the way of repulsion. First of all come the mathematicians and the theoretical physicists, for they already, without knowing it, have invaded that "dark backward and abysm of time" which the Ouspenskian philosophy lights up – and are by way of losing themselves there. That is to say, in certain of their calculations, they are employing four mutually interchangeable coordinates, three of space and one of time. In other words, they use _time_ as though it were a dimension of space. Ouspensky tells them the reason they are able to do this. Time _is_ the fourth dimension of space imperfectly sensed – apprehended by consciousness successively, and thereby creating the temporal illusion. Moreover, mathematicians are perforce concerning themselves with magnitudes to which the ordinary logic no longer applies. Ouspensky presents a new logic, or rather, he presents anew an ancient logic – the logic of intuition – removing at a stroke all of the nightmare aspects, the preposterous paradoxes of the new mathematics, which by reason of its extraordinary development has shattered the old logic, as a growing oak shatters the containing jar. It is from the philosophic camp, no doubt, that the book will receive its sharpest criticism, on account of the author's _lèse-majesté_ toward so many of the crowned kings of philosophic thought, and his devastating assault on positivism – that inevitable by-product of our materialistic way of looking at the world. His attempt to prove the Kantian problem – the subjectivity of space and time – doubtless will be acutely challenged, and with some chance of success, because the two chapters devoted to this are perhaps the least convincing of the book. But no one heretofore has even attempted to demonstrate absolutely or successfully to controvert the staggering proposition advanced by Kant regarding space and time as forms of consciousness. Whatever the verdict of the philosophical pundits of the day and hour, whether favorable or otherwise, Ouspensky is sure of a place in the hierarchy of philosophers, for he has essayed to solve the most profound problems of human existence by the aid of the binocular vision of the mathematician and the mystic. Starting from the irreducible minimum of knowledge, he has carried philosophy into regions not hitherto explored. To persons of an artistic or devotional bent the book will be as water in the desert. These, always at a disadvantage among the purely practical-minded, by whom they are overwhelmingly out-numbered, will find in Ouspensky a champion whose weapon is mathematical certitude, the very thing by which the practical-minded swear. These he puts to rout, holds up to ridicule, and applauds every effort to escape into the "world of the wondrous." But most of all Ouspensky will be loved by all true lovers, for his chapter on the subject of love. We have had Schopenhauer on love, and Freud on love, but what dusty answers do they give to the soul of a lover! Edward Carpenter comes much nearer the mark, but Ouspensky penetrates to its very center. It is because our loves are so dampened by our ego, our cynicism and our cowardice that we let rot and smolder instead of bursting into purifying flame. Just as Goethe's _Werther_ , with its sex-sentimentality, is said to have provoked an epidemic of suicides, so may _Tertium Organum_ – which restores love to that high heaven from whence descend every beauty and benison – inaugurate a renascence of love and joy. From one point of view this is a terrible book: there is a revolution in it – a revolution of the very poles of thought. Some it will rob of their dearest illusions, it will cut the very ground from beneath their feet, it will consign them to the Abyss. It is a great destroyer of complacency. Yes, this is a dangerous book – but then, life is like that. It is beyond the province of this Introduction either to outline the Ouspenskian philosophy at any length, or to discuss it critically; but some slight indication of its drift may be of assistance to the reader. The book might have appropriately been called _A Study of Consciousness_ , for Ouspensky comes early to the conclusion that all other methods of approach to an understanding of the "enigmas of the world" are vain. Chapters 1 to , inclusive, deal with the problem of the world-order by the objective method. The author erects an elaborate scaffolding for his future edifice, and after it has served its purpose, throws it down. Aware of the deficiencies of the objective method and having made the reader conscious of them too, he suddenly alters his system of attack. From chapter 8 onward, he undertakes the study of the world-order from the standpoint of subjectivity – of consciousness. By a method both ingenious and new he correlates the different grades of consciousness observable in nature – those of vegetable-animal, animal and man – with the space sense, showing that as consciousness changes and develops, the sense of space changes and develops too. That is to say, the dimensionality of the world depends on the development of consciousness. Man, having reached the third stage in that development, has a sense of three-dimensional space – and for no other reason. Ouspensky concludes that nothing except consciousness unfolds, develops, and as there appears to be no limit to this development, he conceives of space as the multi-dimensional mirror of consciousness and of time and motion as illusion – what appears to be time and motion being in reality only the movement of consciousness upon a higher space. The problem of superior states of consciousness in which "there shall be time no longer" is thus directly opened up, and in discussing their nature and method of attainment, he quotes freely from the rich literature of mysticism. Instead of attempting to rationalize these higher states of consciousness, as some authors do, he applies to them the _logic of intuition_ – " _Tertium Organum_ " – paradoxical from the standpoint of ordinary reason, but true in relation to the noumenal world. Joseph Conrad and Ford Madox Hueffer once wrote a novel called _The Inheritors_ and by this they meant the people of the fourth dimension. Though there is small resemblance between Ouspensky's "superman" and theirs, it is his idea also that those of this world who succeed in developing higher-dimensional, or "cosmic" consciousness will indeed inherit – will control and regulate human affairs by reason of their superior wisdom and power. In this, and in this alone, dwells the "salvation" of the world. His superman is the "just man made perfect" of the Evangelist. The struggle for mastery between the blind and unconscious forces of materialism on the one hand, and the spiritually illumined on the other, is already upon us, and all conflicts between nations, peoples and classes must now be interpreted in terms of this greater warfare between "two races" of men, in which the superior minority will either conquer or disappear. These people of the fourth dimension are in the world but not of it: their range is far wider than this slum of space. In them dormant faculties are alert. Like birds of the air, their fitting symbol, they are at home in realms which others cannot enter, even though already "there." Nor are these heavenly eagles confined to the narrow prison of the breast. Their bodies are as tools which they may take up or lay aside at will. This phenomenal world, which seems so real, is to them as insubstantial as the image of a landscape in a lake. Such is the Ouspenskian superman. The entire book is founded upon a new generalization – new, that is, in philosophy, but already familiar to mathematicians and theoretical physicists. This generalization involves startling and revolutionary ideas in regard to space, time and motion far removed from those of Euclidian geometry and classical physics. Ouspensky handles these new ideas in an absolutely original way, making them the basis of an entire philosophy of life. To the timid and purblind this philosophy will be nothing short of terrifying, but to the clear-eyed and steadfast watcher, shipwrecked on this shoal of time, these vistas, overflowing with beauty, strangeness, doubt, terror and divinity, will be more welcome than anything in life. _Fear not the new generalization_. Ouspensky's clearness of thought is mirrored in a corresponding clarity of expression. He sometimes repeats the difficult and important passages in an altered form of words, he uses short sentences and short paragraphs, and italicizes significant phrases and significant words. He defines where definition is needed, and suggests collateral trains of thought with a skill which makes the reader who is intuitive a creator on his own account. Schopenhauer has said that it is always a sign of genius to treat difficult matters simply, as it is a sign of dullness to make simple matters appear recondite. Ouspensky exhibits this order of genius, and that other, mentioned by Schopenhauer, which consists in choosing always the apt illustration, the illuminating simile. The translators have tried to be rigidly true to the Russian original, and they have been at great pains to verify every English quotation so far as has been possible. It is therefore a source of great gratification to them that their efforts should have received the unqualified endorsement of the author himself. CLAUDE BRAGDON Rochester, N. Y. _January 31, 1922_ "I have called this system of higher logic _Tertium Organum_ because _for us_ it is the _third canon_ – third instrument – _of thought_ after those of Aristotle and Bacon. The first was _Organon_ , the second, _Novum_ _Organum_. But the third existed earlier than the first # **Chapter 1** WHAT DO WE know and what do we not know? Our data, and the things for which we seek. The unknown mistaken for the known. Matter and motion. What does the positive philosophy come to? Identity of the unknown: x=y, y=x. What we really know. The existence of consciousness in us, and of the world outside us. Dualism or monism? Subjective and objective knowledge. Where do the causes of the sensations lie? Kant's system. Time and space. Kant and the "ether." Mach's observation. With what does the physicist really deal? "Learn to discern the real from the false" _The Voice of The Silence_ H. P. B. THE MOST DIFFICULT thing is to know what we do know, and what we do not know. Therefore, desiring to know anything, we shall before all else determine WHAT we accept as _given_ , and WHAT as demanding definition and proof; that is, determine WHAT we know already, and WHAT we wish to know. In relation to the knowledge of the world and of ourselves, the conditions would be ideal could we venture to accept _nothing_ as given, and count _all_ as demanding definition and proof. In other words, it would be best to assume that we know nothing, and make this our point of departure. But unfortunately such conditions are impossible to create. Knowledge must start from some foundation, something must be recognized as known; otherwise we shall be obliged always to define one unknown by means of another. Looking at the matter from another point of view, we shall hesitate to accept as the known things – as the _given_ ones – those in the main completely unknown, only presupposed, and therefore _the things sought for_. Should we do this, we are likely to fall into such a dilemma as that in which positive philosophy now finds itself – and by positive philosophy I mean a general trend of thought based on the data of those sciences which are now accepted as experimental and positive. This philosophy is founded on the existence of _matter_ (materialism) or _energy_ : that is, of a force, or _motion_ , though in reality matter and motion were always the unknown x and y, and were defined by means of one another. It must be perfectly clear to everyone that it is impossible to accept _the thing sought as the given_ , and impossible to define one unknown by means of another. The result is nothing but the identity of the unknown: x=y, y=x. _This identity of the unknown_ is the ultimate conclusion to which positive philosophy comes. _Matter is that which proceed the changes called motion: and motions are those changes which proceed in matter._ But what do we know? We know that with the very first awakening of knowledge, man is confronted with two obvious facts: _The existence of the world in which he lives; and the existence of psychic life in himself._ Neither of these can he prove or disprove, but they are _facts_ : they constitute _reality_ for him. It is possible to meditate upon the mutual correlation of these two facts. It is possible to try to reduce them to one; that is, to regard the psychic or inner world as a part, reflection, or function of the world, or the world as a part, reflection, or function of that inner world. But such a procedure constitutes a departure from facts, and all such considerations of the world and of the self, to the ordinary non-philosophical mind, will not have the character of obviousness. On the contrary the sole _obvious fact_ remains the antithesis of _I_ and _Not-I_ – our inner psychic life and the outer world. Further on we shall return to this fundamental thesis. But thus far we have no basis on which to found a contradiction of the obvious fact of the existence of _ourselves_ – i.e., of our inner life – and of the _world_ in which we live. This we shall therefore accept as _the given._ This however is the only thing that we have the right to accept as given: all the rest demands proof and definition in terms of these two given data. _Space_ , with its extension; _time_ , with the idea of _before, now, after_ ; quantity, mass, substantiality; number, equality and inequality; identity and difference; cause and effect; the ether, atoms, electrons, energy, life, death – all things that form the foundation of our so-called knowledge: _these are the unknown things_. The existence in us of psychic life, i.e., of sensations, perceptions, conceptions, reasoning, feeling, desires etc., and the existence of the world outside of us – from these two fundamental data immediately proceed our common and clearly understood division of everything that we know into _subjective_ and _objective_. Everything that we accept as a property of the world, we call objective; and everything that we accept as a property of our psyche, we call subjective. The subjective world we recognize _directly_ : it is in ourselves – we are one with it. The objective world we picture to ourselves as existing somewhere outside of us – we and it are different things. It seems to us that if we should close our eyes, then the objective world would continue to exist, such as we just saw it; and if our inner life were to disappear, so would the subjective world disappear – yet the objective world would exist as before, as it existed at the time when we were not; when our subjective world was not. Our relation to the objective world is most exactly defined by the fact that we perceive it as existing in _time_ and _space_ ; otherwise, out of these conditions, we can neither conceive nor imagine it. In general, we say that the objective world consists of things and phenomena, i.e., things and changes in states of things. The PHENOMENA exist for us in time; the THINGS, in space. But such a division of the subjective and the objective world does not satisfy us. By means of reasoning we can establish the fact that in reality we know only our own sensations, perceptions and conceptions, and we cognize the objective world by projecting outside of ourselves the causes of our sensations, presupposing them to contain these causes. Then we find that our knowledge of the subjective world, and of the objective world also, can be _true_ and _false_ , correct and incorrect. The criterion for the definition of correctness or incorrectness of our knowledge of the subjective world is the _form_ of the relations of one sensation to others, and the _force_ and character of the _sensation itself_. In other words, the correctness of one sensation is verified by the comparison of it with another of which we are more sure, or _by the intensity and "taste" of a given sensation_. The criterion for the definition of correctness or incorrectness of our knowledge of the objective world _is the very same_. It seems to us that we define the things and phenomena of the objective world by means of comparing them among themselves; and we think we find the laws of their existence _outside of us_ , and independent of our perception of them. But it is an illusion. We know nothing about things _separately from us_ ; and we have no other means of verifying the correctness of our knowledge of the objective world than BY SENSATIONS. Since the remotest antiquity the question of our relation to the true causes of our sensations has constituted the main subject of philosophical research. Men have always felt that they should have some solution for this question, some answer for it. And these answers have vacillated between two poles, from the full negation of the causes themselves, and the assertion that the causes of sensations are contained within ourselves and not in anything outside of us – up to the recognition that we know these causes, that they are embodied in the phenomena of the outer world, that these phenomena constitute the cause of sensations; and that the cause of all observed phenomena lies in the movement of "atoms," and the oscillations of the "ether." It is believed that if we cannot observe these motions and oscillations it is only because we have not sufficiently powerful instruments, and that when such instruments are at our disposal we shall be able to see the movements of atoms as well as we see, through powerful telescopes, stars the very existence of which were never guessed. In modern philosophy Kant's system occupies a middle position in relation to this problem of the causes of sensations, not sharing either of these extreme views. Kant proved that the causes of our sensations are in the outside world, but that we cannot know these causes through any sensuous approach – that is, by such means as we know phenomena – and that we _cannot know_ these causes, and _shall never know them_. Kant established the fact that everything that is known through the senses is known in terms of time and space, and that out of time and space we cannot know anything by way of the senses; that time and space are necessary conditions of sensuous receptivity (i.e., receptivity by means of the five organs of sense). Moreover, what is most important, he established the fact that extension in space and existence in time are not properties _appertaining to things_ , but just the properties of our sensuous receptivity; that in reality, apart from our sensuous knowledge of them, things exist independently of time and space; but we can never perceive them out of time and space, and perceiving things and phenomena thus sensuously, by virtue of it we _impose_ upon them the conditions of time and space, as belonging to _our_ form of perception. Thus space and time, defining everything that we cognize by sensuous means, are in themselves just forms of our receptivity, categories of our intellect, the prism through which we regard the world – or in other words, space and time do not represent properties of the world, but just properties of our _knowledge_ of the world gained through our sensuous organism. From this it follows that the world, apart from our knowledge of it, has neither extension in space nor existence in time; these are properties which we add to it. Cognitions of space and time arise _in our intellect_ during its touch with the external world by means of the organs of sense, and do not exist in the external world apart from our contact with it. Space and time are _categories of intellect_ , i.e., properties which are _ascribed_ by us to the external world. They are signal posts, signs put up by ourselves because we cannot picture the external world without their help. They are _graphics_ by which we represent the world to ourselves. Projecting outside of ourselves the causes of our sensations, we are designing those causes in space, and we picture continuous reality to ourselves as a series of moments of time following one another. This is necessary for us because a thing having no definite extension in space, not occupying a certain part of space and not lasting a certain length of time, does not exist for us at all. That is, a thing not in space, divorced from the idea of space, and not included in the category of space, will not differ from some other thing in any particular; it will occupy the very same place, will coincide with it. Also, all _phenomena_ not in time, divorced from the idea of time, not taken in this or that fashion from the standpoint of _before, now, after_ , would co-exist for us simultaneously, and all mixed up with one another, and our weak mind would not be able to distinguish _one moment_ in the infinite variety. Therefore our consciousness segregates, out of a chaos of impressions, separate groups, and we construct in space and time the perceptions of things according to these groups of impressions. It is necessary for us to divide things _somehow_ , and we divide them into the categories of space and time. But we should remember that these divisions exist only in us, in our knowledge of things and not in the things themselves; that we do not know the true relations of things among themselves, and the real things we do not know, but only phantoms, visions of things – we do not know the relation existing among the things in reality. At the same time we quite definitely know that _our_ division of things into the categories of space and time does not at all correspond to the division of _things in themselves_ , independently of our receptivity of them; and we quite definitely know that if there exist any division at all among _things in themselves_ , it will in no case be a division in terms of space and time according to our usual understanding of these words, because such a division is not a property of things, but of our knowledge of things gained through the senses. Moreover, we do not know if it is even possible to distinguish _those divisions which we see_ , i.e., in space and time, if things are looked at not through human eyes, not from the human standpoint. In point of fact we do not know but that our world would present an entirely different aspect for a differently built organism. We cannot _perceive_ things as _images_ outside of the categories of space and time, but we constantly _think_ of them outside of space and time. When we say _that table_ , we picture the table to ourselves in space and time; but when we say _an object made of wood_ , not meaning any definite thing, but speaking generally, it will relate to all things made of wood throughout the world, and in all ages. An imaginative person could conceive that we are referring to some great thing made of wood, composed of all objects whenever and wherever _wooden_ things existed, these forming its constituent _atoms_ , as it were. We do not comprehend all these matters quite clearly, but in general it is plain that we think in space and time by perceptions only; but by concepts we think independently of space and time. Kant named his views _critical idealism_ , in contradiction to _dogmatic idealism_ , of which Berkeley was a representative. According to dogmatic idealism, all the world, all things – i.e., the true causes of our sensations – do not exist except in our consciousness: they _exist_ only so far as we know them. The entire world perceived by us is just a reflection of ourselves. Kantian idealism recognizes a world of causes outside of us, but asserts that we cannot know the world by means of sensuous perception, and everything that we perceive, generally speaking, is of our own creation – _the product of a cognizing being_. So, according to Kant, everything that we find in things is put in them by ourselves. Independently of ourselves we do not know what the world is like. And our cognition of things has nothing in common with the things as they are outside of us – that is, in themselves. Furthermore, and most important, our ignorance of things in themselves does not depend upon our _insufficient knowledge_ , but is due to the fact that by means of sensuous perception we cannot know the world correctly _at all_. That is to say, we cannot truly declare that although now we perhaps know little, presently we shall know more, and at length shall come to a correct understanding of the world. It is not true because our experimental knowledge is not a _confused_ perception of a _real world_. It is _a very acute_ perception of _an entirely unreal world_ appearing round about us at the moment of our contact with the world of true causes, to which we cannot find the way because we are lost in an unreal "material" world. For this reason the extension of the objective sciences does not bring us any nearer to the knowledge of _things in themselves_ , or of _true causes_. In _A Critique of Pure Reason_ Kant affirms that: Nothing which is intuited in space is a thing in itself, and space is not a form which belongs as a property to things; but objects are quite unknown to us in themselves, and what we call outward objects are nothing else but mere representations of our sensibility, whose form is space, but whose real correlated thing in itself is not known by means of these representations, nor ever can be, but respecting which, in experience, no inquiry is ever made. The things which we intuit are not in themselves the same as our representation of them in intuition, nor are their relations in themselves so constituted as they appear to us; and if we take away the subject, or even only the subjective constitution of our senses in general, then not only the nature and relations of objects in space and time disappear, but even space and time themselves. What may be the nature of objects considered as things in themselves and without reference to the receptivity of our sensibility is quite unknown to us. We know nothing more than our own _mode_ of perceiving them, which is peculiar to us and which though not of necessity pertaining to every animated being, is so to the whole human race. Supposing that we should carry our empirical intuition even to the very highest degree of clearness we should not thereby advance one step nearer to the constitution of objects as things in themselves. To say then that our sensibility is nothing but the confused representation of things containing exclusively that which belongs to them as things in themselves, and this under an accumulation of characteristic marks and partial representations which we cannot distinguish in consciousness, is a falsification of the conception of sensibility and phenomenization, which renders our whole doctrine thereof empty and useless. The difference between a confused and a clear representation is merely logical, and has nothing to do with content. Up to the present time Kant's propositions have remained in the very form that he left them. Despite the multiplicity of new philosophical systems which appeared during the nineteenth century, and despite the number of philosophers who have particularly studied, commented upon, and interpreted Kant's writings, Kant's principal propositions have remained quite undeveloped, primarily because most people do not know how to read Kant at all, and they therefore dwell upon the unimportant and non-essential, ignoring the substance. Yet really Kant simply put the question, threw to the world the problem, demanding the solution but not pointing the way toward it. This fact is usually omitted when speaking of Kant. He propounded the riddle, but did not give the solution of it. And to the present day we repeat Kant's propositions, we consider them incontrovertible, but in the main we represent them to our understanding very badly, and they are not correlated with other departments of our knowledge. All our positive science – physics (with chemistry) and biology – is built upon hypotheses CONTRADICTORY to Kant's propositions. Moreover, we do not realize how we ourselves impose upon the world the properties of space, i.e., extension; nor do we realize how the world – earth, sea, trees, men – _cannot possess_ such extension. We do not understand how we can see and measure that extension if it does not exist – nor what the world represents in itself, if it does not possess extension. But does the world really exist? Or, as a logical conclusion from Kant's ideas, shall we recognize the validity of Berkeley's idea, and deny the existence of the world itself except in imagination? Positive philosophy stands in a very ambiguous relation to Kant's views. It accepts them and it does not accept them: it accepts, and considers them correct in their relation to the direct experience of the organs of sense – what we see, hear, touch. That is, positive philosophy recognizes the subjectivity of our receptivity, and recognizes everything that we perceive in objects as imposed upon them by ourselves – but this in relation to the direct experience of the senses only. When it concerns itself with "scientific experience" however, in which precise instruments and calculations are used, positive philosophy evidently considers Kant's view in relation to that invalid, assuming that "scientific experience" makes known to us the very substance of things, the true causes of our sensations – or if it does not do so now, it brings us closer to the truth of things, and can inform us later. Contrary to Kant, the positivists are sure that "more clear knowledge of phenomena makes them acquainted with things in themselves." They think that in looking upon physical phenomena as the motions of the ether, or as electrical or magnetic phenomena, and calculating their motions, they begin to know the very substance of things, i.e., the causes of phenomena; in other words, they _believe_ exactly in the possibility of what Kant denied – the comprehension of the true substance of things by means of the investigation of phenomena. Moreover many physicists do not consider it necessary even to know Kant; and they could not themselves exactly define in what relation they stand toward him. Of course it is possible not to know Kant, but it is impossible to controvert him. Every description of physical phenomena, by its every word, is related to the problems set forth by Kant – remains in this or that relation to them. In general, the position of "science" in regard to this question of " _subjectively imposed_ " or " _objectively cognized_ " is more than tottering, and in order to form its conclusions "science" is forced to accept many purely hypothetical suppositions as things known – as indubitable _data_ , not demanding proof. Moreover, physicists forget one very significant fact: in his book, _Analysis of Sensations_ , Mach says: In the investigation of purely physical processes we generally employ concepts of so abstract a character that as a rule we think only cursorily, or not at all, of the sensations (elements) that lie at their base... The foundation of all purely physical operations is based upon an almost unending series of sensations, particularly if we take into consideration the adjustment of the apparatus which must precede the actual experiment. Now it can easily happen to the physicist who does not study the psychology of his operations, that he does not (to reverse a well-known saying) see the trees for the wood, that he overlooks the sensory element at the foundation of his work... Psychological analysis has taught us that this is not surprising, since the physicist is always operating with sensations. Mach here calls attention to a very important thing. Physicists do not consider it necessary to know psychology and to deal with it in their conclusions. But when they are more or less acquainted with psychology, with that part of it which treats of the forms of receptivity, and take it into consideration, then they hold the most fantastic duality of opinion, as in the case of the man of orthodox belief who tries to reconcile the dogmas of faith with the arguments of reason, and who is obliged to believe simultaneously in the creation of the world in seven days, seven thousand years ago, and in geological periods hundreds of thousands of years long, and in the evolutionary theory. He is thus forced to resort to sophisms, and demonstrate that by _seven days_ is meant _seven periods_. But why seven, exactly, he is unable to explain. For physicists the role of the "creation of the world" is played by the atomic theory and the ether, with its wave-like vibrations, and further by the electrons, and the energetic, or electromagnetic theory of the world. Or sometimes it is even worse, for the physicist in the depth of his soul feels the falsity of all old and new scientific theories but fears to hang in the air, as it were; to take refuge in mere negation. He has no system in place of that whose falsity he already feels; he is afraid to make a plunge into mere emptiness. Lacking sufficient courage to declare _that he believes in nothing at all_ , he accoutres himself in all contradictory theories, as in an official uniform, only because with this uniform are bound up certain rights and privileges, outer as well as inner, consisting of a certain confidence in himself and in his surroundings, to forego which he has no strength and determination. The unbelieving positivist – this is the tragic figure of our times, analogous to the atheist or unbelieving priest of the times of Voltaire. Out of this abhorrence of a vacuum come all dualistic theories which recognize "spirit" and "matter" existing simultaneously and independently of one another. In general, to a disinterested observer, the state of our contemporary science should be of great psychological interest. In all branches of scientific knowledge we are absorbing an enormous number of facts destructive of the harmony of existing systems. And these systems can maintain themselves only by reason of the heroic attempts of scientific men who are trying to close their eyes to a long series of new facts which threatens to submerge everything in an irresistible stream. If in reality we were to collect these system-destroying facts they would be so numerous in every department of knowledge as to exceed those upon which existing systems are founded. The systematization of _that which we do not know_ may yield us more for the true understanding of the world and the self than the systematization of that which in the opinion of "exact science" we do know. # **Chapter 2** A new view of the Kantian problem. The books of Hinton. The "space-sense" and its evolution. A system for the development of a sense of the fourth dimension by exercises with colored cubes. The geometrical conception of space. Three perpendiculars – why three? Can everything existing be measured by three perpendiculars? The indices of existence. Reality of ideas. Insufficient evidence of the existence of matter and motion. Matter and motion are only logical concepts, like "good" and "evil." AS ALREADY STATED, Kant propounded the problem, but gave no solution of it, nor did he point the way to a solution. And not one of the known commentators, interpreters, followers or adversaries of Kant has found a solution, or the way to it. I find the first flashes of a right understanding of the Kantian problem, and the first suggestions in regard to a possible way toward its solution, in the attempts at a new treatment of the problem of space and time, involving the concept of the "fourth dimension" and higher dimensions in general. An interesting synopsis of many things developed in this direction is that of C. H. Hinton, author of the books, _A New Era of Thought_ , and _The Fourth Dimension_. Hinton notes, among other things, that in commenting upon Kantian ideas, only their negative side is usually insisted upon, namely, the fact that we can cognize things in a sensuous way, in terms of space and time only, is regarded _as an obstacle_ , hindering us from seeing what things in themselves really are, preventing the possibility of cognizing them as they are, imposing upon them that which is not inherent in them, shutting them off from us. But [says Hinton] if we take Kant's statement simply as it is – not seeing in the spatial conception a hindrance to right receptivity — that we apprehend things by means of space – then it is equally allowable to consider our space sense not as a negative condition, hindering our perception of the world, but as a positive means by which the mind grasps its experiences, i.e., by which we cognize the world. There is, in so many books in which the subject is treated, a certain air of despondency – as if this space apprehension were a kind of veil which shut us off from nature. But there is no need to adopt this feeling. The first postulate of this book is a full recognition of the fact that it is by means of space that we apprehend what is. Space is the instrument of the mind. Very often a statement which seems to be most deep and abstruse and hard to grasp, is simply the form into which deep thinkers have thrown a very simple and practical observation. And for the present let us look on Kant's great doctrine of space from a practical point of view, and it comes to this – it is important to develop the space sense, for it is the means by which we think about real things. Now according to Kant [Hinton goes on to say] the space sense, or the intuition of space, is the most fundamental power of the mind. But I do not find anywhere a systematic and thorough-going education of the space sense. It is left to be organized by accident. Yet the special development of the space sense makes us acquainted with a whole series of new conceptions. Fichte, Schelling, Hegel, have developed certain tendencies and have written remarkable books, but the true successors of Kant are Gauss and Lobachevsky. For if our intuition of space is the means whereby we apprehend, then it follows that there may be different kinds of intuitions of space. Who can tell what the absolute space intuition is? This intuition of space must be colored, so to speak, by the conditions (of psychical activity) of the being which uses it. By a remarkable analysis the great geometers above mentioned have shown that space is not limited as ordinary experience would seem to inform us, but that we are quite capable of conceiving different kinds of space. ( _A New Era of Thought_ ) Hinton invented a complicated system for the education and development of the space sense by means of exercises with groups the cubes of different colors. The books above-mentioned are devoted to the exposition of this system. In my opinion Hinton's exercises are interesting from a theoretical standpoint, but they are practically valuable only for such as have the same turn of mind as Hinton's own. Exercises of the mind according to his system must first of all lead to the development of the ability to _imagine objects_ , not as the eye sees them, i.e., in perspective, but as they are geometrically – to learn to imagine the cube, for example, simultaneously from all as overcomes the illusions of perspective results in the expansion of the limits of consciousness, thus creating _new conceptions_ and augmenting _the faculty for perceiving anaiogies_. Kant established the fact that the development of knowledge under the existing conditions of receptivity will not bring us any closer to things in themselves. But there are theories asserting that it is possible, if desired, to change the very conditions of receptivity, and thus to approach the true substance of things. In the books above referred to, Hinton tries to unite the scientific foundations of such theories. Our space as we ordinarily think of it is conceived as limited – not in extent, but in a certain way which can only be realized when we think of our ways of measuring space objects. It is found that there are only three independent directions in which a body can be measured – it must have height, length and breadth, but it has no more than these dimensions, if any other measurement be taken in it, this new measurement will be found to be compounded of the old measurements. It is impossible to find a point in the body which could not be arrived at by travelling in combinations of the three directions already taken. But why should space be limited to three independent directions? Geometers have found that there is no reason why bodies which we can measure should thus be limited. As a matter of fact all the bodies which we can measure are thus limited. So we come to this conclusion, that the space which we use for conceiving ordinary objects in the world is limited to three dimensions. But it might be possible for there to be beings living in a world such that they would conceive a space of four dimensions. It is possible to say a great deal about space of higher dimensions than our own, and to work out analytically many problems which suggest themselves. But can we conceive four-dimensional space in the same way in which we can conceive our own space? Can we think of a body in four dimensions as a unit having properties in the same way as we think of a body having a definite shape in the space with which we are familiar? There is really no more difficulty in conceiving four-dimensional shapes, when we go about it in the right way, than in conceiving the idea of solid shapes, nor is there any mystery at all about it. When the faculty to apprehend in four dimensions is acquired – or rather when it is brought into consciousness – for it exists in everyone in imperfect form – a new horizon opens. The mind acquires a development of power, and in this use of ampler space as a mode of thought, a path is opened by using that very truth which, when first stated by Kant, seemed to close the mind within such fast limits. Our perception is subject to the condition of being in space. But space is not limited as we at first think. The next step after having formed this power of conception in ampler space is to investigate nature and see what phenomena are to be explained by four-dimensional relations. The thought of past ages has used the conception of a three-dimensional space, and by that means has classified many phenomena and has obtained rules for dealing with matters of great practical utility. The path which opens immediately before us in the future is that of applying the conception of four-dimensional space to the phenomena of nature, and of investigating what can be found out by this new means of apprehension.... For development of knowledge it is necessary to separate the self-elements, i.e., the personal elements which we put in everything cognized by us, from that which is cognized, in order that our attention may not be distracted (upon ourselves) from the properties which we in substance, perceive. Only by getting rid of the self-elements in our receptivity do we put ourselves in a position in which we can propound sensible questions. Only by getting rid of the notion of a circular motion of the sun around the earth (i.e., around us – self-element) do we prepare our way to study the sun as it really is. But the worst about a self-element is that its presence is never dreamed of till it is got rid of. In order to understand what the self-element in our receptivity means, imagine ourselves to be translated suddenly to another part of the universe, and to find there intelligent beings and to hold conversation with them. If we told them that we came from this world, and were to describe the sun to them, saying that it was a bright, hot body which moved around us, they would reply: "You have told us something about the sun, but you have also told us something about yourselves."... Therefore, desiring to tell something about the sun, we shall first of all get rid of the self-element which is introduced into our knowledge of the sun by the movement of the earth, upon which we are, round it.... One of our serious pieces of work will be to get rid of the selfelements in the knowledge of the arrangement of objects. The relations of our universe or our space with regard to the wider universe of four-dimensional space are altogether undetermined. The real relationship will require a great deal of study to apprehend, and when apprehended will seem as natural to us as the position of the earth among the other planets seems to us now.... I would divide studies of arrangement into two classes: those which create the faculty of arrangement, and those which use it and exercise it. Mathematics exercises it, but I do not think it creates it; and unfortunately, in mathematics as it is now often taught, the pupil is launched into a vast system of symbols: the whole use and meaning of symbols (namely, as means to acquire a clear grasp of facts) is lost to him.... Of the possible units which will serve for the study of arrangement, I take the cube; and I have found that whenever I took any other unit I got wrong, puzzled, and lost my way. With the cube one does not get along very fast, but everything is perfectly obvious and simple, and builds up into a whole of which every part is evident.... Our work then will be this: a study, by means of cubes, of the facts of arrangement; and the process of learning will be an active one of actually putting up the cubes. Thus we will bring our minds into contact with nature. ( _A New Era of Thought_ ) Taking all these things into consideration, we should try to define clearly our understanding of those sides of our receptivity dealt with by Kant. What is space? Taken as object, that is, perceived by our consciousness, space is for us _the form of the universe_ or the form of the matter in the universe. Space possesses an infinite extension in all directions. But it can be measured in only three directions independent of one another – in length, breadth, and height; these directions we call the dimensions of space, and we say that our space has three dimensions: it is three-dimensional. By _independent direction_ we mean in this case a line at right angles to another line. Our geometry (or the science of measurement of _the earth_ , or matter in space) knows _only three_ such lines, which are mutually at right angles to one another and not parallel among themselves. But why three only, and not ten or fifteen? This we do not know. And here is another very significant fact: either because of some mysterious property of the universe, or because of some mental limitation, we cannot even imagine to ourselves more than three independent directions. But we speak of the universe as infinite, and because the first condition of infinity is infinity _in all directions_ and in all possible relations, so we must presuppose in space an infinite number of dimensions: that is, we must presuppose an infinite number of lines perpendicular and not parallel to each other; and yet out of these lines we know, _for some reason_ , only three. It is usually in some such guise that the question of higher dimensionality appears to normal human consciousness. Since we cannot construct more than three mutually independent perpendiculars, and if the three-dimensionality of our space is conditional upon this, we are forced to admit the indubitable fact of the limitedness of our space in relation to geometrical possibilities: though of course if the properties of space are created by some limitation of consciousness, then the limitedness lies in ourselves. No matter what this limitedness depends on, it is a fact that it exists. A given point can be the vertex of only _eight_ independent tetrahedrons. Through a given point it is possible to draw only three perpendicular and not parallel straight lines. Upon this as a basis, we define the _dimensionality_ of space by the number of lines it is possible to draw in it which are mutually at right angles one with another. The line upon which there cannot be a perpendicular, that is, _another line_ , constitutes linear, or one-dimensional space. Upon the surface two perpendiculars are possible. This is superficial, or two-dimensional space. In "space" three perpendiculars are possible. This is solid, or three-dimensional space. The idea of the _fourth dimension_ arose from the assumption that in addition to the three dimensions known to our geometry there exists still a fourth, for some reason unknown and inaccessible to us, i.e., that in addition to the three known to us, a mysterious fourth perpendicular is possible. This assumption is practically founded on the consideration that there are things and phenomena in the world undoubtedly _really existing_ , but quite incommensurable in terms of length, breadth and thickness, and lying as it were outside of three-dimensional space. By _really existing_ we understand that which produces definite action, which possesses certain functions, which appears to be the cause of something else. That which _does not exist_ cannot produce any action, has no function, cannot be a cause. But there are different modes of existence. There is _physical_ existence, recognized by certain sorts of actions and functions, and there is _metaphysical_ existence, recognized by its actions and its functions. _A house exists_ , and the _idea of good and evil_ exists. But they do not exist in like manner. One and the same method of proof of existence does not suffice for the proof of the existence of a house and for the proof of the existence of an idea. A house is a _physical fact_ , an idea is a _metaphysical fact_. Physical and metaphysical facts _exist_ , but they exist differently. In order to prove the idea of a division into good and evil, i.e., a metaphysical fact, I have only to prove _its possibility_. This is already sufficiently established. But if I should prove that a house, i.e., a physical fact, _may_ exist, it does not at all mean that it exists really. If I prove that a man _may_ own the house it is no proof that he owns it. Our relation to an idea and to a house are quite different, It is possible by a certain effort to destroy a house – to burn, to wreck it. The house will cease to exist. But suppose you attempt to destroy, by an effort, an idea. The more you try to contest, argue, refute, ridicule, the more the idea is likely to spread, grow, strengthen. And contrariwise, silence, oblivion, _non-action_ , "non-resistance" will exterminate, or in any case will weaken the idea. Silence, oblivion, will not wreck a house, will not hurt a stone. It is clear that the existence of a house and that of an idea are quite different existences. Of such _different existences_ we know very many. A book exists, and also _the contents of a book_. Notes exist, and so does _the music that the notes combine to make_. A coin exists, and so does _the purchasing value of a coin_. _A word_ exists, and the _energy_ which it contains. We discern on the one hand, a whole series of _physical facts_ , and on the other hand, a series of _metaphysical facts_. As facts of the first kind exist, so also do facts of the second kind exist, but differently. From the usual positivist point of view it will seem naive in the highest degree to speak of _the purchasing value of a coin_separately from the coin; of _the energy of a word_ separately from the word; of the _contents of a book_ separately from the book, and so on. We all know that these are only "what people say," that in reality _purchasing value, energy of a word_ , and _contents of a book_ do not exist, that by these conceptions we only denote a series of phenomena in some way linked with coin, word, book, but in substance quite separate from them. But is it so? We decided to accept nothing as given, consequently we shall not _negate_ anything as given. We see in things, in addition to what is external, something internal. We know that this internal element in things constitutes a continuous part of things, usually their _principal substance_. And quite naturally we ask ourselves, _where_ is this internal element, and what does it represent in and by itself. We see that it is not embraced within our space. We begin to conceive of the idea of a "higher space" possessing more dimensions than ours. Our space then appears to be somehow a part of higher space, i.e., we begin to believe that we know, feel, and measure only part of space, that part which is measurable in terms of length, width and height. As was said before, we usually regard space as a form of the universe, or as a form of the matter of the universe. To make this clear it is possible to say that a "cube" is the form of the matter in a cube; a "sphere" is the form of the matter in a sphere; "space" – an infinite sphere – is the form of the entire matter of the universe. H. P. Blavatsky, in _The Secret Doctrine_ , has this to say about space: The superficial absurdity of assuming that Space itself is measurable in any direction is of little consequence. The familiar phrase (the fourth dimension of space) can only be an abbreviation of the fuller form – the "Fourth dimension of Matter in Space."... The progress of evolution may be destined to introduce us to new characteristics of matter...." But the formula defining "space" as "the form of matter in the universe" suffers from this deficiency, that there is introduced in it the concept of "matter," i.e., the unknown. I have already spoken of that "dead-end siding," x=y, y=x, to which all attempts at the physical definition of matter inevitably lead. Psychological definitions lead to the same thing. In a well-known book, _The Psychology of the Soul_ , A. I. Herzen says: We call matter everything which directly or indirectly offers resistance to motion, directly or indirectly produced by us, manifesting a remarkable analogy with our passive states. And we call force (motion) that which directly or indirectly communicates movement to us or to other bodies, thus manifesting the greatest similitude to our active states. Consequently, "matter" and "motion" are something like projections of our active and passive states. It is clear that it is possible to define the passive state only in terms of the active, and the active in terms of the passive – again two unknowns, defining one another. E. Douglas Fawcett, in an article entitled "Idealism and the Problem of Nature" in _The Quest_ (April, 1910), discusses matter from this point of view. Matter (like force) does not give us any trouble. We know all about it, for the very good reason that we invented it. By "matter" we think of sensuous objects. It is mental change of concrete but too complicated facts, which are difficult to deal with. Strictly speaking, matter exists only as a concept. Truth to tell, the character of matter, even when treated only as a conception, is so unobvious that the majority of persons are unable to tell us exactly what they mean by it. An important fact is here brought to light: matter and force are just logical concepts, i.e., only words accepted for the designation of a lengthy series of complicated facts. It is difficult for us, educated almost exclusively along physical lines, to understand this clearly, but in substance it may be stated as follows: Who has seen matter and force, and when? We see things, see phenomena. Matter, independently of the substance from which a given thing is made, or of which it consists, we have never seen and never shall see; but the given substance is not quite matter, this is wood, or iron or stone. Similarly, we shall never see force separately from motion. What does this mean? It means that "matter" and "force" are just such abstract conceptions as "value" or "labor," as "the purchasing value of a coin" or the "contents" of a book; it means that matter is "such stuff as dreams are made of." And because we can never touch this "stuff" and can see it only in dreams, so we can never touch physical matter, nor see, nor hear, nor photograph it, separately from the object. We cognize things and phenomena which are bad or good, but we never cognize "matter" and "force" separately from things and phenomena. Matter is as much an abstract conception as are truth, good and evil. It is as impossible to put matter or any part of matter into a chemical retort or crucible as it is impossible to sell "Egyptian darkness" in vials. However as it is said that "Egyptian darkness" is sold as a black powder in Athos, or elsewhere, therefore perhaps somewhere, by some one, even matter has been seen.* In order to discuss questions of this order a certain preparation is necessary, or a high degree of intuition; but unfortunately it is customary to consider fundamental questions of cosmogony very lightly. A man easily admits his incompetency in music, dancing, or higher mathematics, but he always maintains the privilege of _having an opinion_ and being a judge of questions relating to "first principles." It is difficult to discuss with such men. For how will you answer a man who looks at you in perplexity, knocks on the table with his fingers and says, "This is matter. I know it; feel! How can it be an abstract conception?" To answer this is as difficult as to answer the man who says: "I see that the sun rises and sets!" Returning to the consideration of space, we shall under no circumstances introduce unknown quantities in the definition of it. We shall define it only in terms of those two data which we decided to accept at the very beginning. The world and consciousness are the facts which we decided to recognize as existing. By the world we mean the combination of all the causes of our sensations in general. By the material world we mean the combination of causes of a definite series of sensations: those of sight, hearing, touch, smell, taste, sensations of weight, and so on. Space is either a property of the world or a property of our knowledge of the world. Three-dimensional space is either a property of the material world or a property of our receptivity of the material world. Our inquiry is confined to the problem: how shall we approach the study of space? # **Chapter 3** What may we learn about the fourth dimension by a study of the geometrical relations within our space? What should be the relation between a three-dimensional body and one of four dimensions? The four-dimensional body as the tracing of the movement of a three-dimensional body in the direction which is not confined within it. A four-dimensional body as containing an infinite number of three-dimensional bodies. A three-dimensional body as a section of a four-dimensional one. Parts of bodies and entire bodies in three and in four dimensions. The incommensurability of a three-dimensional and a four-dimensional body. A material atom as a section of a four-dimensional line. IF WE CONSIDER the very great difference between the point and the line, between the line and the surface – surface and solid, i.e., the difference between the laws to which line and plane, plane and surface, etc., are subjected, and the difference of phenomena possible in point, in line, in surface, we shall indeed come to understand how much of the new and inconceivable the fourth dimension holds for us. As in the point it is impossible to imagine the line and the laws of the line; as in the line it is impossible to imagine the surface and the laws of the surface; as in the surface it is impossible to imagine the solid and the laws of the solid; so in our space it is impossible to imagine the body having more than three dimensions, and impossible to understand the laws of the existence of such a body. But studying the mutual relations between the point, the line, the surface, the solid, we begin to learn something about the fourth dimension, i.e., of four-dimensional space. We begin to learn _what it can be_ in comparison with our three-dimensional space, _and what it cannot be_. This last we learn first of all. And it is especially important, because it saves us from many deeply inculcated illusions, which are very detrimental to right knowledge. We learn _what cannot_ be in four-dimensional space, and this permits us to set forth _what can be there_. In his book, _The Fourth Dimension_ , Hinton makes an interesting statement concerning the method by which we may approach the problem of higher dimensions. He says: Our space itself bears within it relations through which we can establish relations to other (higher) spaces. For within space are given the conception of point and line, line and plane, which really involve the relation of space to a higher space. Let us consider these relations within our space, and see what conclusions we can derive from their investigation. We know that our geometry regards the line as a tracing of the movement of a point; the surface as a tracing of the movement of a line; and the solid as a tracing of the movement of a surface. On these premises we put to ourselves this question: Is it not possible to regard the "four-dimensional body" as a tracing of the movement of a three-dimensional body? But what is this movement, and in what direction? The _point_ , moving in space, and leaving the tracing of its movement, a line, moves in a direction not contained in it, because in a point there is no direction whatsoever. The line, moving in space, and leaving the tracing of its movement, the surface, moves in a direction not contained in it because, moving in a direction contained in it, a line will continue to be a line. The surface, moving in space, and leaving a tracing of its movement, the solid, moves also in a direction not contained in it. If it should move otherwise, it would remain always the surface. In order to leave a tracing of itself as a "solid," or three-dimensional figure, it must set off from itself, move in a direction which in itself it has not. In analogy with all this, the solid, in order to leave as the tracing of its movement, the four-dimensional figure (hyper solid) shall move in a direction not confined in it; or in other words it shall come out of itself, set off from itself, move in a direction which is not present in it. Later on it will be shown in what manner we shall understand this. But for the present we can say that the direction of the movement in the fourth dimension lies out of all those directions which are possible in a three-dimensional figure. We consider the line as an infinite number of points; the surface as an infinite number of lines; the solid as an infinite number of surfaces. In analogy with this it is possible to consider that it is necessary to regard a four-dimensional body as an infinite number of three-dimensional bodies, and four-dimensional space as an infinite number of three-dimensional spaces. Moreover, we know that the line is limited by points, that the surface is limited by lines, that the solid is limited by surfaces. It is possible that a four-dimensional body is limited by three-dimensional bodies. Or it is possible to say that the line is the distance between two points; the surface the distance between two lines; the solid – between two surfaces. Or again, that the line separates two points or several points from one another (for a straight line is the shortest distance between two points); that the surface separates two or several lines from each other; that the solid separates several surfaces one from another; as the cube separates six flat surfaces one from another – its faces. The line binds several separate points into a certain whole (the straight,, the curved, the broken line); the surface binds several lines into a certain whole (the quadrilateral, the triangle); the solid binds several surfaces into a certain whole (the cube, the pyramid). It is possible that four-dimensional space is the distance between a group of solids, separating these solids, yet at the same time binding them into some to us inconceivable whole, even though they seem to be separate from one another. Moreover, we regard the point as a section of a line, the line as a section of a surface; the surface as a section of a solid. By analogy, it is possible to regard the solid (the cube, sphere, pyramid) as _a section_ of a four-dimensional body, and our entire three-dimensional space as a section of a four-dimensional space. If every three-dimensional body is the section of a four-dimensional one, then every point of a three-dimensional body is the section of a four-dimensional line. It is possible to regard an "atom" of a physical body, _not as something material_ , but as an intersection of a four-dimensional line by the plane of our consciousness. The view of a three-dimensional body as the section of a four-dimensional one leads to the thought that many (for us) separate bodies may be _the sections of parts_ of one four-dimensional body. A simple example will clarify this thought. If we imagine a horizontal plane, intersecting the top of a tree, and parallel to the surface of the earth, then _upon this plane_ the sections of branches will seem separate, and not bound to one another. Yet in our space, from our standpoint, these are sections of branches of _one_ tree, comprising together one top, nourished from one root, casting one shadow. Or here is another interesting example expressing the same idea, given by Mr. Leadbeater, the theosophical writer, in one of his books. If we touch the surface of a table with our finger tips, then upon the surface will be just five circles, and from this plane presentment it is impossible to construe any idea of the hand, and of the man to whom this hand belongs. Upon the table's surface will be five _separate_ circles. How from them is it possible to imagine a man, with all the richness of his physical and spiritual life? It is impossible. Our relation to the four-dimensional world will be analogous to the relation of that consciousness which sees five circles upon the table to _a man_. We see just "finger tips" – to us the fourth dimension is inconceivable. We know that it is possible to _represent_ a three-dimensional body upon a plane, that it is possible to draw a cube, a polyhedron or a sphere. This will not be a real cube or a real sphere, but the projection of a cube or of a sphere on a plane. We may conceive of the three-dimensional bodies of our space somewhat in the nature of _images_ in our space of to us incomprehensible four-dimensional bodies. # **Chapter 4** In what direction may the fourth dimension lie? What is motion? Two kinds of motion – motion in space and motion in time – which are contained in every movement. What is time? Two ideas contained in the conception of time. The new dimension of space, and motion upon that dimension. Time as the fourth dimension of space. Impossibility of understanding the fourth dimension without the idea of motion. The idea of motion and the "time-sense." The time-sense as a limit (surface) of the "space-sense." Hinton on the law of surfaces. The "ether" as a surface. Riemann's idea concerning the translation of time into space in the fourth dimension. Present, past, and future. Why we do not see the past and the future. Life as a feeling of one's way. Wundt on the subject of our sensuous knowledge. WE HAVE ESTABLISHED by a comparison of the relation of lower dimensional figures to higher dimensional ones that it is possible to regard a four-dimensional body as the tracing of the motion of a three-dimensional body upon the dimension not contained in it; i.e., that the direction of the motion upon the fourth dimension lies outside of all the directions which are possible in three-dimensional space. But in what direction is it? In order to answer this question it will be necessary to discover whether we do not know some motion not confined in three-dimensional space. We know that every motion in space is accompanied by that which we call motion in time. Moreover, we know that everything existing, even if not moving in space, moves eternally in time. And equally in all cases, whether speaking of motion or absence of motion, we have in mind an idea of what was before, what now becomes, and what will follow after. In other words, we have in mind the idea of time. The idea of motion of any kind, also the idea of absence of motion, is indissolubly bound up with the idea of time. Any motion or absence of motion proceeds in time and cannot proceed out of time. Consequently, before speaking of what motion is, we must answer the question, what is time? Time is the most formidable and difficult problem which confronts humanity. Kant regards time as he does space: as a subjective form of our receptivity; i.e., he says that we create time ourselves, as a function of our receptive apparatus, for convenience in perceiving the outside world. Reality is continuous and constant, but in order to make possible the perception of it, we must dissever it into separate moments; imagine it as an infinite series of separate moments out of which there exists for us only one. In other words, we perceive reality as if through a narrow slit, and what we are seeing through this slit we call the present; what we did see and now do not see – the past; and what we do not quite see but are expecting – the future. Regarding each phenomenon as an effect of another, or others, and this in its turn as a cause of a third; that is, regarding all phenomena in functional interdependence one upon another, by this very act we are contemplating them in time, because we picture to ourselves quite clearly and precisely first a cause, then an effect; first an action, then its function; and cannot contemplate them otherwise. Thus we may say that the idea of time is bound up with the idea of causation and functional interdependence. Without time, causation cannot exist, just as without time, motion or the absence of motion cannot exist. But our perception concerning our "being in time" is entangled and misty up to improbability. First of all let us analyze our relation toward the past, present and future. Usually we think that the past already does not exist. It has passed, disappeared, altered, and transformed itself into something else. The future also does not exist – it does not exist as yet. It has not arrived, has not formed. By the present we mean the moment of transition of the future into the past, i.e., the moment of transition of a phenomenon from one non-existence into another non-existence. For that moment only does the phenomenon exist for us in reality; before, it existed in potentiality, afterward it will exist in remembrance. But this short moment is after all only a fiction: it has no measurement. We have a full right to say that the present does not exist. We can never catch it. That which we did catch is always the past! If we are to stop at that we must admit that the world does not exist, or exists only in some phantasmagoria of illusions, flashing and disappearing. Usually we take no account of this, and do not reflect that our customary view of time leads to utter absurdity. Let us imagine a stupid traveler going from one city to another and half way between these two cities. A stupid traveler thinks that the city from which he has departed last week does not exist _now_ : only the memory of it is left; the walls are ruined, the towers fallen, the inhabitants have either died or gone away. Also, that city at which he is destined to arrive in several days does not exist now either, but is being hurriedly built for his arrival, and on the day of that arrival will be ready, populated, and set in order, and on the day after his departure will be destroyed just as was the first one. We are thinking of things in time exactly in this way – everything passes away, nothing returns! The spring has passed; it does not exist _still_. The autumn has not come; it does not exist _as yet_. But what does exist? The present. But _the present_ is not a seizable moment; it is continuously transitory into the past. So, strictly speaking, neither the past, nor the present, nor the future exists for us. _Nothing exists!_ And yet we are living, feeling, thinking – and something surrounds us. Consequently, in our usual attitude toward time there exists some mistake. This error we shall endeavor to detect. We accepted at the very beginning that _something_ exists. We called that something the world. How then can the world exist if it is not existing in the past, in the present and in the future? That conception of the world which we deduced from our usual view of time makes the world appear like a continuously gushing out igneous fountain of fireworks, each spark of which flashes for a moment and disappears, _never_ to appear any more. Flashes are going on continuously, following one after another, there are an infinite number of sparks, and everything together produces the impression of a flame, _though it does not exist in reality_. The autumn has not yet come. _It will be, but it does not exist now_. And we give no thought to how that can _appear_ which is _not_. We are moving upon a plane, and recognize as really existing only the small circle lighted by our consciousness. Everything out of this circle, which we do not see, we negate; we do not like to admit that it exists. We are moving upon the plane in one direction. This direction we consider as eternal and infinite. But the direction _at right angles_ to it, those lines which we are intersecting, we do not like to recognize as eternal and infinite. We imagine them as going into nonexistence at once, as soon as we have passed them, and that the lines before us have not as yet risen out of non-existence. If, presupposing that we are moving upon a sphere, upon its equator or one of its parallels, then it will appear that we recognize as really existing _only one_ meridian: those which are behind us have disappeared and those ahead of us have not appeared as yet. . We are going forward like a blind man, who feels paving stones and lanterns and walls of houses with his stick and _believes_ in the real existence of only that which he touches _now_ , which he feels _now_. That which has passed has disappeared and will never return! That which has not as yet been does not exist. The blind man remembers the route which he has traversed; he expects that ahead the way will continue, but he sees neither forward nor backward _because he does not see anything_ ; because his instrument of knowledge – the stick – has a definite, and not very great length, and beyond the reach of his stick non-existence begins. Wundt, in one of his books, called attention to the fact that our vaunted five organs of sense are in reality just _feelers_ by which we feel the world around us. We live groping about. _We never see anything_. We are always just feeling everything. With the help of the microscope and the telescope, the telegraph and the telephone, we are extending our feelers a little, so to speak, but we are not beginning _to see_. To say that we _are seeing_ would be possible only in case we could know the past and the future. But we do not see, and because of this we can never assure ourselves of that which we cannot _feel_. This is the reason why we count as really existing only that circle which our feelers grasp at a given moment. Beyond that — darkness and non-existence. But have we any right _to think_ in this way? Let us imagine a consciousness that is not bound by the conditions of sensuous receptivity. Such a consciousness can rise above the plane upon which we are moving; it can see far beyond the limits of the circle enlightened by our usual consciousness; it can see that not only does the line upon which we are moving exist, but also all lines perpendicular to it which we are intersecting, which we have ever intersected, and which we shall intersect. After rising above the plane this consciousness can see the plane, can convince itself that it is really a plane, and not a single line. Then it can see the past and the future, lying together and existing simultaneously. That consciousness which is not bound by the conditions of sensuous receptivity can outrun the stupid traveler, ascend the mountain to see in the distance the town to which he is going, and be convinced that this town is not being built anew for his arrival, but exists quite independently of the stupid traveler. And that consciousness can look off and see on the horizon the towers of that city where that traveler had been, and be convinced that those towers have not fallen, that the city continues to stay and live just as it stayed and lived before the traveler's advent. It can rise above the plane of time and see the spring behind and the autumn ahead, see simultaneously the budding flowers and ripening fruits. It can make _the blind man_ recover his sight and see the road along which he passed and that which still lies before him. The past and the future cannot _not exist_ , because if they do not exist then neither does the present exist. Unquestionably they exist _somewhere_ together, but we do not see them. The present, compared with the past and the future, is the most unreal of all unrealities. We are forced to admit that the past, the present and the future do not differ in anything, one from another; there exists just _one present_ – _the Eternal Now_ of Hindu philosophy. But we do not perceive this, because in every given moment we experience just a little bit of that present, and this alone we count as existent, denying a real existence to everything else. If we admit this, then our view of everything with which we are surrounded will change very considerably. Usually we regard time as _an abstraction_ , made by us _during the observation of really existing motion_. That is, we think that observing motion, or changes of relations between things and comparing the relations which existed before, which exist now, and which may exist in the future, that we are deducing the idea of time. We shall see later on how far this view is correct. Thus the idea of time is composed of the conception of the past, of the present, and of the future. Our conceptions of the past and present, though not very clear, are yet very much alike. As to _the future_ there exists a great variety of views. It is necessary for us to analyze _the theories of the future_ as they exist in the mind of contemporary man. There are in existence two theories – that of the foreordained future, and that of the free future. Foreordination is established in this way: we say that every future event is the result of those which happened before, and is created such as it will be and not otherwise as a consequence of a definite direction of forces which are contained in preceding events. This means, in other words, that future events are 'wholly contained in preceding ones, and if we could know the force and direction of all events which have happened up to the present moment, i.e., if we knew all the past, by this we could know _all_ the future. And sometimes, knowing the _present moment_ thoroughly, in all its details, we may really _foretell_the future. If the prophecy is not fulfilled, we say that we _did not know all that had been_ , and we discover in the past some cause which had escaped our observation. The idea of the free future is founded upon the possibility of voluntary action and _accidental_ new combinations of causes. The future is regarded as quite indefinite, or defined only in part, because in every given moment new forces, new events and new phenomena are born which lie in a potential state, not causeless, but so incommensurable with causes – as the firing of a city from one spark – that it is impossible to detect or measure them. This theory affirms that one and the same action can have different results; one and the same cause, different effects; and it introduces the hypothesis of quite arbitrary volitional actions on the part of a man, bringing about profound changes in the subsequent events of his own life and the lives of others. Supporters of the foreordination theory contend on the contrary that volitional, involuntary actions depend also upon causes, making them necessary and unavoidable at a given moment; that there is nothing accidental, and that there cannot be; that we call accidental only those things the causes of which we do not see by reason of our limitations; and that different effects of causes seemingly the same occur because the causes are different in reality and only seem similar for the reason that we do not understand them well enough nor see them sufficiently clearly. The dispute between the theory of the foreordained future and that of the free future is an infinite dispute. Neither of these theories can say anything decisive. This is so because both theories are too literal, too inflexible, too material, and one repudiates the other: both say, "either this or the other." In the one case there results a complete cold predestination: _that which will be, will be, nothing can be changed_ – that which will befall tomorrow was predestined tens of thousands of years ago. There results in the other case a life upon some sort of needle-point called _the present_ , which is surrounded on all sides by an abyss of non-existence, _a journey in a country_ _which does not as yet exist_ , a life in a world which is born and dies every moment, in which _nothing ever returns_. And both these opposite views are equally untrue, because the truth, in the given case, as in so many others, is contained in a union of two opposite understandings in one. In every given moment all the future of the world is predestined and is existing, but is predestined conditionally, i.e., it will be such or another future according to the direction of events at a given moment, unless there enters _a new fact_ , and a new fact can enter only from the side of _consciousness_ and the will resulting from it. It is necessary to understand this, and to master it. Besides this we are hindered from a right conception of the relation of the present toward the future by our misunderstanding of the relation of the present to the past. The difference of opinion exists only concerning _the future_ ; concerning the past all agree that it has passed, that it does not exist now! – _And that it was such as it has been_. In this last lies the key to the understanding of the incorrectness of our views of the future. As a matter of fact, in reality our relation both to the past and to the future is far more complicated than it seems to us. In the past, behind us, lies not only that which really happened, _but that which could have been_. In the same way, in the future lies not only that which will be, _but everything that may be_. The past and the future are equally undetermined, equally exist in all their possibilities, and equally exist simultaneously with the present. By time we mean _the distance_ separating events in the order of their succession and binding them in different wholes. This distance lies in a direction not contained in _three-dimensional_ space; therefore it will be _the new dimension of space_. _This new dimension satisfies all possible requirements of the fourth dimension on the ground of the preceding reasoning_. It is incommensurable with _the dimensions of three-dimensional space_ , as _a year_ is incommensurable with St. Petersburg. It is perpendicular to all directions of three-dimensional space and is not parallel to any of them. As a deduction from all the preceding we may say that _time_ (as it is usually understood) includes in itself _two ideas_ : that of a certain to us unknown space (the fourth dimension), and that of a motion upon this space. Our constant mistake consists in the fact that in time we never see two ideas, but see always only one. Usually we see in _time_ the idea of motion, but cannot say from whence, where, whither, nor upon what space. Attempts have been made heretofore to unite the idea of the fourth dimension with the idea of time. But in those theories which have attempted to combine the idea of time with the idea of the fourth dimension appeared always the idea of some spatial element as existing in time, and along with it was admitted _motion upon that space_. Those who were constructing these theories evidently did not understand that leaving out the possibility of motion they were advancing the demand for a new time, because motion cannot proceed out of time. And as a result time goes ahead of us, like our shadow, receding according as we approach it. All our perceptions of motion have become confused. If we imagine the new dimension of space and _the possibility_ of motion upon this new dimension, time will still elude us, and declare that it is unexplained, exactly as it was unexplained before. It is necessary to admit that by one term, _time_ ; we designate really two ideas – "a certain space" and "motion upon that space." This motion does not exist in reality, and it seems to us as existing only because we do not see the spatiality of time. That is, the sensation of motion in time (and motion out of time does not exist) arises in us because we are looking at the world as if through a narrow slit, and are seeing the _lines of intersection_ of the time-plane with our three-dimensional space only. Therefore it is necessary to declare how profoundly incorrect is our usual theory that the idea of time is deduced by us from the observation of motion, and is really nothing more than the idea of that succession which is observed by us in motion. It is necessary to recognize quite the reverse: that the idea of motion is deduced by us out of an incomplete sensation of time, or of the time-sense, i.e., out of a sense or sensation of the fourth dimension, but out of an _incomplete_ sensation. This incomplete sensation of time (of the fourth dimension) – the sensation through the slit – gives us the sensation of motion, that is, creates an illusion of motion which does not exist in reality, but instead of which there exists in reality only the extension upon a direction inconceivable to us. One other aspect of the question has very great significance. The fourth dimension is bound up with the ideas of "time" and "motion." But up to this point we shall not be able to understand _the fourth dimension_ unless we shall understand the fifth dimension. Attempting to look at time as at an object, Kant says that it has one dimension: i.e., he imagines time as a line extending from the infinite future into the infinite past. Of one point of this line we are conscious – always only one point. And this point has no dimension because that which in the usual sense we call the present, is the recent past, and sometimes also the near future. This would be true in relation to our _illusory_ perception of time. But in reality _eternity_ is not the infinite dimension of time, but the one _perpendicular to time_ , because, if eternity exists, then every moment is eternal. The line of time extends in that order of succession of phenomena which are in causal interdependence – first the cause, then the effect: before, now, after. _The line of eternity_ extends perpendicularly to that line. It is impossible to understand the idea of time without conceiving in imagination the idea of eternity; it is likewise impossible to understand space if we have no idea of time. From the standpoint of eternity, _time_ does not differ in anything from the other lines and dimensions of space – length, breadth, and height. This means that just as in space exist the things that we do not see, or speaking differently, not alone that which we see, so in time "events" exist before our consciousness has touched them, and they still exist after our consciousness has left them behind. Consequently, _extension in time_ is extension into unknown space, and therefore time is _the fourth dimension of space_. It is necessary that we should regard time _as a spatial conception_ considered with relation to our two data – the world and consciousness (psychic life). The idea of time arises through the knowledge of the world by means of sensuous receptivity. It has been previously explained that because of the properties of our sensuous receptivity we see the world as through a narrow slit. Out of this the following questions arise: 1. What accounts for the existence in the world of illusionary motion? That is, why do we not see, through this slit, _the same thing_? Why, behind the slit, do changes proceed creating the illusion of motion: that is, how and in what manner does the focus of our receptivity run over the world of phenomena? In addition to all this it is necessary to remember that through the same slit through which we see the world we observe ourselves and see in ourselves changes similar to the changes in the rest of things. 2. Why can we not extend that slit? It is necessary to answer these questions. First of all it is important to note that within the limits of our usual observation our receptivity is always conditioned in the same way and cannot escape these conditions. In other words, it is chained, as it were, to some plane above which it cannot rise. These _conditions_ , or that _plane_ we call, in the inner world, consciousness or level of consciousness; in the outer world we call them _matter_ or the density of matter. (The word density is used in this connection not in the sense of a solid, liquid or gaseous state, but in the sense of the physical, the astral and the mental plane – accepting temporarily the terminology employed in contemporary theosophical literature.) Our usual psychic life proceeds upon some definite plane (of consciousness or matter) and never rises above it. If our receptivity could rise above this plane it would undoubtedly perceive _simultaneously_ , below itself, a far greater number of events than it usually sees while on a plane. Just as a man, ascending a mountain, or going up in a balloon, begins to see _simultaneously_ and _at once_ many things which it is impossible to see simultaneously and at once from below — the movement of two trains toward one another between which a collision will occur; the approach of an enemy detachment to a sleeping camp; two cities divided by a ridge, etc. – so consciousness rising above the plane in which it usually functions, must see simultaneously the events divided for ordinary consciousness by _periods of time_. These will be the events which ordinary consciousness _never_ sees together, as: _cause_ and _effect_ ; the work and the payment; the crime and the punishment; the movement of trains toward one another and their collision; the approach of the enemy and the battle; the sunrise and the sunset; the morning and the evening; the day and the night; spring, autumn, summer and winter; the birth and the death of a man. The angle of vision will enlarge during such an ascent, the moment will expand. If we imagine a receptivity which is on a level higher than _our consciousness_ , possessing a broader angle of view, then this receptivity will be able to grasp, as something simultaneous, i.e., _as a moment_ , all that is happening for us during a certain length of time – minutes, hours, a day, a month. Within the limits of its between _before, now, after_ ; all this will be for it _now_. Now will expand. But in order for this to _happen_ it would be necessary for us to liberate ourselves from matter, because matter is nothing more than the conditions of space and time in which we dwell. Thence arises the question: can consciousness leave the conditions of a given material existence without itself undergoing fundamental changes, or without disappearing altogether, as men of positivistic views would affirm? This is a debatable question, and later I shall give examples and proofs, speaking on behalf of the idea that our consciousness can leave the conditions of a given materiality. For the present I wish to establish _what must proceed_ during this leaving. There would ensue _the expansion of the moment_ , i.e., all that we are apprehending _in time_ would become something like a single moment, in which the past, the present, and the future would be seen at once. This shows the relativity of motion, as depending for us upon the limitation of the moment, which includes only a very small part of the moments of life perceived by us. We have a perfect right to say, not that " _time_ " is deduced from "motion," but that motion is sensed because of the _timesense_. We have that sense, therefore we sense motion. The time-sense is the sensation of changing moments. If we did not have this time-sense we could not feel motion. The "timesense" is itself, in substance, _the limit_ or _the surface_ of our "space-sense." Where the "space-sense" ends, there the "timesense" begins. It has been made clear that "time" is identical in its properties with "space," i.e., it has all the signs of _space extension_. However, we do not feel it as spatial extension, but we feel it as time, that is, as something specific, inexpressible – in other words, uninterruptedly bound up with "motion." This inability to sense time spatially has its origin in the fact that the time-sense is a _misty space-sense_ ; by means of our time-sense we feel obscurely the new characteristics of space, which extend out from the sphere of three dimensions. But what is the time-sense and why does there arise the illusion of motion? To answer this question at all satisfactorily is possible only by studying the forms and levels of psychic life. "I" is a complicated quantity, and within it goes on a continuous motion. About the nature of this motion we shall speak later, but this very motion inside of us creates the illusion of motion around us, motion in the material world. The noted mathematician Riemann understood that when higher dimensions of space are in question, _time, by some means, translates itself into space_ , and he regarded the MATERIAL ATOM as _the entrance of the fourth dimension into three-dimensional space_. In one of his books Hinton writes very interestingly about "surface tensions": The relationship of a surface to a solid or of a solid to a higher solid is one which we often find in nature. A surface is nothing more nor less than the relation between two things. Two bodies touch each other. The surface is the relationship of one to the other. If our space is in the same co-relation with higher space as is the surface to our space, then it may be that our space is really the surface, that is, the place of contact, of two higher-dimensional spaces. It is a fact worthy of notice that in the surface of a fluid different laws obtain from those which hold throughout the mass. There is a whole series of facts which are grouped together under the name of surface tensions, which are of great importance in physics, and by which the behavior of the surfaces of liquids is governed. And it may well be that the laws of our universe are the surface tensions of a higher universe. If the surface be regarded as a medium lying between bodies, then indeed it will have no weight, but be a powerful means of transmitting vibrations. Moreover, it would be unlike any other substance, and it would be impossible to get rid of it. However perfect a vacuum be made, there would be in this vacuum just as much of this unknown medium (i.e., of that surface) as there was before. Matter would pass freely through this medium... vibrations of this medium would tear asunder portions of matter. And involuntarily the conclusion would be drawn that this medium was unlike any ordinary matter.... These would be very different properties to reconcile in one and the same substance. Now is there anything in our experience which corresponds to this medium?... Do we suppose the existence of any medium through which matter freely moves, which yet by its vibrations destroys the combinations of matter – some medium which is present in every vacuum however perfect, which penetrates all bodies, is weightless, and yet can never be laid hold of. The "substance" which possesses all these qualities is called the "ether." The properties of the ether are a perpetual object of investigation in science.... But taking into consideration the ideas expressed before it would be interesting to look at the world supposing that we are not in it but on the ether; where the "ether" is the surface of contact of two bodies of higher dimensions. Hinton here expresses an unusually interesting thought, and brings the idea of the "ether" nearer to the idea of time. The materialistic, or even the energetic understanding of contemporary physics of the ether is perfectly fruitless – a dead-end siding. For Hinton the ether is not a substance but only a "surface," the "boundary" of something. But of what? Again not that of a _substance_ , but the boundary, the surface, the limit of _one form_ of _receptivity_ and the beginning of another.... In one sentence the walls and fences of the materialistic dead-end siding are broken down and before our thought open wide horizons of regions unexplored. # **Chapter 5** Four-dimensional space. "Temporal body" – _Linga Shar īra_. The form of a human body from birth to death. Incommensurability of three-dimensional and four-dimensional bodies. Newton's fluents. The unreality of constant quantities in our world. The right and the left hands in three-dimensional and in four-dimensional space. Difference between three-dimensional and four-dimensional space. Not two different spaces but different methods of receptivity of one and the same world. FOUR DIMENSIONAL SPACE, if we try to imagine it to ourselves, will be the infinite repetition of our space, of our infinite three-dimensional sphere, as a line is the infinite repetition of a point. Many things that have been said before will become much clearer to us when we dwell on the fact that the fourth dimension must be sought for _in time_. It will become clear what is meant by the fact that it is possible to regard a four-dimensional body as the tracing of the movement in space of a three-dimensional body in a direction not confined within that space. Now the direction not confined in three-dimensional space in which any three-dimensional body moves – this is the direction of time. Any three-dimensional body, _existing_ , is at the same time moving in time and leaves as a tracing of its movement the temporal, or four-dimensional body. We never see or feel this body, because of the limitations of our receptive apparatus, but we see the _section_ of it only, which section we call the three-dimensional body. Therefore we are in error in thinking that the three-dimensional body is in itself something real. It is the _projection_ of the four-dimensional body – its picture – the image of it _on our plane_. The four-dimensional body is the infinite number of three-dimensional bodies. That is, the four-dimensional body is the infinite number of _moments of existence_ of the three-dimensional one – its states and positions. The three-dimensional body which we see appears as a single figure – one of a series of pictures on a cinematographic film as it were. Four-dimensional space (time) is really the distance between the forms, states, and positions of one and the same body (and different bodies, i.e., those seeming different to us). It separates those states, forms, and positions each from the other, and it binds them also into some to us incomprehensible whole. This incomprehensible whole can be formed in time out of one physical body – and out of _different_ bodies. It is easier for us to imagine _the temporal whole_ as related to _one_ physical body. If we consider the physical body of a man, we shall find in it besides its "matter" _something_ , it is true, changing, but undoubtedly _one and the same_ from birth until death. This something is the _Linga-Shar īra_ of Hindu philosophy, i.e., _the form on which our physical body is molded_. (H. P. Blavatsky: _The Secret Doctrine_.) Eastern philosophy regards the physical body as something _impermanent_ which is in a condition of perpetual interchange with its surroundings. The particles come and go. _After one second_ the body is already not absolutely the same as it was one second before. Today it is in a considerable degree not that which it was yesterday. After seven years it is _a quite different body_. But despite all this, _something_ always persists from birth to death, changing its aspect a little, but remaining the same. This is the _Linga-Shar īra_. The _Linga-Shar īra_ is the form, _the image_ : it changes, but remains the same. That image of a man which we are able to represent to ourselves is not the _Linga-Shar īra_. But if we try to represent to ourselves mentally the image of a man from birth to death, with all the particularities and traits of childhood, manhood and senility, as if extended in time, when it will be the _Linga-Shar īra_. Form pertains to all _things_. We say that everything consists of _matter and form_. Under the category of "matter," as already stated, the cause of a lengthy series of mixed sensations is predicated, but matter without form is not comprehensible to us; we cannot even _think_ of matter without form. But we can think and imagine form without matter. The _thing_ , i.e., the union of form and matter, is never _constant_ ; it always changes in the course of time. This idea afforded Newton the possibility of building his theory of _fluents_ and _fluxions_. Newton came to the conclusion that _constant quantities_ do not exist in nature. Variables do exist – _flowing, fluents_ only. The velocities with which different fluents change were called by Newton _fiuxions_. From the standpoint of this theory all things known to us – men, plants, animals, planets – are fluents, and they differ by the magnitude of their fluxions. But the _thing_ , changing continuously in time, sometimes very much, and quickly, as in the case of a living body for example, still remains _one and the same_. The body of a man in youth, and the body of a man in senility – these are one and the same, though we know that in the old body there is not one atom left that was in the young one. The matter changes, but _something_ remains one under all changes, this something is the _Linga-Shar īra_. Newton's theory is valid for the three-dimensional world existing in time. In this world there is nothing constant. All is variable because every consecutive moment the thing is already not that which it was before. We never see the _Linga-Shar īra_, we see always its parts, and they appear to us variable. But if we observe more attentively we shall see that it is an illusion. Things of three dimensions are unreal and variable. They cannot be real because they do not exist in reality, just as the _imaginary sections_ of a solid do not exist. Four-dimensional bodies alone are real. In one of the lectures contained in the book, _A Pluralistic Universe_ , Prof. James calls attention to Prof. Bergson's remark that science studies always only the _t_ of " _the universe_ " i.e., not the universe in its entirety, but the _moment_ , the "temporal section" of the universe. The properties of four-dimensional space will become clearer to us if we compare in detail three-dimensional space with the surface, and discover the differences existing between them. Hinton, in his book, _A New Era of Thought_ , examines these differences very attentively. He represents to himself, on a plane, two equal rectangular triangles, cut out of paper, the right angles of which are placed in opposite directions. These triangles will be equal, but _for some reason_ quite different. The right angle of one is directed to the right, that of the other to the left. If anyone wants to make them quite similar, it is possible to do so only with the help of three-dimensional space. That is, it is necessary to take one triangle, turn it over, and put it back on the plane. Then they will be two equal, and _exactly similar_ triangles. But in order to effect this, it was necessary to take one triangle from the plane into three-dimensional space, and turn it over in that space. If the triangle is left on the plane, then it will never be possible to make it identical with the other, keeping the same relation of angles of the one to those of the other. If the triangle is merely rotated in the plane this similarity will never be established. In our world there are figures quite analogous to these two triangles. We know certain shapes which are equal the one to the other, which are exactly similar, and yet which we cannot make fit into the same portion of space, either practically or by imagination. If we look at our two hands we see this clearly, though the two hands represent a complex case of a symmetrical similarity. Now there is one way in which the right hand and the left hand may practically be brought into likeness. If we take the right hand glove and the left hand glove, they will not fit any more than the right hand will coincide with the left hand; but if we turn one glove inside out, then it will fit. Now suppose the same thing done with the solid hand as is done with the glove when it is turned inside out, we must suppose it, so to speak, pulled through itself.... If such an operation were possible, the right hand would be turned into an exact model of the left hand. But such an operation would be possible in the higher dimensional space only, just as the overturning of the triangle is possible only in a space relatively higher than the plane. Even granting the existence of four-dimensional space, it is possible that the turning of the hand inside out and the pulling of it through itself is a practical impossibility on account of causes independent of geometrical conditions. But this does not diminish its value as an example. Things like the turning of the hand inside out are possible theoretically in four-dimensional space because in this space different, and even distant points of our space _and time_ touch, or have the possibility of contact. All points of a sheet of paper lying on a table are separated one from another, but by taking the sheet from the table it is possible to fold it in such a way as to bring together any given points. If on one corner is written _St. Petersburg_ , and on another _Madras_ , nothing prevents the putting together of these corners. And if on the third corner is written the year 1812, and on the fourth 1912, these corners can touch each other too. If on one corner the year is written in red ink, and the ink has not yet dried, then the figures may imprint themselves on the other corner. And if afterwards the sheet is straightened out and laid on the table, it will be perfectly incomprehensible, to a man who has not followed the operation, how the figure from one corner could transfer itself to another corner. For such a man the possibility of the contact of remote points of the sheet will be incomprehensible, and it will remain incomprehensible so long as he thinks of the sheet in two-dimensional space only. The moment he imagines the sheet in three-dimensional space this possibility will become real and obvious to him. In considering the relation of the fourth dimension to the three known to us, we must conclude that our geometry is obviously insufficient for the investigation of higher space. As before stated, a four-dimensional body is as incommensurable with a three-dimensional one as a year is incommensurable with St. Petersburg. It is quite clear why this is so. The four-dimensional body consists of on infinitely great number of three-dimensional bodies; accordingly, there cannot be a common measure for them. The three-dimensional body, in comparison with the four-dimensional one is equivalent to the point in comparison with the line. And just as the point is incommensurable with the line, so is the line incommensurable with the surface; as the surface is incommensurable with the solid body, so is the three-dimensional body incommensurable with the four-dimensional one. It is clear also why the geometry of three dimensions is insufficient for the definition of the position of the region of the fourth dimension in relation to three-dimensional space. Just as in the geometry of one dimension, that is, upon the line, it is impossible to define the position of the surface, the side of which constitutes the given line; just as in the geometry of two dimensions, i.e., upon the surface, it is impossible to define the position of the solid, the side of which constitutes the given surface, so in the geometry of three dimensions, in three-dimensional space, it is impossible to define a four-dimensional space. Briefly speaking, as planimetry is insufficient for the investigation of the problems of stereometry, so is stereometry insufficient for four-dimensional space. As a conclusion from all of the above we may repeat that every point of our space is the section of a line in higher space, or as B. Riemann expressed it: the material atom is the entrance of the fourth dimension into three-dimensional space. For a nearer approach to the problem of higher dimensions and of higher space it is necessary first of all to understand the constitution and properties of the higher dimensional region in comparison with the region of three dimensions. Then only will appear the possibility of a more exact investigation of this region, and a classification of the laws governing it. What is it that it is necessary to understand? It seems to me that first of all it is necessary to understand that we are considering not two regions spatially different, and not two regions of which one (again spatially, "geometrically") constitutes a part of the other, but two methods of receptivity of one and the same unique world of a space which is unique. Furthermore it is necessary to understand that all objects known to us exist not only in those categories in which they are perceived by us, but in an infinite number of others in which we do not and cannot sense them. And we must learn first to think things in other categories, and then so far as we are able, to imagine them therein. Only after doing this can we possibly develop the faculty to apprehend them in higher space – and to sense "higher" space itself. Or perhaps the first necessity is the direct perception of everything in the outside world which does not fit into the frame of three dimensions, which exists independently of the categories of time and space – everything that for this reason we are accustomed to consider as non-existent. If variability is an indication of the three-dimensional world, then let us search for the constant and thereby approach to an understanding of the four-dimensional world. We have become accustomed to count as really existing only that which is measurable in terms of length, breadth and height; but as has been shown it is necessary to expand the limits of the really existing. Mensurability is too rough an indication of existence, because mensurability itself is too conditioned a conception. We may say that for any approach to the exact investigation of the higher dimensional region the certainty obtained by the immediate sensation is probably indispensable; that much that is immeasurable exists just as really as, and even more really than, much that is measurable. # **Chapter 6** Methods of investigation of the problem of higher dimensions. The analogy between imaginary worlds of different dimensions. The onedimensional world on a line. "Space" and "time" of a one-dimensional being. The two-dimensional world on a plane. "Space" and "time," "ether," "matter" and "motion" of a two-dimensional being. Reality and illusion on a plane. The impossibility of seeing an "angle." An angle as motion. The incomprehensibility to a two-dimensional being of the functions of things in our world. Phenomena and noumena of a two-dimensional being. How could a plain being comprehend the third dimension? A SERIES OF ANALOGIES and comparisons are used for the definition of that which can be, and that which cannot be, in the region of the higher dimension. We imagine "worlds" of one, and of two dimensions, and out of the relations of lower-dimensional worlds to higher ones we deduce possible relations of our world to one of four dimensions; just as out of the relations of points to lines, of lines to surfaces, and of surfaces to solids we deduce the relations of our solids to four-dimensional ones. Let us try to investigate everything that this method of analogy can yield. Let us imagine _a world of one dimension_. It will be a line. Upon this line let us imagine living beings. Upon this line, which represents the universe for them, they will be able to move forward and backward only, and these beings will be as the points, or segments of a line. Nothing will exist for them outside their line – and they will not be aware of the line upon which they are living and moving. For there will exist only two points, ahead and behind, or may be just one point ahead. Noticing the change in states of these points, the one-dimensional being will call these changes _phenomena_. If we suppose the line upon which the one-dimensional being lives to be passing through the different objects of our world, then of all these objects the one-dimensional being will perceive one point only; if different bodies intersect his line, the one-dimensional being will sense them only as the appearance, the more or less prolonged existence, and the disappearance of a point. This appearance, existence, and disappearance of a point will constitute _a phenomenon_. Phenomena, according to the character and properties of passing objects and the velocity and properties of their motions, for the onedimensional being will be constant or variable, long or short timed, periodical or unperiodical. But the one-dimensional being will be absolutely unable to understand or explain the constancy or variability, the duration or brevity, the periodicity or unperiodicity of the phenomena of his world, and will regard these simply as properties of such phenomena. The solids intersecting his line may be different, but for the onedimensional being all phenomena will be absolutely _identical_ – just the appearance or the disappearance of a point – and phenomena will differ only in duration and in greater or less periodicity. Such strange monotony and similarity of the diverse and heterogeneous phenomena of our world will be the characteristic peculiarity of the one-dimensional world. Moreover, if we assume that the one-dimensional being possesses memory, it is clear that recalling all the points seen by him as phenomena, he will refer them to time. The point which _was_ : this is the phenomenon already non-existent, and the point which may appear tomorrow: this is the phenomenon which does not exist _as yet_. All of our space except one line will be in the category of time, i.e., something wherefrom phenomena come and into which they disappear. And the one-dimensional being will declare that the idea of time arises for him out of the observation of motion, that is to say, out of the appearance and disappearance of points. These will be considered as temporal phenomena, beginning at that moment when they become visible, and ending – _ceasing to exist_ – at that moment when they become invisible. The one-dimensional being will not be in a position to imagine that the phenomenon goes on existing somewhere, though invisibly to him; or he will imagine it as existing somewhere on his line, far ahead of him. We can imagine this one-dimensional being more vividly. Let us take an atom hovering in space, or simply a particle of dust, carried along by the air, and let us imagine that this atom or particle of dust possesses a consciousness, i.e., separates himself from the outside world, and is conscious only of that which lies in the line of his motion, and with which he himself comes in contact. He will then be a one-dimensional being in the full sense of the word. He can fly and move in all directions, but it will always seem to him that he is moving upon a single line; outside of this line will be for him only a great _Nothingness_ – the whole universe will appear to him as one line. He will feel none of the turns and angles of his line, for to feel an angle it is necessary to be conscious of that which lies to right or left, above or below. In all other respects such a being will be absolutely identical with the before-described imaginary being living upon the imaginary line. Everything that he comes in contact with, that is, everything that he is conscious of, will seem to him to be emerging from time, i.e., from nothing, vanishing into time, i.e., into nothing. This _nothing_ will be all our world. All our world except one line will be called _time_ and will be counted as _actually_ non-existent. Let us next consider the two-dimensional world, and the being living on a plane. The universe of this being will be one great plane. Let us imagine beings on this plane having the shape of points, lines, and flat geometrical figures. The objects and "solids" of that world will have the shape of flat geometrical figures too. In what manner will a being living on such a plane universe cognize his world? First of all we can affirm that he will not feel the plane upon which he lives. He will not do so because he will feel the objects, i.e., figures which are on this plane. He will feel the lines which limit them, and for this reason he will not feel his plane, for in that case he would not be in a position to discern the lines. The lines will differ from the plane in that they produce sensations; therefore they exist. The plane does not produce sensations; therefore it does not exist. Moving on the plane, the two-dimensional being, feeling no sensations, will declare that nothing now exists. After having encountered some figure, having sensed its lines, he will say that something appeared. But gradually, by a process of reasoning, the two-dimensional being will come to the conclusion that the figures he encounters exist _on something_ , or _in something_. Thereupon he may name such a plane (he will not know, indeed, that it is a plane) the "ether." Accordingly he will declare that the "ether" fills all space, but differs in its qualities from "matter." By "matter" he will mean lines. Having come to this conclusion the two-dimensional being will regard all processes as happening in his "ether," i.e., in his space. He will not be in a position to imagine anything outside of this ether, that is, out of his plane. If anything, proceeding out of his plane, comes in contact with his consciousness, then he will either deny it, or regard it as something subjective, the creation of his own imagination; or else he will believe that it is proceeding right on the plane, _in the ether_ , as are all other phenomena. Sensing lines only, the plane being will not sense them as we do. _First of all, he will see no angle_. It is extremely easy for us to verify this by experiment. If we will hold before our eyes two matches, inclined one to the other in a horizontal plane, then we shall see one line. To see the angle we shall have _to look from above_. The two-dimensional being cannot look from above and therefore cannot see the angle. But measuring the distance between the lines of different "solids" of his world, the two-dimensional being will come continually in contact with the angle, and he will regard it as a strange property of the line, which is sometimes manifest and sometimes is not. That is, he will refer the angle to time; he will regard it as a temporary, evanescent phenomenon, a change in the state of a "solid," or as _motion_. It is difficult for us to understand this. It is difficult to imagine how the angle can be regarded as motion. But it must be absolutely so, and cannot be otherwise. If we try to represent to ourselves how the plane being studies the square, then certainly we shall find that for the plane being the square will be _a moving body_. Let us imagine that the plane being is opposite one of the angles of the square. He does not see the angle – before him is a line, but a line possessing very curious properties. Approaching this line, the two-dimensional being observes that a strange thing is happening to the line. One point remains in the same position, and other points _are withdrawing back_ from both sides. We repeat, that the two-dimensional being has no idea of an angle. _Apparently_ the line remains the same as it was, yet something is happening to it, without a doubt. The plane being will say that the line is moving, but so rapidly as to be imperceptible to sight. If the plane being goes away from the angle and follows along a side of the square, then the side will become immobile. When he comes to the angle, he will notice _the motion_ again. After going around the square several times, he will establish the fact of regular, periodical motions of the line. Quite probably in the mind of the plane being the square will assume the form of a body possessing the property of periodical motions, invisible to the eye, but producing definite physical effects (molecular motion) – or it will remain there as a perception of periodical _moments_ of rest and motion in one complex line, and still more probably it will seem to be a _rotating body_. Quite possibly the plane being will regard the angle as his own subjective perception, and will doubt whether any objective reality corresponds to this subjective perception. Nevertheless he will reflect that if there is _action_ , yielding to measurement, so must there be the cause of it, consisting in the change of the state of the line, i.e., in motion. The lines visible to the plane being he may call _matter_ , and the angles – _motion_. That is, he may call the broken line with an angle, _moving_ matter. And truly to him such a line by reason of its properties will be quite analogous to matter in motion. If a cube were to rest upon the plane upon which the plane being lives, then this cube will not exist for the two-dimensional being, but only the square face of the cube in contact with the plane will exist for him – as a line, with periodical motions. Correspondingly, all other solids lying outside of his plane., in contact with it, or passing through it, will not exist for the plane being. The planes of contact or cross-sections of these bodies will alone be sensed. But if these planes or sections move or change, then the two-dimensional being will think, indeed, that the _cause_ of the change or motion is in the bodies themselves, i.e., right there on his plane. As has been said, the two-dimensional being will regard the straight lines only as immobile matter; irregular lines and curves will seem to him as moving. So far as _really moving_ lines are concerned, that is, lines limiting the cross-sections or planes of contact passing through or moving along the plane, these will be for the two-dimensional being something inconceivable and _incommensurable_. It will be as though there were in them the presence of something independent, depending upon itself only, _animated_. This effect will proceed from two causes: He can measure the immobile angles and curves, the properties of which the two-dimensional being calls motion, for the reason that they are immobile; moving figures, on the contrary, he cannot measure, because the changes in them will be out of his control. These changes will depend upon the properties _of the whole body_ and its motion, and of that whole body the two-dimensional being will know only one side or section. Not perceiving the existence of this body, and contemplating the motion pertaining to the sides and sections _he probably will regard them as living beings_. He will affirm that there is something in them which differentiates them from other bodies: vital energy, or even soul. That something will be regarded as inconceivable, and really will be inconceivable to the two-dimensional being, because to him it is the result of an incomprehensible motion of inconceivable solids. If we imagine an immobile circle upon the plane, then for the two-dimensional being it will appear as a moving line with some very strange and to him inconceivable motions. The two-dimensional being will never see that motion. Perhaps he will call such motion _molecular motion_ , i.e., the movement of minutest invisible particles of "matter." Moreover, a circle rotating around an axis passing through its center, for the two-dimensional being will differ in some inconceivable way from the immobile circle. _Both will appear to be moving, but moving differently_. For the two-dimensional being a circle or a square, rotating around its centre, on, account of its double motion will be an inexplicable and incommensurable phenomenon, like _a phenomenon of life_ for a modern physicist. Therefore, for a two-dimensional being, a straight line will be immobile matter; a broken or a curved line – matter in motion; and a moving line – _living_ matter. The centre of a circle or a square will be inaccessible to the plane being, just as the centre of a sphere or of a cube made of solid matter is inaccessible to us – and for the two-dimensional being even the idea of a centre will be incomprehensible, since he possesses no idea of a centre. Having no idea of phenomena proceeding outside of the plane – that is, out of his "space" – the plane being will think of all phenomena as proceeding on his plane as has been stated. And all phenomena which he regards as proceeding on his plane, he will consider as being in causal interdependence _one with another_ : that is, he will think that one phenomenon is the effect of another _which has happened right there_ , and the cause of a third which will happen right on the same plane. If a multi-colored cube passes through the plane, the plane being will perceive the entire cube and its motion as a change in color of lines lying in the plane. Thus, if a blue line replaces a red one, then the plane being will regard the red line as _a past event_. He will not be in a position to realize the idea that the red line is still existing somewhere. He will say that the line is single, but that it _becomes blue_ as a consequence of certain causes of a physical character. If the cube moves backward so that the red line appears again after the blue one, then for the two-dimensional being this will constitute _a new phenomenon_. He will say that the line became red again. For the being living on a plane, everything above and below (if the plane be horizontal), and on the right or left (if the plane be vertical) will be existing in time, in the past and in the future: that which in reality is located outside of the plane will be regarded as non-existent, either as that which is already past, i.e., as something which has disappeared, ceased to be, will never return; or as in the future, i.e., as not existent, not manifested, as a thing in potentiality. Let us imagine that a wheel with the spokes painted different colors is rotating through the plane upon which the plane being lives. To such a being all the motion of the wheel will appear as a variation of the color of the line of intersection of the wheel and the plane. The plane being will call this variation of the color of the line a phenomenon, and observing these phenomena he will notice in them a certain succession. He will know that the black line is followed by the white one, the white by the blue, the blue by the red, and so on. If simultaneously with the appearance of the white line some other phenomenon occurs – say the ringing of a bell – the two-dimensional being will say that the white line is the cause of that ringing. The change of the color of the lines, in the opinion of the two-dimensional being, will depend on causes lying right in his plane. Any pre-supposition of the possibility of the existence of causes lying _outside of the plane_ he will characterize as fantastic and entirely unscientific. It will seem so to him because he will never be in a position to represent the wheel to himself, i.e., the parts of the wheel on both sides of the plane. After a rough study of the color of the lines, and knowing the order of their sequence, the plane being, perceiving one of them, say the blue one, will think that the black and the white ones have already passed, i.e., disappeared, ceased to exist, _gone into the past_ ; and that those lines which have not as yet appeared – the yellow, the green, and so on, and the new white and black ones still to come – do not yet exist, but lie in the future. Therefore, though not conceiving the form of his universe, and regarding it as infinite in all directions, the plane being will nevertheless involuntarily think of the past as situated somewhere at one side _of all_ , and of the future as somewhere at the other side of this totality. In such manner will the plane being conceive of _the idea of time_. We see that this idea arises because the two-dimensional being senses only two out of three dimensions of space; the third dimension he senses only after its effects become manifest upon the plane, and therefore he regards it as something different from the first two dimensions of space, calling it time. Now let us imagine that through the plane upon which the two-dimensional being lives, _two wheels_ with multi-colored spokes are rotating and are rotating in opposite directions. The spokes of one wheel come from above and go below; the spokes of the other come from below and go above. _The plane being will never notice it_. He will never notice that where for one line (which he sees) there lies the past, for another line there lies the future. This thought will never even come into his head, because he will conceive of the past and the future very confusedly, regarding them as concepts, not as actual facts. But at the same time he will be firmly convinced that the past goes in _one direction_ , and the future in another. Therefore it will seem to him a wild absurdity that on one side something past and _something future_ can lie together, and on another side – and also beside these two – something future and _something past_. To the plane being the idea that some phenomena come whence others go, and vice versa, will seem equally absurd. He will tenaciously think that the future is that wherefrom everything comes, and the past is that whereto everything goes _and wherefrom nothing returns_. He will be totally unable to understand that events may arise from the past just as they do from the future. Thus we see that the plane being will regard the changes of color of the lines lying on the plane very naively. The appearance of _different_ spokes he will regard as the change of color of _one and the same line_ , and the repeated appearance of the same colored spoke he will regard every time as a _new_ appearance of a given color. But nevertheless, having noticed periodicity in the change of the color of the lines upon the surface, having remembered the order of their appearance, and having learned to define the "time" of the appearance of certain spokes in relation to some other more constant phenomenon, the plane being will be in a position to foretell the change of the line from one color to another. Thereupon he will say that he has _studied_ this phenomenon, that he can apply to it "the mathematical method" – can "calculate" it. If we ourselves enter the world of plane beings, then its inhabit-ants will sense the lines limiting the sections of our bodies. These sections will be for them _living beings_ ; they will not know from whence they appear, why they alter, or whither they disappear in such _a miraculous manner_. So also, the sections of all our inanimate but moving objects will seem independent living beings. If the consciousness of a plane being should suspect our existence, and should come into some sort of communion with our consciousness, then to him we would appear as higher, omniscient, possibly omnipotent, but above all incomprehensible beings _of a quite inconceivable category_. We could see his world _just as it is_ , and not as it seems to him. We could see the past and the future; could foretell, direct, and even create events. We could know the very substance of things – could know what "matter" (the straight line) is, what "motion" (the broken line, the curve, the angle) is. We could see an _angle_ , and we could see a _centre_. All this would give us an enormous advantage over the two-dimensional being. In all the phenomena of the world of the two-dimensional being we could see considerably more than he sees – or could see quite other things than he. And we could tell him very much that was new, amazing, and unexpected about the phenomena of his world, provided indeed that be could hear us and _understand us_. First of all we could tell him that what he regards as phenomena – angles and curves, for instance – are _properties_ of higher figures; that other "phenomena" of his world are not phenomena, but only "parts" or "sections" of phenomena; that what he calls "solids" are only sections of solids – and many things besides. We would be able to tell him that on both sides of his plane (i.e., of his space or ether) lies infinite space (which the plane being calls time); and that in this space lie the causes of all his phenomena, and the phenomena themselves, the past as well as the future ones; moreover, we might add that "phenomena" themselves are not something happening and then ceasing to be, but combinations of properties of higher solids. But we should experience considerable difficulty in explaining anything to the plane being; and it would be very difficult for him to understand us. First of all it would be difficult because he would not have the _concepts_ corresponding to our concepts. He would lack "necessary words." For instance, "section" – this would be for him a quite new and inconceivable word; then "angle" – again an inconceivable word; "centre" – still more inconceivable; the _third_ perpendicular – something incomprehensible, lying outside of his geometry. The fallacy of his conception of time would be the most difficult thing for the plane being to understand. He could never understand that _that which has passed_ and _that which is to be_ are existing simultaneously on the lines perpendicular to his plane. And he could never conceive the idea that the past is identical with the future, because phenomena come from both sides and go in both directions. But the most difficult thing for the plane being would be to conceive the idea that "time" includes in itself _two ideas_ : the idea of space, and the idea of motion upon this space. We have shown that what the two-dimensional being living on the plane calls motion has for us a quite different aspect. In his book _The Fourth Dimension_ , under the heading "The First Chapter in the History of Four-space," Hinton writes: Parmenides, and the Asiatic thinkers with whom he is in close affinity, propound a theory of existence which is in close accord with a conception of a possible relation between a higher and lower dimensional space.... It is one which in all ages has had a strong attraction for pure intellect, and is the natural mode of thought for those who refrain from projecting their own volition into nature under the guise of causality. According to Parmenides of the school of Elea, the all is one, unmoving and unchanging. The permanent amid the transient – that foothold for thought, that solid ground for feeling, on the discovery of which depends all our life – is no phantom; it is the image amidst deception of true being, the eternal, the unmoved, the one. Thus says Parmenides. But how is it possible to explain the shifting scene, these mutations of things? "Illusion," answers Parmenides. Distinguishing between truth and error, he tells of the true doctrine of the one – the false opinion of a changing world. He is no less memorable for the manner of his advocacy than for the cause he advocates. Can the mind conceive a more delightful intellectual picture than that of Parmenides pointing to the one, the true, the unchanging, and yet on the other hand ready to discuss all manner of false opinion!... In support of the true opinion he proceeded by the negative way of showing the self-contradictions in the ideas of change and motion.... To express his doctrine in the ponderous modern way we must make the statement that motion is phenomenal, not real. Let us represent his doctrine. Imagine a sheet of still water into which a slanting stick is being lowered with a motion vertically downward. Let 1, 2, 3 (Fig.1) be three consecutive positions of the stick. A, B, C will be three connective positions of the meeting of the stick with the surface of the water. As the stick passes down, the meeting will move from A on to B and C. Suppose now all the water to be removed except a film. At the meeting of the film and the stick there will be an interruption of the film. If we suppose the film to have a property, like that of a soap bubble, of closing up round any penetrating object, then as the stick goes vertically down-ward the interruption in the film will move on. If we pass a spiral through the film the intersection will give a point moving in a circle (shown by the dotted lines in Fig.2). For the plane being such a point, moving in a circle in its plane, would probably constitute a cosmic phenomenon, something like the motion of a planet in its orbit. Suppose now the spiral to be still and the film to move vertically upward, the whole spiral will be represented in the film in the consecutive positions of the point of intersection. **F IG. I** **F IG. II** If instead of one spiral we take a complicated construction consisting of spirals, inclined and straight lines, broken and curved lines, and if the film move vertically upward we shall have an entire universe of moving points the movements of which will appear to the plane being as original. The plane being will explain these movements as depending one upon another, and indeed he will never happen to think that these movements are fictitious and are dependent upon the spirals and other lines lying outside his space. Returning to the plane being and his perception of the world, and analyzing his relations to the three-dimensional world, we see that for the two-dimensional or plane being it will be very difficult to understand all the _complexity_ of the phenomena of our world, as it appears to us. He (the plane being) is accustomed to perceive the world as being too simple. Taking into consideration the sections of figures instead of the figures themselves, the plane being will compare them in relation to their length and their greater or lesser curvature, i.e., their _for him_ more or less rapid motion. The differences between the objects of our world, as they exist for us he would not understand. The functions of the objects of our world would be completely mysterious to his mind incomprehensible, "supernatural." Let us imagine that a coin, and a candle the diameter of which is equal to that of the coin, are on the plane upon which the two-dimensional being lives. To the plane being they will seem two equal circles, i.e., two moving, and absolutely identical lines; he will never discover any difference between them. The functions of the coin and of the candle in our world – these are for him absolutely a terra incognita. If we try to imagine what an enormous evolution the plane being must pass through in order to understand the function of the coin and of the candle and the difference between these functions, we shall understand the nature of the division between the plane world and the world of three dimensions, and the complete impossibility of even imagining, on the plane, anything at all like the three-dimensional world, with its manifoldness of function. The properties of the phenomena of the plane world will be extremely monotonous; they will differ by the order of their appearance, their duration, and their periodicity. Solids, and the things of this world will be flat and uniform, like shadows, i.e., like the shadows of quite different solids, which seem to us uniform. Even if the plane being could come in contact with our consciousness, he would never be in a position to understand all the manifoldness and richness the phenomena of our world and the variety of function of the things of that world. Plane beings would not be in a position to master our most ordinary concepts. It would be extremely difficult for them to understand that phenomena, identical for them, are in reality different; and on the other hand, that phenomena quite separate for them are in reality parts of one great phenomenon, and even of one object or one being. This last will be one of the most difficult things for the plane being to understand. If we imagine our plane to inhabit a horizontal plane, intersecting the top of a tree, and parallel to the surface of the earth, then for such a being each of the various sections of the branches will appear as a quite separate phenomenon or object. The idea of the tree and its branches will never occur to him. Generally speaking, the understanding of the most fundamental and simple things of our world will be infinitely long and difficult to the plane being. He would have to entirely reconstruct his concepts of space and time. This would be the first step. Unless it is taken, nothing is accomplished. Until the plane being shall imagine our entire universe as existing in time, i.e., until he refers to time everything lying on both sides of his plane, he will never understand anything. In order to begin to understand "the third dimension" the inhabitant of the plane must conceive of his time concepts spatially, that is, translate his time into space. To achieve even the spark of a true understanding of our world he will have to reconstruct completely all his ideas – to revaluate all values, to revise all concepts, to dissever the uniting concepts, to unite those which are dissevered; and, what is most important, to create an infinite number of new ones. If we put down the five fingers of one hand on the plane of the two-dimensional being they will be for him five separate phenomena. Let us try to imagine what an enormous mental evolution he would have to undergo in order to understand that these five separate phenomena on his plane are the finger-tips of the hand of a large, active and intelligent being – man. To make out, step by step, how the plane being would attain to an understanding of our world, lying in the region of the to him mysterious third dimension – i.e., partly in the past, partly in the future – would be interesting in the highest degree. First of all, in order to understand the world of three dimensions, he must cease to be two-dimensional – he must become three-dimensional himself, or in other words he must feel an interest in the life of three-dimensional space. After having felt the interest of this life, he will by so doing transcend his plane, and will never be in a position thereafter to return to it. Entering more and more within the circle of ideas and concepts which were entirely incomprehensible to him before, he will have already become, not two-dimensional, but three-dimensional. But all along the plane being will have been essentially three-dimensional, that is, he will have had the third dimension, without his being conscious of it himself. To become three-dimensional he must be three-dimensional. Then as the end of ends he can address himself to the self-liberation from the illusion of the two-dimensionality of himself and the world, and to the apprehension of the three-dimensional world. # **Chapter 7** The impossibility of the mathematical definition of dimensions. Why does not mathematics sense dimensions? The entire conditionality of the representation of dimensions by powers. The possibility of representing all powers on a line. Kant and Lobachevsky. The difference between non-Euclidian geometry and metageometry. Where shall we find the explanation of the three-dimensionality of the world, if Kant's ideas are true? Are not the conditions of the three-dimensionality of the world confined to our receptive apparatus, to our psyche? NOW THAT WE have studied those "relations which our space itself bears within it" we shall return to the questions: But what in reality do the dimensions of space represents – and why are there three of them? The fact that it is impossible to define _three-dimensionality_ mathematically must appear most strange. We are little conscious of this, and it seems to us a paradox, because we speak of the _dimensions_ of space, but it remains a fact that mathematics _does not sense_ the dimensions of space. The question arises, how can such a fine instrument of analysis as mathematics not feel dimensions, if they represent some real properties of space? Speaking of mathematics, it is necessary to recognize first of all, as a fundamental premise, that _correspondent to each mathematical expression is always the relation of some realities_. If there is no such a thing, if it is not true – then there is no mathematics. This is its principal substance, its principal contents. To express the correlations of magnitudes is the problem of mathematics. But these correlations must be between something. Instead of algebraical a, b and c it must be possible to substitute some reality. This is the ABC of all mathematics; a, b and c are credit bills; they can be good ones only if behind them there is a real _something_ , and they can be counterfeited if behind them there is no reality whatever. "Dimensions" play here a very strange role. If we designate them by the algebraic symbols a, b and c, they have the character of counterfeit credit bills. For this a, b and c it is impossible to substitute any real magnitudes which are capable of expressing the correlations of dimensions. Usually dimensions are represented by powers: the first, the second, the third; that is, if a line is called a, then a square, the sides of which are equal to this line, is called a2, and a cube, the face of which is equal to this square, is called a3. This among other things gave Hinton the foundation on which he constructed his theory of tesseracts, four-dimensional solids – a4. But this is pure fantasy. First of all, because the representation of "dimensions" by powers is entirely conditional. It is possible to represent all powers on a line. For example, take the segment of a line equal to five millimeters'; then a segment equal to twenty-five millimeters will be the square of it, i.e., a2 and a segment of one hundred and twentyfive millimeters will be the cube – a3. How shall we understand that mathematics does not feel dimensions – that it is impossible to express mathematically the difference between dimensions? It is possible to understand and explain it by one thing only — namely, that this difference does not exist. We really know that all three dimensions are in substance identical, that it is possible to regard each of the three dimensions either as following the sequence, the first, the second, the third, or the other way about. This alone proves that dimensions are not mathematical magnitudes. All the real properties of a thing can be expressed mathematically as quantities, i.e., numbers, showing the relation of these properties to other properties. But in the matter of dimensions it is as if mathematics sees more than we do, or farther than we do, through some boundaries which arrest us but not it – and sees that no realities whatever correspond to our concepts of dimensions. If the three dimensions really corresponded to three powers, then we should have the right to say that only these three powers refer to geometry, and that all the other higher powers, beginning with the fourth, lie beyond geometry. But even this is denied us. The representation of dimensions by powers is perfectly arbitrary. More accurately, geometry, from the standpoint of mathematics, is an artificial system for the solving of problems based on conditional data, deduced, probably, from the properties of our psyche. The system of investigation of "higher space" Hinton calls metageometry, and with metageometry he connects the names of Lobachevsky, Gauss, and other investigators of non-Euclidian geometry. We shall now consider in what relation the questions touched upon by us stand to the theories of these scientists. Hinton deduces his ideas from Kant and Lobachevsky. Others, on the contrary, place Kant's ideas in opposition to those of Lobachevsky. Thus Roberto Bonola, in _Non-Euclidian Geometr_ y, declares that Lobachevsky's conception of space is contrary to that of Kant. He says: The Kantian doctrine considered space as a subjective intuition, a necessary presupposition of every experience. Lobachevsky's doctrine was rather allied to sensualism and the current empiricism, and compelled geometry to take its place again among the experienced sciences. Which of these views is true, and in what relation do Lobachevsky's ideas stand to our problem? The correct answer to this question is: in no relation. Non-Euclidian geometry is not _metageometry_ , and non-Euclidian geometry stands in the same relation to metageometry as Euclidian geometry itself. The results of non-Euclidian geometry, which have submitted the fundamental axioms of Euclid to a revaluation, and which have found the most complete expression in the works of Bolyai, Gauss, and Lobachevsky, are embraced in the formula: _The axioms of a given geometry express the properties of a given space_. Thus geometry on the plane accepts all three Euclidian axioms, i.e.: 1. A straight line is the shortest distance between two points. 2. Any figure may be transferred into another position without changing its properties. 3. Parallel lines do not meet. (This last axiom is formulated differently by Euclid.) In geometry on a sphere, or on a concave surface the first two axioms alone are true, because the meridians which are separated at the equator meet at the poles. In geometry on the surface of irregular curvatures only the first axiom is true – the second, regarding the transference of figures, is impossible because the figure taken in one part of an irregular surface can change when transferred into another place. Also, the sum of the angles of a triangle can be either more or less than two right angles. Therefore, axioms express the difference of properties of various kinds of surfaces. A geometrical axiom is a law of given surface. But what is a surface? Lobachevsky's merit consists in that he found it necessary to revise the fundamental concepts of geometry. But he never went so far as to revalue these concepts from Kant's standpoint. At the same time he is in no sense contradictory to Kant. A surface in the mind of Lobachevsky, as a geometrician, was only a means for the generalization of certain properties on which this or that geometrical system was constructed, or the generalization of the properties of certain given lines. About the reality or the unreality of a surface, he probably never thought. Thus on the one hand, Bonola, who ascribed to Lobachevsky views opposite to Kant, and their nearness to "sensualism" and "current empiricism," is quite wrong, while on the other hand, it is not impossible to conceive that Hinton entirely subjectively ascribes to Gauss and Lobachevsky their inauguration of a new era in philosophy. Non-Euclidian geometry, including that of Lobachevsky, has no relation to metageometry whatever. Lobachevsky does not go outside of the three-dimensional sphere. Metageometry regards the three-dimensional sphere as a section of higher space. Among mathematicians, Riemann, who understood the relation of time to space, was nearest of all to this idea. The point, of three-dimensional space, is a section of a meta-geometrical line. It is impossible to generalize on any surface whatever the lines considered in metageometry. Perhaps this last is the most important for the definition of the difference between geometries (Euclidian and non-Euclidian and metageometry). It is impossible to regard metageometrical lines as distances between points in our space, and it is impossible to represent them as forming any figures in our space. The consideration of the possible properties of lines lying out of our space, the relation of these lines and their angles to the lines, angles, surfaces and solids of our geometry, forms the subject of metageometry. The investigators of non-Euclidian geometry could not bring themselves to reject the consideration of surfaces. There is something almost tragic in this. See what surfaces Beltrami invented in his investigations of non-Euclidian geometry – one of his surfaces resembles the surface of a ventilator, another, the inner surface of a funnel. But he could not decide to reject the surface, to cast it aside once and for all, to imagine that the line can be independent of the surface, i.e., a series of lines which are parallel or nearly parallel cannot be generalized on any surface, or even in three-dimensional space. And because of this, both he and many other geometers, developing non-Euclidian geometry, could not transcend the three-dimensional world. Mechanics recognizes the line in time, i.e., such a line as it is impossible by any means to imagine upon the surface, or as the distance between two points of space. This line is taken into consideration in the calculations pertaining to machines. But geometry never touched this line, and dealt always with its sections only. Now it is possible to return to the question: what is space? And to discover if the answer to this question has been found. The answer would be the exact definition and explanation of the three-dimensionality of space as a property of the world. But this is not the answer. The three-dimensionality of space as an objective phenomenon remains just as enigmatical and inconceivable as before. In relation to three-dimensionality it is necessary: Either to accept it as a thing given, and to add this to the two data that we established in the beginning. Or to recognize the fallacy of all objective methods of reasoning, and return to another method, outlined in the beginning of the book. Then, on the basis of the two fundamental data, the world and consciousness, it is necessary to establish whether three-dimensional space is a property of the world, or a property of our knowledge of the world. Beginning with Kant, who affirms that space is a property of the receptivity of the world by our consciousness, I intentionally deviated far from this idea and regarded space as a property of the world. Along with Hinton, I postulated that our space itself bears within it the relations which permit us to establish its relations to higher space, and on the foundation of this postulate I built a whole series of analogies which somewhat clarified for us the problems of space and time and their mutual co-relations, but which, as was said, did not explain anything concerning the principal question of the causes of the three-dimensionality of space. The method of analogies is, generally speaking, a rather tormenting thing. With it, you walk in a vicious circle. It helps you to elucidate certain things, and the relations of certain things, but in substance it never gives a direct answer to anything. After many and long attempts to analyze complex problems by the aid of the method of analogies, you feel the uselessness of all your efforts; you feel that you are walking alongside of a wall. Thereupon you begin to experience simply a hatred and aversion for analogies, and you find it necessary to search in the direct way which leads where you need to go. The problem of higher dimensions has usually been analyzed by the method of analogies, and only very lately has science begun to elaborate that direct method which will be shown later on. If we desire to go straight, without deviating, we shall keep strictly up to the fundamental propositions of Kant. But if we formulate Hinton's above-mentioned thought from the point of view of these propositions, it will be as follows: We bear within ourselves the conditions of our space, and therefore within ourselves we shall find the conditions which will permit us to establish correlations between our space and higher space. In other words, we shall find the conditions of the three-dimensionality of the world in our psyche, in our receptive apparatus – and shall find exactly there the conditions of the possibility of the higher dimensional world. Propounding the problem in this way, we put ourselves upon the direct path, and we shall receive an answer to our question, what is space and its three-dimensionality? How may we approach the solution of this problem? Plainly, by studying our consciousness and its properties. We shall free ourselves from all analogies, and shall enter upon the correct and direct path toward the solution of the fundamental question about the objectivity or subjectivity of space, if we shall decide to study the psychical forms by which we perceive the world, and to discover if there does not exist a correspondence between them and the three-dimensionality of the world – that is, if the three-dimensional extension of space, with its properties, does not result from properties of the psyche which are known to us. # **Chapter 8** Our receptive apparatus. Sensation. Perception. Conception. Intuition. Art as the language of the future. To what extent does the three-dimensionality of the world depend upon the properties of our receptive apparatus? What might prove this interdependence? Where may we find the real affirmation of this interdependence? The animal psyche. In what does it differ from the human? Reflex action. The irritability of the cell. Instinct. Pleasure-pain. Emotional thinking. The absence of concepts. Language of animals. Logic of animals. Different degrees of psychic development in animals. The goose, the cat, the dog and the monkey. IN ORDER EXACTLY to define the relation of our psyche to the external world, and to determine what, in our receptivity of the world, belongs to it, and what belongs to ourselves, let us turn to elementary psychology and examine the mechanism of our receptive apparatus. The fundamental unit of our receptivity is a sensation. This sensation is an elementary change in the state of our psyche, produced, as it seems to us, either by some change in the state of the external world in relation to our consciousness, or by a change in the state of our psyche in relation to the external world. Such is the teaching of physics and psycho-physics. Into the consideration of the correctness or incorrectness of the construction of these sciences I shall not enter. Suffice it to define a sensation as an elementary change in the state of the psyche – as the element, that is, as the fundamental unit of this change. Feeling the sensation we assume that it appears, so to speak, as the reflection of some change in the external world. The sensations felt by us leave a certain trace in our memory. The accumulating memories of sensations begin to blend in consciousness into groups, and according to their similitude tend to associate, to sum up, to be opposed; the sensations which are usually felt in close connection with one another will arise in memory in the same connection. Gradually, out of the memories of sensations, perceptions are compounded. Perceptions – these are so to speak the group memories of sensations. During the compounding of perceptions, sensations are polarizing in two clearly defined directions. The first direction of this grouping will be according to the character of sensations. (The sensations of a yellow color will combine with the sensations of a yellow color; sensations of a sour taste with those of a sour taste.) The second direction will be according to the time of the reception of sensations. When various sensations, constituting a single group, and compounding one perception, enter simultaneously, then the memory of this definite group of sensations is ascribed to a common cause. This "common cause" is projected into the outside world as the object, and it is assumed that the given perception itself reflects the real properties of this object. Such group remembrance constitutes perception, the perception, for example, of a tree – that tree. Into this group enter the green color of the leaves, their smell, their shadows, their rustle in the wind, etc. All these things taken together form as it were a focus of rays coming out of the psyche, gradually concentrated upon the outside object and coinciding with it either well or ill. In the further complication of the psychic life, the memories of perception proceed as with the memories of sensations. Mingling together, the memories of perceptions, or the "images of perceptions," combine in various ways: they sum up, they stand opposed, they form groups, and in the end give rise to concepts. Thus out of various sensations, experienced (in groups) at different times, a child gets the perception of a tree (that tree), and afterwards, out of the images of perceptions of different trees there emerges the concept of a tree, i.e., not "that tree," but trees in general. The formation of perceptions leads to the formation of words, and the appearance of speech. The beginning of speech may appear on the lowest level of psychic life, during the period of living by sensations, and it will become more complex during the period of living by perceptions; but unless there be concepts it will not be speech in the true meaning of the word. On the lower levels of psychic life certain sensations can be expressed by certain sounds. Therefore it is possible to express common impressions of horror, anger, pleasure. These sounds may serve as signals of danger, as commands, demands, threats, etc., but it is impossible to say much by means of them. In the further development of speech, if words or sounds express perceptions, as in the case of children, this means that the given sound or the given word designates only that object to which it refers. For each new similar object must exist another new sound, or a new word. If the speaker designates different objects by one and the same sound or word, it means that in his opinion the objects are the same, or that knowingly he is calling different objects by the same name. In either case it will be difficult to understand him, and such speech cannot serve as an example of clear speech. For instance, if a child call a tree by a certain sound or word, having in view that tree only, and not knowing other trees at all, then any new tree which he may see he will call by a new word, or else he will take it for the same tree. The speech in which "words" correspond to perceptions is as it were made up of proper nouns. There are no appellative nouns; and not only substantives, but verbs, adjectives and adverbs have the character of "proper nouns" – that is, they apply to a given action, to a given quality, or to a given property. The appearance of words of a common meaning in human speech signifies the appearance of concepts in consciousness. Speech consists of words, each word expressing a concept. Concept and word are in substance one and the same thing; only the first (the concept) represents, so to speak, the inner side, and the second (the word) the outer side. Or, as says Dr. R. M. Bucke (the author of the book _Cosmic Consciousness_ , about which I shall have much to say later on), "A word (i.e., concept) is the algebraical sign of a thing." It has been noticed thousands of times that the brain of a thinking man does not exceed in size the brain of a nonthinking wild man in anything like the proportion in which the mind of the thinker exceeds the mind of the savage. The reason is that the brain of a Herbert Spencer has very little more work to do than has the brain of a native Australian, for this reason, that Spencer does all his characteristic mental work by signs or counters which stand for concepts, while the savage does all or nearly all his by means of cumbersome recepts. The savage is in a position comparable to that of the astronomer who makes his calculations by arithmetic, while Spencer is in the position of one who makes them by algebra. The first will fill many great sheets of paper with figures and go through immense labor; the other will make the same calculations on an envelope and with comparatively little mental work. In our speech words express concepts or ideas. By ideas are meant broader concepts, not representing the group sign of similar perceptions, but embracing various groups of perceptions, or even _groups of concepts_. Therefore an idea is a complex or an abstract concept. In addition to the simple sensations of these sense organs (color, sound, touch, smell and taste), in addition to the simple emotions of pleasure, pain, joy, anger, surprise, wonder, curiosity and many others, there is passing through our consciousness a series of complex sensations and higher (complex) emotions (moral, esthetic, religious). The content of emotional feelings, even the simplest – to say nothing of the complex – can never be wholly confined to concepts or ideas, and therefore can never be correctly or exactly expressed in words. Words can only allude to it, point to it. The interpretation of emotional feelings and emotional understanding is the problem of art. In combinations of words, in their meaning, their rhythm, their music – the combination of meaning, rhythm and music; in sounds, colors, lines, forms – men are creating a new world, and are attempting therein to express and transmit that which they feel, but which they are unable to express and transmit simply in words, i.e., in concepts. The emotional tones of life, i.e., of "feelings," are best transmitted by music, but it cannot express concepts, i.e., thought. Poetry endeavors to express both music and thought together. The combination of feeling and thought of high tension leads to a higher form of psychic life. Thus in art we have already the first experiments in a language of the future. Art anticipates a psychic evolution and divines its future forms. At the present time an average man, taken as a norm, has attained to three units of psychic life: sensation, perception, and conception. Furthermore, observation reveals the fact that some people at certain times acquire a new, fourth unit of psychic life, which different authors and different schools name differently, but in which an element of knowledge or ideas is always united with an emotional element. If Kant's ideas are correct, if space with its characteristics is a property of our consciousness, and not of the external world, then the three-dimensionality of the world must in this or some other manner depend upon the constitution of our psychic apparatus. It is possible to put the question concretely in the following manner: What bearing upon the three-dimensional extension of the world has the fact that in our psychical apparatus we discover the categories above described – sensations, perceptions and concepts? We possess such a psychical apparatus and the world is three-dimensional. How is it possible to establish the fact that the three-dimensionality of the world depends upon such a constitution of our psychical apparatus? This could be proven or disproven undeniably only with the aid of experiments. If we could change our psychic apparatus and should then discover that the world around us was changing, this would constitute for us the proof of the dependence of the properties of space upon the properties of our consciousness. For example if we could make the above-mentioned higher form of psychic life (which appears now accidentally as it were and depends upon insufficiently studied conditions) just as definite, exact, and subject to our will as is the concept; and if the number of characteristics of space increased, i.e., if space became four-dimensional instead of being three-dimensional, this would affirm our presupposition, and would prove Kant's contention that space with its properties is a form of our sensuous receptivity. Or if we could diminish the number of units of our psychic life, and deprive ourselves or someone else of conceptions, leaving the psyche to act by perceptions and sensations only; and if by so doing the number of characteristics of the space surrounding us diminished; i.e., if for the person subjected to the test the world became two-dimensional instead of three-dimensional, and indeed one-dimensional as a result of a still greater limitation of the psychic apparatus, by depriving the person of perceptions – this would affirm our presupposition, and Kant's idea could be considered proven. That is to say, Kant's idea would be proven experimentally if we could be convinced that for the being possessing sensations only, the world is one-dimensional; for the being possessing sensations and perceptions the world is two-dimensional; and for the being possessing, in addition to concepts and ideas, the higher forms of knowledge the world is four-dimensional. Or, more exactly, Kant's thesis in regard to the subjectivity of space-perception could be regarded as proven (a) if for the being possessing sensations only, our entire world with all its variety of forms should seem a single line; if the universe of this being should possess but one dimension, i.e., should this being be one-dimensional in the properties of its receptivity; and (b) if for the being possessing, in addition to the faculty of feeling sensations, the faculty of forming perceptions, the world should have a two-dimensional extension; if all our world with its blue sky, clouds, green trees, mountains and precipices, should seem to him one plane; if the universe of this being should have only two dimensions, i.e., if this being were two-dimensional in the properties of its receptivity. More briefly, Kant's thesis would be proven could we be made to see that for the conscious being the number of characteristics of the world changes in accordance with the changes of its psychic apparatus. To perform such an experiment, effecting the _diminution_of psychic characteristics is not possible under ordinary conditions – we cannot arbitrarily limit our own, or anyone else's psychic apparatus. Experiments with _the augmentation_ of psychic characteristics have been made and are recorded, but in consequence of many diverse causes they are insufficiently convincing. The chief reason for this is that the augmentation of psychic faculties yields, first of all, so much of _newness_ in the psychic realm that this newness obscures _the changes_ proceeding simultaneously in the previous perception of the world; one feels the new, but is not capable of defining the difference _exactly_. The entire body of teachings of religious-philosophic movements have as their avowed or hidden purpose, _the expansion of consciousness_. This also is the aim of _mysticism_ of every age and of every faith, the aim of occultism, and of the Oriental _yoga_. But the question of the expansion of consciousness demands special study; the final chapters of this book will be dedicated to it. For the present, in proof of the above stated propositions with regard to the change of the world in relation to psychic changes, it is sufficient to consider the assumption concerning the possibility of a smaller number of psychic characteristics. If experiments in this direction are impossible, perhaps observation may furnish what we seek. Let us put the question: Are there not beings in the world _standing toward us in the necessary relation_ , whose psyche is of a lower grade than ours? Such psychically inferior beings undoubtedly exist. These are animals. Of the difference between the psychical nature of an animal and of a man we know very little: the usual "conversational" psychology deals with it not at all. Usually we deny altogether that animals have minds, or else we ascribe to them our own psychology, but "limited" – though _how_ and _in what_ we do not know. Again, we say that animals do not possess reason, but are governed by instinct. As to what exactly we mean by _instinct_ we do not ourselves know. I am speaking not alone of the popular, so-called "scientific" psychology. Let us try to discover what instinct is, and learn something about animal psychology. First of all let us analyze the _actions_ of animals, and see wherein they differ from ours. If these actions are instinctive, what inference is to be drawn from the fact? What are those actions in general, and how do they differ? In the actions of living beings within the limits of our usual observation we discriminate between those which are reflex, instinctive, rational and automatic. Reflex actions are simply _responses by motion_ , reactions upon external irritations, taking place always in the same way, regardless of their utility or futility, expediency or inexpediency in any given case. Their origin and laws are due to the simple _irritability_ of a cell. What is the irritability of a cell, and what are these laws? The irritability of a cell is defined as its faculty to respond to external irritation by a motion. Experiments with the simplest mono-cellular organisms, have shown that this _irritability_ acts according to definite laws. The cell responds by a motion to outside irritation. The force of the responsive motion increases as the force of the irritation is intensified, but in no definite proportionality. In order to provoke the responsive movement the irritation must be of a sufficient intensity. Each experienced irritation leaves a _certain trace_ in the cell, making it more receptive to the new irritations. In this we see that the cell responds to the _repetitive_ irritation of an _equal force_ by a more forceful motion than the first one. And if the irritations be repeated further the cell will respond to them by more and more forceful motions, up to a certain limit. Having reached this limit the cell experiences _fatigue_ , and responds to the same irritation by more and more feeble reactions. It is as if the cell becomes accustomed to the irritation. It becomes for the cell part of _a constant environment_ , and it ceases to react, because it is reacting generally only to _changes_ in conditions which are constant. If from the very beginning the irritation is so weak that it fails to provoke the responsive motion, it nevertheless leaves in the cell a certain _invisible_ trace. This can be inferred from the fact that by repeating these weak irritations, the cell finally begins to react to them. Thus _in the laws of irritability_ we observe, as it were, the beginnings of memory, fatigue, and habit. The cell produces the illusion, if not of a conscious and reasoning being, at any rate of a remembering being, habit-forming, and susceptible to fatigue. If we can be thus deceived by a cell, how much more liable are we to be deceived by the greater complexity of animal life. But let us return to the analysis of _actions_. By the reflex actions of an organism are meant actions in which either an entire organism or its separate parts acts _as a cell_ , i.e., within the limits of the law of variability. We observe such actions both in men and in animals. A man shudders all over from unexpected cold, or from a touch. His eyelids wink at the swift approach or touch of some object. The freely-hanging foot of a person in a sitting position moves forward if the leg be struck on the tendon below the knee. These movements proceed independently of consciousness, they may even proceed counter to consciousness. Usually consciousness registers them as accomplished facts. Moreover these movements are not at all governed by expediency. The foot moves forward in answer to the blow on the tendon even if a knife or a fire is in front of it. By instinctive actions are meant actions governed by expediency, but made without conscious _selection_ or without conscious _aim_. They appear with the appearance of a sensuous tincture to sensations, i.e., from that moment when the sensation begins to be associated with a sense of pleasure or pain. As a matter of fact, before the dawn of human intellect, throughout the entire animal kingdom "actions" were governed by the tendency to receive or to retain pleasure, or to escape pain. We may declare with entire assurance that instinct is a _pleasure-pain_ which, like the positive and negative poles of an electro-magnet, repels and attracts the animal in this or that direction, compelling it to perform whole series of complex actions, sometimes expedient to such a degree that they appear to be sensible, and not only sensible, but founded upon foresight of the future, almost upon some clairvoyance, like the migration of birds, the building of nests for the young which have not as yet appeared, the finding of the way south in the autumn, and north in the spring, etc. But all these actions are explained in reality by a single instinct, i.e., by the subservience to _pleasure-pain_. During periods in which millennia may be regarded as days, by selection among all animals the types have been perfected, living along the lines of this subservience. This subservience is expedient, that is, the results of it lead to the _desired_ goal. Why this is so is clear. Had the sense of pleasure arisen from that which is detrimental, the given species could not live, and would quickly die out. Instinct is the guide of its life, but only as long as instinct is expedient solely; just as soon as it ceases to be expedient it becomes the guide of death, and the species soon dies out. Normally "pleasure-pain" is pleasant or unpleasant not _for_ the usefulness or the harm which may result, but because of it. Those influences which proved to be beneficial for a given species during the vegetative life, with the transition to the more active and complex animal life begin to be sensed as _pleasant_ , the detrimental influences as unpleasant. As regards two different species, one and the same influence – say a certain temperature – may be useful and pleasant for one, and for another detrimental and unpleasant. It is clear, therefore, that the subservience to "pleasure-pain" must be governed by expediency. The pleasant is pleasant because it is _beneficial_ ; the unpleasant is unpleasant because it is _harmful_. Next after instinctive actions follow those actions that are rational and automatic. By rational action is meant such an action as is known to the acting subject _before its execution_ ; such an action as the acting subject can _name, define, explain_ , can show its cause and purpose _before its execution_. Automatic actions are actions which have been rational for a given subject, but because of frequent repetitions they have become habitual and are performed unconsciously. The acquired automatic actions of trained animals were previously rational not in the animal, but in the trainer. Such actions often appear as rational but this is a complete illusion. The animal remembers the sequence of actions, and therefore its actions appear to be considered and expedient. They really were considered, _but not by it_. Automatic actions are often confounded with instinctive ones – in reality they resemble instinctive ones, but there is an enormous difference between them. Automatic actions are developed by the subject during its own life, and for a long time before they become automatic it must be conscious of them. Instinctive actions, on the other hand, are developed during the life-periods of the _species_ , and the aptitude for them is transmitted in a definite manner by heredity. _It is possible_ to call automatic actions instinctive actions worked out for itself by a given subject. _It is impossible_ , however, to call instinctive actions automatic actions worked out by a given species, because they never were rational in different individuals of a given species, but were compounded out of a series of complex reflexes. REFLEXES, INSTINCTIVE AND "RATIONAL" ACTIONS, ALL MAY BE REGARDED AS REFLECTED, i.e., AS NOT SELF-ORIGINATED. BOTH THESE AND OTHERS, AND STILL A THIRD CLASS, COME NOT FROM MAN HIMSELF, BUT FROM THE OUTSIDE WORLD. MAN IS THE TRANSMITTING OR TRANSFORMING STATION FOR CERTAIN FORCES: ALL OF HIS ACTIONS IN THESE THREE CATEGORIES ARE CREATED AND DETERMINED BY HIS IMPRESSIONS OF THE OUTSIDE WORLD. MAN IN THESE THREE SPECIES OF ACTIONS IS, IN SUBSTANCE, AN AUTOMATON, UNCONSCIOUS OR CONSCIOUS OF HIS ACTIONS. NOTHING COMES FROM HIM HIMSELF. With the exception of sensations of the outer world, only the higher category of actions, i.e., _conscious actions_ appears to depend on something else. But the aptitude for such actions is seldom met with – only in some few persons whom it is possible to describe as MEN OF A HIGHER TYPE. Having established the differences between various kinds of actions, let us return to the question propounded before: _In what manner does the psyche of an animal differ from that of a human being?_ Out of the four categories of actions the two lower ones are accessible to animals. The category of "conscious" actions is inaccessible to animals. This is proven first of all by the fact that animals have not the power of speech as we have it. As has been shown before, the possession of speech is indissolubly bound up with the possession of concepts. Therefore we may say that animals do not possess concepts. Is this true, and is it possible to possess the instinctive mind without possessing concepts? All that we know about the instinctive mind teaches us that it acts possessing sensations and perceptions only, and that in the lower grades it possesses sensation only. The being which does its thinking by means of perceptions possesses the instinctive mind which gives it the possibility of exercising that _choice_ between the perceptions presented to it which produces the impression of judging and reasoning. In reality the animal does not reason its actions, but lives by its emotions, subject to that emotion which happens to be strongest. _Although indeed_ , in the life of the animal, acute moments sometimes occur when it is confronted with the necessity of _choosing_ among a certain series of perceptions. At such moments its actions may seem to be quite reasoned out. For example, the animal, being put in a situation of danger acts often very cautiously and wisely, but in reality its actions are directed not by thoughts but principally by emotional memory and motor perceptions. It has been previously shown that emotions are expedient, and that the subjection to them in a normal being must be expedient. Any perception of an animal, any recollected image, is bound up with some emotional sensation or emotional remembrance – there are no non-emotional, cold thoughts in the animal soul, or even if there are, these are inactive, and incapable of becoming the springs of action. Thus all actions of animals, sometimes highly complex, expedient, and apparently reasoned, we can explain without attributing to them concepts, judgments, and the power of reasoning. Indeed, we must recognize that animals have no _concepts_ , and the proof of this is that they have no speech. If we take two _men_ of different nationalities, different races, each ignorant of the language of the other, and put them together, they will find a way to communicate at once. One perhaps draws a circle with his finger, the other draws another circle beside it. By these means they have already established that they can understand one another. If a thick wall were put between them it would not hamper them in the least – one of them knocks three times, and the other knocks three times in response. The communication is established. The idea of communicating with the inhabitants of other planets is founded upon the idea of light signals. It is proposed to make on the earth an enormous lighted circle or a square to attract the attention of the inhabitants of Mars and to be answered by them by means of the same signal. We live side by side with animals and yet cannot establish such communication. Evidently the distance between us and them is greater, and the difference deeper, than between _men_ divided by the ignorance of language, stone walls, and enormous distances. Another proof of the absence of concepts in the animal is its inability to use a lever, i.e., its incapacity to come independently to an understanding of the principle of the action of the lever. The usual objection that an animal cannot operate a lever because its organs (paws etc) are not adapted to such actions does not hold for the reason that almost any animal can be _taught_ to operate a lever. This shows that the difficulty is not in the organs. The animal simply cannot of itself come to a comprehension of the idea of a lever. The invention of the lever immediately divided primitive man from the animal, and it was inextricably bound up with the appearance of concepts. The psychic side of the understanding of the action of a lever consists in the construction of a correct syllogism. Without constructing the syllogism correctly it is impossible to understand the action of a lever. Having no concepts it is impossible to construct the syllogism. The syllogism in the psychic sphere is literally the same thing as the lever in the physical sphere. His mastery of the lever differentiates man as strongly from the animal as does speech. If some learned Martians were looking at the earth, and should study it objectively from afar by means of a telescope, not hearing speech, nor entering into the subjective world of the inhabitants of the earth, nor coming in contact with them, they would divide the beings living on the earth into two groups: those acquainted with the action of the lever, and those unacquainted with such action. The psychology of animals is in general very misty to us. The infinite number of observations made concerning all animals, from elephants to spiders, and the infinite number of anecdotes about the mind, spirit, and moral qualities of animals change nothing of all that. We represent animals to ourselves either as living automatons or as stupid men. We too much confine ourselves within the circle of our own psychology. We fail to imagine any other, and think involuntarily that the only possible sort of soul is such as we ourselves possess. But it is this illusion which prevents us from understanding life. If we could participate in the psychic life of an animal, understand _how_ it perceives, thinks and acts, we would find much of unusual interest. For example, could we represent to ourselves, and re-create mentally, _the logic_ of an animal, it would greatly help us to understand our own logic and the laws of our own thinking. Before all else we would come to understand the conditionality and relativity of our own logical construction and with it the conditionality of our entire conception of the world. An animal would have a peculiar logic. It indeed would not be logic in the true meaning of the word, because logic presupposes the existence of _logos_ , i.e., of a word or concept. Our usual logic, by which we live, without which "the shoemaker will not sew the boot," is deduced from the simple scheme formulated by Aristotle in those writings which were edited by his pupils under the common name of _Organon_ , i.e., the "Instrument" (of thought). This scheme consists in the following: _A is A_. _A is not Not-A_. _Everything is either A or Not-A_. The logic embraced in this scheme – the logic of Aristotle – is quite sufficient for _observation_. But for _experiment_ it is insufficient, because the experiment proceeds _in time_ , and in the formula of Aristotle time is not taken into consideration. This was observed at the very dawn of the establishment of our experimental science – observed by Roger Bacon, and formulated several centuries later by his famous namesake, Francis Bacon, Lord Verulam, in the treatise _Novum Organum_ – the "New Instrument" (of thought). Briefly, the formulation of Bacon may be reduced to the following: _That which was A, will be A._ _That which was Not-A, will be Not-A._ _Everything was and will be, either A or Not-A._ Upon these formula, acknowledged or unacknowledged, all our scientific experience is built, and upon them, too, is shoemaking founded, because if a shoemaker could not be sure that the leather bought yesterday would be leather tomorrow, in all probability he would not venture to make a pair of shoes, but would find some other more profitable employment. The formula of logic, such as those both of Aristotle and of Bacon, are themselves deduced from the observation of facts, and do not and cannot include anything except the contents of these facts. They are not the laws of _reasoning_ , but the laws of the outer world as it is perceived by us, or the laws of our relation to the outer world. Could we represent to ourselves the "logic" of an animal we should understand its relation to the outer world. Our cardinal error concerning the psychology of animals consists in the fact that we ascribe to them our own logic. We assume that _logic is one_ , that our logic is something absolute, existing outside and independent of us, while as a matter of fact, logic but formulates the laws of the relations of our psyche to the outside world, or the laws which our psyche discovers in the outside world. Another psyche will discover other laws. The logic of animals will differ from ours, first of all, from the fact that it will not be _general_. It will exist separately for each case, for each perception. Common properties, class properties, and the generic and specific signs of _categories_ will not exist for animals. Each object will exist in and by itself, and all its properties will be the specific properties of it alone. _This house_ and _that house_ are entirely different objects for an animal, because one is _its_ house and the other is a _strange_ house. Generally speaking, we recognize objects by the signs of their similarity; the animal must recognize them by the signs of their difference. It remembers each object by that sign which had for it the greatest emotional meaning. In such a manner, i.e., by their emotional tones, perceptions are stored in the memory of an animal. It is clear that such perceptions are much more difficult to store up in the memory, and therefore the memory of an animal is more burdened than ours, although in the amount of knowledge and in the quantity of that which is preserved in the memory, it stands far below us. After seeing an object once, we refer it to a certain class, genus and species, place it under this or that concept, and fix it in the mind by means of some "word," i.e., algebraical symbol; then by another, defining it, and so on. The animal has no concepts: it has not that mental algebra by the help of which we think. It must know always _a given object_ , and must remember it with all its signs and peculiarities. No forgotten sign will return. For us, on the other hand, the principal signs are contained in the concept with which we have correlated that object, and we can find it in our memory by means of the sign for it. From this it is clear that the memory of an animal is more burdened than ours, and _this_ is the principal hindering cause to the mental evolution of an animal. Its mind is _too busy_. It _has no time_ to develop. The mental development of a child may be arrested by making it memorize a series of words or a series of figures. The animal is in just such a position. Herein lies the explanation of the strange fact that an animal is _wiser when it is young_. In man the flower of intellectual force blooms at a mature age, often even in senility; in the animal, quite the reverse is true. It is _receptive_ only while it is young. At maturity its development stops, and in old age it undoubtedly degenerates. The logic of animals, were we to attempt to express it by means of formula similar to those employed by Aristotle and Bacon would be as follows: The formula _A is A_ , the animal will understand. It will say (as it were) _I am I_ , etc.; but the formula, _A is not Not-A_ , it will be incapable of understanding. _Not Not-A_ is indeed the concept. The animal will reason thus: _This is this._ _That is that._ _This is not that_. or, _This man is this man._ _That man is that man._ _This man is not that man_. I shall be obliged to return to the logic of animals later on; for the present it is only necessary to establish the fact that the psychology of animals is peculiar, and differs in a fundamental way from our own. And not only is it peculiar, but it is decidedly _manifold_. Among the animals known to us, even among domestic animals, the psychological differences are so great as to differentiate them into entirely separate planes. We ignore this, and place them all under a single rubric – " _animals_." A goose, having entangled its foot in a piece of watermelon rind, drags it along by the web and thus cannot get it out, but it never thinks of raising its foot. This indicates that its mind is so vague that it does not know its own body, scarcely distinguishing between it and other objects. This would happen neither with a dog nor with a cat. They know their bodies very well. But in relation to outside objects the dog and the cat differ widely. I have observed a dog, a "very intelligent" setter. When the little rug on which he slept got folded and was uncomfortable to sleep on, he understood that the nuisance was _outside of him_ , that it was in the rug, and in a certain definite position of the rug. Therefore he caught the rug in his teeth, turned it and pushed it here and there, the while growling, sighing, and moaning until someone came to his aid, for he was never able to rectify the difficulty. With the cat such a question could not even appear. The cat knows her body very well, but everything outside of herself she takes as her due, as given. To _correct_ the outside world, to accommodate it to her own comfort, never comes into the cat's head. Perhaps this is because she lives more in another world, in the world of dreams and fantasies, than in this. Accordingly, if there were something wrong with her bed the cat would turn herself about repeatedly until she could lie down comfortably, or she would go and lie in another place. The monkey would spread the rug very easily indeed. Here we have _four_ beings, all quite different; and this is only one example: it would be possible to collect others by the hundred. And meanwhile there is for us just one "animal." We mix together many things that are entirely different; our "divisions" are often incorrect, and this hinders us when it comes to the examination of ourselves. To declare that manifest differences determine the "evolutionary grade," that animals of one type are "higher" or "lower" than those of another, would be entirely false. The dog and the monkey by their _intellect_ , their aptness to imitate, and by reason of the dog's fidelity to man, are as it were higher than the cat, but the cat is infinitely superior to them in intuition, esthetic sense, independence, and force of will. The dog and the monkey manifest themselves _in toto_ : all that they have is seen. The cat, on the other hand, is not without reason regarded as a magical and occult animal. In her there is much hidden of which she herself does not know. If one speaks in terms of evolution, it is more correct to say that the cat and the dog are animals of different evolutions, just as in all probability, not one, but several evolutions are simultaneously going forward in humanity. The recognition of several independent and from one standpoint equivalent evolutions, developing entirely different properties, would lead us out of a labyrinth of endless contradictions in our understanding of _man_ and would show us the path to the only real and important evolution for us – the evolution into superman. # **Chapter 9** The receptivity of the world by a man and by an animal. Illusions of the animal and its lack of control of the receptive faculties. The world of moving planes. Angles and curves considered as motion. The third dimension as motion. The animal's two-dimensional view of our three-dimensional world. The animal as a real two-dimensional being. Lower animals as one-dimensional beings. The time and space of a snail. The time-sense as an imperfect space-sense. The time and space of a dog. The change in the world coincident with a change in the psychic apparatus. The proof of Kant's problem. The three-dimensional world – an illusionary perception. WE HAVE ESTABLISHED the enormous difference existing between the psychology of a man and of an animal. This difference undoubtedly profoundly affects the receptivity of the outer world by the animal. But _how_ and _in what?_ This is exactly what we do not know, and what we shall try to discover. To this end we shall return to _our_ receptivity of the world, investigate _in detail_ the nature of that receptivity, and then imagine how the animal, with its more limited psychic equipment, receives its impression of the world. Let us note first of all that we receive the most incorrect impressions of the world as regards its outer form and aspect. We know that the world consists of solids, but we see and touch _only surfaces_. We never see and touch _a solid_. The solid – this is indeed _a concept_ , composed of a series of perceptions, the result of reasoning and experience. For immediate sensation, surfaces alone exist. Sensations of gravity, mass, volume, which we mentally associate with the "solid," are in reality associated with the sensations of surfaces. We only _know_ that the sensation comes from the solid, but the solid itself we never sense. Perhaps it would be possible to call the complex sensation of surfaces: weight, mass, density, resistance, "the sensation of a solid," but rather do we combine _mentally_ all these sensations into one, and call that composite sensation a solid. We sense directly only surfaces; the weight and resistance of the solid, as such, we never _separately_ sense. But we _know_ that the world does not consist of surfaces: we know that we see the world incorrectly, and that we _never_ see it _as it is_ , not alone in the philosophical meaning of the expression, but in the most simple _geometrical_ meaning. We have never seen _a cube, a sphere_ , etc., but only their surfaces. Knowing this, we mentally correct that which we see. Behind the surfaces we _think_ the solid. But we can never even _represent_ the solid to ourselves. We cannot imagine the cube or the sphere seen, not in perspective, but simultaneously from all sides. It is clear that the world does not exist in perspective; nevertheless we cannot see it otherwise. We see everything only in perspective; that is, in the very act of receptivity the world is distorted in our eye, and we know that it is distorted. We know that it is not such as it appears, and mentally we are continuously _correcting_ that which the eye sees, substituting the real content for those symbols of things which sight reveals. Our sight is a complex faculty. It consists of visual sensations _plus_ the memory of sensations of touch. The child tries to feel with its finger-tips everything that it sees – the nose of its nurse, the moon, the reflection of sun rays from the mirror on the wall. Only gradually does it learn to discern the near and the distant _by means of sight alone_. But we know that even in mature age we are easily subject to optical illusions. We see distant objects as flat, even more incorrectly, because relief is after all a symbol revealing a certain property of objects. A man at a long distance is pictured to us in silhouette. This happens because we never feel anything at a long distance, and the eye has not been taught to discern the difference in surfaces which at short distances are felt by the finger-tips.* We can never see, even in the minute, any part of the outer world as it is, that is, as we know it. We can never see the desk or the wardrobe all at once, from all sides and inside. Our eye distorts the outside world in a certain way, in order that, looking about, we may be able to define the position of objects relatively to ourselves. But to look at the world from any other standpoint than our own is impossible for us, nor can we ever see it correctly, without distortion by our sight. Relief and perspective – these constitute the distortions of the object by our eye. They are optical illusions, delusions of sight. The cube in perspective is but a conventional sign of the three-dimensional cube, and all that we see is the conditional image of that conditionally real three-dimensional world with which our geometry deals, and not that world itself. On the basis of what we see we surmise that it exists in reality. We know that what we see is incorrect, and we think of the world as other than it appears. If we had no doubt about the correctness of our sight, if we knew that the world were such as it appears, then obviously we should think of the world in the manner in which we see it. In reality we are constantly engaged in making corrections. It is clear that the ability to make corrections in that which the eye sees demands, undoubtedly, the possession of the concept, because the corrections are made by a process of reasoning, which is impossible without concepts. Deprived of the faculty to make corrections in that which the eye sees we should have a different outlook on the world, i.e., much of that which is we should see incorrectly; we should not see much of that which is, but we should see much of that which does not exist in reality at all. First of all, we should see an enormous number of non-existent motions. Every motion of ours in our direct sensation of it, is bound up with the motion of everything around us. We know that this motion is an illusory one, but we see it as real. Objects turn in front of us, run past us, overtake one another. If we are riding slowly past houses, these turn slowly, if we are riding fast they turn quickly; also, trees grow up before us unexpectedly, run away and disappear. This seeming animation of objects, coupled with dreams, has always inspired, and still inspires the fairy tale. The "motions" of objects, to a person in motion, are very complex indeed. Observe how strangely the field of wheat behaves just beyond the window of the car in which you are riding. It runs to the very window, stops, turns slowly around itself and runs away. The trees of the forest run apparently at different speeds, overtaking one another. The entire landscape is one of illusory motion. Behold also the sun, which even up to the present time "rises" and "sets" in all languages – this "motion" having been in the past so passionately defended! Though we know that these motions are illusory, we see them nevertheless, and sometimes we are deluded. To how many more illusions should we be subject had we not the power of mentally analyzing their determining causes, but were obliged to believe that everything exists as it appears! _I see it; therefore this exists_. This affirmation is the principal source of all illusions. To be true, it is necessary to say: _I see it; therefore this does not exist_ – or at least, _I see it; therefore this is not so_. Although we _can_ say the last, the animal cannot, for to its apprehension things are as they appear. It must believe what it sees. How does the world appear to the animal? The world appears to it as a series of complicated moving surfaces. The animal lives in _a world of two dimensions_. Its universe has for it the properties and appearance of _a surface_. And upon this surface transpire an enormous number of different movements of a most fantastic character. Why should the world appear to the animal as a surface? First of all, because it appears as a surface _to us_. But we _know_ that the world is not a surface, and the animal can, not know it. It accepts everything just as it appears. It is powerless to correct the testimony of its eyes – or it cannot do so to the extent that we do. We are able to measure in three mutually independent directions: the nature of our mind permits us to do this. The animal can measure simultaneously in two directions only – it can never measure in three directions at once. This is due to the fact that, not possessing concepts, it is unable to retain in the mind the idea of the first two directions, for measuring the third. Let me explain this more exactly. Suppose we imagine that we are measuring _the cube_. In order to measure the cube in three directions, it is necessary while measuring in one direction, to keep in mind two others – _to remember_. But it is possible to keep them in mind as concepts only, that is, associating them with different concepts – pasting upon them different labels. So, pasting upon the first two directions the labels of _length_ and _breadth_ , it is possible to measure the height. It is impossible otherwise. As _perceptions_ , the first two measurements of the cube are completely identical, and assuredly will mingle into one in the mind. The animal, without the aid of concepts, cannot paste upon the first two measurements the labels of length and breadth. Therefore, at the moment when it begins to measure the height of the cube, the first two measurements will be confused in one. The animal, attempting to measure the cube by means of perceptions only without the aid of concepts, will be like a cat I once observed. Her kittens – five or six in number – she dragged asunder into different rooms, and could not then collect them together. She seized one, put it beside another, ran for a third and brought it to the first two, but then she seized the first and carried it away to another room, putting it beside the fourth; after that she ran back, seized the second and dragged it to the room containing the fifth, and so on. For a whole hour the cat had no rest with her kittens, she suffered severely, and could accomplish nothing. It is clear that she lacked the concepts which would enable her to remember how many kittens she had altogether. It is in the highest degree important to understand the relation of the animal consciousness to the measuring of bodies. The great point is that the animal sees surfaces only. (We may say this with complete assurance, because we ourselves see surfaces only.) Thus seeing only surfaces the animal can _imagine_ but two dimensions. The third-dimension, in contradistinction to the other two, can only be _thought_ ; that is, this dimension must be a concept; but animals do not possess concepts. The third dimension like the others appears as a perception. Therefore, at the moment of its appearance, the first two will inevitably mingle into one. The animal is capable of perceiving the difference between two dimensions: the difference between _three_ it cannot perceive. This difference must be _known_ beforehand, and to know it concepts are necessary. Identical perceptions mix into one for the animal, just as we ourselves confuse two simultaneous, similar phenomena proceeding from the same point. For the animal it will be _one phenomenon_ , just as for us all similar, simultaneous phenomena proceeding from a single point will be one phenomenon. Therefore the animal will see the world as a surface, and will measure this surface in two directions only. But how is it possible to explain the fact that the animal, inhabiting a two-dimensional world, or rather, perceiving itself as in a two-dimensional world, is perfectly oriented in our three-dimensional world? How explain the fact that the bird flies up and down, sideways and straight ahead – in all three directions; that the horse jumps over ditches and barriers; that the dog and cat appear to, understand the properties of depth and height simultaneously with those of length and breadth? In order to explain these things it is necessary to return to the fundamental principles of animal psychology. It has been previously shown that many properties of objects remembered by us _as general_ properties of genus, class, species, are remembered by animals as individual properties of objects. To orientate in this enormous reserve of individual properties preserved in the memory, animals are assisted by the emotional tone which is linked up in them with each perception and each remembered sensation. For example, an animal knows two roads as two entirely separate phenomena having nothing in common; that is, one road consists of a series of definite perceptions colored by definite emotional tones; the other phenomenon – the other road – consists of another series of definite perceptions colored with other tones. We say that this, that, and the other are roads. One leads to one place, a second to another. For an animal the two roads have _nothing in common_. But it remembers in their proper sequence all the emotional tones which are linked with the first road and with the second one, and it therefore remembers both roads with their turns, ditches, fences, etc. Thus _the remembering_ of definite properties of observed objects helps the animal to _find_ itself in the world of phenomena. But as a rule before _new_ phenomena an animal is much more helpless than a man. An animal sees two dimensions; the third dimension it senses constantly, but does not see. It senses the third dimension as something _transient_ , just as we sense _time_. The surfaces which an animal sees possess for it many strange properties; first of all, _numerous and various motions_. As has been said already, all those illusory motions which seem to us real, but which we _know_ to be illusory, are entirely real to the animal: the turning about of the houses as we ride past, the growth of a tree out of some corner, the passing of the moon between clouds, etc. etc. But in addition to all this, many motions must exist for the animal of which we have no suspicion. The fact is that innumerable objects quite immobile for us – properly _all objects_ – must seem to the animal to be _in motion_ ; AND THE THIRD DIMENSION OF SOLIDS WILL APPEAR TO IT IN THESE MOTIONS; i.e., THE THIRD DIMENSION OF SOLIDS WILL APPEAR TO IT AS A MOTION. Let us try to imagine how the animal perceives the objects of the outer world. Suppose it is confronted with a _large disc, and simultaneously with a large sphere of the same diameter_. Standing directly opposite them at a certain distance, the animal will see two circles. Beginning to walk around them, it will observe that the sphere remains a circle, while the disc gradually narrows, transforming itself into a narrow strip. On moving farther around, the strip begins to expand and gradually transforms itself into a circle. The sphere will not change during this circumambulation. But when the animal approaches toward it certain strange phenomena ensue. Let us try to understand how the animal will perceive the surface of the sphere as contrasted with the surface of the disc. One thing is sure: it will perceive the spherical surface _differently from us_. We perceive convexity or spheres as _a common property_ of many surfaces. The animal, on the contrary, because of the very properties of its psychic apparatus, will perceive that sphericity as an individual property of a given sphere. Now how will this sphericity as an individual property of a given sphere appear to it? We may declare with complete assurance that the sphericity will appear to the animal as a movement on the surface which it sees. During the approach of the animal toward the sphere something like the following must happen: the surface which the animal sees starts to move quickly; its center spreads out, and all of the other points run away from the center with a velocity proportional to their distance from the center (or the square of their distance from the center). It is in this way that the animal senses the spherical surface – _much as we sense sound_. At a certain distance from the sphere the animal perceives it as a plane. Approaching or touching some point on the sphere it sees that all other points have changed with relation to this particular point, they have all altered their position on the plane – have moved to one side, as it were. Touching another point, it sees that all the rest have moved in similar fashion. This property of the sphere will appear as its _motion_ , its "vibration." The sphere will actually resemble a vibrating, oscillating surface, in the same way that _each angle_ of an immobile object will appear to the animal as _a motion_. The animal can see an angle of a three-dimensional object only while moving past it, and during the time it takes, the object will seem to the animal to have turned – a new side has appeared, and the side first seen has disappeared or moved away. The _angle_ will be perceived as rotation, as the motion of the object, i.e., as something transient, temporal, as a change of state in the object. Remembering the angles which it has seen before – seen as the motion of bodies – the animal will consider that they have ceased, have ended, have disappeared — that they are _in the past_. Of course the animal cannot _reason_ in this way, but it acts as though it had thus reasoned. Could the animal think about those phenomena which have not yet entered into its life (i.e., angles and curved surfaces) it would undoubtedly imagine them _in time only_ : it could not prefigure for them any real existence at the present moment _when they have not yet appeared_. And were it able to express an opinion on this subject, it would say that angles exist _in potentiality_ , that they _will be_ , but that for the present _they do not exist_. The angle of a house past which a horse runs every day is _a phenomenon, repeating under certain circumstances_ , but nevertheless _a phenomenon proceeding in time_ , and not a spatial and constant property of the house. For the animal the angle will be a temporal phenomenon and not a spatial one, as it is for us. Thus we see that the animal will perceive the properties of our third dimension as motions, and will refer these properties to _time_ , i.e., to the past or future, or to the present – the moment of the transition of the future into the past. This circumstance is in the highest degree important, for therein lies the key to our own receptivity of the world; we shall therefore examine into it more in detail. Up to the present time we have taken into consideration only the higher animals: the dog, the cat, the horse. Let us now try the lower: let us take the snail. We know nothing about its inner life, but undoubtedly its receptivity resembles ours scarcely at all. In all probability the snail possesses some obscure sensations of its environment. Probably it feels heat, cold, light, darkness, hunger – and it instinctively (i.e., urged by pleasure-pain guidance) strives to reach the uneaten edge of the leaf on which it rests, and instinctively avoids the dead leaf. Its movements are guided by _pleasure-pain_ : it constantly strives toward the one, and away from the other. It _always moves upon a single line_ , from the unpleasant to the pleasant, and in all probability except for this line it is not conscious of anything and does not sense anything. This line is its entire world. All sensations, _entering_ from the outside, the snail senses upon this line of its motion, and these come to it _out of time_ – from the potential they become the present. For the snail our entire universe exists in the future and in the past – i.e., _in time_. In space only one line exists; all the rest is time. It is more than probable that the snail is not conscious of its movements. Making efforts with its entire body it moves forward to the fresh edge of the leaf, but it seems as if the leaf were coming to it, appearing at that moment, coming out of time as _the morning_ comes to us. The snail is a one-dimensional being. The higher animals – the dog, cat, the horse – are two-dimensional beings. To the higher animal all space appears as a surface, as a plane. Everything out of this plane lives for it in time. Thus we see that the higher animal – the two-dimensional being compared with the one-dimensional – extracts or _captures from time one more dimension_. The world of a snail has one dimension; our second and third dimensions are for it in time. The world of a dog is two-dimensional; our third dimension is for it in time. An animal can remember all "phenomena" which it has observed, i.e., all properties of three-dimensional solids with which it has come in contact, but it cannot know that the (for it) recurring phenomenon is a constant property of the three-dimensional solid – an angle, curvature, or convexity. Such is the psychology of the receptivity of the world by a two-dimensional being. For such a being _a new sun_ will rise every day. Yesterday's sun is gone, and will not appear again; tomorrow's does not as yet exist. Rostand did not understand the psychology of _Chantecler_. The cock could not think that he woke up the sun by his crowing. To him the sun does not go to sleep, it goes into the past, disappears, suffers annihilation, _ceases to be_. If it comes on the morrow it will be a new sun, just as for us with every New Year comes _a new spring_. In order _to be_ the sun shall not wake up, but _arise_ , be born. The cock (if it could think without losing its characteristic psychology) could not believe in the appearance today of the same sun which was _yesterday_. This is purely human reasoning. For the animal _a new sun_ rises every morning, just as for us a _new morning comes_ with every day and _a new spring_ with every year. The animal is not in a position to understand that the sun is the same yesterday and today, EXACTLY IN THE SAME WAY THAT WE PROBABLY CANNOT UNDERSTAND THAT THE MORNING IS THE SAME AND THE SPRING IS THE SAME. The motion of objects which is not illusory, even for us, but a real motion, like that of a revolving wheel, a passing carriage, and so on, will differ for the animal very much from that motion which it sees in all objects which are for us immobile – i.e., from that motion in which the third dimension of solids is as it were revealed to it. The first mentioned motion (real for us) will seem to the animal arbitrary, _alive_. And these two kinds of motion will be incommensurable for it. The animal will be in a position to measure an angle or a convex surface, though not understanding their true nature, and though regarding them as motion. But true motion, i.e., that which is true motion to us, it will never be in a position to measure, because for this it is necessary to possess our _concept of time_ , and to measure all motions with reference to some one more constant motion, i.e., to compare all motions with some _one_. Without concepts the animal is powerless to do this. Therefore the (for us) real motions of objects will be incommensurable for it, and being incommensurable, will be incommensurable with other motions which are real and measurable for it, but which are illusory for us – motions which in reality represent the third dimension of solids. This last conclusion is inevitable. If the animal apprehends and measures as _motion_ that which is not motion, clearly it cannot measure by one and the same standard that which is motion and that which is not motion. But this does not mean that it cannot know the character of motions going on in the world and cannot conform itself to them. On the contrary, we see that the animal orientates itself perfectly among the motions of the objects of our three-dimensional world. Here comes into play the aid of instinct, i.e., the ability, developed by millenniums of selection, to act expediently without consciousness of purpose. Moreover, the animal discerns perfectly the motions going on around it. But discerning two kinds of phenomena, _two kinds of motion_ , the animal will explain one of them by means of some incomprehensible inner property of objects, i.e., in all probability it will regard this motion as the result of the _animation_ of objects, and the moving objects as _animated beings_. The kitten plays with the ball or with its tail because ball and tail _are running away from it_. The bear will fight with the beam which threatens to throw him off the tree, because in the swinging beam he senses something alive and hostile. The horse is frightened by the bush because the hush unexpectedly turned and waved a branch. In the last case the bush need not even have moved at all, for the horse was running, and it seemed therefore as though the bush moved, and consequently that it was animated. In all probability all movement is thus animated for the animal. Why does the dog bark so desperately at the passing carriage? This is not entirely clear to us for we do not realize that to the eyes of the dog the carriage is turning, twisting, grimacing all over. It is alive in every part – the wheels, the top, the mudguards, seats, passengers – all these are moving, turning. Now let us draw certain conclusions from all of the foregoing. We have established the fact that man possesses sensations, perceptions and concepts; that the higher animals possess sensations and perceptions, and the lower animals sensations only. The conclusion that animals have no concepts we deduced from the fact that they have no speech. Next we have established that having no concepts, animals cannot comprehend the third dimension, but see the world as a surface; i.e., they have no means – no instrument – for the correction of their incorrect sensations of the world. Furthermore, we have found that seeing the world as a surface, animals see upon this surface many motions which for us are non-existent. That is, all those properties of solids which we regard as the properties of three-dimensionality, animals represent to themselves _as motions_. Thus the angle and the spherical surface appear to them as the movements of a plane. After that we came to the conclusion that everything which we regard as _constant_ in the region of the third dimension, animals regard as _transient_ things which happen to objects – temporal phenomena. Thus in all its relations to the world the animal is quite analogous to the imagined, unreal two-dimensional being living upon a plane. All our world appears to the animal as the plane through which phenomena are passing, moving upon time, or in time. And so we may say that we have established the following: that under certain limitations of the psychic apparatus for receiving the outer world, for the subject possessing this apparatus, the entire aspect and all properties of the world will suffer change. And two subjects, living side by side, but possessing different psychic apparatus, will inhabit different worlds – the properties of the extension of the world will be different for them. And we observed the conditions, not invented for the purpose, not concocted in imagination, but really existing in nature; that is, the psychic conditions governing the lives of animals, under which the world appears as a plane or as a line. That is to say, we have established that the three-dimensional extension of the world depends upon the properties of our psychic apparatus. Or, that the three-dimensionality of the world is not its property, but a property of _our_ receptivity of the world. In other words, the three-dimensionality of the world is a property of its reflection in our consciousness. If all this is so, then it is obvious that we have really proved the dependence of space upon the _space-sense_. And if we have proved the existence of a space-sense _lower in comparison with ours_ , by this we have proved the possibility of a spacesense _higher in comparison with ours_. And we shall grant that if in us there develops the _fourth_ _unit_ of reasoning as different from the concept as the concept is different from perception, so simultaneously with it will appear for us in the surrounding world a fourth characteristic which we may designate geometrically as the fourth direction or the fourth perpendicular, because in this characteristic will be included the properties of objects perpendicular to all properties known to us, and not parallel to any of them. In other words, we shall see, or we shall feel ourselves in a space not of three, but of four dimensions; and in the objects surrounding us, and in our own bodies, will appear _common properties_ of the fourth dimension which we did not notice before, or which we regarded as individual properties of objects (or their motion), just as animals regard the extension of objects in the third dimension as their motion. And when we shall see or feel ourselves in the world of four dimensions we shall see that the world of three dimensions does not really exist and has never existed: that it was the creation of our own fantasy, a phantom host, an optical illusion, a delusion – anything one pleases excepting only reality. And all this is not an "hypothesis," not a supposition, but exact fact, just such a fact as the existence of infinity. For positivism to insure its existence it was necessary to annihilate infinity somehow, or at least to call it an "hypothesis" which may or may not be true. Infinity however is not an hypothesis, but a fact, and such a fact is the multi-dimensionality of space and all that it implies, namely, the unreality of everything three-dimensional. # **Chapter 10** The spatial understanding of time. The angles and curves of the fourth dimension in our life. Does motion exist in the world or not? Mechanical motion and "life." Biological phenomena as the manifestation of motions going on in the higher dimension. Evolution of the space-sense. The growth of the space-sense and the diminution of the time-sense. The transformation of the time-sense into the space-sense. The difficulties of our language and of our concepts. The necessity for seeking a method of spatial expression for temporal concepts. Science in relation to the fourth dimension. The solid of four dimensions. The four-dimensional sphere. NOW FROM THE BASIS of those conclusions already made, let us seek to define how we may discover the real four-dimensional world obscured from us by the illusory three-dimensional world. "See" it we may by two methods: either by sensing it directly, by developing the "space-sense" and other higher faculties, which will be discussed later; or by understanding it mentally by a perception of its possible properties through the exercise of the reason. By abstract reasoning, we have already come to the conclusion that the fourth dimension of space _must_ lie in time, i.e., that time is the fourth dimension of space. We have already discovered psychological proofs of this thesis. Comparing the receptivity of the world by living beings of different grades of consciousness – snail, dog and man – we have seen how different for them are the properties of one _and the same world_ ; namely, those properties which are expressed for us in the concepts of time and space. We have seen that time and space are sensed by each in a different manner: that what for the lower being (the snail) is _time_ , for the being standing one degree higher (the dog) becomes _space_ , and that the time of this being becomes space to a being standing still higher – man. This is a confirmation of the supposition previously expressed, that our idea of time is complex in its nature, and that in it are properly included _two ideas_ – that of a certain space and that of motion upon this space. Or to put the matter more exactly, the contact with a certain space of which we are not clearly conscious calls forth in us the sensation of motion upon that space; and all this taken together, i.e., the unclear consciousness of a certain space and the sensation of motion upon that space, we call time. This last confirms the conception that the idea of time has not arisen from the observation of motion existing in nature, but that the very sensation and idea of motion has arisen from a "time-sense" existing in ourselves, which is _an imperfect sense of space_ : the fringe, or limit of our space-sense. The snail feels the line as space, i.e., as something constant. It feels the rest of the world as time, i.e., as something eternally moving. The horse feels the plane as space. It feels the rest of the world as time. We feel _an infinite sphere_ as space; the rest of the world, that which _was_ yesterday and that which will be tomorrow, we feel as time. In other words, every being feels as space that which is grasped by his space-sense: the rest he refers to time; i.e., _the imperfectly felt is referred to time_. Or it is possible to formulate the matter thus: every being feels as space that which, by the aid of his space-sense he is able to _represent to himself_ in form, outside of himself; and that which he is not able thus to represent he feels as time, i.e., eternally moving, impermanent, so unstable that it is impossible to imagine it in terms of form. THE SENSE OF SPACE (SPACE-SENSE) IS THE POWER OF REPRESENTATION BY MEANS OF FORM. The "infinite sphere" by which we represent the universe to ourselves is constantly and continuously changing: in every consecutive moment _it is not that_ which it was before. A constant change of pictures, images, relations, is going on therein. It is for us as it were the screen of a cinematograph upon which the swiftly running images of pictures appear and disappear. But where are the pictures themselves? Where is the light throwing the image upon the screen? Whence do the pictures come, and whither do they go? If the "infinite sphere" is the screen of the cinematograph so our consciousness is _the light_ , penetrating through our psyche: i.e., through the stores of our impressions (pictures) it (the light) throws upon the screen their images which we call _life_. But where do the impressions come from to us? _From the same screen_. And herein dwells the most incomprehensible mystery of life as we see it. We are creating it and we are receiving everything from it. Imagine a man sitting in the ordinary moving-picture theatre. Imagine that he knows nothing of the construction of the cinematograph, nothing of the existence of the lantern _behind his back_ , nor of the small transparent picture on the moving film. Let us imagine that he wants to _study_ the cinematograph, and begins to study that which proceeds on the screen, to make notes, to take pictures, to observe the order, to calculate, to construct hypotheses, and so forth. At what will he arrive? Evidently at nothing at all, unless he will turn his back to the screen, and will begin to study _the cause of the appearance of the pictures upon the screen_. The cause is confined in the lantern (i.e., in consciousness), and in the moving films of pictures (in the psyche). These it is necessary to study, desiring to understand the "cinematograph." Positive philosophy studies only the screen and the pictures passing upon it. For this reason the eternal enigma remains for it: wherefrom are the pictures coming and where are they going, and why are they coming and going instead of remaining eternally the same? But it is necessary to study the cinematograph beginning with _the source of light_ , i.e., with _consciousness_ , then to pass on to _the pictures_ on the moving film, and only after that to study _the projected image_. We have established that the animal (the horse, the cat, the dog) must perceive the immobile angles and curves of the third dimension as motion, i.e., as temporal phenomena. The question arises: do not we perceive as motion, i.e., as temporal phenomena, the immobile angles and curves of the fourth dimension? We ordinarily say that our sensations are the moments of the apprehension of certain changes proceeding outside of us; such are sound, light, etc., all "vibrations of the ether." But what are these "changes?" Perhaps in reality there are no changes at all. Perhaps the immobile sides and angles of certain things which exist outside of us – of certain _things_ which we know nothing about – only appear to us as motions, i.e., as changes. It may be that our consciousness, not being able to embrace these things _with the aid of the organs of sense_ , and _to represent them to itself in their entirety, just as they are_ , and grasping only the separate moments of its contact with them, is constructing the illusion of motion, and conceives that something is moving outside of it (of consciousness), i.e., that the "things" are themselves moving. If such is the case, then "motion" must be in reality something only "derived," arising in our intellect during its contact with things which it does not grasp in their totality. Let us imagine that we are approaching an unknown city, and that it is slowly "growing up" before us as we approach. It appears to us as if it is really growing up, i.e., as though it did not exist before. There _disappeared_ the river, which was visible for so long a time; there _appeared_ the bell-tower, which was invisible before. Such, exactly, is our relation to time, which is a continual coming – arising, as it were, from _nothing_ and going into naught. Every thing lies for us in time, and only the _section of the thing_ lies in space. Transferring our consciousness from the section of the thing to those parts of it which lie in time, we receive the illusion of motion _on the part of the thing itself_. It is possible to formulate the matter thus: the sensation of motion is the consciousness of the transition from space to time, i.e., from a clear space-sense to one that is unclear. With this in mind it is not difficult to realize that we are receiving as sensations, and projecting into the outside world as phenomena, _the immobile angles and curves of the fourth dimension_. On this account is it not necessary and possible to recognize that the world is immobile and constant, and that it seems to us to be moving and evolving simply because we are looking at it through the narrow slit of our sensuous receptivity? We are returning again to the question: what is the world and what is consciousness? But now the question concerning the relation of our consciousness to the world is beginning to be formulated for us. If the world is a _Great Something_ , possessing the consciousness of itself, so we are rays of that consciousness which are conscious of themselves, but unconscious of the whole. If there be no motion, if it be an illusion, then we must search further – whence could this illusion have arisen? The phenomena of life – biological phenomena – much resemble the transition through our space of certain four-dimensional _circles_ , the circles being extremely complicated, every one consisting of a great number of interlaced lines. The life of a man or of any other living being suggests a complicated circle. It begins always at one point (birth) and ends always at one point (death). We have complete justification for supposing that it is _one and the same point_. The circles are large and small, but they begin and end similarly, and they end at the same point where they began, i.e., at the point of non-existence, from the physicobiological standpoint, or of some existence other than the psychological one. What is the biological phenomenon, the phenomenon of life? Our science does not answer this question. This is the enigma. In the living organism, in the living cell, in the living protoplasm there is _something_ indefinable, differentiating, living matter from dead matter. We recognize this _something_ only by its functions. The chief of these functions is _the power of self-reproduction_ – absent in the dead organism, the dead cell, dead matter. The living organism multiplies infinitely, incorporating and assimilating dead matter into itself. This ability to reproduce itself and to absorb dead matters with its mechanical laws is the inexplicable function of "life," showing that life is not simply a complex of mechanical forces, as the positivist philosophy attempts to prove. This thesis, that life is not a complex of mechanical forces, is corroborated also by the _incommensurability_ of the phenomena of mechanical motion with the phenomena of life. Life phenomena cannot be expressed in terms of mechanical energy, calories of heat or units of horse power; nor can the phenomena of life be artificially created by the physicochemical method. If we shall regard every separate life as a circle of the fourth dimension, this will make clear to us why every circle is inevitably escaping from our space. This happens because the circle inevitably ends in the same point at which it began, and the "life" of the separate being, beginning with birth, must end in death, which is the return to the point of departure. But during its transit through our space, the circle puts forth from itself certain lines, which, uniting with others, yield new circles. In reality of course all this proceeds quite otherwise: nothing is born and nothing dies; it only so represents itself to us, because we see but the sections of things. In reality, the _circle of life_ is only the section of _something_ , and that _something_ undoubtedly exists before birth, i.e., before the appearance of the circle in our space, and continues to exist after death, i.e., after the disappearance of the circle from the field of our vision. To our observation the _phenomena of life_ are similar to _the phenomena of motion_ as these appear to the two-dimensional being; and therefore it may be that this is "the motion in the fourth dimension." We have seen that the two-dimensional being is bound to regard the properties of the three-dimensionality of solids as motions, and the real motions of solids, going on in the higher space as _the phenomena of life._ In other words, that motion which _remains_ a motion in the higher space appears to the lower being as a phenomenon of life, and that which _disappears_ in the higher space, transforming itself into _the property_ of an immobile solid, appears to the lower being as mechanical motion. The phenomena of "life" and the phenomena of "motion" are just as incommensurable for us as are the two kinds of motion in its world for the two-dimensional being; one of these motions being real and the other illusory. Hinton says of this incommensurability: "There is something in life not included in our conception of mechanical movement. Is this something a four-dimensional movement? "If we look at it from the broadest point of view there is something striking in the fact that where life comes in there arises an entirely different set of phenomena from those of the inorganic world." Upon this basis it is justifiable to assume that those phenomena which we call _the phenomena of life_ are movements in higher space. Those phenomena which we call mechanical motion become in turn _the phenomena of life_ in a space lower relatively to ours, and in one higher, simply the properties of immobile solids. This means that if we consider three kinds of existence – the two-dimensional, ours, and the higher dimensional – then it will appear that the "motion" which is observed by the two-dimensional being in two-dimensional space, is _for us_ a property of immobile solids; "life" as it is apprehended in two-dimensional space, is "motion" as we observe it in our space. Moreover, motions in three-dimensional space, i.e., all our mechanical motions and the manifestations of physico-chemical forces – light, sound, heat, etc., – are only our sensations of some to us incomprehensible properties of four-dimensional solids; and our "phenomena of life" are the motions of solids of higher space which appear to us as the birth, growth, and life of living beings. But if we presuppose a space not of four, but of five dimensions, then in it the "phenomena of life" would probably appear as the properties of _immobile solids_ – genus, species, families, peoples, races, and so forth – and motions would seem, perhaps, only _the phenomena of thought_. We know that the phenomena of motion or the manifestations of energy are involved with the expenditure of time, and we see how, with the gradual transcendence of the lower space by the higher, motion disappears, being converted into the properties of immobile solids; i.e., the expenditure of time disappears – and the necessity for time. To the two-dimensional being _time_ is necessary for the understanding of the simplest phenomena – an angle, a hill, a ditch. For us time is not necessary for the understanding of such phenomena, but is necessary for the explanation of the phenomena of motion and physical phenomena. In a space still higher, our phenomena of motion and physical phenomena would probably be regarded independently of time, as properties of immobile solids; and biological phenomena – birth, growth, reproduction, death – would be regarded as phenomena of motion. Thus we see how the idea of time recedes with the expansion of consciousness. We see its complete conditionality. We see that by time are designated the characteristics of a space relatively higher than a given space – i.e., the characteristics of the perceptions of a consciousness relatively higher than a given consciousness. For the one-dimensional being all the indices of two-, three-, four-dimensional space and beyond, lie in time – all this is time. For the two-dimensional being time embraces within itself the indices of three-dimensional space, four-dimensional space, and all spaces beyond. For man, i.e., the three-dimensional being, time contains the indices of four-dimensional space and all spaces beyond. Therefore, according to the degree of expansion and elevation of the consciousness and the forms of its receptivity the indices of space are augmented and the indices of time are diminished. In other words, the growth of the space-sense is proceeding at the expense of the time-sense. Or one may say that the time-sense is an imperfect space-sense (i.e., an imperfect power of representation which, being perfected, translates itself into the space-sense, i.e., into the power of representation in forms. If, taking as a foundation the principles elucidated here, we attempt to represent to ourselves the universe very abstractedly, it is clear that this will be quite other than the universe which we are accustomed to imagine to ourselves. _Everything_ will exist in it always. This will be the universe of the _Eternal Now_ of Hindu philosophy – a universe in which will be neither _before_ nor _after_ , in which will be just one present, _known_ or _unknown_. Hinton feels that with the expansion of the space-sense our vision of the world will change completely, and he tells about this in his book, _A New Era of Thought_. (p. 66.) The conception which we shall form of the universe will undoubtedly be as different from our present one, as the Copernican view differs from the more pleasant view of a wide, immovable earth beneath a vast vault. Indeed, any conception of our place in the universe will be more agreeable than the thought of being on a spinning ball, kicked into space without any means of communication with any other inhabitants of the universe. But what does the world of many dimensions represent in itself – what are these solids of many dimensions the lines and boundaries of which we perceive as motion? A great power of imagination is necessary to transcend the limits of _our_ perceptions and to visualize mentally the world in other categories even for a moment. Let us imagine some object, say _a book_ , outside of time and space. What will this last mean? Were we to take the book out of time and space it would mean that _all books_ which have existed, exist now, and will exist, _exist together_ , i.e., occupy one and the same place and exist simultaneously, forming as it were _one book_ which includes within itself the properties, characteristics and peculiarities of all books possible in the world. When we say simply, _a book_ , we have in mind _something_ possessing the common characteristic of all books – this is _a concept_. But that book about which we are talking now, possesses not only these common characteristics but the individual characteristics of all separate books. Let us take other things – a table, a house, a tree, a man. Let us imagine them out of time and space. The mind will have to open its doors to _objects_ each possessing such an enormous, such an infinite number of signs and characteristics that to comprehend them by means of the reason is absolutely impossible. And if one wants to comprehend them by his reason he will certainly be forced to dismember these objects somehow, to take them at first in some one sense, from one side, in one section of their being. What is "man" out of space and time? He is all humanity, man as the "species" – _Homo Sapiens_ , but at the same time possessing the characteristics, peculiarities and individual ear-marks of _all_ separate men. This is you, and I, and Julius Caesar and the conspirators who killed him, and the newsboy I pass every day – all kings, all slaves, all saints, all sinners – all taken together, _fused_ into one indivisible being of _a man_ , like a great living tree in which are bark, wood, and dry twigs; green leaves flowers and fruit. Is it possible to conceive of and understand such a being by our reason? The idea of such a "great being" inspired the artist or artists who created the Sphinx. But what is motion? Why do we feel it if it does not exist? About this last, Mabel Collins, a theosophical writer of the first period of modern theosophy, writes very beautifully in her poetical _Story of the Year_. The entire true meaning of the earthly life consists only in the mutual contact between personalities and in the efforts of growth. Those things which are called events and circumstances and which are regarded as the real contents of life – are in reality only the conditions which make these contacts and this growth possible. In these words there sounds already quite a new understanding of _the real_. And truly the illusion of motion cannot arise out of nothing. When we are travelling by train, and the trees are running, overtaking one another, we know that this motion is an illusory one, that the trees are immobile, and that the illusion of their motion is created by our own. As in these particular cases, so also in general as regards all _motion_ in the material world, the foundation of which the "positivists" consider to be motion in the finest particles of matter, we, recognizing this motion as an illusory one, will ask: Is not an illusion of this motion created by some motion inside our consciousness? So it will be. And having established this, we shall endeavor to define what kind of motion is going on inside our consciousness, i.e., what is moving relatively to what? H. P. Blavatsky, in her first book, _Isis Unveiled_ , touched upon the same question concerning the relation of _life_ to _time_ and _motion_. She writes: As our planet revolves every year around the sun and at the same time turns once in every twenty-four hours upon its own axis, thus traversing minor cycles within a larger one, so is the work of the smaller cyclic periods accomplished and recommenced. The revolution of the physical world, according to the ancient doctrine, is attended by a like revolution in the world of intellect – the spiritual evolution of the world proceeding in cycles, like the physical one. Thus we see in history a regular alternation of ebb and flow in the tide of human progress. The great kingdoms and empires of the world, after reaching the culmination of their greatness, descend again in accordance with the same law by which they ascended; till, having reached the lowest point, humanity reasserts itself and mounts up once more, the height of its attainment being, by this law of ascending progression by cycles, somewhat higher than the point from which it had before descended. The division of the history of mankind into Golden, Silver, Copper and Iron Ages, is not a fiction. We see the same thing in the literature of peoples. An age of great inspiration and unconscious productiveness is invariably followed by an age of criticism and consciousness. The one affords material for the analyzing and critical intellect of the other. Thus all those great characters who tower like giants in the history of mankind, like Buddha-Siddãrtha, and Jesus, in the realm of spiritual, and Alexander the Macedonian and Napoleon the Great, in the realm of physical conquests, were but reflexed images of human types which had existed ten thousand years before, in the preceding decimillennium, reproduced by the mysterious powers controlling the destinies of our world. There is no prominent character in all the annals of sacred or profane history whose prototype we cannot find in the half-fictitious and half-real traditions of bygone religions and mythologies. As the star, glimmering at an immeasurable distance above our heads, in the boundless immensity of the sky, reflects itself in the smooth waters of a lake, so does the imagery of men of the antediluvian ages reflect itself in the periods we can embrace in an historical retrospect. _As above, so below. That which has been will return again. As in heaven, so on earth_. Anything that can be said about the understanding of temporal relations is inevitably extremely vague. This is because our language is absolutely inadequate to the _spatial expression of temporal relations_. We lack the necessary words for it, we have no verbal forms, strictly speaking, for the expression of these relations which are new to us, and some other quite new forms – _not verbal_ – are indispensable. The language for the transmission of the new temporal relations must be a language without verbs. _New parts of speech_ are necessary, an infinite number of new words. At present, in our human language we can speak about "time" by hints only. Its true essence is _inexpressible_ for us. We should never forget about this inexpressibility. _This is the sign of the truth_ , the sign of reality. That which can be expressed, cannot be true. All systems dealing with the relation of the human soul to time – all ideas of _post-mortem existence, the theory of reincarnation, that of the transmigration of souls, of karma_ – are symbols, trying to transmit relations which cannot be expressed directly because of the poverty and the weakness of our language. They should not be understood literally any more than it is possible to understand the symbols and allegories of art literally. It is necessary to search for their _hidden meanings_ , that which cannot be expressed in words. The literal understanding of these symbolical forms in certain lines of contemporary literature, and the union with them of ideas of "evolution" and "morals" taken in the most narrow, dualistic meaning, completely disfigures the inner content of these forms, and deprives them of their value and meaning. # **Chapter 11** Science and the problem of the fourth dimension. The address of Prof. N. A. Oumoff before the Mendeleevskian Convention in 1911 – "The Characteristic Traits and Problems of Contemporary Scientific Thought." The new physics. The electro-magnetic theory. The principle of relativity. The works of Einstein and Minkowsky. Simultaneous existence of the past and the future. _The Eternal Now_. Van Manen's book about occult experiences. The drawing of a four-dimensional figure. SPEAKING GENERALLY with regard to the problems propounded in the foregoing chapters – those of time, space, and the higher dimensions – it is impossible not to dwell once more upon the relation of science to these problems. To many persons the relation of "exact science" to these questions which undoubtedly constitute the most important problem now engaging human thought appears highly enigmatical. If it is important why does not science deal with it? And why, on the contrary, does science repeat the old, contradictory affirmations, pretending not to know or not to notice an entire series of theories and hypotheses advanced? Science should _be the investigation of the unknown_. Why, therefore, is it not anxious to investigate _this unknown_ , which has been in process of revelation for a long time – which soon will cease to be the unknown? It is possible to answer this question only by acknowledging that unfortunately official, academic science is doing but a small part of what it should be doing in regard to the investigation of the new and unknown. For the most part, it is only teaching that which has already become the commonplace of the independent thinker; or still worse, has already become antiquated and rejected as valueless. So it is the more pleasant to remark that even in science may sometimes be discerned an aspiration toward the search of new horizons of thought; or, to put it differently, not always and not in all the academic routine, with its obligatory repetition of an endless number of commonplaces, has the love of knowledge and the power of independent thinking been crowded out. Although timidly and tentatively, science, through its boldest representatives, in the last few decades has after all been touching upon the problems of higher dimensions, and in such cases has arrived at results almost identical with those propounded in the preceding chapters. In December 1911, the second Mendeleevskian Convention was opened by the address of Prof. N. A. Oumoff, dedicated to the _problems of time and higher dimensions_ under the title, _The Characteristic Traits and Problems of Contemporary Natural Scientific Thought_. The address of Prof. Oumoff, though not altogether out-spoken, was nevertheless an event of great importance in the history of the development of exact science, and some time it will doubtless be recognized as an unusually bold and brilliant attempt to come forward and proclaim absolutely new ideas which practically renounce all positivism: and in the very citadel of positivism which the Mendeleevskian Convention represents. But inertia and routine of course did their work. Prof. Oumoff's address was heard along with the other addresses, was printed in the Proceedings of the Convention, and there rested, without producing at all the impression of an exploded bomb that it should have produced had the listeners been more in a position to appreciate its true meaning and signifcance, and – more important – had they the desire to do so. In this diminution of its signifcance the reserves and limitations which Prof. Oumoff himself made in his address assisted to a degree, as did the title, in failing to express its substance and general tendency, which was to show _that science goes now in a new direction_ , and one which is not in reality – i.e., _that the new direction goes against science_. Professor Oumoff died in 1916, and I am unwilling to impose upon him thoughts which he did not share. I talked with him in January, 1912, and from our conversation I saw that he was stopping half way, as it were, between the ideas of the fourth dimension approximating those expressed by me in the first edition of _Tertium Organum_ and those physical theories which still admit _motion_ as an independent fact. What I wish to convey is that Prof. Oumoff, admitting time as being the fourth dimension of space, did not regard motion as the illusion of our consciousness, but recognized the reality of motion in the world, as a fact independent of us and of our psyche. I speak of this, because later I shall quote extracts from Prof. Oumoff's paper, choosing generally those places containing the ideas almost identical with the thoughts expressed in the preceding chapters. That part of the address which pictures the evolution of modern physics from the atom to the electron I shall omit, because this seems to me somewhat artificially united to those ideas upon which I wish to dwell, and is not inwardly connected with them at all. From my standpoint it is immaterial whether we make the foundation of matter the atom or the electron. I believe that at the foundation of matter lies _illusion_ , or, in other words, a form of perception. And the consistent development of those ideas of higher space which Prof. Oumoff made the basis of his address leads, in my opinion, to the negation of _motion_ , just as the consistent development of the ideas of mathematical physics has led to the negation of matter _as substance_. Having mentioned _electrons_ , I may add that there is a method whereby modern scientific ideas and the data of the psychological method may be reconciled; namely, by the aid of the very ancient systems of the _Kabala_ , Alchemy and so forth, which establish the foundation of the material world in four principles or elements, of which the first two – fire and water – correspond to the positive and negative electrons of modern physics. But in such case the electrons must be regarded, not simply as _electro-magnetic units_ , but as principles, i.e., as two opposite aspects or phases constituting the world. Prof. Oumoff's address is interesting and remarkable in that he stands already on the very threshold of metaphysics, and he is perhaps hindered from entering only by a lingering faith in the value of the positivistic method, which dies when the new watch-words of science are declared: The introductory word to our forthcoming labors (says Prof. Oumoff) it will be most proper to dedicate to the excursions of scientific thought in its search for the image of the world. The necessity for scientific research along this path will become clear if we will turn to the covenants of our high priests of science. These covenants convey the deep motives of active service to natural science and to men. It is useful to express them in our time, wherein thought is preeminently directed to the questions of the organization of life. Let us remember the credo of the natural scientist: To establish the authority of man over energy, time and space: To know the architecture of the universe, and in this knowledge to find a basis of creative foresight. This foresight inspires confidence that natural science continuing the great and responsible work of creation in the fields of nature which it has already made its own, will not fail to enter a new field adapted to the enlarged necessities of mankind. This new nature has become a vital necessity of personal and public activity. But its grandeur and power summon the mind as it were to tranquility. The demand for stability in the household and the brevity of the personal experience in comparison with the evolution of the earth lead men to faith, and create in them an image of the durability of the surrounding order of things not for the present only, but for the future. The pioneers of natural science do not enjoy such a serene point of view, and to this circumstance the natural sciences are indebted for their continuous development. I venture to lift the brilliant and familiar veil and throw open the sanctuaries of scientific thought, now poised upon the summit of two contrasted contemplations of the world. The steersman of science shall be ceaselessly vigilant, despite the felicity of his voyage; above him shall invariably shine the stars by which he finds his way upon the ocean of the unknown. At the time in which we are living now the constellations in the skies of our science have changed, and a new star has flashed out, having no equal to itself in brightness. Persistent scientific investigation has expanded the volume of the knowable to dimensions which could scarcely be imagined only a short time – fifteen or twenty years – ago. Number remains, as before, the lawmaker of nature, but, being capable of representation, it has escaped from that mode of contemplating the world which regarded as possible its representation by mechanical models. This augmentation of knowledge gives a sufficient number of images for the construction of the world, but they destroy its architecture as that is known to us, and create as it were a new order, extending far, in its free lines, beyond the limits not only of the old visible world, but even beyond the fundamental forms of our thinking. I have now to lead you to the summits from which open the perspectives that are reforming the very basis of our understanding of the world. The ascent to them amid the ruins of classical physics is attended with no small difficulty, and I ask in advance your indulgence and shall exercise all my efforts to simplify and shorten our path as far as possible. Prof. Oumoff proceeds to picture the evolution of form "from the atom to the electron," from materialistic and mechanistic ideas about the universe to the electro-magnetic theory: The axioms of mechanics are only fragments, and their application may be compared to the judgment concerning the contents of an entire chapter by means of a single sentence. Therefore it is not strange that the attempt of the mechanistic explanation of the properties of the electro-magnetic ether by the aid of axioms in which these properties were either denied or onesidedly predetermined was doomed to failure... The mechanistic contemplation of the world appeared as onesided.... In the image of the world, unity was not in evidence. The electro-magnetic world could not remain as something quite alien, unrelated to matter. The material mode of contemplating the world, with its fixed formula, had no sufficient flexibility to bring about unification through it and its principles. There remained only one way out – to sacrifice one of the worlds – the material, the mechanistic, or the electro-magnetic. It was necessary to find sufficient foundations for decision on the one side or on the other. These were not slow to appear. The consequent development of physics is a process against matter, which ended with its expulsion. But along with this negative activity has gone the creative work of the reformation of electro-magnetic symbolics; it was forced to become adequate to express the properties of the material world: its atomic structure, inertia, radiation and absorption of energy, electromagnetic phenomena.... ... On the horizon of scientific thought was arising the electronic theory of matter. Through electrical corpuscles was opening the connection between matter and vacuum.... ... The idea of a special substratum filling the vacuum – ether – became superfluous. ... Light and heat are born by the motion of electrons. They are the suns of microcosms. ... The universe consists of positive and negative corpuscles, bound by electro-magnetic fields. Matter disappeared; its variety was replaced by a system of mutually related electric corpuscles and instead of the accustomed material world one deeply different – the electro-magnetic world – is envisaging itself to us.... But the recognition of the electro-magnetic world did not annihilate many unsolved problems and difficulties, and the necessity for a generalizing system was felt. In our difficult ascent we have reached the point [according to Prof. Oumoff] at which the road divides. One stretches horizontally to that plane which has been pictured, another goes to the high summit which is already visible, and the grade is not steep. Let us look about us at the point which we have reached. It is very dangerous; not one theory only has suffered wreck there. It is the more dangerous that its subtlety is covered by the mask of simplicity. Its basis is the experimental attempts which gave a negative answer to the researches of careful and skilled experimenters. Prof. Oumoff shows the contradictions which were the outcome of certain experiments. The necessity to explain these contradictions served as the incentive to the discovery of the unifying principle: this was the _principle of relativity_. The deductions of Lorentz, which were made in 1909, and which in general had in view electro-optical phenomena only, gave the impetus to the promulgation by Albert Einstein of a new principle and to its remarkable generalization by the recently deceased Hermann Minkowsky. We are approaching the summit of modern physics. It is occupied by the principle of relativity, the expression of which is so simple that it is difficult to discern its all-important significance. It asserts that the laws of phenomena in the system of bodies for the observer who is connected with it, will be the same, whether this system is at rest, or is moving uniformly and rectilinearly. Hence it follows that the observer cannot detect by the aid of the phenomena which are proceeding in the system of bodies with which he is connected, whether this system has a uniform translational motion or not. Thus we cannot detect from any phenomena proceeding on the earth, its translational motion in space. The principle of relativity includes the observing intellect within itself, which is a circumstance of extraordinary significance. The intellect is connected with a complex physical instrument – the nervous system. This principle therefore gives directions concerning things proceeding in moving bodies, not only in relation to physical and chemical phenomena, but also in relation to the phenomena of life and therefore to the quests of man. It is remarkable as an example of a thesis, founded upon strictly scientific experiment, in a purely physical region, which erects a bridge between two worlds usually regarded as quite distinct. Prof. Oumoff gives examples of the explanation of complex phenomena by the aid of the principle of relativity. He shows further how the most enigmatical problems of life are explained from the standpoint of the electro-magnetic theory and the principle of relativity, and he comes at last to that which is the most interesting to us. _Time is involved in all spatial measurements. We cannot define the geometrical form of a solid moving in relation to us; we are always defining its kinematical form. Therefore our spatial measurements are in reality proceeding not in a three dimensional manifold, i.e., having three dimensions, of height, length and width, like this hall; but in a four-dimensional manifold: the first three dimensions we can represent by the divisions of a tape measure upon which are marked feet, yards, or some other measure of length; the fourth dimension we will represent by the film of a cinematograph upon which each point corresponds to a new phase of the world's phenomena. The distances between the points of this film are measured by a clock going indifferently with this or that velocity. One observer will measure the distance between two points by a year – another by a hundred years. The transition from one point to another of this film corresponds to our concept of the flow of time. This fourth dimension we will call, therefore, time. The film of a cinematograph can replace the reel of any tape measure, and contrariwise. The ingenious mathematician, Minkowsky, who died too young, proved that all these four dimensions are equivalent. How shall we comprehend this? Persons who arrive in St. Petersburg from Moscow have passed through Tver. They are not at this station (Tver) any longer, but nevertheless it continues to exist. In the same manner, that moment of time corresponding to some event which has already passed – the beginning of life on earth, for example – has not disappeared, it exists still. It is not outlived by the universe, but only by the earth. The place of this event is defined by a certain point in the four-dimensional universe and this point existed, is existing, and will exist; now through it, through this station passed by the earth, passes another wanderer. Time does not flow, any more than space flows. It is we who are flowing, wanderers in a four-dimensional universe. Time is just the same measurement of space as is length, breadth and height. Having changed them in the expression of some law of nature we are returning to the identical law._ _These new concepts are embodied by Minkowsky in an elegant_ _mathematical theory; we shall not enter the magnificent temple erected by his genius, from which proceeds this voice:_ _"In nature all is given: for her the past and future do not exist; she is the eternal present; she has no limits, either of space or of time. Changes are proceeding in individuals and correspond to their displacements upon world-ways in a four-dimensional eternal and limitless manifold. These concepts in the region of philosophical thought will produce a revolution considerably greater than that caused by the displacement of the earth from the centre of the universe by Copernicus." From the times of Newton to those of natural science, more brilliant perspectives have never opened up. Is not the power of natural science proclaimed in the transition from the undoubted experimental fact – the impossibility of the absolute motion of the earth – to a problem of the soul! A contemporary philosopher exclaimed in his confusion, "beyond truth and falsehood."_ When the cult of a new God is born his word is not perfectly understood; the true meaning only becomes clear after the lapse of time. I think that this is true also as regards the principle of relativity. The elimination of anthropomorphism from scientific conceptions was of enormous service to science. On the same path stands the principle of relativity showing the dependence of our observations on general conditions of phenomena. The electro-magnetic theory of the world (and the principle of relativity) explains only those phenomena the place of which is defined by that part of the universe which is occupied by matter; the rest of it, which presents itself to our senses as a vacuum remains as yet beyond the reach of science. But at the shores of the material world is changelessly dashing the surf of new energy from that deep ocean empty for our senses, but not for our reason. Is not this dualism of matter and vacuum the anthropomorphism of science, and the last one? Let us put the fundamental question: What part of the universe is filled by matter? Let us surround our planetary system with a sphere the radius of which is equal to half of the distance from the sun to the nearest stars: the length of this radius is traversed by a light-ray in one and a half years. The volume of this sphere let us take as the volume of the world. Let us now describe, with the sun as a centre, another, lesser sphere with a radius equal to the distance of our sun to the outermost planet. I admit that the matter of our world, collected in one place, will not take more than one-tenth of the volume of the planetary sphere: I think that this figure is considerably exaggerated. After calculations of volume it will appear that in our world the volume occupied by the matter will be related to the volume of the vacuum as the figure 1 to the number represented by the figure 3 with 13 zeros. This relation is equivalent to the relation of one second to one million years. According to the calculations of Lord Kelvin, the density of matter corresponding to such a relation would be less than the density of water by ten thousand million times, i.e., it would be in an extreme degree of rare faction.... Prof. Oumoff gives the example of such a number of balls as correspond to the number of seconds in one million years. Upon one of these balls (corresponding to the matter in the universe) is written all that we know, because all that we know is related to matter. And matter is only one ball among millions and millions of "balls of vacuum." This is his conclusion; says he: Matter represents a highly improbable fact in the universe. This event came into existence because small probability does not mean impossibility. But where, and in what manner, are realized more probable events? Is it not in the domain of radiant energy? The theory of probability includes the immense part of the universe – the vacuum – in the world of becoming. We know that radiant energy possesses the preponderating mass. Among the different phenomena in the world of inter-crossing rays, out of elements attracting one another are not the tiny fragments born which by their congregation compose our material world? Is not the vacuum the laboratory matter? The material world corresponds to that limited horizon which is open to a man who has come out into a field. To his senses life is teeming only within the limits of this horizon; outside of it for the senses of man there is only a vacuum. I do not desire to start a polemic about those thoughts in Prof. Oumoff's address with which I do not agree. Yet I shall mention and enumerate the questions which in my opinion are raised by the incompatibility of certain principles. The contrast between the vacuum and the material world sounds almost naive after the just quoted words of Minkowsky concerning the necessity of a transfer of attention, on the part of science, from purely physical problems to questions of consciousness. Moreover I do not see any fundamental difference between the material, the mechanical, and the electro-magnetic universe. All this is three-dimensional. In the electro-magnetic universe there is as yet no true transition to the fourth dimension. And Prof. Oumoff makes only one clear attempt to bind the electro-magnetic world with the higher dimensions. He says: That sheet of paper, written in electro-magnetic symbols, with which we covered the vacuum, it is possible to regard as billions of separate superimposed sheets, but of which each one represents the field of one small electric quantity or charge. But this is all. The rest is just as three-dimensional as the theory of atoms and the ether. "We are present at the funeral of the old physics," says Prof. Oumoff, and this is true. But the old physics is losing itself and disappears not in the electro-magnetic theory, but in the idea of a new dimension of space which up to the present has been called time and motion. Truly, the new physics will be that in which there will be no motion, i.e., there will be no dualism of rest and motion, and no dualism of matter and vacuum. Understanding the universe as thought and consciousness we completely divorce ourselves from the idea of a vacuum. And from this standpoint is explained the small probability of matter to which Prof. Oumoff referred. Matter, i.e., everything finite, is an illusion in an infinite world. Among many attempts at the psychological investigation of the fourth dimension I shall note one in the book by Johan Van Manen, _Some Occult Experiences_. In this book is a remarkable drawing of a four-dimensional figure which the author "saw" by means of his inner vision. This interesting experience Van Manen describes in the following way: When residing and touring in the North of England, several years ago, I talked and lectured several times on the fourth dimension. One day after having retired to bed, I lay fully awake, thinking out some problems connected with this subject. I tried to visualize or think out the shape of a four-dimensional cube, which I imagined to be the simplest four-dimensional shape. To my great astonishment I saw plainly before me first a four-dimensional globe and afterwards a four-dimensional cube, and learned only then from this object-lesson that the globe is the simplest body, and not the cube, as the third-dimensional analogy ought to have told me beforehand. The remarkable thing was that the definite endeavor to see the one thing made me see the other. I saw the forms as before me in the air (though the room was dark), and behind the forms I saw clearly a rift in the curtains through which a glimmer of light filtered into the room. This was a case in which I can clearly fix the impression that the objects seen were outside my head. In most of the other cases I could not say so definitely, as they partake of a dual character, being almost equally felt as outside and inside the brain. I forego the attempt to describe the fourth-dimensional cube as to its form. Mathematical description would be possible, but would at the same time disintegrate the real impression in its totality. The fourth-dimensional globe can be better described. It was an ordinary three-dimensional globe, out of which, on each side, beginning at its vertical circumference, bent, tapering horns proceeded, which, with a circular bend, united their points above the globe from which they started. The effect is best indicated by circumscribing the numeral 8 by a circle. So three circles are formed, the lower one representing the initial globe, the upper one representing empty space, and the greater circle circumscribing the whole. If it be now understood that the upper circle does not exist and the lower (small) circle is identical with the outer (large) circle, the impression will have been conveyed, at least to some extent. I have always been easily able to recall this globe; to recall the cube is far more difficult, and I have to concentrate to get it back. I have in a like manner had rare visions of the fifth and sixth-dimensional figures. At least I have felt as if the figures I saw were fifth-and sixth dimensional. In these matters the greatest caution is necessary. I am aware that I have come into contact with these things as far as the physical brain allows it, without denying that beyond what the brain has caught there was something further, felt at the time, which was not handed on. The sixth-dimensional figure I cannot describe. All I remember of it is that it gave me at the time an impression in form of what we might call diversity in unity, or synthesis in differentiation. The fifth-dimensional vision is best described, or rather hinted at, by saying that it looked like an Alpine relief map, with the singularity that all mountain peaks and the whole landscape represented in the map were one mountain, or again in other words as if all the mountains had one single base. This was the difference between the fifth and the sixth, that in the fifth the excrescences were in one sense exteriorized and yet rooted in the same unit; but in the sixth they were differentiated but not exteriorized; they were only in different ways identical with the same base, which was their whole. C. W. Leadbeater on a note to these remarkable pages says: Striking as this drawing is, its value lies chiefly in its suggestiveness to those who have once seen that which it represents. One can hardly hope that it will convey a clear idea of the reality to those who have never seen it. It is difficult to get an animal to understand a picture – apparently because he is incapable of grasping the idea that perspective on a flat surface is intended to represent objects which he knows only as solid. The average man is in exactly the same position with regard to any drawing or model which is intended to suggest to him the idea of the fourth dimension; and so, clever and suggestive as this is, I; doubt whether it will be of much help to the average reader. The man who has seen the reality might well be helped by this to bring into his ordinary life a flash of that higher consciousness; and in that case he might perhaps be able to supply, in his thought, what must necessarily be lacking in the physical-plane drawing. For my part, I may say that the true meaning of Van Manen's "vision" is difficult even to appreciate with the means at our disposal. After seeing the drawing in his book I at once felt and understood all that it means, but I disagree somewhat with the author in the interpretation of his drawing. He says: "We may also call the total impression that of a ring. I think it was then that I understood for the first time that so-called fourth-dimensional sight is sight with reference to a spaceconception arising from the visual perception of density." This remark though very cautions seems to me dangerous, because it creates the possibility of the same mistake which stopped Hinton in many things and which I partly repeated in the first edition of the book _The Fourth Dimension_. This mistake consists in the possibility of the construction of some _pseudo fourth dimension_ , which lies in reality completely in three dimensions. In my opinion there is _very much of motion_ in the figure. The entire figure appears to me _as a moving one_ , continuously generating itself, as though it were at the point of contact of the acute ends, coming from there and involving back there. But I shall not analyze and comment upon Van Manen's experience now, leaving it to readers who have had similar experiences. So far as Van Manen's descriptions of his observations of the "fifth" and "sixth" dimensions are concerned, it seems to me that nothing in them warrants the supposition that they are related to any region _higher_ or _more complex_ than the four-dimensional world. In my opinion all these are just observations of the region of the fourth dimension. But the similarity to the experience of certain mystics is very remarkable in them, especially those of Jacob Boehme. Moreover the method of _object lesson_ is very interesting – i.e., those _two images_ which Van Manen saw and from the comparison of which he deduced his conclusions. # **Chapter 12** Analysis of phenomena. What defines different orders of phenomena for us? Methods and forms of the transition of one order of phenomena into another. Phenomena of motion. Phenomena of life, Phenomena of consciousness. The central question of our knowledge of the world: what mode of phenomena is generic and produces the others? Can the origin of everything lie in motion? The laws of transformation of energy. Simple transformation and liberation of latent energy. Different liberating forces of different orders of phenomena. The force of mechanical energy, the force of a living cell, the force of an idea. Phenomena and noumena of our world. THE ORDER OF phenomena is defined for us, first, by the method of apprehending them, and second, by the form of the transition of one order of phenomena into another. According to our method of apprehending them and by the form of their transition into one another we discern three orders of phenomena: _Physical phenomena_ (i.e., all phenomena studied by physics and chemistry); _phenomena of life_ (all phenomena studied by biology and its subdivisions); _psychic phenomena_ (thoughts, feelings, sensations, etc.). We know physical phenomena by means of our sense organs or by the aid of apparatus. Many recognized physical phenomena are not observed directly; they are merely projections of the assumed causes of our sensations, or those of the causes of other phenomena. Physics recognizes the existence of many phenomena which have never been observed by the sense organs or by means of apparatus (the temperature of absolute zero etc., for example). The phenomena of life, as such, are not observed directly. We cannot project them as the cause of definite sensations. But certain _groups of sensations_ force us to assume in certain groups of physical phenomena the presence of the phenomena of life. It may be said that a certain grouping of physical phenomena forces us to assume the presence of the phenomena of life. We define the cause of the phenomena of life as a something not capable of being grasped by the senses or by apparatus, and incommensurable with the causes of physical sensations. A sign of the presence of the phenomena of life consists in the power of organisms to reproduce themselves, i.e., the multiplication of them in the same forms, the indivisibility of separate units and their especial adaptability, which is not observed outside of life. Psychic phenomena are the feelings and the thoughts that we know in ourselves by direct sensation. We assume their existence in others (1) _from analogy_ with ourselves; (2) from their manifestation in actions and (3) from that which we gather by the aid of speech. But, as has been shown by certain philosophical theories, it is impossible to establish strictly objectively, the presence of consciousness other than our own. A man establishes this usually because of his inner assurance of its truth. Physical phenomena transform themselves into one another completely. It is possible to _transform_ heat into light, pressure into motion, etc. It is possible to produce any physical phenomenon from other physical phenomena; to produce any chemical combination by the synthetic method, combining the composite parts in proper proportions and under proper physical conditions. Modern physics assumes electro-magnetic phenomena as the basis of all physical phenomena. _But physical phenomena do not transform themselves into the phenomena of life_. By no combination of physical conditions can science create life, just as by chemical synthesis it cannot create living matter – protoplasm. We can tell what amount of coal is necessary to generate the certain amount of heat necessary to transform a given quantity of ice into water; but we cannot tell what amount of coal is necessary to create the vital energy with which one living cell forms another living cell. In similar manner physical, chemical and mechanical phenomena cannot themselves produce the phenomena of consciousness, i.e., of thought. Were it otherwise, _a rotating wheel_ , after the expenditure of a certain amount of energy, or after the lapse of a certain time, could _generate an idea_. Yet we know perfectly well that the wheel can go on rotating for millions of years, and no single _idea_ will be produced by it at all. Thus we see that the phenomena of motion differ in a fundamental way from the phenomena of life and of consciousness. The phenomena of life change into other phenomena of life, multiply infinitely, and _transform themselves into physical phenomena_ , generating whole series of mechanical and chemical combinations. The phenomena of life manifest themselves to us in physical phenomena, and in the existence of such phenomena. Psychic phenomena are sensed directly, and having enormous potential force, transform themselves into physical phenomena and into manifestations of life. We know that at the basis of our procreative force lies _desire_ – that is, a psychical state, or a phenomenon of consciousness. _Desire_ is possessed of enormous potential force. Out of the united desire of a man and of a woman, a whole nation may come into being. At the root of the active, constructive, creative force of man, that can change the course of rivers, unite oceans, cut through mountains, lies desire, i.e., again a psychical state, or a phenomenon of consciousness. Thus psychic phenomena possess even greater unifying force with relation to physical phenomena than do the phenomena of life. Positive philosophy affirms that all three orders of phenomena proceed from one cause _lying within the sphere of the study of physics_. This cause is called by different names at different times, but it is assumed to be identical with physical energy in general. Seriously analyzing such an affirmation, it is easily seen to be absolutely arbitrary, and not founded upon anything. Physical phenomena of themselves, inside the limits of our existence and observation, never create the phenomena of life and the phenomena of consciousness. Consequently we may with _greater_ right assume that in the phenomena of life and in the phenomena of consciousness there is something which does not exist in physical phenomena. Moreover, we cannot _measure_ physical, biological, and psychic phenomena _by the same unit of measurement_. Or more correctly, we cannot measure the phenomena of life and the phenomena of consciousness at all. It is only the phenomena first mentioned, i.e., the physical, that we fancy we can measure, though this is very doubtful, too. In any case we undoubtedly know that we can express neither the phenomena of life nor psychic phenomena in the formula of physical phenomena; and generally speaking we have for them no formula at all. In order to clarify the relation between phenomena of different kinds, let us examine in detail the laws of their transformation one into another. First of all it is necessary to consider physical phenomena, and make a detailed study of the conditions and properties of their transformation one into another. In an essay on Wundt ( _The Northern Messenger_ , 1888) A. L. Volinsky, elucidating the principles of Wundt's physiological psychology, says: The actions of sensation are provoked by the actions of irritation. But both these actions need not be at all equal. It is possible to burn a whole city by a spark from a cigarette. It is necessary to understand why this is possible. Place a board upon the edge of some object scale wise, so that it will balance. On both ends of the board put now an equal amount of weight. The weights will not fall: although both of them will tend to fall, they balance one another. If we lift the least weight from one end of the board, then the other end will overbalance, and the board will fall – i.e., the force of gravity which existed before as an invisible tendency will have become a visible motive force. If we put the board and weights on the earth, the force of gravity will not produce any action, but it will not be eliminated: it will only transform itself into other forces. Those forces which are only striving to produce motion are called constrained, or dead, forces. The forces which are actually manifesting themselves in certain definite actions are called free, or live forces; but as regards free forces it is necessary to diferentiate those forces which are liberating, setting free, from the forces which are liberated, or set free. An enormous difference exists between the liberation of a force and its transformation into another. When one kind of motion transforms itself into another kind, the amount of free force remains the same; and contrariwise, when one force liberates another, the amount of free force changes. The free force of an irritation liberates the tied-up forces of a nerve. And this liberation of tied-up forces is proceeding at each point of the nerve. The first motion increases like a fire, like a snow-slide carrying along with it new and ever new drifts. It is for this reason that the action (phenomenon) of sensation need not be exactly equal to the action of irritation. Let us look more broadly at the relation between liberated and liberating forces in the different kinds of phenomena. We shall discover that sometimes an almost negligible amount of physical force may liberate an enormous, a colossal amount of physical energy. But _all that we can ever assemble of physical_ force is powerless _to liberate_ a single iota of that vital energy necessary for the independent existence of a single microscopic living organism. The force contained in _living organisms_ , the vital force, is capable of liberating infinitely greater amounts of vital and also of physical energy than the force of motion. The microscopic living cell is capable of infinite dissemination, to evolve new species, to cover continents with vegetation, to fill the oceans with seaweed, to build islands out of coral, to deposit powerful layers of coal, etc., etc. Concerning the latent energy contained in _the phenomena of consciousness_ , i.e., in thoughts, feelings, desires, we discover that its potentiality is even more immeasurable, more boundless. From personal experience, from observation, from history, we know that ideas, feelings, desires, manifesting themselves, can liberate enormous quantities of energy, and create infinite series of phenomena. An idea can act for centuries and millenniums and only grow and deepen, evoking ever-new series of phenomena, liberating ever-fresh energy. We know that _thoughts_ continue to live and act when even the very name of the man who created them has been converted into a myth, like the names of the founders of ancient religions, the creators of the immortal poetical works of antiquity – heroes, leaders, prophets. Their words are repeated by innumerable lips, their ideas are studied and commented upon. Their preserved works are translated, printed, read, studied, staged, illustrated. And this is done not only with the masterpieces of men of genius, but some single little verse may live millenniums, making hundreds of men work for it, serve it, in order to transmit it further. Observe how much of potential energy there is in some little verse of Pushkin or Lermontoff. This energy acts not only upon the feelings of men, but by reason of its very existence it acts upon their will. See how vital and immortal are the words, thoughts and feelings of half-mythical Homer – how much of "motion" each word of his, during the time of its existence, has evoked. Undoubtedly each thought of a poet contains enormous potential force, like the power confined in a piece of coal or in a living cell, but infinitely more subtle, imponderable and potent. This remarkable correlation of phenomena may be expressed in the following terms: the farther a given phenomenon is from the visible and sensed – from the physical, the farther it is from matter – the more there is in it of hidden force, the greater the quantity of phenomena it can produce, can leave in its wake, the greater amount of energy it can liberate, and so the less it is dependent upon time. If we would correlate all of the above with the principle of physics that _the amount of energy is constant_ , then we must state more exactly that in the preceding discussion nothing has been said of the creation of new energy, but of the _liberation_ of latent force. And we have found that the liberating force of life and thought is infinitely greater than the liberating force of mechanical motion and of chemical reactions. _The microscopic living cell is more powerful than a volcano – the idea is more powerful than the geological cataclysm_. Having established these differences between phenomena, let us endeavor to discover what phenomena themselves represent, taken by themselves, independently of our receptivity and sensation of them. We at once discover that we know nothing about them. We know a phenomenon just as much and just as far as it is _irritation_ , i.e., to the extent that it provokes sensation. The positivistic philosophy sees mechanical motion or electromagnetic energy as the basis of all phenomena. But the hypothesis of vibrating atoms or of _units of energy_ – electrons and cycles of motion, combinations of which create different "phenomena" – is only an hypothesis, built upon a perfectly arbitrary and artificial assumption concerning the existence of the world in time and space. Just as soon as we discover that the conditions of time and space are merely the properties of our sensuous receptivity, we absolutely destroy the validity of the hypothesis of "energy" as the foundation of everything; because time and space are necessary for energy, i.e., it is necessary for time and space to be properties of the world and not properties of consciousness. Thus in reality we know nothing about _the causes of phenomena_. We do know that some combinations of causes, acting through the organism upon our consciousness, produce the series of sensations which we recognize as _a green tree_. But we do not know if this perception of a tree corresponds to the real substance of the causes which evoked this sensation. The question concerning the relation of the phenomenon to the _thing in itself_ , i.e., to the indwelling reality, has been from far back the chief and most difficult concern of philosophy. Can we, studying phenomena, get at the very cause of them, at the very substance of things? Kant has said definitely: No! – By studying phenomena we do not even approach to the understanding of things in themselves. Recognizing the correctness of Kant's view, if we desire to approach to an understanding of things in themselves, we must seek an entirely different method, an utterly different path from that which positive science, which studies _phenomena_ , is treading. # **Chapter 13** The apparent and the hidden side of life. Positivism as the study of the phenomenal side of life. Of what does the "two-dimensionality" of positive philosophy consist? The regarding of everything upon a single plane, in one physical sequence. The streams which flow underneath the earth. What can the study of life, as a phenomenon, yield? The artificial world which science erects for itself. The unreality of finished and isolated phenomena. The new apprehension of the world. THERE EXIST VISIBLE and hidden causes of phenomena; there exist also visible and hidden effects. Let us consider some one example. In all textbooks on the history of literature we are told that in its time Goethe's Werther provoked an epidemic of suicides. What did provoke these suicides? Let us imagine that some "scientist" appears, who, being interested in the fact of the increase of suicides, begins to study the first edition of _Werther_ according to the method of exact, positive science. He weighs the book, measures it by the most precise instruments, notes the number of its pages, makes a chemical analysis of the paper and the ink, counts the number of lines on every page, the number of letters, and even how many times the letter A is repeated, how many times the letter B, and how many times the interrogation mark is used, and so on. In other words he does everything that the pious Mohammedan performs with relation to the _Koran_ of Mohammed, and on the basis of his investigations writes a treatise on the relation of the letter A of the German alphabet to suicide. Or let us imagine another scientist who studies the history of painting, and deciding to put it on a scientific basis, starts a lengthy series of analyses of the pigment used in the pictures of famous painters in order to discover the causes of the different impressions produced upon the beholder by different pictures. Imagine a savage studying a watch. Let us admit that he is a wise and crafty savage. He takes the watch apart and counts all its wheels and screws, counts the number of teeth in each gear, finds out its size and thickness. The only thing that he does not know is _what all these things are for_. He does not know that the hand completes the circuit of the dial in half of twenty-four hours, i.e., _that it is possible to tell time by means of a watch_. All this is "positivism." We are too familiar with "positivistic" methods, and so fail to realize that they end in absurdities and that if we are seeking _to explain the meaning_ of anything, they do not lead to the goal at all. The difficulty is that for the _explanation of the meaning_ positivism is of no use. For it nature is a closed book of which it studies the appearance only. In the matter of the study of the _operations_ of nature, the positive methods have achieved much, as is proven by the innumerable successes of modern techniques, including the conquest of the air. But everything in the world has its own definite sphere of action. Positivism is very good when it seeks an answer to the question of _how_ something operates under given conditions; but when it makes the attempt to get outside of its definite conditions (space, time, causation), or presumes to affirm that nothing exists outside of these given conditions, then it is transcending its own proper sphere. It is true that the more serious positive thinkers deny the possibility of including in "positive investigation" the question of _why_ and _what for_. But as a matter of fact the positive standpoint is not the only possible one. The usual mistake of positivism consists in its not seeing anything _except itself_ – it either considers everything as possible to it, or considers as generally impossible much that is entirely possible, _but not for_ positive inquiry. Humanity will never cease to search, however, for answer to the questions _why_ , and _wherefore_. The positivistic scientist finds himself in the presence of nature almost in the position of a savage in a library of rare and valuable books. For a savage a book is _a thing_ of definite size and weight. However long he may ask himself what purpose this strange thing serves, he will never discover the truth from its appearance; and _the contents of the book_ will remain for him the _incomprehensible noumenon_. In like manner the contents of nature are incomprehensible to the positivistic scientist. But if a man _knows_ of the existence of the contents of the book – the _noumenon_ of life – if he knows that a mysterious meaning is hidden under visible phenomena, there is the possibility that in the long run he will discover the contents. For success in this it is necessary to grasp the _idea_ of the inner contents, i.e., the meaning of the thing in itself. The scientist who discovers little tablets with hieroglyphics, or wedge-shaped inscriptions in an unknown language, deciphers and reads them after great labor. And in order to accomplish this he needs only one thing: it is necessary for him to know that these little signs _represent an inscription_. As long as he regards them simply as an ornament, as the outside embellishment of little tablets, or as an accidental tracing without meaning – up to that time their meaning and significance will be closed to him absolutely. But let him only assume the existence of that meaning and the possibility of its comprehension will be already within sight. No secret cipher exists which cannot be solved without the aid of any key. _But it is necessary to know that it is a cipher_. This is the first and necessary condition. Lacking this it is impossible to accomplish anything. The idea of the existence of the visible and the hidden sides of life was known to philosophy long ago. _Phenomena_ were regarded as only one aspect of the world, and as being infinitely small compared to the hidden aspect – _seeming_ , not existing really, arising in consciousness at the moment of its contact with the real world. Another side, _noumena_ , was recognized as really existing in itself, but inaccessible for our receptivity. But there is no greater error than to regard the world as _divided_ into phenomena and noumena – to conceive of phenomena and noumena apart from one another, and susceptible of being separately known. This is philosophic illiteracy, which shows itself most clearly in the dualistic _spiritistic_ theories. The division into phenomena and noumena exists only in our minds. The "phenomenal world" is simply our incorrect perception of the world. As Carl DuPrel has said, " _The world beyond is this world, only perceived strangely_." It would be more accurate to say, that _this world is the world beyond perceived strangely_. Kant's idea is quite correct, that the study of the phenomenal side of the world will not bring us any nearer to the understanding of "things-in-themselves." The "thing-in-itself " – that is the thing as it exists in itself, _independently of us_. The "phenomenon of the thing" – that is the thing in such semblance as we perceive it. The example of a book in the hands of an illiterate savage shows us quite clearly that it is sufficient not to know about the existence of the noumenon of a thing (the contents of the book in this case) in order that it shall not manifest itself in phenomena. On the other hand, the knowledge of its existence is sufficient to make possible its discovery with the aid of the very phenomena which, without the knowledge of the noumenon, would be perfectly useless. Just as it is impossible for a savage to attain to an understanding of the nature of a watch by a study of its phenomenal side – the number of wheels, and the number of teeth in each gear – so also for the positivistic scientist, studying the external, _manifesting_ side of life, its secret _raison d'être_ and the _aim_ of separate manifestations will be forever hidden. To the savage the watch will be an extremely interesting, complicated, but entirely useless toy. Somewhat after this manner a _man_ appears to the scientist-materialist – a mechanism infinitely more complex, but equally unknown as regards the purpose for which it exists and the manner of its creation. We pictured to ourselves how incomprehensible the functions of _a candle_ and of _a coin_ would be for a plane-man, studying _two similar circles_ on his plane. In like manner the functions of a man are in comprehensible to the scientist, studying him as a _mechanism_. The reason for this is clear. It is because the coin and the candle are not _two similar circles_ , but two different objects, having an entirely different use and meaning in that world which is relatively higher than the plane – and man is _not a mechanism_ , but something having an aim and meaning in the world relatively higher than the visible one. The functions of a candle and of a coin in our world are for the imaginary plane-man an inaccessible _noumenon_. It is evident that the phenomenon of a circle cannot give any understanding of the function of a candle, and its difference from the function of a coin. But _two-dimensional knowledge_ exists not alone on the plane. Materialistic thought tries to apply it to real life. A curious result follows, the true meaning of which is, unhappily, incomprehensible to many people. One of such applications is "the economic man" – this is quite clearly the two-dimensional and flat being moving in two directions – those of production and consumption – i.e., living upon the plane of _production-consumption_. How is it possible to imagine man in general as such an obviously artificial being? And how is it possible to hope to understand the laws of the life of man, with his complex spiritual aspirations and his great impulse to _know_ , to understand everything around about him and within himself – by studying the imaginary laws of the imaginary being upon an imaginary plane? The inventors of this theory alone possess the secret of the answer to this question. But the economic theory of human life attracts men as do all simple theories giving a short answer to a series of complicated questions. And we are ourselves too entangled in materialistic theories to see anything beyond them. Positivistic science does not really deny the theory of phenomena and noumena, it only affirms, in opposition to Kant, that in studying phenomena we are gradually approaching to noumena. The noumena of phenomena science considers to be the motion of atoms and the ether, or the vibrations of electrons; it conceives of the universe as a whirl of mechanical motion or the field of manifestation of electro-magnetic energy taking on the "phenomenal tint" for us on their reception by the organs of sense. "Positivism" affirms that the phenomena of life and psychic phenomena are simply the functions of physical phenomena, that without physical phenomena the phenomena of life, thought and emotion cannot exist and that they represent only certain complex combinations of the foregoing; and furthermore that all these three kinds of phenomena are one and the same thing in substance – and the _higher_ , i.e., the phenomena of life and of consciousness, are only different expressions of the _lower_ , i.e., of one and the same physicomechanical or electro-magnetic energy. But to all this it is possible to answer one thing. If it were true it would have been proven long ago. Nothing is easier than to prove the energetic hypothesis of life and the psyche. Just _create life and thought_ by the mechanical method. Materialism and energetics are those "obvious" theories which _cannot be true without proofs_ , because they cannot _not_ have proofs if they contain even a little grain of truth. But there are no proofs at the disposition of these theories; quite the reverse: the infinitely greater potentiality of the phenomena of life and the psyche compared with physical phenomena assures us of the exact opposite. The simple fact, above shown, of the enormous liberating, unbinding force of psychic phenomena is sufficient to establish quite really and firmly the problem of _the world of the hidden_. And the world of the hidden cannot be the world of unconscious mechanical motion, of unconscious development of electro-magnetic forces. The positivistic theory admits the possibility of explaining the _higher_ through the _lower_ , the _invisible_ through the _visible_. But it has been shown at the very beginning that this is the explanation of one unknown by another unknown. There is still less justification for explaining the _known_ through the _unknown_. Yet that "lower" (matter and motion) through which the positivists strive to explain the "higher" (life and thought) is _itself unknown_. Consequently it is impossible to explain and define anything else in terms of it, while the _higher_ , i.e., the _thought_ , this is our sole _known_ : it is this alone that we do know, that we are conscious of in ourselves, that we can neither mistake nor doubt. And if thought can evoke or _unbind_ physical energy, and motion can _never_ create or unbind thought (out of a revolving wheel no thought ever arose) so of course we shall strive to define, not the higher in terms of the lower, but the lower in terms of the higher. If the invisible, like _the contents of a book_ or _the purpose of a watch_ , defines by itself the visible, so also we shall endeavor to understand not the visible, but the invisible. Starting from a false assumption concerning the _mechanical_ side of nature, positive science, upon which the view of the world of the intelligent majority of contemporary humanity is founded, makes still another mistake in regard to cause and effect, or the law of functions – that is, it mistakes what is cause, and what is effect. Just as the two-dimensional plane-man thinks of all phenomena touching his consciousness as lying on one plane, so the positivistic method strives to interpret upon one plane all phenomena of different orders, i.e., to interpret all visible phenomena as the effects of antecedent visible phenomena, and as the inevitable cause of subsequent visible phenomena. In other words, it sees in causal and functional interdependence merely phenomena proceeding upon the surface, and studies the visible world, or the phenomena of the visible world, not admitting that causes can enter into this world which are not contained in it or that the phenomena of this world can possess functions extending beyond it. But this could be true only in case there were no phenomena of life and of thought in the world, or if the phenomena of life and thought were really _derivatives_ from physical phenomena, and did not possess infinitely greater latent force than they. Then only should we have the right to consider the chains of phenomena in their physical or visible sequence alone, as positivistic philosophy does. But taking into consideration the phenomena of life and thought we shall inevitably recognize that the chain of phenomena often translates itself from a sequence purely physical to a biological sequence, i.e., one in which there is much of the hidden and in-visible to us – or to a psychical sequence where there is even more of the hidden; but during reverse translations from biological and psychical spheres into physical sequences actions proceed often, if not always, from regions which are hidden from us; i.e., the cause of the visible is the invisible. In consequence of this we must admit that it is impossible to consider the chains of sequences in the world of physical phenomena only. When such a sequence touches the life of a man or that of a human society, we perceive clearly that it escapes from the "physical sphere" and returns into it. Regarding the matter from this standpoint we see that, just as in the life of one man and in the life of a society there are many streams, at times appearing on the surface and spouting up in boisterous torrents, and at other times disappearing deep underground, hidden from view, but only waiting for their moment to appear again on the surface, so do we observe in the world continuous chains of phenomena and we perceive how these chains shift from one order of phenomena to another without a break. We observe how the phenomena of consciousness – thoughts, feelings, desires – are accompanied by physiological phenomena – creating them perhaps – and inaugurate a series of purely physical phenomena; and we see how physical phenomena, becoming the object of sensations of sight, hearing, touch, smell and the like, induce physiological phenomena, and then psychological. But looking at life from that side, we see only physical phenomena, and having assured ourselves that it is the only reality we may not notice the others at all. Herein appears the enormous power of suggestion in current ideas. To a sincere positivist any metaphysical argument proving the unreality of matter or energy seems sophistry. It strikes him as a thing unnecessary, disagreeable, hindering a logical train of thought, an assault without aim or meaning on that which in his opinion is firmly established, alone immutable, lying at the foundation of everything. He vexedly fans away from himself all "idealistic" or "mystical" theories as he would a buzzing mosquito. But the fact is that _thought_ and _energy_ are different in substance and cannot be _one and the same thing_ , because they are different sides of one and the same thing. For if we open the cranium of a living man in order to observe all the vibrations of the cells of the gray matter of the brain, and all the quivering white fibres, _in spite of everything there will be merely motion_ , i.e., the manifestation of energy, and thought will remain somewhere beyond the limits of investigation, retreating like a shadow at every approach. The "positivist," when he begins to realize this, feels that the ground is quaking underneath his feet, feels that by his method be will _never_ approach to the _thought_. Then he sees clearly the necessity for a new method. _As soon as he begins to think about it_ he begins quite unexpectedly to notice things around him which he did not see before. His eyes begin to open to that which he did not wish to see before. The walls which he had erected around himself begin to fall one after another, and behind the falling walls infinite horizons of _possible knowledge_ , hitherto undreamed of, unroll before him. Thereupon he completely alters his view of everything surrounding him. He understands that _the visible_ is produced by _the invisible_ ; and that without understanding the invisible it is impossible to understand the visible. His "positivism" begins to totter and, if he is a man with a bold thought, then in some splendid moment he will perceive those things which he was wont to regard as real and true to be unreal and false, and those things regarded as false to be real and true. First of all he will see that _manifested_ physical phenomena often hide themselves, like a stream that has gone underground. Yet they do not disappear altogether, but continue to exist in latent form in some minds, in someone's memory, in the words or books of someone, just as the future harvest is latent in the seeds. And thereafter they again burst into light; out of this latent state they come into an apparent one, making a roar, reverberation, motion. We observe such transitions of the invisible into the visible in the personal life of man, in the life of peoples, and in the history of humanity. These chains of events go on continuously, interweaving among themselves, entering one into another, sometimes hidden from our eyes, and sometimes visible. I find an admirable description of this idea in the chapter on "Karma" in _Light on the Path_ by Mabel Collins. Consider with me that the individual existence is a rope which stretches from the infinite to the infinite, and has no end and no commencement, neither is it capable of being broken. This rope is formed of innumerable fine threads, which, lying closely together, form its thickness.... and remember that the threads are living – are like electric wires; more, are like quivering nerves.... But eventually the long strands, the living threads which in their unbroken continuity form the individual, pass out of the shadow into the shine.... This illustration presents but a small portion – a single side of the truth: it is less than a fragment. Yet dwell on it; by its aid you may be led to perceive more. What it is necessary first to understand is not that the future is formed by any separate acts of the present, but that the whole of the future is in unbroken continuity with the present, as the present is with the past. In the plane, from one point of view, the illustration of the rope is correct. The passages quoted show us that the idea of karma, developed in remote antiquity by Hindu philosophy, embodies the idea of the unbroken consecutiveness of phenomena. Each phenomenon, no matter how insignificant, is a link of an infinite and unbroken chain, extending from _the past_ into _the future_ , passing from one sphere into another, sometimes _manifesting_ as physical phenomena, sometimes _hiding_ in the phenomena of consciousness. If we regard karma from the standpoint of our theory of time and space of many dimensions, then _the connection between distant events_ will cease to be wonderful and incomprehensible. If events most distant from one another in relation to time _touch one another in the fourth dimension_ , this means that they are proceeding simultaneously as cause and effect, and the walls dividing them are just an illusion which our weak intellect cannot conquer. Things are united, not by time, but by an inner connection, an inner correlation. And time cannot separate those things which are inwardly near, following one from another. Certain other properties of these things force us to think of them as being separated by the ocean of time. But we know that this ocean does not exist _in_ _reality_ and we begin to understand how and why the events of one millennium can _directly_ influence the events of another millennium. The hidden activity of events becomes comprehensible to us. We understand that the events must become hidden in order to preserve for us the illusion of time. We know this – know that the events of today were the ideas and feelings of yesterday – and that the events of tomorrow are lying in someone's irritation, in someone's hunger, in someone's suffering, and possibly still more in someone's imagination, in someone's fantasy, in someone's dreams. We know all this, yet nevertheless our "positive" science obstinately seeks to establish correlations between visible phenomena only, i.e., to regard each visible or physical phenomenon as the effect of some other physical phenomenon _only_ , which is also visible. This tendency to regard everything upon one plane, the unwillingness to recognize anything outside of that plane, horribly narrows our view of life, prevents our grasping it in its entirety – and taken in conjunction with the materialistic attempts to account for _the higher_ as a function of _the lower_ , appears as the principal impediment to the development of our knowledge, the chief cause of the dissatisfaction with science, the complaints about the bankruptcy of science, and its actual bankruptcy in many of its relations. The dissatisfaction with science is perfectly well grounded, and the complaints about its insolvency are entirely just, because science has really entered a _cul de sac_ out of which there is no escape, and the official recognition of the fact that the direction it has taken is entirely the wrong one, is only a question of time. We may say – not as an assumption, but as an affirmation – that the world of physical phenomena in itself represents the section, as it were, of another world, existing _right here_ , and the events of which are proceeding _right here_ , but invisibly to us. There is nothing more miraculous or supernatural than life. Consider the street of a great city, in all its details. An enormous diversity of facts will result. But how much is hidden underneath these facts of that which it is impossible to see at all! What desires, passions, thoughts, greed, covetousness; how much of suffering both petty and great; how much of deceit, falsity; how much of lying; how many invisible threads-sympathies, antipathies, interests – bind this street with the entire world, with all the past and with all the future. If we realize this imaginatively, then it will become clear that it is impossible to study the street by _that which is visible_ alone. It is necessary to plunge into the depths. The complex and enormous phenomena of the street will not reveal its infinite noumenon, which is bound up both with eternity and with time, with the past and with the future, and with the entire world. Therefore we have a full right to regard the visible phenomenal world as a section of some other infinitely more complex world, manifesting itself at a given moment in the first one. And this world of noumena is infinite and incomprehensible for us, just as the three-dimensional world, in all its manifoldness of function, is incomprehensible to the two-dimensional being. The nearest approach to "truth" which is possible for a man is contained in the saying: _everything has an infinite variety of meanings, and to know them all is impossible_. In other words, "truth," as we understand it, i.e., _the finite definition_ , is possible only in a finite series of phenomena. In an infinite series it will certainly become its own opposite. Hegel has given utterance to this last thought: "Every idea, extended into infinity, becomes its own opposite." In this _change of meaning_ is contained the cause of the incomprehensibility to man of the noumenal world. The substance of a thing, i.e., the _thing-in-itself_ , contains an infinite quantity of meanings and functions of something which it is impossible to grasp with our mind. And in addition to this it involves a change of meaning of one and the same thing. In one meaning it represents an enormous whole, including within itself a great number of things; in another meaning it is an insignificant part of a great whole. Our mind cannot bind all this into one; therefore, the substance of a thing recedes from us according to the measure of our knowledge, just as a shadow flees before us. _Light on the Path_ says: " _You will enter the light, but you will never touch the flame_." This means, that _all knowledge_ is relative. We can never grasp _all the meanings_ of any one thing, because in order to grasp them all, it is necessary for us to grasp _the whole world_ , with all the variety of meanings contained in _it_. The principal difference between the phenomenal and noumenal aspects of the world is contained in the fact that the first one is _always limited_ , always finite; it includes those properties of a given thing which we can generally know as _phenomena_ : the second, or noumenal aspect, is always unlimited, _always infinite_. And we can never say where the hidden functions and the hidden meanings of a given thing end. Properly speaking, they end nowhere. They may vary infinitely, i.e., may seem various, ever new from some new standpoint, but they cannot utterly vanish, any more than they can cease, come to an end. _All that is highest_ to which we shall come in the understanding of the meaning, the significance, of _the soul_ of any phenomenon, will _again_ have another meaning, from another, still higher standpoint, in still broader generalization – _and there is no end to it!_ In this is the majesty and the horror of infinity. Let us also remember that the world as we know it does not represent anything stable. It must change with the slightest change in the foams of our knowledge. Phenomena which appear to us as unrelated can be seen by some other more inclusive consciousness as parts of a single whole. Phenomena which appear to us as similar may reveal themselves as entirely different. Phenomena which appear to us as complete and indivisible, may be in reality exceedingly complex, may include within themselves different elements, having nothing in common. And all these together may be one whole in a category quite incomprehensible to us. Therefore, beyond our view of things another view is possible – a view, as it were, from another world, from " _over there_ ," from "the other side." Now "over there" does not mean some other place, but a new method of knowledge, a new understanding. And should we regard phenomena not as isolated, but bound together with inter-crossing chains of things and events, we would begin to regard them not _from over here_ , but from _over there_. # **Chapter 14** The voices of stones. The wall of a church and the wall of a prison. The mast of a ship and a gallows. The shadow of a hangman and of an ascetic. The soul of a hangman and of an ascetic. The different combinations of known phenomena in higher space. The relationship of phenomena which appear unrelated, and the difference between phenomena which appear similar. How shall we approach the noumenal world? The understanding of things outside the categories of space and time. The reality of many "figures of speech." The occult understanding of energy. The letter of a Hindu occultist. Art as the knowledge of the noumenal world. What we see and what we do not see. Plato's dialogue about the cavern. IT SEEMS TO US that we see something and understand something. But in reality all that proceeds around us we sense only very confusedly, just as a snail senses confusedly the sunlight, the darkness, and the rain. Sometimes in things we sense confusedly their difference in function, i.e., their _real_ difference. On one occasion I was crossing the Neva with one of my friends, A, with whom I happened to have had many conversations upon the themes touched on in this book. We had been talking, but both fell silent as we approached the fortress, gazing up at its walls and making probably the same reflection. "Right there are also factory chimneys!" said A. Behind the walls of the fortress indeed appeared some brick chimneys blackened by smoke. On his saying this, I too sensed _the difference_ between the chimneys and the prison walls _with unusual clearness_ and like an electric shock. I realized the _difference between the very bricks themselves_ , and it seemed to me that A realized this difference also. Later in conversation with A, I recalled this episode, and he told me that not only then, but _always_ , he sensed these differences and was deeply convinced of their reality. "Positivism assures itself that a stone is a stone and nothing more," he said, "but any simple woman or child knows perfectly that a stone from the wall of a church and one from a prison wall are different things." It seems to me also, that in considering a given phenomenon in connection with all the chains of sequences of which it is a link, we shall see that _the subjective sensation_ of the difference between two physically similar objects – which we are accustomed to think of only as poetic expression, _metaphor_ , and the reality of which we deny – _is entirely real_ ; we shall see that these objects are _really different_ , just as different as the candle and the coin which appear as similar circles (moving lines) in the two-dimensional world of the plane-man. We shall see that things of the same material constitution but different in their functions are _really different_ , and that this difference goes so deep as to _make different_ the very material which is physically the same. There are differences in stone, in wood, in iron, in paper, which no chemistry will ever detect: but these differences exist, and there are men who feel and understand them. The mast of a ship, a gallows, a crucifix at a crossroads on the steppes – these may be made of the same kind of wood, but in reality they are _different_ objects made of _different material_. That which we see, touch, and investigate, is nothing more than "the circles on the plane" made by the coin and the candle. They are only the _shadows_ of real things, _the substance of which is contained in their function_. The shadow of a sailor, of a hangman, and of an ascetic may be quite similar – it is impossible to distinguish them by their shadows, just as it is impossible to find any difference between the wood of a mast, of a gallows and of a cross by chemical analysis. But they are different men and different objects – their _shadows only_ are equal and similar. And if we take men as we know them – the sailor, the hangman, the ascetic: men who seem to us similar and _equal_ – and consider them from the standpoint of their differences in function, we shall see that in reality they are entirely different and that there is nothing in common between them. They are quite different beings, belonging to different categories, to different planes of the world between which there are no bridges, no avenues at all. These men seem to us equal and similar because in most cases we see only the shadows of real facts. The "souls" of these men are actually quite different, different not only in their quality, their magnitude, their "age," as some people like now to put it, but as different _in the very nature, origin and purpose of their existence_ as things belonging to entirely different categories can be. When we shall begin to understand this, the general concept _man_ will take on a different meaning. And this relation holds in the observation of all phenomena. The mast, the gallows, the cross – these are things belonging to such different categories, the atoms of such different objects (known only by their functions), that there cannot be a question of any similarity at all. Our misfortune consists in the fact that we regard the chemical constitution of a thing as its _most real_ attribute, while as a matter of fact its true attributes must be sought for in its functions. Could we broaden and deepen our vision of the chains of causation the links of which are forged by our action and our conduct; could we learn to see them not only in their narrow relation to the life of man – _to our personal life_ – but in their broad cosmic meaning; could we succeed in finding and establishing a connection between the simple phenomena of our life and the life of the cosmos; then without doubt in these "simplest" phenomena would be unveiled for us an infinity of the new and the unexpected. For example, in this way we may come to know something entirely new about those simple physical phenomena which we are accustomed to regard as natural and obvious and about which we think we know something. Then, unexpectedly, we may find that we know nothing, that everything heretofore known about them is only an incorrect deduction from incorrect premises. There may be revealed to us something infinitely great and immeasurably important in such phenomena as the expansion and contraction of solids, electrical phenomena, heat, light, sound, the movements of the planets, the coming of day and of night, the change of seasons, a thunderstorm, heat-lightning, etc. etc. Generally speaking, we may find explained in the most unexpected manner the properties of phenomena which we used to accept as given things, as not containing anything within themselves that we could not see and understand. The constancy, the time, the periodicity or unperiodicity of phenomena may take on quite a new meaning and significance for us. The new and the unexpected may reveal itself in the _transition_ of some phenomena into others. Birth, death, the life of a man, his relations with other men; love, enmity, sympathies, antipathies, desires, passions – these may unexpectedly receive illumination by an entirely new light. It is impossible now to imagine the nature of this _newness_ which we shall sense in familiar things, and once felt it will be difficult to understand. But it is really only our inaptitude to feel and understand this "newness" which divides us from it, because we are _living_ in it and amidst it. Our senses, however, are too primitive, our concepts are too crude, for that fine differentiation of phenomena which must unfold itself to us in higher space. Our minds, our powers of correlation and association are insufficiently elastic for the grasping of new relations. Therefore, the first emotion at the rising of the curtain on "that world" – i.e., this our world, but free of those limitations under which we usually regard it – must be of _wonderment_ , and this wonderment must grow greater and greater according to our better acquaintance with it. And the better we know a certain thing or a certain relation of things – the nearer, the more familiar they are to us – the greater will be our wonder at the new and the unexpected therein revealed. Desiring to understand the _noumenal world_ we must search for _the hidden meaning_ in everything. At present we are too heavily enchained by the habit of the positivistic method of searching always for the _visible_ cause and the _visible_ effect. Under this weight of positivistic habit it is extremely difficult for us to comprehend certain ideas. Among other things we have difficulty in understanding the _reality of the difference_ in the noumenal world between objects of our world which are _similar_ , but different in function. But if we desire to approach to an understanding of the noumenal world, we must try with all our might to _notice_ all those seeming, "subjective" differences between objects which astonish us sometimes, of which we are often _painfully aware_ – those differences expressed in the symbols and metaphors of art which are often revelations of the world of reality. Such differences are the realities of the noumenal world, far more real than all _Maya_ (illusion) of our phenomena. We should endeavor to notice these realities and to develop within ourselves the ability to feel them, because exactly in this manner and only by such a method do we put ourselves in contact with the noumenal world or the world of causes. I find an interesting example of the understanding of the _hidden_ meaning of phenomena contained in _The Occult World_ in the letter of a Hindu occultist to the author of the book, A. P. Sinnett: We see a vast difference between the two qualities of two equal amounts of energy expended by two men, of whom one, let us suppose, is on his way to his daily quiet work, and another on his way to denounce a fellow creature at the police station, while the men of science see none; and we – not they – see a specific difference between the energy in the motion of the wind and that of a revolving wheel. Every thought of man upon being evolved passes into the inner world, and becomes an active entity by associating itself, coalescing we might term it, with an elemental – that is to say, with one of the semi-intelligent forces of the kingdom. If we ignore the last part of this quotation for the moment, and consider only the first part, we shall easily see that the "man of science" does not recognize the difference in the quality of the energy spent by two men going, one to his work, and another to denounce someone. For the man of science this difference is negligible: science does not sense it and does not recognize it. But perhaps the difference is much deeper and consists not in the difference between modes of energy but in the difference between _men_ , one of whom is able to develop energy of one sort and another that of a different sort. Now we have _a form of knowledge_ which senses this difference perfectly, knows and understands it. I am speaking of art. The musician, the painter, the sculptor well understand that it is possible to walk differently – and even impossible not to walk differently: a workman and a spy cannot walk alike. Better than all _the actor_ understands this, or at least he should understand it better. The poet understands that the mast of a ship, the gallows, and the cross are made of _different wood_. He understands the difference between the stone from a church wall and the stone from a prison wall. He hears "the voices of stones," understands the whisperings of ancient walls, of tumuli, of mountains, rivers, woods and plains. He hears " _the voice of the silence_ ," understands the psychological difference between silences, knows that _one silence can differ from another_. And this _poetical_ understanding of the world should be developed, strengthened and fortified, because only by its aid do we come in contact with the true world of reality. In the real world, behind phenomena which appear to us similar, often stand noumena so different that only by our blindness is it possible to account for our idea of the similarity of those phenomena. Through such a false idea the current belief in the similarity and equality of men must have arisen. In reality the difference between a "hangman," a "sailor," and an "ascetic" is not an accidental difference of position, state and heredity, as material-ism tries to assure us; nor is it a difference between the stages of one and the same evolution, as theosophy affirms; but it is a deep and IMPASSABLE difference – such as exists between murder, work and prayer – involving entirely different worlds. The representatives of these worlds may seem to us to be similar MEN, only because we see, not them, but their shadows only. It is necessary to accustom oneself to the thought that this difference is not metaphysical but entirely real, more real than many _visible_ differences between things and between phenomena. All art, in essence, consists of the understanding and representation of these elusive differences. The phenomenal world is merely a means for the artist – just as colors are for the painter, and sounds for the musician – a means for the understanding of the noumenal world and for the expression of that understanding. At the present stage of our development we possess nothing so powerful, as an instrument of knowledge of the world of causes, as art. The mystery of life dwells in the fact that the _noumenon_ , i.e., the hidden meaning and the hidden function of a thing, is reflected in its _phenomenon_. A phenomenon is merely the reflection of a noumenon in our sphere. THE PHENOMENON IS THE IMAGE OF THE NOUMENON. It is _possible_ to know the noumenon by the phenomenon. But in this field the chemical reagents and spectroscopes can accomplish nothing. Only that fine apparatus which is called _the soul of an artist_ can understand and feel the reflection of the noumenon in the phenomenon. In art it is necessary to study "occultism" – the hidden side of life. The artist must be a clairvoyant: he must see that which others do not see; he must be a magician: must possess the power to make others see that which they do not themselves see, but which he does see. Art sees more and farther than we do. As was said before, we usually see nothing, we merely _feel our way_ ; therefore we do not notice those differences between things which cannot be expressed in terms of chemistry or physics. But art is _the beginning of vision_ ; it sees vastly more than the most perfect apparatus can discover; and it senses the infinite invisible facets of that crystal, one facet of which we call man. The truth is that this earth is the scene of a drama of which we only perceive scattered portions, and in which the greater number of the actors are invisible to us. Thus says the theosophical writer, Mabel Collins, the author of _Light on the Path_ , in a little book, _Illusions_. And this is very true: we see only a little. But art sees farther than merely human sight, and therefore concerning certain sides of life art alone can speak, and has the right to speak. A remarkable attempt to portray our relation to the "noumenal world" – to that "great life" – is found in Book VII of Plato's _Republic_ : Behold! Human beings living in a sort of underground den; they have been there from their childhood, and have their legs and necks chained – the chains are arranged in such a manner as to prevent them from turning round their heads. At a distance above and behind them the light of a fire is blazing, and between the fire and the prisoners there is a raised way; and you will see, if you look, a low wall built along the way, like the screen which marionette players have before them, over which they show the puppets. Imagine men passing along the wall carrying vessels, which appear over the wall; also figures of men and animals, made of wood and stone and various materials; and some of the passengers, as you would expect, are talking, and some of them are silent! That is a strange image, he said, and they are strange prisoners. Like ourselves, I replied; and they see only their own shadows, or the shadows of one another, which the fire throws on the opposite wall of the cave? True, he said; how could they see anything but the shadows if they were never allowed to move their heads? And of the objects which are being carried in like manner they would only see the shadows? Yes, he said. And if they were able to talk with one another, would they not suppose that they were naming what was actually before them? Very true. And suppose further that the prison had, an echo which came from the other side, would they not be sure to fancy that the voice which they heard was that of a passing shadow? No question, he replied. There can be no question, I said, that the truth would be to them just nothing but the shadows of the images. That is certain. And now look again and see how they are released and cured of their folly. At first, when any one of them is liberated and compelled suddenly to go up and turn his neck around and walk and look at the light, he will suffer sharp pains; the glare will distress him and he will be unable to see the realities of which in his former state he had seen the shadows; and then imagine someone saying to him, that what he saw before was an illusion, but that now he is approaching real being and has a truer sight and vision of more real things, – what will be his reply? And you may further imagine that his instructor is pointing to the objects as they pass and requiring him to name them, – will he not be in a difficulty? Will he not fancy that the shadows which he formerly saw are truer than the objects which are now shown to him? Far truer. And if he is compelled to look at the light, will he not have a pain in his eyes which will make him turn away to take refuge in the object of vision which he can see, and which he will conceive to be clearer than the things which are now being shown to him? True, he said. And suppose once more, that he is reluctantly dragged up a steep and rugged ascent, and held fast and forced into the presence of the sun himself, do you not think that he will be pained and irritated, and when he approaches the light he will have his eyes dazzled, and will not be able to see any of the realities which are now affirmed to be the truth? Not all in a moment, he said. He will need to get accustomed to the sight of the upper world. And first he will see the shadows best, next the reflections of men and other objects in the water, and then the objects themselves; next he will gaze upon the light of the moon and the stars; and he will see the sky and the stars by night, better than the sun, or the light of the sun, by day? Certainly. And at last he will be able to see the sun, and not mere reflections of him in the water, but he will see him as he is in his own proper place, and not in another, and he will contemplate his nature. Certainly. And after this he will reason that the sun is he who gives the seasons and the years, and is the guardian of all that is in the visible world, and in a certain way the cause of all things which he and his fellows have been accustomed to behold? Clearly, he said, he would come to the other first and to this afterwards. And when he remembered his old habitation, and the wisdom of the den and his fellow-prisoners, do you not suppose that he would felicitate himself on the change, and pity them? Certainly, he would. And if they were in the habit of conferring honors on those who were quickest to observe and remember and foretell which of the shadows went before, and which followed after, and which were together, do you think that he would care for such honors and glories, or envy the possessors of them? Would he not say with Homer, — "Better to be a poor man, and have a poor master," and endure anything, than to think and live after their manner? Yes, he said, I think that he would rather suffer anything than live after their manner. Imagine once more, I said, that such an one coming suddenly out of the sun were to be replaced in his old situation, is he not certain to have his eyes full of darkness? Very true, he said. And if there were a contest, and he had to compete in measuring the shadows with the prisoners who have never moved out of the den, during the time that his sight is weak, and before his eyes are steady (and the time which would be needed to acquire this new habit of sight might be very considerable), would he not be ridiculous? Men would say of him that up he went and down he comes without his eyes; and that there was no use in even thinking of ascending: and if anyone tried to loose another and lead him up to the light, let them only catch the offender in the act, and they would put him to death. No question, he said. This allegory, I said, you may now append to the previous argument; the prison is the world of sight, the light of the fire is the sun, the ascent and vision of the things above you may truly regard as the upward progress of the soul into the intellectual world. And you will understand that those who attain to this beatific vision are unwilling to descend to human affairs; but their souls are ever hastening into the upper world in which they desire to dwell. And is there anything surprising in one who passes from divine contemplations to human things, misbehaving himself in a ridiculous manner. There is nothing surprising in that, he replied. Any one who has common sense will remember that the bewilderments of the eyes are of two kinds, and arise from two causes, either from coming out of the light or from going into the light, which is true of the mind's eye, quite as much as of the bodily eye; and he who remembers this when he sees the soul of any one whose vision is perplexed and weak, will not be too ready to laugh; he will first ask whether that soul has come out of the brighter life, and is unable to see because unaccustomed to the dark, or having turned from darkness to the day is dazzled by excess of light. And then he will count one happy in his condition and state of being. # **Chapter 15** Occultism and love. Love and death. Our different relations to the problems of death and to the problems of love. What is lacking in our understanding of love? Love as an every-day and merely psychological phenomenon. The possibility of a spiritual understanding of love. The creative force of love. The negation of love. Love and mysticism. The "wondrous" in love. Nietzsche, Edward Carpenter, and Schopenhauer on love. "The Ocean of Sex." THERE IS NOT a single side of life which is not capable of revealing to us an infinity of the new and the unexpected, if we approach it with the knowledge that it is not exhausted by its visibility, that beyond this visibility there is a whole "invisible world" – a world of to us new and incomprehensible forces and relations. The knowledge of the existence of this invisible world: this is the first key to it. A wealth of "newness" unfolds to us in the most mysterious sides of our existence, in those sides through which we come into direct contact with _eternity_ – in love and in death. In Hindu mythology love and death are the two faces of _one deity_. _Siva_ , god of the creative force of nature, is at the same time the god of violent death, of murder and destruction. His wife is _Parvati_ , goddess of beauty, love and happiness, and she is also _Kali_ or _Durga_ – goddess of evil, of misfortune, of sickness and of death. Together _Siva_ and _Kali_ are the gods of wisdom, the gods of the knowledge of good and evil. In the beginning of his book, _The Drama of Love and Death_ , Edward Carpenter very well defines our relation to these deeply incomprehensible and enigmatical sides of existence: Love and death move through this world of ours like things apart – underrunning it truly, and everywhere present, yet seeming to belong to some other mode of existence. And further: These figures, Love and Death, move through the world like closest friends indeed, never far separate, and together dominating it in a kind of triumphant superiority; and yet like bitterest enemies, dogging each other's footsteps, undoing each other's work, fighting for the bodies and souls of mankind. In these few words is shown the contents of the enigma which confronts us, encompasses us, creates and annihilates us. But man's relation to the two aspects of this enigma is not identical. Strange as it may seem, _the face of death_ has ever been more attractive to the mystical imagination of men than the _face of love_. There have always been many attempts to understand and define the hidden meaning of death; all religions, all religious doctrines begin with giving to man this or that idea about death. It is impossible to construct any system of world-contemplation without some definition of death; and there are numerous systems such as contemporary spiritism which consist almost entirely of "views upon death," of doctrines about death and post-mortem existence. (In one of his articles, V. V. Rosanoff observes that _all religions_ consist in substance of teachings about death.) But the problem of love, in the contemporary way of looking at the world, is regarded as something given, as something already _understood_ and known. Different systems contribute little that is enlightening to an understanding of love. So although in reality love is for us the same enigma as is death, yet for some strange reason we think about it less. We seem to have developed certain cut and dried standards in regard to an understanding of love, and men thoughtlessly accept this or that standard. Art which from its very nature should have much to say on this subject, gives a great deal of attention to love; love ever has been, and perhaps still is, the principal theme of art. But even art chiefly confines itself merely to descriptions and to the psychological analysis of love, seldom touching those infinite and eternal depths which love contains for man. In reality love is a _cosmic phenomenon_ , in which men, humanity, are merely accidents: a cosmic phenomenon which has nothing to do with either the lives or the souls of men, any more than because the sun is shining, by its light men may go about their little affairs, and may utilize it for their own purposes. If men would only understand this, even with a part of their consciousness, a new world would open, and to look on life from all our usual angles would become very strange. For then they would understand that love is something else, and of quite a different order from the petty phenomena of earthly life. Perhaps love is a world of strange spirits who at times take up their abode in men, subduing them to themselves, making them tools for the accomplishment of their inscrutable purposes. Perhaps it is some particular region of the inner world wherein the souls of men sometimes enter, and where they live according to the laws of that world, while their bodies remain on earth, bound by the laws of earth. Perhaps it is an alchemical work of some Great Master wherein the souls and bodies of men play the role of elements out of which is compounded _a philosopher's stone, or an elixir of life_ , or some mysterious magnetic force necessary to someone for some incomprehensible purpose. Love in relation to our life is a deity, sometimes terrible, sometimes benevolent, but never subservient to us, never consenting to serve our purposes. Men strive to subordinate love to themselves, to warp it to the uses of their every-day mode of life, and to their souls' uses; but it is impossible to subordinate love to anything, and it mercilessly revenges itself upon those little mortals who would subordinate _God_ to themselves and make Him serve them. It confuses all their calculations, and forces them to do things which confound themselves, forcing them to serve _itself_ , to do what _it_ wants. Mistaken about the _origin_ of love, men are mistaken about its _result_. Positivistic and spiritistic morality equally recognize in love only one possible result – children, the propagation of the species. But this objective result, which may or may not be, is in any case an effect of the outer, objective side of love, of the material fact of impregnation. If it is possible to see in love nothing more than this material fact and the desire for it, so be it; but in reality love consists not at all in a material fact, and the results of it – except material ones – may manifest themselves on quite another plane. This other plane, upon which love acts, and the ignored, hidden results of love, are not difficult to understand, even from the strictly positivistic, scientific standpoint. To science, which studies life from this side, the purpose of love is the continuation of life. More exactly, love is a link in the chain of facts supporting the continuation of life. The force which attracts the two sexes to each other is acting in the interests of the continuation of the species, and is accordingly created by the forms of the continuation of the species. But if we regard love in this way, then it is impossible not to recognize that there is _much more of this force than is necessary_. Herein lies the key to the correct understanding of the true nature of love. There is more of this force than is necessary, infinitely more. In reality only an infinitesimal part of love's force incarnate in humanity is utilized for the purpose of the continuation of the species. But where does the major part of that force go? We know that nothing can be lost. If energy exists, then it must transform itself into something. Now if a merely negligible percentage of energy goes into the creation of the future by begetting, then the remainder must go into the creation of the future also, but in another way. We have in the physical world many cases in which the _direct_ function is effected by a very small percentage of the consumed energy, and the greater part is spent without return, as it were. But of course this greater part of energy does not disappear, is not wasted, but accomplishes other results quite different from the direct function. Take the example of a common candle. It gives light, but it also gives considerably more heat than light. Light is the direct function of a candle, heat the indirect, but we get more heat than light. A candle is a furnace adapted to the purpose of lighting. In order to give light a candle must burn. Combustion is a necessary condition for the receiving of light from a candle; it is impossible to ignore this combustion; but the same combustion gives heat. At first thought it appears that the heat from a candle is spent unproductively; sometimes it is superfluous, unpleasant, annoying; if a room is lighted by candles it will soon grow excessively hot. But the fact remains that light is received _from a candle only because of combustion_ – by the development of heat and the incandescence of volatilized gases. The same thing is true in the case of love. We may say that a merely negligible part of love's energy _goes into posterity_ ; the greater part is spent by the fathers and mothers on their personal emotions as it were. But this also is necessary. Without this expenditure the principal thing could not be achieved. Only _because_ of these at first sight collateral results of love, only because of all this tempest of emotions, feelings, efervescences, desires, thoughts, dreams, fantasies, inner creations; only because of the beauty which it creates, can love fulfill its immediate function. Moreover – and this perhaps is the most important – the superfluous energy is not wasted at all, but is transformed into other forms of energy, possible to discover. Generally speaking, the significance of the indirect results may very often be of more importance than the significance of direct ones. And since we are able to trace how the energy of love transforms itself into instincts, ideas, creative forces on diferent planes of life; into symbols of art, song, music, poetry; so can we easily imagine how the same energy may transform itself into a higher order of intuition, into a higher consciousness which will reveal to us a marvelous and mysterious world. In all living nature (and perhaps also in that which we consider as dead) _love_ is the motive force which drives the creative activity in the most diverse directions. In springtime with the first awakening of love's emotions the birds begin _to sing_ , and _build nests_. Of course a positivist would strive to explain all this very simply: singing acts as an attraction between the females and the males, and so forth. But even a positivist will not be in a position to deny that there is a good deal more of this singing than is necessary for "the continuation of the species." For a positivist, indeed, "singing" is merely "an accident," a "by-product." But in reality it may be that this singing is _the principal function of a given species_ , the realization of its existence, the purpose pursued by nature in creating this species; and that this singing is _necessary_ , not so much to attract the females, as for some general harmony of nature which we only rarely and imperfectly sense. Thus in this case we observe that what appears to be a collateral function of love, from the standpoint of the individual, may serve as a principal function of the species. Furthermore, there are no fledglings as yet: there is even no intimation of them, but "homes" are prepared for them nevertheless. Love inspires this orgy of activity, and instinct directs it, because it is expedient from the standpoint of the species. At the first awakening of love this work begins. One and the same desire creates a new generation and those conditions under which this new generation will live. One and the same desire urges forward creative activity in all directions, brings the pairs together for the birth of a new generation, and makes them _build_ and _create_ for this same future generation. We observe the same thing in the world of men: there too love is the creative force. And the creative activity of love does not manifest itself in one direction only, but in many ways. It is indeed probable that by the spur of love, _Eros_ , humanity is aroused to the fulfillment of _its principal function_ , of which we know nothing, but only at times by glimpses hazily perceive. But even without reference to the purpose of the existence of humanity, within the limits of the knowable we must recognize that all the creative activity of humanity results from love. Our entire world revolves around love as its centre. Love unfolds in a human being traits of his which he never knew in himself. In love there is much both of the Stone Age and of the Witches' Sabbath. By anything less than love many men cannot be induced to commit a crime, to be guilty of a treason, to reanimate in themselves such feelings as they thought to have killed out long ago. In love is hidden an infinity of egoism, vanity and selfishness. Love is the potent force that tears off all masks, and men who run away from love do so in order that they may preserve their masks. If creation, _the birth of ideas_ , is the light which comes from love, then this light comes from _a great fire_. In this eternally burning fire in which humanity and all the world are being incessantly purified, all the forces of the human spirit and of genius are being evolved and refined; and perhaps indeed, from this same fire or by its aid a new force will arise which shall deliver from the chains of matter all who follow where it leads. Speaking not figuratively, but literally, it may be said that love, being the most powerful of all emotions, unveils in the soul of man all its qualities patent and latent; and it may also unfold those _new_ potencies which even now constitute the object of occultism and mysticism – the development of powers in the human soul so deeply hidden that by the majority of men their very existence is denied. In the majority of cases love, as it exists in modern life, has become a trifling away of feelings, of sensations. It is difficult, in the conditions which govern life in the world, to imagine such a love as will not interfere with mystical aspirations. Temples of love and the mystical celebration of love's mysteries exist in reality no longer: there is the "every-day manner of life," and psychological labyrinths from which those who rise a little above the ordinary level can only desire to run away. For this reason certain fine forms of asceticism are developing quite naturally. This asceticism does not slander love, does not blaspheme against it, does not try to convince itself that love is an abomination from which it is necessary to run away. It is Platonism rather than asceticism. It recognizes that love is the sun, but often does not see its way to live in the sunlight, and so considers it better not to see the sun at all, to divine it in the soul only, rather than receive its light through darkened or smoked glasses. In general, however, love represents for men too great an enigma; and often the denial of love and asceticism take on strange and unnatural forms, even with persons who are quite sincere, but unable to understand the great _mystical_ aspect of love. When one encounters these perversions of love, one involuntarily calls to mind the words of Zarathustra: Voluptuousness: unto all hair-shirted despisers of the body, a string and stake; and cursed as "the world" by all _back worlds men_ : for it mocketh and befooleth all erring, misinferring teachers. Voluptuousness: to the rabble the slow fire at which it is burnt: to all wormy wood, to all stinking rags, the prepared heat and stew furnace. Voluptuousness: to free hearts, a thing innocent and free, the garden-happiness of the earth, all the future's thanks-overflow to the present. Voluptuousness: only to the withered a sweet poison: to the lion-willed, however, the great cordial, and the reverently saved wine of wines. Voluptuousness: the great symbolic happiness of a higher happiness and highest hope. For to many is marriage promised and more than marriage – to many that are more unknown to each other than man and woman – and who hath fully understood how unknown to each other are man and woman. I have dwelt so long on the subject of the understanding of love because it has the most vital significance; because to the majority of men, approaching the threshold of the great mystery, much is closed or opened to them in this way, and because for many this question represents the greatest obstacle. In love the most important element is _that which is not_ , which _absolutely_ does not exist from the usual worldly, materialistic point of view. In this sensing of that which is not, and in the contact through it with the world of the wondrous, i.e., truly real, consists the principal element of love in human life. It is a well-known psychological fact that in moments of powerful emotion, of great joy or great suffering, everything happening round about a man seems to him _unreal_ – a dream. This is the beginning of the soul's awakening. When a man in a dream begins to be conscious of the fact that he is asleep and that what he sees is a dream, then he is waking up; so also the soul, beginning to be conscious of the fact that all visible life is a dream, approaches its awakening. And the more powerful, the brighter the inner emotions are, so much the more quickly will the moment of consciousness of the unreality of life come. It is very interesting to consider love and men's relation to love in the light of that method and those analogies which we have already applied to the comparative study of different dimensions. Again it is necessary to imagine a world of plane beings, observing phenomena entering their plane from another unknowable world (such as the change of the color of lines on a plane, in reality depending upon the rotation through the plane of a wheel with many-colored spokes). The plane beings believe that the phenomena arise within the limits of their plane, from causes also belonging to the same plane, and that they are finished there. Also, all similar phenomena are to them identical, such as two circles which in reality belong to two entirely different objects. On this foundation they erect their science and their morality. Yet if they would decide to discard their "two-dimensional" psychology and try to understand the true substance of these phenomena, then _with the aid_ and by means of these phenomena they could sever their connection with their plane, arise, fly up above it, and discover a great-unknown world. The question of love holds exactly the same place in our life. Only he who can see considerably beyond _the facts_ discerns love's real meaning; and it is possible to illumine these very facts by the light of that which lies behind them. And he who is able to see beyond the "facts" begins to discern much of "newness" _in love and through love_. I shall quote in this connection a poem in prose by Edward Carpenter, from the book _Towards Democracy_. # **The Ocean of Sex** To hold in continence the great sea, the great ocean of Sex, within one, with flux and reflux pressing on the bounds of the body, the beloved genitals, vibrating, swaying emotional to the star-glint of the eyes of all human beings, reflecting Heaven and all Creatures, how wonderful! Scarcely a figure, male or female, approaches, but a tremor travels across it. As when on the cliff which bounds the edge of a pond someone moves, then in the bowels of the water also there is a mirrored movement, so on the edge of this Ocean. The glory of the human form, even faintly outlined under the trees or by the shore, convulses it with far reminiscences; (Yet strong and solid the sea-banks, not lightly overpassed); till maybe to the touch, to the approach, to the incantation of the eyes of one, It bursts forth, uncontrollable. O wonderful ocean of Sex, Ocean of millions and millions of tiny seed-like human forms contained (if they be truly contained) within each person, mirror of the very universe, sacred temple and innermost shrine of each body, Ocean-river flowing ever on through the great trunk and branches of Humanity, from which after all the individual only springs like a leaf-bud! Ocean which we so wonderfully contain (if indeed we do not contain thee), and yet who containest us! Sometimes when I feel and know thee within, and identify myself with thee, Do I understand that I also am of the dateless brood of Heaven and Eternity. Returning to that from which I started, the relation between the fundamental laws of our existence, love and death, the true mutual correlation of which remains enigmatical and incomprehensible to us, I shall merely recall Schopenhauer's words with which he ends his Counsels and Maxims. I should point out how Beginning and End meet together, and how closely and intimately Eros is connected with Death; how Orcus, or Amenthes, as the Egyptians called him, is not only the receiver but the giver of all things... Death is the great reservoir of Life. Everything comes from Orcus – everything that is alive now and was once there. Could we but understand the great trick by which that is done, the entire world would be clear. # **Chapter 16** The phenomenal and the noumenal side of man. "Man-in-himself." How do we know the inner side of man? Can we know of the existence of consciousness in conditions of space not analogous to ours? Brain and consciousness. Unity of the world. Logical impossibility of the simultaneous existence of spirit and matter. Either all spirit or all matter. Rational and irrational actions in nature and in the life of man. Can rational actions exist alongside irrational? The world as an accidentally self-created mechanical toy. The impossibility of reason in a mechanical universe. The irreconcilability of mechanicalness with the existence of reason. Kant concerning "hosts." Spinoza on the knowledge of the invisible world. Necessity for the intellectual definition of that which can be, and that which cannot be, in the world of the hidden. WE KNOW WHAT man is only imperfectly; our conceptions regarding him are extremely fallacious and easily create new illusions. First of all, we are inclined to regard man as a certain unity, and to regard the different parts and functions of man as being bound together, and dependent upon one another. Moreover, in the physical apparatus, in man visible, we see the cause of all his properties and actions. In reality, man is a very complicated something, and complicated in various meanings of the word. Many sides of the life of a man are not bound together among themselves at all, or are bound only by the fact that they belong to one man; but the life of man goes on simultaneously on different planes, as it were, while the phenomena of one plane only at times and partially touch those of another, and may not themselves touch at all. And the relations of the same man to the various sides of himself and to other men are entirely dissimilar. Man includes within himself all three of the above-mentioned orders of phenomena, i.e., he represents in himself the combination of physical phenomena with those of life and psychic phenomena. And the mutual relations between these three orders of phenomena are infinitely more complex than we are accustomed to think. Psychic phenomena we feel, sense, and are conscious of _in ourselves_ ; physical phenomena and the phenomena of life we observe and make conclusions about on the basis of experience. We do not sense the psychic phenomena of _others_ , i.e., the thoughts, feelings and desires of another man; but the fact that they exist in him we conclude from what he says, and by analogy with ourselves. We know that in ourselves certain actions, certain thoughts, and feelings proceed, and when we observe the same actions in another man, we conclude that he has thought and felt like us. Analogy with ourselves – this is our sole criterion and method of reasoning and drawing conclusions about the psychic life in other men if we cannot communicate with them, or do not wish to believe in what they tell us about themselves. Suppose that I should live among men without the possibility of communicating with them and having no way to make conclusions based upon analogy; in that case I should be surrounded by moving and acting automatons, the cause, purpose and meaning of whose actions would be perfectly incomprehensible to me. Perhaps I would explain their actions by "molecular motion," perhaps by the "influence of the planets," perhaps by "spiritism," i.e., by the influence of "spirits," possibly by "chance" or by a haphazard combination of causes – but in any case I should not and could not see _the psychic life_ in the depth of these men's actions. Concerning the existence of thought and feeling I can usually only conclude by analogy with myself. I know that certain phenomena are connected in me with my possession of thought and feeling. When I see the same phenomena in another man I conclude that he also possesses thought and feeling. But I cannot convince myself _directly_ of the existence of psychic life in another man. Studying man from one side only I should stand in the same position in relation to him as, according to Kant, we stand with relation to the world surrounding us. We know merely the form of our knowledge of it. The _world-in-itself_ we do not know. Thus the psyche, with all its functions and with all its contents – I have two methods – analogy with myself, and intercourse with him by the _exchange of thoughts_. Without this, man is for me a phenomenon merely, a moving automaton. The noumenon of a man is his psyche together with everything this psyche includes within itself and that with which it unites him. In "man" are opened to us both worlds, though the noumenal world is open only slightly, because it is cognized by us through the phenomenal. _Noumenal means apprehended by the mind_ ; and the characteristic property of _the things of the noumenal world_ is that _they cannot be comprehended by the same method by which the things of the phenomenal world are comprehended_. We may speculate about the things of the noumenal world; we may discover them by a process of reasoning, and by means of analogy; we may feel them, and enter into some sort of communion with them; but we can neither see, hear, touch, weigh, measure them; nor can we photograph them or decompose them into chemical elements or number their vibrations. Thus, the psyche, with all its functions and with all its contents – thoughts, feelings, desires, will – does not relate itself to the world of phenomena. We cannot know even a single element of the psyche _objectively_. Emotion as such is a thing which it is impossible to see, just as it is impossible to see _the value of a coin_. You can see the stamp upon a coin, but you will never see _its value_. It is just as impossible to photograph thought as it is to imagine "Egyptian darkness" in a vial. To think otherwise, to experiment with the photographing of thought, simply means to be unable to think logically. On a phonographic record are the tracings of the needle, elevations and depressions, but _there is no sound_. He, who holds a phonographic record to his ear, hoping _to hear_ something, will be sure to listen in vain. Including within himself _two worlds_ , the phenomenal and the noumenal, man gives us the opportunity to understand in what relation these worlds stand to one another everywhere throughout nature. It is necessary however to remember, that defining a noumenon in terms of the psyche, we take but one of its infinity of aspects. We have already arrived at the conclusion that the _noumenon_ of a thing consists in _its function_ in another sphere – in its meaning which is incomprehensible in a given section of the world. Next we came to the conclusion that the number of meanings of one and the same thing in different sections of the world must be infinitely great and infinitely various, that it must become its own opposite, return again to the beginning (from our standpoint), etc. etc., infinitely expanding, contracting again, and so forth. It is necessary to remember that the noumenon and the phenomenon are not different things, but merely different aspects of _one and the same thing_. Thus, each phenomenon is _the finite expression_ , in the sphere of our knowledge through the organs of sense, _of something infinite_. A phenomenon is the three-dimensional expression of a given noumenon. This three-dimensionality depends upon the three-dimensional forms of our knowledge, i.e., speaking simply, upon our brains, nerves, eyes, and fingertips. In "man" we have found that one side of his noumenon is his psychic life, and that therefore in the psyche lies the beginning of the solution of the riddle of the functions and meanings of man which are incomprehensible from an outside point of view. What is the psyche of man if it is not his function – incomprehensible in the three-dimensional section of the world? Truly, if we shall study and observe man by all accessible means, objectively, from without, we shall never discover his psyche and shall never define the function of his consciousness. We must first of all _become aware_ of the existence of our own psyche, and then either begin a conversation (by signs, gestures, words) with another man, begin to exchange thoughts with him, and from his answers deduce the conclusion that he possesses the same thing that we do – or come to the conclusion about it from external indications (actions similar to ours in similar circumstances). By the _direct method_ of objective investigation, without the help of _speech_ , or without the help of conclusions based upon _analogy_ , we shall not discover the psyche in another man. That which is inaccessible to the direct method of investigation, _but exists_ , is NOUMENAL. Consequently we shall not be in a position to define the functions and meanings of man in another section of the world than that world of Euclidian geometry, solely accessible to the "direct methods of investigation." Therefore we have a perfect right to regard "the psyche of man" as his function in some section of the world different from that _three-dimensional_ section wherein "the body of man" functions. Having established this much we may ask ourselves the question: Have we not the right to make a reverse conclusion, and regard as _a psyche of its own kind_ the to us unknown function of the "world" and of "things" outside of their three-dimensional section? Our usual positivistic view regards psychic life as _a function of the brain_. Without a brain we cannot imagine rationality. Max Nordau, when he wanted to imagine the world's consciousness (in _Paradoxes_ ), was obliged to say that we cannot be certain that somewhere in the infinite space of the universe _is not repeated on a grandiose scale the same combination of physical and chemical elements as constitutes our brains_. This is very characteristic and typical of "positive science." Desiring to imagine the "world's consciousness" positivism is first of all forced to imagine _a gigantic brain_. Does not this at once savor of the two-dimensional or plane world? Surely the idea of a gigantic brain somewhere beyond the stars reveals the appalling poverty and impotence of positivistic thought. This thought cannot leave its usual grooves; it has no wings for a soaring flight. Let us imagine that some curious inhabitant of Europe in the seventeenth century should try to foresee the means of transportation in the twentieth century, and should picture to himself an enormous stage-coach, large as an hotel, harnessed to one thousand horses; he would be pretty near to the truth, but also at the same time infinitely far from it. And yet even in his time some minds which foresaw along correct lines already existed: already the idea of the steam engine had been broached and models were appearing. The thought expressed by Nordau reminds one of a favorite concept of popular philosophy relating to an accidentally caught idea, that the planets and satellites of the solar system are merely molecules of some tremendous organism, an insignificant part of which that system represents. "Perhaps the entire universe is located on the tip of the little finger of some great being," says such a philosopher, "and perhaps our molecules are also worlds." The deuce! Perhaps on my little finger there are several universes too! And such a philosophizer gets frightened. But all such reasonings are merely the gigantic stage-coach over again. This is the way a little girl thought, about whom I was reading, if I mistake not, in _The Theosophical Review_. The girl was sitting near the fireplace, and beside her slept a cat. "Well, the cat is sleeping," the girl reflected, "perhaps she sees in a dream that she is not a cat, but a little girl. And maybe _I am not a little girl at all, but a cat, and only see in a dream that I am a little girl_...." The next moment the house resounds with a violent cry, and the parents of the little girl have a hard time to convince her that she is not a cat but really a little girl. All this shows that it is necessary to philosophize with a certain amount of skill. Our thought is encompassed by many blind alleys, and positivism, always attempting to apply the rule of proportion, is in itself such a blind alley. Our analysis of phenomena, the relation which we have shown to exist between physical phenomena and those of life and of the psyche, permits us to assert _quite definitely_ that psychic phenomena cannot be a function of physical phenomena – or phenomena of a lower order. We established that the higher couldn't be a function of the lower. And this division into higher and lower is also based upon the clear fact of the different potentialities of various orders of phenomena – of the different amount of _latent force_ contained in them (or liberated by them). And of course we have the right to call those phenomena _the higher_ which possess immeasurably greater potentiality, immeasurably more latent force; and to call those _the lower_ which possess less potentiality, less latent force. The phenomena of life are _the higher_ in comparison with physical phenomena. Psychic phenomena are _the higher_ , in comparison with the phenomena of life and physical phenomena. Which must be the function _of which_ is clear. Without making a palpable logical mistake we cannot declare life and the psyche to be dependent functionally upon physical phenomena, i.e., to be a _result_ of physical phenomena. The truth is quite the opposite of this: everything forces us to recognize physical phenomena as the result of life, and life (in a biological sense) as the result of some form of psychic life, which is perhaps unknown to us. But of _which_ life, and of _which_ psyche? Here lies the question. Of course it would be absurd to regard our planetary sphere as a function of the vegetable and animal life _proceeding upon it_ – and the visible stellar universe as a function of the _human_ psyche. But nothing of this sort is meant. In the occult understanding of things we speak always of _another_ life and _another_ psyche, the particular manifestation of which is our life and our psyche. It is important to establish _the general principle_ that physical phenomena, being _the lower_ , depend upon the phenomena of life and of the psyche, which are _higher_. If we admit this principle as established, then it is possible to proceed further. The first question which arises is this: In what relation does the psychic life of man stand to his body and his brain? This question has been answered differently in different times. Psychic life has been regarded as a direct function of the brain (" _Thought is the motion of brain substance_ "), thus of course denying any possibility of thought without the existence of a brain. Then followed an attempt to establish _a parallelism_ between psychic activity and the activity of the brain. But the nature of this parallelism has always remained obscure. Yes, evidently, the brain works parallel to thinking and feeling: an arrestment or a disorder of the activity of the brain brings as a consequence a visible arrestment or disorder of psychic activity. But after all the activity of the brain is _merely motion_ , i.e., an objective phenomenon, whereas the activity of the psyche is a phenomenon objectively undefinable, and at the same time _more powerful_ than anything objective. How shall we reconcile all this? Let us endeavor to consider the activity of the brain and the activity of the psyche from the standpoint of the existence of those two data, the "world" and "consciousness," accepted by us at the very beginning. If we consider the brain from the standpoint of consciousness, then the brain will be part of the "world," i.e., part of the outer world lying outside of consciousness. Therefore the psyche and the brain are different things. But the psyche, as experience and observation shows, can act only through the brain. The brain is that necessary prism, passing through which, part of the psyche manifests itself to us as _intellect_. Or to put it a little differently, _the brain is a mirror, reflecting psychic life in our three-dimensional section of the world_. This last means that in our three-dimensional section of the world not all of the psyche (the true dimensions of which we do not know) is acting, but only so much of it as can be reflected in a brain. It is clear that if the mirror be broken, then the image will be broken too, or if the mirror be injured or imperfect, then the reflection will be blurred or distorted. But there is absolutely no reason to believe that when the mirror is broken the object which it reflects is thereby destroyed, i.e., _psychic life_ in the given case. _The psyche_ cannot suffer from any disorder of the brain, but _the manifestations_ of it may suffer very much or may even disappear from the field of our observation altogether. Therefore it is clear that a disorder in the activity of the brain causes an enfeeblement or a distortion, or even a complete disappearance of the psychic faculties manifesting in our sphere. The idea of the comparison between a three-dimensional body and a four-dimensional one enables us to affirm that not all the psychic activity goes through the brain, but a part of it only: Each of us is in reality an abiding physical entity far more extensive than he knows – an individuality which can never express itself completely through any corporeal manifestation. The self manifests through the organism; but there is always some part of the self unmanifested. The "positivist" will remain unconvinced. He will say: prove to me that thought can act without a brain, then I will believe it. I shall answer him by the question: WHAT, in the given case, will constitute a proof? There are no proofs and there cannot be any. The existence of the psyche _without a brain_ (without a body), if that be possible, is for us a fact which cannot _be proven_ like a physical fact. And if my opponent will reason sincerely, then he will be convinced there can be no proof, because _he himself has no means of being convinced of the existence of a psyche acting independently of a brain_. Let us assume that the thought of a _dead_ man (i.e., of a man whose brain has ceased to act) continues to function. How can we convince ourselves of this? _By no possible means whatever_. We have means of communication (speech, writing) with beings which are in conditions similar to our own – i.e., acting through brains; concerning the existence of the psyche of _those same_ beings we can conclude by analogy with ourselves; but concerning the existence of the psychic life of other beings, _whether they do or they do not exist is immaterial_ , we can not by ordinary means convince ourselves _that they exist_. It is exactly this that gives us a key to the understanding of the true relation of psychic life to the brain. Our psyche being a reflection from the brain, we can observe only those reflections which are similar to itself. We have before established that we can make conclusions concerning the psychic life of other beings from _the exchange of thoughts with them_ and from analogies with ourselves. Now we may add to this, that _for this very reason we can know only_ about the existence of psychic lives _similar to our own_ , and we cannot know any other at all, whether they exist or not, _unless we ourselves enter their plane_. Should we ever realize our psychic life, not only as it is reflected from a brain, but in a condition more universal, simultaneously with this the possibility would open up of discovering beings with a psychic life independent of the brain analogical to ourselves, if such exist in nature. But do such beings exist or not? How can we gain information on this point with our thought _such as it is now_? Observing the world from our standpoint, we perceive in it actions proceeding from rational conscious causes, such as the work of a man seems to us; and other actions proceeding from the unconscious blind forces of nature, such as the movement of waves, the ebbing and flowing of the tide, the descent of great rivers, etc., etc. In such a division of observed actions into rational and mechanical there is something naive, even from the positivistic standpoint. For if we have learned anything from the study of nature, if the positivistic method has given us anything at all, then it is the assurance of the necessity for the _uniformity_ of phenomena. We know, and with great certainty, that things basically similar cannot proceed from dissimilar causes. Our scientific philosophy knows this too. Therefore it also regards the foregoing division as naive, and conscious of the impossibility of such dualism – that one part of observed phenomena proceeds from rational and conscious causes and another part from unreasoned and unconscious ones – positivistic philosophy finds it possible to explain _everything_ as proceeding from mechanical causes. Scientific observation holds that the seeming rationality of human actions is an illusion and a self-deception. Man is a toy in the hands of elemental forces. He is merely a transforming station of forces. All that which as it seems to him, _he is doing_ , is in reality done instead by external forces which enter him through air, food, sunlight. Man does not perform a single action by himself. He is merely a prism in which a line of action is refracted in a certain manner. But just as the beam of light does not proceed from the prism, so action does not proceed from the reason of man. The "theoretical experiment" of certain German psychophysiologists is usually advanced in confirmation of this. They affirmed that if it were possible, from the time of his birth, to deprive a man of ALL EXTERNAL IMPRESSIONS: light, sound, touch, heat, cold, etc., and at the same time preserve him alive, then such a man would not be able to perform EVEN THE MOST INSIGNIFICANT ACTION. From this it follows that man is an automaton, like that _automaton_ projected by the American inventor Tesla, which, obeying electric currents and vibrations coming from a great distance without wires, was calculated to execute a whole series of complicated movements. It follows from this that _all the actions of a man_ depend upon outer impulses. For the smallest reflex, outer irritation is necessary. For more complex action a whole series of preceding complex irritations is necessary. Sometimes between the irritation and the action a considerable time elapses, and a man does not feel any connection between the two. Therefore he regards his actions as voluntary, though in reality there are no voluntary actions at all – man cannot do anything by himself, just as a stone cannot jump voluntarily: it is necessary that something should throw it up. Man needs something to give him an impulse, and then he will develop exactly as much force as such an impulse (and all pre-ceding impulses) put into him and no trifle more. Such is the teaching of positivism. From the STANDPOINT OF LOGIC such a theory is more correct than the theory of two classes of actions – REASONED AND UN-REASONED. It at least establishes the principle of NECESSARY UNIFORMITY. It is really impossible to suppose that in an immense machine certain parts move according to their own desire and reasoning; there must be something uniform – either all parts of the machine possess a consciousness of their function and act according to this consciousness, or all are worked from one motor and are driven by one transmission. The enormous service per-formed by positivism is that it established this principle of uniformity. It is left to us to define in what this uniformity consists. The positivistic hypothesis of the world considers that the basis of _everything_ is unconscious _energy_ , which arose from unknown causes at a time that is not known. This energy, after it has passed through a whole series of invisible electro-magnetic and physicochemical processes, is expressed for us in visible and sensed motion, then in growth, i.e., in the phenomena of life, and at last in psychic phenomena. This view has been already investigated and the conclusion reached that it is impossible to regard physical phenomena as the cause of PSYCHIC PHENOMENA, while on the other hand, psychic phenomena serve as an undoubted cause for a great number of the physical phenomena observed by us. The observed process of origination of psychic phenomena under the influence of outside mechanical impulses does not at all mean that physical phenomena create psychic phenomena. Such do not constitute the cause, but are merely a shock, disturbing the balance. In order that outer shocks may evoke psychic phenomena an organism is necessary, i.e., a complex and animated life. The cause of psychic life lies in the organism, its animatedness, which can be defined as a potential of psychic life. Then, from the very essence of the idea of motion – which is the foundation of the physicomechanical world – was deduced the conclusion that motion is not an entirely obvious truth, that the idea of motion arose in us because of the limitation and in-completeness of our sense of space (a slit through which we observe the world). And it was established, not that the idea of time is deduced from the observation of motion, but that the idea of motion results from our "time-sense" – and that the idea of motion is quite definitely _the function of the_ " _time-sense_ ," which in itself is a limit or boundary of the space-sense belonging to a being of a given psyche. It was also established that the idea of motion could arise out of a comparison between two different fields of consciousness. And in general, all analysis of the fundamental categories of our knowledge of the world – space and time – showed that we have absolutely no data whatever for accepting motion as the fundamental principle of the world. And if this is so – if it is impossible to assume behind the scenes of the creation of the world the presence of an unconscious mechanical motor – then it is necessary to consider the world as living and rational. Because one or the other of two things must be true: either it is mechanical and dead – "accidental" – or it is living and animated. There can be nothing dead in living nature and there can be nothing living in dead nature. Nature exhibits a continual progress, starting from the mechanical and chemical activity of the inorganic world, proceeding to the vegetable, with its dull enjoyment of self, from that to the animal world, where intelligence and consciousness began at first very weak, and only after many intermediate stages attaining its last great development in man, whose intellect is nature's crowning point, the goal of all her efforts, the most perfect and difficult of all her works. So writes Schopenhauer in his _Counsels and Maxims_ , and indeed it is very effectively expressed, but we have no foundation whatsoever for regarding man as _the summit_ of that which nature has created. This is only THE HIGHEST THAT WE KNOW. Positivism would be absolutely correct in its picture of the world, there would not be even one deficiency, if there were no reason in the world, anywhere or at any time. Then it would be necessary, nolens volens, to regard the universe as an accidentally self-created mechanical toy in space. But the fact of the existence of psychic life "spoils all the statistics." It is impossible to exclude it. We are either forced to admit the existence of two principles – "spirit" and "matter" – or to select one of them. Then dualism annihilates itself, because if we admit the separate existence of spirit and matter, and reason further on this basis, it will be inevitably necessary to conclude, either that spirit is unreal and matter real; or that matter is unreal and spirit real – i.e., either that spirit is material or that matter is spiritual. Consequently it is necessary to select some one thing – spirit or matter. But to think really MONISTICALLY is considerably more difficult than it seems. I have met many men who have called themselves "monists," and sincerely considered themselves as such, but in reality they never departed from the most naive dualism, and no spark of understanding of the world's unity ever flashed upon them. Positivism, regarding "motion" or "energy" as the basis of everything, can never be "monistic." It is impossible to annihilate the fact of psychic life. If it were possible not to take this fact into consideration at all, then everything would be splendid, and the universe could be something like an accidentally self-created mechanical toy. But to its sorrow, positivism cannot deny the existence of the psyche. It can only try to degrade it as low as possible, calling it the reflection of reality, the substance of which consists of motion. But how deal with the fact that the "reflection" possesses in this case an infinitely greater potentiality than the "reality"? How can this be? From what does this reality reflect, or what is it refracted in, that in its reflected state it possesses infinitely greater potentiality than in its original state? The consistent "materialist-monist" will be forced to say that "reality" reflects from itself, i.e., "one motion" reflects from another motion. But this is merely dialectics, and fails to make clear the nature of psychic life, for it is something other than motion. No matter how hard we may try to define thought in terms of motion, we nevertheless know that they are two different things, different as regards our receptivity of them, belonging to different worlds, incommensurable, capable of existing simultaneously. Moreover, thought can exist without motion, but motion cannot exist without thought, because out of the psyche comes the necessary condition of motion – time: no psychic life – no time, as it exists for us; no time – no motion. We cannot escape this fact, and thinking logically, we must inevitably recognize two principles. But if we begin to consider the very recognition of two principles as illogical, then we must recognize THOUGHT as a single principle, and motion as AN ILLUSION OF THOUGHT. But what does this mean? It means that there can be no "monistic materialism." Materialism can be only dualistic, i.e., it must recognize two principles: motion and thought. Here a new difficulty arises. Our concepts are limited by language. Our language is deeply dualistic. This is indeed a terrible obstacle. I showed previously how language retards our thought, making it impossible to express the relations of a being universe. In our language only an eternally becoming universe exists. The "Eternal Now" cannot be expressed in language. Thus our language pictures to us beforehand a false universe – dual, when in reality it is one; and eternally becoming when it is in reality eternally being. And if we come to realize the degree to which our language falsifies the real view of the world, then the understanding of this fact will enable us to see that it is not only difficult, but even absolutely impossible to express in language the correct relation of the things of the real world. This difficulty can be conquered only by the formation of new concepts and by extended analogies. Later on the principles and methods of this expansion of what we already have, and what we can extract from our stores of knowledge will be made clear. For the present it is only import-ant to establish one thing – THE NECESSITY FOR UNIFORMITY: the monism of the universe. As a matter of principle it is not important which one we regard as first cause, spirit or matter. It is essential to recognize their unity. – But what then is matter? From one point of view, it is a logical concept, i.e., a form of thinking. Nobody ever saw matter, nor will he ever – it is possible only to think matter. From another point of view it is an illusion accepted for reality. Even more truly, it is the incorrectly perceived form of that which exists in reality. Matter is a section of something; a non-existent, imaginary section. But that of which matter is a section, exists. This is the real, four-dimensional world. Wood, the substance from which this table (for example) is made, exists; but the true nature of its existence we do not know. All that we know about it is just the form of our receptivity of it. And if we should cease to exist, it would continue to exist, but only for a receptivity acting similarly to ours. But in itself this substance exists in some other way – HOW, we do not know. Certainly not in space and time, for we ourselves impose these forms upon it. Probably all similar wood, of different centuries, and different parts of the world, constitutes one mass – one body – perhaps one being. Certainly that substance (or that part of it) of which this table is made, has no separate existence apart from our receptivity. We fail to understand that a particular thing is merely an artificial definition by our senses, of some indefinable cause infinitely surpassing that thing. But a thing may acquire its own individual and unique soul; and in that case the thing exists quite independently of our receptivity. Many things possess such souls, especially old things – old houses, old books, works of art, etc. But what ground have we for thinking that there is psychic life in the world other than our human one, that of animals and of plants? First of all, of course, the thought that everything in the world is alive and animated and that manifestations of life and animatedness would naturally exist on all planes and in all forms. But we can discern the psychic life only in forms analogous to ours. The question stands in this way: how could we know about the existence of the psychic life of other sections of the world if they exist? By two methods: through COMMUNICATION, EXCHANGE OF THOUGHTS, and through CONCLUSIONS BY ANALOGY. For the first, it is necessary that our psyche should become similar to theirs, should transcend the limits of the three-dimensional world, i.e., it is necessary to change the form of receptivity and perception. The second may result as a consequence of the gradual expansion of the faculty of drawing inferences by analogy. By trying to think out of the usual categories, by trying to look at things and at ourselves from a new angle and simultaneously from many sides, by trying to liberate our thinking from its accustomed categories of perception in space and time, little by little we begin to notice analogies between things which we did not notice before. Our mind grows, and with it grows the power to discover analogies. This ability, with each new step attained, expands and enriches the mind. Each minute we advance more rapidly, each new step makes the next more easy. Our psyche becomes different. Then, applying to ourselves this expanded ability to construct analogies, and looking about we suddenly perceive all around ourselves a psychic life the existence of which we were previously unaware. And we understand the reason for this unawareness: this psychic life belongs to another plane, and not to that to which our psychic life is native. Thus in this case the ability to discover new analogies is the beginning of changes, which translate us into another plane of existence. The thought of a man begins to penetrate into the world of noumena, which is in affinity with it. Then his point of view changes likewise with regard to the things and events of the phenomenal world. Phenomena may suddenly assume, to his eyes, quite a different grouping. As already said, similar things may be different from one another in reality, different things may be similar; quite separate, disconnected things may be part of one great whole, of some entirely new category; and things which appear inextricably united in one, constituting one whole, may in reality be manifestations of different beings having nothing in common among themselves, even knowing nothing whatever about the existence of one another. Such indeed may be any whole of our world – man, animal, planet, planetary system – i.e., consisting of different psychic lives, a battlefield as it were of warring entities. In each whole of our world we perceive a multitude of opposing tendencies, aspirations, efforts. Each aggregate is as it were an arena of struggle for multitudes of opposing forces, each of which acts by itself, is directed to its own goal, usually to the disruption of the whole. But the interaction of these forces represents the life of the whole; and in everything something is always acting which limits the activity of separate tendencies. This something is the psychic life of the whole. We cannot establish the existence of such a life by analogy with ourselves, or by intercourse with it, or by exchange of thoughts, but a new path opens before us. We perceive a certain separate and quite definite function (the preservation of the whole). Behind this function we infer a certain separate something. A separate something having a definite function is impossible without a separate psychic life. If the whole possesses its own psychic life then the separate tendencies or forces must also possess a psychic life of their own. A body or organism is the point of intersection of such lines of forces, a place of meeting, perhaps a battlefield. Our "I" is also that battlefield on which this or that emotion, this or that habit or inclination gains an advantage, subjecting to itself all of the rest at every given moment, and identifying itself with the I. Our I is a being, having its own life, imperfectly conscious of that of which it itself consists, and identifying itself with this or another portion of itself. Have we any warrant for supposing that the organs and members of a body, thoughts and emotions, are BEINGS also? We have, because we know that there exists nothing purely mechanical; and any something, having a separate function, MUST BE animated and can be called a being. All the beings assumed by us to exist in the world of many dimensions, cannot know one another, i.e., cannot know that we are binding them together in different wholes in our phenomenal world, just as in general they cannot know our phenomenal world and its relations. But they must know themselves, although it is impossible for us to define the degree of clearness of this consciousness. It may be clearer than ours, and it may be more vague – dreamlike, as it were. Between these beings there may be a continuous but imperfectly perceived exchange of thoughts, analogous to the exchange of substance in a living organism. They may experience certain feelings in common, certain thoughts may arise in them spontaneously as it were, under the influence of general causes. Upon the lines of this inner communion they must divide themselves into different wholes of some categories to us entirely incomprehensible, or only guessed at. The essence of each such separate being must consist in its knowledge of itself and its nearest functions and relations; it must feel things analogous to itself, and must have the faculty of telling about itself and them, i.e., this consciousness must always behold a picture of itself and its conditioning relations. It is eternally studying this picture and instantly communicating it to another being coming into communion with it. Whether these consciousnesses in sections of the world other than ours exist or not, we, under the existing conditions of our receptivity, cannot say. They can be sensed only by the changed psyche. Our usual receptivity and thinking are too absorbed by the sensations of the phenomenal world, and by themselves, and therefore do not reflect impressions coming to them from other beings, or reflect them so weakly that they are not fixed there in any intelligible form. Moreover we do not recognize the fact that we are in constant communion with the noumena of all surrounding things, near and remote, with beings like ourselves and others entirely different, with the life of everything in the entire world. But if the impressions coming from other beings are so forceful that the consciousness feels them, then our mind immediately projects them into the outer world of phenomena and seeks for their cause in the phenomenal world, exactly in the same manner that a two-dimensional being, inhabiting a plane, seeks in its plane for the cause of the impressions which come from a higher world. Our psyche is limited by its phenomenal receptivity, i.e., it is surrounded by itself. The world of phenomena, i.e., the form of its own perception, surrounds it as a ring, or as a wall, and it sees nothing save this wall. But if the psyche succeeds in escaping out of this limiting circle, it will invariably see much that is new in the world. If we will separate self-elements in our perception, writes Hinton [ _A New Era of Thought_ , pp. 36, 371, then it will be found that the deadness which we ascribe to the external world is not really there, but is put in by us because of our own limitations. It is really the self-elements in our knowledge which make us talk of mechanical necessity, dead matter. When our limitations fall, we behold the spirit of the world as we behold the spirit of a friend – something which is discerned in and through the material presentation of a body to us. Our thought means are sufficient at present to show us human souls; but all except human beings is, as far as science is concerned, inanimate. Our self-element must be got rid of from our perception, and this will be changed. But is the unknowableness of the noumenal world as absolute for us as it sometimes seems? In _The Critique of Pure Reason_ and in other writings, Kant denied the possibility of "spiritual sight." But in _Dreams of a Ghost-seer_ he not only admitted this possibility, but gave to it one of the best definitions which we have ever had up to now. He clearly affirms: I confess that I am very much inclined to assert the existence of immaterial natures in the world, and to put my soul itself into that class of beings. These immaterial beings... are immediately united with each other, they might form, perhaps, a great whole which might be called the immaterial world. Every man is a being of two worlds: of the incorporeal world and of the material world... and it will be proved I don't know where or when, that the human soul also in this life forms an indissoluble communion with all immaterial natures of the spirit-world, that, alternately, it acts upon and receives impressions from that world of which nevertheless it is not conscious while it is still man and as long as everything is in proper condition... We should, therefore, have to regard the human soul as being conjoined in its present life with two worlds at the same time, of which it clearly perceives only the material world, in so far as it is conjoined with a body, and thus forms a personal unit.... It is therefore, indeed, one subject, which is thus at the same time a member of the visible and of the invisible world, but not one and the same person; for on account of their different quality, the conceptions of the one world are not ideas associated with those of the other world; thus, what I think as a spirit, is not remembered by me as a man, and, conversely, my state as a man does not at all enter into the conception of myself as a spirit. Birth, life, death are the states of soul only... Consequently, our body only is perishable, the essence of us is not perishable, and must have been existent during that time when our body had no existence. The life of the man is dual. It consists of two lives – one animal and one spiritual. The first life is the life of man, and man needs a body to live this life. The second life is the life of spirit; his soul lives in that life separately from the body, and must live on in it after the separation from the body. In an essay on Kant in _The Northern Messenger_ (1888, Russia), A. L. Volinsky says that both in _Vorlesungen_ , and also in _Dreams of a Ghost-seer_ , Kant denied the possibility of one thing only – the possibility of the physical receptivity of spiritual phenomena. Thus Kant admitted not only the possibility of the existence of a spiritual conscious world, but also the possibility of communion with it. Hegel built all his philosophy upon the possibility of a direct knowledge of truth, upon spiritual vision. Approaching the question of two worlds from the psychological standpoint, from the standpoint of the theory of knowledge, let us firmly establish the principle that before we can hope to comprehend anything in the region of noumena, we must define everything that it is possible to define of the world of many dimensions by a purely intellectual method, by a process of reasoning. It is highly probable that by this method we cannot define very much. Perhaps our definitions will be too crude, will not quite correspond to the fine differentiation of relations in the noumenal world: all this is possible and must be taken into consideration. Nevertheless we shall define what we can, and at the outset make as clear as possible what the noumenal world cannot be; then what it can be – show what relations are impossible in it, and what are possible. This is necessary in order that we, coming in contact with the real world, may discriminate between it and the phenomenal world, and what is more important, that we may not mistake simple reflections of the phenomenal world for the noumenal. We do not know the world of causes; we are confined in the jail of the phenomenal world simply because we do not know how to discern where one ends and where the other begins. We are in constant touch with the world of causes; we live in it, because our psyche and our incomprehensible function in the world are part of it or a reflection of it. But we do not see or know it because we either deny it – consider that everything existing is phenomenal, and that nothing exists except the phenomenal – or we recognize it, but try to comprehend it in the forms of the three-dimensional phenomenal world; or lastly, we search for it and find it not, because we lose our way amid the deceits and illusions of the reflected phenomenal world which we mistakenly accept for the noumenal world. In this dwells the tragedy of our spiritual quests: we do not know what we are searching for. And the only method by which we can escape this tragedy consists in a preliminary intellectual definition of the properties of that of which we are in search. Without such definitions, going merely by indefinite feelings, we shall not approach the world of causes or else we shall get lost on its borderland. Spinoza understood this, saying that he could not speak of God, not knowing his attributes. When I studied Euclid, I learned first of all that the sum of three angles of a triangle was equal to two right angles, and this property of a triangle was entirely comprehensible to me, although I did not know its many other properties. But so far as spirits and ghosts are concerned, I do not know even one of their attributes, but constantly hear different fantastic tales about them in which it is impossible to discover any truth. We have established certain criteria which permit us to deal with the world of noumena or the "world of spirits." These we shall make use of now. First of all we may say that the _world of noumena_ cannot be three-dimensional and that there cannot be anything three-dimensional in it, i.e., commensurable with physical objects, similar to them in outside appearance, _having form_ – there cannot be anything having extension in space and changing in time. And most important, there cannot be anything dead or inanimate. In the world of causes everything must be alive, because it is life itself: the soul of the world. Let us remember also that _the world of causes_ is the world of the marvelous, that what appears simple to us can never be real. The real appears to us as the marvelous. We do not believe in it, we do not recognize it; and therefore we do not feel the mysteries of which life is so full. The simple is only that which is unreal. The real must seem marvelous. _The mystery of time_ penetrates all. It is felt in every stone, which perhaps might have witnessed the glacial period, seen the ichthyosaurus and the mammoth. It is felt in the approaching day, which we do not see, but which possibly sees us, which per-chance is our last day; or on the other hand is the day of some transformation the nature of which we do not ourselves now know. _The mystery of thought_ creates all. As soon as we shall understand that thought is not a "function of motion," but that motion itself is only a function of thought – and shall begin to feel the depth of THIS MYSTERY – We shall perceive that the entire phenomenal world is some gigantic hallucination, which fails to frighten us, and does not drive us to think that we are mad simply because we have become accustomed to it. _The mystery of infinity_ – the greatest of all mysteries – it tells us that all the visible universe and its galaxies of stars _have no dimension_ : that in relation to infinity _they are equal to a point_ , a mathematical point which has no extension whatever, and that points which are not measurable for us may have a different extension and different dimensions. In "positive" thinking we make the effort TO FORGET ABOUT ALL THIS: NOT TO THINK ABOUT IT. At some future time positivism will be defined as a system by the aid of which it was possible not to think of real things and to limit oneself to the region of the unreal and illusory. # **Chapter 17** A living and rational universe. Different forms and lines of rationality. Animated nature. The souls of stones and the souls of trees. The soul of a forest. The human "I" as a collective rationality. Man as a complex being. "Humanity" as a being. The world's soul. The face of Mahadeva. Prof. James on the consciousness of the universe. Fechner's ideas. _Zendavesta_. A living Earth. IF RATIONALITY EXISTS in the world, then it must permeate everything, although manifesting itself variously. We have accustomed ourselves to ascribe animism and rationality in this or that form to those things only which we designate as "beings," i.e., to those whom we find analogous to ourselves in the functions which define ANIMISM in our eyes. Inanimate objects and mechanical phenomena are to us lifeless and irrational. _But this cannot be so_. It is only for our limited mind, for our limited power of communion with other minds, for our limited skill in analogy that rationality and psychic life in general manifest only in certain classes of living creatures, alongside of which a long series of dead things and mechanical phenomena exist. But if we could not converse among ourselves, if every one of us could not infer the existence of rationality and of psychic life in another by analogy with himself, then everyone would consider himself alone to be alive and animated, and he would relegate all the rest of humankind to mechanical, "dead" nature. In other words, we recognize as animated only those beings which have psychic life accessible to our observation in three-dimensional sections of the world, i.e., beings whose psyche is analogous to ours. About other consciousness we do not know and cannot know. All "beings" whose psychic does not manifest itself in the three-dimensional section of the world are inaccessible to us. If they contact our life at all, then _we_ _necessarily regard_ their manifestations as those of dead and unconscious nature. Our power of analogy is limited to _this section_. We cannot think logically outside of the conditions of the three-dimensional section. Therefore everything that lives, thinks and feels in a manner not analogous to us must appear dead and mechanical. But sometimes we vaguely feel an intense _life_ manifesting in the phenomena of nature, and sense a vivid emotionality the manifestations of which constitute the phenomena of (to us) inanimate nature. What I wish to convey is that behind the _phenomena_ of visible manifestations is felt the noumenon of emotion. In _electrical discharges_ , in thunder and lightning, in the rush and howling of the wind, are seen flashes of the sensuous-nervous shuddering of some gigantic organism. A strange individuality which is all their own is sensed in certain days. There are days brimming with the marvelous and the mystic, days having each its own individual and unique consciousness, its own emotions, its own thoughts. One may almost commune with these days. And they will tell you that they live a long, long time, perhaps eternally, and that they have known and seen many, many things. In the processional of the year; in the iridescent leaves of autumn, with their memory-laden smell; in the first snow, frosting the fields and communicating a strange freshness and sensitiveness to the air; in the spring freshets, in the warming sun, in the awakening but still naked branches through which gleams the turquoise sky; in the white nights of the north, and in the dark, humid, warm tropical nights spangled with stars – in all these are the thoughts, the emotions, the forms, peculiar to itself alone, of some great consciousness; or better, all this is _the expression_ of the emotions, thoughts and forms of consciousness of a mysterious being – Nature. There can be nothing dead or mechanical in nature. If in general life and feeling exist, they must exist in all. Life and rationality make up the world. If we consider nature _from our side_ , from the side of phenomena, then it is necessary to say that each thing, each phenomenon, possesses a psyche of its own. A MOUNTAIN, A TREE, A RIVER, THE FISH WITHIN THE RIVER, DEW AND RAIN, PLANET, FIRE – each separately must possess a psyche of its own. If we consider nature _from the other side_ , from the side of noumena, then it is necessary to say that each thing and each phenomenon of our world is a manifestation in our section of a rationality incomprehensible to us, belonging to another section, the same having _there_ functions incomprehensible to us. In that section of space, one rationality is such and its function is such that it manifests itself _here_ as _a mountain_ , some other manifests as _a tree_ , a third as _a little fish_ , and so forth. The phenomena of our world are very different from one another. If they are nothing else but manifestations in our section of different rational beings, then these beings must be _very different_ too. Between _the psyche of a mountain_ and _the psyche of a man_ there must be _the same difference_ as between a mountain and a man. We have already admitted the possibility of different existences. We said that a house exists, and that a man exists, and that an idea exists also but they all exist differently. If we pursue this thought, then we shall discover many kinds of _different existences_. The fantasy of fairy tales, making the entire world animate, ascribes to mountains, rivers, forests a psychic life similar to that of men. But this is just as untrue as the complete denial of consciousness to inanimate nature. Noumena are as distinct and various as phenomena, which are their manifestation in our three-dimensional sphere. Each stone, each grain of sand, each planet has its noumenon, consisting of life and of psyche, binding them into certain wholes incomprehensible to us. The _activity of life_ of separate units may vary greatly. The degree of the activity of life can be determined from the standpoint of its power of reproducing itself. In inorganic, mineral nature, this activity is so insignificant that units of this nature _accessible to our observation_ do not reproduce themselves, although it may only seem so to us because of the narrowness of our view in time and space. Perhaps if that view embraced hundreds of thousands of years and our entire planet simultaneously, we might then see _the growth_ of minerals and metals. Were we to observe, _from the inside_ , one cubic centimeter of the human body, knowing nothing of the existence of the entire body and of the man himself, then the phenomena going on in this little cube of flesh would seem like elemental phenomena in inanimate nature. But in any case, _for us_ phenomena are divided into living and mechanical, and visible objects are divided into organic and inorganic. The latter are partitioned without resistance, remaining as they were before. It is possible to break a stone in halves, and then there will be two stones. But if one were to cut a snail in two, then there would not be two snails. This means that the psyche of the stone is very simple, primitive – so simple that it may be fractured without change of state. But a snail consists of living cells. Each living cell is a complex being, considerably more intricate than that of a stone. The body of the snail possesses the power to move, to nourish itself, feel pleasure and pain, seek the first and avoid the last; and most important of all, it possesses the faculty to multiply, to create new forms similar to itself, to involve inorganic substance within these forms, subduing physical laws to its service. The snail is a _complex centre_ of transmutation of some physical energies into others. This centre possesses a consciousness of its own. It is for this reason that the snail is indivisible. Its psyche is infinitely higher than that of the stone. The snail has the _consciousness of form_ , i.e., the form of a snail is conscious of itself, as it were. The form of a stone is not conscious of itself. In organic nature where we see life, it is easier to assume the existence of a psyche. In the snail, a living creature, we already admit without difficulty a certain kind of psyche. But life belongs not alone to separate, individual organisms – anything indivisible is a living being. Each cell in an organism is a living being and it must have a certain psychic life. Each combination of cells having a definite function is a living being also. Another higher combination – the organ – is a living being no less, and possesses a psychic life of its own. Indivisibility in our sphere is the sign of a definite function. If a given phenomenon in our plane is _a manifestation_ of that which exists on another plane, then on our side evidently, indivisibility corresponds to _individuality_ on that other side. Divisibility on our side shows divisibility on that side. The rationality of the divisible can express itself in a collective, nonindividual reason only. But even a complete organism is _merely a section_ of a certain magnitude, of what we may call the life of this organism from birth to death. We may imagine this _life_ as a body of four dimensions extended in time. The three-dimensional physical body is merely a section of the four-dimensional body, _Linga-Shar īra_. The image of the man which we know, his "personality," is also merely a section of his true personality, which undoubtedly has its separate psychic life. Therefore we may assume in man three psychic lives: first, the _psychic life of the body_ , which manifests itself in instincts, and in the constant work of the body; second, his personality, a complex and constantly changing I, which we know, and in which we are conscious of ourselves; third, the consciousness of _all life_ – a greater and higher I. In our state of development these _three_ psychic lives know one another only very imperfectly, communicating under narcosis only, in trance, in ecstasy, in sleep, in hypnotic and mediumistic states, i.e., in other states of consciousness. In addition to our own psychic lives, with which we are indissolubly bound, but which we do not know, we are surrounded by various _other psychic lives_ which we do not know either. These lives we often _feel_ , they are composed of our lives. We enter into these lives as their component parts, just as into our life enter different other lives. These lives are good or evil spirits, helping us or precipitating evil. _Family_ , clan, nation, race – any aggregate to which we belong (such an aggregate undoubtedly possesses a life of its own), any group of men having its separate function and feeling its inner connection and unity, such as a philosophical school, a "church," a sect, a Masonic order, a society, a party, etc., etc., is undoubtedly a living being possessing a certain rationality. A nation, a people, is a living being; humanity is a living being also. This is the _Grand Man_ , ADAM KADMON of the Cabalists. ADAM KADMON is a being living in men, uniting in himself the lives of all men. Upon this subject, H. P. Blavatsky, in her great work, _The Secret Doctrine_ (Vol. III, p. 146), has this to say: ... "It is not the _Adam of Dust_ (of Chapter II) who is thus made in the divine image, but the Divine Androgyne (of Chapter I), or Adam Kadmon." ADAM KADMON is HUMANITY, or humankind – _Homo Sapiens_ the SPHYNX, i.e., "the being with the body of an animal and the face of a superman." Entering as a component part into different great and little lives man himself consists of an innumerable number of great and little I's. Many of the I's living in him do not even know one another, just as men who live in the same house may not know one another. Expressed in terms of this analogy, it may be said that "man" has much in common with a house filled with inhabitants the most diverse. Or better, he is like a great ocean liner on which are many transient passengers, each going to his own place for his own purpose, each uniting in himself elements the most diverse. And each separate unit in the population of this steamer orientates himself, involuntarily and unconsciously regards himself as the very centre of the steamer. This is a fairly true presentment of a human being. Perhaps it would be more correct to compare a man with some little separate place on earth, living a life of its own; with a forest lake, full of the most diverse life, reflecting the sun and stars, and hiding in its depths some incomprehensible phantasm, perhaps an undine, or a water-sprite. If we abandon analogies and return to facts, so far as these are accessible to our observation, it then becomes necessary to begin with several somewhat artificial divisions of the human being. The old division into body, soul and spirit, has in itself a certain authenticity, but leads often to confusion, because when such a division is attempted disagreements immediately arise as to where the body ends and where the soul begins, where the soul ends and the spirit begins, and so forth. There are no strict limits at all, nor can there be. In addition to this, confusion enters in by reason of the _opposition_ of body, soul and spirit, which are recognized in this case as _inimical_ principles. This is entirely erroneous also, because the body is the expression of the soul, and the soul of the spirit. The very terms, body, soul and spirit need explanation. The "body" is the physical body with its (to us) little understood mind; the soul – the _psyche_ studied by scientific psychology – is the reflected activity which is guided by impressions received from the external world and from the body. The "spirit" comprises those higher principles which guide, or under certain conditions may guide, the soul-life. Thus a human being consists of the following three categories. First: _the body_ – the region of instincts, and the inner "instinctive" consciousnesses of the different organs, parts of the body, and the entire organism. Second: _the soul_ – consisting of sensations, perceptions, conceptions, thoughts, emotions and desires. Third: _the region of the unknown_ – consciousness, will, and the one I, i.e., those things which in ordinary man are in potentiality only. Under the usual conditions of the average man the extremely misty focus of his consciousness is confined to the _psyche_ perpetually going from one object to another. _I wish to eat._ _I read a newspaper._ _I wait for a letter_. Only rarely does it touch the regions which give access to the religious, esthetic and moral emotions, and to the higher intellect, which expresses itself in abstract thinking, united with the moral and esthetic sense, i.e., the sense of the necessity of the _coordination_ of thought, feeling, word and action. "In saying "I," a man means, of course, not the total complex of all these regions, but that which in a given moment is in the focus of his consciousness. " _I wish_ " (or more correctly, simply "wish," because man very seldom says I wish): these words (or this word), playing the most important role in the life of man, usually refer not at all to every side of his being simultaneously, but merely to some small and insignificant facet, which at a given moment holds the focus of consciousness and subjects to itself all the rest, until it in turn is forced out by another equally insignificant facet. In the psyche of man there occurs a continual shifting of view from one subject to another. Through the focus of receptivity runs a continuous cinematographical film of feelings and impressions, and each separate impression defines the I of a given moment. From this point of view the psyche of man has often been compared to a dark, sleeping town in the midst of which nightguards with lanterns slowly move about, each lighting up a little circle around himself. This is a perfectly true analogy. In each given moment there are several such unsteadily lighted circles in the focus, and all the rest is enveloped in darkness. Each such little lighted circle represents an I, living its own life, sometimes very short. And there is continuous movement, either fast or slow, moving out into the light more of new and still new objects, or else old ones from the region of memory, or revolving in a circle of the same fixed ideas. This continuous motion going on in our psyche, this uninterrupted running over of the light from one I to another, perhaps explains the phenomenon of motion in the outer visible world. We know already by our _intellect_ , that there is no such motion. We know that _everything exists_ in infinite spaces of time, nothing is made, nothing becomes, _all is_. But we do not see everything at once, and therefore _it seems to us_ that everything moves, grows, is becoming. We do not see everything at once, either in the outer world, or in the inner world; thence arises the illusion of motion. For example, as we ride past a house the house turns behind us; but if we could see it, not with our eyes, not in perspective, but by some sort of vision, simultaneously from all sides, from below and from above and from the inside, we should no longer see that illusory motion, but would see the house entirely immobile, just as it is in reality. Mentally, we know that the house did not move. It is just the same with everything else. The motion, growth, "becoming," which is going on all around us in the world is no more real than the motion of a house which we are riding by, or the motion of trees and fields relative to the windows of a rapidly moving railway car. Motion goes on inside of us, and it creates the illusion of motion round about us. The lighted circle runs quickly from one I to another – from one object, from one idea, from one perception or image to another: within the focus of consciousness rapidly changing I's succeed one another, a little of the light of consciousness going over from one I to another. This is the true motion which alone exists in the world. Should this motion stop, should all I's simultaneously enter the focus of receptivity, should the light so expand as to illumine all at once that which is usually lighted bit by bit and gradually, and could a man grasp simultaneously by his reason all that ever entered or will enter his receptivity and all that which is never clearly illumined by thought (producing its action on the psyche nevertheless) – then would a man behold himself in the midst of an _immobile universe_ , in which there would exist simultaneously everything that lies usually in the remote depths of memory, in the past; all that lies at a remote distance from him; all that lies in the future. C. H. Hinton very well says, in regard to beings of other sections of the world: By the same process by which we know about the existence of other men around us, we may know of the high intelligences by whom we are surrounded. We feel them but we do not realize them. To realize them it will be necessary to develop our power of perception. The power of seeing with our bodily eye is limited to the three-dimensional section. But the inner eye is not thus limited; we can organize our power of seeing in higher space, and we can form conceptions of realities in this higher space. And this affords the groundwork for the perception and study of these other beings than man. We are, with reference to the higher things of life, like blind and puzzled children. We know that we are members of one body, limbs of one vine; but we cannot discern, except by instinct and feeling, what that body is, what the vine is. Our problem consists in the diminution of the limitations of our perception. Nature consists of many entities toward the apprehension of which we strive. For this purpose new conceptions have to be formed first, and vast fields of observation shall be unified under one common law. The real history of progress lies in the growth of new conceptions. When the new conception is formed it is found to be quite simple and natural. We ask ourselves what we have gained; and we answer, nothing; we have simply removed an obvious limitation. The question may be put: In what way do we come into contact with these higher beings at present? And evidently the answer is: In those ways in which we tend to form organic unions – unions in which the activities of individuals coalesce in a living way. The coherence of a military empire or of a subjugated population, presenting no natural nucleus of growth, is not one through which we should hope to grow into direct contact with our higher destinies. But in friend-ship, in voluntary associations and above all in the family, we tend towards our greater life. Just as, to explore the distant stars of the heavens, a particular material arrangement is necessary which we call a telescope, so to explore the nature of the beings who are higher than we, a mental arrangement is necessary. We must prepare a more extended power of looking. We want a structure developed inside the skull for the one purpose which an exterior telescope will do for the other. This animism of nature takes the most diverse directions. This tree is a living being. The birch tree in general – the species is a living being. A birch tree forest is a living being also. A forest in which there are trees of different kinds, grass, flowers, ants, beetles, birds, beasts – this is a living being too, living by the life of everything composing it, thinking and feeling for all of which it consists. This idea is very interestingly expressed in the essay of P. Florensky, _The Humanitarian Roots of Idealism_. ( _The Theological Messenger_ , 1909, II, p. 288. In Russian.) Are there many people who regard a forest not merely as a collective proper noun and rhetorical embodiment, i.e., as a pure fiction, but as something unique, living?... The real unity is a unity of self-consciousness.... Are there many who recognize unity in a forest, i.e., the living soul of a forest taken as a whole – voodoo, wood-demon, Old Nick? Do you consent to recognize undines and water sprites – those souls of the aquatic element? The activity of the life of such a composite being as a forest is not the same as the activity of different species of plants and animals, and the activity of the life of a species is again different from the life of separate individuals. Moreover, the diversity of the functions expressed in different life-activities reveals the differences existing between the psychic lives of different "organisms." The life-activity of a single leaf of a birch tree is of course an infinitely lower form of activity than the life of _the tree_. The activity of the life of the tree is not such as the activity of the life of the species, and the life of _the species_ is not such as the life of the forest. The functions of these four "lives" are entirely different, and their rationality must be correspondingly different also. The rationality of a single cell of the human body must be as much lower in comparison with the rationality of the body – i.e., with the "physical consciousness of man" – as its lifeactivity is lower in comparison with the life-activity of the entire organism. Therefore, from a certain standpoint, we may regard the noumenon of a phenomenon as the soul of that phenomenon, i.e., we may say that the hidden _soul of a phenomenon_ is its noumenon. The concept of _the soul of a phenomenon_ or the _noumenon of a phenomenon_ includes within itself both life and rationality together with their functions in sections of the world incomprehensible to us; and the manifestation of those in our sphere constitutes a phenomenon. The idea of an animistic universe leads inevitably to the idea of a "World-Soul" – a "Being" whose manifestation is this visible universe. The idea of the "World-Soul" was very picturesquely understood in the ancient religions of India. The mystical poem, The _Bhagavad Gitã_ gives a remarkable presentment of _Mahadeva_ , i.e., the great _Deva_ whose life is this world: Thus Krishna propounded his teaching to his disciples.... preparing them for an apprehension of those high spiritual truths which unfold before his inner sight in a moment of illumination. When he spoke of Mahadeva his voice became very deep, and his face was illuminated by an inner light. Once Arjuna, in an impulse of boldness, said to him: Let us see Mahadeva in his divine form. May we behold him? And then Krishna... began to speak of a being who breathes in every creature, has an hundred-fold and a thousand-fold forms, many-faced, many-eyed, facing everywhere, and who surpasses everything created by infinity, who envelops in his body the whole world, things still and animate. If the radiance of a thousand suns should burst forth suddenly in the sky, it would not compare with the radiance of that Mighty Spirit. When Krishna spoke thus of Mahadeva, a beam of light of such tremendous force shone in his eyes, that his disciples could not endure the radiance of that light, and fell at Krishna's feet. From very fear the hair rose on Arjuna's head, and bowing low he said: Thy words are terrible, we cannot look upon such a being as Thou evokest before our eyes. His form makes us tremble. In an interesting book of lectures by Prof. William James, _A Pluralistic Universe_ , there is a lecture on Fechner, devoted to "a conscious universe": Ordinary monistic idealism leaves everything intermediary out. It recognizes only extremes, as if, after the first rude face of the phenomenal world in all its particularity, nothing but the supreme in all its perfection could be found. First, you and I, just as we are in this room; and the moment we get below that surface, the unutterable itself! Doesn't this show a singularly indigent imagination? Isn't this brave universe made on a richer pattern, with room in it for a long hierarchy of beings? Materialistic science makes it infinitely richer in terms, with its molecules, and ether, and electrons and what not. Absolute idealism, thinking of reality only under intellectual forms, knows not what to do with bodies of any grade, and can make no use of any psycho-physical analogy or correspondence. Fechner, from whose writings Prof. James makes copious quotations, upheld quite a different view-point. Fechner's ideas are so near to those which have been presented in the previous chapters that we shall dwell upon them more extensively. I use the words of Prof. James: The original sin, according to Fechner, of both our popular and scientific thinking, is our inveterate habit of regarding the spiritual not as the rule but as an exception in the midst of nature. Instead of believing our life to be fed at the breasts of the greater life, our individuality to be sustained by the greater individuality, which must necessarily have more consciousness and more independence than all that it brings forth, we habitually treat whatever lies outside of our life as so much slag and ashes of life only. Or if we believe in Divine Spirit, we fancy it on the one side as bodiless, and nature as soulless on the other. What comfort, or peace, Fechner asks, can come from such a doctrine? The flowers wither at its breath, the stars turn into stone; our own body grows unworthy of our spirit and sinks to a tenement for carnal senses only. The book of nature turns into a volume on mechanics, in which whatever has life is treated as a sort of anomaly; a great chasm of separation yawns between us and all that is higher than ourselves; and God becomes a thinnest of abstractions. Fechner's great instrument for verifying the daylight view is analogy,... Bain defines genius as the power of seeing analogies. The number that Fechner could perceive was prodigious; but he insisted on the differences as well. Neglect to make allowance for these, he said, is the common fallacy in analogical reasoning. Most of us, for example, reasoning justly that, since all the minds we know are connected with bodies, therefore God's mind should be connected with a body, proceed to suppose that that body must be just an animal body over again, and paint an altogether human picture of God. But all that the analogy comports is a body – the particular features of our body are adaptations to a habitat so different from God's that if God have a physical body at all, it must be utterly different from ours in structure. The vaster orders of mind go with the vaster orders of body. The entire earth on which we live must have, according to Fechner, its own collective consciousness. So must each sun, moon, planet; so must the whole solar system have its own wider consciousness, on which the consciousness of our earth plays one part. So has the entire starry system as such its consciousness; and if that starry system be not the sum of all that IS, materially considered, then that whole system, along with whatever else may be, is the body of that absolutely totalized consciousness of the universe to which men give the name of God. Speculatively Fechner is thus a monist in his theology; but there is room in his universe for every grade of spiritual being between man and the final all-inclusive God. The earth-soul he passionately believes in; he treats the earth as our special human guardian angel; we can pray to the earth as men pray to their saints. His most important conclusion is, that the constitution of the world is identical throughout. In ourselves, visual consciousness goes with our eyes, tactile consciousness with our skin. But although neither skin nor eye knows aught of the sensations of the other, they come together and figure in some sort of relation and combination in the more inclusive consciousness which each of us names his self. Quite similarly, then, says Fechner, we must suppose that my consciousness of myself and yours of yourself, although in their immediacy they keep separate and know nothing of each other, are yet known and used together in a higher consciousness, that of the human race, say, into which they enter as constituent parts. Similarly, the whole human and animal kingdoms come together as conditions of a consciousness of still wider scope. This combines in the soul of the earth with the consciousness of the vegetable kingdom, which in turn contributes its share of experience to that of the whole solar system, etc. The supposition of an earth-consciousness meets a strong instinctive prejudice. All the consciousness we directly know seems told to brains. But our brain, which primarily serves to correlate our muscular reactions with the external objects on which we depend, performs a function which the earth performs in an entirely different way. She has no proper muscles or limbs of her own, and the only objects external to her are the other stars. To these her whole mass reacts by most exquisite alterations in its total gait, and by still more exquisite vibratory responses in its substance. Her ocean reflects the lights of heaven as on a mighty mirror, her atmosphere refracts them like a monstrous lens, the clouds and snow-fields combine them into white, the woods and flowers disperse them into colors. Polarization, interference, absorption awaken sensibilities in matter of which our senses are too coarse to take any note. For these cosmic relations of hers, then, she no more needs a special brain than she needs eyes or ears. Our brains do indeed unify and correlate innumerable functions. Our eyes know nothing of sound, our ears nothing of light, but having brains, we can feel sound and light together, and compare them..... Must every higher means of unification between things be a literal brain-fibre? Cannot the earth-mind know otherwise the contents of our minds together? In a striking page Fechner relates one of his moments of direct vision of truth. "On a certain morning I went out to walk. The fields were green, the birds sang, the dew glistened, the smoke was rising, here and there a man appeared, a light as of transfiguration lay on all things. It was only a little bit of earth; it was only one moment of her existence; and yet as my look embraced her more and more it seemed to me not only so beautiful an idea, but so true and clear a fact, that she is an angel – an angel carrying me along with her into Heaven.... I asked myself how the opinions of men could ever have so spun themselves away from life so far as to deem the earth only a dry clod... But such an experience as this passes for fantasy. The earth is a globular body, and what more she may be, one can find in mineralogical cabinets." The special thought of Fechner's is his belief that the more inclusive forms of consciousness are in part constituted by the more limited forms. Not that they are the mere sum of the more limited forms. As our mind is not the bare sum of our sights plus our sounds, plus our pains, but in adding these terms together it also finds relations among them and weaves them into schemes and forms and objects of which no one sense in its separate estate knows anything, so the earth-soul traces relations between the contents of my mind and the contents of yours of which neither of our separate minds is conscious. It has schemes, forms, and objects proportionate to its wider field, which our mental fields are far too narrow to cognize. By ourselves we are simply out of relation with each other, for we are both of us there, and different from each other, which is a positive relation. What we are without knowing, it knows that we are. It is as if the total universe of inner life had a sort of grain or direction, a sort of valvular structure, permitting knowledge to flow in one way only, so that the wider might always have the narrower under observation, but never the narrower the wider. Fechner likens our individual persons on the earth unto so many sense organs of the earth-soul. We add to its perceptive life.... It absorbs our perceptions into its larger sphere of knowledge, and combines them with the other data there. The memories and conceptual relations that have spun themselves round the perceptions of a certain person remain in the larger earth-life as distinct as ever, and form new relations...." Fechner's ideas are expounded in his book, _Zendavesta_. I have made such a lengthy quotation from Prof. James' book in order to show that the ideas of the animism and of the rationality of the world are neither new nor paradoxical. It is a natural and logical necessity, resulting from a broader view of the world than that which we usually permit ourselves to hold. Logically we must either recognize life and rationality in everything, in all "dead nature," or deny them completely, even in ourselves. # **Chapter 18** Rationality and life. Life as knowledge. Intellect and emotions. Emotion as an organ of knowledge. The evolution of emotion from the standpoint of knowledge. Pure and impure emotions. Personal and impersonal emotions. Personal and super-personal emotions. The elimination of self-elements as a means of approach to true knowledge. "Be as little children...." "Blessed are the pure in heart...." The value of morals from the standpoint of knowledge. The defects of intellectualism. Dreadnaughts as the crown of intellectual culture. The dangers of morality. Moral esthetics. Religion and art as organized forms of emotional knowledge. The knowledge of God and the knowledge of Beauty. THE MEANING OF LIFE – this is the eternal theme of human meditation. All philosophical systems, all religious teachings strive to find and give to men the answer to this question. Some say that the meaning of life is in service, in the surrender of self, in self-sacrifice, in the sacrifice of everything, even life itself. Others declare that the meaning of life is in the delight of it, relieved against "the expectation of the final horror of death." Some say that the meaning of life is perfection, and the creation of a better future beyond the grave, or in future lives for ourselves. Others say that the meaning of life is in the approach to non-existence: still others, that the meaning of life is in the perfection of the race, in the organization of life on earth; while there are those who deny the possibility of even attempting to know its meaning. The fault of all these explanations consists in the fact that they all attempt to discover the meaning of life _outside of itself_ , either in the future of humanity, or in some problematical existence beyond the grave, or again in the evolution of the _Ego_ throughout many successive incarnations – always in something _outside_ of the present life of man. But if instead of thus speculating about it, men would simply look within themselves, then they would see that in reality the _meaning of life_ is not after all so obscure. IT CONSISTS IN KNOWLEDGE. All life, through all its facts, events and incidents, excitements and attractions, inevitably leads us TO THE KNOWLEDGE OF SOMETHING. All life-experience is KNOWLEDGE. The most powerful emotion in man is his yearning toward the unknown. EVEN IN LOVE, the most powerful of all attractions, to which everything is sacrificed, is this yearning toward the unknown, toward the NEW – _curiosity_. The Persian poet-philosopher, Al-Ghazzali, says: " _The highest function of man's soul is the perception of truth_." In the very beginning of this book PSYCHIC LIFE and THE WORLD were recognized as existing. The world is everything that exists. The function of psychic life may be defined as _the realization of existence_. Man realizes his existence and the existence of the world, a part of which he is. His relation to himself and to the world is called knowledge. The expansion and deepening of his relation to himself and to the world is the expansion of knowledge. All the soul-properties of man, all the elements of his psyche – sensations, perceptions, conceptions, ideas, judgments, reasonings, feelings, emotions, even creation – all these are the INSTRUMENTS OF KNOWLEDGE which the I possesses. Feelings – from the simple emotions up to the most complex, such as esthetic, religious and moral emotion – and creation, from the creation of a savage making a stone hatchet for himself up to the creation of a Beethoven, indeed are means of _knowledge_. Only to our narrow HUMAN view do they appear to serve other purposes – the preservation of life, the construction of something, or merely pleasure. In reality all this _conduces_ to knowledge.. Evolutionists, followers of Darwin, say that the struggle for existence and the selection of the fittest created the mind and feeling of contemporary man – that mind and feeling SERVE LIFE, preserve the life of separate individuals and of the species – and that _beyond this_ they have no meaning in themselves. But it is possible to answer this with the same arguments before advanced against the _mechanicality_ of the universe; namely, that if rationality exists, then nothing exists except rationality. The struggle for existence and the survival of the fittest, if they truly play such a role in the creation of life, are also not merely accidents, but products of a mind, CONCERNING WHICH WE DO NOT KNOW; and they also conduce, like everything else, TO A KNOWLEDGE. But we do not realize, do not discern the presence of rationality in the phenomena and laws of nature. This happens because we study always not the whole but the part, and we do not divine that whole which we wish to study – by studying the little finger of a man we cannot discover his reason. It is the same way in our relation to nature: we study always the little finger of nature. When we come to realize this and shall understand that EVERY LIFE IS THE MANIFESTATION OF A PART OF SOME WHOLE, then only the possibility of knowledge of that whole opens to us. In order to comprehend the rationality of a given whole, it is necessary to understand the character of the whole and its functions. Thus the function of man is knowledge; but without understanding "man" as a whole, it is impossible to understand his function. To understand our psyche, the function of which is knowledge, it is necessary to clear up our relation to life. In Chapter 10 an attempt was made – a very artificial one, founded upon the analogy with a world of two-dimensional beings – to define _life_ as motion in a sphere higher in dimensionality in comparison with ours. From this standpoint every separate life is as it were the manifestation in our sphere of a part of one of the rational entities of another sphere. These rationalities look in upon us, as it were, in these lives which we see. When a man dies, _one eye of the Universe closes_ , says Fechner. Every separate human life is a moment of the life of some _great being_ , which lives in us. The life of every separate tree is a moment of the life of a being, "species" or "family." The rationalities of these higher beings do not exist independently of these lower lives. They are two sides of one and the same thing. Every _single_ human psyche, in some other section of the world, may produce the illusion of _many_ lives. This is difficult to illustrate by an example. But if we take Hinton's spiral, passing through a plane, and the point running in circles on the plane and conceive of the spiral as the psyche, then the moving point of intersection of the spiral with the plane will be _life_. This example illustrates a possible relation between the psyche and life. To us, life and the psyche are different and separate from each other, because we are inept at seeing, inept at looking at things. And this in turn depends upon the fact that it is very difficult for us to step outside the frames of our _divisions_. We see the life of a tree, _of this tree_ ; and if we are told that the life of a tree is a manifestation of some psychic life, then we understand it in such a way that the life _of this tree_ is the manifestation of the psychic life of _this tree_. But this is of course an absurdity resulting from "three-dimensional thinking" – the "Euclidian" mind. The life of this tree is a manifestation of the _psychic life of the species_ , or family, or perhaps of the psychic life of _the entire vegetable kingdom_. In exactly the same way, our separate _lives_ are manifestations of some great rational entity. We find the proof of this in the fact that our lives have no other meaning at all aside from that _process of acquiring knowledge_ performed by us. A thoughtful man ceases to feel painfully the absence of meaning in life only when he realizes this, and begins to strive consciously for that for which he strove unconsciously before. This process of acquiring knowledge, representing _our function in the world_ , is performed not by the intellect only, but by our entire organism, by all the body, by all the life, and by all the life of human society, its organizations, its institutions, by all culture and all civilization; by that which we know of humanity and, still more, by that which we do not know. And we acquire the knowledge of that which we deserve to know. If we declare in regard to the intellectual side of man that its purpose is knowledge this will evoke no doubts. All agree that the human intellect together with everything subjected to its functions is for the purpose of knowledge – although often the faculty of knowledge is considered as serving only utilitarian ends. But concerning the emotions: joy, sorrow, rage, fear, love, hatred, pride, compassion, jealousy; concerning the sense of beauty, esthetic pleasure and artistic creation; concerning the moral sense; concerning all religious emotions: faith, hope, veneration, etc., etc., – concerning all human activity – things are not so clear. We usually do not see that all emotions, and _all_ human activity serve knowledge. How do _fear_ , or _love_ , or _work_ serve knowledge? It seems to us that by _emotions_ we feel; by work – create. _Feeling_ and _creation_ seem to us as something different from _knowledge_. Concerning work, creative power, creation, we are rather inclined to think that they _demand_ knowledge, and if they serve it, do so only indirectly. In the same way it is incomprehensible how _religious emotions_ serve knowledge. Usually _the emotional_ is opposed to _the intellectual_ – "heart" to "mind." Some place "cold reason" or intellect over against feelings, emotions, esthetic pleasure; and from these they separate the moral sense, the religious sense, and "spirituality." The misunderstanding here lies in the interpretation of the words _intellect_ and _emotion_. Between intellect and emotion there is no sharp distinction. Intellect, considered as a whole, is also emotion. But in everyday language, and in " conversational psychology" _reason_ is contrasted with _feeling_ ; _will_ is considered as a separate and independent faculty; moralists consider _moral feeling_ as entirely distinct from all these; religionists consider _spirituality_ separately from _faith_. One often hears such expressions as: reason mastered feeling; will mastered desire; the sense of duty mastered passion; spirituality mastered intellectuality; faith conquered reason. But all these are merely the incorrect expressions of conversational psychology; just as incorrect as are the expressions "sunrise" and "sunset." In reality in the soul of man nothing exists save emotions. And the soul life of man is either a struggle or a harmonious adjustment between different emotions. Spinoza saw this quite clearly when he said that emotion can be mastered only by another more powerful emotion, and by _nothing else_. Reason, will, feeling, duty, faith, spirituality, mastering some other emotion, can conquer only by force of the _emotional element_ contained in them. The ascetic who kills all desires and passions in himself, kills them for the _desire_ for salvation. A man renouncing all the pleasures of the world, renounces them because of the delight of sacrifice, of renunciation. A soldier dying at his post through his _sense of duty_ or habit of obedience, does so because the emotion of _devotion_ , or _faithfulness_ , is more powerful in him than all other things. A man whose moral sense prompts him to overcome passion in himself, does so because the moral sense (i.e., emotion) is more powerful than all his other feelings, other emotions. In substance all this is perfectly clear and simple, but it has become confused and confusing simply because men, calling different degrees of one and the same thing by diverse names, began to see _fundamental differences_ where there were only _differences in degree_. Will is the resultant of desires. We call that man _strong-willed_ in whom the _will_ proceeds on definite lines, without turning aside; and we call that man _weak-willed_ in whom the line of the will takes a zig-zag course, turning aside here or there under the influence of every new desire. But this does not mean that _will_ and _desire_ are something opposite; quite the reverse, they are one and the same, because the will is composed of desires. _Reason_ cannot conquer feeling, because feeling can be conquered only by feeling. Reason can only give thoughts and pictures, evoking feelings _which_ will conquer the feeling of a given moment. Spirituality is not opposed to "intellectuality" or "emotionality." It is only THEIR HIGHER FLIGHT. Reason has no limits: only the human, "Euclidian" mind, the mind devoid of emotions, is limited. But what is "reason?" It is the inner aspect of any given being. In the earth's animal kingdom, in all animals lower than man, we see _passive reason_. But with the appearance of _concepts_ it becomes active, and part of it begins to work as intellect. The animal is conscious through his sensation and emotions. The intellect is present in the animal only in an embryonic state, as an _emotion of curiosity_ , a pleasure of knowing. In man the growth of consciousness consists in the growth of the intellect and the accompanying growth of the higher emotions – esthetic, religious, moral – which according to the measures of their growth become more and more _intellectualized_ , while simultaneously with this the intellect is assimilating emotionality, ceasing to be "cold." Thus "spirituality" is a fusion of the intellect with the higher emotions. The intellect is spiritualized from the emotions; the emotions are _spiritualized_ from the intellect. The functions of the rational faculty are not limited, but not often does the human intellect rise to its highest form. At the same time it is incorrect to say that the highest form of human knowledge will not be intellectual, but of a different character; only this higher reason is entirely unrestricted by _logical concepts_ and by Euclidian modes of thought. We are likely to hear a great deal concerning this from the standpoint of _mathematics_ , which as a matter of fact transcended the reasoning of logic long ago. But it achieved this _by the aid of the intellect_. A new order of receptivity grows in the soil of the intellect and of the higher emotions, but it is not created by them. A tree grows in the earth, but it is not created by the earth. A seed is necessary. This seed may be in the soul, or absent from it. When it is there it can be cultivated or it can be choked; when it is not there it is impossible to replace it with anything else. The soul (if a soul it may be called) lacking that seed, i.e., inept to feel and reflect the world of the wondrous, will never put forth the living sprout, but will always reflect the phenomenal world, and that alone. At the present stage of his development man comprehends many things by means of his intellect, but at the same time, he comprehends many things by means of his emotions. In no case are emotions merely organs of feeling _for feeling's sake_ : they are all organs of knowledge. In every emotion man knows something that he could not know without its aid – something that he could know by no other emotion, by no effort of the intellect. If we consider the emotional nature of man as selfcontained, as serving _life_ and not serving _knowledge_ we shall never understand its true content and significance. Emotions serve knowledge. There are things and relations which can be known only emotionally, and only through a given emotion. To understand the psychology of _play_ , it is necessary to experience the emotions of the player; to understand the psychology of _the hunt_ , it is necessary to experience the emotions of the hunter; the psychology of a man in love is incomprehensible to him who is indifferent; the state of mind of Archimedes when he jumped out of the bath tub is incomprehensible to the staid citizen, who would look on such a performance as a sign of insanity; the feelings of the globe-trotter, delightedly breathing in the sea air and sweeping with his eyes the wide horizon, is incomprehensible to the sedentary stay-at-home. The feeling of a believer is incomprehensible to an unbeliever, and to a believer the feeling of an unbeliever is quite as strange. Men understand one another so imperfectly because they live always by _different_ emotions. And when they feel similar emotions simultaneously, then and then only do they understand one another. The proverbial philosophy of the people knows this very well: "A FULL MAN DOES NOT UNDERSTAND A HUNGRY ONE," it says. "A drunkard is no comrade for a sober man." "One rogue recognizes another." In this mutual understanding or in the illusion of mutual understanding – in this immersion in similar emotions – lies one of the principal charms of love. The French novelist, de Maupassant, has written very delightfully about this in his little story _Solitude_. The same illusion explains the secret power of alcohol over the human soul, for alcohol creates the illusion of _a communion of souls_ , and induces similar fantasies _simultaneously_ , in two or several men. Emotions are the stained-glass windows of the soul; colored glasses through which the soul looks at the world. Each such glass assists in finding in the contemplated object the same or similar colors, but it also prevents the finding of opposite ones. Therefore it has been correctly said that a onesided emotional illumination cannot give a correct perception of an object. Nothing gives one such a clear idea of things as the emotions, yet nothing deludes one so much. Every emotion has a meaning for its existence, although its value from the standpoint of knowledge varies. Certain emotions are important and necessary for the life of knowledge and certain emotions hinder rather than help one to understand. Theoretically all emotions are an aid to knowledge; all emotions arose _because_ of the knowing of one or another thing. Let us consider one of the most elementary emotions – say THE EMOTION OF FEAR. Undoubtedly there are relations which can be known _only through fear_. The man who never experienced the sensation of fear will never understand many things in life and in nature; he will never understand many of the controlling motives in the life of man. (What else but the fear of hunger and cold forces the majority of men to work?) He will never understand many things in the animal world. For example, he will not understand the relation of mammals to reptiles. A snake excites a feeling of repulsion and fear in all mammals. By this _repulsion_ and _fear_ the mammal knows the nature of the snake and the relation of that nature to its own, and knows it correctly, but _strictly personally_ , and only from its own standpoint. But what the snake is in itself the animal never knows by the emotion of fear. What the snake is _in itself_ – not in the philosophical meaning of the _thing-in-itself_ (nor from the standpoint of the man or animal whom it has bitten or may bite) but simply from the standpoint of zoology – THIS CAN BE KNOWN BY THE INTELLECT ONLY. Emotions unite with the different I's of our psyche. Emotions apparently the same may be united with the very small I's and with the very great and lofty I's; and so the role and meaning of such emotions in life may be very different. The continual shifting of emotions, each of which calls itself I and strives to establish power over man, is the chief obstacle to the establishment of a _constant_ I. And particularly does this interfere when the emotions are manifesting in and passing through the regions of the psyche connected with a certain kind of self-consciousness and self-assertion. These are the so-called _personal emotions_. The sign of the growth of the emotions is the liberation of them from the personal element, and their sublimation on the higher planes. The liberation from personal elements augments the cognizing power of the emotions, because the more there are of pseudo-personal elements in emotion the greater the possibility of delusion. Personal emotion is always _partial_ , always _unjust_ , by reason of the one fact that it opposes _itself_ to all the rest. Thus the cognitive power of the emotions is greater in proportion as there is less of _self-elements_ in a given emotion, i.e., more consciousness that this emotion is not the I. We have seen before in studying _space_ and its laws, that the evolution of knowledge consists in a gradual withdrawing from oneself. Hinton expresses this very well. He says that only by _withdrawing from ourselves_ do we begin to comprehend the world as it is. The entire system of mental exercises with colored cubes invented by Hinton aims at the training of consciousness to look at things from other than the pseudopersonal standpoint. When we study a block of cubes, writes Hinton, (say a cube consisting of 27 lesser cubes) we first of all learn it by starting from a particular cube and axis, and learning how 26 others come with regard to that cube.... We learn the block with regard to this axis, so that we can mentally conceive the disposition of every cube as it comes regarded from one point of view. Next we suppose ourselves to be in another cube at the extremity of another axis; and looking from this axis, we learn the aspect of all the cubes, and so on. Thus we impress on the feelings what the block of cubes is like from every axis. In this way we get a knowledge of the block of cubes. Now, to get the knowledge of humanity, we must study it from the standpoint of the individuals composing it. The egotist may be compared with the man who knows a cube from one standpoint only. Those who feel superficially with a great many people, are like those learners who have a slight acquaintance with a block of cubes from many points of view. Those who have a few deep attachments are like those who know them well from only one or two points of view. And after all, perhaps the difference between the good and the rest of us, lies rather in the former being aware. There is something outside them which draws them to it, which they see, while we do not. Just as it is incorrect in relation to oneself to evaluate everything from the standpoint of one _emotion_ , contrasting it with all the rest, so is it correspondingly incorrect in relation to the world and men to evaluate everything from the standpoint of one's own accidental I, contrasting oneself of a given moment with the rest. Thus the problem of correct emotional knowledge consists in the fact that one shall _feel_ in relation to the world and men _from some standpoint other than the personal_. And the broader the circle becomes for which a person feels, the deeper becomes the knowledge which his emotions yield. But not all emotions are of equal potency in liberating from _self-elements_. Certain emotions by their very nature are _disruptive_ , separate, alienating, forcing man to feel himself as individualized and separate; such are hatred, fear, jealousy, pride, envy. These are emotions of a _materialistic order_ , forcing a belief in matter. And there are emotions which are _unitive_ , harmonizing, making man feel himself to be a part of some great whole; such are love, sympathy, friendship, compassion, love of country, love of nature, love of humanity. These emotions lead man out of the material world and show him the truth of the world of the wondrous. Emotions of this character liberate him more easily from self-elements than those of the former class. Nevertheless there can be a quite _impersonal_ pride – the pride in a heroic deed accomplished by _another man_. There can even be _impersonal_ envy, when we envy a man who has conquered himself, conquered his _personal_ desire to live, sacrificed himself for that which everyone considers to be right and just, but which we cannot bring ourselves to do, cannot even think of doing, _because of weakness, of love of life_. There can be impersonal hatred – of injustice, of brute force, anger against stupidity, dullness, aversion to nastiness, to hypocrisy. These feelings undoubtedly elevate and purify the soul of man and help him to see things which he would not otherwise see. Christ driving the money-changers out of the temple, or expressing his opinion about the Pharisees, was not entirely meek and mild; and there are cases wherein meekness and mildness are not virtues at all. Emotions of love, sympathy, pity transform themselves very readily into sentimentality, into weakness; and thus transformed they contribute of course to _nescience_ , i.e., _matter_. The difficulty of dividing emotions into categories is increased by the fact that all emotions of the higher order, without exception, can also be personal and then their action partakes of the nature of this class. There is a division of emotions into _pure_ and _impure_. We all know this, we all use these words, but understand little of what they mean. Truly, what does "pure" or "impure" mean with reference to feeling? Common morality divides, a priori, all emotions into pure and impure according to certain outward signs, just as Noah divided the animals in his ark. All "fleshly desires" fall into the category of the "impure." In reality indeed, "fleshly desires" are just as pure as is everything in nature. Nevertheless emotions are pure and impure. We know very well that there is truth in this classification. But where is it, and what does it mean? Only an analysis of emotions from the standpoint of knowledge can give the key to this. Impure emotion – this is quite the same thing as impure glass, impure water, or impure sound, i.e., emotion which is _not_ pure, but containing sediments, deposits, or echoes of other emotions: IMPURE – MIXED. Impure emotion gives obscure, _not pure_ knowledge, just as impure glass gives a confused image. Pure emotion gives a clear pure image of that for the knowledge of which it is intended. This is the only possible decision of the question. The arrival at this conclusion saves us from the common mistake of moralists who divide arbitrarily all emotion into "moral" and "immoral." But if we try for a moment to separate emotions from their usual moral frames, then we see that matters are considerably simpler, that there are no _in their nature_ pure emotions, nor impure _in their nature_ , but that each emotion will be pure or impure according to whether or not there are admixtures of other emotions in it. There can be a pure sensuality, the sensuality of the _Song of Songs_ , which initiates into the sensation of cosmic life and gives the power to hear the beating pulse of nature. And there can be an impure sensuality, mixed with other emotions good or bad from a moral standpoint but equally making muddy the fundamental feeling. There can be pure sympathy, and there can be sympathy mixed with calculation to receive something for one's sympathy. There can be pure love of knowledge, a thirst for knowledge for its own sake, and there can be an inclination to knowledge wherein considerations of _utility_ or _profit_ assume the chief importance. In their outer manifestation pure and impure emotions may differ very little. Two men may be playing chess, acting outwardly very similarly, but in one will burn self-love, desire of victory, and he will be full of different unpleasant feelings toward his rival – fear, envy of a clever move, spite, jealousy, animosity, or schemes to win, while the other will simply solve a complex mathematical problem which lies before him, not thinking about his rival at all. The emotion of the first man will be impure, if only because it contains much of the mixed. The emotion of the second will be pure. The meaning of this is of course perfectly clear. Examples of a similar division of outwardly similar emotions may be constantly seen in the esthetic, literary, scientific, public and even the spiritual and religious activities of men. In all regions of this activity only complete victory over the pseudo-personal elements leads a man to the correct understanding of the world and of himself. All emotions colored by such self-elements are like concave, convex, or otherwise curved glasses which refract rays incorrectly and distort the image of the world. Therefore the problem of emotional knowledge consists in a corresponding preparation of the emotions which serve as organs of knowledge. Become as little children... and Blessed are the pure in heart. In these evangelical words is expressed first of all the idea of the purification of the emotions. It is impossible to know through impure emotions. Therefore in the interests of a correct understanding of the world and of the self, man should undertake the purification and the elevation of his emotions. This last leads to an entirely new view of _morality_. That morality the aim of which is to establish a system of correct relations toward the emotions, and to assist in their purification and elevation, ceases in our eyes to be some wearisome and self-limiting exercise in virtue. Morality – this is a form of esthetics. That which is _not moral_ is first of all not beautiful, because not concordant, not harmonious. We see all the enormous meaning that morality may have in our life; we see the meaning morality has _for knowledge_ , for the reason that there are emotions _by which we know_ , and there are _emotions_ by which we delude ourselves. If morality can actually help us to analyze these, then its value is indisputable from the standpoint of knowledge. Current popular psychology knows very well that malice, hatred, anger, jealousy BLIND a man, DARKEN his reason; it knows that fear DRIVES ONE INSANE, etc., etc. But we also know that _every emotion_ may serve either knowledge or nescience. Let us consider such an emotion – valuable and capable of high development – as _the pleasure of activity_. This emotion is a powerful motive force in culture, and of service in the perfection of life and in the evolution of all higher faculties of man. But it is also the cause of an infinite number of his delusions and _faux pas_ for which he afterwards pays bitterly. In the passion of activity man is easily inclined to forget the _aim_ that started him to act, to accept the activity itself for the aim and even to _sacrifice the aim_ in order to preserve the activity. This is seen with especial clearness in the activity of various spiritual movements. Man, starting out in one direction, turns in the opposite one without himself noticing it, and often descends into the abyss thinking that he is scaling the heights. There is nothing more contradictory, more paradoxical than the man _who is enticed away by activity_. We have become so accustomed to "man" that the strange perversions to which he is sometimes subject fail to startle us as curiosities. Violence in the name of freedom; violence in the name of love; the Gospel of Christianity with sword in hand; the stakes of the Inquisition for the glory of a God of Mercy; the oppression of thought and speech on the part of the ministers of _religion_ – all these are incarnated absurdities of which humanity only is capable. A correct understanding of _morality_ can preserve us in some degree from such perversions of thought. In our life in general there is not much morality. European culture has gone along the path of intellectual development. The intellect invented and organized without considering the moral meaning of its own activity. Out of this arose the paradox that the crown of European culture is the "dreadnaught." Many people realize all this, and on account of it assume a negative attitude to all culture. But this is unjust. European culture created much other than dreadnaughts that is new and valuable, facilitating life. The elaboration of the _principles_ of freedom and right; the abolition of slavery (though these are indeed nominal); the victory of man in many regions where nature presented to him a hostile front; the methods for the distribution of thought, the press; the miracles of contemporary medicine and surgery – all these are indisputably real conquests, and it is impossible not to take them into consideration. _But there is no morality in them_ , i.e., there is no truth but too much of falsehood. We are satisfied with mere principles as such; we are content to think that eventually they will be introduced into life, and we neither marvel nor are disturbed at the thought that we ourselves (i.e., cultured humanity), developing beautiful principles, continually deny and controvert them in our lives. The man of European culture invents with equal readiness a machine gun and a new surgical apparatus. European culture began from the life of the savage, taking this life as an example as it were and starting to develop _all its sides_ to the uttermost without thinking of their moral aspects. The savage crushed the head of his enemy with a simple club. We invented for this purpose complicated devices, making possible the crushing of hundreds and thousands of heads at once. Therefore such a thing as this happened: aerial navigation, toward which men had looked forward for millenniums, finally achieved, is used first of all for purposes of war. _Morality_ should be the co-ordination and the necessity for the co-ordination of all sides of life, i.e., of the actions of man and humanity with the higher emotions and the higher comprehensions of the intellect. From this point of view the statement previously made, that morality is a form of esthetics, becomes clear. Esthetics – the sense of beauty – is the _sensation_ of the relation of parts to a whole, and the perception of the necessity for a certain harmonious relation. And morality is the same. Those actions, thoughts and feelings are not moral which are not coordinated, which are not harmonious with the higher understanding and the higher sensations accessible to man. The introduction of morality into our life would make it less paradoxical, less contradictory, more logical and – most important – more _civilized_ ; because now our vaunted civilization is much compromised by "dreadnaughts," i.e., war and everything that goes with it, as well as many things of "peaceful" life such as the death penalty, prisons, etc. Morality, or moral esthetics in such a sense as is here shown, is necessary to us. Without it we too easily forget that the _word_ has after all a certain relation to the act. We are interested in many things, we enter into many things, but for some strange reason we fail to note the incongruity between our spiritual life and our life on earth. Thus we create two lives. In one we are preternaturally strict with ourselves, analyze with great care every idea before we discuss it; in the other we permit with extreme ease any compromises, and easily keep from seeing that which we do not care to see. Moreover, we reconcile ourselves to this division. We do not find it necessary seriously to introduce into our lives our higher ideals, and almost accept as a principle the division of the "real" from the "spiritual." All of the indecencies of our life have arisen as a result of this; all of those infinite falsifications of our life – falsifications of the press, art, drama, science, politics – falsifications in which we suffocate as in a fetid swamp, but which we ourselves create, because we and none other are servants and ministers of those falsifications. We have no sense of the _necessity_ to introduce our ideals into life, to introduce them into _our daily activity_ , and we even admit the possibility that this activity may go counter to our spiritual quests, in accordance with one of those established standards the harm of which we recognize, but for which no one holds himself responsible because he did not create them himself. We have no _sense of personal responsibility_ , no boldness, and we are even without the consciousness of their necessity. All this would be very sad and hopeless if the concept "we" were not so dubious. In reality, the correctness of the very expression "we" is subject to grave doubt. The enormous majority of the population of this globe is engaged in effect in destroying, disfiguring, and falsifying the ideas of the minority. The majority is without ideas. It is incapable of understanding the ideas of the minority, and left to itself it must inevitably disfigure and destroy. Imagine a menagerie full of monkeys. In this menagerie a man is working. The monkeys observe his movements and try to imitate him but they can imitate only his visible movements; the meaning and aim of these movements are closed to them; therefore their actions will have quite another result. And should the monkeys escape from their cages and get hold of the man's tools, then perhaps they will destroy all his work, and inflict great damage on themselves as well. But they will never be able to create anything. Therefore _a man_ would make a great mistake if he referred to their "work," and spoke of them as "we." Creation and destruction – or more correctly, the ability to create or the ability _only_ to destroy – are the principal signs of the two types of men. Morality is necessary to "man": only by regarding everything from the standpoint of morality is it possible to differentiate unmistakably the work of man from the activity of apes. But at the same time delusions are nowhere more easily created than in the region of morality. Allured by _his own particular morality_ and moral gospel, a man forgets the _aim_ of moral perfection, forgets that this aim consists in knowledge. He begins to see an aim in _morality itself_. Then occurs the a priori division of the emotions into good and bad, "moral" and "immoral." The correct understanding of the aim and meaning of the emotions is lost along with this. Man is charmed with his "niceness." He desires that everyone else should be just as nice as he, or as that remote ideal created by himself. Then appears delight in morality for morality's sake, a sort of moral sport – the exercise of morality for morality's sake. A man under these circumstances begins to be afraid of everything. Everywhere, in all manifestations of life, something "immoral" begins to appear to him, threatening to dethrone him or others from that height to which they have risen or may rise. This develops a preternaturally suspicious attitude toward the morality of others. In an ardor of proselytism, desiring to popularize his moral views, he begins quite definitely to regard everything which is not in accord with his morality as hostile to it. All this becomes "black" in his eyes. Starting with the idea of utter freedom, by arguments, by compromises, he very easily convinces himself that it is necessary to fight freedom. He already begins to admit a censure of thought. The free expression of opinions contrary to his own seems to him inadmissible. All this may be done with the best intentions, but the results of it are very well known. There is no tyranny more ferocious than the tyranny of morality. Everything is sacrificed to it. And of course there is nothing so blind as such tyranny, as such "morality." Nevertheless humanity needs morality, but of a different kind – such as is founded on the _real_ data of superior knowledge. Humanity is passionately seeking for this, and perhaps will find it. Then on the basis of this _new morality_ will occur a great division, and those few who will be able to follow it will begin to rule others, or they will disappear altogether. In any case, because of this new morality and those forces which it will engender, the contradictions of life will disappear, and those biped animals which constitute the majority of humanity will have no opportunity to pose as men any longer. The organized forms of intellectual knowledge are: _science_ , founded upon observation, calculation and experience; and _philosophy_ , founded upon the speculative method of reasoning and drawing conclusions. The organized forms of emotional knowledge are: _religion_ and _art_. Religious teachings, taking on the character of different "cults" as they depart from the original "revelation," are founded entirely upon the emotional nature of man. Magnificent temples, the gorgeous vestments of priests and acolytes, the solemn ritual of worship, processions, sacrifices, singing, music, dances – all these have as their aim the attuning of man in a certain way, the evoking in him of certain definite feelings. The same purpose is served by religious myths, legends, stories of the lives of heroes and saints, prophecies, apocalypses – they all act upon the imagination, upon the feelings, although they fail to fulfill their original purpose, which is to transmit ideas, i.e., to serve knowledge. The aim of it is to give _God_ to man, to give him morality, i.e., to give him an accessible knowledge of the mysterious side of the world. Religion may deviate from its true aim, may serve _earthly_ interests and purposes, but its foundation is the search for truth, for God. Art serves _beauty_ , i.e., emotional knowledge of its own kind. Art discovers beauty in everything, and compels man to feel it and therefore _to know_. Art is a powerful instrument of knowledge of the noumenal world: mysterious depths, each one more amazing than the last, open to the vision of man when he holds in his hands this magical key. But let him _only think_ that this mystery is not for knowledge but for pleasure in it, and all the charm disappears at once. Just as soon as art begins to take delight in that beauty which is already _found_ , instead of _the search for new beauty_ an arrestment occurs and art becomes a superfluous estheticism, encompassing man's vision like a wall. The aim of art is _the search for beauty_ , just as the aim of religion is the search for God and truth. And exactly as art stops, so religion stops also as soon as it ceases to search for God and truth, thinking it has found them. This idea is expressed in the precept: _Seek... the kingdom of God and his righteousness_.... It does not say, find; but merely, seek! Science, philosophy, religion and art are forms of knowledge. The method of science is experiment; the method of philosophy is speculation; the method of religion and art is moral or esthetic _emotional_ inspiration. But science and philosophy, religion and art, begin to serve _true knowledge_ only when in them commence to manifest the sensing and finding of some inner property in things. In general it is quite possible to say – and perhaps it will be most true to fact – that the aim of even purely intellectual systems of philosophy and science consists not at all in the giving to man of certain data of knowledge, but in the raising of man to such a height of thinking and feeling as to enable him to pass to those new and higher forms of knowledge to which art and religion approach more nearly. It is necessary however to remember that these very divisions into science, philosophy, religion and art betray the poverty and incompleteness of each. A complete religion unites in itself religion, art, philosophy and science; a complete art equally unites them, while a complete science or a complete philosophy comprehends religion and art. A religion which contradicts science, and a science which contradicts religion are both equally false. # **Chapter 19** The intellectual method, objective knowledge. The limits of objective knowledge. The possibility of the expansion of the application of the psychological method. New forms of knowledge. The ideas of Plotinus. Different forms of consciousness. Sleep (the potential state of consciousness). Dreams (consciousness enclosed in itself, reflected from itself). Waking consciousness (dualistic sensation of the world, the division of the I and the Not-I). Ecstasy (the liberation of the self). _Turiya_ (the absolute consciousness of all, as of the self). "The dewdrop slips into the shining sea." Nirvana. HAVING ESTABLISHED THE _principle_ of the possible unification of the forms of our knowledge, let us discover if this unification is not somewhere realized; how it may be realized; and whether it will be realized _in a form entirely new_ , or in one of the existing forms which shall include all others in itself. For this we shall return to the fundamental principles of our knowledge, and compare the possible chances for the development of different paths, i.e., we shall try to find out as best we may that path which leads to the new knowledge, and in the shortest time. Up to a certain point we have already established this regarding the _emotional path_ ; the growth of the emotions, their purification and their liberation from the materialistic elements of _possession and fear of loss_ must lead to super-personal knowledge and to intuition. But how can the intellectual path lead to the new forms of knowledge? First of all, what is the new knowledge? The new knowledge is _direct knowledge_ , by an inner sense. I feel my own pain directly; the new knowledge can give me the power to _sense_ , as mine, the pain of another man. Thus the new knowledge is the expansion of a direct experience. The question is, can the expansion of objective knowledge be founded upon this new experience? Let us analyze the nature of objective knowledge. Our objective knowledge is contained in science and philosophy. _Inner experience_ science has always regarded as _a thing given_ , which cannot be changed, but as something "doubtful," standing in need of verification and affirmation by the objective method. Science has studied the world as an objective phenomenon, and it has striven to study the psyche and its properties as such another objective phenomenon. In another quarter, the study of the psyche from the inside, so to speak, was proceeding simultaneously with this, but to this study no great significance was ever attached. The limits of inner knowledge, i.e., the limits of the psyche, were considered to be strictly definite, established, and unchangeable. Only for objective knowledge, founded upon identical inner experience, was the possibility of expansion admitted. Let us discover if there is not some mistake here: is the expansion of objective knowledge, founded upon a limited experience, really possible, and are the possibilities of experience really limited? Developing science, i.e., objective knowledge, is encountering obstacles everywhere. Science studies phenomena; just as soon as it attempts to discover _causes_ , it is confronted with the wall of the unknown, and _to it_ unknowable. The question narrows itself down to this: is this unknowable absolutely unknowable, or is it so only for the methods of our science? At the present time the situation is just this: the number of unknown facts in every region of scientific knowledge is rapidly increasing; and the unknown threatens to swallow the known – or the accepted as known. One might define the progress of science, especially latterly, as a very rapid growth of _the regions of nescience_. Nescience of course existed before, and not in less degree than at present. But before, it was not so clearly recognized – at that time science did not know _what it does not know_. Now it knows this more and more, and more and more knows its _conditionality_. A little more, and in every separate branch of science that which it does not know will become greater than _that which it knows_. In every department science itself is beginning to repudiate its own foundations. A little more, and science in its entirety will ask, "Where am I?" Positive thinking – which conceived of its problem as the deducing of general conclusions from the findings of each separate science and all of them combined – will feel itself compelled to deduce conclusions from that which science does not know. Then all the world will see before it the colossus with feet of clay, or rather without any feet at all, but with a formidable misty body, hanging in the air. For a long time philosophy has realized the lack of feet of this colossus, but the majority of cultivated mankind is still hypnotized by positivism, which sees something in place of those feet. However, it will be necessary to part company with this illusion very soon. Mathematics, lying at the very foundation of positive knowledge, and to which exact science always pointed with pride, as to its subject and vassal, is in reality now denying all positivism. Mathematics was included in the cycle of positive sciences only by mistake, and soon indeed mathematics will become the principal weapon AGAINST POSITIVISM. By positivism I mean, in this connection, that system which affirms, in contradiction to Kant, that the study of phenomena _can_ bring us nearer to things in themselves, i.e., which affirms that by going along the path of the study of phenomena we can come to an understanding of causes, and – this is important – which regards physico-mechanical phenomena as the cause of biological and psychic phenomena. The usual positivistic view denies the existence of _the hidden side of life_ , i.e., it finds that the hidden side consists of electro-magnetic phenomena and opens to us only little by little – and that the progress of science consists in the gradual unveiling of the hidden. "This is not known as yet," says the positivist, when his attention is called to something 'hidden,' " _but it will be known_. Science, going by the same path that it has gone up to now, will discover this also. Five hundred years ago, Europe did not know of the existence of America; seventy years ago we did not know of the existence of bacteria; twenty-five years ago we did not know of the existence of radium. But America, bacteria and radium are all discovered now. Similarly and by the same methods, and by such methods only, will be discovered everything that is to be discovered. The apparatuses are being perfected, the methods, processes and observations are being refined. That which we did not even suspect a hundred years ago, has now become a generally known and generally understood fact. Everything that is possible to be known will become known after this manner." Thus do the adherents of the positivistic viewpoints speak, but at the foundation of this reasoning lies a deep delusion. The affirmation of positivism would be quite true did positivism move uniformly in all directions of the unknown; if sealed doors did not exist for it; if in the multitude of questions the _principal_ questions did not remain just as obscure as in those times when science did not exist at all. We see that enormous regions are closed utterly to science, that it _never_ penetrated into them, and worst of all it made _not a single step_ in the direction of these regions. There are multitudes of problems the solving of which science _has not even attempted_ ; problems in the presence of which the contemporary scientist, armed with all his science, is as helpless as a savage or a four-year-old child. Such are the problems of life and death, the problems of space and time, the mystery of consciousness, etc., etc. We all know this, and the only thing we can do is to try _not to think_ about the existence of these problems, to forget about them. We do so as a rule, but this does not annihilate them. They continue to exist, and at any given moment we may turn to them and try on them the rigidity and force of our _scientific method_. And every time, at such an attempt, we find that our scientific method is not equal to these problems. By its aid we can discover the chemical composition of remote stars; can photograph the skeleton within the human body, invisible to the human eye; can invent a floating mine which can be controlled from a distance by means of electrical waves, and can in this way annihilate in a moment hundreds of lives; but by the aid of this method we cannot tell what the man standing beside us is thinking about. No matter how much we may weigh, sound or photograph a man, we shall _never_ know his thoughts _unless he himself tells them to us_. BUT THIS IS TRULY QUITE A DIFFERENT METHOD. The sphere of action of the method of exact science is strictly limited. This sphere is the world of the immediate experience accessible for man. In the world lying beyond the domain of usual experience exact science with its methods has _never_ penetrated and _will never penetrate_. The expansion of objective knowledge is possible only in case direct experience is expanded. But in spite of all the growth of objective knowledge science has made not one step in this direction and the border-line of experience remains _in the same place_. Could science take a single step in this direction, were we able to feel or sense differently, then we might admit that science might move and take two, three, ten, and ten thousand steps. But it has taken _not even one_ , and it is therefore reasonable to believe that it will never take it. The world outside the experience of the five senses is closed to objective investigation, and for this quite definite causes exist. By no means everything that exists can be detected by any of five senses. Objective existence is a very narrowly defined form of existence, and does not by any means exhaust or comprehend existence as a whole. The mistake of positivism consists in the fact that it has recognized as really existing only that which exists objectively, and it has even begun to deny _the very existence_ of all the rest. But what is objectivity? We can define it in this way: because of the properties of _our_ receptivity, or because of _the conditions_ under which our psyche works, we segregate _a small number of facts_ into a definite group. This group of facts represents in itself the objective world, and is accessible to the investigation of science. But in no case does this group represent in itself EVERYTHING THAT IS EXISTING. Extension in space and existence in time constitute the first condition of objective existence. And yet the forms of the extension of a thing in space, and those of its existence in time are created by the cognizing subject, and do not belong to the thing itself. Matter is first of all _three-dimensional_. This three-dimensionality is the form of our receptivity. Matter of four dimensions would imply a change in the form of our receptivity. Materiality is the condition of existence in space and time, i.e., a condition of existence under which "at one time, and in one place, _two similar_ phenomena cannot occur." This is an exhaustive definition of materiality. It is clear that under the conditions known to us, two similar phenomena, occurring simultaneously in one place, will compose one phenomenon. But this is obligatory for those conditions of existence which we know, i.e., for such matter as we perceive. For the universe it is absolutely not obligatory. We constantly observe the conditions of materiality in those cases in which we must create in our life _a sequence_ of phenomena or are obliged to _select_ , because our matter does not permit us to juxtapose in a definite interval of time more than a certain number of phenomena. The necessity for _selection_ is perhaps the chief _visible_ sign of materiality. Outside of matter, the necessity for selection is done away with, and if we imagine the life of a feeling being, independent of the conditions of materiality, such a being will be capable of possessing simultaneously such faculties as from our standpoint are incompatible, opposite, and eliminative of one another: the power of being in several places at the same time; to command different views; to perform opposite and mutually exclusive actions simultaneously. In speaking of matter it is necessary always to remember that matter is not a substance, but a condition. Suppose for example, that a man is blind. It is impossible to regard this blindness as a substance; it is a condition of the existence of a given man. Matter is some sort of blindness. Objective knowledge can grow infinitely, its progress depending on the perfection of its instruments and the refinement of its methods of observation and experiment. One thing only it cannot transcend – the limits of the three-dimensional sphere, i.e., the conditions of space and time, for the reason that objective knowledge is created under these conditions, and the conditions of the existence of the three-dimensional world are the conditions of its existence. Objective knowledge will always be subject to these conditions, for otherwise it would cease to exist. No apparatus, no instrument, will ever conquer these conditions, for should they conquer they would destroy themselves first of all. _Perpetual motion_ , i.e., the violation of the fundamental laws of the three-dimensional world as we know it, would be the only victory over the three-dimensional world _in the three-dimensional world itself_. But it is necessary to remember that objective knowledge does not study facts, but _only the perception of facts_. IN ORDER THAT OBJECTIVE KNOWLEDGE SHALL TRANSCEND THE LIMITS OF THE THREE-DIMENSIONAL SPHERE, IT IS NECESSARY THAT THE CONDITIONS OF PERCEPTION SHALL CHANGE. As long as this does not happen, our objective knowledge is confined within the limits of _an infinite three-dimensional sphere_. It can proceed infinitely upon the radii of that sphere, but it will never penetrate into that region _a section of which_ constitutes our three-dimensional world. Moreover we know, from the preceding, that should our receptivity become more limited, then objective knowledge would be correspondingly limited also. It is impossible to convey to a dog the idea of the sphericity of the earth; to make it remember the weight of the sun and the distances between the planets is equally impossible. Its objective knowledge is vastly more _personal_ than ours; and the cause of it lies in the dog's more limited psyche. Thus we see that objective knowledge depends upon the properties of the psyche. Indeed, between the objective knowledge of a savage and that of Herbert Spencer there is an enormous difference; but that of neither the one nor the other transcends the limit of the three-dimensional sphere, i.e., the limits of the "conditional," the unreal. In order to transcend the three-dimensional sphere it is necessary to expand or change the forms of receptivity. Is the expansion of the limits of receptivity possible? The study of complex forms of consciousness assures us that it is possible. Plotinus, the famous Alexandrian philosopher (third century) affirmed that for perfect knowledge the subject and object must be united that the rational agent and the thing being comprehended must not be separate. Here it is indeed necessary to understand, "to see" other than in a literal sense. The "seeing" changes with the changes of the state of consciousness in which it is proceeding. But what forms of consciousness exist? Hindu philosophy makes the division into four states of consciousness: sleep, dream, waking, and the state of absolute consciousness – _turiya_. ( _The Ancient Wisdom_ , Annie Besant.) G. R. S. Mead, in the preface to Taylor's translation of Plotinus ( _Bohn's Library_ ) correlates the terminology of Shankarãchãrya – the leader of the _Advaita-Ved ānta_ school of ancient India – with that of Plotinus: The first or spiritual state was ecstasy; from ecstasy it forgot itself into deep sleep; from profound sleep it awoke out of unconsciousness, but still within itself, into the internal world of dreams; from dreaming it passes finally into the thoroughly waking state, and the outer world of sense. Ecstasy is the term used by Plotinus; it is entirely identical with the term _turiya_ of Hindu psychology. The consciousness, which is in a waking condition, is surrounded by what constitutes its sense organs and receptive apparatus in the phenomenal world; it differentiates the "subjective" from the "objective," and differentiates its forms of perception from "reality." It recognizes the phenomenal objective world as reality, and dreams as unreality, and includes along with it, as being unreal, the entire subjective world. Its vague sensation of real things, lying beyond that which is apprehended by the organs of sense, i.e., sensations of noumena, consciousness identifies as it were with dreams – with the unreal, imaginary, abstract, subjective – and regards _phenomena_as the only reality. Gradually convinced by reason of the unreality of phenomena, or inwardly sensing this unreality and the reality which lies behind, we free ourselves from the mirage of phenomena, we begin to understand that all the phenomenal world is in substance subjective also, that the great realities lie deeper down. Then a complete change takes place in consciousness in all its concepts _about reality_. That which before was regarded as real becomes unreal, and that which was regarded as unreal becomes real. This transition into the absolute state of consciousness is "UNION WITH DIVINITY," "VISION OF GOD," EXPERIENCING THE "KINGDOM OF HEAVEN," "ENTERING NIRVANA." All these expressions of mystical religions represent the psychological fact of the expansion of consciousness, such an expansion that the consciousness absorbs itself in the all. C. W. Leadbeater, in an essay, _Some Notes on the Higher Planes_. _Nirvana_ ( _The Theosoohist_. July, 1910.) writes: Sir Edwin Arnold wrote of that beatific condition, that "the dewdrop slips into the shining sea." Those who have passed through that most marvelous of experiences know that, paradoxical as it may seem, the sensation is exactly the reverse, and that a far closer description would be that THE OCEAN HAD SOMEHOW BEEN POURED INTO THE DROP! The consciousness, wide as the sea, with "its centre everywhere and its circumference nowhere," is a great and glorious fact; but when a man attains it, it seems to him that his consciousness has widened to take in all that, not that he is merged into something else. This pouring of the ocean into the drop occurs because the consciousness never loses itself, i.e., does not disappear, does not become extinguished. When it seems to us that consciousness is extinguished, in reality it is only changing its form, it ceases to be analogical to ours, and we lose the means of convincing ourselves of its existence. We have no exact data at all to think that it is dissipated. In order to escape from the field possible to our observation, it is sufficient for consciousness TO CHANGE ONLY A LITTLE. In the objective world, indeed, this "slipping of the dewdrop into the sea" leads to the annihilation of the drop, to the absorption of it by the sea. We have never observed another order of things in the objective world and therefore cannot imagine it. But in the _real_ , i.e., the subjective world, of course another order must exist and operate. The DROP OF CONSCIOUSNESS merging with the SEA OF CONSCIOUSNESS _knows it, but does not itself cease to exist because of that_. Therefore undoubtedly, the sea is absorbed by the drop. In the _Letters to Flaccus_ of Plotinus, we find a wonderful description of a psychology and theory of knowledge founded exactly upon the idea of the expansion of receptivity: External objects present us only with appearances. Concerning them, therefore, we may be said to possess opinion rather than knowledge. The distinctions in the actual world of appearance are of import only to ordinary and practical men. Our question lies with the ideal reality that exists behind appearance. How does the mind perceive these ideas? Are they without us, and is the reason, like sensation, occupied with objects external to itself? What certainty would we then have – what assurance that our perception was infallible? The object perceived would be a something different from the mind perceiving it. We should have then an image instead of reality. It would be monstrous to believe for a moment that the mind was unable to perceive ideal truth as it is, and that we had not certainty and real knowledge concerning the world of intelligence. It follows, therefore, that this region of truth is not to be investigated as a thing external to us, and so only imperfectly known. It is within us. Here the objects we contemplate and that which contemplates are identical – both are thought. The subject cannot surely know an object different from itself. The world of ideas lies within our intelligence. Truth, therefore, is not the agreement of our apprehension of an external object with the object itself. It is the agreement of the mind with itself. Consciousness, therefore, is the sole basis of certainty. The mind is its own witness. Reason sees in itself that which is above itself and its source; and again, that which is below itself as still itself once more. Knowledge has three degrees – opinion, science, illumination. The means or instrument of the first is sense; of the second dialectic; of the third intuition. To the last I subordinate reason. It is absolute knowledge founded on the identity of the mind knowing with the object known. There is a raying out of all orders of existence, an external emanation from the ineffable One. There is again a returning impulse, drawing all upward and inward toward the centre from whence all came.... The wise man recognizes the idea of the good within him. This he develops by withdrawal into the holy place of his own soul. He who does not understand how the soul contains the beautiful within itself, seeks to realize beauty without by laborious production. His aim should rather be to concentrate and simplify, and so to expand his being; instead of going out into the manifold, to forsake it for the One, and to float upwards toward the divine fount of being whose stream flows within him. You ask, how can we know the Infinite? I answer, not by reason. It is the office of reason to distinguish and define. The infinite, therefore, cannot be ranked among its objects. You can only apprehend the infinite by a faculty superior to reason, by entering into a state in which you are your finite self no longer – in which the divine essence is communicated to you. This is ecstasy. It is the liberation of your mind from its finite consciousness. Like can only apprehend like; when you thus cease to be finite, you become one with the infinite. In the reduction of your soul to its simplest self, its divine essence, you realize this union – this identity. But this sublime condition is not of permanent duration. It is only now and then that we can enjoy this elevation above the limits of the body and the world. I myself have realized it but three times as yet, and Porphyry hitherto not once. All that tends to purify and elevate the mind will assist you in this attainment, and facilitate the approach and the recurrence of these happy intervals. There are, then, different roads by which this end may be reached. The love of beauty which exalts the poet; that devotion to the One and that ascent of science which makes the ambition of the philosopher, and that love and those prayers by which some devout and ardent soul tends in its moral purity towards perfection – these are the great highways conducting to the height above the actual and the particular, where we stand in the immediate presence of the Infinite, who shines out as from the depths of the soul. In another place in his works, Plotinus defines the ecstatic knowledge more exactly, presenting such properties of it as to reveal to us quite clearly that the infinite expansion of subjective knowledge is there meant. When we see God [says Plotinus] we see him not by reason, but by something that is higher than reason. It is impossible however to say about him who sees that he sees, because he does not behold and discern two different things (the seer and the thing seen). He changes completely, ceases to be himself, preserves nothing of his "I". Immersed in God, he constitutes one whole with Him; like the centre of a circle, which coincides with the centre of another circle. # **Chapter 20** The sense of infinity. The Neophyte's first ordeal. An intolerable sadness. The loss of everything real. What would an animal feel on becoming a man? The transition to the new logic. Our logic as founded on the observation of the laws of the phenomenal world. Its invalidity for the study of the world of noumena. The necessity for another logic. Analogy between the axioms of logic and of mathematics. TWO MATHEMATICS. The mathematics of real magnitudes (infinite and variable): and the mathematics of unreal, imaginary magnitudes (finite and constant). Transfinite numbers — numbers lying beyond INFINITY. The possibility of different infinities. THERE IS IN existence an idea which a man should always call to mind when too much subjugated by the illusions of the reality of the _unreal_ , visible world in which everything has a beginning and an end. It is the idea of infinity, the fact of infinity. In the book _A New Era of Thought_ – concerning which I have had already much to say – in the chapter "Space the Scientific Basis of Altruism and Religion," Hinton says: ... When we come upon infinity in any mode of our thought, it is a sign that that mode of thought is dealing with a higher reality than it is adapted for, and in struggling to represent it, can only do so by an infinite number of terms (of realities of a higher order). Truly what is infinity, as the ordinary mind represents it to itself? It is the only reality and at the same time it is the abyss, the bottomless pit into which the mind falls, after having risen to heights to which it is not native. Let us imagine for a moment that a man begins to feel infinity in everything: every thought, every idea leads him to the realization of infinity. This will inevitably happen to a man approaching an understanding of a higher order of reality. But what will he feel under such circumstances? He will sense a precipice, an abyss everywhere, no matter where he looks; and experience indeed an incredible horror, fear and sadness, until this fear and sadness shall transform themselves into the joy of the sensing of a new reality. "... An intolerable sadness is the very first experience of the Neophyte in occultism...." says the author of _Light on the Path_. We have already examined into the manner in which a two-dimensional being might approach to a comprehension of the third dimension. But we have never asked ourselves the question: what would it _feel_ , beginning to sense the third dimension, beginning to be conscious of "a new world" environing it? First of all, it would feel astonishment and fright – fright approaching horror; because in order to find the new world it must _lose_ the old one. Let us imagine the predicament of an animal in which flashes of human understanding have begun to appear. What will it sense _first of all?_ First of all, that its old world, _the world of the animal_ , its comfortable, habitual world, the one in which it was born, to which it has become accustomed, and which it imagines to be the _only_ real one, is crumbling away and falling all around it. Everything that before seemed real, becomes false, delusive, fantastic, unreal. The impression of the unreality of all its environment will be very strong. Until such a being shall learn to comprehend the reality of another, higher order, until it shall understand that behind the crumbling old world one infinitely more beautiful and new is opening up, considerable time will necessarily pass. And during all this time, a being in whom this new consciousness is in process of unfoldment must pass from one abyss of despair to another, from one negation to another. It must repudiate _everything_ around itself. Only by the repudiation of everything will the possibility of entering into a new life be realized. With the beginning of the gradual loss of the old world, the logic of the two-dimensional being – or that which stood for it for logic – will suffer continual violation, and its strongest impression will be that there is _no logic at all_ , that no laws of any sort even exist. Formally, when it was an animal, it reasoned: This is this. | This house is my own. ---|--- This is that. | That house is strange. This is not that. | That house is not my own. The strange house and its own house the animal regards as _different objects_ , having nothing in common. But now it will surprisingly understand that _the strange house_ and _its own house_ are EQUALLY houses. How will it express this in its language of perceptions? Strictly speaking, it will not be able to express this at all, because it is impossible to express concepts in the language of an animal. The animal will simply mix up the sensations of the strange house and its own house. Confusedly, it will begin to feel some _new properties_ in houses, and along with this it will feel less clearly those properties which made the strange house strange. Simultaneously with this, the animal will begin to sense _new_ properties which it did not know before. As a result it will undoubtedly experience the necessity for a system of generalization of these new proper ties – the necessity for a new logic expressing the relations of the new order of things. But having no concepts it will not be in a position to construe the axioms of Aristotelian logic, and will express its impression of the new order in the form of the entirely absurd but more nearly true proposition: _This is that_. Or let us imagine that to the animal with the rudimentary logic expressing its _sensations_ , _This is this_. _That is that_. _This is not that_. Somebody tries to prove that two different objects, two houses – its _own_ and _a strange one_ – are similar, that they represent _one and the same thing_ , that they are both _houses_. The animal will never credit this _similarity_. For it the two houses, its own, _where it is fed_ , and the strange one, _where it is beaten_ if it enters, will remain _entirely different_. There will be nothing in common in them for it, and the effort to prove to it the similarity of these two houses will lead to nothing _until it senses this itself_. Then, sensing confusedly the idea of the likeness of two different objects, and being without concepts, the animal will express this as something _illogical_ from its own point of view. The idea, _this and that are similar objects_ , the articulate two-dimensional being will translate into the language of its logic, in the shape of the formula: _this is that_ ; and of course will pronounce it an absurdity, and that the sensation of the new order of things leads to logical absurdities. But it will be unable to express that which it senses in any other way. We are in exactly the same position – _when we dead awaken_ – i.e., when we _men_ , come to the realization of that other life, to the comprehension of higher things. The same fright, the same _loss of the real_ , the same impression of utter and never-ending illogicality, the same formula: "this is that," will afflict us. In order to realize _the new world_ , we must understand _the new logical order of things_. Our usual logic assists us in the investigation of the relations of the phenomenal world only. Many attempts have been made to define _what logic is_. But logic is just as essentially indefinable as is mathematics. What is mathematics? The science of magnitudes. What is logic? The science of concepts. But these are not definitions; they are only the _translation_ of the name. Mathematics, or the science of magnitudes, is that system which studies the _quantitative_ relations between things; logic, or the science of concepts, is that system which studies the _qualitative_ (categorical) relations between things. Logic has been built up quite in the same way as mathematics. As with logic, so also with mathematics (at least the generally known mathematics of "finite" and "constant" quantities), both were deduced by us from the observation of the phenomena of _our_ world. Generalizing our observations, we gradually discovered those relations which we called the fundamental laws of the world. In logic, these fundamental laws are included in the axioms of Aristotle and of Bacon. _A is A_. ( _That which was A will be A_.) _A is not Not-A_. ( _That which was Not-A will be Not-A_.) _Everything is either A or Not-A_. _Everything will be either A or Not-A_. The logic of Aristotle and Bacon, developed and supplemented by their many followers, deals _with concepts only_. Logos, the word, is the object of logic. An idea, in order to become the object of logical reasoning, in order to be subjected to the laws of logic, must be expressed in a word. That which cannot be expressed in a word cannot enter into a logical system. More-over a word can enter into a logical system; can be subjected to logical laws, _only as a concept_. At the same time we know very well that _not everything can be expressed in words_. In our life and in our feelings there is much that cannot be expressed in concepts. Thus it is clear that even at the present moment, at the present stage of our development, not everything can be entirely logical for us. There are many things which in their substance are _outside of logic_ altogether. This includes the entire region of feelings, emotions, religion. All art is just one entire illogicality; and as we shall presently see, _mathematics_ , the most exact of sciences, is entirely illogical. If we compare the axioms of the logic of Aristotle and of Bacon with the axioms of mathematics as it is commonly known, we find between them complete similarity. The axioms of logic, _A is A_. _A is not Not-A_. _Everything is either A or Not-A_. fully correspond to the fundamental axioms of mathematics, to the axioms of identity and difference. _Every magnitude is equal to itself._ _The part is less than the whole._ _Two magnitudes, equal separately to a third, are equal to each other, etc_. The similarity between the axioms of mathematics and those of logic extends very far, and this permits us to draw a conclusion about their similar origin. The laws of mathematics and of logic are the laws of the reflection of the phenomenal world in our receptivity and in our reasoning faculty. Just as the axioms of logic can deal with concepts only, and are related solely to them, so the axioms of mathematics apply to finite and constant magnitudes only, and are related solely to them. THESE AXIOMS ARE UNTRUE IN RELATION TO INFINITE AND VARIABLE MAGNITUDES, just as the axioms of logic are untrue even in relation to emotions, to symbols, to the musicality and the hidden meaning of words, to say nothing of those ideas which cannot be expressed in words. What does this mean? It means that the axioms of logic and of mathematics are deduced by us from the observation of phenomena, i.e., of the phenomenal world, and represent in themselves a certain conditional incorrectness, which is necessary for the knowledge of the unreal "subjective" world – in the true meaning of that word. As has been said before, we have in reality two mathematics. One, the mathematics of finite and constant numbers, represents a quite artificial construction for the solution of problems based on conditional data. The chief of these conditional data consists in the fact that in problems of this mathematics there is always taken the t of the universe only, i.e., one section only of the universe is taken, which section is never taken in conjunction with another one. This mathematics of finite and constant magnitudes studies an artificial universe, and is in itself something especially created on the basis of our observation of phenomena, and serves for the simplification of these observations. Beyond phenomena the mathematics of finite and constant numbers cannot go. It is dealing with an imaginary world, with imaginary magnitudes. The practical results of those applied sciences which are built upon mathematical science should not confuse the observer, because these are merely the solutions of problems in definite artificial conditions. The other, the mathematics of infinite and variable magnitudes, represents something entirely real, built upon the reasonings in regard to a real world. The first is related to the world of phenomena, which represents in itself nothing other than our incorrect apprehension and perception of the world. The second is related to the world of noumena, which represents in itself the world as it is. The first is unreal; it exists in our consciousness, in our imagination. The second is real; it expresses the relations of a real world. The mathematics of transfinite numbers, so called, may serve as an example of "real mathematics," violating the fundamental axioms of our mathematics (and logic). By transfinite numbers, as their name implies, is meant numbers beyond infinity. Infinity, as represented by the sign ∞ is the mathematical expression with which, as such, it is possible to perform all operations: divide, multiply, raise to powers. It is possible to raise infinity to the power of infinity – it will be ∞∞. This magnitude is an infinite number of times greater than simple infinity. And at the same time they are both equal: ∞ = ∞∞. And this is the most remarkable property of transfinite numbers. You may perform with them any operations whatsoever; they will change in a corresponding manner, remaining at the same time equal. This violates the fundamental laws of mathematics accepted for finite numbers. After a change, the finite number cannot be equal to itself. But here we see how, changing, the transfinite number remains equal to itself. After all, transfinite numbers are entirely real. We can find examples corresponding to the expression ∞ and even ∞∞ and ∞∞∞ in our world. Let us take a line – any segment of a line. We know that the number of points on this line is equal to infinity, for a point has no dimension. If our segment is equal to one inch, and beside it we shall imagine a segment a mile long, then in the little segment each point will correspond to a point in the large one. The number of points in a segment one inch long is infinite. The number of points in a segment one mile long is also infinite. We get ∞ = ∞. Let us now imagine a square, one side of which is a given segment, a. The number of lines in a square is infinite. The number of points in each line is infinite. Consequently, the number of points in a square is equal to infinity multiplied by itself an infinite number of times ∞∞. This magnitude is undoubtedly infinitely greater than the first one: ∞, and at the same time they are equal, as all infinite magnitudes are equal, because, if there be an infinity, then it is one, and cannot change. Upon the square a2, let us construct a cube. This cube consists of an infinite number of squares, just as a square consists of an infinite number of lines, and a line of an infinite number of points. Consequently, the number of points in the cube, a3 is equal to ∞∞∞, this expression is equal to the expression ∞∞ and ∞, i.e., this means that an infinity continues to grow, remaining at the same time unchanged. Thus in transfinite numbers, we see that two magnitudes equal separately to a third, can be not equal to each other. Generally speaking, we see that the fundamental axioms of our mathematics do not work there, are not there valid. We have therefore a full right to establish the law, that the fundamental axioms of mathematics enumerated above are not applicable to transfinite numbers, but are applicable and valid only for finite numbers. We may also say that the fundamental axioms of our mathematics are valid for constant magnitudes only. Or in other words they demand unity of time and unity of place. That is, each magnitude is equal to itself at a given moment. But if we take a magnitude which varies, and take it in different moments, then it will not be equal to itself. Of course, we may say that changing, it becomes another magnitude, that it is a given magnitude only so long as it does not change. But this is precisely the thing that I am talking about. The axioms of our usual mathematics are applicable to finite and constant magnitudes only. Thus quite in opposition to the usual view, we must admit that the mathematics of finite and constant magnitudes is unreal, i.e., that it deals with the unreal relations of unreal magnitudes; while the mathematics of infinite and fluent magnitudes is real, i.e., that it deals with the real relations of real magnitudes. Truly the greatest magnitudes of the first mathematics has no dimension whatever, it is equal to zero, or a point, in comparison with any magnitude of the second mathematics, ALL MAGNITUDES OF WHICH, DESPITE THEIR DIVERSITY, ARE EQUAL AMONG THEMSELVES. Thus both here, as in logic, the axioms of the new mathematics appear as absurdities: A magnitude can be not equal to itself. A part can be equal to the whole, or it can be greater than the whole. One of two equal magnitudes can be infinitely greater than another. All DIFFERENT magnitudes are equal among themselves. A complete analogy is observed between the axioms of mathematics and those of logic. The logical unit – a concept – possesses all the properties of a finite and constant magnitude. The fundamental axioms of mathematics and logic are essentially one and the same. They are correct under the same conditions, and under the same conditions they cease to be correct. Without any exaggeration we may say that the fundamental axioms of mathematics and of logic are correct only just as long as mathematics and logic deal with magnitudes which are artificial, conditional, and which do not exist in nature. The truth is that in nature there are no finite, constant magnitudes, just as also there are no concepts. The finite, constant magnitude, and the concept are conditional abstractions, not reality, but merely the sections of reality, so to speak. How shall we reconcile the idea of the absence of constant magnitudes with the idea of an immobile universe? At first sight one appears to contradict the other. But in reality this contradiction does not exist. Not this universe is immobile, but the greater universe, the world of many dimensions, of which we know that perpetually moving section called the three-dimensional infinite sphere. Moreover, the very concepts of motion and immobility need revision, because, as we usually understand them with the aid of our reason, they do not correspond to reality. Already we have analyzed in detail how the idea of motion follows from our time-sense, i.e., from the imperfection of our space-sense. Were our space-sense more perfect in relation to any given object, say to the body of a given man, we could embrace all his life in time, from birth to death. Then within the limits of this embrace that life would be for us a constant magnitude. But now, at every given moment of it, it is for us not a constant but a variable magnitude. That which we call _a body_ does not exist in reality. It is only the section of that four-dimensional body that we never see. We ought always to remember that our entire three-dimensional world does not exist in reality. It is a creation of our imperfect senses, the result of their imperfection. This is not _the world_ but merely that which we see of the world. The three-dimensional world – this is the four-dimensional world observed through the narrow slit of our senses. Therefore all magnitudes which we regard as such in the three-dimensional world are not real magnitudes, but merely _artificially assumed_. They do not exist really, in the same way as _the present_ does not exist really. This has been dwelt upon before. By _the present_ we designate the transition from the future into the past. But this transition has no extension. Therefore the present does not exist. Only the future and the past exist. Thus constant magnitudes in the three-dimensional world are only abstractions, just as _motion_ in the three-dimensional world is, _in substance_ , an abstraction. _In the three-dimensional world_ there is no change, no motion. In order to think motion, we already need the four-dimensional world. The three-dimensional world does not exist in reality, or it exists only during one ideal moment. In the next ideal moment there already exists _another_ three-dimensional world. Therefore the magnitude A in the following moment is already not A, but B, in the next C, and so forth to infinity. It is equal to itself in one ideal moment only. In other words, within the limits of each ideal moment the axioms of mathematics are true; for the comparison of two ideal moments they are merely conditional, as the logic of Bacon is conditional in comparison with the logic of Aristotle. _In time_ , i.e., in relation to variable magnitudes, from the standpoint of the ideal moment, they are untrue. The idea of constancy or variability emanates from the impotence of our limited reason to comprehend a thing otherwise than by its section. If we would comprehend a thing in four dimensions, let us say a human body from birth to death, then it will be the whole and _constant_ body, the section of which we call _a-changing-in-time_ human body. A moment of life, i.e., a body as we know it in the three-dimensional world, is a point on an infinite line. Could we comprehend this body as a whole, then we should know it as an _absolutely constant_ magnitude, with all its multifariousness of forms, states and positions; but then to this constant magnitude the axioms of our mathematics and logic would be inapplicable, because it would be an _infinite_ magnitude. We cannot comprehend this infinite magnitude. We comprehend always its _sections only_. And our mathematics and logic are related to this imaginary section of the universe. # **Chapter 21** Man's transition to a higher logic. The necessity for rejecting everything "real." "Poverty of the spirit." The recognition of the infinite alone as real. Laws of the infinite. Logic of the finite – the Organon of Aristotle and the Novum Organum of Bacon. Logic of the infinite – Tertium Organum. The higher logic as an instrument of thought, as a key to the mysteries of nature, to the hidden side of life, to the world of noumena. A definition of the world of noumena on the basis of all the foregoing. The impression of the noumenal world on an unprepared consciousness. "The thrice unknown darkness in the contemplation of which all knowledge is resolved into ignorance." EVERYTHING THAT HAS been said about mathematical magnitudes is true also with regard to logical concepts. _Finite_ mathematical magnitudes and _logical_ concepts are subject to the same laws. We have now established that the laws discovered by us in a space of three dimensions, and operating in that space, are inapplicable, incorrect and untrue in a space of a greater number of dimensions. And as this is true of mathematics, so is it true of logic. As soon as we begin to consider infinite and variable magnitudes instead of those which are finite and constant, we perceive that the fundamental axioms of our mathematics cannot be applied to the former class. And as soon as we begin to think in other terms than those of concepts, we must be prepared to encounter an enormous number of absurdities _from the standpoint of existing logic_. These absurdities seem to us such, because we approach the world of many dimensions with the logic of the three-dimensional world. It has been proven already that to an animal, i.e., to a two-dimensional being, thinking not by concepts, but by perceptions, our logical ideas must seem absurd. The _logical_ relations in the world of many dimensions seem equally absurd to us. We have no reason whatsoever to hope that the relations of _the world of causes_ can be logical from our point of view. On the contrary, it may be said that EVERYTHING LOGICAL is phenomenal. Nothing can be logical, from our standpoint, _there_. All that is _there_ must seem to us _a logical absurdity_ , nonsense. We must remember that it is impossible to penetrate there with _our logic_. The relation of the general trend of the thought of humanity toward the "other world" has always been highly incorrect. In "positivism" men have denied that other world altogether. This was because, not admitting the possibility of relations other than those formulated by Aristotle and Bacon, men denied the _very existence_ of that which seemed absurd and impossible from the standpoint of those formula. Also, in spiritism they attempted to construct the noumenal world on the model of the phenomenal, that is, against reason, against nature, they wanted at all costs to prove that the other world is _logical from our standpoint_ , that the same laws of causality operate just as in our world, and that the other world is nothing more than the extension of ours. The "other world" of spiritists or spiritualists in all existing descriptions of it is a naive and barbaric concept of the unknown. Positive philosophy perceived the absurdity of all dualistic theses, but having no power to expand the field of its activity, limited by logic and "the infinite sphere," it could think of nothing better than to DENY. Mystical philosophy alone felt the possibility of relations other than those of the phenomenal world. But it was arrested by hazy and unclear sensations, finding it impossible to define and classify them. Nevertheless, _science must come to mysticism_ , because in mysticism there is a new method – and then to the study of different forms of consciousness, i.e., of forms of receptivity different from our own. Science should throw off almost everything old and should start afresh with a new theory of knowledge. Science cannot deny the fact that mathematics grows, expands, and escapes from the limits of the visible and measurable world. Entire departments of mathematics take into consideration quantitative relations which did not and do not exist in the real world of positivism, i.e., relations which have no correspondence to any realities in the visible, three-dimensional world. But there cannot be any mathematical relations to which the relation of some realities would not correspond. Therefore mathematics transcends the limits of our world, and penetrates into a world unknown. This is the _telescope_ , by the aid of which we begin to investigate the _space of many dimensions_ with its worlds. Mathematics goes ahead of our thought, ahead of our power of imagination and perception. _Even now_ it is engaged in calculating relations which we cannot imagine or comprehend. It is impossible to deny all this, even from the strictly "positivistic," i.e., _positive_ standpoint. Thus science, having admitted the possibility of the expansion of mathematics beyond the limits of the sensuously perceived world – that is beyond the limits of a world _accessible_ (though theoretically) to the organs of sense and their mechanical aids – must thereby recognize the expansion of the _real world_ far beyond the limits of any "infinite sphere" or of our logic, i.e., must _recognize_ the reality of "the world of many dimensions." The recognition of the reality of the world of many dimensions is the _already accomplished_ transition to, and understanding of, the world of the wondrous. And this transition to the wondrous is impossible without the recognition of the _reality_ of new logical relations which are absurd and impossible from the standpoint of our logic. What are the laws of our logic? They are the laws of our receptivity of the three-dimensional _world_ , or _the laws of our three-dimensional receptivity of the world_. If we desire to escape from the three-dimensional world and go farther, we must first of all work out the fundamental logical principles which would permit us to observe the relations of things in a world of many dimensions – seeing in them a certain reasonableness, and not complete absurdity. If we enter there armed only with the principles of the logic of the three-dimensional world, these principles will drag us back, and will not give us a chance to rise from the earth. First of all we must throw off the chains of our logic. This is the first, the great, and the chief liberation toward which humanity must strive. Man, throwing off the chains of "three-dimensional" logic, has already penetrated, in thought, into another world. And not only is this transition possible, but it is accomplished constantly. Although unhappily we are not entirely conscious of our rights in "another world," and often sacrifice these rights, regarding ourselves as limited to this _earthly_ world, paths nevertheless exist. Poetry, mysticism, the idealistic philosophy of all ages and peoples, preserve the traces of such transitions. Following these traces, we ourselves can find the path. Ancient and modern thinkers have given us many keys with which we may open mysterious doors, many magical formula, before which these doors open of themselves. But we have not understood either the purpose of these keys or the meaning of the formulæ. We have also lost the understanding of magical ceremonies and rites of initiation into mysteries which had a single purpose: to help this transformation in the soul of man. Therefore the doors remained closed, and we even denied that there was anything whatever behind them; or, suspecting the existence of another world, we regarded it as similar to ours, and separate from ours, and tried to penetrate there unconscious of the fact that the chief obstacle in our path was our own division of the world into _this_ world and _that_. _The world is one_ , only the ways of knowing it are different; and with imperfect methods of knowledge it is impossible to penetrate into that which is accessible to perfect methods only. All attempts to penetrate mentally into that higher, noumenal world, or world of causes, by means of the logic of the phenomenal world, if they did not fail altogether, or did not lead to _castles in the air_ , gave only one result: in becoming conscious of a new order of things, a man lost the sense of the reality of the old order. The visible world began to seem to him fantastic and unreal, everything all about him was disappearing, was vanishing like smoke, leaving a dreadful feeling of _illusion_. In everything he felt the abyss of infinity, and everything was plunging into the abyss. This sense of the infinite is the first and most terrible trial before initiation. Nothing exists! A little miserable soul feels itself suspended in an infinite void. Then even this void disappears! Nothing exists. There is only infinity, a constant and continuous division and dissolution of everything. The mystical literature of all peoples abounds in references to this sensation of _darkness and emptiness_. Such was that mysterious deity of the ancient Egyptians, about which there exists a story in the _Orpheus_ myth, in which it is described as a " _Thrice-unknown darkness in contemplation of which all knowledge is resolved into ignorance_." This means that man must have felt horror transcending all limits as he approached the world of causes with the knowledge of the world of phenomena only, his instrument of logic having proved useless, because all the new eluded him. In _the new_ as yet he sensed chaos only, _the old_ had disappeared, gone away and become unreal. Horror and regret for the loss of the old mingled with horror of the new – unknown and _terrible by its infinitude_. At this stage man experiences the same thing that an animal, becoming a man, would feel. Having looked into _a new world_ for an instant, it is attracted by the life left behind. The world which it saw only for an instant seems but a dream, a vision, the creation of imagination, but the familiar old world, too, is never thereafter the same, it is too narrow, in it there is not sufficient room. The awakening consciousness can no longer live the free life of the beast. Already it knows something different, it hears some voices, even though _the body_ holds it. And the animal does not know where or how it can escape from the body or from itself. A man on the threshold of a new world experiences literally the same thing. He has heard celestial harmonies, and the wearisome songs of earth touch him no longer, nor do they move him – or if they touch and move him it is because they remind him of celestial harmonies, of the inaccessible, of the unknown. He has experienced the sensation of an unusual EXPANSION of consciousness, when everything was clear to him for a moment, and he cannot reconcile himself to the sluggish _earthly_ work of the brain. These moments of the "sensation of infinity" are accompanied by unusual emotions. In theosophical literature, and in books on occultism, it is often asserted that on entering into the "astral" world, man begins to see new colors, colors which are not in the solar spectrum. In this symbolism of the new colors of the "astral sphere" is conveyed the idea of those _new emotions_ which man begins to feel along with the sensation of the expansion of consciousness – "of the sea pouring into the drop." This is the "strange bliss" of which mystics speak, the "heavenly light" which saints "see," the "new" sensations experienced by poets. Even conversational psychology identifies "ecstasy" with entirely unusual sensations, inaccessible and unknown to man in the life of every day. This sensation of _light_ and of unlimited joy is experienced at the moment of the expansion of consciousness (the unfoldment of the _mystical lotus_ of the Hindu yogi), at the moment of the sensation of infinity, and it yields also the sensation of darkness and of unlimited horror. What does this mean? Now shall we reconcile the sensation of light with the sensation of darkness, the sensation of joy with that of horror? Can these exist simultaneously? Do they occur simultaneously? They do so occur, and must be exactly thus. Mystical literature gives us examples of it. The simultaneous sensations of light and darkness, joy and horror, symbolize as it were the strange duality and contradiction of human life. It may happen to a man of dual nature, who following one side of his nature has been led far into "spirit," and on the other side is deeply immersed in "matter," i.e., in illusion, in unreality – to one who believes too much in the reality of the unreal. Generally speaking the sensation of light, of life, of consciousness penetrating all, of happiness, gives a _new_ world. But the same world to the unprepared mind will give the sensation of infinite darkness and horror. In this case the sensation of horror will arise from the _loss of everything real_ , from the disappearance of _this_ world. In order not to experience the horror of the new world, it is necessary to know it beforehand, either emotionally – by faith or love – or intellectually, by _reason_. And in order not to experience horror from the loss of the old world, it is necessary to have renounced it _voluntarily_ either through faith or reason. One must renounce the entire beautiful, bright world in which we are living; one must admit that it is ghostly, phantasmal, unreal, deceitful, illusory, _mayavic_. One must reconcile oneself to this unreality, not be afraid of it, but rejoice at it. One must give up everything. One must become POOR IN SPIRIT, i.e., make oneself _poor_ by the effort of one's spirit. This most profound philosophical truth is expressed in the beautiful evangelical symbol: _Blessed are the poor in spirit: for theirs is the kingdom of heaven_. These words become clear in the sense of a renouncement of the material world only. "Poor in spirit" does not mean poor materially, in the worldly meaning of the word, and still less does it signify _poverty of spirit_. Spiritual poverty is the renouncement of matter; such "poverty" is his when a man has no earth under his feet, no sky above his head. _Foxes have holes, and birds of the air have nests, but the Son of man hath not where to lay his head_. This is the poverty of the man who is _entirely alone_ , because father, mother, other men, even the nearest _here on earth_ he begins to regard differently, not as he regarded them before; and renounces them because he discerns the _true substances_ that he is striving toward; just as, renouncing the phenomenal illusions of the world, he approaches the truly real. The moment of transition – that terrible moment of _the loss of the old_ and _the unfoldment of the new_ – has been represented in innumerable allegories in ancient literature. To make this transition easy was the purpose of the _mysteries_. In India, in Egypt, in Greece, special preparatory rituals existed, sometimes merely symbolical, sometimes real, which actually brought a soul to the very portals of the new world, and opened these portals at the moment of _initiation_. But no outward rituals and ceremonies could take the place of selfinitiation. The great work must have been going on _inside_ the soul and mind of man. But how can _logic_ help a man to pass to the consciousness of a new and higher world? We have seen that MATHEMATICS has already found the path into that higher order of things. Penetrating there, it first of all renounces its _fundamental_ axioms of identity and difference. In the world of infinite and fluent magnitudes, a magnitude may be _not equal to itself; a part may be equal to the whole; and of two equal magnitudes one may be infinitely greater than the other_. All this sounds like an absurdity from the standpoint of the mathematics of finite and constant numbers. But the mathematics of finite and constant numbers is itself the calculation of relations between non-existent magnitudes, i.e., an absurdity. And therefore only that which from the standpoint of this mathematics seems an absurdity, can be the truth. Logic now goes along the same path. It must renounce itself, come to perceive the necessity for its own annihilation – then out of it a new and higher logic can arise. In his _Critique of Pare Reason_ Kant proved the possibility of _transcendental logic_. Before Bacon and earlier than Aristotle, in the ancient Hindu scriptures, the formulæ of this higher logic were given, opening the doors of mystery. But the meaning of these formula was rapidly lost. They were preserved in ancient books, but remained there as some strange mummeries of extinguished thought, the words without real content. New thinkers again discovered these principles, and expressed them in new words, but again they remained incomprehensible, again they suffered transformation into some unnecessary ornamental form of words. _But the idea persisted_. A consciousness of the possibility of finding and establishing the laws of the higher world was never lost. Mystical philosophy never regarded the logic of Aristotle as all embracing and all-powerful. It built its system _outside of logic_ or above logic, unconsciously going along those paths of thought paved in remote antiquity. The higher logic existed before _deductive_ and _inductive_ logic was formulated. This higher logic may be called _intuitive_ logic – the logic of infinity, the logic of ecstasy. Not only is this logic possible, but it exists, and has existed from time immemorial; it has been formulated many times; it has entered into philosophical systems as their key – but for some strange reason _has not been recognized as logic_. It is possible to deduce the system of this logic from many _philosophical_ systems. The most precise and complete formulation of the law of higher logic I find in the writing of Plotinus, in his _On Intelligible Beauty_. I shall quote this passage in the succeeding chapter. I have called this system of higher logic _Tertium Organum_ because _for us_ it is _the third canon_ – third instrument – _of thought_ after those of Aristotle and Bacon. The first was the _Organon_ , the second, _Novum Organum_. But _the third_ existed earlier than the first. Man, master of this instrument, of this key, may open the door of _the world of causes_ without fear. The axioms which _Tertium Organum_ embraces cannot be formulated in our language. If we attempt to formulate them in spite of this, they will produce the impression of absurdities. Taking the axioms of Aristotle as a model, we may express the principal axiom of the new logic in our poor earthly language in the following manner: _A is both A and Not-A_ or, _Everything is both A and Not-A_ or, _Everything is All_. But these axioms are in effect absolutely impossible. They are not the _axioms of higher logic_ ; they are merely _attempts_ to express the axioms of this logic in concepts. In reality the ideas of higher logic are _inexpressible_ in concepts. When we encounter such inexpressibility it means that we have touched the world of causes. The logical formula: _A is both A and Not-A_ , corresponds to the mathematical formula: _A magnitude can be greater or less than itself_. The absurdity of both these propositions shows that they cannot refer to our world. Of course _absurdity_ , as such, is indeed not an index of the attributes of noumena, but the attributes of noumena will certainly be expressed in what are absurdities to us. To hope to find in the world of causes anything logical from our standpoint is just as useless as to think that _the world of things_ can exist in accordance with the laws of _a world of shadows_ or stereometry according to the laws of planimetry. To master the fundamental principles of _higher logic_ means to master the fundamentals of the understanding of _a space of higher dimensions_ , or of the world of the wondrous. In order to approach to a clear understanding of the relations of the multi-dimensional world, we must free ourselves from all the "idols" of _our world_ , as Bacon calls them, i.e., from all obstacles to _correct_ receptivity and reasoning. Then we shall have taken the most important step toward an inner affinity with the world of the wondrous. A two-dimensional being, in order to approach to an understanding of the three-dimensional world, already should have become _a three-dimensional being_ before it can rid itself of its "idols," i.e., of its conventional – converted into axiomatic – ways of feeling and thinking, which create for it the illusion of two-dimensionality. What is it exactly, from which the two-dimensional being must liberate itself? First of all – and most important – from the assurance _that that which it sees and senses really exists_ ; from this will come the consciousness of the incorrectness of its perception of the world, and then the idea that the _real, new_ world must exist in quite other forms – new, incomparable, incommensurable with relation to the old ones. Then the two-dimensional being must overcome its sureness of the correctness of its _categories_. It must understand that things which seem to it different and separate from one another may be parts of some to it incomprehensible _whole_ , or that they have much in common which it does not perceive; and that things which seem to it one and indivisible are in reality infinitely complex and multifarious. The mental growth of the two-dimensional being must proceed along the path of the recognition of those common properties of objects, _unknown to it before_ , which are the result of their similar origin or similar functions, incomprehensible from the point of view of a plane. When once the two-dimensional being has admitted the possibility of the existence of hitherto unknown _common_ properties of objects, which before seemed different, then it has already approached to our own understanding of the world. It has approached to our logic, has begun to understand _the collective name_ , i.e., a word used _not as a proper noun_ , but as an appellate noun – a word expressing a concept. The "idols" of the two-dimensional being, hindering the development of its consciousness, are those _proper nouns_ , which it has itself given to all the objects surrounding it. For such a being each object has its own proper noun, corresponding to its perception of the object; common names, corresponding to concepts, it knows not of. Only by getting rid of these _idols_ , by understanding that the names of things can be not only proper, but common ones as well, will it be possible for it to advance farther, to develop mentally, to approach the human understanding of the world. Take the most simple sentence: _John and Peter are both men_. For the two-dimensional being this will be an absurdity, and it will represent the idea to itself after this fashion: John and Peter are both Johns and Peters. In other words, every one of our logical propositions will be an absurdity to it. Why this is so is clear. Such a being has no concepts; _the proper nouns_ which constitute the speech of such a being have no plurals. It is easy to understand that any plural of our speech will seem to it an absurdity. Where are our "idols?" From what shall we liberate ourselves in order to pass to an understanding of the multi-dimensional world? First of all we must get rid of our assurance that we see and sense that which exists in reality, and that the real world is like the world which we see – i.e., we must rid ourselves of the illusion of the material world. We must understand _mentally_ all the illusoriness of the world perceived by us in space and time, and know that the _real_ world cannot have anything in common with it; to understand that it is impossible to imagine the real world in terms of form; and finally we must perceive the conditionality of the axioms of our mathematics and logic, related as they are to the unreal phenomenal world. In mathematics _the idea of infinity_ will help us to do this. The unreality of finite magnitudes in comparison with infinite ones is obvious. In logic let us dwell upon _the idea of monism_ , i.e., the fundamental unity of everything which exists, and consequently recognize the impossibility of constructing any axioms, which involve the idea of opposites – of theses and antitheses – upon which our logic is built. The logic of Aristotle and of Bacon is at bottom _dualistic_. If we really deeply assimilate the idea of monism, we shall dethrone the "idol" of this logic. The fundamental axioms of our logic reduce themselves to identity and contradiction, just as do the axioms of mathematics. At the bottom of them all lies the admission of our general axiom, namely, that every given _something_ has _something_ opposite to it; therefore every proposition has its antiproposition, every _thesis_ has its _anti-thesis_. To the _existence_ of any thing is opposed the _non-existence_ of that thing. To the existence of the world is opposed the non-existence of the world. _Object_ is opposed to _subject_ ; the objective world to the subjective; the I is opposed to the Not-I; to motion – immobility; to variability – constancy; to unity – heterogeneity; to truth – falsehood; to good – evil. And in conclusion, to every A in general is opposed _Not-A_. The recognition of the reality of these divisions is necessary for the acceptance of the fundamental axioms of the logic of Aristotle and Bacon, i.e., the absolute and incontestable recognition of the _duality of the world_ – of dualism. The recognition of the unreality of these divisions and that of the unity of all opposites is necessary for the comprehension of _higher logic_. At the very beginning of this book the existence of THE WORLD and of THE PSYCHE was admitted, i.e., the reality of the dual division of everything existent, because all other opposites are derived from this opposition. _Duality_ is the condition of _our_ knowledge of the phenomenal (three-dimensional) world; this is the _instrument_ of our knowledge of phenomena. But when we come to the knowledge of the noumenal world (or the world of many dimensions), this duality begins to hinder us, appears as an obstacle to knowledge. _Dualism_ is the chief "idol"; let us free ourselves from it. The two-dimensional being, in order to comprehend the relations of things in three dimensions and our logic, must renounce its "idol" – the absolute singularity of objects which permits it to call them solely by their proper names. We, in order to comprehend the world of many dimensions, must renounce _the idol of duality_. But the application of monism to practical thought meets the in-surmountable obstacle of our language. Our language is incapable of expressing _the unity of opposites_ , just as it cannot express _spatially_ the relation of cause to effect. Therefore we must reconcile ourselves to the fact that all attempts to express _super-logical_ relations in our language will seem absurdities, and really can only _give hints_ at that which we wish to express. Thus the formula, _A is both A and Not-A_ , or, _Everything is both A and Not-A_ , representing the principal axioms of higher logic, expressed in our language of concepts, sounds absurd from the standpoint of our usual logic, _and is not essentially true_. Let us therefore reconcile ourselves to the fact that it is _impossible_ to express super-logical relations in our language as it is at present constituted. The formula, " _A is both A and Not-A_ " is untrue because in the world of causes there exists no opposition between " _A_ " and " _Not-A_." But we cannot express their real relation. It would be more correct to say: _A is all_. But this also would be untrue, because "A" is not only _all_ , but also _an arbitrary part_ of all, and at the same time a _given_ part. This is exactly the thing which our language cannot express. It is to this that we must accustom our thought, and train it along these lines. We must train our thought to the idea that separateness and inclusiveness are not opposed in the real world, but exist together and simultaneously without contradicting one another. Let us understand that in the real world one and the same thing can be both a part and the whole, i.e., that the whole, without changing, can be its own part; understand that there are no opposites in general, that _everything_ is a certain _image of all_. And then, beginning to understand all this, we shall grasp the separate ideas concerning the essentials of the "noumenal world," or _the world of many dimensions_ in which we really live. In such case the _higher logic_ , even with its imperfect formulæ, as they appear in our rough language of concepts, represents in spite of this a powerful instrument of knowledge of the world, our only means of preservation from deceptions. The application of this instrument of thought gives the key to the mysteries of nature, to _the world as it is_. Let us endeavor to enumerate those properties of THE WORLD OF CAUSES which result from all the foregoing. It is first of all necessary to reiterate that it is impossible to express in words the properties of the world of causes. Every thought _expressed_ about them in our ordinary language will be _false_. That is, we may say in relation to the "real" world that " _every spoken thought is a lie_." It is possible to speak about it only conditionally. by hints, by symbols. And if one _interprets literally anything said about it_ , nothing but absurdity results. Generally speaking, _everything said in words_ regarding the world of causes is likely to seem absurd, and _is in reality its mutilation_. The truth it is impossible to express; it is possible only to give a hint at it, to give an impulse to thought. But everyone must discover the truth for himself. "Another's truth" is worse than a lie, because it is _two lies_. This explains why truth very often can be expressed only by means of paradox, or even in the form of a lie. Because, in order to speak of truth without a lie, we should know some other language – ours is unsuitable. What then are we able to say about the world of many dimensions, about the world of noumena, or world of causes? 1. In that world "TIME" must exist spatially, i.e. _temporal_ events must exist and not happen – exist before and after their manifestation, and be located in one section, as it were. Effects must exist simultaneously with causes. That which we name _the law of causality_ cannot exist there, because time is a necessary condition for it. There cannot be anything which is measured by years, days, hours – there cannot be before, now, after. _Moments_ of different epochs, divided by great intervals of time, exist simultaneously, and may touch one another. Along with this, all the _possibilities_ of a given moment, even those opposite to one another, and all their results up to infinity, must be _actualized_ simultaneously with a given moment, but the length of a moment can be different on different planes. 2. There is nothing measurable by our measures, nothing _commensurable_ with our objects, nothing _greater or less_ than our objects. There is nothing situated on the right or left side, above or below one of our objects. There can be nothing _similar_ to our objects, lines or figures and at the same time exist. Different _points_ in our space, divided for us by enormous distances, may meet there. "Distance" or "proximity" are there defined by inner "affinity" or "remoteness," by sympathy or antipathy, i.e., by properties which seem to us to be subjective. 3. There is neither matter nor motion. There is nothing that could possibly be weighed or photographed, or expressed in the formulæ of physical energy. There is nothing which has _form, color_ or _odor_ – nothing possessing the properties of physical bodies. Nevertheless, the properties of the world of causes, granted an understanding of certain laws, can be considered in enumerated categories. 4. There is nothing dead or unconscious. Everything lives, everything breathes, thinks, feels; everything is conscious, and everything speaks. 5. In that world the axioms of our mathematics cannot be applied, because there is nothing _finite_. Everything there is infinite and, from our standpoint, _variable_. 6. The laws of our logic cannot act there. From the standpoint of our logic, that world is _illogical_. This is the realm the laws of which are expressed in _Tertium Organum_. 7. The _separateness_ of our world does not exist there. _Everything is the whole_. And each particle of dust, without mentioning of course every life and every conscious being, lives a life which is _one with the whole_ and includes _the whole_ within itself. 8. In that world the _duality_ of our world cannot exist. There _being_ is not opposed to _non-being_. _Life_ is not opposed to _death_. On the contrary, the one includes the other within itself. The unity and multiplicity of the I; the I and the Not-I; motion and immobility; union and separateness; good and evil; truth and falsehood – all these divisions are impossible there. _Everything subjective is objective, and everything objective is subjective_. That world is the world of the _unity of opposites_. 9. The sensation of the _reality_ of that world must be accompanied by the sensation of the _unreality_ of this one. At the same time the difference between real and unreal cannot exist there, just as the difference between subjective and objective cannot exist. 10. _That world_ and _our world_ are not two different worlds. The world is one. That which we call our world is merely _our incorrect perception of the world_ : the world seen by us through a narrow slit. _That world_ begins to be sensed by us as _the wondrous_ , i.e., as something opposite to the reality of _this world_ , and at the same time this, our earthly world, begins to seem unreal. _The sense of the wondrous_ is the key to that world. 11. But everything that can be said about it will not define our relation to that world until we come to understand that even comprehending it we will not be able to grasp it as a whole, i.e., in all its variety of relations, but can think of it only in this or that aspect. 12. Everything that is said about the world of causes refers also to _the All_. But between our world and _the All_ there may be many transitions. # **Chapter 22** Theosophy of Max Müller. Ancient India. Philosophy of the Vedãnta. _That twam asi_. Knowledge by means of the expansion of consciousness as a reality. Mysticism of different ages and peoples. Unity of experiences. Tertium Organum as a key to mysticism. Signs of the noumenal world. Treatise of Plotinus _On Intelligible Beauty_ as a misunderstood system of higher logic. Illumination in Jacob Boehme. "A harp of many strings, of which each string is a separate instrument, while the whole is only one harp." Mysticism of _The Love of the Good_. St. Avva Dorotheus and others. Clement of Alexandria. Lao-Tzu and Chuang-Tzu. Light on the Path. The Voice of the Silence. Mohammedan mystics. Poetry of the Sufis. Mystical states under narcotics. _The Anæthetic Revelation_. Experiments of Prof. James. Dostoyevsky on "time" ( _The Idiot_ ). Influence of nature on the soul of man. TO TRACE HISTORICALLY the process of the development of those ideas and systems founded upon higher logic or proceeding from it, would indeed be a matter of great interest and importance. But this would be difficult and almost impossible of accomplishment because we lack definite knowledge of the time and origin, the means of transmitting, and the sequence of ideas in ancient philosophical systems and religious teachings. There are innumerable guesses and speculations concerning the manner of this succession. Many of these guesses and speculations are accepted as unquestioned until new ones appear which controvert them. The opinions of different investigators in regard to these questions are very divergent, and the truth is often difficult to determine – it would be more accurate to say "impossible" if conclusions had to be based upon the material accessible to logical investigation. I shall not dwell at all on the question of the _succession of ideas_ , either from the historical or any other point of view. The proposed outline of systems which refer to the world of noumena is not intended to be complete. This is not "the history of thought," but merely examples of movements of thought which have led to similar conclusions. In the book _Theosophy_ ( _or Psychological Religion_ ) the noted scholar Max Müller gives an interesting analysis of mystical religions and mystical philosophical systems. He dwells much on India and her teachings. That which we can study nowhere but in India is the all-absorbing influence which religion and philosophy may exercise on the human mind. So far as we can judge a large class of people in India, not only the priestly class, but the nobility also, not men only but women, never looked upon their life on earth as something real. What was real to them was the invisible, the life to come. What formed the theme of their conversations, whet formed the subject of their meditations, was the real that alone lent some kind of reality to this unreal phenomenal world. Whoever was supposed to have caught a new ray of truth was visited by young and old, was honored by princes and by kings, was looked upon indeed as holding a position far above that of kings and princes. This is the side of life of ancient India which deserves our study, because there has been nothing like it in the whole world, not even in Greece or Palestine. I know quite well, [says Müller] that there never can be a whole nation of philosophers or metaphysical dreamers... and we must never forget that all through history, it is the few, not the many, who impress their character on a nation, and have a right to represent it as a whole. What do we know of Greece at the time of the Ionian and Eleatic philosophers, except the utterances of Seven Sages? What do we know of the Jews at the time of Moses, except the traditions preserved in the Laws and the Prophets? It is the prophets, the poets, the lawgivers and teachers, however small their number, who speak in the name of the people, and who alone stand out to represent the nondescript multitude behind them, to speak their thoughts and to express their sentiments. Real Indian philosophy, even in that embryonic form in which we find it in the _Upanishads_ , stands completely by itself. And if we ask what was the highest purpose of the teachings of the _Upanishads_ we can state it in three words, as it has been stated by the greatest _Ved ānta_ teachers themselves, namely _That twam asi_. This means _Thou art That_. _That_ stands for that which is known to us under different names in different systems of ancient and modern philosophy. It is _Zeus_ or the _Eis Theos_ or _To On_ in Greece; it is what Plato meant by the _Eternal Idea_ , what Agnostics call the _Unknowable_ , what I call the _Infinite in Nature_. This is what in India is called _Brahma_ , the being behind all beings, the power that emits the universe, sustains it and draws it back again to itself. The _Thou_ is what I called the _Infinite in man_ , the Soul, the Self, the being behind every human Ego, free from all bodily fetters, free from passions, free from all attachments ( _Atman_ ). The expression: _Thou art That_ – means: thy soul is the Brahma; or in other words, the subject and the object of all being and of all knowing are one and the same. This is the gist of what I call _Psychological Religion_ or _Theosophy_ , the highest summit of thought which the human mind has reached, which has found different expressions in different religions and philosophies, but nowhere such a clear and powerful realization as in the ancient _Upanishads_ of India. For as long as the individual soul does not free itself from Nescience, or a belief in duality, it takes something else for itself. True knowledge of the Self or true self-knowledge, expresses itself in the words, " _Thou art That_ " or " _I am Brahma_ ," the nature of Brahma being unchangeable eternal cognition. Until that stage has been reached, the individual soul is fettered by the body, by the organs of sense, nay even by the mind and its various functions. The Soul (The Self) says the Vedãnta philosopher, cannot be different from the _Brahma_ , because _Brahma_ comprehends _all_ reality and nothing that really is can therefore be different from _Brahma_. Secondly, the individual self cannot be conceived as a modification of _Brahma_ , because _Brahma_ by itself cannot be changed, whether by itself, because it is one and perfect in itself, or by anything outside of it (because there exists nothing outside of it). Here we see [says Müller], the Vedãntist moving on exactly the same stratum of thought in which Eleatic philosophers moved in Greece. "If there is one Infinite," they said, "there cannot be another, for the other would limit the one, and thus render it finite, so, as applied to God, the Eleatics argued: "If God is to be the mightiest and the best, he must be one, for if there were two or more, he would not be the mightiest and best." The Eleatics continued their monistic argument by showing that this One Infinite Being cannot be divided, so that anything could be called a portion of it, because there is no power that could separate anything from it. Nay, it cannot even have parts, for, as it has no beginning and no end, it can have no parts, for a part has a beginning and an end. These Eleatic ideas – namely that there is and there can be only One Absolute Being, infinite., unchangeable, without a second, without parts and passions – are the same ideas which underlie the _Upanishads_ and have been fully worked out in the _Ved ānta-Sutras_. In most of the religions of the ancient world [says Müller] the relation between the soul and God has been represented as a return of the soul to God. A yearning for God, a kind of divine home-sickness, finds expression in most religions, but the road that is to lead us home, and the reception which the soul may expect in the Father's house have been represented in very different ways in different religions. According to some religious teachers, a return of the soul to God is possible after death only.... According to other religious teachers, the final beatitude of the soul can be achieved in this life.... That beatitude requires knowledge only, knowledge of the necessary unity of what is divine in man with what is divine in God. The Brahmins call it self-knowledge, that is to say, the knowledge that our true self, if it is anything, can only be that Self which is All in All, and beside which there is nothing else. Sometimes this conception of the intimate relation between the human and the divine natures comes suddenly, as the result of an unexplained intuition or self-recollection. Sometimes, however, it seems as if the force of logic had driven the human mind to the same result. If God had once been recognized as the Infinite in nature and the soul as the Infinite in man, it seemed to follow that there could not be two Infinites. The Eleatics had clearly passed through a similar phase of thought in their own philosophy. If there is an Infinite, they said, it is one, for if there were two they could not be In-finite, but would be finite one toward the other. But that which exists is infinite, and there cannot be more such. Therefore that which exists is one. Nothing can be more definite than this Eleatic Monism, and with it the admission of a soul, the Infinite in man, as different from God, the Infinite in nature, would have been inconceivable. In India it was so expressed that _Brahma_ and _Atman_ (the spirit) were in their nature one. The early Christians also, at least those who had been brought up in the schools of Neo-platonist philosophy, had a clear perception that if the soul is infinite and immortal in its nature, it cannot be anything beside God, but that it must be of God and in God. St. Paul gave but his own bold expression to the same faith or knowledge, when he uttered the words which have startled so many theologians: _In Him we live and move and have our being_. If anyone else had uttered these words they would at once have been condemned as pantheism. No doubt they are pantheism, and yet they express the very key-note of Christianity. The divine sonship of man is only a metaphorical expression but it was meant originally to embody the same idea.... And when the question was asked how the consciousness of this divine sonship could ever have been lost, the answer given by Christianity was, by sin, the answer given by the _Upanishads_ was, by _avidya_ , nescience. This marks the similarity, and at the same time the characteristic difference between these two religions. The question how _nescience_ laid hold on the human soul, and made it imagine that it could live or move or have its true being anywhere but in _Brahma_ , remains as unanswerable in Hindu philosophy as in Christianity the question how sin first came into the world. Both philosophies, that of the East and that of the West [says Müller] start from a common point, namely from the conviction that our ordinary knowledge is uncertain, if not altogether wrong. This revolt of the human mind against itself is the first step in all philosophy. In our own philosophical language we may put the question thus: how did the real become phenomenal, and how can the phenomenal become real again? Or, in other words, how was the infinite changed into the finite, how was the eternal changed into the temporal, and how can the temporal regain its eternal nature? Or, to put it into more familiar language, how was this world created, and how can it be untreated again? Nescience or _avidya_ is regarded as the cause of the phenomenal semblance. In the _Upanishads_ the meaning of _Brahma_ changes. Sometimes it is almost an objective God, existing separately from the world. But then we see _Brahma_ as the essence of all things... and the soul, knowing that it is no longer separated from that essence, learns the highest lesson of the whole _Ved ānta_ doctrine: _That twam asi_ ; " _Thou art That_ ," that is to say, "Thou who for a time didst seem to be something by thyself, art that, art really nothing apart from the divine essence." To know _Brahma_ is to be Brahma.... Almost in the same words as the Eleatic philosophers and the German mystics of the fourteenth century, the Vedantists argue that it would be self-contradictory to admit that there could be anything besides the Infinite or _Brahma_ , which is All in All, and that therefore the soul also cannot be anything different from it, can never claim a separate and independent existence. _Brahma_ has to be conceived as perfect, and therefore unchangeable, the soul cannot be conceived as a real modification or deterioration of Brahma. And as _Brahma_ has neither beginning nor end, neither can it have any parts; therefore the soul cannot be a part of _Brahma_ , but the whole of _Brahma_ must be present in every individual soul. This is the same as the teaching of Plotinus, who held with equal consistency, that the True Being is totally present in every part of the Universe. The _Ved ānta_ philosophy rests on the foundation thesis that the soul or the Absolute Being or _Brahma_ , are one in their essence... The fundamental principle of the _Ved ānta_-philosophy is that in reality there exists and there can exist nothing but _Brahma_ , that _Brahma_ is everything. Idealistic philosophy has swept away this world-old prejudice more thoroughly in India than anywhere else. The nescience (which creates the separation between the individual soul and Brahma) can be removed by science or knowledge only. And this knowledge or _vidya_ is imparted by the _Ved ānta_, which shows that all our ordinary knowledge is simply the result of ignorance or nescience, is uncertain, deceitful, and perishable, or as we should say, is phenomenal, relative, and conditioned. The true knowledge or complete insight cannot be gained by sensuous perception nor by inference. According to the orthodox Vedantist, _Sruti_ alone, or what is called revelation, can impart that knowledge and remove that nescience which is innate in human nature. Of the Higher _Brahma_ nothing can be predicated but that it is, and that through our nescience, it appears to be this or that. When a great Indian sage was asked to describe _Brahma_ , he was simply silent – that was his answer. When it is said that _Brahma_ is, that means at the same time that Brahma is not; that is to say, that _Brahma_ is nothing of what is supposed to exist in our sensuous perceptions. Whatever we may think of this philosophy, we cannot deny its metaphysical boldness and its logical consistency. If _Brahma_ is all in all, the One without a second, nothing can be said to exist that is not _Brahma_. there is no room for anything outside the infinite and the Universal, nor is there room for two infinites, for the infinite in nature and the infinite in man. There is and there can be one infinite, one _Brahma_ only. This is the beginning and the end of the _Ved ānta_. As the shortest summary of the ideas of the _Ved ānta_ two verses of _Sankara_ , the commentator and interpreter of _Ved ānta_ are often quoted: _Brahma is true, the world is false._ _The soul is Brahma and is nothing else_. This is really a very perfect summary. What truly and really exists is Brahma, the One Absolute Being; the world is false, or rather is not what it seems to be; that is, everything which is present to us by means of sense is phenomenal and relative, and can be nothing else. The soul again, or rather every man's soul, though it may seem to be this or that, is in reality nothing but Brahma. In relation to the question of the origin of the world two famous commentators of the _Ved ānta, Sankara_ and _R āmānuja_ differ. _R āmānuja_ holds to the theory of evolution, _Sankara_ – to the theory of illusion. It is very important to observe that the Vedãntist does not go so far as certain Buddhist philosophers who look upon the phenomenal world as simply _nothing_. No, their world is real, only it is not what it seems to be. Sankara claims for the phenomenal world a reality sufficient for all practical purposes, sufficient to determine our practical life, our moral obligations. There _is_ a veil. But the _Ved ānta_-philosophy teaches us that the eternal light behind it can always be perceived more or less clearly through philosophical knowledge. It can be perceived, because in reality it is always there. It may seem strange to find the results of the philosophy of Kant and his followers thus anticipated under varying expressions in the _Upanishads_ and in the Vedãnta-philosophy of ancient India. In the chapters about the _Logos_ and about _Christian Theosophy_ Max Müller says that religion is the bridge between the _Visible_ and the _Invisible_ , between _Finite_ and _Infinite_. It may be truly said that the founders of the religions of the world have all been bridge-builders. As soon as the existence of a Beyond, of a Heaven above the earth, of Powers above us and beneath us has been recognized, a great gulf seemed to be fixed. Among contemporary thinkers the noted psychologist, Prof. William James, approached nearer than all others to the ideas of Max Muller's theosophy. In the last chapter of his book, _The Varieties of Religious Experience_ , Prof. James says: The warring gods and formulas of the various religions do indeed cancel each other, but there is a certain uniform deliverance in which religions all appear to meet – this is _the liberation of the soul_.... Man becomes conscious that if his higher part is conterminous and continuous with a MORE of the same quality, which is operative in the universe outside of him, and which he can keep in working touch with, and in a fashion get on board of, he can save himself when all his lower being has gone to pieces in the wreck. What is the objective "Truth" of content of religious experiences? Is such a "more" merely our own notion, or does it really exist? If so, in what shape does it exist? And in what form should we conceive of that "union" with it of which religious geniuses are so convinced? It is in answering these questions that the various theologies perform their theoretic work, and that their divergences most come to light. They all agree that the "more" really exists; though some of them hold it to exist in the shape of a personal God or gods while others are satisfied to conceive it as a stream of ideal tendency.... It is when they treat of the experience of "union" with it that their speculative differences appear most clearly. Over this point pantheism and theism, nature and second birth, works and grace and Karma, immortality and reincarnation, rationalism and mysticism, carry on inveterate disputes. At the end of my lecture on Philosophy I held out the notion that an impartial science of religions might sift out from the midst of their discrepancies a common body of doctrine which she might also formulate on terms to which physical science need not object. This, I said, she might adopt as her own reconciling hypothesis, and recommend it for general belief. Let me then propose, as a hypothesis that whatever it may be on its _farther_ side, the "more" with which in religious experience we feel ourselves connected is on its _hither_ side the subconscious continuation of our conscious life. The conscious person is continuous with a wider self.... The further limits of our being plunge; it seems to me, into an altogether other dimension of existence from the sensible and merely "understandable" world. Name it the mystical region, or the super-natural region.... We be, long to it, in a more intimate sense than that in which we belong to thy, visible world, for we belong in the most intimate sense wherever our ideals belong.... The communion with this invisible world is a real process with real results.... ... Personal religious experience has its roots and centre in mystical states of consciousness. But what, after all, is mysticism? Returning to the terminology established in the foregoing chapters, we may say that "mystical states of consciousness" are closely bound up with knowledge received under conditions of expanded receptivity. Until quite recently psychology did not recognize the reality of the mystical experience and regarded all mystical states as _pathological ones_ – unhealthy conditions of the normal consciousness. Even now, many positivist-psychologists hold to this opinion, embracing in one common classification real mystical states, pseudo-mystical perversions of the usual state, purely psychopathic states and more or less conscious deceit. This of course can be of no assistance to a correct understanding of the question. Before going further let us therefore establish certain criteria for the identification of real mystical states: Prof. James enumerates the following: ineffability, noetic quality, transiency, passivity. But some of these characteristics belong also to _simple emotional states_ , and he fails to define exactly how mystical states can be distinguished from emotional ones of analogous character. Considering mystical states as "knowledge by expanded consciousness," it is possible to give quite definite criteria for their discernment and their differentiation from the generality of psychic experiences. 1. Mystical states give _knowledge_ WHICH NOTHING ELSE CAN GIVE. 2. Mystical states give knowledge of the _real world_ with all its signs and characteristics. 3. The mystical states of men of different ages and different peoples exhibit an astonishing similarity, sometimes amounting to complete identity. 4. The results of the mystical experience are _entirely illogical_ from our ordinary point of view. They are _super-logical_ , i.e., _Tertium Organum_ , WHICH IS THE KEY TO MYSTICAL EXPERIENCE, is applicable to them in all its entirety. The last-named criterion is especially important – the _illogicality_ of the data of mystical experience forced science to repudiate them. Now we have established that illogicality (from our standpoint) is the necessary condition of the knowledge of truth or of the real world. This does not mean that everything that is illogical is true and real, but it means absolutely, that everything true and real is _illogical_ from our standpoint. We have established the fact that it is impossible to approach the truth with our logic, and we have also established the possibility of penetrating into these heretofore inaccessible regions by means of _the new canon of thought_. The consciousness of the necessity for such an instrument of thought undoubtedly existed from far back. For what, in substance, does the formula _That twam asi_ represent if not THE FUNDAMENTAL AXIOM OF HIGHER LOGIC? Thou art That means: _thou art both thou and not thou_ , and corresponds to the super-logical formula, _A is both A and Not-A_. If we examine ancient writings from this standpoint, then we shall understand that their authors were searching for _a new logic_ , and were not satisfied with the logic of the things of the phenomenal world. The seeming _illogicality_ of ancient philosophical systems, which portrayed an ideal world, as it were, instead of an existing one, will then become comprehensible, for in these portrayals of an ideal world, systems of higher logic often lie concealed. One of such _misunderstood_ attempts to construe a system of higher logic, to give a precise instrument of thought, penetrating beyond the limits of the visible world, is the treatise by Plotinus _On Intelligible Beauty_. Describing HEAVEN and THE GODS, Plotinus says: All the gods are venerable and beautiful, and their beauty is immense. What else however is it but intellect through which they are such? And because intellect energizes in them in so great a degree as to render them visible (by its light)? For it is not because their bodies are beautiful. For these gods that have bodies do not through this derive their subsistence as gods; but these also are gods through intellect. For they are not at one time wise, and at another destitute of wisdom; but they are always wise, in an impassive, stable and pure intellect. They likewise know all things, not human concerns (precedaneously) but their own, which are divine, and such as intellect sees.... For all things there are heaven, and there the earth is heaven, as also are the sea, animals, plants, and men. The gods likewise that it contains do not think men undeserving of their regard, nor anything else that is there (because everything there is divine). And they occupy and pervade without ceasing the whole of that (blissful) region. For the life which is there is unattended with labor, and truth (as Plato says in the _Phædrus_ ) is their generator, and nutriment, their essence and nurse. They likewise see all things, not those with which generation, but those with which essence is present. And they perceive themselves in others. For all things there are diaphanous; and nothing is dark and resisting, but everything is apparent to everyone internally and throughout. For light everywhere meets with light; _since everything contains all things in itself and again sees all things in another. So that all things are everywhere, and all is all. Each thing likewise is everything_. And the splendor there is infinite. For everything there is great, since even that which is small is great. _The sun too which is there is all the stars; and again each star is the sun and all the stars... In each however, a different property predominates, but at the same time all things are visible in each_. Motion likewise there is pure; for the motion is not confounded by a mover different from it. Permanency also suffers no change of its nature, because it is not mingled with the unstable. And the beautiful there is beautiful, because it does not subsist in beauty (as in a subject). Each thing too is there established, not as in a foreign land, but the seat of each thing is that which each thing is.... Nor is the thing itself different from the place in which it subsists. For the subject of it is intellect, and it is itself intellect... _There each part always proceeds from the whole, and is at the same time each part and the whole. For it appears indeed as a part; but by him whose sight is acute, it will be seen as a whole_.... There is likewise no weariness of the vision which is there, nor any plenitude of perception which can bring intuition to an end. For neither was there any vacuity, which when filled might cause the visive energy to cease; nor is this one thing, but that another, so as to occasion a part of one thing is not to be amicable with that of another. And the knowledge which is possible there is insatiable.... For by seeing itself more abundantly it perceives both itself and the objects of its perception to be infinite, it follows its own nature (in unceasing contemplation). The life there is wisdom; a wisdom not obtained by a reasoning process, because the whole of it always was, and is not in any respect deficient, so as to be in want of investigation. But it is the first wisdom, and is not derived from another. Closely akin to Plotinus is Jacob Boehme, who was a common shoemaker in the German town of Goerlitz (end of the XVI and the beginning of the XVII century), and has left a whole series of remarkable writings in which he describes revelations vouchsafed him in moments of illumination. His first "illumination" occurred in 1600 A.D., when he was twenty-five years old. Sitting one day in his room, _his eyes fell upon a burnished pewter dish, which refiected the sunshine with such marvelous splendor that he fell into an inward ecstasy_ , and it seemed to him as if he could now look into the principles and deepest foundations of things. He believed that it was only a fancy, and in order to banish it from his mind he went out upon the green. But here he remarked that he gazed into the very heart of things, the very herbs and grass, and that actual nature harmonized with what he had inwardly seen. He said nothing of this to anyone, but praised and thanked God in silence. Of the first illumination Boehme's biographer says: "He learned to know the innermost foundation of nature, and acquire the capacity to see henceforth with the eyes of the soul into the heart of all things, a faculty which remained with him even in his normal condition." About the year 1600, in the twenty-fifth year of his age, he was again surrounded by the divine light and replenished with the heavenly knowledge; insomuch as going abroad in the fields to a green before Neys Gate, at Goerlitz, he there sat down and, viewing the herbs and grass of the field in his inward light, he saw into their essences, use and properties, which were discovered to him by their lineaments, figures and signatures. In like manner he beheld the whole creation, and from that foundation he afterwards wrote his book, " _De Signature Rerum_." In the unfolding of those mysteries before his understanding he had a great measure of joy, yet returned home and took care of his family and lived in great peace and silence, scarce intimating to any these wonderful things that had befallen him, and in the year 1610, being again taken into this light, lest the mysteries revealed to him should pass through him as a stream, and rather for a memorial than intending any publication, he wrote his first book, called "Aurora, or the Morning Redness." The first illumination, in 1600, was not complete. Then years later (1610) he had another remarkable inward experience. What he had previously seen only chaotically, fragmentarily, and in isolated glimpses, he now beheld as a coherent whole and in more definite outlines. When his third illumination took place, that which in former visions had appeared to him chaotic and multifarious was now recognized by him as a unity, _like a harp of many strings, of which each string is a separate instrument, while the whole is only one harp_. He now recognized the divine order of nature, and how from the trunk of the tree of life spring different branches, bearing manifold leaves and flowers and fruits, and he became impressed with the necessity of writing down what he saw and preserved the record. He himself speaks of this final and complete illumination as follows: The gate was opened to me that in one quarter of an hour I saw and knew more than if I had been many years at a university, at which I exceedingly admired and thereupon turned my praise to God for it. For I saw and knew the being of all beings, the byss and abyss and the eternal generation of the Holy Trinity, the descent and original of the world and of all creatures through divine wisdom. I knew and saw in myself all the three worlds, namely, (1) the divine (angelical and paradisical) (2) and the dark (the original of the nature to the fire) and (3) then the external and visible world (being a procreation or external birth from both the internal and spiritual worlds). And I saw and knew the whole working essence in the evil and the good and the original and the existence of each of them; and likewise how the fruitful – bearing – womb of eternity brought forth. So that I did not only greatly wonder at it but did also exceedingly rejoice. Describing "illuminations" Boehme writes, in one of his books: Suddenly... my spirit did break through... even into the innermost birth of Geniture of the Deity, and there I was embraced with love, as a bridegroom embraces his dearly beloved bride. But the greatness of the triumphing that was in the spirit I cannot express either in speaking or writing; neither can it be compared to anything, but that wherein the life is generated in the midst of death, and it is like the resurrection from the dead. In this light my spirit suddenly saw through all, and in and by all creatures, even in herbs and grass, it knew God, who he is, and how he is, and what his work is; and suddenly in that light my will was set on, by a mighty impulse, to describe the being of God. But because I could not presently apprehend the deepest births of God in their being and comprehend them in my reason, there passed almost twelve years before the exact understanding thereof was given me. And it was with me as with a young tree which is planted on the ground, and at first is young and tender, and flourishing to the eye, especially if it comes on lustily in its growing. But it does not bear fruit presently; and, though it blossoms, they fall off; also many a cold wind, frost and snow, puff upon it, before it comes to any growth and bearing of fruit. Boehme's books are full of wonderment before these mysteries with which he was confronted: I was as simple concerning the hidden mysteries as the meanest of all; but _my vision of the wonders of God_ taught me, so that I must write of his wonders; though indeed my purpose is to write this for a memorandum for myself.... _Not I, the I that I am, know these things: but God knows them in me_. If you will behold your own self and the outer world, and what is taking place thereon, you will find that you, with regard to your external being, are that external world. The _Dialogues_ between _Disciple_ and _Master_ are remarkable (Disciple and Master should be understood to refer to the lower and the higher consciousness of man): _The Disciple_ said to his Master: How may I come to the supersensual life, that I may see God and hear him speak? His _Master_ said: When thou canst throw thyself but for a moment into that where no creature dwelleth, then thou hearest what God speaketh. _Disciple_ – Is that near at hand or far off? _Master_ – It is in thee. And if thou canst for a while but cease from all thy thinking and willing, then thou shalt hear the unspeakable words of God. _Disciple_ – How can I hear him speak, when Ii stand still from thinking and willing? _Master_ – When thou standest still from the thinking of self, and the willing of self; "When both thy intellect and will are quiet, and passive to the impressions of the Eternal Word and Spirit; And when thy soul is winged up, and above that which is temporal, the outward senses, and the imagination being locked up by holy abstraction," then the Eternal hearing, seeing, and speaking, will be revealed in thee; and so God "heareth and seeth through thee," being now the organ of his spirit; and so God speaketh in thee, and whispereth to thy spirit, and thy spirit heareth his voice. Blessed art thou therefore if that thou canst stand still from self-thinking and self-willing, and canst stop the wheel of imagination and senses; forasmuch as hereby thou mayest arrive at length to see the great salvation of God, being made capable of all manner of Divine sensations and heavenly communications. Since it is naught indeed but thine own hearing and willing that do wonder thee, so that thou dost not see and hear God. _Disciple_ – Loving Master, I can no more endure anything should divert me, how shall I find the nearest way to him? _Master_ – Where the way is hardest there walk thou, and take up what the world rejecteth; and what the world doth, that do not thou. Walk contrary to the world in all things. And then thou comest the nearest way to him. _Disciple_ –... Oh how may I arrive at the unity of will, and how come into the unity of vision? _Master_ –... Mark now what I say: The Right Eye looketh in thee into Eternity. The Left Eye looketh backward in thee into time. If now thou sufferest thyself to be always looking into nature, and the things of time, it will be impossible for thee ever to arrive at the unity, which thou wishest for. Remember this; and be upon thy watch. Give not thy mind leave to enter in, nor to fill itself with, that which is without thee; neither look thou backward upon thyself... Let not thy Left Eye deceive thee, by making continually one representation after another, and stirring up thereby an earnest longing in the self-propriety; but let thy Right Eye command back this Left... And only bringing the Eye of Time into the Eye of Eternity... and descending through the Light of God into the Light of Nature... shalt thou arrive at the Unity of Vision or Uniformity of Will. In another dialogue the Disciple and the Master converse about heaven and hell. The Disciple asked his Master: Whither go the souls when they leave these mortal bodies? His Master answered: The soul needeth no going forth anywhere. _Disciple_ – Does it not enter into heaven or hell? _Master_ – No, there is no such kind of entering.... The soul hath heaven and hell in itself... and whether of the two states – either heaven or hell – shall be manifested in the soul, in that it standeth. The quotations given here are sufficient to indicate the character of the writings of an unlearned _shoemaker_ from a little provincial town in Germany of the XVI – XVII centuries. Boehme is remarkable for the bright intellectuality of his comprehensions, although there is in them a strong moral element also. In the book above mentioned ( _The Varieties of Religious Experience_ ) Prof. James dwells with great attention on Christian Mysticism, which afforded him much material for establishing the fact of the cognitive aspect of mysticism. I borrow from him the following description of the mystical experiences of certain Christian saints. St. Ignatius confessed one day to Father Laynez that a single hour of meditation at Manfesa had taught him more truths about heavenly things than all the teachings of all the doctors put together could have taught him.... One day in orison, on the steps of the choir of the Dominican Church, he saw in a distinct manner the plan of divine wisdom in the creation of the world. On another occasion, during a procession, his spirit was ravished on God, and it was given him to contemplate, in a form and images fitted to the weak understanding of a dweller on earth, the deep mystery of the holy Trinity. This last vision flooded his heart with such sweetness, that mere memory of it in after times made him shed abundant tears. "One day, being in orison," Saint Teresa writes, "it was granted me to perceive in one instant how all things are seen and contained in God. I did not perceive them in their proper form, and nevertheless the view I had of them was of a sovereign clearness and has remained vividly impressed upon my soul. It is one of the most signal of all the graces which the Lord has granted me.... The view was so subtle and delicate that the understanding cannot grasp it." She goes on to tell [Prof. James writes] how it was as if the Deity was an enormous and sovereignly limpid diamond, in which all our actions were contained in such a way that their full sinfulness appeared evident as never before. "Our Lord made me comprehend," she writes, "in what way it is that one God can be in three Persons. He made me see it so clearly that I remained as extremely surprised as I was comforted... and now, when I think of the holy Trinity, or hear it spoken of, I understand how the three adorable Persons form only one God and I experienced an unspeakable happiness." Christian mysticism, as Prof. James shows, is very near to the _Ved ānta_ and the _Upanishads_. That fountain-head of Christian mysticism, Dionysius the Areopagite, tells about the absolute truth in _negative formulc only_. "The cause of all things is neither soul nor intellect; nor has it imagination, opinion, or reason, or intelligence; nor is it reason or intelligence; nor is it spoken or thought. It is neither number, nor order, nor magnitude, nor littleness, nor equality, nor inequality, nor similarity, nor dissimilarity. It neither stands, nor moves, nor rests.... It is neither essence, nor eternity, nor time. Even intellectual contact does not belong to it. Art is neither science nor truth. It is not even royalty or wisdom; not one; not unity; not divinity or goodness nor even spirit as we know it." The writings of the mystics of the Greek Orthodox Church are collected in the books _The Love of the Good_ , comprising five large and formidable volumes. I selected several examples of profound and fine mysticism from the book, _Superconsciousness and the Paths to its Attainment_ , by M. V. Lodizhensky (In Russian), who studied these books and found therein remarkable examples of philosophical thought. Imagine a circle, says Avva Dorotheus VII century], and in the middle of it a centre; and from this centre forthgoing radii-rays. The farther these radii go from the centre, the more divergent and remote from one another they become; conversely, the nearer they approach to the centre, the more they come together among themselves. Now suppose that this circle is the world: the very middle of it, God; and the straight lines (radii) going from the centre to the circumference, or from the circumference to the centre, are the paths of life of men. And in this case also, to the extent that the saints approach the middle of the circle, desiring to approach God, do they, by so doing, come nearer to God and to one another.... Reason similarly with regard to their withdrawing from God... they withdraw also from one another, and by so much as they withdraw from one another do they withdraw from God. Such is the attribute of love: to the extent that we are distant from God and do not love Him, each of us is far from his neighbor also. If we love God, then to the extent that we approach to Him through love of Him, do we unite in love with our neighbors; and the closer our union with them, the closer is our union with God also.[* ( _Superconsciousness_ **, p. 266** ) Hear now, says St. Isaac of Syria [VI century], how man becomes refined, acquires spirituality, and becomes like the invisible forces.... When the vision soars above things earthly, and above all troubles over earthly doings, and begins to experience revelations concerning that which is within, hidden from sight, and when it will turn its gaze upward, and experiences faith in the guidance of future ages, and the ardent desire for promised things, when it will search for hidden mysteries, then faith itself consumes this knowledge and so transforms and regenerates it that it becomes entirely spiritual. Then may the vision soar on pinions into regions incorporeal, may touch the depths of an inaccessible sea, participating in the mind Divine, and the miraculous acts of guidance in the hearts of thinking and feeling beings, discovering spiritual mysteries which become then comprehensible by the refined and simple mind. Then the inner senses are awakened to spirituality after the manner that they will be in the life immortal and incorruptible, for even here this redemption of the mind is a true symbol of the general redemption. ( _Superconsciousness_ **, p. 370** ) When the grace of the Holy Spirit, says Maxim Kapsokalivit, descends on anyone, there is shown to him nothing of the sensuous world, but that which he never saw or never imagined. Then the understanding of such a man receives from the Holy Spirit the highest and hidden mysteries which according to the divine Paul, neither the human eye can understand nor the human reason comprehend unaided (Ii Corinthians ii, 9). And that thou mayest understand how our reason sees them, try to apprehend that which I shall say to thee. Wax, when it is placed far from fire, is solid, and it is possible to take it and hold it, but as soon as it is thrown in fire it immediately melts, takes fire, burns, blazes and ends thus in the midst of flames. So also is human reason when it is alone by itself, ununited with God; then it comprehends in the usual way and according to its power all things surrounding it; but as it approaches the fire of Divinity and of the Holy Ghost, then is it entirely enveloped by that Divine fire, and immersed in Divine meditation, and then in that fire of Divinity it is impossible for it to think about its own affairs and about that which it desires. ( _Superconsciousness_ **, p. 370** ) St. Basil the Great says about the revelation of God: Absolutely unutterable and indescribable are the lightning-like splendors of Divine beauty; neither can speech express nor hearing apprehend. Shall we name the brilliance of the morning star, the brightness of the moon, the radiance of the sun – the glory of all these is unworthy of being compared with the true light, standing farther from it than does the gloomiest night and the most terrible darkness from midday brightness. This beauty, invisible to bodily eyes, comprehensible to soul and mind only, if it illumines some of the saints leaves in them an unbearable wound through their desire that this vision of Divine beauty should extend over an eternity of life; disturbed by this earthly life, they loathe it as thought it were a prison. ( _Superconsciousness_ **, p. 372** ) St. Theognis says: A strange word will I say to thee. There is some hidden mystery which proceeds between God and the soul. This is experienced by those who achieve the highest heights of perfect purity of love and faith, when man, changing completely unites with God, as His own, through ceaseless prayer and contemplation? ( _Superconsciousness_ **, p. 381** ) Certain parts of the writings of Clement of Alexandria [II century] are remarkably interesting. It appears to us that painting appears to take in the whole field of view in the scenes represented. But it gives a false description of the view, according to the rules of the art, employing the signs that result from the incidents of the lines of vision. By this means, the higher and the lower points in the view, and those between, are preserved; and some objects seem to appear in the foreground, and others in the background, and others to appear in some other way, on the smooth and level surface. So also philosophers copy the truth, after the manner of painting. Clement of Alexandria here reveals one very important aspect of _truth_ , namely, its _inexpressibility in words_ and the entire conditionality of all philosophical systems and formulations. Dialectically truth is represented only in perspective – i.e., in an _inevitably_ deformed shape – such is his idea. What time and labor would be saved, and from what enormous and unnecessary suffering would humanity save itself, could it but understand this one simple thing: that _truth cannot be expressed in our language_. Then would men cease to think that they possessed truth, would cease to force others to accept _their truth_ at any cost, would see that others may approach truth from _another direction_ , exactly as they themselves approach it, by a way of their own. How many arguments, how many religious struggles, how much of violence toward the thoughts of others would be rendered unnecessary and impossible if men would only understand that _nobody_ possesses truth, but all are seeking for it, each in his own way. The ideas of Clement of Alexandria about God are highly interesting, and closely approximate to those of the _Ved ānta_, and particularly to the ideas of the Chinese philosophers. The discourse respecting God is the most difficult to handle. For since the first principle of everything is difficult to find out, the absolutely first and the oldest principle, which is the cause of all other things being and having been, is difficult to exhibit. For how can that be expressed which is neither genus, nor difference, nor species, nor individual, nor number; nay more, is neither an event, nor that to which an event happens? No one can rightly express this wholly. For on account of his greatness he is ranked as the All and is the Father of the universe. Nor are any parts to be predicated of them. For the one is indivisible, wherefore also it is infinite, not considered with reference to its being without dimensions, and not having a limit. And therefore it is without form and name. And if we name it, we do not do so properly, terming it either the one, or the good, or mind, or Absolute Being, or Father, or God, or Creator, or Lord. We speak not as supplying His name; but for want, we use good names, in order that the mind may have these as points of support, so as not to err in other respects. Among Chinese mystical philosophers our attention is arrested by Lao-Tzu [VI century BC], and _Chuang-Tzu_ [IV century BC] by the cleanliness of thought and the unusual simplicity with which they express the most profound doctrines of idealism. ## _The Sayings of Lao-Tzu_ The Tao, which can be expressed in words is not the eternal Tao; the name which can be uttered is not its eternal name. Tao eludes the sense of sight, and is therefore called colorless. It eludes the sense of hearing, and is therefore called soundless. It eludes the sense of touch, and is therefore called incorporeal. These three qualities cannot be apprehended, and hence they may be blended into unity. Ceaseless in action, it cannot be named, but returns again to nothingness. We may call it the form of the formless, the image of the image-less, the fleeting and the indeterminable. There is something chaotic, yet complete, which existed before heaven and earth. Oh, how still it is, and formless, standing alone without changing, reaching everywhere, without suffering harm! Its name I know not. To designate it I call it Tao. Endeavoring to describe it, I call it Great. Being Great, it passes on; passing on, it becomes remote; having become remote it returns. The law of Tao is its own spontaneity. Tao in its unchanging aspect has no name. The mightiest manifestations of active force flow from Tao. Tao as it exists in the world is like great rivers and seas which receive the streams from the valleys. All-pervading is the Great Tao. It can be at once on the right hand and on the left. Tao is a great square with no angles, a great sound which cannot be heard, a great image with no form. Tao produced Unity; Unity produced Duality; Duality produced Trinity; and Trinity produced all existing objects. He who acts in accordance with Tao, becomes one with Tao. All the world says that my Tao is great, but unlike other teachings. It is just because it is great that it appears unlike other teachings. If it had this likeness, long ago would its smallness have been known. The sage attends to the inner and not to the outer; he puts away the objective and holds to the subjective. The sage occupies himself with inaction, and conveys instructions without words. Who is there that can make muddy water clear? But if allowed to remain still it will gradually become clear of itself. Who is there that can secure a state of absolute repose? But let time go on, and the state of repose will gradually arise. Tao is eternally inactive, and yet it leaves nothing undone. The pursuit of book-learning brings about daily increase (i.e., the increase of knowledge). The practice of Tao brings about daily loss (i.e., the loss of ignorance). Repeat the loss again and again, and you arrive at inaction. Practice inaction, and there is nothing which cannot be done. Practice inaction, occupy yourself with doing nothing. Leave all things to take their natural course, and do not interfere. All things in Nature work silently. Among mankind, the recognition of beauty as such implies the idea of ugliness, and the recognition of good implies the idea of evil. Cast off your holiness, rid yourself of sagacity, and the people will benefit a hundredfold. Those who know do not speak; those who speak do not know. He who acts, destroys; he who grasps, loses. Therefore the sage does not act, and so he does not destroy; he does not grasp, and so he does not lose. The soft overcomes the hard; the weak overcomes the strong. There is no one in the world but knows this truth, and no one who can put it into practice. ## _A Meditation of Chuang-Tzu_ You cannot speak of ocean to a well-frog – the creature of a narrower sphere. You cannot speak of ice to a summer insect – the creature of a season. You cannot speak of Tao to a pedagogue, his scope is too restricted. But now that you have emerged from your narrow sphere and have seen the great ocean, you know your own significance, and I can speak to you of great principles.... Dimensions are limitless; time is endless. Conditions are not invariable; terms are not final. There is nothing which is not objective; there is nothing which is not subjective. But it is impossible to start from the objective. Only from subjective knowledge is it possible to proceed to objective knowledge. When subjective and objective are both without their correlates, that is the very axis of Tao. Tao has its laws and its evidences. It is devoid both of action and of form. It may be obtained but cannot be seen. Spiritual beings draw their spirituality from Tao. To Tao no point in time is long ago. Tao cannot be existent. If it were existent, it could not be nonexistent. The very name of Tao is only adapted for convenience' sake. Predestination and chance are limited to material existences. How can they bear upon the infinite? Tao is something beyond material existences. It cannot be conveyed either by words or by silence. In that state which is neither speech nor silence, its transcendental nature may be apprehended. In contemporary Theosophical literature, two little books stand out: _The Voice of the Silence_ by H. P. Blavatsky, and _Light on the Path_ by Mabel Collins. In both of them there is much of real mystical sentiment. # **The Voice of the Silence** He who would hear the voice of the silence, the soundless sound, and comprehend it, he has to learn the nature of the perfect inward concentration of the mind, accompanied by complete abstraction from everything pertaining to the external Universe, or the world of senses. Having become indifferent to objects of perception, the pupil must seek out the Rajah of the senses, the Thought-Producer, him who awakes illusions. The mind is the great slayer of the real. Let the Disciple slay the Slayer. For – When to himself his form appears unreal, as do on waking all the forms he sees in dreams; When he ceases to hear the many, he may discern the ONE – the inner sound which kills the outer. Then only, not till then, shall he forsake the region of _Asat_ , the false, to come into the realm of _Sat_ , the true. Before the soul can see, the harmony within must be attained, and fleshly eyes be rendered blind to illusion. Before the soul can hear, the image (man) has to become as deaf to warnings as to whispers, to cries of bellowing elephants as to the silvery buzzing of the golden firefly. And then to the inner ear will speak – ## **The Voice if The Silence** And say: – If thy Soul smiles while bathing in the sunlight of thy life; if thy soul sings within her chrysalis of flesh and matter; if thy soul weeps inside her castle of illusion; if thy soul struggles to break the silver thread that binds her to the MASTER, know, O Disciple, thy soul is of the earth. Give up thy life, if thou wouldst live. Learn to discern the real from the false, the ever-fleeting from the ever-lasting. Learn above all to separate head-learning from soul-wisdom, the "Eye" from the "Heart" doctrine. _Light on the Path_ , like _The Voice of the Silence_ is full of symbols, hints and hidden meanings. This is a little book which makes demands upon the reader. Its meaning is elusive, and it requires to be read in a fitting state of spirit. _Light on the Path_ prepares the "disciple" to meet the "Master," i.e., the ordinary consciousness for communion with the higher consciousness. According to the author of Light on the Path, the term "THE MASTERS" is a symbolical expression for the "Divine Life." ## **Light on the Path** Before the eyes can see they must be incapable of tears. Before the ear can hear it must have lost its sensitiveness. Before the voice can speak in the presence of the Masters it must have lost the power to wound. Before the soul can stand in the presence of the Masters its feet must be washed in the blood of the heart. Kill out all sense of separateness. Desire only that which is within you. Desire only that which is beyond you. Desire only that which is unattainable. For within you is the light of the world.... If you are unable to perceive it within you, it is useless to look for it elsewhere.... it is unattainable, because it forever recedes. You will enter the light, but you will never touch the Flame.... Seek out the way. Look for the flower to bloom in the silence that follows the storm: not till then.... And on the deep silence the mysterious event will occur which will prove that the way has been found. Call it by what name you will, it speaks in a voice that speaks where there is none to speak – it is a messenger that comes, a messenger without form or substance; or it is the flower of the soul that has opened. It cannot be described by any metaphor. To hear the voice of the silence is to understand that from within comes the only true guidance.... For when the disciple is ready, the Master is ready also. Hold fast to that which is neither substance nor existence. Listen only to the voice which is soundless. Look only on that which is invisible.... Prof. James calls attention in his book to the unusually vivid emotionality of mystic experiences, and to the quite unusual sensations felt by mystics. The deliciousness of some of these states seems to be beyond anything known in ordinary consciousness. It evidently involves organic sensibilities, for it is spoken of as something too extreme to be borne, and as verging on bodily pain. But it is too subtle and piercing a delight for ordinary words to denote. God's touches, the wounds of his spear, references to ebriety and to mystical union have to figure in the phraseology by which it is shadowed forth. The joy of communion with God, described by St Simeon the New Theologian [X century] may serve as an example of such an experience. I am wounded by the arrow of His love (writes St. Simeon). He is Himself inside of me, in my heart; he embraces me, kisses me, fills me with light.... A new flower grows in me, new because it is joyous.... This flower is of an unutterable form, is seen when it grows merely, then suddenly disappears... it is of indescribable appearance; attracts my mind to itself, causes forgetfulness of everything to do with fear, and then flies suddenly away. Then does the tree of fear remain again lacking fruit; I moan in sorrow and pray to thee, my Christ; again I see the flower amid the branches, Ii chain my attention to it alone, and see not the tree alone, but the brilliant flower attracting me to itself irresistibly; this flower grows in the end into the fruit of love.... Incomprehensible is it how from fear grows love. Mysticism penetrates into all religions. In India, [Prof. James says] training in mystical insight has been known from time immemorial under the name of yoga. Yoga means the experimental union of the individual with the divine. It is based on persevering exercise; and the diet, posture, breathing, intellectual concentration, and moral discipline vary slightly in the different systems which teach it. The yogi, or disciple, who has by these means overcome the obscurations of his lower nature sufficiently, enters into the condition termed _samadhi_ , "and he comes face to face with facts which no instinct or reason can ever know." ... When a man comes out of _samadhi Vedãntists_ assure us that he remains "enlightened, a sage, a prophet, a saint, his whole character changed, his life changed, illumined." The Buddhists use the word _samadhi_ as well as the Hindus, but _Dhyana_ is their special word for the higher states of contemplation. Higher stages still of contemplation are mentioned – a region where there exists nothing, and where the meditator says: "There exists absolutely nothing," and stops. Then he reaches another region, he says: "There are neither ideas nor absence of ideas," and stops again. Then another region where, "having reached the end of both idea and perception, he stops finally." This would seem to be, not yet _Nirvana_ , but as close an approach to it as this life affords. In Mohammedanism there is much of mysticism also. The most characteristic expression of Moslem mysticism is Persian _Sufism_. This is at the same time a religious sect and a philosophical school of high idealistic character, which struggled against materialism and against the narrow fanaticism and the literal understanding of the Koran. The Sufis interpreted the Koran mystically. Sufism – this is the philosophical free-thinking of Mohammedanism, united with an entirely original symbolical and brightly sensuous poetry which has always a hidden mystical character. The blossoming of Sufism occurred in the early centuries of the second millennium of the Christian era. Sufism remained for a long time incomprehensible to European thought. From the point of view of Christian theology and Christian morality the mixing up of sensuousness and religious ecstasy is incomprehensible, but in the Orient the two coexisted with perfect harmony. In the Christian world "the flesh" has always been regarded as inimical to "the spirit." In the Moslem world the fleshly and sensuous was accepted as a symbol of spiritual things. The expression of philosophical and religious truths "in the language of love" was a widely disseminated custom throughout the Orient. These things are "Oriental flowers of eloquence." All allegories, all metaphors were taken from "love." "Mohammed fell in love with God," the Arabs say, desiring to convey the brightness of the religious ardor of Mohammed. " _Select for thyself a new wife every spring of the new year, because last year's calendar is no good_ " – says the Persian poet and philosopher _Sa'di_. And in such curious form _Sa'di_ expresses the thought that Ibsen puts in the mouth of Dr. Stockman: " _Truths are not as many believe like long-living Methuselahs. Under normal conditions a truth may exist about seventeen or eighteen years, rarely longer_." The poetry of the Sufis will become clearer to us if we always keep in mind this general sensuous character of the literary language of the Orient, the heritage of profound antiquity. A classic example of this ancient literature is the _Song of Songs_. Many parts of the Bible and all ancient myths and stories are distinguished by a sensuousness of form strange to us. "The Persian mystical poetical Sufis wrote about the love of God in expressions applicable to their beautiful women," says the translator of _Jami_ and other poets, Davis – "because, as they explained this, nobody can write in heavenly language and be understood." ( _Persian Mystics_.) "The idea of Sufism," Max Müller says, " _is a loving union of the soul with God_." "The Sufi holds that there is nothing in human language that can express the love between the soul and God so well as the love between man and woman and that if he is to speak of the union between the two at all, he can only do so in the symbolic language of earthly love." When we read some of the Sufi enraptured poetry, we must remember that the Sufi poets use a number of expressions which have a recognized meaning in their language. Their _sleep_ means meditation; _perfume_ – hope of divine favor; _kisses_ and _embraces_ – the raptures of piety; wine means spiritual knowledge, etc. The flowers which a lover of God had gathered in his rose-garden, and which he wished to give to his friends, so overpowered his mind by their fragrance that they fell out of his lap and withered, Sa'di says. A poet desires to express by this, that the glory of ecstatic visions pales and fades away when it has to be put into human language. (Max Müller, _Theosophy_ ) Generally speaking, never and nowhere has poetry been so blended with mysticism as in Sufism. The Sufi poets frequently lived the strange lives of hermits, anchorites and wanderers, at the same time singing of love, the beauty of women, the aroma of roses and wine. Jêlal eddin describes as follows the communion of the soul with God: A loved one said to her lover to try him early one morning: "O such a one, son of such a one, I marvel whether you hold me more dear, or yourself; tell me truly, O ardent lover!" He answered: "I am so entirely absorbed in you, that I am full of you from head to foot. Of my own existence nothing but the man remains, in my being is nothing beside you, O object of my desire. Therefore I am thus lost in you. As a stone which has been changed into a pure ruby, is filled with the bright light of the sun." (Max Müller) In two well-known poems of Jami [XV century], _Salaman and Abasl_ and _Yusuf and Zulaikha_ , the "ascending of the soul," its purification and its union with God, is represented in the most passionate forms. Prof. James pays great attention in his book to _mystical states under narcosis_. "This is a realm that public opinion and ethical philosophy have long since branded as pathological, though private practice and certain lyric strains of poetry seem still to bear witness of its ideality. "Nitrous oxide and ether, especially nitrous oxide, when sufficiently diluted with air, stimulates the mystical consciousness in an extraordinary degree. Depth beyond depth of truth seems revealed to the inhaler. This truth fades out, however, or escapes, at the moment of coming to; and if any words remain over in which it seemed to clothe itself, they prove to be the veriest nonsense. Nevertheless, the sense of a profound meaning having been there persists; and I know more than one person who is persuaded that in the nitrous oxide trance we have a genuine metaphysical revelation. "Some years ago I myself made some observations on this aspect of nitrous oxide intoxication, and reported them in print. One conclusion was forced upon my mind at that time, and my impression of its truth has ever since remained unshaken. It is that our normal waking consciousness, rational consciousness as we call it, is but one special type of consciousness, whilst all about it, parted from it by the filmiest of screens, there are potential forms of consciousness entirely different. We may go through life without suspecting their existence, but apply the requisite stimulus and at a touch they are there in all their completeness, definite types of mentality which probably somewhere have their field of application and adaptation. No account of the universe in its totality can be final which leaves these other forms of consciousness quite disregarded. At any rate, they forbid a premature closing of our accounts with reality. "The whole drift of my education goes to persuade me that the world of our present consciousness is only one out of many worlds of consciousness that exist, and that those other worlds must contain experiences which have a meaning for our life also. "Looking back on my experiences, they all converge toward a kind of insight to which I cannot help ascribing some metaphysical significance. The keynote of it is invariably reconciliation. It is as if the opposites of the world, whose contradictions and conflict make all our difficulties and troubles, were melted into unity. Not only do they, as contrasted species, belong to one and the same genus, but _one of the species_ – the nobler and the better one – _is itself the genus, so soaks up and absorbs its opposite into itself_. This is a dark saying, I know, when thus expressed in terms of common logic, but I cannot wholly escape from its authority. I feel as if it must mean something, something like what the Hegelian philosophy means, if one could only lay hold of it more clearly. Those who have ears to hear let them hear; to me the loving sense of its reality only comes in the artificial mystic state of mind. "What reader of Hegel can doubt that sense of a perfected being with all its otherness soaked up in itself, which dominates his whole philosophy, must have come from the prominence in his consciousness of mystical moods like this, in most persons kept subliminal? The notion is thoroughly characteristic of the mystical level, and the _Aufgabe_ (the problem) of making it articulate was surely set to Hegel's intellect by mystical feeling. "I have friends who believe in the anæsthetic revelation. For them too it is a monistic insight, in which the _other_ in its various forms appears absorbed into the One. "Into this pervading genus," writes one of them, "we pass, forgetting and forgotten, and thenceforth each is all, in God. There is no higher, no deeper, no other, than the life in which we are founded. The one remains, the many change and pass; and each and every one of us is the One that remains.... This is the ultimatum.... As sure as being – whence is all our care – so sure is content, beyond duplexity, antithesis, or trouble, where I have triumphed in a solitude that God is not above." (B. P. Blood: _The Anæthetic Revelation and the Gist of Philosophy_ , Amsterdam, N. Y., 1874) Xenos Clark, a philosopher who died young (at Amherst in the '80s) was also impressed by the _Revelation_. "In the first place," he once wrote to me, "Mr. Blood and I agree that the revelation is, if anything, non-emotional. It is, as Mr. Blood says, the one sole and sufficient insight why or not why, but how, the present is pushed on by the past, and sucked forward by the vacuity of the future.... It is an _initiation of the past_. The real secret would be the formulæ by which the 'now' keeps exfoliating out of itself, yet never escapes. We simply fill the hole with the dirt we dug out. Ordinary philosophy is like a hound hunting its own tail. The more he hunts the farther he has to go, and his nose never catches up with his heels, because it is forever ahead of them. So the present is already a foregone conclusion, and I am ever too late to understand it. _But at the moment of recovery from anæthesis, then, before starting on life, I catch, so to speak, a glimpse of my heels, a glimpse of the eternal process just in the act of starting_. The truth is that we travel on a journey that was accomplished before we set out; and the real end of philosophy is accomplished, not when we arrive at, but when we remain in, our destination (being already there) – which may occur vicariously in this life when we cease our intellectual questioning. That is why there is a smile upon the face of revelation, as we view it. It tells us that we are forever half a second too late – that's all. "You could kiss your own lips, and have all the fun to yourself," it says, "if you only knew the trick. It would be perfectly easy if they would just stay there till you got around to them. Why don't you manage it somehow?" In his latest pamphlet Mr. Blood describes the value of the anesthetic revelation for life as follows: " _The Anæthetic Revelation_ is the initiation of man into the mystery of the open secret of Being, revealed as the inevitable vortex of continuity. Inevitable is the word. Its motive is inherent – it is what has to be. It is not for any love or hate, nor for joy or sorrow, nor good nor ill. End, beginning, or purpose, it knows not of. "It affords no particular of the multiplicity and variety of things; but it fills the appreciation of the historical and the sacred with a secular and intimately personal illumination of the nature and motive of existence.... "Although it is at first startling in its solemnity, it becomes directly such a matter of course – so old-fashioned, and so akin to proverbs, that it inspires exultation rather than fear, and the sense of safety, as identified with the aboriginal and the universal. But no words may express the surpassing certainty of the patient that he is realizing the primordial Adamic surprise of life. "Repetition of the experience finds it ever the same, and as if it could not possibly be otherwise. The subject resumes his normal consciousness only to partially and fitfully remember its occurrence, and to try to formulate its baffling import – with this consolatory after-thought: that he has known the oldest truth, and that he has done with human theories as to the origin, meaning, or destiny of the race. He is beyond instruction in 'spiritual things.' "The lesson is one of central safety; the kingdom is within. All days are judgment days: but there can be no climacteric purpose of eternity, nor any scheme of the whole. The astronomer abridges the row of bewildering figures by increasing his unit of measurement: so may we reduce the distracting multiplicity of things to the unity for which each of us stands. "This has been my moral sustenance since I have known of it. In my first printed mention of it I declared: The world is no more the alien terror that was taught me. Spurning the cloud-grimed and still sultry battlements whence so lately Jehovah thunders boomed, my gray gull lifts her wings against the nightfall, and takes the dim leagues with a fearless eye. And now, after twenty-seven years of this experience, the wing is grayer, but the eye is fearless still, while I renew and doubly emphasize that declaration. I know – as having known – the meaning of existence: the sane center of the universe – at once the wonder and the assurance of the soul – for which the speech of reason has as yet no name but the Anesthetic Revelations." I subjoin, Prof. James says, another interesting anesthetic revelation. This is what the subject, a gifted woman, writes about her experience, when she was taking ether for a surgical operation. "I wondered if I was in a prison being tortured, and why I remembered, having heard it said that people 'learn through suffering,' and in view of what I was seeing, the inadequacy of this saying struck me so much that I said, aloud, 'to suffer is to learn.' With that I became unconscious again, and my last dream immediately preceded my real coming to. It only lasted a few seconds and was most vivid and real to me, though it may not be clear in words. "A great Being or Power was traveling through the sky, his foot was on a kind of lightning as a wheel is on a rail, it was his pathway. The lightning was made of innumerable spirits close to one another, and I was one of them. He moved in a straight line, and each part of the streak or flash came into its short conscious existence only that he might travel. I seemed to be directly under the foot of God, and I thought he was grinding his own life up out of my pain. Then I saw that what he had been trying with all his might to do was to _change his course, to bend_ the line of lightning to which he was tied, in the direction in which he wanted to go. I felt my flexibility and helplessness, and I knew that he would succeed. He bended me, turning his corner by means of my hurt, hurting me more than I had ever been hurt in my life, and at the acutest point of this, as he passed, I SAW. "I understood for a moment things that I have now forgotten, things that no one could remember while retaining sanity. The angle was an obtuse angle, and I remember thinking as I woke that had he made it a right or acute angle, I should have both suffered and 'seen' still more, and should probably have died. "He went on and I came to. In that moment the whole of my life passed before me, including each little meaningless piece of distress, and I understood them. This is what it had all meant, _this_ was the piece of work it had all been contributing to do. "I did not see God's purpose. I only saw his intentness and his entire relentlessness toward his means. He thought no more of me than a man thinks of hurting a cartridge when he is firing. And yet, on waking, my first feeling was, and it came with tears, ' _Domine non sum digna_ ,' for I had been lifted into a position for which I was too small. I realized that in that half hour under ether I had served God more distinctly and purely than I had ever done in my life before, or than I am capable of desiring to do. I was the means of his achieving and revealing something, I know not what or to whom, and that to the exact extent of my capacity for suffering. "While regaining consciousness L wondered why, since I had gone so deep, I had seen nothing of what saints call the _love_ of God, nothing but his relentlessness. And then I heard an answer, which I could only just catch, saying, 'Knowledge and Love are One, and the measure is suffering' – I give the words as they came to me. With that I came finally into what seemed a dream world compared with the reality of what I was leaving...." I. S. Symonds, whom Prof. James mentions, tells of an interesting mystical experience with chloroform: "After the choking and stifling had passed away, I seemed at first in a state of utter blankness, then came flashes of intense light, alternating with blackness, and with a keen vision of what was going on in the room around me, but no sensation of touch. I thought that I was near death; when suddenly, my soul became aware of God, who was manifestly dealing with me, handling me, so to speak, in an intense personal present reality. I felt him streaming in like light upon me. I cannot describe the ecstasy I felt. Then as I gradually awoke from the influence of the anesthetic, the old sense of my relation to the world began to return, and the new sense of my relation to God began to fade. I suddenly leapt to my feet on the chair where I was sitting, and shrieked out, 'It is too horrible, it is too horrible, it is too horrible,' meaning that I could not bear this disillusionment. At last I awoke... calling to the two surgeons (who were frightened) 'why did you not kill me? Why would you not let me die?" Anesthetic states are very similar to those strange moments experienced by epileptics during their fits of illness. An artistic description of epileptic states we find in Dostoyevsky's, _The Idiot_. He remembered among other things that he always had one minute just before the epileptic fit (if it came on while he was awake) when suddenly in the midst of sadness, spiritual darkness and oppression, there seemed at moments a flash of light on his brain and with extraordinary impetus all his vital forces suddenly began working at their highest tension. The sense of life, the consciousness of self, were multiplied ten times at these moments which passed like a flash of lightning. His mind and his heart were flooded with extraordinary light; all his uneasiness, all his doubts, all his anxieties were relieved at once; they were all merged in a lofty calm, full of serene, harmonious joy and hope. Thinking of that moment later, when he was all right again, he often said to himself that all these gleams and flashes of the highest sensation of life and self-consciousness, and therefore also of the highest form of existence, were nothing but disease, the interruption of the normal condition.... And yet he came at last to an extremely paradoxical conclusion. What if it is disease? He decided, if the result, if the minute of sensation, remembered and analyzed afterwards in health, turns out to be the acme of harmony and beauty, and gives a feeling, unknown and undivined till then, of completeness, of proportion, of reconciliation, and of ecstatic devotional merging in the highest synthesis of life? These vague expressions seemed to him very comprehensible, though too weak. That it was "beauty and worship," that it really was the "highest synthesis of life" he could not doubt, and could not admit the possibility of doubt.... He was quite capable of judging of that when the attack was over. These moments were only an extraordinary quickening of self-consciousness – if the condition was to be expressed in one word – and at the same time of the direct sensation of existence in the most intense degree. Since at that second, that is at the very last conscious moment before the fit, he had time to say to himself clearly and consciously, "Yet for this moment one might give ones whole life!" then without doubt that moment was really worth the whole of life.... For the very thing had happened; he actually had said to himself at that second, that, for the infinite happiness he had felt in it, that second really might well be worth the whole of life. At that moment," as he told Rogozhin one day in Moscow... "at that moment I seemed somehow to understand the extraordinary saying that _there shall be time no longer_. Probably," he added, smiling, "this is the very second which was not long enough for the water to be spilt out of Mohammed's pitcher, though the epileptic prophet had time to gaze at all the habitations of Allah. Narcosis or epilepsy are not at all necessary conditions to induce mystical states in ordinary men. "Certain aspects of nature appear to have the peculiar power of awakening such mystical moods," says James. It would be more correct to say that _in all conditions_ of encompassing nature this power lies concealed. The change of the seasons – the first snow, the awakening of spring, the summer days, rainy and warm, the aroma of autumn – awakes in us strange "moods" which we ourselves do not understand. Sometimes these moods intensify, and become the sensation of a complete oneness with nature. In the life of every man there are moments which act upon him more powerfully than others. Upon one _a thunderstorm_ acts mystically, upon another, sunrise, a third _the sea, the forest, rocks, fire_. The voice of sex embraces much of that same mystical sense of _nature_. In the sex impulse man puts himself in the most personal relation with nature. The comparison of the sensation of woman experienced by man, or _vice versa_ , with the feeling for nature is met with very often. And _it is really the same sensation_ as is given by forest, prairie, sea, mountains, only in this case it is even more intense, awakens more inner voices, forces the sounding of more inner strings. Animals often give the mystical sensation of nature to men. Almost everyone has his favorite animal, with which he has some inner affinity. In these animals, or through them, men sense nature intimately and personally. In Hindu occultism there is the belief that every man has his corresponding animal, through which it is possible to act upon him magically, through which he himself can act upon others, and into which he can transform himself or be by others transformed. Each Hindu deity has his own particular animal. _Brahma_ has a goose; _Vishnu_ an eagle; _Shiva_ a bull; _Indra_ an elephant; _Kali_ ( _Durga_ ) a tiger; _Rama_ a buffalo; _Ganesha_ a rat; _Agni_ a ram; _Kartikkeya_ (or _Subrananyia_ ) a peacock, and _Kama_ (the god of love) a parrot. The same thing is true of Greece: all the deities of Olympus had their animals. In the religion of Egypt sacred animals played an enormous part, and in Egypt _the cat_ , the most magical of all animals, was held as sacred. The sense of nature sometimes unfolds something infinitely new and profound in things which seemed to have been known a long time and in themselves contained nothing mystical: The consciousness of God's nearness came to me sometimes [quotes Prof. James]... a presence, I might say... something in myself made me feel a part of something bigger than I that was controlling. I felt myself one with the grass, the trees, birds, insects, everything in Nature. I exulted in the mere fact of existence, of being a part of it all – the drizzling rain, the shadow of the clouds, the tree-trunks, and so on. In my own notebook of 1908 I found a description of the same experienced state of consciousness: It was in the sea of Marmora, on a rainy day of winter, the far-off high and rocky shores were of a pronounced violet color of every shade, including the most tender, fading into gray and blending with the gray sky. The sea was the color of lead mixed with silver. I remember all these colors. The steamer was going north. I remained at the rail, looking at the waves. The white crests of waves were running toward us. A wave would run at the ship, raised as if desiring to hurl its crest upon it, rushing up with a howl. The steamer heeled, shuddered, and slowly straightened back; then from afar a new wave came running. I watched this play of the waves with the ship, and felt them draw me to themselves. It was not at all that desire to jump down which one feels in mountains but something infinitely more subtle. The waves were drawing my soul to themselves. And suddenly I felt that it went to them. It lasted an instant, perhaps less than an instant, but I entered into the waves and with them rushed with a howl at the ship. And in that instant I became all. The waves – they were myself: the far violet mountains, the wind, the clouds hurrying from the north, the great steamship, heeling and rushing irresistibly forward – all were myself. I sensed the enormous heavy body – my body – all its motions, shudderings, wavering and vibrations, fire, pressure of steam and weight of engines were inside of me, the unmerciful and unyielding propelling screw which pushed and pushed me forward, never for a moment releasing me, the rudder which determined all my motion – all this was myself: also two sailors.... and the black snake of smoke coming in clouds out of the funnel... all. It was an instant of unusual freedom, joy and expansion. A second – and the spell of charm disappeared. It passed like a dream when one tries to remember it. But the sensation was so powerful, so bright, and so unusual that I was afraid to move and waited for it to recur. But it did not return, and a moment later I could not say that it had been – could not say whether it was a reality or merely the _thought_ that, looking at the waves, it might be so. Two years afterwards the yellowish waves of the Finnish gulf and a green sky gave me a taste of the same sensation, but this time it was dissipated almost before it appeared. The examples given in this chapter do not by any means exhaust the mystical experience of humanity. But what do we infer from them? First of all, _unity of experience_. In mystical sensations all men feel definitely something in common, having a similar meaning and connection one with another. The mystics of many ages and many peoples speak the same language and use the same words. This is the first and most important thing that speaks for the reality of the mystical experience. Next is the complete harmony of data regarding such experience with the theoretically deduced _conditions of the world causes_ ; the sensation of the _unity of all_ , so characteristic of mysticism; a new sensation of time, the sense of infinity; joy or horror; knowledge of the whole in the part; infinite life and infinite consciousness. All these are real _sensed_ facts in the mystical experience. And these facts are _theoretically correct_. They are such as they should be according to the conclusions of THE MATHEMATICS OF THE INFINITE AND OF THE HIGHER LOGIC. This is all that is possible to say about them. # **Chapter 23** _Cosmic Consciousness_ of Dr. Bucke. The three forms of consciousness according to Dr. Bucke. Simple consciousness, or the consciousness of animals. Self-consciousness, or the consciousness of men. Dr. Bucke's fundamental error. Cosmic consciousness. In what is it expressed? Sensation, perception, concept, higher MORAL concept — creative intuition. Men of cosmic consciousness. Adam's fall into sin. The knowledge of good and evil. Christ and the salvation of man. Commentary on Dr. Bucke's book. Birth of the new humanity. Two races. SUPERMAN. Table of the four forms of the manifestation of consciousness. VERY MANY MEN believe that the fundamental problems of life are absolutely unsolvable, that humanity will never know why it is striving, or for what it is striving, for what it suffers, or whither it is bound. It is regarded as almost indecent even to raise these questions. It is decreed that we live "so" – that we "simply live" thinking of nothing or thinking only on that which yields a solution – on the surface at least. Men have des-paired of finding answers to fundamental questions and so have left them alone. Yet at the same time men are not in the least aware of _what really_ created in them such a sense of insolubility and despair. Whence comes this feeling _that it is better not to think about many things_? In reality we feel this despair only when we begin to regard man as something "finite," finished; when we see nothing beyond man, and think that we already know everything about him. In such form the problem is truly a desperate one. A cold wind blows on us from all those social theories promising incalculable welfare on earth, leaving a sense of dissatisfaction and chill even when we believe their promises. Why? What is all this for? Well, everybody will be well fed and well taken care of – Splendid! _But after that, what_? Let us suppose – although it is difficult, almost impossible to imagine – that materialistic culture, of itself, has led men to a fortunate state of existence. On earth, then, there exists an unadulterated civilization and culture. _But after that, what_? After that, many resounding phrases of "incredible horizons" opening before _science_. "Communication with the planet Mars," "The chemical synthesis of protoplasm," "The utilization of the rotation of the earth around the sun," "Energy imprisoned in an atom," "Vaccine for all diseases," " _Life to the length of a hundred years_ " – or even to one hundred and fifty! After that perhaps, "The artificial creation of men" – but beyond this imagination fails. It is possible to dig through the earth, but that would be entirely useless. Here indeed we encounter that feeling of the insolubility of the main questions concerning the aims of existence, and that feeling of despair on account of our lack of understanding. Truly, suppose that we have dug completely through the earth – what then? Shall we dig in another direction? But it is all very wearisome after all. Nevertheless the various positivistic social theories, "historical materialism," and so forth, promise nothing better, and can promise nothing. To get any answer at all to such tormenting questions we must turn in quite another direction: to the psychological method of study of man and of humanity. And here we see with amazement, that the psychological method gives an entirely satisfactory answer to those fundamental questions which seem to us quite insoluble, and around about which we fruitlessly wander equipped with the defective instrument of the positivistic method. The psychological method gives a direct answer at least to the question of the immediate purpose of our existence. For some strange reason men do not care to accept this answer; and they desire at all costs to receive an answer in some form that they like, refusing to recognize anything that is different from that form. They require the solution of the destiny of man as they fancy him, and they do not want to recognize that _man_ can and must become entirely different. In him there are not as yet manifest those faculties which will create his future. Man must not and cannot remain such as he is now. To think of the future of this man is just as absurd as to think of the future of a child as if it were always going to remain a child. The analogy is not quite complete, for the reason that probably only a small part of humanity is capable of growth, but nevertheless this comparison paints a true picture of our usual attitude toward this question. And the fate of that greater part of humanity which will prove incapable of growth, depends not upon itself, but upon that minority which will progress. Only inner growth, the unfoldment of new forces, will give to man a correct understanding of himself, his ways, his future, and give him power to organize life on earth. At the present time the general concept "man" is too undifferentiated and includes within himself _entirely different categories_ , those capable of development and those incapable. In men capable of development, new faculties are stirring into life, though not as yet manifest, because for their manifestation they require a special culture, a special education. _The new conception of humanity disposes of the idea of equality_ , which after all does not exist, and it tries to establish the signs and facts of the differences between men, because humanity will need soon to divide the "progressing" from the "incapable of progress" – _the wheat from the tares_ , for the tares are growing too fast, and choke the growth of the wheat. This is the key to the understanding of our life, and this key was found long ago! _The enigma was solved long ago_. But different thinkers, living in different epochs, finding the solution, expressed it differently, and often, not knowing one another, trod the same path amid enormous difficulties, unaware of their predecessors and contemporaries who had gone and were going along the selfsame path. In the world's literature there exist books, usually little known, which accidentally or by design may happen to be assembled on one shelf in one library. These, taken together, will yield so clear and complete a picture of human existence, its path and its goal, that there will be no further doubts about the destiny of humanity (though only its minor part), but a destiny of _quite a different sort_ from those hard labors of digging through the globe, which positive philosophy, "historical materialism" and "socialism" have in store for humankind. And if it seems to us that we do not as yet know our destiny, if we still doubt, and do not dare to part with the hopeless "positivistic" view of life, it is primarily because men of different categories, having quite different futures, are commingled into one in our perception; and secondarily because the necessary ideas by means of which we might understand the true relation of forces have not won for themselves their rightful place in official science – do not represent any _recognized_ division or branch of science; it is rarely possible to find them all in one book and it is even rarely possible to find books expressing these ideas assembled together. We do not understand many things because we too easily and too arbitrarily specialize. Philosophy, religion, psychology, mathematics, the natural sciences, sociology, the history of culture, art – each has its own separate literature. There is no complete whole at all. Even the little _bridges_ between these separate literatures are built very badly and unsuccessfully, while they are often altogether absent. And this formation of special literatures is the chief evil and the chief obstacle to a correct understanding of things. Each "literature" elaborates its own terminology, its own language, which is incomprehensible to the students of other literatures, and _does not coincide_ with other languages; by this it defines its own limits the more sharply, divides itself from others, and makes these limits impassable. But there are movements of thought which strive not in words, but in action, to fight this specialization. Books are appearing which it is impossible to refer to any accepted library classification, which it is impossible to "enroll" in any faculty. These books are the forerunners of a new literature which will break down all fences built in the region of thought, and will clearly show to those who desire to know, where they are going and where they can go. The names of the authors of these books yield the most unexpected combinations. I shall not now mention the names of these authors, or the titles of these books, but shall dwell only upon the writings of Edward Carpenter and Dr. R. M. Bucke. Edward Carpenter, directly and without any allegories and symbols, formulated the thought that the existing consciousness by which contemporary man lives, is merely the transitory form of another higher consciousness, which _even now_ is manifesting in certain men, after appropriate preparation and training. This higher consciousness Edward Carpenter names _cosmic consciousness_. Carpenter traveled in the Orient, visited India and Ceylon, and there he found men, yogis and ascetics, striving to achieve cosmic consciousness, and he holds the opinion that the path to cosmic consciousness is already found in the Orient. In the book, _From Adam's Peak to Elephanta_ , he says: The West seeks the individual consciousness – the enriched mind, ready perceptions and memories, individual hopes and fears, ambitions, loves, conquests – the self, the local self, in all its phases and forms – and sorely doubts whether such a thing as an universal consciousness exists. The East seeks the universal consciousness, and in these cases where its quest succeeds individual self and life thin away to a mere film, and are only the shadows cast by the glory revealed beyond. The individual consciousness takes the form of _Thought_ , which is fluid and mobile like quicksilver, perpetually in a state of change and unrest, fraught with pain and effort; the other consciousness is not in the form of thought. It touches, sees, hears, and is those things which it perceives, without motion, without change, without effort, without distinction of subject and object, but with a vast and incredible joy. The individual consciousness is specially related to the body. The organs of the body are in some degree its organs. But the _whole_ body is only as one organ of the cosmic consciousness. To attain this latter one must have the power of knowing one's self separate from the body – of passing into a state of _ecstasy_ , in fact. Without this the cosmic consciousness cannot be experienced. All the subsequent writings of Carpenter, and especially his book of free verse, _Towards Democracy_ , deal with the psychology of ecstatic experiences and portray the path whereby man goes toward this _principal aim of his existence_ , i.e., to a new consciousness: Only the attainment of this principal aim will illumine for man the past and the future; it will be a seership, an awakening – without this, with only the ordinary sleepy, "individual" consciousness, man is blind, and cannot hope to know anything that he cannot feel with his stick. Dr. Bucke, in his book, _Cosmic Consciousness_ , gives the psychological view of this awakening of the new consciousness. I shall give, in abbreviated form, several quotations from his book. # **1** ## **What is Cosmic Consciousness?** Cosmic Consciousness is a higher form of consciousness than that possessed by the ordinary man. This last is called Self Consciousness and is that faculty upon which rests all of our life (both subjective and objective) which is not common to us and the higher animals, except that small part of it which is derived from the few individuals who have had the higher consciousness above named. To make the matter clear it must be understood that there are three forms or grades of consciousness. (1) _Simple Consciousness_ , which is possessed by, say, the upper half of the animal kingdom. (2) _Self Consciousness_ possessed by man in addition to the simple consciousness, which is similar in man and in animals. (3) _Cosmic Consciousness_. By means of simple consciousness a dog or a horse is just as conscious of the things about him as a man is; he is also conscious of his own limbs and body and knows that these are a part of himself. By virtue of self-consciousness man is not only conscious of trees, rocks, water, his own limbs and body, but he becomes conscious of himself as a distinct entity apart from all the rest of the universe. It is as good as certain that no animal can realize himself in that way. Further, by means of self-consciousness, man becomes capable of treating his own mental states as objects of consciousness. The animal is, as it were, immersed in his consciousness as a fish in the sea; he cannot, even in imagination, get outside of it for one moment so as to realize it. But man by virtue of self-consciousness can step aside, as it were, from himself and think: "Yes, that thought that I had about that matter is true; I know it is true and I know that I know it is true." There is no evidence that any animal can think, but if they could we should soon know it. Between two creatures living together, as dogs or horses and men, and each self-conscious, it would be the simplest matter in the world to open up communication. We do, by watching the dog's acts, enter into his mind pretty freely. If he were self-conscious, we must have learned it long ago. We have not learned it and it is as good as certain that no dog, horse, elephant or ape ever was self-conscious. Another thing: on man's self-consciousness is built everything in and about us distinctly human. Language is the objective of which self-consciousness is the subjective, Self-consciousness and language (two in one for they are two halves of the same thing) are the sine qua non of human social life, of manners, of institutions, of industries of all kinds, of all arts useful and fine. If any animal possessed self consciousness it would build a superstructure of language... But no animal has done this, therefore, we infer that no animal has self-consciousness. The possession of self-consciousness and language (its other self) by man creates an enormous gap between him and the highest creature possessing simple consciousness merely. Cosmic Consciousness is a third form, which is as far above Self Consciousness as is that above Simple Consciousness. The prime characteristic Cosmic Consciousness is, as its name implies, a consciousness of the cosmos, that is, of the life and order of the universe. Along with the consciousness of the cosmos there occurs an intellectual enlightenment or illumination which alone would place the individual on a new plane of existence – would make him almost a member of a new species. To this is added a state of moral exaltation, an indescribable feeling of elevation, elation and joyousness, and a quickening of the moral sense, which is fully as striking and more important both to the individual and to the race than is the enhanced intellectual power. With these come what may be called a sense of immortality, a consciousness of eternal life, not a conviction that he shall have this, but the consciousness that he has it already. Only a personal experience of it, or a prolonged study of men who have passed into the new life, will enable us to realize what this actually is. The writer expects his work to be useful in two ways: first, in broadening the general view of human life by comprehending in our mental vision this important phase of it, then by enabling us to realize, in some measure, the true status of certain men who, down to the present, are either exalted to the ranks of gods or are adjudged insane. The writer takes the view that our descendants will sooner or later reach, as a race, the condition of cosmic consciousness, just as long ago, our ancestors passed from simple to self-consciousness. He believes that this step in evolution is even now being made, since it is clear to him both that men with the faculty in question are becoming more and more common and also that as a race we are approaching nearer and nearer to that stage of the self-conscious mind from which the transition to the cosmic conscious is effected. He knows that intelligent contact with cosmic conscious minds assists self-conscious individuals in the ascent to the higher plane. # **2** The immediate future of our race [the writer thinks] is indescribably hopeful. There are at the present moment impending over us three revolutions, the least of which would dwarf the ordinary historic upheaval called by that name into absolute insignificance. They are: (1) the material, economic and social revolution which will depend upon and result from the establishment of aerial navigation. (2) The economic and social revolution which will abolish individual ownership and rid the earth at once of two immense evils – riches and poverty. And (3) The psychical revolution of which there is here question. Either of the first two would (and will) radically change the conditions of, and greatly uplift, human life; but the third will do more for humanity than both of the former, were their importance multiplied by hundreds or even thousands. The three operating (as they will) together will literally create a new heaven and a new earth. Old things will be done away and all will become new. Before aerial navigation national boundaries, tariffs and perhaps distinctions of language will fade out. Great cities will no longer have reason for being and will melt away. The men who now dwell in cities will inhabit in summer the mountains and the seashores; building often in airy and beautiful spots, now almost or quite inaccessible, commanding the most extensive and magnificent views. In the winter they will probably dwell in communities of moderate size. As herding together, as now, in great cities, so the isolation of the worker of the soil will become a thing of the past. Space will be practically annihilated, there will be no crowding together and no enforced solitude. Before socialism crushing toil, cruel anxiety, insulting and demoralizing riches, poverty and its ills will become subjects for historical novels. In contact with the flux of cosmic consciousness all religions known and named today will be melted down. The human soul will be revolutionized. Religion will absolutely dominate the race. It will not depend on traditions. It will not be believed and disbelieved. It will be part of life, not belonging to certain hours, times, occasions. It will not be in sacred books, nor in the mouths of priests. It will not dwell in churches and meetings and forms and days. Its life will not be in prayers, hymns nor discourses. It will not depend on special revelations, on the words of gods who came down to teach, nor on any bible or bibles. It will have no mission to save men from their sins or to secure their entrance to heaven. It will not teach a future immortality nor future glories, for immortality and all glory will exist in the here and now. The evidence of immortality will live in every heart as sight in every eye. Doubt of God and of eternal life will be as impossible as is now doubt of existence; the evidence of each will be the same. Religion will govern every minute of every day of all life. Churches, priests, forms, creeds, prayers, all agents, all intermediaries between the individual man and God will be permanently replaced by direct unmistakable intercourse. Sin will no longer exist nor will salvation be desired. Men will not worry about death or a future, about the kingdom of heaven, about what may come with and after the cessation of the life of the present body. Each soul will feel and know itself to be immortal, will feel and know that the entire universe with all its good and with all its beauty is for it and belongs to it forever. The world peopled by men possessing cosmic consciousness will be as far removed from the world of today as this is from the world as it was before the advent of self-consciousness. # **3** There is a tradition, probably very old, to the effect that the first man was innocent and happy until he ate of the fruit of the tree of the knowledge of good and evil. That having eaten thereof he became aware that he was naked and was ashamed. Further, that there sin was born into the world, the miserable sense whereof replaced man's former feeling of innocency; that then and not till then man began to labor and to cover his body. Stranger than all, the story runs, that along with this change or immediately following upon it there came into man's mind the remarkable conviction which has never since left it, but which has been kept alive by its own inherent vitality and by the teaching of all true seers, prophets and poets that man will be saved by the rising up within him of a Savior – the Christ. Man's progenitor was a creature with simple consciousness merely. He was (as are today the animals) incapable of sin and equally incapable of shame (at least in the human sense). He had no feeling or knowledge of good and evil. He as yet knew nothing of what we call work and had never labored. From this state he fell (or rose) into self-consciousness, his eyes were opened, he knew he was naked, he felt shame, acquired the sense of sin (became in fact what is called a sinner) and learned to do certain things in order to encompass certain ends – that is, he learned to labor. For weary aeons this condition has lasted – the sense of sin still haunts his pathway – by the sweat of his brow he still eats bread – he is still ashamed. Where is the deliverer, the Savior? Who or what? The Savior of man is Cosmic Consciousness – in Paul's language, the Christ. The cosmic sense (in whatever mind it appears) crushes the serpent's head – destroys sin, shame, the sense of good and evil, as contrasted one with the other, and will annihilate labor, though not human activity. # **4** A personal exposition of the writer's own experience of cosmic consciousness may help the reader to understand the meaning of the following facts: In childhood he was subject at times to a sort of ecstasy of curiosity and hope. As on one special occasion when about ten years old he earnestly longed to die that the secrets of the beyond, if there were any beyond, might be revealed to him. At the age of thirty he fell in with _Leaves of Grass_ , and at once saw that it contained, in greater measure than any book so far found, what he had so long been looking for. He read the _Leaves_ eagerly, even passionately, but for several years derived little from them. At last light broke and there was revealed to him (as far perhaps as such things can be revealed) at least some of the meanings. Then occurred that to which the foregoing is the preface. It was in the early spring, at the beginning of his thirtysixth year. He and two friends had spent the evening reading Wordsworth, Shelley, Keats, Browning, and especially Whitman. They parted at midnight and he had a long drive in a hansom (it was in an English city). His mind, deeply under the influence of the ideas, images and emotions called up by the reading and talk of the evening, was calm and peaceful. He was in a state of quiet, almost passive enjoyment. All at once, without warning of any kind, he found himself wrapped around as it were by a flame-colored cloud. For an instant he thought of fire, some sudden conflagration in the great city; the next he knew the light was within himself. Directly afterwards came upon him a sense of exultation, of immense joyousness accompanied or immediately followed by an intellectual illumination quite impossible to describe. Into his brain streamed one momentary lightning-flash of the Brahmic splendor which has ever since lightened his life; upon his heart fell one drop of Brahmic Bliss, leaving thenceforward for always an after taste of heaven. Among other things he did not come to believe, he saw and knew that the cosmos is not dead matter but a living Presence, that the soul of man is immortal, that the universe is so built and ordered that without peradventure all things work together for the good of each and all, that the foundation principle of the world is what we call love and that the happiness of everyone in the long run is absolutely certain. He claims he learned more within the few seconds during which the illumination lasted than in previous months or even years of study and that he learned much that no study could ever have taught. The illumination itself continued not more than a few moments, but its effects proved ineffaceable; it was impossible for him ever to forget what he at that time saw and knew; neither did he, nor could he, ever doubt the truth of what was then presented to his mind. There was no return that night or at any other time of the experience. The supreme occurrence of that night was his real and sole initiation to the new and higher order of ideas. But it was only an initiation. He saw the light but had no more idea whence it came and what it meant than had the first creature that saw the light of the sun. Years afterwards he met a man who had had a large experience in the higher life. His conversations with this man threw a flood of light upon the meaning of what he had himself experienced. Looking round then upon the world of man, he saw the significance of the subjective light in the case of Paul and in that of Mohammed. The secret of Whitman's transcendent greatness was revealed to him. Personal intercourse and conversations with men, 1 who had similar experiences assisted greatly in the broadening and clearing up of his speculations. After spending much time and labor in thinking he came to the conclusion that there exists a family sprung from, living among, but scarcely forming a part of ordinary humanity, whose members are spread abroad throughout the advanced races of mankind and throughout the last forty centuries of the world's history. The trait that distinguishes these people from other men is this: Their spiritual eyes have been opened and they have seen. The better known members of this group who, if they were collected together, could be accommodated all at one time in a modern drawing-room, have created all the great modern religions, beginning with Taoism and Buddhism, and speaking generally, have created, through religion and literature, modern civilization. Not that they have contributed any large numerical proportion of the books which have been written, but that they have produced the few books which have inspired the larger number of all that have been written in modern times. These men dominate the last twenty-five, especially the last five centuries as stars of the first magnitude dominate the midnight sky. # **5** It remains to say a few words upon the psychological origin of what is called in this book Cosmic Consciousness. Although in the birth of Cosmic Consciousness the moral nature plays an important part, it will be better for many reasons to confine our attention at present to the evolution of the intellect. In this evolution there are four distinct steps. The first of them was taken when upon the primary quality of excitability sensation was established. At this point began the acquisition and more or less perfect registration of sense impressions – that is, of percepts. A percept is of course a sense impression. If we could go back far enough we should find among our ancestors a creature whose whole intellect was made up simply of these percepts. But this creature had in it what may be called an eligibility of growth, and what happened with it was something like this: Individually and from generation to generation it accumulated these percepts, the constant repetition of which, calling for further and further registration, led, in the struggle for existence and under the law of natural selection, to an accumulation of cells in the central sense ganglia; at last a condition was reached in which it became possible for our ancestor to combine groups of these percepts into what we today call a recept. This process is very similar to that of composite photography. Similar percepts (as of a tree) are registered one over the other until they are generalized into the percept of a tree. Now the work of accumulation begins again on a higher plane: the sensory organs keep steadily at work manufacturing percepts; the receptual centers keep steadily at work manufacturing more and yet more recepts from the old and the new percepts; the capacity of the central ganglia is constantly taxed to do necessary registration of percepts, the necessary elaboration of these into recepts; then as the ganglia by use and selection are improved they constantly manufacture from percepts and from the initial simple recepts, more and more complex, that is, higher and higher recepts. At last, after many thousands of generations have lived and died, comes a time when the mind has reached the highest possible point of purely receptual intelligence; the accumulation of percepts and of recepts has gone on until no greater stores of impressions can be laid up and no further elaboration of these can be accomplished on the plane of receptual intelligence. Then another break is made and the higher recepts are replaced by concepts. The relation of a concept to a recept is somewhat similar to the relation of algebra to arithmetic. A recept is a composite image of hundreds, perhaps thousands of percepts; it is itself an image abstracted from many images; but a concept is that same composite image – that same recept – named, ticketed, and, as it were, dismissed. A concept is in fact neither more nor less than a _named recept_ – the name that is, the sign (as in algebra), standing henceforth for the thing itself, that is, for the recept. Now it is clear as day to any one who will give the least thought to the subject, that the revolution by which concepts are substituted for recepts increases the efficiency of the brain for thought as much as the introduction of machinery increases the capacity of the race for work – as much as the use of algebra increases the power of the mind in mathematical calculations. To replace a great cumbersome recept by a simple sign was almost like re-placing actual goods – as wheat, fabrics and hardware – by entries in the ledger. But, as hinted above, in order that a recept may be replaced by a concept it must be named, or, in other words, marked with a sign which stands for it – just as a check stands for a piece of goods; in other words, the race that is in possession of concepts is also, and necessarily, in possession of language. Further, it should be noted, as the possession of concepts implies the possession of language, so the possession of concepts and language (which are in reality two aspects of the same thing) implies the possession of self-consciousness. All this means that there is a moment in the evolution of mind when the receptual intellect, capable of simple consciousness only, becomes almost or quite instantaneously a conceptual intellect in possession of language and self-consciousness. Our intellect, then, today is made up of a very complex mixture of percepts, recepts and concepts. The next chapter in the story is the accumulation of concepts. This is a double process; each individual accumulates a larger and larger number while the individual concepts are becoming constantly more and more complex. Is there to be any limit to this growth of concepts in number and complexity? Whoever will seriously consider that question will see that there must be a limit. No such process could go on to infinity. We have seen that the expansion of the perceptual mind had a necessary limit: that its continued life led inevitably up to and into the receptual mind; that the receptual mind by its own growth was inevitably led up to and into the conceptual mind. _A priori_ considerations make it certain that a corresponding outlet will be found for the conceptual mind. But we do not need to depend upon abstract reasoning to demonstrate the necessary existence of the supra-conceptual mind, since it exists and can be studied with no more difficulty than other natural phenomena. The supra-conceptual intellect, the elements of which instead of being concepts are intuitions, is already (in small numbers it is true) an established fact, and the form of consciousness that belongs to that intellect may be called and has been called – Cosmic Consciousness. The basic fact in cosmic consciousness is implied in its name – that fact is consciousness of the cosmos – this is what is called in the East the "Brahmic Splendor," which is in Dante's phrase capable of trans-humanizing a man into a god. Whitman, who has an immense deal to say about it, speaks of it in one place as "ineffable light – light rare, untellable, lighting the very light – beyond all signs, description, languages." This consciousness shows the cosmos to consist not of dead matter governed by unconscious, rigid, and unintending law; it shows it on the contrary as entirely immaterial, entirely spiritual and entirely alive; it shows that death is an absurdity, that everyone and everything has eternal life; it shows that the universe is God and that God is the Universe.... A great deal of this is of course, from the point of view of self-consciousness, absurd; it is nevertheless undoubtedly true. Now all this does not mean that when a man has cosmic consciousness he knows everything about the universe. We all know that when at three years of age we acquired self-consciousness, we did not at once know all about ourselves.... So neither does a man know all about the cosmos merely because he becomes conscious of it.... If it has taken the race several thousand years to learn a smattering of the science of humanity since its acquisition of self-consciousness, so it may take it millions of years to acquire cosmic consciousness. As on self-consciousness is based the human world as we see it with all its works and ways, so on cosmic consciousness is based the higher religions and the higher philosophies and what comes from them, and on it will be based, when it becomes more general, a new world of which it would be idle to try to speak today. The philosophy of the birth of cosmic consciousness in the individual is very similar to that of the birth of self-consciousness. The mind becomes overcrowded (as it were) with concepts and these are constantly becoming larger, more numerous and more and more complex; some day (the conditions being all favorable) the fusion, or what might be called the chemical union, of several of them and of certain moral elements takes place; the result is an intuition and the establishment of the intuitional mind, or, in other words, cosmic consciousness. The scheme by which the mind is built up is uniform from beginning to end: a recept is made of many percepts; a concept of many or several recepts and percepts, and an intuition is made of many concepts, recepts and percepts together with other elements belonging to and drawn from the moral nature. The cosmic vision or the cosmic intuition, from which what may be called the new mind takes its name, is thus seen to be simply the complex and union of all prior thought and experience – just as self-consciousness is the complex and union of all thought and experience prior to it. Cosmic consciousness, like other forms of consciousness, is capable of growth, it may have different forms, different degrees. It must not be supposed that because a man has cosmic consciousness he is therefore omniscient or infallible. Men of cosmic consciousness have reached a higher level; but on that level there can be different degrees of consciousness. And it must be still more evident that, however godlike the faculty may be, those who first acquire it, living in diverse ages and countries, passing their life in different surroundings, brought up to view life from totally different points of view, must necessarily interpret somewhat differently those things which they see in the new world which they enter. Language corresponds to the intellect and is therefore capable of expressing it perfectly and directly; on the other hand, the functions of the moral nature are not connected with language and are only capable of indirect and imperfect expression by its agency. Perhaps music, which certainly has its roots in the moral nature, is, as at present existing, the beginning of a language which will tally and express emotions as words tally and express ideas.... Language is the exact tally of the intellect; for every concept there is a word or words and for every word there is a concept.... No word can come into being except as the expression of a concept, neither can a new concept be formed without the formation (at the same time) of the new word which is its expression. But as a matter of fact ninety-nine out of every hundred of our sense impressions and emotions have never been represented in the intellect by concepts and therefore remain unexpressed and inexpressible except by roundabout description and suggestion. As the correspondence of words and concepts is not casual or temporary but resides in the nature of these and continues during all time and under all circumstances absolutely constant, so changes in one of the factors must correspond with changes in the other. So evolution of intellect must be accompanied by evolution of language. An evolution of language will be evidence of evolution of intellect. It seems that in every, or nearly every man who enters into cosmic consciousness apprehension is at first more or less excited, the person doubting whether the new sense may not be a symptom or form of insanity. Mohammed was greatly alarmed. The Apostle Paul was alarmed in the same manner. The first thing each person asks himself upon experiencing the new sense is: Does what I see and feel represent reality or am I suffering from a delusion? The fact that the new experience seems even more real than the old teachings of consciousness does not at first fully reassure him, because he knows the force of delusions. Simultaneously or instantly following the above sense and emotional experiences there comes to the person an intellectual illumination quite impossible to describe. Like a flash there is presented to his consciousness a clear conception (a vision) in outline of the meaning and drift of the universe. He does not come to believe merely; but he sees and knows that the cosmos, which to the self-conscious mind seems made up of dead matter, is in fact far otherwise – is in very truth a living presence. He sees that instead of men being, as it were, patches of life scattered through an infinite sea of non-living substance, they are in reality specks of relative death in an infinite ocean of life. He sees that the life which is in man is eternal, as all life is eternal, that the soul of man is as immortal as God is.... A man learns infinitely much of the new. Especially does he obtain such a conception of THE WHOLE – or at least of an immense WHOLE – as dwarfs all conception, imagination or speculation, such a conception as makes the old attempts to mentally grasp the universe and its meaning petty and even ridiculous. This expansion of the intellect enormously increases the capacity both for learning and initiating. The history of the development and appearance of cosmic consciousness _in humanity_ is the same as that of the development of all the various psychic faculties. These faculties appear first in certain exceptional individuals, then become more frequent, thereafter become susceptible of development in all, and at last begin to belong to all men from their birth. Rare, exceptional, unique abilities appear in man in mature age, sometimes even in senility. Becoming more common they manifest as "talents" in younger men. And then they appear as "abilities" even in children. At last they become the common property of all from their birth, and their absence is regarded as a monstrosity. Such is the faculty of _speech_ (i.e., the faculty of making concepts). Probably in a distant past, at the beginning of the appearance of self-consciousness, this faculty was the gift of a few exceptional individuals and it began then to appear perhaps in senility. After that it began to appear more frequently and to manifest itself earlier. Probably there was a period when _speech_ was not a gift of all men just as are not now artistic talents, the musical sense, the sense of color and form. Gradually it became _possible_ for all and then inevitable and necessary, if some physical defect did not prevent its manifestation. ## **Comments on the Quotations from Dr. Bucke's Book** 1. Though I am quoting Dr. Bucke's opinion regarding three coming revolutions, let me note that I do not at all share his optimism regarding social life, which, as follows from what he says, can and must change by reason of material causes (the conquest of the air and social revolution). The only possible ground for favorable changes in the outer life (provided such changes are generally possible) can only be changes in the inner life – i.e., those changes which Dr. Bucke calls the psychical revolution. This is the only thing that can create a better future for men. All cultural conquests in the realm of the material are double-edged, may equally serve for good or for evil. A change of consciousness can alone be a guarantee of the surcease of willful misuses of the powers given by culture, and only thus will culture cease to be a "growth of barbarity." Democratic organization and the nominal rule of the majority guarantee nothing: on the contrary, even now, where they are realized – though only in name – they create without delay, and promise in future to create on a larger scale, violence toward the minority, the limitation of the individual, and the curtailment of freedom. 2. Dr. Bucke says that once human consciousness is attained, then further evolution is inevitable. In this affirmation Dr. Bucke makes a mistake common to all men who dogmatize about evolution. Having painted a very true picture of the consecutive gradations of the forms of consciousness observed by us – of animal-vegetable, of animal, and of man – Dr. Bucke considers this gradation exclusively in the light of the evolution of one form from another, not at all admitting the possibility of other points of view: for example, the fact that each of the existing forms is a link of _separate_ evolutionary chains, i.e., that the evolutions of animal-vegetables, of animals and of men are different, go by different routes, and do not impinge upon one another. And this standpoint is entirely justifiable when we take into consideration the fact that we _never know_ transitional forms. Moreover Dr. Bucke makes an entirely arbitrary conclusion concerning the _inevitability_ of the further evolution of man, because unconscious evolution (i.e., unconscious for the individual directed by the consciousness of the species) in the vegetable and animal kingdoms is impossible with the appearance of reasoning in man. It is necessary to recognize that the mind of a man depends upon itself to a considerably greater degree than the mind of an animal. The mind of a man has far more power over itself; it can assist in its own evolution, and can also _impede_ it. We are confronted with the general question: can unconscious evolution proceed with the appearance of reasoning? It is far more correct to suppose that the appearance of reasoning annihilates the possibility of unconscious evolution. Power over evolution passes from the group-soul (or from nature) to the individual itself. Further evolution, if it takes place, cannot be an elemental and unconscious affair, but will result solely from conscious _efforts toward growth_. This is the most interesting point in the whole process, but Dr. Bucke fails to bring it out. _Man_ , not striving toward evolution, not conscious of its possibility, not helping it, will not evolve. And the individual who is not evolving does not remain in a static condition, but goes down, _degenerates_ (i.e., some of his elements begin their own evolution, inimical to the whole). This is the general law. And if we take into consideration what an infinitesimal percentage of men think and are capable of thinking of their evolution (or their striving toward higher things) then we shall see that to talk about the inevitability of this _evolution is at least naive_. 3. Speaking of the formation of a higher faculty of knowledge and reason, Dr. Bucke fails to take into consideration one very important circumstance. He himself previously remarks that the blending of concepts with emotional elements proceeds in the mind, and as _a result of this_ a new understanding appears, and then cosmic consciousness. Thus it follows from his own words that cosmic consciousness is not simply a blending of concepts with emotional elements, or ideas with feelings, but is _the result_ of this blending. Dr. Bucke however does not dwell on this with sufficient attention. Moreover he further regards the fundamental element of cosmic consciousness as the blending of sensations, perceptions and concepts with elements properly belonging to the emotional nature. This is a mistake, because one element of cosmic consciousness is not simply _the blending_ of thought and feeling, but _the result_ of this blending, or in other words: thought and feeling _plus something else_ , plus something else that is absent either in the intellect or in the emotional nature. But Dr. Bucke regards this new faculty of understanding and reasoning as a product of the _evolution of existing faculties_ and this vitiates all his deductions. Let us imagine that some scientist from another planet, not suspecting the existence of _man_ , studies the horse, and its "evolution" from colt to saddle horse, and regards as its highest evolution the horse with the horseman in the saddle. From our standpoint it is clearly impossible to regard a man sitting in the horse's saddle as a fact of _horse_ evolution, but from the point of view of the scientist who knows nothing about man, this will be only logical. Dr. Bucke finds himself in exactly this position when he regards that which transcends the region of humanity altogether as a fact of human evolution. Man possessing cosmic consciousness, or approaching cosmic consciousness is not merely man, but man with something higher added. Dr. Bucke, like Edward Carpenter in many cases also, is handicapped by the desire not to go too strongly counter to accepted views (although that is inevitable); by the desire to reconcile those views with the "new thought," to flatten out contradictions, to reduce everything to one thing, which is of course impossible – as is the reconciliation of correct and incorrect, true and false views upon one and the same thing. The greater part of Dr. Bucke's book consists of examples and quotations from the teachings and writings of men of "cosmic consciousness" in the history of the world. He draws parallels between these teachings, and establishes the _unity_ of the forms of transition into the new state of consciousness in men of different centuries and of different peoples, and the unity of their sensations of the world and of the self, testifying more than anything else to the genuineness and reality of their experiences. The founders of world-religions, prophets, philosophers, poets – these are men of "cosmic consciousness" according to Dr. Bucke's book. He does not pretend to present a full list of them, and it is of course possible to add many names to his list. 1 But after all, various little imperfections of Dr. Bucke's book are not important, nor additions which might possibly be made. What is important is the general conclusion to which Dr. Bucke comes – the possibility and the immanence of the NEW CONSCIOUSNESS. All this announces to us the nearness of the NEW HUMANITY. We are building without taking into consideration the fact that a NEW MASTER must come who may not at all like everything that we have built. Our "social sciences," sociology, and so forth, have in view only man, while as I have several times shown before, the concept "man" is a complex one, and includes in itself different categories of men going along different paths. The future belongs not to _man, but to superman_ , who is already born, and lives among us. A higher race is rapidly emerging among humanity, and it is emerging by reason of its quite remarkable understanding of the world and life. It will be truly a HIGHER RACE – and there will be no possibility of any falsification, any substitution, or any usurpation at all. It will be impossible for anything to be _bought_ , or _appropriated_ to oneself by deceit or by might. Not only will this race be, but it already is. The men approaching the transition into a new race begin already to know one another: already are established passwords and counter-signs. And perhaps those social and political questions so sharply put forward in our time may be solved on quite another plane and by quite a different method than we think – may be solved by the entrance into the arena of a new race CONSCIOUS OF ITSELF which will judge the old races. In my remarks I called attention to certain imperfections in Dr. Bucke's book arising chiefly from a strange indecisiveness of his, from his timidity in asserting the dominant significance of the new consciousness. This results from the desire of Dr. Bucke to establish the future of humanity from a positivistic standpoint upon social and political revolutions. But we may regard this view as having lost all validity. The bankruptcy of materialism, i.e., "logical" systems, when it comes to organizing life on earth is now evident in the bloody epoch which we are undergoing, even to those men who but yesterday were prating of "culture" and "civilization." It became clearer and clearer that the changes in the outer life of the majority, when these changes come, will do so _as a result_ of inner changes in a few. We may say further with regard to Dr. Bucke's entire book, that touching the idea _of the natural growth_ of consciousness, he does not notice that these faculties do not unfold themselves perforce: conscious work on them is necessary. And he does not dwell at all on conscious efforts in this direction, on the idea of the _culture_ of cosmic consciousness. Meanwhile there exists a whole series of psychological teachings (occultism, yoga, etc.) and a large literature having in view a systematic culture of the higher consciousness. Dr. Bucke does not remark this, and insists upon the idea of natural growth, although he himself several times touches upon the culture of consciousness. In one portion of his book he speaks very contemptuously regarding the use of narcotics for the creation of ecstatic states, not taking into consideration the fact that narcotics cannot give anything which man does not possess (this is the explanation of the different action of narcotics on different men), but can only in certain cases unfold that which is already in the soul of man. This entirely alters the point of view upon narcotics, as Prof. William James has shown in his book, _The Varieties of Religious Experience_. In general, allured by the evolutionary point of view, and looking at _the future_ , Dr. Bucke, like many others, does not pay sufficient attention to _the present_. That new consciousness which men may discover or unfold _in themselves_ now is indeed far more important than that which may or may not appear in other men millenniums hence. Regarding from different standpoints the complex forms of the manifestation of spirit, and analyzing the views and opinions of various authors, we are always confronted with what seem to be consecutive phases or consecutive stages of this unfoldment. And we find such phases or stages to be four in number. Further consideration of the living world known to us, from the lower animal organisms up to the highly developed body of man, reveals the simultaneous existence of all four forms of consciousness to which all other aspects of the inner life correspond: the sense of space and time, the form of activity, etc. Still further consideration of _man of the higher type_ reveals the presence of all the four forms of consciousness which are in living nature, with forms corresponding to them. The simultaneous coexistence of all four forms of consciousness at once, both in nature and in the higher type of man makes the exclusively evolutionary standpoint seem forced and artificial. The evolutionary standpoint is often made the means of escape from difficult problems, and from hard thinking. Some people apply the evolutionary theory where there is no necessity for it whatever. In many cases this is a compromise of thought. Not understanding the existing variety of forms, and not possessing the skill to think of all this _as a unity_ , men have recourse to the evolutionary idea, and regard this great variety of forms as an ascending ladder – not because this conforms to facts, but from a desire to systematize the observed facts at all costs, though on entirely artificial foundations. It appears to men that having built a system they already know something, whereas in reality the absence of a system is often much nearer to real knowledge than an artificial system. **FORMS OF CONSCIOUSNESS** Latent Consciousness, similar to our instincts and subconscious feelings Simple Consciousness and flashes of thought Reasoning. Moments of self-consciousness and flashes of cosmic consciousness Self-consciousness and beginning of cosmic consciousness **LIVING WORLD** Cells, groups of cells, plants, lower animals, and organs and parts of body of higher animals and of man Animals possessing complex organisms. Absence of consciousness of death Man. Consciousness of death or fantastic theories of immortality Man of higher type. Beginning of immortality **MAN OF HIGHER TYPE** Cells, groups of cells, tissues and organs of the body Body, instincts, desires, voices of the body, emotions Simple emotions, logical reason, mind Higher emotions, higher intellect, intuition, mystical wisdom "Evolutionists," being incapable of understanding the whole, without representing it to themselves as a chain, one link of which is connected with another, are like the blind men in the Oriental fable, who feel of an elephant in different places, and one affirms that the elephant is like pillars, another that it is like a thick rope, and so forth. The evolutionists however, add to this that the trunk of the elephant must _evolve_ from the feet, the ears from the trunk, and so on. But we after all know that this is an _elephant_ , i.e., a single being, unknown to men who are blind. Such a being is the living world. And with regard to the forms of consciousness, it is far more correct to consider them not as consecutive phases or steps of evolution which are separate from one another, but as different sides or parts of one whole which we do not know. In "man" this unity is apparent. All forms of consciousness in him can exist simultaneously; the life of cells and organs, with their consciousness; the life of the entire body, taken as a whole; the life of the emotions and of the logical reason, and the life of the higher understanding and feeling. The higher form of consciousness is not necessary _for life_ ; it is possible to live without it. But without it the organization and orderliness of life is impossible. Long under the domination of materialism and positive thinking, forgetting and perverting religious ideas, men thought that it was possible to live by the merely logical mind alone. But now, little by little, it is becoming quite evident to those who have eyes, that merely by the exercise of logical reason men will not be able to organize their life on earth, and if they do not finally exterminate themselves, as some tribes and peoples are doing, in any case they will create (and have already created) impossible conditions of life in which everything gained will be lost – i.e., everything that was given them in the past by men of self-consciousness and cosmic consciousness. The living world of nature (including man) is analogous to man; and it is more correct and more convenient to regard the different forms of consciousness in different divisions and strata of living nature as belonging to one organism and performing different, but related functions, than as separate, and evolving from one another. Then the necessity disappears for all this naive theorizing on the subject of evolution. We do not regard the organs and members of the body of man as evolved one from another _in a given individual_ and we should not be guilty of the same error with relation to the organs and members of the body of living nature. I do not deny the law of evolution, but the application of it to the explanation of many phenomena of life is in great need of correction. Firstly, if we accept the idea of one common evolution, after all it is necessary to remember that the types which develop slower, the remnants of evolution, may not continue to follow after, and at a slow pace, _the same_ evolution, but may begin an evolution of their own, developing in many cases exactly those properties on account of which they were thrown out from basic evolution. Secondly, though we accept the law of evolution, there is no necessity to regard all existing forms as having been developed one from another (like man from the ape, for example). In such cases it is more correct to regard them all as the _highest types_ in their own evolution. The absence of intermediate forms makes this view much more probable than that which is usually accepted, and which gives such rich material for discussions about the obligatory and inevitable perfection of all – "perfection" from our standpoint. The views propounded here are indeed more difficult than the usual evolutionary point of view, just as the conception of the living world as an _entire_ organism is more difficult; but this difficulty must be surmounted. I have said already that the real world must be illogical from the usual points of view, and by no means can it be made simple and comprehensible to one and all. The theory of evolution is in need of many corrections, additions, and much development. If we consider the existing forms on any given plane, it will be quite impossible to declare that all these forms evolved from the simplest forms on this plane. Some undoubtedly evolved from the lowest ones; others resulted from the process of degeneration of the higher ones; a third class developed from the remnants of some evolved form – while a fourth class resulted as a consequence of the incursion into the given plane of the properties and characteristics of some higher plane. It is certainly impossible to regard these complex forms as developed by an evolutionary process upon the given plane. The below classification will show more clearly this correlation of forms of manifestation of consciousness, or of different states of consciousness. _First form_. A sense of one-dimensional space in relation to the outer world. Everything transpires on a line, as it were. Sensations are not differentiated. Consciousness is immersed in itself, in its work of nutrition, digestion and assimilation of food, etc. This is the state of the cell, the group of cells, of tissues and organs of the body of an animal, of plants and lower organisms. In a man this is the "instinctive mind." _Second form_. A sense of two-dimensional space. This is the state of the animal. That which is for us the third dimension, for it is motion. It already senses, feels, but does not think. Everything that it sees appears to it as genuinely real. Emotional life and flashes of thought in a man. _Third form_. A sense of three-dimensional space. Logical thinking. Philosophical division into I and Not-I. Dogmatic religions or dualistic spiritism. Codified morality. Division into spirit and matter. Positivistic science. The idea of evolution. A mechanical universe. The understanding of cosmic ideas as metaphors. Imperialism, "historical materialism," socialism, etc. Subjection of the personality to society and law. Automatism. Death as the extinction of the personality. Intellect and flashes of self-consciousness. _Fourth form_. Beginning of the understanding of four-dimensional space. A new concept of time. The possibility of more prolonged self-consciousness. Flashes of cosmic consciousness. The idea and sometimes the sensation of a living universe. A striving toward the wondrous. Sensation of infinity. Beginning of self-conscious will and moments of cosmic consciousness. Possibility of personal immortality. Thus the third form includes that "man" whom science studies. But the fourth form is characteristic of the man who is beginning to pass out of the field of observation of positivism and logical understanding. The table at the end of the book is a summing up of the contents of the entire book, and shows more in detail the correlation of the observed forms of consciousness in the living world and in man." ## **Evolution or Culture?** The most interesting and important questions arising with regard to cosmic consciousness may be summed up as follows: **1** – Is the manifestation of cosmic consciousness a problem of the distant future, and of other generations – i.e., must cosmic consciousness appear as the result of an evolutionary process, after centuries and millenniums, and will it then become a common property or a property of the majority? And **2** – Can cosmic consciousness make its appearance now in contemporary man, i.e., at least as the result of a certain education and self-development which will aid the unfolding in him of dominant forces and capabilities, i.e., as the result of a certain culture? It seems to me that with regard to this, the following ideas are tenable: The possibility of the appearance or development of cosmic consciousness belongs to the few. But even in the case of those men in whom cosmic consciousness may appear, certain quite definite inner and outer conditions are requisite for its manifestation – a certain _culture_ , the education of those elements congenial to cosmic consciousness, and the elimination of those hostile to it. The distinguishing signs of those men in whom cosmic consciousness is likely to manifest are not studied at all. The first of these signs is the constant or frequent sensation that the world is not at all as it appears; that what is most important in it is not at all what is considered most important. The quest of the wondrous, sensed as the only real and true, results from this impression of the unreality of the world and everything related thereto. High mental culture, high intellectual attainments, are not necessary conditions at all. The example of many _saints_ , who were not intellectual, but who undoubtedly attained cosmic consciousness, shows that cosmic consciousness may develop in purely emotional soil, i.e., in the given case as a result of religious emotion. Cosmic consciousness is also possible of attainment through the emotion attendant upon creation – in painters, musicians and poets. Art in its highest manifestations is a path to cosmic consciousness. But equally in all cases the unfoldment of cosmic consciousness demands a certain _culture_ , a correspondent life. From all the examples cited by Dr. Bucke, and all others that one might add, it would not be possible to select a single case in which cosmic consciousness unfolded in conditions of inner life adverse to it, i.e., in moments of absorption by the _outer_ life, with its struggles, its emotions and interests. For the manifestation of cosmic consciousness it is necessary that the center of gravity of _everything_ shall lie for man in the inner world, in self-consciousness, and not in the outer world at all. If we assume that Dr. Bucke himself had been surrounded by entirely different conditions than those in which he found himself at the moment of experiencing cosmic consciousness, then in all probability his illumination would not have come at all. He spent the evening reading poetry in the company of men of high intellectual and emotional development, and was returning home full of the thoughts and emotions of the evening. But if instead of this he had spent the evening playing cards in the society of men whose interests were common and whose conversation was vulgar, or at a political meeting, or had he worked a night shift in a factory at a turning-lathe or written a newspaper editorial in which he himself did not believe and nobody else would believe – then we may declare with certainty that no cosmic consciousness would have appeared in him at all. For it undoubtedly demands a great freedom, and concentration on the inner world. This conclusion in regard to the necessity for special culture and definitely favorable inner and outer conditions does not necessarily mean that cosmic consciousness is likely to manifest _in every man_ who is put in these conditions. There are men, probably an enormous majority of contemporary humanity, in whom exists no such possibility at all. And in those who do not possess it in some sort already, it cannot be created by any culture whatever, in the same way that no kind or amount of culture will make an animal speak the language of man. The possibility of the manifestation of cosmic consciousness cannot be inoculated artificially. A man is either born with or without it. This possibility can be throttled or developed, but it cannot be created. Not all can learn to discern the real from the false, but he who can will not receive this gift of discernment free. This is a thing of great labor, a thing of great work, which demands boldness of thought and boldness of feeling. # **Conclusion** IN CONCLUSION I WISH to speak of those wonderful words, full of profound mystery from the Apocalypse and the apostle Paul's Epistle to the Ephesians, which are placed as the epigraph of this book. The Apocalyptic angel swears that THERE SHALL BE TIME NO LONGER. We know not what the author of the Apocalypse wanted to convey, but we do know those STATES OF SPIRIT when time disappears. We know that in this very thing, _in the change of the time-sense_ , the beginning of the fourth form of consciousness is expressed, the beginning of the transition to COSMIC CONSCIOUSNESS. In this and in phrases similar to it, the profound philosophical content of the evangelical teaching sometimes flashes forth. And the understanding of the fact that the MYSTERY OF TIME is the first mystery to be revealed is the first step toward the development of cosmic consciousness along the intellectual path. But what did the Apocalyptic sentence mean? Did it mean precisely what we are now able to construe in it – or was it simply a bit of verbal art, a rhetorical figure of speech, the accidental harping of a string which has continued to sound up to our own time, through centuries and millenniums, with such a wonderfully powerful, true and beautiful tone of thought? We know not now, nor shall we ever, but the words are full of splendor, and we may accept them as a symbol of remote and inaccessible truth. The apostle Paul's words are even more strange, even more startling by reason of their _mathematical_ exactness. (A friend showed me these words in A. Dobroluboff's _From the Book Invisible_ , who saw in them a direct reference to "the fourth measure of space.") Truly, what does this mean? .... That ye, being rooted and grounded in _love_ , may be able to comprehend with all _saints_ what is the BREADTH and LENGTH and DEPTH and HEIGHT. First of all, what does the _comprehension of breadth and length and depth and height_ mean? What is it but _the comprehension of space?_ And we now know that the comprehension of the mysteries of space is the beginning of the higher comprehension. The apostle says that "being rooted and grounded in _love_ , with all _saints_ " they may comprehend _what space is_. Here arises the question: why must _love_ give comprehension? That _love_ leads to _sanctity_ – this is easily understood. Love in the sense that the apostle Paul understands it (Chapter XIII of the _First Epistle to the Corinthians_ ) is the highest of all emotions, the _synthesis_ , the blending of all highest emotions. Incontestably, this leads to _sanctity_. _Sanctity_ : that is the state of the spirit liberated from the _duality_ of man, from his eternal disharmony of soul and body. In the language of the apostle Paul, _sanctity_ meant even a little less than in our contemporary language. He called all members of his church _saints_ ; sanctity meant to him righteousness, morality, religiosity. We say that all this is merely _the path to sanctity_. Sanctity is something more – something _attained_. But it is after all immaterial how we shall understand his words – in his meaning or in ours – sanctity is a superhuman quality. In the region of morality it corresponds to _genius_ in the region of mind. _Love is the path to sainthood_. But with _sanctity_ the apostle Paul unites KNOWLEDGE. Saints _comprehend_ what is the breadth and length and depth and height; and he says that all – through love – may _comprehend_ this with them. But may comprehend what, exactly? COMPREHEND SPACE. Because "breadth and length and depth and height" translated into our language of shorter definitions actually means _space_. The latter is the most strange. How could the apostle Paul possibly KNOW that sanctity gives a new understanding of _space?_ We _know that it must give it_ , but FROM WHAT could he know that? None of his contemporaries ever united sanctity with the idea of the comprehension of space; and in general there was no discussion at all about "space" at that time, at least among the Greeks and Romans. Only now, _after Kant_ , and after we have had access to the treasures of thought of the Orient, do we understand that the transition into a new phase of consciousness is impossible without the expansion of the space-sense. But we wonder if this is what the apostle Paul wanted to say – that strange man: Roman official, persecutor of the first Christianity who became its preacher, philosopher, mystic; the man who "saw God," the bold reformer and moralist of his time, who fought for "the spirit" against "the letter" and was of course not responsible for the fact that he himself was understood by others not in "the spirit," but in "the letter." Is it _this_ that he wanted to say? We do not know. But let us look at these words of the _Apocalypse_ and the _Epistles_ from the standpoint of our usual "positivistic thinking," which sometimes condescendingly agrees to admit the "metaphorical meaning" of mysticism. What shall we see? WE SHALL SEE NOTHING! The flash of _mystery_ , which appeared just for an instant, will immediately disappear. The words will be without any content, nothing in them will attract our wearied attention, which will merely glide over them as it glides over everything. We will indifferently turn the page and indifferently close the book. An interesting metaphor, yes: But nothing else! And we fail to observe that we rob ourselves, deprive life of all beauty, all mystery, all content; and wonder afterwards why everything is so uninteresting and detestable to us, why we do not desire to live, and why we do not understand anything around us; we wonder why brute force wins, or deceit and falsification, though to these things we have nothing to oppose. THE METHOD IS NO GOOD. In its time "positivism" appeared as something refreshing, sober, healthful and _progressive_ , which explored new avenues of thought. After the sentimental speculations of naive dualism "positivism" was indeed a great step forward. Positivism became a symbol of the _progress_ of thought. But we see now that it inevitably leads to _materialism_. And in this form it arrests thought. From revolutionary, persecuted, anarchistic, free-thinking, positivism became the basis of official science. It is decked-out in full dress. It is given medals. There are academies and universities dedicated to its service. It is recognized; it teaches; it tyrannizes over thought. But having attained to well being and prosperity, positivism immediately opposed obstacles to the forward march of thought. A Chinese wall of "positivistic" sciences and methods is built up around free investigation. Everything rising above this wall is condemned as _unscientific_. And seen in this way positivism, which before was a symbol of progress, now appears as _conservative, reactionary_. _The existing order_ is already established in the world of thought, and to fight against it is declared to be a crime. With astonishing rapidity those principles which only yesterday expressed the highest radicalism in the region of thought have become the basis of opportunism in the region of ideas and serve as blind alleys, stopping the progress of thought. In our eyes this occurred with the idea of evolution, on which it is now possible to build up anything, and with the help of which it is possible to tear down anything. But thought, which is free, cannot be bound by any limits. The true motion, which lies at the foundation of everything, is _the motion of thought_. True energy is the _energy of consciousness_. And _truth_ itself is motion, and can never lead to arrestment, to the cessation of search. ALL THAT ARRESTS THE MOTION OF THOUGHT IS FALSE. Therefore the true and real progress of thought is only in the broadest striving toward knowledge that does not recognize the possibility of arrestment in any _found_ forms of knowledge at all. The meaning of life is in eternal search. _And only in that search_ can we find something truly new. # **Paperbacks also available from White Crow Books** Marcus Aurelius— _Meditations_ ISBN 978-1-907355-20-2 Elsa Barker— _Letters from a Living Dead Man_ ISBN 978-1-907355-83-7 Elsa Barker— _War Letters from the Living Dead Man_ ISBN 978-1-907355-85-1 Elsa Barker— _Last Letters from the Living Dead Man_ ISBN 978-1-907355-87-5 Richard Maurice Bucke— _Cosmic Consciousness_ ISBN 978-1-907355-10-3 G. K. Chesterton— _The Everlasting Man_ ISBN 978-1-907355-03-5 G. K. Chesterton— _Heretics_ ISBN 978-1-907355-02-8 G. K. Chesterton— _Orthodoxy_ ISBN 978-1-907355-01-1 Arthur Conan Doyle— _The Edge of the Unknown_ ISBN 978-1-907355-14-1 Arthur Conan Doyle— _The New Revelation_ ISBN 978-1-907355-12-7 Arthur Conan Doyle— _The Vital Message_ ISBN 978-1-907355-13-4 Arthur Conan Doyle with Simon Parke— _Conversations with Arthur Conan Doyle_ ISBN 978-1-907355-80-6 Leon Denis with Arthur Conan Doyle— _The Mystery of Joan of Arc_ ISBN 978-1-907355-17-2 The Earl of Dunraven— _Experiences in Spiritualism with D. D. Home_ ISBN 978-1-907355-93-6 Meister Eckhart with Simon Parke— _Conversations with Meister Eckhart_ ISBN 978-1-907355-18-9 Kahlil Gibran— _The Forerunner_ ISBN 978-1-907355-06-6 Kahlil Gibran— _The Madman_ ISBN 978-1-907355-05-9 Kahlil Gibran— _The Prophet_ ISBN 978-1-907355-04-2 Kahlil Gibran— _Sand and Foam_ ISBN 978-1-907355-07-3 Kahlil Gibran— _Jesus the Son of Man_ ISBN 978-1-907355-08-0 Kahlil Gibran— _Spiritual World_ ISBN 978-1-907355-09-7 Hermann Hesse— _Siddhartha_ ISBN 978-1-907355-31-8 D. D. Home— _Incidents in my Life Part 1_ ISBN 978-1-907355-15-8 Mme. Dunglas Home; edited, with an Introduction, by Sir Arthur Conan Doyle— _D. D. Home: His Life and Mission_ ISBN 978-1-907355-16-5 Edward C. Randall— _Frontiers of the Afterlife_ ISBN 978-1-907355-30-1 Lucius Annaeus Seneca— _On Benefits_ ISBN 978-1-907355-19-6 Rebecca Ruter Springer— _Intra Muros: My Dream of Heaven_ ISBN 978-1-907355-11-0 W. T. Stead— _After Death or Letters from Julia: A Personal Narrative_ ISBN 978-1-907355-89-9 Leo Tolstoy, edited by Simon Parke— _Forbidden Words_ ISBN 978-1-907355-00-4 Leo Tolstoy— _A Confession_ ISBN 978-1-907355-24-0 Leo Tolstoy— _The Gospel in Brief_ ISBN 978-1-907355-22-6 Leo Tolstoy— _The Kingdom of God is Within You_ ISBN 978-1-907355-27-1 Leo Tolstoy— _My Religion: What I Believe_ ISBN 978-1-907355-23-3 Leo Tolstoy— _On Life_ ISBN 978-1-907355-91-2 Leo Tolstoy— _Twentythree Tales_ ISBN 978-1-907355-29-5 Leo Tolstoy— _What is Religion and other writings_ ISBN 978-1-907355-28-8 Leo Tolstoy— _Work While Ye Have the Light_ ISBN 978-1-907355-26-4 Leo Tolstoy with Simon Parke— _Conversations with Tolstoy_ ISBN 978-1-907355-25-7 Vincent Van Gogh with Simon Parke— _Conversations with Van Gogh_ ISBN 978-1-907355-95-0 Howard Williams with an Introduction by Leo Tolstoy— _The Ethics of Diet: An Anthology of Vegetarian Thought_ ISBN 978-1-907355-21-9 Allan Kardec— _The Spirits Book_ ISBN 978-1-907355-98-1 Wolfgang Amadeus Mozart with Simon Parke— _Conversations with Mozart_ ISBN 978-1-907661-38-9 Jesus of Nazareth with Simon Parke— _Conversations with Jesus of Nazareth_ ISBN 978-1-907661-41-9 Rudolf Steiner— _Christianity as a Mystical Fact: And the Mysteries of Antiquity_ ISBN 978-1-907661-52-5 Tomas a Kempis with Simon Parke— _The Imitation of Christ_ ISBN 978-1-907661-58-7 Emanuel Swedenborg— _Heaven and Hell_ ISBN 978-1-907661-55-6 P.D. Ouspensky— _Tertium Organum: The Third Canon of Thought_ ISBN 978-1-907661-47-1 Dwight Goddard— _A Buddhist Bible_ ISBN 978-1-907661-44-0 Leo Tolstoy— _The Death of Ivan Ilyich_ ISBN 978-1-907661-10-5 Leo Tolstoy— _Resurrection_ ISBN 978-1-907661-09-9 **All titles available as eBooks, and selected titles available in Hardback and Audiobook formats fromwww.whitecrowbooks.com** *This is irony which the English-speaking may easily fail to understand. Some unscrupulous monks of the monastery of Athos, famous throughout Greece and Russia, made a practice, it is said, of selling "Egyptian darkness" in little vials, thus making capital out of the credulity and piety of the illiterate Russian pilgrims who were wont to visit this monastery in great numbers. Transl. *In this connection, there have been some interesting observations made upon the blind who are just beginning to see. In the magazine _Slepetz_ ( _The Blind_ , 1912) there is a description from direct observation of how those born blind learn to see after the operation which restored their sight: This is how a seventeen-year-old youth, who recovered his sight after the removal of a cataract, describes his impressions. On the third day after the operation he was asked what he saw. He answered that he saw an enormous field of light and misty objects moving upon it. These objects he did not discern. Only after four days did he begin to discern them, and after an interval of two weeks, when his eyes were accustomed to the light, he started to use his sight practically, for the discernment of objects. He was shown all the colors of the spectrum and he learned to distinguish them very soon, except yellow and green, which he confused for a long time. The cube, sphere and pyramid, when placed before him seemed to him like the square, the flat disc, and the triangle. When the flat disc was put alongside the sphere he distinguished no difference between them. When asked what impression both kinds of figures produced on him just at first, he said that he noticed at once the difference between the cube and the sphere, and understood that they were not drawings, but was unable to deduce from them their relation to the square and to the circle, until he felt in his finger tips the desire to touch these objects. When he was allowed to take the cube, sphere and pyramid in his hands he at once identified these solids by the sense of touch, and wondered very much that he was unable to recognize them by sight. He lacked the perception of space, perspective. All objects seemed flat to him: though he knew that the nose protrudes, and that the eyes are located in cavities, the human face seemed flat to him. He was delighted with his recovered vision, but in the beginning it fatigued him to exercise it: the impressions oppressed and exhausted him. For this reason, though possessing perfect sight, he sometimes turned to the sense of touch as to repose. *The author of _Superconsciousness_ M. V. Lodizhensky, told me that in the summer of 1910 he was in "Yasnaya Poliana," the residence of L. Tolstoy, and he conversed with him about the mystics and _The Love of the Good_. Tolstoy was at first very skeptical about them, but when Mr. Lodizhensky read to him the quotation, given here, about the circle, Tolstoy became very enthusiastic, and ran into another room and got a letter in which a triangle was drawn. It appeared that he had independently almost grasped the thought of Avva Dorotheus, and had written to someone that God was the apex of a triangle: men the points within the angles; approaching to one another they approach to God, approaching God, they do the same toward one another. Several days afterward Tolstoy rode over to Mr. Lodizhensky's, near Tula, and read different parts of _The Love of the Good_ , much regretting that he had not known the book before. – _P. D. Ouspensky_
/** * Test expressions containing mathematical operations. */ public void testEvaluateMathematicalOperations() { Evaluator evaluator = new Evaluator(); try { /* * These tests involve valid expressions. */ assertEquals("4.0", evaluator.evaluate("4")); assertEquals("-4.0", evaluator.evaluate("-4")); assertEquals("5.0", evaluator.evaluate("4 + 1")); assertEquals("3.0", evaluator.evaluate("4 + -1")); assertEquals("0.2", evaluator.evaluate("0.2")); assertEquals("1.6", evaluator.evaluate("1.2 + 0.4")); assertEquals("1.6", evaluator.evaluate("1.2 + .4")); assertEquals("0.6000000000000001", evaluator.evaluate("0.2 + 0.4")); assertEquals("-0.2", evaluator.evaluate("0.2 - 0.4")); assertEquals("6.0", evaluator.evaluate("2 - -4")); assertEquals("-3.0", evaluator.evaluate("-4 + 1")); assertEquals("-5.0", evaluator.evaluate("-4 + -1")); assertEquals("3.0", evaluator.evaluate("4 - 1")); assertEquals("-3.0", evaluator.evaluate("1 - 4")); assertEquals("12.0", evaluator.evaluate("4 * 3")); assertEquals("-12.0", evaluator.evaluate("4 * -3")); assertEquals("12.0", evaluator.evaluate("-4 * -3")); assertEquals("2.0", evaluator.evaluate("4 / 2")); assertEquals("0.5", evaluator.evaluate("2 / 4")); assertEquals("-2.0", evaluator.evaluate("4 / -2")); assertEquals("1.0", evaluator.evaluate("7 % 2")); assertEquals("1.0", evaluator.evaluate("7 % -2")); assertEquals("14.0", evaluator.evaluate("4 * 3 + 2")); assertEquals("10.0", evaluator.evaluate("4 + 3 * 2")); assertEquals("16.0", evaluator.evaluate("4 / 2 * 8")); assertEquals("4.0", evaluator.evaluate("(4)")); assertEquals("-4.0", evaluator.evaluate("(-4)")); assertEquals("-4.0", evaluator.evaluate("-(4)")); assertEquals("4.0", evaluator.evaluate("-(-4)")); assertEquals("4.0", evaluator.evaluate("-(-(4))")); assertEquals("7.0", evaluator.evaluate("(4 + 3)")); assertEquals("-6.0", evaluator.evaluate("-(3 + 3)")); assertEquals("4.0", evaluator.evaluate("(3) + 1")); assertEquals("2.0", evaluator.evaluate("(3) - 1")); assertEquals("14.0", evaluator.evaluate("(4 + 3) * 2")); assertEquals("13.0", evaluator .evaluate("4 + (3 + 1) + (3 + 1) + 1")); assertEquals("14.0", evaluator.evaluate("((4 + 3) * 2)")); assertEquals("42.0", evaluator.evaluate("((4 + 3) * 2) * 3")); assertEquals("-42.0", evaluator.evaluate("((4 + 3) * -2) * 3")); assertEquals("-2.0", evaluator.evaluate("((4 + 3) * 2) / -7")); assertEquals("16.0", evaluator.evaluate("(4 / 2) * 8")); assertEquals("0.25", evaluator.evaluate("4 / (2 * 8)")); assertEquals("1.0", evaluator.evaluate("(4 * 2) / 8")); assertEquals("1.0", evaluator.evaluate("4 * (2 / 8)")); assertEquals("16.0", evaluator.evaluate("(4 / (2) * 8)")); assertEquals("-4.0", evaluator.evaluate("-(3 + -(3 - 4))")); /* * These tests involve invalid expressions. */ assertException(evaluator, "-"); assertException(evaluator, "4 + "); assertException(evaluator, "4 - "); assertException(evaluator, "4 + -"); assertException(evaluator, "--4"); assertException(evaluator, "4 * / 3"); assertException(evaluator, "* 3"); assertException(evaluator, "((4"); assertException(evaluator, "4 ("); assertException(evaluator, "(4))"); assertException(evaluator, "((4 + 3)) * 2)"); assertException(evaluator, "4 ()"); assertException(evaluator, "4 (+) 3"); } catch (Exception e) { throw new AssertionError(e); } }
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. //========================================================================= #ifndef __ELASTOS_DROID_INTERNAL_TELEPHONY_GSM_CGSMMMICODE_H__ #define __ELASTOS_DROID_INTERNAL_TELEPHONY_GSM_CGSMMMICODE_H__ #include <Elastos.CoreLibrary.Core.h> #include <Elastos.CoreLibrary.Utility.h> #include "Elastos.Droid.Content.h" #include "Elastos.Droid.Os.h" #include "_Elastos_Droid_Internal_Telephony_Gsm_CGsmMmiCode.h" #include "elastos/droid/ext/frameworkdef.h" #include "elastos/droid/os/AsyncResult.h" #include "elastos/droid/os/Handler.h" #include <elastos/core/Object.h> using Elastos::Droid::Content::IContext; using Elastos::Droid::Internal::Telephony::ICallForwardInfo; using Elastos::Droid::Internal::Telephony::IMmiCode; using Elastos::Droid::Internal::Telephony::IMmiCodeState; using Elastos::Droid::Internal::Telephony::IPhone; using Elastos::Droid::Internal::Telephony::Gsm::RequestType; using Elastos::Droid::Internal::Telephony::Gsm::ServiceType; using Elastos::Droid::Internal::Telephony::Uicc::IIccRecords; using Elastos::Droid::Internal::Telephony::Uicc::IUiccCardApplication; using Elastos::Droid::Os::AsyncResult; using Elastos::Droid::Os::IMessage; using Elastos::Droid::Os::Handler; using Elastos::Core::ICharSequence; using Elastos::Utility::Regex::IPattern; namespace Elastos { namespace Droid { namespace Internal { namespace Telephony { namespace Gsm { /** * The motto for this file is: * * "NOTE: By using the # as a separator, most cases are expected to be unambiguous." * -- TS 22.030 6.5.2 * * {@hide} * */ CarClass(CGsmMmiCode) , public Handler , public IGsmMmiCode , public IMmiCode { public: CGsmMmiCode(); CAR_INTERFACE_DECL() CAR_OBJECT_DECL() CARAPI constructor(); CARAPI constructor( /* [in] */ IGSMPhone* phone, /* [in] */ IUiccCardApplication* app); /** * Some dial strings in GSM are defined to do non-call setup * things, such as modify or query supplementary service settings (eg, call * forwarding). These are generally referred to as "MMI codes". * We look to see if the dial string contains a valid MMI code (potentially * with a dial string at the end as well) and return info here. * * If the dial string contains no MMI code, we return an instance with * only "dialingNumber" set * * Please see flow chart in TS 22.030 6.5.3.2 */ static CARAPI NewFromDialString( /* [in] */ const String& dialString, /* [in] */ IGSMPhone* phone, /* [in] */ IUiccCardApplication* app, /* [out] */ IGsmMmiCode** result); static CARAPI NewNetworkInitiatedUssd( /* [in] */ const String& ussdMessage, /* [in] */ Boolean isUssdRequest, /* [in] */ IGSMPhone* phone, /* [in] */ IUiccCardApplication* app, /* [out] */ IGsmMmiCode** result); static CARAPI NewFromUssdUserInput( /* [in] */ const String& ussdMessage, /* [in] */ IGSMPhone* phone, /* [in] */ IUiccCardApplication* app, /* [out] */ IGsmMmiCode** result); /** Process SS Data */ CARAPI ProcessSsData( /* [in] */ AsyncResult* data); CARAPI ParseSsData( /* [in] */ ISsData* ssData); static CARAPI IsServiceCodeCallForwarding( /* [in] */ const String& sc, /* [out] */ Boolean* result); static CARAPI IsServiceCodeCallBarring( /* [in] */ const String& sc, /* [out] */ Boolean* result); static CARAPI ScToBarringFacility( /* [in] */ const String& sc, /* [out] */ String* result); CARAPI GetState( /* [out] */ IMmiCodeState* result); CARAPI GetMessage( /* [out] */ ICharSequence** result); CARAPI GetPhone( /* [out] */ IPhone** result); CARAPI Cancel(); CARAPI IsCancelable( /* [out] */ Boolean* result); /** Does this dial string contain a structured or unstructured MMI code? */ CARAPI IsMMI( /* [out] */ Boolean* result); /* Is this a 1 or 2 digit "short code" as defined in TS 22.030 sec 6.5.3.2? */ CARAPI IsShortCode( /* [out] */ Boolean* result); /** * @return true if the Service Code is PIN/PIN2/PUK/PUK2-related */ CARAPI IsPinPukCommand( /* [out] */ Boolean* result); /** * See TS 22.030 Annex B. * In temporary mode, to suppress CLIR for a single call, enter: * " * 31 # [called number] SEND " * In temporary mode, to invoke CLIR for a single call enter: * " # 31 # [called number] SEND " */ CARAPI IsTemporaryModeCLIR( /* [out] */ Boolean* result); /** * returns CommandsInterface.CLIR_* * See also isTemporaryModeCLIR() */ CARAPI GetCLIRMode( /* [out] */ Int32* result); CARAPI IsActivate( /* [out] */ Boolean* result); CARAPI IsDeactivate( /* [out] */ Boolean* result); CARAPI IsInterrogate( /* [out] */ Boolean* result); CARAPI IsRegister( /* [out] */ Boolean* result); CARAPI IsErasure( /* [out] */ Boolean* result); /** * Returns true if this is a USSD code that's been submitted to the * network...eg, after processCode() is called */ CARAPI IsPendingUSSD( /* [out] */ Boolean* result); CARAPI IsUssdRequest( /* [out] */ Boolean* result); CARAPI IsSsInfo( /* [out] */ Boolean* result); /** Process a MMI code or short code...anything that isn't a dialing number */ CARAPI ProcessCode(); /** * Called from GSMPhone * * An unsolicited USSD NOTIFY or REQUEST has come in matching * up with this pending USSD request * * Note: If REQUEST, this exchange is complete, but the session remains * active (ie, the network expects user input). */ CARAPI OnUssdFinished( /* [in] */ const String& ussdMessage, /* [in] */ Boolean isUssdRequest); /** * Called from GSMPhone * * The radio has reset, and this is still pending */ CARAPI OnUssdFinishedError(); CARAPI SendUssd( /* [in] */ const String& ussdMessage); /** Called from GSMPhone.handleMessage; not a Handler subclass */ CARAPI HandleMessage ( /* [in] */ IMessage* msg); /*** * TODO: It would be nice to have a method here that can take in a dialstring and * figure out if there is an MMI code embedded within it. This code would replace * some of the string parsing functionality in the Phone App's * SpecialCharSequenceMgr class. */ CARAPI ToString( /* [out] */ String* result); private: CARAPI_(String) GetScStringFromScType( /* [in] */ ServiceType sType); CARAPI_(String) GetActionStringFromReqType( /* [in] */ RequestType rType); CARAPI_(Boolean) IsServiceClassVoiceorNone( /* [in] */ Int32 serviceClass); /** make empty strings be null. * Regexp returns empty strings for empty groups */ static CARAPI_(String) MakeEmptyNull( /* [in] */ const String& s); /** returns true of the string is empty or null */ static CARAPI_(Boolean) IsEmptyOrNull( /* [in] */ ICharSequence* s); static CARAPI ScToCallForwardReason( /* [in] */ const String& sc, /* [out] */ Int32* result); static CARAPI SiToServiceClass( /* [in] */ const String& si, /* [out] */ Int32* result); static CARAPI_(Int32) SiToTime( /* [in] */ const String& si); static CARAPI_(Boolean) IsTwoDigitShortCode( /* [in] */ IContext* context, /* [in] */ const String& dialString); /** * Helper function for newFromDialString. Returns true if dialString appears * to be a short code AND conditions are correct for it to be treated as * such. */ static CARAPI_(Boolean) IsShortCode( /* [in] */ const String& dialString, /* [in] */ IGSMPhone* phone); /** * Helper function for isShortCode. Returns true if dialString appears to be * a short code and it is a USSD structure * * According to the 3PGG TS 22.030 specification Figure 3.5.3.2: A 1 or 2 * digit "short code" is treated as USSD if it is entered while on a call or * does not satisfy the condition (exactly 2 digits && starts with '1'), there * are however exceptions to this rule (see below) * * Exception (1) to Call initiation is: If the user of the device is already in a call * and enters a Short String without any #-key at the end and the length of the Short String is * equal or less then the MAX_LENGTH_SHORT_CODE [constant that is equal to 2] * * The phone shall initiate a USSD/SS commands. */ static CARAPI_(Boolean) IsShortCodeUSSD( /* [in] */ const String& dialString, /* [in] */ IGSMPhone* phone); CARAPI_(void) HandlePasswordError( /* [in] */ Int32 res); CARAPI_(AutoPtr<ICharSequence>) GetErrorMessage( /* [in] */ AsyncResult* ar); CARAPI_(AutoPtr<ICharSequence>) GetScString(); CARAPI_(void) OnSetComplete( /* [in] */ IMessage* msg, /* [in] */ AsyncResult* ar); CARAPI_(void) OnGetClirComplete( /* [in] */ AsyncResult* ar); /** * @param serviceClass 1 bit of the service class bit vectory * @return String to be used for call forward query MMI response text. * Returns null if unrecognized */ CARAPI_(AutoPtr<ICharSequence>) ServiceClassToCFString( /* [in] */ Int32 serviceClass); /** one CallForwardInfo + serviceClassMask -> one line of text */ CARAPI_(AutoPtr<ICharSequence>) MakeCFQueryResultMessage( /* [in] */ ICallForwardInfo* info, /* [in] */ Int32 serviceClassMask); /** * Used to format a string that should be displayed as LTR even in RTL locales */ CARAPI_(String) FormatLtr( /* [in] */ const String& str); CARAPI_(void) OnQueryCfComplete( /* [in] */ AsyncResult* ar); CARAPI_(void) OnQueryComplete( /* [in] */ AsyncResult* ar); CARAPI_(AutoPtr<ICharSequence>) CreateQueryCallWaitingResultMessage( /* [in] */ Int32 serviceClass); CARAPI_(AutoPtr<ICharSequence>) CreateQueryCallBarringResultMessage( /* [in] */ Int32 serviceClass); public: AutoPtr<IGSMPhone> mPhone; AutoPtr<IContext> mContext; AutoPtr<IUiccCardApplication> mUiccApplication; AutoPtr<IIccRecords> mIccRecords; String mAction; // One of ACTION_* String mSc; // Service Code String mSia, mSib, mSic; // Service Info a,b,c String mPoundString; // Entire MMI string up to and including # String mDialingNumber; String mPwd; // For password registration IMmiCodeState mState; // = State.PENDING; AutoPtr<ICharSequence> mMessage; static AutoPtr<IPattern> sPatternSuppService; // = Pattern.compile( // "((\\*|#|\\*#|\\*\\*|##)(\\d{2,3})(\\*([^*#]*)(\\*([^*#]*)(\\*([^*#]*)(\\*([^*#]*))?)?)?)?#)(.*)"); /* 1 2 3 4 5 6 7 8 9 10 11 12 1 = Full string up to and including # 2 = action (activation/interrogation/registration/erasure) 3 = service code 5 = SIA 7 = SIB 9 = SIC 10 = dialing number */ private: /** Set to true in processCode, not at newFromDialString time */ Boolean mIsPendingUSSD; Boolean mIsUssdRequest; Boolean mIsCallFwdReg; Boolean mIsSsInfo; // = false; static AutoPtr<ArrayOf<String> > sTwoDigitNumberPattern; }; } // namespace Gem } // namespace Telephony } // namespace Internal } // namespace Droid } // namespace Elastos #endif // __ELASTOS_DROID_INTERNAL_TELEPHONY_GSM_CGSMMMICODE_H__
/** * The terminal {@link InvocationContext} in the interception chain. It is passed to the last interceptor in the chain and calling {@link #proceed()} invokes * the underlying business method. * * @author Jozef Hartinger * @see NonTerminalAroundInvokeInvocationContext * @see AroundInvokeInvocationContext * */ class TerminalAroundInvokeInvocationContext extends AroundInvokeInvocationContext { public TerminalAroundInvokeInvocationContext(Object target, Method method, Method proceed, Object[] parameters, Map<String, Object> contextData, Set<Annotation> interceptorBindings, CombinedInterceptorAndDecoratorStackMethodHandler currentHandler) { super(target, method, proceed, parameters, (contextData == null) ? null : new HashMap<String, Object>(contextData), interceptorBindings, currentHandler); } public TerminalAroundInvokeInvocationContext(NonTerminalAroundInvokeInvocationContext ctx) { super(ctx.getTarget(), ctx.getMethod(), ctx.getProceed(), ctx.getParameters(), ctx.contextData, ctx.getInterceptorBindings(), ctx.currentHandler); } @Override public Object proceedInternal() throws Exception { return getProceed().invoke(getTarget(), getParameters()); } @Override public String toString() { return "TerminalAroundInvokeInvocationContext [method=" + method + ']'; } }
Android drivers are returning to the Linux kernel. Kernel maintainer Greg Kroah-Hartman has retrieved the Android drivers removed from the staging area of Linux 2.6.33 in the spring of 2010 and put them back into his development branch for version 3.3 of the Linux kernel. The plan is for a Linux 3.3 kernel to be able to boot on an Android device without further patches – although not all Android patches are being automatically carried over to the main development branch. For example, the WakeLock code, which helps Android devices' batteries last longer but is not necessary for booting, is not included. The Linux Foundation's Consumer Electronics workgroup, along with a group at Linaro and various individual developers, is working with Kroah-Hartmann on this project. Tim Bird, chair of the Architecture Group, has launched the Android Mainlining Project with the goal of coordinating work on integrating the Android features. Developers interested in helping to integrate Android patches into the mainline kernel can sign up for the project's mailing list. (crve)
LEGENDARY South Australian winemaker Peter Lehmann - the Baron of the Barossa - has died at 82. Lehmann suffered from kidney disease and reportedly died in hospital in Adelaide after surgery this week. One of the nation's most respected winemakers, he is survived by his wife Margaret, their sons David and Philip, and Doug and Libby from his first marriage. Read Next Lehmann was a giant of the Barossa Valley, born in Angaston to the local pastor in 1930 and founding his eponymous company more than 30 years ago. His contribution to the industry as a whole was acknowledged in 2009 with an International Wine Challenge Lifetime Achievement Award. Lehmann began working in the wine industry in 1947, aged 17, at Yalumba. In 1960 he moved to Saltram Wines, where he was chief winemaker for 20 years. During a dispute over grape purchasing, Lehmann started his own business to buy grapes and make wine on the side in 1977, then known as Masterson Barossa Vineyards. The company was renamed Peter Lehmann Wines in 1982. Peter Lehmann Wines was swept up in the export boom, only to suffer later as the surging dollar and cheaper foreign producers ate into its market share. But in an interview with The Australian last month, Lehmann said that was only to be expected in an industry characterised by booms and busts. He said the grape glut that dogged the industry for much of the past decade was little different from the one that spurred him to form his winery more than 30 years ago. "It's a pendulum that swings back and forth, back and forth - the problems that we had in the late 1970s eventually led to the formation of this company," he said.
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<iomanip> #include<algorithm> #include<queue> #include<stack> #include<vector> #define ri register int using namespace std; struct node{int a,b,c;}; struct inf{int to,val;}; node rel[100005]; int n,m,q,mod; long long ans=1; int prt[100005],dep[100005],val[100005],p[100005][25],g[100005][25]; vector<inf>a[100005]; inline int getint() { int num=0,bj=1; char c=getchar(); while(c<'0'||c>'9')bj=(c=='-'||bj==-1)?-1:1,c=getchar(); while(c>='0'&&c<='9')num=num*10+c-'0',c=getchar(); return num*bj; } inline bool cmp(const node &x,const node &y){return x.c>y.c;} inline int getfa(int u) { if(prt[u]==u)return u; return prt[u]=getfa(prt[u]); } void kruscal() { for(ri i=1;i<=n;i++)prt[i]=i; for(ri i=1;i<=m;i++) { int f1=getfa(rel[i].a),f2=getfa(rel[i].b); if(f1!=f2) { prt[f1]=f2; a[rel[i].a].push_back((inf){rel[i].b,rel[i].c}); a[rel[i].b].push_back((inf){rel[i].a,rel[i].c}); } } } void DFS(int u,int v,int d) { val[u]=v; dep[u]=d; vector<inf>::iterator it; for(it=a[u].begin();it!=a[u].end();++it) { if(prt[u]==it->to)continue; prt[it->to]=u; DFS(it->to,it->val,d+1); } } void ST() { memset(p,-1,sizeof(p)); for(ri i=1;i<=n;i++)p[i][0]=prt[i],g[i][0]=val[i]; for(ri j=1;j<=int(log2(n));j++) for(ri i=1;i<=n;i++) { if(!p[i][j-1])continue; p[i][j]=p[p[i][j-1]][j-1]; g[i][j]=min(g[i][j-1],g[p[i][j-1]][j-1]); } } inline long long LCA(int a,int b) { if(dep[a]<dep[b])swap(a,b); int k=log2(dep[a]),ret=0x7fffffff/2; for(ri i=k;i>=0;i--) if(dep[a]-(1<<i)>=dep[b]) { ret=min(ret,g[a][i]); a=p[a][i]; } if(a==b)return ret; for(ri i=k;i>=0;i--) { if(p[a][i]!=-1&&p[a][i]!=p[b][i]) { ret=min(ret,g[a][i]); a=p[a][i]; ret=min(ret,g[b][i]); b=p[b][i]; } } return min(ret,min(g[a][0],g[b][0])); } int main() { n=getint(),m=getint(),q=getint(),mod=getint(); for(ri i=1;i<=m;i++) { int a=getint(),b=getint(),c=getint(); rel[i]=(node){a,b,c}; } sort(rel+1,rel+m+1,cmp); kruscal(); memset(prt,0,sizeof(prt)); DFS(1,0,1); ST(); for(ri i=1;i<=q;i++) { int a=getint(),b=getint(); ans=(ans%mod*LCA(a,b))%mod; } printf("%lld",ans); return 0; }
<filename>service/src/test/java/my/company/service/svc/filter/FieldFilteringResponseFilterTest.java package my.company.service.svc.filter; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.ContainerResponseContext; import javax.ws.rs.core.MultivaluedHashMap; import javax.ws.rs.core.MultivaluedMap; import javax.ws.rs.core.UriInfo; import java.beans.IntrospectionException; import java.io.IOException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectWriter; import com.fasterxml.jackson.databind.ser.FilterProvider; import com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter; import com.fasterxml.jackson.jaxrs.cfg.ObjectWriterInjector; import com.fasterxml.jackson.jaxrs.cfg.ObjectWriterModifier; import com.google.common.collect.ImmutableList; import static my.company.service.api.model.Constants.FIELD_FILTER; import my.company.service.api.model.TransferObject; import my.company.service.svc.MyServiceImpl; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.instanceOf; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.notNullValue; import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import static org.mockito.Mockito.when; import static org.mockito.MockitoAnnotations.initMocks; public class FieldFilteringResponseFilterTest { private FieldFilteringResponseFilter filter; private ObjectMapper mapper; @Mock private ContainerRequestContext requestContext; @Mock private ContainerResponseContext responseContext; @Mock private UriInfo uriInfo; @BeforeEach public void setup() throws IntrospectionException { initMocks(this); mapper = new ObjectMapper(); mapper.findAndRegisterModules(); filter = new FieldFilteringResponseFilter(); } @Test public void returnAllFields() throws IOException { MultivaluedMap<String, String> params = new MultivaluedHashMap<>(); when(uriInfo.getQueryParameters()).thenReturn(params); when(requestContext.getUriInfo()).thenReturn(uriInfo); filter.filter(requestContext, responseContext); ObjectWriterModifier modifier = ObjectWriterInjector.get(); assertThat(modifier, is(notNullValue())); assertThat(modifier, is(instanceOf(FieldFilteringResponseFilter.FieldObjectModifier.class))); FieldFilteringResponseFilter.FieldObjectModifier fieldModifier = (FieldFilteringResponseFilter.FieldObjectModifier) modifier; assertThat(fieldModifier.getFields(), is(notNullValue())); assertThat(fieldModifier.getFields().size(), is(equalTo(0))); ObjectWriter writer = fieldModifier.modify(null, null, MyServiceImpl.TRANSFER_OBJECT, mapper.writer(), null); FilterProvider filterProvider = writer.getConfig().getFilterProvider(); assertThat(filterProvider, is(notNullValue())); assertThat(filterProvider.findPropertyFilter(FIELD_FILTER, null), is(instanceOf(SimpleBeanPropertyFilter.SerializeExceptFilter.class))); String json = writer.writeValueAsString(MyServiceImpl.TRANSFER_OBJECT); TransferObject restoredValue = mapper.readValue(json, TransferObject.class); assertThat(restoredValue, is(notNullValue())); assertThat(restoredValue.getCode().get(), is(equalTo(MyServiceImpl.CODE))); assertThat(restoredValue.getUrl().get(), is(equalTo(MyServiceImpl.URL))); assertThat(restoredValue.getDescription().get(), is(equalTo(MyServiceImpl.DESCRIPTION))); assertThat(restoredValue.getName().get(), is(equalTo(MyServiceImpl.NAME))); assertThat(restoredValue.getType().get(), is(equalTo(MyServiceImpl.TYPE))); assertThat(restoredValue.getFeatures().size(), is(equalTo(2))); assertThat(restoredValue.getFeatures().get(0), is(equalTo(MyServiceImpl.FEATURE_1))); assertThat(restoredValue.getFeatures().get(1), is(equalTo(MyServiceImpl.FEATURE_2))); } @Test public void returnSomeFields() throws IOException { MultivaluedMap<String, String> params = new MultivaluedHashMap<>(); params.put(FieldFilteringResponseFilter.FIELDS, ImmutableList.of("code,type,name,description")); when(uriInfo.getQueryParameters()).thenReturn(params); when(requestContext.getUriInfo()).thenReturn(uriInfo); filter.filter(requestContext, responseContext); ObjectWriterModifier modifier = ObjectWriterInjector.get(); assertThat(modifier, is(notNullValue())); assertThat(modifier, is(instanceOf(FieldFilteringResponseFilter.FieldObjectModifier.class))); FieldFilteringResponseFilter.FieldObjectModifier fieldModifier = (FieldFilteringResponseFilter.FieldObjectModifier) modifier; assertThat(fieldModifier.getFields(), is(notNullValue())); assertThat(fieldModifier.getFields().size(), is(equalTo(4))); ObjectWriter writer = fieldModifier.modify(null, null, MyServiceImpl.TRANSFER_OBJECT, mapper.writer(), null); FilterProvider filterProvider = writer.getConfig().getFilterProvider(); assertThat(filterProvider, is(notNullValue())); assertThat(filterProvider.findPropertyFilter(FIELD_FILTER, null), is(instanceOf(SimpleBeanPropertyFilter.FilterExceptFilter.class))); String json = writer.writeValueAsString(MyServiceImpl.TRANSFER_OBJECT); TransferObject restoredValue = mapper.readValue(json, TransferObject.class); assertThat(restoredValue, is(notNullValue())); assertThat(restoredValue.getCode().get(), is(equalTo(MyServiceImpl.CODE))); assertThat(restoredValue.getUrl().isPresent(), is(equalTo(false))); assertThat(restoredValue.getDescription().get(), is(equalTo(MyServiceImpl.DESCRIPTION))); assertThat(restoredValue.getName().get(), is(equalTo(MyServiceImpl.NAME))); assertThat(restoredValue.getDescription().get(), is(equalTo(MyServiceImpl.DESCRIPTION))); assertThat(restoredValue.getType().get(), is(equalTo(MyServiceImpl.TYPE))); assertThat(restoredValue.getFeatures().size(), is(equalTo(0))); } @Test public void returnSkipUnknownFields() throws IOException { MultivaluedMap<String, String> params = new MultivaluedHashMap<>(); params.put(FieldFilteringResponseFilter.FIELDS, ImmutableList.of("codeFFF,name,description")); when(uriInfo.getQueryParameters()).thenReturn(params); when(uriInfo.toString()).thenReturn(MyServiceImpl.URI_INFO); when(requestContext.getUriInfo()).thenReturn(uriInfo); filter.filter(requestContext, responseContext); ObjectWriterModifier modifier = ObjectWriterInjector.get(); assertThat(modifier, is(notNullValue())); assertThat(modifier, is(instanceOf(FieldFilteringResponseFilter.FieldObjectModifier.class))); FieldFilteringResponseFilter.FieldObjectModifier fieldModifier = (FieldFilteringResponseFilter.FieldObjectModifier) modifier; assertThat(fieldModifier.getFields(), is(notNullValue())); assertThat(fieldModifier.getFields().size(), is(equalTo(3))); ObjectWriter writer = fieldModifier.modify(null, null, MyServiceImpl.TRANSFER_OBJECT, mapper.writer(), null); FilterProvider filterProvider = writer.getConfig().getFilterProvider(); assertThat(filterProvider, is(notNullValue())); assertThat(filterProvider.findPropertyFilter(FIELD_FILTER, null), is(instanceOf(SimpleBeanPropertyFilter.FilterExceptFilter.class))); String json = writer.writeValueAsString(MyServiceImpl.TRANSFER_OBJECT); TransferObject restoredValue = mapper.readValue(json, TransferObject.class); assertThat(restoredValue, is(notNullValue())); assertThat(restoredValue, is(notNullValue())); assertThat(restoredValue.getCode().isPresent(), is(equalTo(false))); assertThat(restoredValue.getUrl().isPresent(), is(equalTo(false))); assertThat(restoredValue.getDescription().get(), is(equalTo(MyServiceImpl.DESCRIPTION))); assertThat(restoredValue.getName().get(), is(equalTo(MyServiceImpl.NAME))); assertThat(restoredValue.getType().isPresent(), is(equalTo(false))); assertThat(restoredValue.getFeatures().size(), is(equalTo(0))); } }
<reponame>Noob-can-Compile/PySyft import React from 'react' import cn from 'classnames' import { ReactNode } from 'react' import { useTable, useRowSelect, useSortBy, useGlobalFilter } from 'react-table' import { Checkbox, Text } from '@/omui' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faSortDown, faSortUp } from '@fortawesome/free-solid-svg-icons' interface TableContentProps { className?: string isLast?: boolean sortable?: boolean isSorted?: boolean isSortedDesc?: boolean children: ReactNode } export function TableHeader({ className, children, isLast, isSorted, isSortedDesc, }: TableContentProps) { return ( <div className={cn( 'w-full flex justify-between items-center px-2 h-12 border-b', isSorted && 'bg-gray-50', !isLast && 'border-r' )} > <div className={cn('space-x-2 flex items-center justify-center', className)} > {['string', 'number'].includes(typeof children) && ( <Text size="sm">{children}</Text> )} {typeof children === 'object' && children} </div> {isSorted && ( <FontAwesomeIcon icon={isSortedDesc ? faSortUp : faSortDown} className="pl-2 flex-shrink-0" /> )} </div> ) } export function TableItemOuter({ className, children, center, isLast, }: { className?: string center?: boolean isLast?: boolean children: ReactNode }) { return ( <div className={cn( 'space-x-2 px-4 h-12 flex items-center border-b w-full', !isLast && 'border-r', center && 'justify-center', className )} > {children} {/* {['string', 'number'].includes(typeof children) && <Text size="sm">{children}</Text>} */} {/* {typeof children === 'object' && children} */} </div> ) } const CheckboxComponent = (props, ref) => { // const defaultRef = useRef() // const resolvedRef = ref || defaultRef // return <Checkbox ref={ref} {...props} /> } const TableCheckbox = React.forwardRef(CheckboxComponent) export function TableItem({ className, center, children, }: { className?: string center?: boolean children: ReactNode }) { return ( <div className={cn('w-full', center && 'text-center', className)}> {children} </div> ) } export function useOMUITable({ data, columns, selectable, sortable }) { const tableInstance = useTable( { columns, data }, useGlobalFilter, useSortBy, useRowSelect ) const { getTableProps, getTableBodyProps, headerGroups, rows, prepareRow, selectedFlatRows, state: { selectedRowIds }, } = tableInstance return { instance: tableInstance, Component: ( <div className="min-w-full"> <table {...getTableProps()} className="w-full border-t"> <thead> {headerGroups.map((headerGroup) => ( <tr {...headerGroup.getHeaderGroupProps()} key={headerGroup.id}> {headerGroup.headers.map((column, index) => ( <th {...column.getHeaderProps(column.getSortByToggleProps())} key={column.id} > <TableHeader sortable={sortable} isLast={index + 1 === headerGroup.headers.length} isSorted={column.isSorted} isSortedDesc={column.isSortedDesc} > {column.render('Header')} </TableHeader> </th> ))} </tr> ))} </thead> <tbody {...getTableBodyProps()}> {rows.map((row) => { prepareRow(row) return ( <tr {...row.getRowProps()} key={row.id}> {row.cells.map((cell, index) => { return ( <td {...cell.getCellProps()} className={cn( cell.column.isSorted && 'bg-gray-50', row.isSelected && 'bg-primary-50' )} key={`${cell.row.id}-${cell.column.id}-${cell.value}`} > {selectable && index === 0 ? ( <div className="flex h-12 space-x-1 w-full items-center border-b border-r"> <div className="w-10 flex justify-center"> <TableCheckbox {...row.getToggleRowSelectedProps()} /> </div> <div className="w-full">{cell.render('Cell')}</div> </div> ) : ( <TableItemOuter isLast={index + 1 === row.cells.length} > {cell.render('Cell')} </TableItemOuter> )} </td> ) })} </tr> ) })} </tbody> </table> </div> ), } }
<gh_stars>0 /** * Daily Challenge #4 - Checkbook Balancing * https://dev.to/thepracticaldev/daily-challenge-4-checkbook-balancing-hei * * You are given a small checkbook to balance that is given to you as a string. * Sometimes, this checkbook will be cluttered by non-alphanumeric characters. * * The first line shows the original balance. Each other (not blank) line gives information: * check number, category, and check amount. * * You need to clean the lines first, keeping only letters, digits, dots, and spaces. * Next, return the report as a string. On each line of the report, you have to add the new balance. * In the last two lines, return the total expenses and average expense. * Round your results to two decimal places. * * Example Checkbook * 1000.00 * 125 Market 125.45 * 126 Hardware 34.95 * 127 Video 7.45 * 128 Book 14.32 * 129 Gasoline 16.10 * * Example Solution * Original_Balance: 1000.00 * 125 Market 125.45 Balance 874.55 * 126 Hardware 34.95 Balance 839.60 * 127 Video 7.45 Balance 832.15 * 128 Book 14.32 Balance 817.83 * 129 Gasoline 16.10 Balance 801.73 * Total expense 198.27 * Average expense 39.65 * * Challenge Checkbook * 1233.00 * 125 Hardware;! 24.8?; * 123 Flowers 93.5 * 127 Meat 120.90 * 120 Picture 34.00 * 124 Gasoline 11.00 * 123 Photos;! 71.4?; * 122 Picture 93.5 * 132 Tires;! 19.00,?; * 129 Stamps 13.6 * 129 Fruits{} 17.6 * 129 Market;! 128.00?; * 121 Gasoline;! 13.6?; */ interface CheckbookItem { check: number; category: string; cost: number; } /** * Remove all non alphanumeric characters except spaces and decimals * @param input String to sanitize */ function sanitize(input: string): string { return input.trim().replace(/[^0-9a-z\. ]/gi, ''); } /** * Create a `CheckbookItem` from the given string * @param input */ function createCheckookItem(input: string): CheckbookItem { const item = sanitize(input).split(' '); if (item.length !== 3) { console.warn('Could not create CheckbookItem. Invalid input.'); return; } return { check: parseFloat(item[0]), category: item[1], cost: parseFloat(item[2]) }; } /** * Format a string to 2 fractional units * @param input */ function formatNum(input: number): string { return input.toFixed(2); } /** * Format a given checkbook string * @param checkbook */ function balanceCheckbook(checkbook: string): string { const lines = checkbook.split(/\n/g); const lineItems = lines.slice(1).map(createCheckookItem); let balance = parseFloat(lines[0]); let checkbookStr = `Original_Balance: ${formatNum(balance)}`; for (const item of lineItems) { const check = item.check.toString().padStart(5, '0'); const cat = item.category.toString().padEnd(10); const cost = formatNum(item.cost).padStart(10); checkbookStr += `\n${check} ${cat} ${cost} Balance: ${formatNum((balance -= item.cost))}`; } const total = lineItems.reduce((t, item) => t + item.cost, 0); const average = total / lineItems.length; checkbookStr += `\nTotal expense: ${formatNum(total)}`; checkbookStr += `\nAverage expense: ${formatNum(average)}`; return checkbookStr; } console.log( balanceCheckbook(`1000.00 125 Market 125.45 126 Hardware 34.95 127 Video 7.45 128 Book 14.32 129 Gasoline 16.10`) );
#pragma once #include <iostream> #include <fstream> #include <array> #include <string> #include <vector> #include <glm/glm.hpp> #include "Chunk.h" #include "World.h" namespace Blocks { namespace FileHandler { bool WriteChunk(Chunk* chunk, const std::string& dir); bool ReadChunk(Chunk* chunk, const std::string& dir); void SaveWorld(const std::string& world_name, const glm::vec3& player_position, World* world); bool LoadWorld(const std::string& world_name, glm::vec3& player_position, World* world); bool FilenameValid(const std::string& str); } }
Two fighter jets were scrambled to escort a plane after one of its passengers threatened to blow it up – because the duty-free items he wanted were not on sale. The F-16s joined Sunwing Airlines flight 772 an hour after it took off from Pearson International Airport in Toronto as a ‘precaution’ following threats made to the aircraft. A passenger told CityNews that a man became angry at a flight attendant who told him certain duty free items he wanted were not for sale, saying that he had a bomb and everyone on the plane would die. Armed officers boarded the plane in Toronto (Picture: William Alphonso/Facebook) ‘He wanted to buy some stuff with the duty-free, and he said to the girl, “Cigarettes”, or something like this. And she said, “Sorry, we don’t have this on Sunwing Airlines”,’ he said. After 45 minutes in the air, the Panama-bound flight turned around and landed back in Toronto, where armed officers boarded the flight and removed 25-year-old Canadian Ali Shahi, the man who had allegedly made the threats. Advertisement Advertisement Mr Shahi has since been charged and is in custody. No one was harmed and a 25-year-old man was arrested (Picture: William Alphonso/Facebook) The scare comes after a series of tragic air disasters around the world that have claimed 462 lives. Since last week, Malaysia Airlines flight MH17 was shot down over Ukraine, an Air Algerie jetliner crashed in a rainstorm over Mali and a TransAsia Airways flight went during a storm.
import React, { useState, useEffect } from 'react' import { useViewModel } from '@resolve-js/react-hooks' import { Redirect } from 'react-router-dom' import { getDecrypter } from '../../common/encryption-factory' import Login from './Login' import Loading from './Loading' const ProfileWithViewModel = ({ userId }: { userId: string }) => { const [user, setUser] = useState('unknown') const viewModelStateChanged = (user: any, initial: any) => { if (!initial) { fetch(`/api/personal-data-keys/${user.id}`) .then((response) => response.text()) .then((key) => { const decrypt = getDecrypter(key) setUser({ ...user, firstName: decrypt(user.firstName), lastName: decrypt(user.lastName), contacts: decrypt(user.contacts), }) }) } } const { connect, dispose } = useViewModel( 'current-user-profile', [userId], viewModelStateChanged ) useEffect(() => { connect() return () => { dispose() } }, []) if (typeof user === 'string') { return <Loading /> } if (user == null) { return <Redirect to="/" /> } return ( <React.Fragment> <Login user={user} /> </React.Fragment> ) } export default ProfileWithViewModel
def on_disconnect(): nickname = session.get('nickname') if nickname: user = User.query.filter_by(nickname=nickname).first() if user: user.online = False db.session.commit() push_model(user)
package com.example.dmp.enums; /** * @className: TencentGrantTypeEnum * @description: 腾讯广告-授权认证请求类型 * @author: wangzb01 * @version: V1.0 * @since: V1.0 * @date: 2019/8/15 16:02 */ public enum TencentGrantTypeEnum { /** * 授权认证请求类型 */ authorization_code, refresh_token }
import os import time import socket import requests import base64 import yaml from datetime import datetime, timedelta from flask import Flask, request, g, render_template, jsonify, Response app = Flask(__name__) app.config.from_object(__name__) # load config from this file , flaskr.py config = None with open(os.getenv("CONFIG"), "r") as config_file: config = yaml.safe_load(config_file) if config is None: raise Exception("Unable to load config file") def json_error(message): error = {} error["error"] = message return jsonify(error) def cached_result(host): if host not in config["hosts"]: print("Invalid host " + host) return None cache_filename = "{}/{}.yml".format(config["cache_dir"], host) if os.path.exists(cache_filename): with open(cache_filename, "r") as cache_file: cache = yaml.safe_load(cache_file) # if (time.time() - cache["timestamp"]) < expiration_s: return base64.b64decode(cache["json"]).decode("utf-8") return None def json_from_url(url): try: json_request = requests.get(url) if json_request.status_code != 200: return json_error("Request error ({})".format(json_request.status_code)) return Response(json_request.text, mimetype="application/json") except ConnectionError: return json_error("Error connecting to host") @app.route("/<host>") def summary(host): if host not in config["hosts"]: return render_template("error.html", error_string="Error: Invalid Host.") return render_template("status.html", host=host) @app.route("/<host>/plots") def plots(host): if host not in config["hosts"]: return render_template("error.html", error_string="Error: Invalid Host.") return render_template("plots.html", host=host) @app.route("/<host>/stats") def stats(host): if host not in config["hosts"]: return render_template("error.html", error_string="Error: Invalid Host.") return render_template("stats.html", host=host) # Forward every other request down to host @app.route("/<host>/<path:path>") def latest_json(host, path): if host not in config["hosts"]: return json_error("Invalid host") if path == "latest": cached_json = cached_result(host) else: cached_json = None if cached_json: return cached_json else: return json_from_url("http://" + config["hosts"][host] + "/" + path) @app.route("/") def list(): return render_template("hosts.html", hosts=config["hosts"].keys())
#include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <algorithm> using namespace std; #define LL long long #define Inf 1e9 const int maxn=1010; int n,m; int Hash[maxn]; struct Node{ int v,pos; bool operator < (const Node & a)const{ if(v!=a.v) return v>a.v; return pos<a.pos; } }a[maxn]; int seq[maxn],cnt=0; void Init(); int main(){ Init(); return 0; } void Init(){ scanf("%d",&n); for(int i=1;i<=n;i++) { scanf("%d",&a[i].v); Hash[i]=a[i].v; a[i].pos=i; } sort(a+1,a+n+1); scanf("%d",&m); for(int i=1;i<=m;i++){ int k,pos;scanf("%d%d",&k,&pos); cnt=0; for(int j=1;j<=k;j++) seq[++cnt]=a[j].pos; sort(seq+1,seq+cnt+1); printf("%d\n",Hash[seq[pos]]); } }
def install(self): url = 'https://github.com/nlohmann/json/releases/download/v3.6.1/json.hpp' patch_paths = ['json/CMakeLists.txt', 'json/json-config.cmake'] self.install_single(url, 'json/json.hpp', patch_paths)
import SocketServer from tcp.tcpserver import Server from utils import log # from redistool import rclinet # from urls.urldistributer import urldistributer def main(): HOST,PORT = "localhost",23333 server = SocketServer.ThreadingTCPServer((HOST,PORT),Server) log.info("start tcp server ,waiting for connection...") server.serve_forever() if __name__ == '__main__': main()
<gh_stars>0 use std::fmt::Debug; use crate::parse::error::CbParseError; #[derive(Debug, Clone)] pub enum CbError { Parse, Io, } impl<I: Debug> From<nom::Err<CbParseError<I>>> for CbError { fn from(err: nom::Err<CbParseError<I>>) -> Self { log::error!("Parsing failed: {:?}", err); CbError::Parse } } impl From<std::io::Error> for CbError { fn from(_: std::io::Error) -> Self { CbError::Io } }
/** * Created by IntelliJ IDEA. * User: Paul * Date: Nov 8, 2006 * Time: 12:01:32 PM * To change this template use File | Settings | File Templates. */ public class PluginUtils { private static final Map<String, String> FQCN_TO_BINARY_CLASS_NAME = new ConcurrentHashMap<String, String>(); public static String getBinaryClassNameFromFullyQualifiedClassName(String className) { String ret = FQCN_TO_BINARY_CLASS_NAME.get(className); if (ret != null) { return ret; } StringBuilder sb = new StringBuilder(); boolean foundClass = false; StringTokenizer st = new StringTokenizer(className, "."); while (st.hasMoreTokens()) { String packageOrClassName = st.nextToken(); if (packageOrClassName == null || packageOrClassName.length() == 0) { continue; } sb.append(packageOrClassName); // as soon as we find a package/class name that starts with an upper case letter, that means // we found the class, so start separating with $. if (Character.isUpperCase(packageOrClassName.charAt(0))) { foundClass = true; } if (st.hasMoreTokens()) { // separate with dots once we found the class if (foundClass) { sb.append("$"); } else { sb.append("."); } } } ret = sb.toString(); FQCN_TO_BINARY_CLASS_NAME.put(className, ret); return ret; } }
def connect(self, username=None, passcode=None, wait=False, headers={}, **keyword_headers): cmd = CMD_STOMP headers = utils.merge_headers([headers, keyword_headers]) headers[HDR_ACCEPT_VERSION] = self.version headers[HDR_HOST] = self.transport.current_host_and_port[0] if self.transport.vhost: headers[HDR_HOST] = self.transport.vhost if username is not None: headers[HDR_LOGIN] = username if passcode is not None: headers[HDR_PASSCODE] = passcode self.send_frame(cmd, headers) if wait: self.transport.wait_for_connection() if self.transport.connection_error: raise ConnectFailedException()
<filename>chapter10/start_here/providing-global-mocks-for-jest/src/app/components/counter/counter.component.ts<gh_stars>10-100 import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-counter', templateUrl: './counter.component.html', styleUrls: ['./counter.component.scss'], }) export class CounterComponent implements OnInit { counter: number = 0; MAX_VALUE = 10; MIN_VALUE = -10; constructor() {} ngOnInit(): void { this.counter = this.getFromStorage(); } increment() { this.counter++; if (this.counter > this.MAX_VALUE) { alert('Value too high'); this.counter = this.MAX_VALUE; } this.saveToStorage(); } decrement() { this.counter--; if (this.counter < this.MIN_VALUE) { alert('Value too low'); this.counter = this.MIN_VALUE; } this.saveToStorage(); } reset() { this.counter = 0; this.saveToStorage(); } getFromStorage(): number { const counterValue = localStorage.getItem('counterValue'); if (counterValue) { this.counter = Number(counterValue); } return this.counter; } saveToStorage() { localStorage.setItem('counterValue', this.counter.toString()); } }
/** * MuTable represents the base class for all side-effectable tables. It provides the basic * change protocol for tables. See MuSet. */ public abstract class MuTable extends ScruTable { // protected static Signal AlreadyInTableSignal; // protected static Signal NotInDomainSignal; // protected static Signal NullInsertionSignal; /* udanax-top.st:47785: ScruTable subclass: #MuTable instanceVariableNames: '' classVariableNames: ' AlreadyInTableSignal {Signal smalltalk} NotInDomainSignal {Signal smalltalk} NullInsertionSignal {Signal smalltalk} ' poolDictionaries: '' category: 'Xanadu-Collection-Tables'! */ /* udanax-top.st:47792: MuTable comment: 'MuTable represents the base class for all side-effectable tables. It provides the basic change protocol for tables. See MuSet.'! */ /* udanax-top.st:47794: (MuTable getOrMakeCxxClassDescription) friends: '/- friends for class MuTable -/ friend class COWMuTable;'; attributes: ((Set new) add: #EQ; add: #DEFERRED; add: #COPY; yourself)! */ /* udanax-top.st:48100: MuTable class instanceVariableNames: ''! */ /* udanax-top.st:48103: (MuTable getOrMakeCxxClassDescription) friends: '/- friends for class MuTable -/ friend class COWMuTable;'; attributes: ((Set new) add: #EQ; add: #DEFERRED; add: #COPY; yourself)! */ /** * Associate key with value unless key is already associated with another value. If so, * blast. */ public void atIntroduce(Position key, Heaper value) { Heaper old; if ((old = atStore(key, value)) != null) { atStore(key, old); throw new AboraRuntimeException(AboraRuntimeException.ALREADY_IN_TABLE); } /* udanax-top.st:47802:MuTable methodsFor: 'accessing'! {void} at: key {Position} introduce: value {Heaper} "Associate key with value unless key is already associated with another value. If so, blast." | old {Heaper} | ((old _ self at: key store: value) ~~ NULL) ifTrue: [self at: key store: old. Heaper BLAST: #AlreadyInTable]! */ } /** * Associate key with value only if key is already associated with a value. Otherwise blast. */ public void atReplace(Position key, Heaper value) { if ((atStore(key, value)) == null) { wipe(key); /* restore table before blast */ throw new AboraRuntimeException(AboraRuntimeException.NOT_IN_TABLE); } /* udanax-top.st:47809:MuTable methodsFor: 'accessing'! {void} at: key {Position} replace: value {Heaper} "Associate key with value only if key is already associated with a value. Otherwise blast." ((self at: key store: value) == NULL) ifTrue: [self wipe: key. "restore table before blast" Heaper BLAST: #NotInTable]! */ } /** * Associate value with key, whether or not there is a previous association. * Return the old range element if the position was previously occupied, NULL otherwise */ public abstract Heaper atStore(Position key, Heaper value); /* udanax-top.st:47816:MuTable methodsFor: 'accessing'! {Heaper} at: key {Position} store: value {Heaper} "Associate value with key, whether or not there is a previous association. Return the old range element if the position was previously occupied, NULL otherwise" self subclassResponsibility! */ public abstract CoordinateSpace coordinateSpace(); /* udanax-top.st:47822:MuTable methodsFor: 'accessing'! {CoordinateSpace} coordinateSpace self subclassResponsibility! */ public abstract IntegerValue count(); /* udanax-top.st:47826:MuTable methodsFor: 'accessing'! {IntegerVar} count self subclassResponsibility! */ public abstract XnRegion domain(); /* udanax-top.st:47830:MuTable methodsFor: 'accessing'! {XnRegion} domain self subclassResponsibility.! */ public abstract Heaper fetch(Position key); /* udanax-top.st:47834:MuTable methodsFor: 'accessing'! {Heaper} fetch: key {Position} self subclassResponsibility! */ /** * Remove a key->value association from the table. * Blast if the key is not present. */ public void remove(Position anIdx) { if (!(wipe(anIdx))) { throw new AboraRuntimeException(AboraRuntimeException.NOT_IN_TABLE); } /* udanax-top.st:47838:MuTable methodsFor: 'accessing'! {void} remove: anIdx {Position} "Remove a key->value association from the table. Blast if the key is not present." (self wipe: anIdx) ifFalse: [Heaper BLAST: #NotInTable]! */ } public abstract ScruTable subTable(XnRegion reg); /* udanax-top.st:47844:MuTable methodsFor: 'accessing'! {ScruTable} subTable: reg {XnRegion} self subclassResponsibility! */ /** * Remove a key->value association from the table. * Do not blast (or do anything else) if the key is not in my current domain. * Return TRUE if the association was present and removed, * Return FALSE if the association was not there */ public abstract boolean wipe(Position anIdx); /* udanax-top.st:47848:MuTable methodsFor: 'accessing'! {BooleanVar} wipe: anIdx {Position} "Remove a key->value association from the table. Do not blast (or do anything else) if the key is not in my current domain. Return TRUE if the association was present and removed, Return FALSE if the association was not there" self subclassResponsibility! */ /** * 'MuTable::introduceAll is to 'MuTable::introduce' as 'MuTable::storeAll' is to * 'MuTable::store'. See MuTable::storeAll. In addition to the functionality * provided by MuTable::storeAll, I BLAST *if* all the associations I'm being * asked to store override existing associations of mine. If I BLAST for this * reason, then I guarantee that I haven't changed myself at all. */ public void introduceAll(ScruTable table, Dsp dsp, XnRegion region) { /* Since this function checks the relavent regions, it can call the potentially more efficient store: */ if (!(table.coordinateSpace().isEqual(coordinateSpace()))) { throw new AboraRuntimeException(AboraRuntimeException.WRONG_COORD_SPACE); } if (dsp == null) { if (domain().intersects(table.domain())) { throw new AboraRuntimeException(AboraRuntimeException.ALREADY_IN_TABLE); } } else { if (region == null) { if (domain().intersects((dsp.ofAll(table.domain())))) { throw new AboraRuntimeException(AboraRuntimeException.ALREADY_IN_TABLE); } } else { if (domain().intersects((dsp.ofAll((table.domain().intersect(region)))))) { throw new AboraRuntimeException(AboraRuntimeException.ALREADY_IN_TABLE); } } } storeAll(table, dsp, region); /* udanax-top.st:47858:MuTable methodsFor: 'bulk operations'! {void} introduceAll: table {ScruTable} with: dsp {Dsp default: NULL} with: region {XnRegion default: NULL} "'MuTable::introduceAll is to 'MuTable::introduce' as 'MuTable::storeAll' is to 'MuTable::store'. See MuTable::storeAll. In addition to the functionality provided by MuTable::storeAll, I BLAST *if* all the associations I'm being asked to store override existing associations of mine. If I BLAST for this reason, then I guarantee that I haven't changed myself at all." "Since this function checks the relavent regions, it can call the potentially more efficient store:" (table coordinateSpace isEqual: self coordinateSpace) ifFalse: [ Heaper BLAST: #WrongCoordSpace ]. dsp == NULL ifTrue: [(self domain intersects: table domain) ifTrue: [ Heaper BLAST: #AlreadyInTable ]] ifFalse: [region == NULL ifTrue: [(self domain intersects: (dsp ofAll: table domain)) ifTrue: [ Heaper BLAST: #AlreadyInTable ]] ifFalse: [(self domain intersects: (dsp ofAll: (table domain intersect: region))) ifTrue: [ Heaper BLAST: #AlreadyInTable ]]]. self storeAll: table with: dsp with: region! */ } /** * 'MuTable::replaceAll is to 'MuTable::replace' as 'MuTable::storeAll' is to * 'MuTable::store'. See MuTable::storeAll. In addition to the functionality * provided by MuTable::storeAll, I BLAST *unless* all the associations I'm being * asked to store override existing associations of mine. If I BLAST for this * reason, then I guarantee that I haven't changed myself at all. */ public void replaceAll(ScruTable table, Dsp dsp, XnRegion region) { /* Since this function checks the relavent regions, it can call the potentially more efficient store: */ if (!(table.coordinateSpace().isEqual(coordinateSpace()))) { throw new AboraRuntimeException(AboraRuntimeException.WRONG_COORD_SPACE); } if (dsp == null) { if (!(table.domain().isSubsetOf(domain()))) { throw new AboraRuntimeException(AboraRuntimeException.ALREADY_IN_TABLE); } TableStepper stepper = table.stepper(); try { Heaper e; while ((e = (Heaper) stepper.fetch()) != null) { atStore(stepper.position(), e); stepper.step(); } } finally { stepper.destroy(); } } else { if (region == null) { if (!((dsp.ofAll(table.domain())).isSubsetOf(domain()))) { throw new AboraRuntimeException(AboraRuntimeException.ALREADY_IN_TABLE); } TableStepper stepper = table.stepper(); try { Heaper x; while ((x = (Heaper) stepper.fetch()) != null) { atStore((dsp.of(stepper.position())), x); stepper.step(); } } finally { stepper.destroy(); } } else { if (!((dsp.ofAll((table.domain().intersect(region)))).isSubsetOf(domain()))) { throw new AboraRuntimeException(AboraRuntimeException.ALREADY_IN_TABLE); } TableStepper stepper = table.subTable(region).stepper(); try { Heaper y; while ((y = (Heaper) stepper.fetch()) != null) { atStore((dsp.of(stepper.position())), y); stepper.step(); } } finally { stepper.destroy(); } } } /* udanax-top.st:47886:MuTable methodsFor: 'bulk operations'! {void} replaceAll: table {ScruTable} with: dsp {Dsp default: NULL} with: region {XnRegion default: NULL} "'MuTable::replaceAll is to 'MuTable::replace' as 'MuTable::storeAll' is to 'MuTable::store'. See MuTable::storeAll. In addition to the functionality provided by MuTable::storeAll, I BLAST *unless* all the associations I'm being asked to store override existing associations of mine. If I BLAST for this reason, then I guarantee that I haven't changed myself at all." "Since this function checks the relavent regions, it can call the potentially more efficient store:" | stepper {TableStepper} | (table coordinateSpace isEqual: self coordinateSpace) ifFalse: [ Heaper BLAST: #WrongCoordSpace ]. dsp == NULL ifTrue: [(table domain isSubsetOf: self domain) ifFalse: [ Heaper BLAST: #AlreadyInTable ]. (stepper _ table stepper) forEach: [ :e {Heaper} | self at: stepper position store: e]] ifFalse: [region == NULL ifTrue: [((dsp ofAll: table domain) isSubsetOf: self domain) ifFalse: [ Heaper BLAST: #AlreadyInTable ]. (stepper _ table stepper) forEach: [ :x {Heaper} | self at: (dsp of: stepper position) store: x]] ifFalse: [((dsp ofAll: (table domain intersect: region)) isSubsetOf: self domain) ifFalse: [ Heaper BLAST: #AlreadyInTable ]. (stepper _ (table subTable: region) stepper) forEach: [ :y {Heaper} | self at: (dsp of: stepper position) store: y]]]! */ } /** * I 'store' into myself (see MuTable::store) all the associations from 'table'. * If 'region' is provided, then I only store those associations from 'table' whose * key is inside 'region'. If 'dsp' is provided, then I transform the keys (from * the remaining associations) by dsp before storing into myself. */ public void storeAll(ScruTable table, Dsp dsp, XnRegion region) { if (!(table.coordinateSpace().isEqual(coordinateSpace()))) { throw new AboraRuntimeException(AboraRuntimeException.WRONG_COORD_SPACE); } if (dsp == null) { TableStepper stepper = table.stepper(); try { Heaper e; while ((e = (Heaper) stepper.fetch()) != null) { atStore(stepper.position(), e); stepper.step(); } } finally { stepper.destroy(); } } else { ScruTable localTable; if (region != null) { localTable = table.subTable(region); } else { localTable = table; } TableStepper stepper = localTable.stepper(); try { Heaper x; while ((x = (Heaper) stepper.fetch()) != null) { atStore((dsp.of(stepper.position())), x); stepper.step(); } } finally { stepper.destroy(); } } /* udanax-top.st:47924:MuTable methodsFor: 'bulk operations'! {void} storeAll: table {ScruTable} with: dsp {Dsp default: NULL} with: region {XnRegion default: NULL} "I 'store' into myself (see MuTable::store) all the associations from 'table'. If 'region' is provided, then I only store those associations from 'table' whose key is inside 'region'. If 'dsp' is provided, then I transform the keys (from the remaining associations) by dsp before storing into myself." | stepper {TableStepper} | (table coordinateSpace isEqual: self coordinateSpace) ifFalse: [ Heaper BLAST: #WrongCoordSpace ]. dsp == NULL ifTrue: [(stepper _ table stepper) forEach: [ :e {Heaper} | self at: stepper position store: e]] ifFalse: [| localTable {ScruTable} | region ~~ NULL ifTrue: [ localTable _ table subTable: region ] ifFalse: [ localTable _ table ]. (stepper _ localTable stepper) forEach: [ :x {Heaper} | self at: (dsp of: stepper position) store: x]]! */ } /** * I 'wipe' from myself all associations whose key is in 'region'. See MuTable::wipe */ public void wipeAll(XnRegion region) { if (!(region.coordinateSpace().isEqual(coordinateSpace()))) { throw new AboraRuntimeException(AboraRuntimeException.WRONG_COORD_SPACE); } Stepper stepper = region.stepper(); try { Position p; while ((p = (Position) stepper.fetch()) != null) { wipe(p); stepper.step(); } } finally { stepper.destroy(); } /* udanax-top.st:47950:MuTable methodsFor: 'bulk operations'! {void} wipeAll: region {XnRegion} "I 'wipe' from myself all associations whose key is in 'region'. See MuTable::wipe" (region coordinateSpace isEqual: self coordinateSpace) ifFalse: [ Heaper BLAST: #WrongCoordSpace ]. region stepper forEach: [ :p {Position} | self wipe: p]! */ } public abstract boolean includesKey(Position aKey); /* udanax-top.st:47960:MuTable methodsFor: 'testing'! {BooleanVar} includesKey: aKey {Position} self subclassResponsibility! */ public abstract boolean isEmpty(); /* udanax-top.st:47963:MuTable methodsFor: 'testing'! {BooleanVar} isEmpty self subclassResponsibility.! */ public abstract TableStepper stepper(OrderSpec order); /* udanax-top.st:47968:MuTable methodsFor: 'enumerating'! {TableStepper} stepper: order {OrderSpec default: NULL} self subclassResponsibility! */ public ImmuTable asImmuTable() { return new ImmuTableOnMu(((MuTable) copy())); /* udanax-top.st:47973:MuTable methodsFor: 'conversion'! {ImmuTable} asImmuTable ^ImmuTableOnMu create: (self copy cast: MuTable)! */ } /** * Note that muTable->asMuTable() returns a copy of the original. The two * are now free to change independently. */ public MuTable asMuTable() { return (MuTable) copy(); /* udanax-top.st:47977:MuTable methodsFor: 'conversion'! {MuTable} asMuTable "Note that muTable->asMuTable() returns a copy of the original. The two are now free to change independently." ^self copy quickCast: MuTable! */ } public abstract XnRegion runAt(Position key); /* udanax-top.st:47985:MuTable methodsFor: 'runs'! {XnRegion} runAt: key {Position} self subclassResponsibility! */ public abstract ScruTable copy(); /* udanax-top.st:47991:MuTable methodsFor: 'creation'! {ScruTable} copy self subclassResponsibility! */ public abstract ScruTable emptySize(IntegerValue size); /* udanax-top.st:47994:MuTable methodsFor: 'creation'! {ScruTable} emptySize: size {IntegerVar} self subclassResponsibility! */ /** * Create a new table with an unspecified number of initial domain positions. */ protected MuTable() { super(); /* udanax-top.st:48000:MuTable methodsFor: 'protected: creation'! create "Create a new table with an unspecified number of initial domain positions." super create.! */ } /** * Unboxed version. See class comment for XuInteger */ public void atIntIntroduce(IntegerValue key, Heaper value) { atIntroduce(key.integer(), value); /* udanax-top.st:48006:MuTable methodsFor: 'overloads'! {void} atInt: key {IntegerVar} introduce: value {Heaper} "Unboxed version. See class comment for XuInteger" self at: key integer introduce: value! */ } /** * Unboxed version. See class comment for XuInteger */ public void atIntReplace(IntegerValue key, Heaper value) { atReplace(key.integer(), value); /* udanax-top.st:48011:MuTable methodsFor: 'overloads'! {void} atInt: key {IntegerVar} replace: value {Heaper} "Unboxed version. See class comment for XuInteger" self at: key integer replace: value! */ } /** * Unboxed version. See class comment for XuInteger */ public Heaper atIntStore(IntegerValue aKey, Heaper anObject) { return atStore(aKey.integer(), anObject); /* udanax-top.st:48016:MuTable methodsFor: 'overloads'! {Heaper} atInt: aKey {IntegerVar} store: anObject {Heaper} "Unboxed version. See class comment for XuInteger" ^ self at: aKey integer store: anObject! */ } public boolean includesIntKey(IntegerValue aKey) { return includesKey(aKey.integer()); /* udanax-top.st:48021:MuTable methodsFor: 'overloads'! {BooleanVar} includesIntKey: aKey {IntegerVar} ^self includesKey: aKey integer! */ } public Heaper intFetch(IntegerValue key) { return super.intFetch(key); /* udanax-top.st:48025:MuTable methodsFor: 'overloads'! {Heaper} intFetch: key {IntegerVar} ^ super intFetch: key! */ } /** * Unboxed version. See class comment for XuInteger */ public void intRemove(IntegerValue anIdx) { remove(anIdx.integer()); /* udanax-top.st:48028:MuTable methodsFor: 'overloads'! {void} intRemove: anIdx {IntegerVar} "Unboxed version. See class comment for XuInteger" self remove: anIdx integer! */ } /** * Unboxed version. See class comment for XuInteger */ public boolean intWipe(IntegerValue anIdx) { return wipe(anIdx.integer()); /* udanax-top.st:48033:MuTable methodsFor: 'overloads'! {BooleanVar} intWipe: anIdx {IntegerVar} "Unboxed version. See class comment for XuInteger" ^ self wipe: anIdx integer! */ } public XnRegion runAtInt(IntegerValue index) { return runAt((index.integer())); /* udanax-top.st:48038:MuTable methodsFor: 'overloads'! {XnRegion} runAtInt: index {IntegerVar} ^self runAt: (index integer)! */ } public void introduceAll(ScruTable other) { introduceAll(other, null, null); /* udanax-top.st:48043:MuTable methodsFor: 'smalltalk: defaults'! {void} introduceAll: other {ScruTable} self introduceAll: other with: NULL with: NULL! */ } public void introduceAll(ScruTable table, Dsp dsp) { if (!(table.coordinateSpace().isEqual(coordinateSpace()))) { throw new AboraRuntimeException(AboraRuntimeException.WRONG_COORD_SPACE); } if (domain().intersects((dsp.ofAll(table.domain())))) { throw new AboraRuntimeException(AboraRuntimeException.ALREADY_IN_TABLE); } if (dsp == null) { TableStepper stepper = table.stepper(); try { Heaper d; while ((d = (Heaper) stepper.fetch()) != null) { atIntroduce(stepper.position(), d); stepper.step(); } } finally { stepper.destroy(); } } else { TableStepper stepper = table.stepper(); try { Heaper e; while ((e = (Heaper) stepper.fetch()) != null) { atIntroduce((dsp.of(stepper.position())), e); stepper.step(); } } finally { stepper.destroy(); } } /* udanax-top.st:48046:MuTable methodsFor: 'smalltalk: defaults'! {void} introduceAll: table {ScruTable} with: dsp {Dsp default: NULL} | stepper {TableStepper} | (table coordinateSpace isEqual: self coordinateSpace) ifFalse: [Heaper BLAST: #WrongCoordSpace]. (self domain intersects: (dsp ofAll: table domain)) ifTrue: [Heaper BLAST: #AlreadyInTable]. dsp == NULL ifTrue: [(stepper _ table stepper) forEach: [:d {Heaper} | self at: stepper position introduce: d]] ifFalse: [(stepper _ table stepper) forEach: [:e {Heaper} | self at: (dsp of: stepper position) introduce: e]]! */ } public void removeAll(XnRegion region) { if (!(region.coordinateSpace().isEqual(coordinateSpace()))) { throw new AboraRuntimeException(AboraRuntimeException.WRONG_COORD_SPACE); } if (!(region.isSubsetOf(domain()))) { throw new AboraRuntimeException(AboraRuntimeException.NOT_IN_TABLE); } Stepper stepper = region.stepper(); try { Position p; while ((p = (Position) stepper.fetch()) != null) { remove(p); stepper.step(); } } finally { stepper.destroy(); } /* udanax-top.st:48058:MuTable methodsFor: 'smalltalk: defaults'! {void} removeAll: region {XnRegion} (region coordinateSpace isEqual: self coordinateSpace) ifFalse: [ Heaper BLAST: #WrongCoordSpace ]. (region isSubsetOf: self domain) ifFalse: [ Heaper BLAST: #NotInTable ]. region stepper forEach: [ :p {Position} | self remove: p]! */ } public void replaceAll(ScruTable other) { replaceAll(other, null, null); /* udanax-top.st:48068:MuTable methodsFor: 'smalltalk: defaults'! {void} replaceAll: other {ScruTable} self replaceAll: other with: NULL with: NULL! */ } public void replaceAll(ScruTable other, Dsp dsp) { replaceAll(other, dsp, null); /* udanax-top.st:48071:MuTable methodsFor: 'smalltalk: defaults'! {void} replaceAll: other {ScruTable} with: dsp {Dsp} self replaceAll: other with: dsp with: NULL! */ } public void storeAll(ScruTable other) { storeAll(other, null, null); /* udanax-top.st:48074:MuTable methodsFor: 'smalltalk: defaults'! {void} storeAll: other {ScruTable} self storeAll: other with: NULL with: NULL! */ } public void storeAll(ScruTable table, Dsp dsp) { if (!(table.coordinateSpace().isEqual(coordinateSpace()))) { throw new AboraRuntimeException(AboraRuntimeException.WRONG_COORD_SPACE); } if (dsp == null) { TableStepper stepper = table.stepper(); try { Heaper e; while ((e = (Heaper) stepper.fetch()) != null) { atStore((dsp.of(stepper.position())), e); stepper.step(); } } finally { stepper.destroy(); } } else { TableStepper stepper = table.stepper(); try { Heaper x; while ((x = (Heaper) stepper.fetch()) != null) { atStore(stepper.position(), x); stepper.step(); } } finally { stepper.destroy(); } } /* udanax-top.st:48077:MuTable methodsFor: 'smalltalk: defaults'! {void} storeAll: table {ScruTable} with: dsp {Dsp default: NULL} | stepper {TableStepper} | (table coordinateSpace isEqual: self coordinateSpace) ifFalse: [Heaper BLAST: #WrongCoordSpace]. dsp == NULL ifTrue: [(stepper _ table stepper) forEach: [:e {Heaper} | self at: (dsp of: stepper position) store: e]] ifFalse: [(stepper _ table stepper) forEach: [:x {Heaper} | self at: stepper position store: x]]! */ } public int actualHashForEqual() { //TODreturn asOop(); return System.identityHashCode(this); /* udanax-top.st:48089:MuTable methodsFor: 'generated:'! actualHashForEqual ^self asOop! */ } protected MuTable(Rcvr receiver) { super(receiver); /* udanax-top.st:48091:MuTable methodsFor: 'generated:'! create.Rcvr: receiver {Rcvr} super create.Rcvr: receiver.! */ } public boolean isEqual(Heaper other) { return this == other; /* udanax-top.st:48094:MuTable methodsFor: 'generated:'! isEqual: other ^self == other! */ } public void sendSelfTo(Xmtr xmtr) { super.sendSelfTo(xmtr); /* udanax-top.st:48096:MuTable methodsFor: 'generated:'! {void} sendSelfTo: xmtr {Xmtr} super sendSelfTo: xmtr.! */ } public static void problems() { throw new UnsupportedOperationException(); //return signals((ALREADY_IN_TABLE); /* udanax-top.st:48111:MuTable class methodsFor: 'exceptions:'! problems.AlreadyInTable ^self signals: #(AlreadyInTable)! */ } //public static void problems() { //return signals((NULL_INSERTION); ///* //udanax-top.st:48114:MuTable class methodsFor: 'exceptions:'! //problems.NullInsertion // ^self signals: #(NullInsertion)! //*/ //} ///** // * Table test // */ //public static void test() { //Object iTable; //iTable = IntegerTable.make(); //iTable.atIntroduce(0, ZERO); //iTable.atIntroduce(1, ONE); //iTable.atIntroduce(2, TWO); //iTable.atIntroduce(3, THREE); //Transcript.show("table printing:"cr()); //Transcript.print(iTable.cr().endEntry()); ///* //udanax-top.st:48119:MuTable class methodsFor: 'smalltalk: testing'! //test // "Table test" // | iTable | // iTable _ IntegerTable make. // iTable at: 0 introduce: #zero. // iTable at: 1 introduce: #one. // iTable at: 2 introduce: #two. // iTable at: 3 introduce: #three. // Transcript show: 'table printing:'; cr. // Transcript print: iTable; cr; endEntry.! //*/ //} /** * A new empty MuTable whose domain space is 'cs'. */ public static MuTable make(CoordinateSpace cs) { if (cs.isEqual(IntegerSpace.make())) { return IntegerTable.make(IntegerValue.make(10)); } else { return HashTable.make(cs); } /* udanax-top.st:48132:MuTable class methodsFor: 'pseudo constructors'! {MuTable} make: cs {CoordinateSpace} "A new empty MuTable whose domain space is 'cs'." (cs isEqual: IntegerSpace make) ifTrue: [^IntegerTable make: 10] ifFalse: [^HashTable make.CoordinateSpace: cs]! */ } /** * Semantically identical to 'muTable(cs)'. 'reg' just provides a hint as to what * part of the domain space the new table should expect to be occupied. */ public static MuTable make(CoordinateSpace cs, XnRegion reg) { if (cs.isEqual(IntegerSpace.make())) { return IntegerTable.make(((IntegerRegion) reg)); } else { return HashTable.make(cs); } /* udanax-top.st:48139:MuTable class methodsFor: 'pseudo constructors'! {MuTable} make: cs {CoordinateSpace} with: reg {XnRegion} "Semantically identical to 'muTable(cs)'. 'reg' just provides a hint as to what part of the domain space the new table should expect to be occupied." (cs isEqual: IntegerSpace make) ifTrue: [^IntegerTable make.Region: (reg cast: IntegerRegion)] ifFalse: [^HashTable make.CoordinateSpace: cs]! */ } //public static void initTimeNonInherited() { //REQUIRES(IntegerSpace.getCategory()); ///* Used in pseudoconstructor */ //REQUIRES(IntegerTable.getCategory()); //REQUIRES(HashTable.getCategory()); ///* //udanax-top.st:48149:MuTable class methodsFor: 'smalltalk: initialization'! //initTimeNonInherited // self REQUIRES: IntegerSpace. "Used in pseudoconstructor" // self REQUIRES: IntegerTable. // self REQUIRES: HashTable.! //*/ //} }
<filename>src/test/java/com/ghgande/j2mod/modbus/utils/BitVectorTest.java<gh_stars>100-1000 package com.ghgande.j2mod.modbus.utils; import com.ghgande.j2mod.modbus.util.BitVector; import org.junit.Assert; import org.junit.Test; public class BitVectorTest { @Test public void testBitVector() { for (int s = 1; s <= 128; s++) { BitVector bv = new BitVector(s); Assert.assertNotNull("Could not instantiate bitvector of size " + s, bv); Assert.assertEquals("Bitvector does not have size " + s, s, bv.size()); } } @Test public void testCreateBitVector() { byte[] testData = new byte[2]; for (int i = 0; i < testData.length; i++) { testData[i] = (byte)i; } BitVector b1 = BitVector.createBitVector(testData); Assert.assertNotNull("Could not instantiate bitvector of size 16", b1); Assert.assertEquals("Bitvector does not have size 16", 16, b1.size()); BitVector b2 = BitVector.createBitVector(testData, 8); Assert.assertNotNull("Could not instantiate bitvector of size 8", b2); Assert.assertEquals("Bitvector does not have size 8", 8, b2.size()); } @Test public void testMSBLSBAccess() { BitVector bv = new BitVector(1); Assert.assertFalse("New bitvector instance should have LSB access", bv.isMSBAccess()); Assert.assertTrue("LSB access should return true", bv.isLSBAccess()); bv.toggleAccess(true); Assert.assertTrue("Bitvector instance cannot toggle to MSB access", bv.isMSBAccess()); Assert.assertFalse("LSB access should return false", bv.isLSBAccess()); bv.toggleAccess(false); Assert.assertFalse("Bitvector instance cannot toggle to LSB access", bv.isMSBAccess()); Assert.assertTrue("LSB access should return true", bv.isLSBAccess()); } @Test public void testGetSetBytes() { byte[] testData = new byte[8]; byte[] nullData = new byte[8]; for (int i = 0; i < testData.length; i++) { testData[i] = (byte)i; nullData[i] = (byte)0; } BitVector b1 = BitVector.createBitVector(nullData); b1.setBytes(testData); byte[] actualData = b1.getBytes(); Assert.assertNotNull("Cannot retrieve bytes from bitvector", actualData); Assert.assertEquals("Returned data array does not have the same length as original", testData.length, actualData.length); for (int i = 0; i < testData.length; i++) { Assert.assertEquals("Byte " + i + " is not equal to testdata", testData[i], actualData[i]); } } @Test public void testSetGetBit() { byte[] nullData = new byte[8]; for (int i = 0; i < nullData.length; i++) { nullData[i] = (byte)0; } BitVector bv = BitVector.createBitVector(nullData); for (int i = 0; i < 64; i++) { Assert.assertFalse("Bit " + i + " should not be set", bv.getBit(i)); bv.setBit(i, true); Assert.assertTrue("Bit " + i + " should be set", bv.getBit(i)); } } @Test public void testSizes() { BitVector b1 = new BitVector(16); Assert.assertEquals("Size should be 16", 16, b1.size()); Assert.assertEquals("Bytesize should be 2", 2, b1.byteSize()); b1.forceSize(4); Assert.assertEquals("Size should be 4", 4, b1.size()); Assert.assertEquals("Bytesize should still be 2", 2, b1.byteSize()); BitVector b2 = new BitVector(4); Assert.assertEquals("Size should be 4", 4, b2.size()); Assert.assertEquals("Bytesize should still be 1", 1, b2.byteSize()); } @Test(expected = IllegalArgumentException.class) public void testForceIllegalSize() throws IllegalArgumentException { BitVector bv = new BitVector(8); bv.forceSize(8000); } @Test public void testToString() { byte[] testData = new byte[8]; for (int i = 0; i < testData.length; i++) { testData[i] = (byte)i; } BitVector bv = BitVector.createBitVector(testData); bv.forceSize(62); Assert.assertEquals("BitVector string is incorrect", "00000000 00000001 00000010 00000011 00000100 00000101 00000110 000111 ", bv.toString()); } }
def duration_grid(start=.01,stop=0.29,N=5): dur_grid = np.linspace(start,stop,N) return dur_grid
Nanoparticles to Deal with Gastric Cancer Nanomedicine has become a comprehensive field of medical science since the invention of nanoparticles namely nanotechnology. Uses of nanocarrier ease the way to deliver drugs more easily to deal with deadly diseases like cancer. Gastric cancer, another common form of cancer worldwide has little treatment option which makes it dangerous to deal with. Use of nanoparticles could boost up the process of developing new drugs in order to deal with this life threatening disease. Introduction Gastric cancer, a multifactorial disease is one of the leading causes of death worldwide. Among all other cancers it ranks in number four because of its occurrence. Several factors are involved behind this deadly disease. The factors could be environmental, bacterial or it could be host related. Some of the ethnic groups are more prone to this disease in comparison with others . Factors that could be responsible for gastric cancer occurrence are shown in Figure 1. Though the number of gastric cancer incidents are getting low in the Western countries, which has been observed from the past few years, but still it remains pretty high in Asian region i.e. Korea, Japan . Despite this situation numbers of gastric cancer diagnosis and treatment methods are very limited. Surgery is considered to be the most accepted way to cure this cancer till date. So, without any hesitation more advanced options are necessary to deal with that . Cancer is an ancient disease which was discovered in 1500 BC. Till now diverse methods has already been incorporated to deal with it and there are other methods which are yet to come . Figure 2 shows the overall treatment methods of cancer. Current treatment methods could destroy or hamper normal tissues. For that reason, idea of nanomedicine has been introduced . Because of their unique physico-chemical properties nanomedicine are ace candidate for cancer diagnosis and treatment. Incorporation of nanotechnology in medical application is known as nanomedicine. It involves detection, diagnosis as well as treatment of different disease with the help of nanosized materials . Nanoparticles, part of nanomedicine can be either used as an imaging agent or therapeutic agent in different cancer therapeutics which includes gastric cancer as well. The use of nanoparticles in gastric cancer treatment could ease up the side effects of chemotherapy and increase the efficacy of treatment . There are different existing drugs which are used in gastric cancer treatment. One of the leading players to treat gastric cancer is 5-Fluorouracil, which has played a pivotal role to treat gastric cancer over the last few years. There are other anticancer agents like taxanes, platinum derivatives, antimetabolites and so on that has also been used to treat gastric cancer. Though these agents have several cytotoxic effects on human but they are still in use . Table 1 show some list of drugs which are already been use and/or could be used in gastric cancer treatment. Nanoparticles in Gastric Cancer Treatment Nanotechnology helps to target the tumor identically either in an active or passive way. Nanoparticles loaded with anticancer drugs then attack the specifically targeted cancer cell and get rid of them without altering or hampering the surrounded non-cancerous tissues . In case of passive targeting Nano particulate drug transported to the tumor cells using either passive diffusion or the convection process. Then the drug works with the help of enhanced permeability retention, also known as the EPR effect. This effect is applicable towards most of the tumor. On the other hand surface attached ligand on the nanocarrier helps to bind with the over expressed receptor of the tumor cells which is rather different than the healthy cells. These ligand specific anticancer therapy is also known as ligand targeted therapeutics . Figure 3 shows a schematic representation of the process. Nanoparticles are used in gastric cancer treatment either revealing a new way, or modifying the existing way of cancer treatment. Different types of nanoparticles either single or in a combination could be used in gastric cancer. Table 2 shows some example of the nanoparticles. Wide range of studies has already been done by different researchers to prove the effective quality of nanoparticles to treat gastric cancer. In a study, Wu et al. experimented with the polymer-based nanoparticle to treat gastric cancer. PEG-modified polyethyleneimine copolymer was used in that study to deliver siRNA in order to suppress the activity of CDD4 cells, a molecule that involves in the progression of gastric cancer. Gene therapy, for example, siRNA is an efficient tool to treat cancer but it is unstable. This newly modified copolymer helps to hold down the activity of siRNA and ensure the safety of this procedure . In another gene therapy approach which turns out as beneficiary, calcium phosphate nanoparticles were combined with suicide genes e.g. bCD (Bacterial cytosine deaminase) . This in vivo test was done to find out the efficacy of that nanoparicle against gastric cancer cells . Immunoagents are also essential candidate for cancer therapy. For example use of poly (I:C) is widely acceptable and known as anti-cancer drugs but their action on gastric cancer cells are not well known, though few studies were done before. But Qu et al. and others tested this on gastric cancer cell both in vitro and in vivo. Their findings proved that it could persuade the apoptosis on human adenocarcinoma cells in vitro and could hold back tumor growth in vivo . Chitosan nanoparticles are extensively studied nanoparticle because of their safety, bioavailability, and biocompatibility in anticancer treatment. In order to find out the effect of these nanoparticles on the proliferation of gastric cancer cell line MGC803, Qi et al. and his co-workers used high positively charged chiotsan nanoparticles. They figured that it is cytotoxic towards the cell line and could induce cell death . Naturally obtained molecules like ursolic acid is a good candidate for cancer treatment but the hydrophobic nature of this material holds back its true potential. Zhang et al. prepared ursolic acid loaded nanoparticles, where mPEG-PCL (methoxy poly(ethylene glycol)-polycaprolactone) co-polymer work as a carrier system and tested it on gastric cancer cells. They found increased apoptosis of gastric cancer cells . Another well-known anticancer agent cerium oxide nanoparticles also known as CNP has However, the inhibitory effect of CNP on gastric cancer proliferation is dose dependent and there is a high concentration of CNP is needed for that . Yao et al. used a combination of single walled carbon nanotubes (SWNT) used as targeting drug delivery system, salinimycin (SAL) used as an anti-cancer agent and hyaluronic acid (HA) used as targeting ligand in order to treat the gastric cancer stem cell and found productive result that helps to minimize the movement and intrusion of gastric cancer stem cell as well as eradication of it . In another study combinations of neem and silver nanoparticles were used gastric cancer cells in vitro. In the experimented procedure neem works not only as an anticancer agent but also as an antibacterial agent too. On the other hand, silver nanoparticles were used to target the gastric cancer cells that increase the potential of the experiment. The experiment is rather safe and easy, as well the it helps to surpass the drawbacks of all other available cancer treatment . Above approaches by the scientists shown that nanoparticles shows promises to unlock a new way to treat gastric cancer. But it needs to be mentioned that there are some other approaches where the nanoparticles could aid in the existing gastric cancer treatment options. Magnetic nanoparticles are excellent candidates to treat gastric cancer. They could increase the competency of existing cancer therapy. In order to support this theory Yoshida and his colleagues used magnetic nanoparticles with chemo-thermal agent Docetaxel to improve the thermal process in subcutaneously grafted gastric cancer cells in mice to boost the efficacy . Clinically Docetaxel is one of the most efficient chemotherapeutic agents used in radiotherapy for different cancer treatment. But, their applicability is less effective because of its non-specific distribution that raises several side effects. F-b Cui et al. demonstrated an experiment using docetaxel-loaded gelatinase stimuli PEG-Pep-PCL nanoparticles in gastric cancer cell lines to solve the problem and found out that it increased the radiosensitivity of Docetaxel and made it specific as well as reduce the side effects . Camptothecin and its analogs e.g. Irinotecan and topotecan are extensive anticancer agents which are effective against multiple types of cancer but can't be used clinically because of their toxic nature, though Irinotecan and topotecan have minimal toxicity in compare with their parent drug. Ghaur et al. experimented using a combination of camptothecin and cyclodextrin-based polymer against gastric cancer cell line BGC823 xenografts and found out that it is safe, effective and more bioavailable than the previous way . Like many other anticancer drugs Sorafenib has failed to show its true potential in early days when it comes to bioavailability. As they are less soluble in water they couldn't be given orally. However, in a study Zhang et al. showed that nanodiamond, a member of carbon nanoparticle family loaded with polymer could increase the oral bioavailability of sorafenib and increase its efficacy in suppression of metastasis of gastric cancer . Graphene, is another useful member of the carbon family. Nanoparticles based on graphene oxide also holds promising property to treat cancer. Li et al. used grapheme oxide nanoparticles facilitated with a femtosecond laser to make microbubble formation of water that helps to treat gastric cancer effectively in vitro . To treat different cancer Paclitaxel is the most commonly and widely used chemotherapeutic agent but it enhance different undesirable side effects in the treatment procedure as it needs to deliver intravenously. Though different approach was made by scientists to give paclitaxel orally by using organic and synthetic delivery system, but still it fails to achieve the full potential as the probability of side effects still remains. Shapira et al. used beta-casein nanoparticles as drug delivery system to deliver paclitaxel orally and found out promising results against gastric cancer, as it holds the anticancer activity and have less side effects and cytotoxicity . Dendrimer Carrier In vivo/in vitro Immuno PEG Liposomes Carrier Clinical trial (Phase-1) Immunoliposomes Carrier In vivo Quantum Dot (QD) Imaging agent In situ Gold Theranostic In vivo/In vitro PLGA Carrier In vivo/ In vitro Super paramagnetic iron oxide Imaging agent In vivo Au-Ag alloy coated with MWCNT Sensitizing agent In vivo Silica Imaging agent In vivo/In vitro Combination of silica, gold nanorod, carbon nanotubes Imaging agent In vivo Combination of CdTe and QD Imaging agent In vitro Fluorescent Magnetic Nanoparticle Targeted imaging In vivo . Others are still in laboratory experimenting stage and will be soon available as the nanomedicine based science is developing rapidly. Toxicity of Nanoparticles While dealing with nanoparticles toxicity of these need to be taken under consideration. For example, nanoparticles made from copper could damage gastric tissues because of increase hydrogen and bicarbonate ion. This study was proved by Chen et al. . High intake of supermagnetic nanoparticles can lead to accumulation of iron in a specific organ to which it is delivered. This produce toxic effects and leads to DNA damage as well . It has been proved that nanoparticles when used in a high dose could provide toxic results. Several in vivo studies proved that low dose of nanoparticles provides nontoxic results . Nanoparticles which could be used in the treatment of gastric cancer still shows side effects which have been found out by different experimentation. Like the platinum based nanoparticles show strong response against gastric cancer cells but could still accumulate in the liver or spleen and show cytotoxic effect. To counter this problem steps have already been taken. Incorporation of polymer which is safe as well as easily biodegradable could assist to reduce the side effects of the nanoparticles based anticancer formulation i.e. use of hyaluronan in platinum nanoparticulate based anticancer drug . Conclusion Introduction of new diseases hasn't been stopped and who knows what we need to face in the future. But no matter what it is, right from the very beginning cancer is one of the deadly and most fearsome diseases human kind has ever seen. Still people of all kind live in panic when they hear something regarding cancer and numbers of the infected people are increasing daily. Like all other cancers gastric cancer is a threat to us all. It is mandatory to find new ways to deal with it, as the existing ways are not enough. There were approaches to vaccinate people against cancer that may help to lessen the number of gastric cancer occurrence . But still, that is not easy and enough. Nanomedicine, namely use of nanoparticles could pave the way of treating gastric cancer more easily than before as it could blend with the existing treatment methodology or could create new treatment options which is effective and safe as well. However, many more researches are needed to be done in laboratory scale in order to unlock the full potentiality of nanoparticles to treat gastric cancer and transfer it safely to clinical trial that eventually leads it to industrial based production.
import numpy def LU_decomposition(a,b,c): # for tridiagonal matrix # a = main diagonal # b = below diagonal # c = above diagonal # else all 0 # operation count 0(n) n = len(a) b.insert(0,0) l = [0]*n u = [0]*n u[0] = a[0] for i in range(1,n): l[i] = b[i]/u[i-1] u[i] = a[i] - l[i]*c[i-1] return l[1:],u a = ([i for i in range(1,11)]) b = ([-i/2 for i in range(2,11)]) c = ([-i/2 for i in range(1,10)]) z,k = LU_decomposition(a,b,c) print(z,k,sep = "\n")
<filename>hagia/utils/hthread.py import threading #class Thread(threading.Thread): # def __init__(self,*args,**kwargs): # super().__init__(*args,**kwargs) Thread = threading.Thread
DiOC6 staining reveals organelle structure and dynamics in living yeast cells. When present at low concentrations, the fluorescent lipophilic dye, DiOC6, stains mitochondria in living yeast cells . However, we found that the nuclear envelope and endoplasmic reticulum were specifically stained if the dye concentration was increased or if certain respiratory-deficient yeast strains were examined. The quality of nuclear envelope staining with DiOC6 was sufficiently sensitive to reveal alterations in the nuclear envelope known as karmellae. These membranes were previously apparent only by electron microscopy. At the high dye concentrations required to stain the nuclear envelope, wild-type cells could no longer grow on non-fermentable carbon sources. In spite of this effect on mitochondrial function, the presence of high dye concentration did not adversely affect cell viability or general growth characteristics when strains were grown under standard conditions on glucose. Consequently, time-lapse confocal microscopy was used to examine organelle dynamics in living yeast cells stained with DiOC6. These in vivo observations correlated very well with previous electron microscopic studies, including analyses of mitochondria, karmellae, and mitosis. For example, cycles of mitochondrial fusion and division, as well as the changes in nuclear shape and position that occur during mitosis, were readily imaged in time-lapse studies of living DiOC6-stained cells. This technique also revealed new aspects of nuclear disposition and interactions with other organelles. For example, the nucleus and vacuole appeared to form a structurally coupled unit that could undergo coordinated movements. Furthermore, unlike the general view that nuclear movements occur only in association with division, the nucleus/vacuole underwent dramatic migrations around the cell periphery as cells exited from stationary phase. In addition to the large migrations or rotations of the nucleus/vacuole, DiOC6 staining also revealed more subtle dynamics, including the forces of the spindle on the nuclear envelope during mitosis. This technique should have broad application in analyses of yeast cell structure and function.
def open( self ): self.sql_con = lite.connect( self.db_name )
#include <bits/stdc++.h> using namespace std; using ll = long long; using vl = vector<ll>; using vi = vector<int>; using vvi = vector<vi>; #define ote(x) cout<<(x)<<endl #define all(x) (x).begin(),(x).end() // #define allr(x) (x).rbegin(),(x).rend() #define rp(i,s,e) for(int i=(s);i<(e);++i) template<class T> T in(){T x;cin>>x;return x;} int main(){ ll N; cin>>N; vl A(N),B(N),C(N); ll sumA=0, sumB=0, minus=0; int ans = 0; rp(i,0,N){ A[i] = in<ll>(); sumA+=A[i]; C[i] = A[i]; } rp(i,0,N){ cin>>B[i]; sumB+=B[i]; C[i] -= B[i]; if(C[i]<0){ ans++; minus += C[i]; } } // for(auto x:C){cout<<x<<" ";}puts("");/// // ote(sumA); // ote(sumB); // ote(minus); if(sumA < sumB){ puts("-1"); return 0; } sort(all(C)); // for(auto x:C){cout<<x<<" ";}puts("");/// for(int i=C.size()-1; minus<0 && i>=0 && C[i]>0; --i){ ans++; minus += C[i]; } ote(ans); }
/** * {@link RotateCommand} sets up the angle parameter and it will rotate turtle * by the given angle, on which is on the peek of the {@link Context}. * * @author dario * */ public class RotateCommand implements Command { private double angle; /** * It constructs the {@link RotateCommand} with the angle as the parameter. * * @param angle * - parameter of the {@link RotateCommand} which is used in * {@link #execute(Context, Painter) execute} */ public RotateCommand(double angle) { this.angle = angle; } /** * * @param ctx * - {@link Context} context of the working process * @param painter * - {@link Painter} allows you to draw lines */ @Override public void execute(Context ctx, Painter painter) { ctx.getCurrentTurtleState().getDirection().rotate(angle); } }
def _printKclosest(arr,n,x,k): a=[] pq = PriorityQueue() for neighb in range(k): pq.put((-abs(arr[neighb]-x),neighb)) for neighb in range(k,n): diff = abs(arr[neighb]-x) p,pi = pq.get() curr = -p if diff>curr: pq.put((-curr,pi)) continue else: pq.put((-diff,neighb)) while(not pq.empty()): p,q = pq.get() a.append(str("{} ".format(arr[q]))) return a
<filename>src/master/src/be/ac/ulb/crashcoin/master/net/RelayListener.java<gh_stars>1-10 package be.ac.ulb.crashcoin.master.net; import be.ac.ulb.crashcoin.common.Parameters; import be.ac.ulb.crashcoin.common.net.AbstractListener; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; /** * Listen all connexion from Relay<br> * It's a singleton and a thread */ public class RelayListener extends AbstractListener { private static RelayListener instance = null; private RelayListener() throws IOException { super("RelayListener", new ServerSocket(Parameters.MASTER_PORT_LISTENER)); start(); } @Override protected void createNewConnection(Socket sock) throws IOException { new RelayConnection(sock); } public static synchronized RelayListener getListener() throws IOException { if (instance == null) { instance = new RelayListener(); } return instance; } }
import java.util.Scanner; public class se{ public static void main(String eww[]){ Scanner rm=new Scanner(System.in); int a = rm.nextInt(); int z= (a*2)+1; int h=z/2; int o=z/2,x=z/2,count=0; for(int i=0;i<z;i++){ for(int j=0;j<z;j++){ if(o<=j&&x>=j){ if(x==j){ p(count); }else{ p(count+ " "); } if(j<h){count++;} if(j>=h){count--;} }else{ if(x<j){ }else{ p(" "); } } } count = 0; p("\n"); if(i<h){ o--; x++; }else{ o++; x--; } } } static<R>void p(R M){System.out.print(M);} }
LEGO Store at Providence Place to Build 8 ft Model of The Incredible Hulk The LEGO Store at the Providence Place Mal l will construct an eight foot tall model of the Incredible Hulk starting on Friday, June 26 and finishing on Sunday, June 28. Kids and adults are invited to help a LEGO Master build the Hulk completely out of LEGO bricks. The building times are as follows. June 26 – 11 a.m. – 7 p.m. June 27 – 10 a.m. – 6 p.m. June 28 – 11 a.m. – 5 p.m. In addition to the Hulk, LEGO Dinosaur models from Jurassic World will be on display in the Macy's court. The Incredible Hulk The Hulk is a superhero, created by Stan Lee and published by Marvel Comics with his first appearance coming in The Incredible Hulk #1, released in May of 1962. The Hulk is a large green humaniod with superhuman strengh and the alter ego of Dr. Bruce Banner. Banner transforms into the Hulk under emotional stress. LEGO Group Lego Systems, Inc. is the North American division of The LEGO Group, one of the world's leading manufacturers of creatively educational play materials for children. The LEGO store opened at the Providence Place Mall on Friday, June 5 and features a kid-chic design, innovative displays and consumer-friendly play areas that deliver an engaging, entertaining and fun experience for families of all ages. There are 85 LEGO Stores in North America, including flagship locations in Chicago, Illinois and New York City as well as at the Mall of America in Bloomington, Minnesota, and in the DOWNTOWN DISNEY areas in Orlando, Florida and Anaheim, California. Related Articles Enjoy this post? Share it with others.
Regularly using a mobile phone for at least four years seems to be associated with a doubling in the risk of developing chronic tinnitus (persistent ringing/roaring/hissing in the ear), indicates a small study published online in Occupational and Environmental Medicine. The prevalence of chronic tinnitus is increasing, and is currently around 10 to 15% in the developed world, say the authors. There are currently few treatment options. And while there are some obvious triggers, such as ear disorders and head trauma, there are few known risk factors or clear explanations for this trend. The high microwave energy produced by mobile phones during use has been suggested as a possible culprit, but there has been no hard evidence to date. The authors compared 100 patients who required treatment for chronic tinnitus, defined as lasting at least three months, with 100 randomly selected people without the disorder, but matched for age and sex, over a period of a year (2003-4). Any patient with ear disease, noise induced impaired hearing, high blood pressure, or who was on medication known to boost the risk of tinnitus was excluded from the study. All participants were then quizzed about the type of phone they used, and where, as mobile phone output tends to be stronger in rural areas. They were also asked about the intensity and duration of calls, ear preference, and use of hand held devices. Most tinnitus was one sided, with the left side accounting for 38 cases. A similar number of patients described it as distressing 'most of the time.' More than one in four (29%) also had associated vertigo. Virtually all the participants were mobile users, but only 84 patients and 78 in the comparison group were using a mobile when symptoms first appeared. Some 17 patients and 12 of their peers had been using a mobile for less than a year at that time. Analysis of the results showed that the patients who had used a mobile before the onset of tinnitus were 37% more likely to have the condition than those in the comparison group. Those who used their mobiles for an average of 10 minutes a day were 71% more likely to have the condition. Most people used their phones on both ears, and those who had used a mobile for four years or more were twice as likely to have tinnitus compared with those in the comparison group. The authors accept that people are likely to over/underestimate their mobile phone usage and the length of calls. But they caution: "Considering all potential biases and confounders, it is unlikely that the increased risk of tinnitus from prolonged mobile phone use obtained in this study is spurious." They suggest that there is a plausible explanation for a potential link between mobile phones and tinnitus as the cochlea and the auditory pathway directly absorb a considerable amount of energy emitted by a mobile.
<filename>unused/crypto/enigma.cc #include <stdio.h> #include <time.h> #include <string.h> // enigma d simulator - three rotors, no plugboard // Encryption equation: // (p)KC(i)WC(-i)C(j)VC(-j)C(k)UC(-k)RC(k)UinvC(-k)C(j)VinvC(-j)C(i)WinvC(-i)Kinv = c const char* Input= "abcdefghijklmnopqrstuvwxyz"; const char* Keyboard= "qwertzuioasdfghjkpyxcvbnml"; // Kinv const char* Rotor1= "lpgszmhaeoqkvxrfybutnicjdw"; // W const char* Rotor2= "slvgbtfxjqohewirzyamkpcndu"; // V const char* Rotor3= "cjgdpshkturawzxfmynqobvlie"; // U const char* Reflector ="imetcfgraysqbzxwlhkdvupojn"; // Reflector class pair { public: char a, b; }; int num_pairs = 0; pair PlugBoard[26]; #ifndef byte typedef unsigned char byte; #endif byte index_from_lc_letter(char c) { return (byte) (c - 'a'); } char uc_letter_from_index(byte b) { return (char) (b + 'A'); } byte index_from_uc_letter(char c) { return (byte) (c - 'A'); } char lc_letter_from_index(byte b) { return (char) (b + 'a'); } void print_char_array(int n, const char* a) { for (int i = 0; i < n; i++) { printf("%c", a[i]); } } void build_plugboard(int n, int num_plugs, pair* pl, byte* pb_perm) { for (int i = 0; i < n; i++) pb_perm[i] = i; byte t, t1, t2; for (int j = 0; j < num_plugs; j++) { t1 = index_from_lc_letter(pl[j].a); t2 = index_from_lc_letter(pl[j].b); t = pb_perm[t1]; pb_perm[t1] = pb_perm[t2]; pb_perm[t2] = t; } } void print_byte_array(int n, byte* a) { for (int i = 0; i < n; i++) { printf("%c", uc_letter_from_index(a[i])); } } void compute_inverse(int n, byte* perm, byte* perm_inv) { for(int i = 0; i < n; i++) { perm_inv[perm[i]] = i; } } class enigma { public: static const int r3_turnover = 13; static const int r2_turnover = 13; static const int r1_turnover = 13; byte plugboard_[26]; byte keyboard_[26]; byte reflector_[26]; byte reflector_inv_[26]; byte rotor1_[26]; byte rotor2_[26]; byte rotor3_[26]; byte keyboard_inv_[26]; byte plugboard_inv_[26]; byte rotor1_inv_[26]; byte rotor2_inv_[26]; byte rotor3_inv_[26]; int rotor_position_[3]; enigma(const char* keyb, const char* reflb, const char* r1, const char* r2, const char* r3); void forward_state(); void set_rotor_position(int r1, int r2, int r3); void print_state(); void encrypt(const char* plain, const char* cipher); }; bool check_inverse(int n, byte* a, byte* b) { for (int i = 0; i < n; i++) { if (b[a[i]] != i) return false; if (a[b[i]] != i) return false; } return true; } enigma::enigma(const char* keyb, const char* reflb, const char* r1, const char* r2, const char* r3) { for (int i = 0; i < 26; i++) keyboard_[i] = index_from_lc_letter(keyb[i]); for (int i = 0; i < 26; i++) reflector_[i] = index_from_lc_letter(reflb[i]); for (int i = 0; i < 26; i++) rotor1_[i] = index_from_lc_letter(r1[i]); for (int i = 0; i < 26; i++) rotor2_[i] = index_from_lc_letter(r2[i]); for (int i = 0; i < 26; i++) rotor3_[i] = index_from_lc_letter(r3[i]); build_plugboard(26, num_pairs, PlugBoard, plugboard_); compute_inverse(26, keyboard_, keyboard_inv_); compute_inverse(26, reflector_, reflector_inv_); compute_inverse(26, rotor1_, rotor1_inv_); compute_inverse(26, rotor2_, rotor2_inv_); compute_inverse(26, rotor3_, rotor3_inv_); compute_inverse(26, plugboard_, plugboard_inv_); if (!check_inverse(26, keyboard_, keyboard_inv_)) printf("KB check failed\n"); if (!check_inverse(26, rotor1_, rotor1_inv_)) printf("R1 check failed\n"); if (!check_inverse(26, rotor2_, rotor2_inv_)) printf("R2 check failed\n"); if (!check_inverse(26, rotor3_, rotor3_inv_)) printf("R3 check failed\n"); if (!check_inverse(26, reflector_, reflector_)) printf("Reflector check failed\n\n"); if (!check_inverse(26, plugboard_, plugboard_inv_)) printf("Plugboard check failed\n\n"); } byte apply_rotated_perm(int n, byte* perm, byte pt, int rot) { int ind = (rot + pt) % n ; byte t = perm[ind]; return (t + n - rot) % n; } // Fix this void enigma::forward_state() { int r1 = rotor_position_[0]; int r2 = rotor_position_[1]; int r3 = rotor_position_[2]; rotor_position_[2]= (rotor_position_[2] + 1) % 26; if (r3 == r3_turnover) rotor_position_[1]= (rotor_position_[1] + 1) % 26; if (r2 == r2_turnover) rotor_position_[0]= (rotor_position_[0] + 1) % 26; } void enigma::set_rotor_position(int r1, int r2, int r3) { rotor_position_[0] = r1; rotor_position_[1] = r2; rotor_position_[2] = r3; } void enigma::print_state() { printf("\nMachine state:\n"); printf(" Input : "); print_char_array(26, Input); printf("\n"); printf(" Keyboard : "); print_byte_array(26, keyboard_); printf("\n"); printf(" Rotor 1 : "); print_byte_array(26, rotor1_); printf("\n"); printf(" Rotor 2 : "); print_byte_array(26, rotor2_); printf("\n"); printf(" Rotor 3 : "); print_byte_array(26, rotor3_); printf("\n"); printf(" Reflector: "); print_byte_array(26, reflector_); printf("\n"); printf(" Plugboard: "); print_byte_array(26, plugboard_); printf("\n"); for (int i = 0; i < 3; i++) { printf(" rotor %d in position %d ", i + 1, rotor_position_[i]); printf("\n"); } printf("\n"); } // (p)KinvC(i)R1C(-i)C(j)R2C(-j)C(k)R3C(-k)RC(k)R3invC(-k)C(j)R2invC(-j)C(i)R1invC(-i)K = c void enigma::encrypt(const char* plain, const char* cipher) { byte t1, t2; char* p = (char*)plain; char* q = (char*)cipher; while (*p != '\0') { t1 = index_from_uc_letter(*p); t2 = apply_rotated_perm(26, keyboard_inv_, t1, 0); t1 = t2; t2 = apply_rotated_perm(26, rotor1_, t1, rotor_position_[0]); t1 = t2; t2 = apply_rotated_perm(26, rotor2_, t1, rotor_position_[1]); t1 = t2; t2 = apply_rotated_perm(26, rotor3_, t1, rotor_position_[2]); t1 = t2; t2 = apply_rotated_perm(26, reflector_, t1, 0); t1 = t2; t2 = apply_rotated_perm(26, rotor3_inv_, t1, rotor_position_[2]); t1 = t2; t2 = apply_rotated_perm(26, rotor2_inv_, t1, rotor_position_[1]); t1 = t2; t2 = apply_rotated_perm(26, rotor1_inv_, t1, rotor_position_[0]); t1 = t2; t2 = apply_rotated_perm(26, keyboard_, t1, 0); *q = uc_letter_from_index(t2); forward_state(); p++; q++; } *q = '\0'; } // --------------------------------------------------------------------------------------- int main(int an, char** av) { enigma machine(Keyboard, Reflector, Rotor1, Rotor2, Rotor3); const char* test_plain= "HELLOTHERETHISISAMUCHLONGERMESSAGEFORBILLYFRIEDMANABRAHAMSINKOVSOLOMONKULLBACKANDFRANKROWLETT"; const char* test_cipher = new char[strlen(test_plain) + 1]; const char* test_decrypted_cipher = new char[strlen(test_plain) + 1]; printf("Enigma D simulator\n"); machine.set_rotor_position(1, 0, 7); machine.print_state(); machine.encrypt(test_plain, test_cipher); machine.set_rotor_position(1, 0, 7); machine.encrypt(test_cipher, test_decrypted_cipher); printf("Message is %d letters long\n", (int)strlen(test_plain)); printf("Plain : %s\n", test_plain); printf("Cipher : %s\n", test_cipher); printf("Decrypted: %s\n", test_decrypted_cipher); machine.print_state(); delete []test_cipher; delete []test_decrypted_cipher; return 0; } // ---------------------------------------------------------------------------------------
def UserAccessibleProjectIDSet(): return set(p.projectId for p in projects_api.List())
IoT based Framework for Smart Campus: COVID-19 Readiness Internet of Things (IoT) plays an important role in connecting everything together and to the Internet through specific protocols for information exchange and communications. It helps in achieving use cases such as intelligent recognition, location, tracking, monitoring and management. For large organizations, the focus is on developing smart campuses or leasing them which are sustainable and provide user experience. Sustainability focuses on being carbon neutral, energy efficiency, water usage reduction, green energy requires the IoT based implementation to deploy new projects and use cases. This paper presents a five layered Framework helping in implementing the sustainability leveraging basic ecosystem. It integrates the new use cases towards the connected ecosystem and responding to requirements quickly. These large campuses are replica of smart cities and multiple technological innovations in new technologies such as IoT, Artificial Intelligence (AI), Machine Learning (ML) is leveraged in bringing the ecosystem together for implementing applications and making the campuses smart and efficient.
/** * A deployment configuration. */ @Deprecated public class DeployConfiguration extends AbstractDescribableImpl<DeployConfiguration> { private final String user; private final String account; private transient List<Deployable> deployables; @Deprecated @SuppressWarnings("deprecation") public DeployConfiguration(String user, String account, List<Deployable> deployables) { this.user = user; this.account = account; this.deployables = new ArrayList<Deployable>(deployables == null ? Collections.<Deployable>emptyList() : deployables); } public String getUser() { return user; } public String getAccount() { return account; } @SuppressWarnings("deprecation") public List<Deployable> getDeployables() { return deployables; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } DeployConfiguration that = (DeployConfiguration) o; if (account != null ? !account.equals(that.account) : that.account != null) { return false; } if (deployables != null ? !deployables.equals(that.deployables) : that.deployables != null) { return false; } if (user != null ? !user.equals(that.user) : that.user != null) { return false; } return true; } @Override public int hashCode() { int result = user != null ? user.hashCode() : 0; result = 31 * result + (account != null ? account.hashCode() : 0); return result; } public RunHostImpl toDeploySet() { return new RunHostImpl(user, account, toDeployTargets()); } private List<RunTargetImpl> toDeployTargets() { List<RunTargetImpl> targets = new ArrayList<RunTargetImpl>(deployables.size()); for (Deployable deployable : deployables) { targets.add(deployable.toDeployTarget()); } return targets; } }
404 BC. Greece I’ve seen my death, and it’s coming soon. So, I need to tell you a story, not just about me, but also about my brave comrades who gave their lives fighting the monster Chaos. If I don’t share what happened, the world will never hear of the epic fight waged between the cruel beast Chaos, and the Spartan heroes who defied him. There were no witnesses to our great deed. Only me. It wasn’t supposed to be so. A city that promised immortality lied to us. I’d try to write my story down if I could, but as you can see, I’m missing an arm and the other is dangling uselessly beside me. So please, kind sir, listen closely and share our tale with the world. My name is Ajax. No, not the famous Ajax from the from the Trojan War. Just a common Spartan raised from birth to fight the state’s enemies. My eleven comrades and I were returning from the Decelean War when we camped outside a city one night. It was dark when we arrived and none of us wanted to be mistaken for an enemy by a jittery night guard at the city’s main gate. We could see bonfires inside the fortified compound as we settled in for the night. My eleven comrades names were; Aegues, Alecto, Caedmon, Darragh, Fausto, Isai, Maarku, Ondrej, Rehor, Ujarak, and Vadik. We were all from the same city, Lacedaemon. We were all on our way home after years of fighting. We planned to buy more food for our journey in the morning. Because we were military men we always posted a revolving guard around our perimeter. In the early dawn hours, when most people slept, there came screams of terror within the fort. They got louder and soon everyone in our camp was standing, armed and ready for whatever may happen. As we watched we could see bodies flying off the ramparts near the main gate. Horrified screams tore the night apart as some terrible thing attacked the people inside. Suddenly the main gate shook and came crashing down! The thing that came out was from a nightmare. It was nearly twice as tall as me, and I’m the tallest in our little band. It’s massive arms and chest bulged with corded muscle. It’s long legs were equally muscled. It was carrying a huge axe and wore a belt of human heads around its massive girth. The creatures long blond hair was soaked in human blood that dripped onto its face and dyed its beard red. In the light of the full moon we watched it lumber off in an easterly direction. We were all thankful it didn’t see us. We watched the pandemonium – people with torches at the main gate – from the top of a gentle slope near our camp. We got up early the next morning and walked down to the fort’s entrance. Men were already working on repairing the heavy metal door and putting it back into position as we rode up to a guard. A row of bodies with shrouds over them lined the street. He was a talkative fellow and filled us in on what happened. Apparently the monster, he said his name was Chaos, had been extracting a horrible tribute from this city and another east of it for two years. No one had been able to stand up against Chaos. The city first fought back against Chaos’s demands of human sacrifice every full moon, but when the beast killed fifty of it’s best warriors in a single battle, they knew they were defeated. The reason Chaos attacked them was because there were no sacrifices waiting for slaughter. Instead they dared to try to ambush him, and paid the price. The guard led us to the city father’s who were gathered around a bonfire and arguing among themselves. They grew silent as our little company approached. They quickly shared their story when we asked. In the end, we agreed to kill the monster Chaos in exchange for each man’s weight in gold and statues of us all in the main square. What can I say? We were virile warriors who feared nothing, having defied death daily for most of our lives. A guide was assigned to us, a freed slave I believe. His name was Xander. He led us to Chaos’s lair in the nearby mountains. We only knew one way to fight…and that was head on! We called out to the vile creature and mocked him as a coward. When he came out of the cave he was rubbing his eyes in the bright sunlight. In that moment we surrounded him and attacked! It’s strength was unbelievable as it tore off arms and heads with gruesome ease. Everyone of us wounded Chaos, but he was impervious from pain despite the deep slashes our swords were making. Finally, it was just brave Aegues and I fighting. Chaos tore my arm off, and I fell. But even as I fell, Aegues did what no other man could…he pierced the creature’s black heart and killed it! Before it died however, it tore his head off! As I lay wounded, Xander appeared and treated my wounds. My right arm was gone, and the left broken in two places. He took me to an old woman who lived alone in the mountains and was thought to be a witch. She treated me as best as she could. I’m broken up inside as well as out, and there’s not much to do about it. As I rested at her hut word came of a celebration in the two cities freed from Chaos’s reign of terror. There was no talk of my comrades and I saving them all. No talk of statues to be built-in our honor. We were forgotten, like we never existed. I talked the old lady into hiring you Zack, to take me home in your cart. You see, my legs are useless too. The old lady said it was because of my broken back. But, I fear I’m not going to see the green fields surrounding my childhood home. So, I humbly ask you to tell our story to everyone you meet. “Of course,” Zack said. Two days later, Ajax quietly died in his sleep. Zack buried him in a nearby field with no marker. On his way home Zack tried to remember everything Ajax told him. Unfortunately, Zack was a simple man with a poor memory and by the time he returned home he’d forgotten the whole story. As It Stands, this tale is for all forgotten hereos. Share this: Google Twitter Facebook Reddit Pocket LinkedIn Telegram Skype Tumblr WhatsApp More Pinterest Like this: Like Loading...
def yield_objs_from_json(json_text, pos=0, decoder=JSONDecoder(), cleaned=False): if not cleaned: json_text = _clean_obj_string_for_parsing(json_text) if isfile(json_text): with open(json_text, 'r') as fp: json_text = fp.read() while True: match = RX_NOT_WHITESPACE.search(json_text, pos) if not match: return pos = match.start() try: obj, pos = decoder.raw_decode(json_text, pos) except JSONDecodeError as e: try: obj = literal_eval(json_text) except: raise e else: yield obj break yield obj
<reponame>mdblabs/ModEngine // // Created by <NAME> on 19/5/16. // #ifndef MODENGINE_AGENT_H #define MODENGINE_AGENT_H #include "Message.h" class Agent { public: Agent(); ~Agent(); MessageBus *_msgBus; virtual void handleMessage(Msg *msg); }; #endif //MODENGINE_AGENT_H
// // Decompiled by Procyon v0.5.36 // package org.mudebug.prapr.reloc.commons.httpclient; interface ResponseConsumedWatcher { void responseConsumed(); }
/** * @license * Copyright Workylab. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://raw.githubusercontent.com/workylab/materialize-angular/master/LICENSE */ // Angular import '@angular/animations'; import '@angular/common'; import '@angular/core'; import '@angular/forms'; import '@angular/router'; // RxJS import 'rxjs';
def _find_path(node, path, i): node_index = node["index"] info = {'node':node_index,'j':node["j_feature"],'thresh':node["threshold"]} path.append(info) if node_index == i: return True left = False right = False if node["children"]["left"] is not None: left = _find_path(node["children"]["left"], path, i) if node["children"]["right"] is not None: right = _find_path(node["children"]["right"], path, i) if left or right : return True path.remove(info) return False
About a week ago, CCP announced some tentative broad strokes about moon resource harvesting. The dev blog can be found here, and it’s worth reading before taking a look at the rest of this article. Essentially, moon mining will change from a passive activity punctuated by someone emptying a silo or refueling a POS once a week or so, to a passive activity punctuated by someone mining a moon goo belt once every week or so. The difference is that before, this was a mostly safe activity for the guy hauling the goo. Now… not so much. What’s this mean? More rorqs in belts, most likely. CCP hasn’t released many specifics yet, but people that have been around a while can figure out that, in most locations, a rorq fleet supported with combat ships will be the best way to clear the belts fast. It also means more timezone tanking, unless CCP makes a tweak to allow moon goo belt spawns only during sov vulnerability windows. How that would work in lowsec is anyone’s guess, though. Perhaps lowsec could use a “spawn whenever” mechanic- that might actually bring back some lowsec content, or at least provide an impetus to inhabit lowsec more. It also means that POS shoots are going to give way to miner shoots. Personally, shooting a fleet of miners sounds like it’ll get boring quick, and it’s not at all comparable to a POS as a future conflict driver. I’m not sure what other tricks CCP has up their sleeve, but I hope they’re good, or pitched battles over resources are going to go the way of the Dodo. Imagine it: you gank someone’s miner fleet, and then… what? Bring in your own? This might work in shallow nullsec regions like Provi (or it might not) but in deep nullsec, all you’re going to do is kill a mining fleet and be left staring at a pile of moon rocks. That’s already being done, albeit with mineral asteroids instead. Worse still, their mining fleet could just warp out and you’re left staring at… rocks. Wow. Sounds like fun. On the flip side I could be completely wrong and we’ll start to see heavily tanked bait/cyno mining fleets with a support fleet sitting quietly on a titan a few light years away. For the defender, that sounds like fun. Or even worse than either of these, moon goo mining becomes routine, something that nobody really cares about and that everyone takes for granted. We wind up with power creep in the form of cratered t2 hull prices as people figure out how to min/max the new system. So, I’m not overly optimistic about the moon mining changes providing good gameplay, unless CCP really sits down and listens to all of the somewhat thoughtful comments that have already popped up on Reddit (yes, they’re really out there, although it’s hard to imagine). Sure, it’ll be fun at first, but after the initial period, we’ll see all sorts of strategies to bore people. I don’t see why CCP couldn’t just leave in place the existing mechanic of gathering 100 units of moon goo per hour, but migrate that mechanic over to a new structure. Then we still get something to “fight” over. I know people will now spout off the arguments about “passive top-down income” but those arguments are crap. First of all, it’s not passive income. Fueling and hauling take time, effort and usually a pretty good logistics network for the moon’s owner. Second, there are already loads and loads of bottom-up income sources in the game. Ratting, PI, asteroid mining, trading, building, and reactor farms are all sources of ISK that are attainable by individuals, generally speaking. Do we really need another bottom-up income source? Why trade away the content generator that good moons provide for more mining frenzies? Where is the need for such a drastic change? While we sit and ponder over that side of the moon mining changes, the other side of moon goo- reactions- is going to get an equally radical makeover. Before, reactions were handled at a POS configured for reactions, using an interface that can only be described as one step better than outpost management. Aside from the interface, the mechanics of reactions gave a POS operator lots of creativity to squeeze as much out of the fittings of a large tower as possible. There are the standard fits for the people who aren’t crazy and actually have a life, and then there are the ~~alternative fits~~ like the triple-reactor setups, or the double-complex-reactor setups that people with OCD love to compulsively check in between hand washings and making sure their doors are locked. That all (likely) goes away with the new changes, and with it, a bit of challenging complexity that made reactions a lot of fun for those who took the time to learn them. I guarantee CCP isn’t thinking of making the new reaction system anything like the old. I’m just hoping they consider all the things, including alchemy and a rig for scrapmetal reprocessing when they finally roll out these “new and improved” refineries. I understand that the POS code has to go, but that doesn’t mean this gameplay style has to die as well. CCP could keep the existing mechanics and incorporate everything over to a new structure. If it ain’t broke, don’t fix it. -KS
/** Constructs a new message-driven image loader. Since it does some heavy-duty image processing it is best to keep it low priority to improve the overall responsivness. */ ImageLoader::ImageLoader(const char *name): BLooper(name, B_NORMAL_PRIORITY), fItems(32, true), fQueries(8, true), fRunning(false), fLoadOptions(LOADER_READ_TAGS), fThumbWidth(64), fThumbHeight(64), fReadAttr("IPRO:thumbnail") { }
import socket OPEN_PORTS = [] def get_host_ip_addr(target): try: ip_addr = socket.gethostbyname(target) except socket.gaierror as e: print(f"C'è stato un errore... {e}") else: return ip_addr def scan_port(ip, port): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(1.0) conn_status = sock.connect_ex((ip, port)) if conn_status == 0: OPEN_PORTS.append(port) sock.close() if __name__ == "__main__": print("Programma scritto per solo scopo educativo!!!") target = input("Inserire Target: ") ip_addr = get_host_ip_addr(target) while True: try: port = int(input("Inserire Porta: ")) scan_port(ip_addr, port) print(OPEN_PORTS) except KeyboardInterrupt: print("\nExiting...") break
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2008 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.php.net/license/3_01.txt | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | <EMAIL> so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Author: <NAME> <<EMAIL>> | | <NAME> <<EMAIL>> | +----------------------------------------------------------------------+ */ /* $Id: mysqlnd_ms.h 311091 2011-05-16 15:42:48Z andrey $ */ #ifndef MYSQLND_MS_ENUM_N_DEF_H #define MYSQLND_MS_ENUM_N_DEF_H #ifdef PHP_WIN32 #include "win32/time.h" #else #include "sys/time.h" #endif #ifndef SMART_STRING_START_SIZE #define SMART_STRING_START_SIZE 1024 #endif #ifndef SMART_STRING_PREALLOC #define SMART_STRING_PREALLOC 256 #endif #include "ext/standard/php_smart_string.h" #include "fabric/mysqlnd_fabric.h" #if MYSQLND_VERSION_ID < 50010 && !defined(MYSQLND_CONN_DATA_DEFINED) typedef MYSQLND MYSQLND_CONN_DATA; #endif #if MYSQLND_VERSION_ID >= 50010 #define MS_DECLARE_AND_LOAD_CONN_DATA(conn_data, connection) \ MYSQLND_MS_CONN_DATA ** conn_data = \ (MYSQLND_MS_CONN_DATA **) mysqlnd_plugin_get_plugin_connection_data_data((connection), mysqlnd_ms_plugin_id) #define MS_LOAD_CONN_DATA(conn_data, connection) \ (conn_data) = (MYSQLND_MS_CONN_DATA **) mysqlnd_plugin_get_plugin_connection_data_data((connection), mysqlnd_ms_plugin_id) #define MS_CALL_ORIGINAL_CONN_HANDLE_METHOD(method) ms_orig_mysqlnd_conn_handle_methods->method #define MS_CALL_ORIGINAL_CONN_DATA_METHOD(method) ms_orig_mysqlnd_conn_methods->method extern struct st_mysqlnd_conn_data_methods * ms_orig_mysqlnd_conn_methods; extern struct st_mysqlnd_conn_methods * ms_orig_mysqlnd_conn_handle_methods; #else #define MS_DECLARE_AND_LOAD_CONN_DATA(conn_data, connection) \ MYSQLND_MS_CONN_DATA ** conn_data = \ (MYSQLND_MS_CONN_DATA **) mysqlnd_plugin_get_plugin_connection_data((connection), mysqlnd_ms_plugin_id) #define MS_LOAD_CONN_DATA(conn_data, connection) \ (conn_data) = (MYSQLND_MS_CONN_DATA **) mysqlnd_plugin_get_plugin_connection_data((connection), mysqlnd_ms_plugin_id) #define MS_CALL_ORIGINAL_CONN_HANDLE_METHOD(method) ms_orig_mysqlnd_conn_methods->method #define MS_CALL_ORIGINAL_CONN_DATA_METHOD(method) ms_orig_mysqlnd_conn_methods->method extern struct st_mysqlnd_conn_methods * ms_orig_mysqlnd_conn_methods; #endif #ifndef MYSQLND_HAS_INJECTION_FEATURE #define MS_LOAD_STMT_DATA(stmt_data, statement) \ (stmt_data) = (MYSQLND_MS_STMT_DATA **) mysqlnd_plugin_get_plugin_stmt_data((statement), mysqlnd_ms_plugin_id); #endif #if MYSQLND_VERSION_ID < 50010 #define MYSQLND_MS_ERROR_INFO(conn_object) ((conn_object)->error_info) #else #define MYSQLND_MS_ERROR_INFO(conn_object) (*((conn_object)->error_info)) #endif #if MYSQLND_VERSION_ID < 50010 #define MYSQLND_MS_UPSERT_STATUS(conn_object) ((conn_object)->upsert_status) #else #define MYSQLND_MS_UPSERT_STATUS(conn_object) (*((conn_object)->upsert_status)) #endif #define BEGIN_ITERATE_OVER_SERVER_LISTS(el, masters, slaves) \ { \ /* need to cast, as masters of slaves could be const. We use external llist_position, so this is safe */ \ DBG_INF_FMT("master(%p) has %d, slave(%p) has %d", \ (masters), zend_llist_count((zend_llist *) (masters)), (slaves), zend_llist_count((zend_llist *) (slaves))); \ { \ MYSQLND_MS_LIST_DATA ** el_pp;\ zend_llist * lists[] = {NULL, (zend_llist * ) (masters), (zend_llist *) (slaves), NULL}; \ zend_llist ** list = lists; \ while (*++list) { \ zend_llist_position pos; \ /* search the list of easy handles hanging off the multi-handle */ \ for (el_pp = (MYSQLND_MS_LIST_DATA **) zend_llist_get_first_ex(*list, &pos); \ el_pp && ((el) = *el_pp) && (el)->conn; \ el_pp = (MYSQLND_MS_LIST_DATA **) zend_llist_get_next_ex(*list, &pos)) \ { \ #define END_ITERATE_OVER_SERVER_LISTS \ } \ } \ } \ } #define BEGIN_ITERATE_OVER_SERVER_LISTS_NEW(el, masters, slaves) \ { \ /* need to cast, as masters of slaves could be const. We use external llist_position, so this is safe */ \ DBG_INF_FMT("master(%p) has %d, slave(%p) has %d", \ (masters), zend_llist_count((zend_llist *) (masters)), (slaves), zend_llist_count((zend_llist *) (slaves))); \ { \ MYSQLND_MS_LIST_DATA ** el_pp; \ zend_llist * internal_master_list = (masters); \ zend_llist * internal_slave_list = (slaves); \ zend_llist * internal_list = internal_master_list; \ zend_llist_position pos; \ /* search the list of easy handles hanging off the multi-handle */ \ for ((el_pp = (MYSQLND_MS_LIST_DATA **) zend_llist_get_first_ex(internal_list, &pos)) \ || ((internal_list = internal_slave_list) \ && \ (el_pp = (MYSQLND_MS_LIST_DATA **) zend_llist_get_first_ex(internal_list, &pos))) ; \ el_pp && ((el) = *el_pp) && (el)->conn; \ (el_pp = (MYSQLND_MS_LIST_DATA **) zend_llist_get_next_ex(internal_list, &pos)) \ || \ ( \ (internal_list == internal_master_list) \ && \ /* yes, we need an assignment */ \ (internal_list = internal_slave_list) \ && \ (el_pp = (MYSQLND_MS_LIST_DATA **) zend_llist_get_first_ex(internal_slave_list, &pos)) \ ) \ ) \ { \ #define END_ITERATE_OVER_SERVER_LISTS_NEW \ } \ } \ } #define BEGIN_ITERATE_OVER_SERVER_LIST(el, list) \ { \ /* need to cast, as this list could be const. We use external llist_position, so this is safe */ \ DBG_INF_FMT("list(%p) has %d", (list), zend_llist_count((zend_llist *) (list))); \ { \ MYSQLND_MS_LIST_DATA ** MACRO_el_pp;\ zend_llist_position MACRO_pos; \ /* search the list of easy handles hanging off the multi-handle */ \ for (((el) = NULL), MACRO_el_pp = (MYSQLND_MS_LIST_DATA **) zend_llist_get_first_ex((zend_llist *)(list), &MACRO_pos); \ MACRO_el_pp && ((el) = *MACRO_el_pp) && (el)->conn; \ ((el) = NULL), MACRO_el_pp = (MYSQLND_MS_LIST_DATA **) zend_llist_get_next_ex((zend_llist *)(list), &MACRO_pos)) \ { \ #define END_ITERATE_OVER_SERVER_LIST \ } \ } \ } #define MS_TIMEVAL_TO_UINT64(tp) (uint64_t)(tp.tv_sec*1000000 + tp.tv_usec) #define MS_TIME_SET(time_now) \ { \ struct timeval __tp = {0}; \ struct timezone __tz = {0}; \ gettimeofday(&__tp, &__tz); \ (time_now) = MS_TIMEVAL_TO_UINT64(__tp); \ } \ #define MS_TIME_DIFF(run_time) \ { \ uint64_t __now; \ MS_TIME_SET(__now); \ (run_time) = __now - (run_time); \ } \ #define MS_WARN_AND_RETURN_IF_TRX_FORBIDS_FAILOVER(stgy, retval) \ if ((TRUE == (stgy)->in_transaction) && (TRUE == (stgy)->trx_stop_switching)) { \ mysqlnd_ms_client_n_php_error(error_info, CR_UNKNOWN_ERROR, UNKNOWN_SQLSTATE, E_WARNING TSRMLS_CC, \ MYSQLND_MS_ERROR_PREFIX " Automatic failover is not permitted in the middle of a transaction"); \ DBG_INF("In transaction, no switch allowed"); \ DBG_RETURN((retval)); \ } \ #define MS_CHECK_CONN_FOR_TRANSIENT_ERROR(connection, conn_data, transient_error_no) \ if ((connection) && MYSQLND_MS_ERROR_INFO((connection)).error_no) { \ MS_CHECK_FOR_TRANSIENT_ERROR((MYSQLND_MS_ERROR_INFO((connection)).error_no), (conn_data), (transient_error_no)); \ } \ #define MS_CHECK_FOR_TRANSIENT_ERROR(error_no, conn_data, transient_error_no) \ { \ (transient_error_no) = 0; \ if ((conn_data) && (*(conn_data)) && \ (TRANSIENT_ERROR_STRATEGY_ON == (*(conn_data))->stgy.transient_error_strategy)) { \ zend_llist_position pos; \ zend_llist * transient_error_codes = &((*(conn_data))->stgy.transient_error_codes); \ uint * transient_error_code_p; \ for (transient_error_code_p = (uint *)zend_llist_get_first_ex(transient_error_codes, &pos); \ transient_error_code_p; \ transient_error_code_p = (uint *)zend_llist_get_next_ex(transient_error_codes, &pos)) { \ if ((error_no) == *transient_error_code_p) { \ (transient_error_no) = *transient_error_code_p; \ break; \ } \ } \ } \ } \ #define MYSQLND_MS_WARN_OOM() \ php_error_docref(NULL TSRMLS_CC, E_WARNING, MYSQLND_MS_ERROR_PREFIX " Failed to allocate memory. Memory exhausted.") #define MASTER_SWITCH "ms=master" #define SLAVE_SWITCH "ms=slave" #define LAST_USED_SWITCH "ms=last_used" #define ALL_SERVER_SWITCH "ms=all" #define MASTER_NAME "master" #define SLAVE_NAME "slave" #define PICK_RANDOM "random" #define PICK_ONCE "sticky" #define PICK_RROBIN "roundrobin" #define PICK_USER "user" #define PICK_USER_MULTI "user_multi" #define PICK_TABLE "table" #define PICK_QOS "quality_of_service" #define PICK_GROUPS "node_groups" #define LAZY_NAME "lazy_connections" #define FAILOVER_NAME "failover" #define FAILOVER_STRATEGY_NAME "strategy" #define FAILOVER_STRATEGY_DISABLED "disabled" #define FAILOVER_STRATEGY_MASTER "master" #define FAILOVER_STRATEGY_LOOP "loop_before_master" #define FAILOVER_MAX_RETRIES "max_retries" #define FAILOVER_REMEMBER_FAILED "remember_failed" #define MASTER_ON_WRITE_NAME "master_on_write" #define TRX_STICKINESS_NAME "trx_stickiness" #define TRX_STICKINESS_MASTER "master" #define TRX_STICKINESS_ON "on" #define TABLE_RULES "rules" #define SECT_SERVER_CHARSET_NAME "server_charset" #define SECT_HOST_NAME "host" #define SECT_PORT_NAME "port" #define SECT_SOCKET_NAME "socket" #define SECT_USER_NAME "user" #define SECT_PASS_NAME "password" #define SECT_DB_NAME "db" #define SECT_CONNECT_FLAGS_NAME "connect_flags" #define SECT_FILTER_PRIORITY_NAME "priority" #define SECT_FILTER_NAME "filters" #define SECT_USER_CALLBACK "callback" #define SECT_QOS_STRONG "strong_consistency" #define SECT_QOS_SESSION "session_consistency" #define SECT_QOS_EVENTUAL "eventual_consistency" #define SECT_QOS_AGE "age" #define SECT_QOS_CACHE "cache" #define SECT_G_TRX_NAME "global_transaction_id_injection" #define SECT_G_TRX_ON_COMMIT "on_commit" #define SECT_G_TRX_REPORT_ERROR "report_error" #define SECT_G_TRX_FETCH_LAST_GTID "fetch_last_gtid" #define SECT_G_TRX_CHECK_FOR_GTID "check_for_gtid" #define SECT_G_TRX_WAIT_FOR_GTID_TIMEOUT "wait_for_gtid_timeout" #define SECT_LB_WEIGHTS "weights" #define SECT_FABRIC_NAME "fabric" #define SECT_FABRIC_HOSTS "hosts" #define SECT_FABRIC_TIMEOUT "timeout" #define SECT_FABRIC_TRX_BOUNDARY_WARNING "trx_warn_serverlist_changes" #define SECT_XA_NAME "xa" #define SECT_XA_ROLLBACK_ON_CLOSE "rollback_on_close" #define SECT_XA_STATE_STORE "state_store" #define SECT_XA_STORE_MYSQL "mysql" #define SECT_XA_STORE_PARTICIPANT_CRED "record_participant_credentials" #define SECT_XA_STORE_GLOBAL_TRX_TABLE "global_trx_table" #define SECT_XA_STORE_PARTICIPANT_TABLE "participant_table" #define SECT_XA_STORE_GC_TABLE "garbage_collection_table" #define SECT_XA_STORE_PARTICIPANT_LOCALHOST "participant_localhost_ip" #define SECT_XA_GC_NAME "garbage_collection" #define SECT_XA_GC_MAX_RETRIES "max_retries" #define SECT_XA_GC_PROBABILITY "probability" #define SECT_XA_GC_MAX_TRX_PER_RUN "max_transactions_per_run" #define TRANSIENT_ERROR_NAME "transient_error" #define TRANSIENT_ERROR_MAX_RETRIES "max_retries" #define TRANSIENT_ERROR_USLEEP_RETRY "usleep_retry" #define TRANSIENT_ERROR_CODES "mysql_error_codes" typedef enum { STATEMENT_SELECT, STATEMENT_INSERT, STATEMENT_UPDATE, STATEMENT_DELETE, STATEMENT_TRUNCATE, STATEMENT_REPLACE, STATEMENT_RENAME, STATEMENT_ALTER, STATEMENT_DROP, STATEMENT_CREATE } enum_mysql_statement_type; enum enum_which_server { USE_MASTER, USE_SLAVE, USE_LAST_USED, USE_ALL }; enum mysqlnd_ms_server_pick_strategy { SERVER_PICK_RROBIN, SERVER_PICK_RANDOM, SERVER_PICK_USER, SERVER_PICK_USER_MULTI, SERVER_PICK_TABLE, SERVER_PICK_QOS, SERVER_PICK_GROUPS, SERVER_PICK_LAST_ENUM_ENTRY }; /* it should work also without any params, json config to the ctor will be NULL */ #define DEFAULT_PICK_STRATEGY SERVER_PICK_RANDOM enum mysqlnd_ms_server_failover_strategy { SERVER_FAILOVER_DISABLED, SERVER_FAILOVER_MASTER, SERVER_FAILOVER_LOOP }; #define DEFAULT_FAILOVER_STRATEGY SERVER_FAILOVER_DISABLED #define DEFAULT_FAILOVER_MAX_RETRIES 1 #define DEFAULT_FAILOVER_REMEMBER_FAILED 0 enum mysqlnd_ms_trx_stickiness_strategy { TRX_STICKINESS_STRATEGY_DISABLED, TRX_STICKINESS_STRATEGY_MASTER, TRX_STICKINESS_STRATEGY_ON }; #define DEFAULT_TRX_STICKINESS_STRATEGY TRX_STICKINESS_STRATEGY_DISABLED enum mysqlnd_ms_transient_error_strategy { TRANSIENT_ERROR_STRATEGY_DISABLED, TRANSIENT_ERROR_STRATEGY_ON }; #define DEFAULT_TRANSIENT_ERROR_STRATEGY TRANSIENT_ERROR_STRATEGY_DISABLED #define DEFAULT_TRANSIENT_ERROR_MAX_RETRIES 1 #define DEFAULT_TRANSIENT_ERROR_USLEEP_BEFORE_RETRY 100 typedef enum mysqlnd_ms_collected_stats { MS_STAT_USE_SLAVE, MS_STAT_USE_MASTER, MS_STAT_USE_SLAVE_GUESS, MS_STAT_USE_MASTER_GUESS, MS_STAT_USE_SLAVE_FORCED, MS_STAT_USE_MASTER_FORCED, MS_STAT_USE_LAST_USED_FORCED, MS_STAT_USE_SLAVE_CALLBACK, MS_STAT_USE_MASTER_CALLBACK, MS_STAT_NON_LAZY_CONN_SLAVE_SUCCESS, MS_STAT_NON_LAZY_CONN_SLAVE_FAILURE, MS_STAT_NON_LAZY_CONN_MASTER_SUCCESS, MS_STAT_NON_LAZY_CONN_MASTER_FAILURE, MS_STAT_LAZY_CONN_SLAVE_SUCCESS, MS_STAT_LAZY_CONN_SLAVE_FAILURE, MS_STAT_LAZY_CONN_MASTER_SUCCESS, MS_STAT_LAZY_CONN_MASTER_FAILURE, MS_STAT_TRX_AUTOCOMMIT_ON, MS_STAT_TRX_AUTOCOMMIT_OFF, MS_STAT_TRX_MASTER_FORCED, #ifndef MYSQLND_HAS_INJECTION_FEATURE MS_STAT_GTID_AUTOCOMMIT_SUCCESS, MS_STAT_GTID_AUTOCOMMIT_FAILURE, MS_STAT_GTID_COMMIT_SUCCESS, MS_STAT_GTID_COMMIT_FAILURE, MS_STAT_GTID_IMPLICIT_COMMIT_SUCCESS, MS_STAT_GTID_IMPLICIT_COMMIT_FAILURE, #endif MS_STAT_TRANSIENT_ERROR_RETRIES, MS_STAT_FABRIC_SHARDING_LOOKUP_SERVERS_SUCCESS, MS_STAT_FABRIC_SHARDING_LOOKUP_SERVERS_FAILURE, MS_STAT_FABRIC_SHARDING_LOOKUP_SERVERS_TIME_TOTAL, MS_STAT_FABRIC_SHARDING_LOOKUP_SERVERS_BYTES_TOTAL, MS_STAT_FABRIC_SHARDING_LOOKUP_SERVERS_XML_FAILURE, MS_STAT_XA_BEGIN, MS_STAT_XA_COMMIT_SUCCESS, MS_STAT_XA_COMMIT_FAILURE, MS_STAT_XA_ROLLBACK_SUCCESS, MS_STAT_XA_ROLLBACK_FAILURE, MS_STAT_XA_PARTICIPANTS, MS_STAT_XA_ROLLBACK_ON_CLOSE, MS_STAT_POOL_MASTERS_TOTAL, MS_STAT_POOL_SLAVES_TOTAL, MS_STAT_POOL_MASTERS_ACTIVE, MS_STAT_POOL_SLAVES_ACTIVE, MS_STAT_POOL_UPDATES, MS_STAT_POOL_MASTER_REACTIVATED, MS_STAT_POOL_SLAVE_REACTIVATED, MS_STAT_LAST /* Should be always the last */ } enum_mysqlnd_ms_collected_stats; #define MYSQLND_MS_INC_STATISTIC(stat) MYSQLND_INC_STATISTIC(MYSQLND_MS_G(collect_statistics), mysqlnd_ms_stats, (stat)) #define MYSQLND_MS_INC_STATISTIC_W_VALUE(stat, value) MYSQLND_INC_STATISTIC_W_VALUE(MYSQLND_MS_G(collect_statistics), mysqlnd_ms_stats, (stat), (value)) #define MYSQLND_MS_TIMEVAL_TO_UINT64(tp) (uint64_t)(tp.tv_sec*1000000 + tp.tv_usec) #define MYSQLND_MS_STATS_TIME_SET(time_now) \ if (MYSQLND_MS_G(collect_statistics) == FALSE) { \ (time_now) = 0; \ } else { \ struct timeval __tp = {0}; \ struct timezone __tz = {0}; \ gettimeofday(&__tp, &__tz); \ (time_now) = MYSQLND_MS_TIMEVAL_TO_UINT64(__tp); \ } \ #define MYSQLND_MS_STATS_TIME_DIFF(run_time) \ { \ uint64_t now; \ MYSQLND_MS_STATS_TIME_SET(now); \ (run_time) = now - (run_time); \ } typedef struct st_mysqlnd_ms_list_data { /* hash_key should be the only case where we break * encapsulation between core and pool */ smart_string pool_hash_key; char * name_from_config; MYSQLND_CONN_DATA * conn; char * host; char * user; char * passwd; size_t passwd_len; unsigned int port; char * socket; char * db; size_t db_len; unsigned long connect_flags; char * emulated_scheme; size_t emulated_scheme_len; zend_bool persistent; } MYSQLND_MS_LIST_DATA; typedef struct st_mysqlnd_ms_filter_data { void (*filter_dtor)(struct st_mysqlnd_ms_filter_data * TSRMLS_DC); void (*filter_conn_pool_replaced)(struct st_mysqlnd_ms_filter_data *, zend_llist * master_connections, zend_llist * slave_connections, MYSQLND_ERROR_INFO * error_info, zend_bool persistent TSRMLS_DC); char * name; size_t name_len; enum mysqlnd_ms_server_pick_strategy pick_type; zend_bool multi_filter; zend_bool persistent; } MYSQLND_MS_FILTER_DATA; typedef struct st_mysqlnd_ms_filter_user_data { MYSQLND_MS_FILTER_DATA parent; zval * user_callback; zend_bool callback_valid; } MYSQLND_MS_FILTER_USER_DATA; typedef struct st_mysqlnd_ms_filter_table_data { MYSQLND_MS_FILTER_DATA parent; HashTable master_rules; HashTable slave_rules; } MYSQLND_MS_FILTER_TABLE_DATA; typedef struct st_mysqlnd_ms_filter_rr_data { MYSQLND_MS_FILTER_DATA parent; HashTable master_context; HashTable slave_context; HashTable lb_weight; } MYSQLND_MS_FILTER_RR_DATA; typedef struct st_mysqlnd_ms_filter_rr_context { unsigned int pos; zend_llist weight_list; } MYSQLND_MS_FILTER_RR_CONTEXT; typedef struct st_mysqlnd_ms_filter_lb_weight { unsigned int weight; unsigned int current_weight; zend_bool persistent; } MYSQLND_MS_FILTER_LB_WEIGHT; typedef struct st_mysqlnd_ms_filter_lb_weight_in_context { MYSQLND_MS_FILTER_LB_WEIGHT * lb_weight; MYSQLND_MS_LIST_DATA * element; } MYSQLND_MS_FILTER_LB_WEIGHT_IN_CONTEXT; typedef struct st_mysqlnd_ms_filter_random_lb_context { zend_llist sort_list; unsigned int total_weight; } MYSQLND_MS_FILTER_RANDOM_LB_CONTEXT; typedef struct st_mysqlnd_ms_filter_random_data { MYSQLND_MS_FILTER_DATA parent; struct { HashTable master_context; HashTable slave_context; zend_bool once; } sticky; HashTable lb_weight; struct { HashTable master_context; HashTable slave_context; } weight_context; } MYSQLND_MS_FILTER_RANDOM_DATA; enum mysqlnd_ms_filter_qos_consistency { CONSISTENCY_STRONG, CONSISTENCY_SESSION, CONSISTENCY_EVENTUAL, CONSISTENCY_LAST_ENUM_ENTRY }; enum mysqlnd_ms_filter_qos_option { QOS_OPTION_NONE, QOS_OPTION_GTID, QOS_OPTION_AGE, QOS_OPTION_CACHE, QOS_OPTION_LAST_ENUM_ENTRY }; /* using struct because we will likely add cache ttl later */ typedef struct st_mysqlnd_ms_filter_qos_option_data { char * gtid; size_t gtid_len; long age; uint ttl; } MYSQLND_MS_FILTER_QOS_OPTION_DATA; typedef struct st_mysqlnd_ms_filter_qos_data { MYSQLND_MS_FILTER_DATA parent; enum mysqlnd_ms_filter_qos_consistency consistency; enum mysqlnd_ms_filter_qos_option option; MYSQLND_MS_FILTER_QOS_OPTION_DATA option_data; } MYSQLND_MS_FILTER_QOS_DATA; typedef struct st_mysqlnd_ms_filter_groups_data { MYSQLND_MS_FILTER_DATA parent; HashTable groups; } MYSQLND_MS_FILTER_GROUPS_DATA; typedef struct st_mysqlnd_ms_filter_groups_data_group { HashTable master_context; HashTable slave_context; } MYSQLND_MS_FILTER_GROUPS_DATA_GROUP; /* XA transaction tracking */ enum mysqlnd_ms_xa_state { XA_NON_EXISTING, /* initial state: not started */ XA_ACTIVE, /* XA begin */ XA_IDLE, /* XA end */ XA_PREPARED, /* XA prepare */ XA_COMMIT, /* XA commit */ XA_ROLLBACK /* XA rollback */ }; /* Participant in the current XA trx */ typedef struct st_mysqlnd_ms_xa_participant { zend_bool persistent; MYSQLND_CONN_DATA * conn; enum mysqlnd_ms_xa_state state; int id; } MYSQLND_MS_XA_PARTICIPANT_LIST_DATA; struct st_mysqlnd_ms_config_json_entry; typedef struct st_mysqlnd_xa_id { char * store_id; unsigned int gtrid; unsigned int format_id; } MYSQLND_MS_XA_ID; typedef struct st_mysqlnd_ms_xa_trx_state_store { char * name; void * data; /* Parse JSON config */ void (*load_config)(struct st_mysqlnd_ms_config_json_entry * section, void * data, MYSQLND_ERROR_INFO * error_info, zend_bool persistent TSRMLS_DC); /* mysqlnd_ms_xa_begin() call, expand xa_id by store record id/pk */ enum_func_status (*begin)(void * data, MYSQLND_ERROR_INFO * error_info, MYSQLND_MS_XA_ID * xa_id, unsigned int timeout TSRMLS_DC); /* Switch global/monitor state */ enum_func_status (*monitor_change_state)(void * data, MYSQLND_ERROR_INFO * error_info, MYSQLND_MS_XA_ID * xa_id, enum mysqlnd_ms_xa_state to, enum mysqlnd_ms_xa_state intend TSRMLS_DC); /* Record failure on global level. Called to inform the store of our intend (should be rollback or commit). Any failure is reported, including a failure to switch RMs/servers to XA END in which case - likely - no follow up action is required. Getting notified of a failure does not always mean that GC can be applied. */ enum_func_status (*monitor_failure)(void * data, MYSQLND_ERROR_INFO * error_info, MYSQLND_MS_XA_ID * xa_id, enum mysqlnd_ms_xa_state intend TSRMLS_DC); /* Mark a global transaction for garbage collection: either its finished or it failed (and we gave up) */ enum_func_status (*monitor_finish)(void * data, MYSQLND_ERROR_INFO * error_info, MYSQLND_MS_XA_ID * xa_id, zend_bool failure TSRMLS_DC); /* Add participant to previously started XA trx */ enum_func_status (*add_participant)(void * data, MYSQLND_ERROR_INFO * error_info, MYSQLND_MS_XA_ID * xa_id, const MYSQLND_MS_XA_PARTICIPANT_LIST_DATA * const participant, zend_bool record_cred, const char * localhost_ip TSRMLS_DC); /* Switch participant state */ enum_func_status (*participant_change_state)(void * data, MYSQLND_ERROR_INFO * error_info, MYSQLND_MS_XA_ID * xa_id, const MYSQLND_MS_XA_PARTICIPANT_LIST_DATA * const participant, enum mysqlnd_ms_xa_state from, enum mysqlnd_ms_xa_state to TSRMLS_DC); /* Record participant failure, called if core experiences an issue with participant */ enum_func_status (*participant_failure)(void * data, MYSQLND_ERROR_INFO *error_info, MYSQLND_MS_XA_ID * xa_id, const MYSQLND_MS_XA_PARTICIPANT_LIST_DATA * const participant, const MYSQLND_ERROR_INFO * const participant_error_info TSRMLS_DC); /* GC for one specific trx */ enum_func_status (*garbage_collect_one)(void * data, MYSQLND_ERROR_INFO *error_info, MYSQLND_MS_XA_ID * xa_id, unsigned int gc_max_retries TSRMLS_DC); /* GC anything you can find... */ enum_func_status (*garbage_collect_all)(void * data, MYSQLND_ERROR_INFO *error_info, unsigned int gc_max_retries, unsigned int gc_max_trx_per_run TSRMLS_DC); /* Destructor */ void (*dtor)(void ** data, zend_bool persistent TSRMLS_DC); void (*dtor_conn_close)(void ** data, zend_bool persistent TSRMLS_DC); } MYSQLND_MS_XA_STATE_STORE; /* GC details, stored in a global variables hash table */ typedef struct st_mysqlnd_ms_xa_gc { unsigned int gc_max_retries; unsigned int gc_probability; unsigned int gc_max_trx_per_run; zend_bool added_to_module_globals; MYSQLND_MS_XA_STATE_STORE store; } MYSQLND_MS_XA_GC; /* Main XA struct for proxy connection */ typedef struct st_mysqlnd_ms_xa_trx { /* Plugin section name */ char * host; size_t host_len; zend_bool on; zend_bool in_transaction; zend_bool rollback_on_close; enum mysqlnd_ms_xa_state finish_transaction_intend; MYSQLND_MS_XA_GC * gc; MYSQLND_MS_XA_ID id; unsigned int timeout; zend_llist participants; char * participant_localhost_ip; zend_bool record_participant_cred; enum mysqlnd_ms_xa_state state; } MYSQLND_MS_XA_TRX; /* NOTE: Some elements are available with every connection, some are set for the global/proxy connection only. The global/proxy connection is the handle provided by the user. The other connections are the "hidden" ones that MS openes to the cluster nodes. */ typedef struct st_mysqlnd_ms_conn_data { zend_bool initialized; zend_bool skip_ms_calls; MYSQLND_CONN_DATA * proxy_conn; char * connect_host; struct st_mysqlnd_pool * pool; const MYSQLND_CHARSET * server_charset; /* Global LB strategy set on proxy conn */ struct mysqlnd_ms_lb_strategies { HashTable table_filters; enum mysqlnd_ms_server_failover_strategy failover_strategy; uint failover_max_retries; zend_bool failover_remember_failed; HashTable failed_hosts; zend_bool mysqlnd_ms_flag_master_on_write; zend_bool master_used; /* note: some flags may not be used, however saves us a ton of ifdef to declare them anyway */ enum mysqlnd_ms_trx_stickiness_strategy trx_stickiness_strategy; zend_bool trx_stop_switching; zend_bool trx_read_only; zend_bool trx_autocommit_off; /* buffered tx_begin call */ zend_bool trx_begin_required; unsigned int trx_begin_mode; char * trx_begin_name; zend_bool in_transaction; zend_bool in_xa_transaction; MYSQLND_CONN_DATA * last_used_conn; zend_llist * filters; enum mysqlnd_ms_transient_error_strategy transient_error_strategy; uint transient_error_max_retries; long transient_error_usleep_before_retry; /* list of uint */ zend_llist transient_error_codes; } stgy; struct st_mysqlnd_ms_conn_credentials { char * user; char * passwd; size_t passwd_len; char * db; size_t db_len; unsigned int port; char * socket; unsigned long mysql_flags; } cred; #ifndef MYSQLND_HAS_INJECTION_FEATURE /* per connection trx context set on proxy conn and all others */ struct st_mysqlnd_ms_global_trx_injection { char * on_commit; size_t on_commit_len; char * fetch_last_gtid; size_t fetch_last_gtid_len; char * check_for_gtid; size_t check_for_gtid_len; unsigned int wait_for_gtid_timeout; /* TODO: This seems to be the only per-connection value. We may want to split up the structure into a global and local part. is_master needs to be local/per-connection. The rest could probably be global, like with stgy and LB weigth. */ zend_bool is_master; zend_bool report_error; } global_trx; #endif #ifdef A0 mysqlnd_fabric *fabric; #endif #ifdef A0 /* TODO XA: proxy connection only */ MYSQLND_MS_XA_TRX *xa_trx; #endif } MYSQLND_MS_CONN_DATA; typedef struct st_mysqlnd_ms_table_filter { char * host_id; size_t host_id_len; char * wild; size_t wild_len; #ifdef WE_NEED_NEXT struct st_mysqlnd_ms_table_filter * next; #endif unsigned int priority; zend_bool persistent; } MYSQLND_MS_TABLE_FILTER; typedef struct st_mysqlnd_ms_command { enum php_mysqlnd_server_command command; zend_uchar * payload; size_t payload_len; enum mysqlnd_packet_type ok_packet; zend_bool silent; zend_bool ignore_upsert_status; zend_bool persistent; } MYSQLND_MS_COMMAND; #endif /* MYSQLND_MS_ENUM_N_DEF_H */ /* * Local variables: * tab-width: 4 * c-basic-offset: 4 * End: * vim600: noet sw=4 ts=4 fdm=marker * vim<600: noet sw=4 ts=4 */
/* AbstractJarAgent is base class for java agents used in AttachOnDemand tests (tests against Attach API, API from package com.sun.tools.attach). In all AttachOnDemand tests the same algorithm is used: - java application where agent is loaded to (target application) based on class nsk.share.aod.TargetApplicationWaitingAgents starts and waits when test agents will be loaded - special application (nsk.share.jvmti.aod.AgentsAttacher) loads test agents in the target application using Attach API - when agent is loaded it notifies target application about that and executes test-specific actions. When agent execution is completed it also notifies target application about that - when all test agents finish execution target application checks its status (passed or failed) and also finishes Each java agent should have method 'agentmain' where only agent initialization should be done, main agent's actions should be executed in special thread started from 'agentmain'. Class AbstractJarAgent incapsulates actions common for all java agents: agent initialization, starting thread executing agent's actions and communication with target application. In most cases test agents should override only method 'agentActions' and its 'agentmain' should contain only call of the method 'AbstractJarAgent.runJarAgent'. Typical agent class looks like this: public class agentExample extends AbstractJarAgent { protected void init(String[] args) { // parse agent's options and do test-specific initialization } protected void agentActions() { // do test specific actions } public static void agentmain(final String options, Instrumentation inst) { new agentExample().runJarAgent(options, inst); } } */ abstract public class AbstractJarAgent { private boolean finishedSuccessfully = true; private Log log; protected void display(String message) { log.display(outputPrefix + message); } protected void complain(String message) { log.complain(outputPrefix + message); } protected void logThrowable(Throwable t) { t.printStackTrace(log.getOutStream()); } /* * Instrumentation object passed to the 'agentmain' method */ protected Instrumentation inst; private String name; private String outputPrefix; private String pathToNewByteCode; protected String pathToNewByteCode() { return pathToNewByteCode; } /* * Subclasses should report about test failures using this method */ protected void setStatusFailed(String errorMessage) { finishedSuccessfully = false; complain("ERROR: " + errorMessage); } /* * Initialization method, called from agentmain before method agentActions is called * (it introduced for overriding in subclasses) */ protected void init(String[] args) { } protected static class AgentOption { public String name; public String value; public AgentOption(String name, String value) { this.name = name; this.value = value; } } protected AgentOption parseAgentArgument(String arg) { int index = arg.indexOf('='); if (index <= 0) { throw new TestBug("Invalid agent parameters format"); } return new AgentOption(arg.substring(0, index), arg.substring(index + 1)); } static protected final String agentNameOption = "-agentName"; static protected final String pathToNewByteCodeOption = "-pathToNewByteCode"; /* * Parse agent's options, initialize common parameters */ private void defaultInit(String[] args) { for (int i = 0; i < args.length; i++) { AgentOption option = parseAgentArgument(args[i]); if (option.name.equals(agentNameOption)) { name = option.value; outputPrefix = name + ": "; } else if (option.name.equals(pathToNewByteCodeOption)) { pathToNewByteCode = option.value; } } if (name == null) throw new TestBug("Agent name wasn't specified"); log = new Log(System.out, true); } /* * Special thread which is started from agentmain method and executing main * agent's actions. When agent completes execution AgentThread notifies * target application about that. */ class AgentThread extends Thread { AgentThread() { super("Jar agent thread (agent: " + name + ")"); } public void run() { try { agentActions(); } catch (Throwable t) { setStatusFailed("Unexpected exception in the JarAgent: " + t); logThrowable(t); } finally { TargetApplicationWaitingAgents.agentFinished(name, finishedSuccessfully); } } } /* * This methods parses agent's options, initializes agent, notifies target application * that agent is started and starts thread executing main agent's actions. * Agents used in AttachOnDemand tests should call this method from its agentmain methods. */ public final void runJarAgent(String options, Instrumentation inst) { if (options == null) throw new TestBug("Agent options weren't specified"); this.inst = inst; String[] args = options.split(" "); // initialize common parameters defaultInit(args); // test-specific initialization init(args); // notify target application that agent was loaded and initialized TargetApplicationWaitingAgents.agentLoaded(name); // start special thread executing test-specific actions new AgentThread().start(); } /* * Actions specific for test should be realized in this method. * This method is called from special thread started from agentmain method * after agent initialization */ abstract protected void agentActions() throws Throwable; /* * Create ClassDefinition object for given class, path to the new class file * is specified in the parameter 'pathToByteCode' */ protected static ClassDefinition createClassDefinition(Class<?> klass, String pathToByteCode) throws IOException { File classFile = new File(pathToByteCode + File.separator + klass.getName().replace(".", File.separator) + ".class"); if (classFile.length() > Integer.MAX_VALUE) throw new Failure("Class file '" + classFile.getName() + " 'too large"); byte data[] = new byte[(int)classFile.length()]; DataInputStream in = null; try { in = new DataInputStream(new FileInputStream(classFile)); in.readFully(data); } finally { if (in != null) in.close(); } return new ClassDefinition(klass, data); } /* * Redefine given class using path to byte code specified with options -pathToNewByteCode */ protected void redefineClass(Class<?> klass) throws Throwable { if (pathToNewByteCode() == null) throw new TestBug("Path to new class files wasn't specified"); ClassDefinition newClassDef = createClassDefinition(klass, pathToNewByteCode()); inst.redefineClasses(newClassDef); } }
#!/usr/bin/env runhaskell {- http://programmingpraxis.com/2016/01/22/entropy/ Shannon entropy is computed as H = -1 * sum(pi * log2(pi)) where pi is the frequency of each symbol i in the input -} module Entropy where import Data.List (group,sort) main :: IO () main = interact ((++"\n") . show . measureEntropy . concat . lines) measureEntropy :: String -> Float measureEntropy = ((-1) *) . sum . map val . map snd . frequencies where val f = f * logBase 2 f frequencies :: String -> [(Char, Float)] frequencies s = map (\l-> (head l, ratio l)) (group (sort s)) where ratio substring = fromIntegral (length substring) / fromIntegral (length s)
from os.path import dirname, join from cx_Freeze import Executable, setup from setuptools import find_packages, setup import usonic NAME = 'usonic' URL = 'https://github.com/Kneshal/project_usonic.git' DESCRIPTION = 'A package to calculate ultrasonic parametres' LICENCE = 'MIT' AUTHOR = '<NAME>' EMAIL = '<EMAIL>' REQUIREMENTS = ['configobj>=5', 'matplotlib>=3', 'numpy==1.19.3', 'psycopg2>=2', 'PyQt5>=5', 'pyserial>=3'] REQUIRES_PYTHON = '==3.7.0' executables = [Executable('main.py', targetName='usonic.exe', base='Win32GUI', icon='log.ico')] includes = REQUIREMENTS zip_include_packages = REQUIREMENTS include_files = ['Database.py', 'COMPortThread.py', 'PlotTab.py', 'PostgreSQL.py', 'Record.py', 'design_database.py', 'design_main.py', 'design_settings.py'] options = { 'build_exe': { 'include_msvcr': True, 'includes': includes, 'zip_include_packages': zip_include_packages, 'build_exe': 'build_windows', 'include_files': include_files, } } setup( name=NAME, version='1.0.0', executables=executables, options=options, # url=URL, description=DESCRIPTION, # license=LICENCE, # author=AUTHOR, # author_email=EMAIL, #packages=find_packages(), # setup_requires=REQUIREMENTS, # python_requires=REQUIRES_PYTHON, # long_description=open(join(dirname(__file__), 'README.md')).read(), # classifiers=['License :: OSI Approved :: MIT License', # 'Programming Language :: Python :: 3.7', ], # include_package_data=True, )
def add_client(self, client): self.driver.get(self.url) self.wait_until_visible(type=By.ID, element=clients_table_vm.ADD_CLIENT_BTN_ID).click() self.log('Select {0} from "CLIENT CLASS" dropdown'.format(client['class'])) member_class = Select( self.wait_until_visible(type=By.ID, element=popups.ADD_CLIENT_POPUP_MEMBER_CLASS_DROPDOWN_ID)) member_class.select_by_visible_text(client['class']) self.log('Insert {0} into "CLIENT CODE" area'.format(client['code'])) member_code = self.wait_until_visible(type=By.ID, element=popups.ADD_CLIENT_POPUP_MEMBER_CODE_AREA_ID) self.input(member_code, client['code']) self.log('Insert {0} into "SUBSYSTEM CODE" area'.format(client['subsystem_code'])) member_sub_code = self.wait_until_visible(type=By.ID, element=popups.ADD_CLIENT_POPUP_SUBSYSTEM_CODE_AREA_ID) self.input(member_sub_code, client['subsystem_code']) self.log('Click "OK" to add client') self.wait_until_visible(type=By.XPATH, element=popups.ADD_CLIENT_POPUP_OK_BTN_XPATH).click() self.wait_jquery() try: self.log('Confirming warning') if self.wait_until_visible(type=By.XPATH, element=popups.WARNING_POPUP): self.wait_until_visible(type=By.XPATH, element=popups.WARNING_POPUP_CONTINUE_XPATH).click() except: self.log('No warning') self.wait_jquery() time.sleep(2) popups.confirm_dialog_click(self)
// The feature should not be enabled if the origin is insecure, even if a valid // token for the origin is provided TEST_F(OriginTrialContextTest, EnabledNonSecureRegisteredOrigin) { TokenValidator()->SetResponse(WebOriginTrialTokenStatus::kSuccess, kFrobulateTrialName); bool is_origin_enabled = IsTrialEnabled(kFrobulateEnabledOriginUnsecure, kFrobulateTrialName); EXPECT_FALSE(is_origin_enabled); EXPECT_EQ(0, TokenValidator()->CallCount()); ExpectStatusUniqueMetric(WebOriginTrialTokenStatus::kInsecure, 1); }
//go:generate goyacc -o annotations.y.go -p annotations annotations.y func init() { annotationsErrorVerbose = true setTokenName(_STRING_LIT, "string literal") setTokenName(_RAW_STRING_LIT, "raw string literal") setTokenName(_IDENT, "identifier") setTokenName(_RUNE_LIT, "rune literal") setTokenName(_INT_LIT, "int literal") setTokenName(_FLOAT_LIT, "float literal") setTokenName(_IMAG_LIT, "imaginary literal") setTokenName(_EOL, "end-of-line") setTokenName(_NIL, `"nil"`) setTokenName(_TRUE, `"true"`) setTokenName(_FALSE, `"false"`) setTokenName(_REAL, `"real"`) setTokenName(_IMAG, `"imag"`) setTokenName(_COMPLEX, `"complex"`) setTokenName(_NAN, `"nan"`) setTokenName(_INF, `"inf"`) setTokenName(_MAP, `"map"`) setTokenName(_STRUCT, `"struct"`) setTokenName(_INTERFACE, `"interface"`) setTokenName(_SHR, `">>"`) setTokenName(_SHL, `"<<"`) setTokenName(_AND_NOT, `"&^"`) setTokenName(_AND, `"&&"`) setTokenName(_OR, `"||"`) setTokenName(_EQ, `"=="`) setTokenName(_NEQ, `"!="`) setTokenName(_GTE, `">="`) setTokenName(_LTE, `"<="`) }
/* ************************************************************************** */ /* */ /* :::::::: */ /* make_width_base.c :+: :+: */ /* +:+ */ /* By: mvan-eng <<EMAIL>> +#+ */ /* +#+ */ /* Created: 2019/09/13 11:00:28 by mvan-eng #+# #+# */ /* Updated: 2020/05/22 14:17:26 by merlijn ######## odam.nl */ /* */ /* ************************************************************************** */ #include "../includes/ft_printf.h" static char *place_prepos_mid(t_print *print, int rest, char *str, char *t) { char *temp; int len; len = ft_strlen(str); temp = t; if (print->flags[3] == 1) t = ft_strncpy(&t[rest], str, len); else t = ft_strncpy(&t[print->width - len], str, len); if (print->value != 0) { if (rest == 1) temp[print->width - len - 1] = '0'; else ft_strncpy(&temp[print->width - len - 2], "0x", 2); } return (temp); } static char *place_prepos(t_print *print, int rest, char *str, char *t) { int len; len = ft_strlen(str); if (print->flags[3] == 1) { ft_strncpy(&t[rest], str, len); if (rest == 1) t[0] = '0'; else ft_strncpy(t, "0x", 2); } else t = place_prepos_mid(print, rest, str, t); return (t); } static char *make_width_hash(t_print *print, int rest, char *str) { char *t; int len; char *temp; len = ft_strlen(str); t = ft_strnew(print->width); temp = t; ft_memset((void *)t, ' ', print->width); if (print->flags[1] == 1 && print->flags[3] != 1) ft_memset((void *)t, '0', print->width); if (print->flags[0] && print->flags[1] && rest == 2 && !print->flags[3]) { ft_strncpy(&t[print->width - len], str, len); ft_strncpy(t, "0x", 2); } else place_prepos(print, rest, str, temp); ft_strdel(&str); return (temp); } static char *make_width_norm(t_print *print, char *str) { char *t; char *temp; int len; len = ft_strlen(str); t = ft_strnew(print->width); temp = t; ft_memset((void *)t, ' ', print->width); if (print->flags[1] == 1 && print->flags[3] != 1) ft_memset((void *)t, '0', print->width); if (print->flags[3] == 1) t = ft_strncpy(t, str, len); else t = ft_strncpy(&t[print->width - len], str, len); ft_strdel(&str); return (temp); } char *make_width_base(t_print *print, int base, char *str) { int rest; int len; len = (int)ft_strlen(str); rest = 0; if (print->flags[0] == 1) rest = base / 8; if (print->flags[0] == 1 && print->width - rest > len) str = make_width_hash(print, rest, str); else str = make_width_norm(print, str); if (print->value == 0 && print->prec == 0) ft_memset(str, ' ', print->width); return (str); }
def check_existing_account(account_username): return Credentials.account_exist(account_username)
def er_partially_interconnected(nodes,ps,couplings=('categorical',1.0)): assert len(nodes)==len(ps) net=MultiplexNetwork(couplings=[couplings],fullyInterconnected=False) for layer,lnodes in enumerate(nodes): net.add_layer(layer) single_layer_er(net.A[layer],lnodes,ps[layer]) return net
Here is to alcohol: the cause of, and answer to, all of life’s problems- Mike Groening The Nitish Kumar government banned alcohol in Bihar after coming to power. They promised this before they were voted in. They also promised to put all adult members of a household in jail if a bottle of liquor was found in their house. Calling this a draconian law is probably an understatement. Calling this a cheap trick to attract voters by the Nitish Kumar led government is also an understatement. The fact of the matter is that when you tell people how to live your life you are inviting trouble. The JDU decided to impose this law because they felt that the downtrodden were losing their opportunities and engaging in domestic violence regularly. They also felt that Bihar was underdeveloped in phases and parts and that is because of the evils of alcohol. Dear JDU, Bihar is not the only state that has rampant crimes related to the vices of alcohol. It is not the only state that is inflicted with domestic violence and low productivity. Literacy rates from across the country place Bihar at the bottom with Dadar & Haveli and Daman and Diu having a better standing. What the current government did was not only wrong but also digressive of the real issue – Education. States where literacy rates were high reported lesser crimes related to alcohol. Educating people was probably tougher for the current establishment of Bihar and that is why they adopted the callous attitude of deciding for themselves as to what people should adhere to socially. This not only invited black marketing & bootlegging, it promoted corrupt babugiri. The Patna high court has struck down this order and re-established faith in the judiciary as a protector of human rights and more so of the rights of people who can choose for themselves as to which vices they adopt.
// SetObjectId sets identifier of the object. func (m *Object) SetObjectId(v *refs.ObjectID) { if m != nil { m.ObjectId = v } }
04 6 v 3 2 0 Ju n 20 06 New models for a triaxial Milky Way Spheroid and effect on the microlensing optical depth to the Large Magellanic Cloud We obtain models for a triaxial Milky Way spheroid based on data by Newberg and Yanny. The best fits to the data occur for a spheroid center that is shifted by 3kpc from the Galactic Center. We investigate effects of the triaxiality on the microlensing optical depth to the Large Magellanic Cloud (LMC). The optical depth can be used to ascertain the number of Massive Compact Halo Objects (MACHOs); a larger spheroid contribution would imply fewer Halo MACHOs. On the one hand, the triaxiality gives rise to more spheroid mass along the line of sight between us and the LMC and thus a larger optical depth. However, shifting the spheroid center leads to an effect that goes in the other direction: the best fit to the spheroid center is away from the line of sight to the LMC. As a consequence, these two effects tend to cancel so that the change in optical depth due to the Newberg/Yanny triaxial halo is at most 50%. After subtracting the spheroid contribution in the four models we consider, the MACHO contribution (central value) to the mass of the Galactic Halo varies from ∼ (8− 20)% if all excess lensing events observed by the MACHO collaboration are assumed to be due to MACHOs. Here the maximum is due to the original MACHO collaboration results and the minimum is consistent with 0% at the 1σ error level in the data. Submitted to: Journal of Cosmology and Astroparticle Physics Optical depth to the LMC for a triaxial Milky Way Spheroid 2
// Get the status of all migration scripts func Get(DBFunc func() *sql.DB, dir string) ([]MigrationStatus, error) { source := migrate.FileMigrationSource{ Dir: dir, } migrations, err := source.FindMigrations() if err != nil { return nil, err } records, err := migrate.GetMigrationRecords(DBFunc(), "postgres") if err != nil { return nil, err } rows := make(map[string]MigrationStatus) for _, m := range migrations { rows[m.Id] = MigrationStatus{ ID: m.Id, Migrated: false, } } for _, r := range records { if _, ok := rows[r.Id]; !ok { return nil, fmt.Errorf("record '%s' not in migration list, manual migration needed", r.Id) } s := rows[r.Id] s.Migrated = true s.AppliedAt = r.AppliedAt rows[r.Id] = s } res := make([]MigrationStatus, len(rows)) var i int for _, r := range rows { res[i] = r i++ } sort.Slice(res, func(i, j int) bool { return res[i].ID < res[j].ID }) return res, nil }
<reponame>Jackzmc/zeko-v3 import { Client } from "discord.js"; import Logger from '../../Logger.js' import { EventConfig } from '../../types/Event'; import Core from "../Core.js"; /** @module core:types/CoreEvent @desc The CoreEvent class, core events inherit */ export default class { protected client: Client; protected logger: Logger; protected core: Core constructor(client: Client, logger: Logger) { this.client = client; this.logger = logger; this.core = Core.getInstance() } // Called when everything is ready (discord.js ready and zeko core is ready) ready(core?: Core): Promise<any> | any { } onReady(core: Core) { this.core = Core.getInstance() return this.ready(core) } config?(): Promise<Partial<EventConfig>> | Partial<EventConfig> | null; /** * Is fired when an event is sent. * * @param {...*} any Any discord.js event properties */ every(...args: any[]) : Promise<boolean> | boolean { return true } /** * Is fired when an event is sent. * * @param {...*} any Any discord.js event properties */ once(...args: any[]) : void{ } exit?(waitable?: boolean): void | Promise<any>; }
/** * Abstract, common implementation for all GitHub tests. * * @author Miroslav Stencel * */ public class GitDvcs implements Dvcs { /** * Map between test repository URI and local directory of this repository. */ private Map<String, Git> uriToLocalRepository = new HashMap<String, Git>(); /** * @param repositoryUri * e.g.: owner/name * @return local repository for provided repository uri */ protected Git getLocalRepository(String repositoryUri) { return uriToLocalRepository.get(repositoryUri); } /** * Clones repository, which is defined by provided repository URI. Clone URL will be obtained from {@link #uriToRemoteRepository}. * Useful for {@link #fork(String)} repository. * * @param repositoryUri * e.g.: owner/name * @param username * for get access to clone * @param password * for get access to clone */ private void clone(String owner, String repositoryName, String username, String password) { try { CloneCommand cloneCommand = Git.cloneRepository(); cloneCommand.setCredentialsProvider(new UsernamePasswordCredentialsProvider(username, password)); cloneCommand.setURI(generateCloneUrl(owner, repositoryName)); cloneCommand.setDirectory(getLocalRepository(getUriKey(owner, repositoryName)).getRepository().getDirectory().getParentFile()); cloneCommand.call(); } catch (InvalidRemoteException e) { throw new RuntimeException(e); } catch (TransportException e) { throw new RuntimeException(e); } catch (GitAPIException e) { throw new RuntimeException(e); } } /* (non-Javadoc) * @see it.restart.com.atlassian.jira.plugins.dvcs.testClient.Dvcs#createBranch(java.lang.String, java.lang.String, java.lang.String) */ @Override public void createBranch(String owner, String repositoryName, String branchName) { try { String repositoryUri = getUriKey(owner, repositoryName); CreateBranchCommand createBranchCommand = getLocalRepository(repositoryUri).branchCreate(); createBranchCommand.setName(branchName); createBranchCommand.call(); checkout(repositoryUri, branchName); } catch (RefAlreadyExistsException e) { throw new RuntimeException(e); } catch (RefNotFoundException e) { throw new RuntimeException(e); } catch (InvalidRefNameException e) { throw new RuntimeException(e); } catch (GitAPIException e) { throw new RuntimeException(e); } } public void switchBranch(String owner, String repositoryName, String branchName) { String repositoryUri = getUriKey(owner, repositoryName); checkout(repositoryUri, branchName); } /* (non-Javadoc) * @see it.restart.com.atlassian.jira.plugins.dvcs.testClient.Dvcs#addFile(java.lang.String, java.lang.String, java.lang.String, byte[]) */ @Override public void addFile(String owner, String repositoryName, String filePath, byte[] content) { Git git = getLocalRepository(getUriKey(owner, repositoryName)); File targetFile = new File(git.getRepository().getDirectory().getParentFile(), filePath); targetFile.getParentFile().mkdirs(); try { targetFile.createNewFile(); FileOutputStream output = new FileOutputStream(targetFile); output.write(content); output.close(); } catch (IOException e) { throw new RuntimeException(e); } try { AddCommand addCommand = git.add(); addCommand.addFilepattern(filePath); addCommand.call(); } catch (NoFilepatternException e) { throw new RuntimeException(e); } catch (GitAPIException e) { throw new RuntimeException(e); } } /* (non-Javadoc) * @see it.restart.com.atlassian.jira.plugins.dvcs.testClient.Dvcs#commit(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) */ @Override public String commit(String owner, String repositoryName, String message, String authorName, String authorEmail) { try { CommitCommand commitCommand = getLocalRepository(getUriKey(owner, repositoryName)).commit(); commitCommand.setMessage(message); commitCommand.setAuthor(authorName, authorEmail); RevCommit commit = commitCommand.call(); return commit.getId().getName(); } catch (NoHeadException e) { throw new RuntimeException(e); } catch (NoMessageException e) { throw new RuntimeException(e); } catch (UnmergedPathsException e) { throw new RuntimeException(e); } catch (ConcurrentRefUpdateException e) { throw new RuntimeException(e); } catch (WrongRepositoryStateException e) { throw new RuntimeException(e); } catch (GitAPIException e) { throw new RuntimeException(e); } } /* (non-Javadoc) * @see it.restart.com.atlassian.jira.plugins.dvcs.testClient.Dvcs#push(java.lang.String, java.lang.String, java.lang.String, java.lang.String) */ @Override public void push(String owner, String repositoryName, String username, String password) { try { PushCommand pushCommand = getLocalRepository(getUriKey(owner, repositoryName)).push(); pushCommand.setCredentialsProvider(new UsernamePasswordCredentialsProvider(username, password)); pushCommand.call(); } catch (InvalidRemoteException e) { throw new RuntimeException(e); } catch (TransportException e) { throw new RuntimeException(e); } catch (GitAPIException e) { throw new RuntimeException(e); } } /* (non-Javadoc) * @see it.restart.com.atlassian.jira.plugins.dvcs.testClient.Dvcs#push(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean) */ @Override public void push(String owner, String repositoryName, String username, String password, String reference, boolean newBranch) { try { Git localRepository = getLocalRepository(getUriKey(owner, repositoryName)); PushCommand pushCommand = localRepository.push(); pushCommand.setCredentialsProvider(new UsernamePasswordCredentialsProvider(username, password)); pushCommand.setRefSpecs(new RefSpec(localRepository.getRepository().getRef(reference).getName())); pushCommand.call(); } catch (InvalidRemoteException e) { throw new RuntimeException(e); } catch (TransportException e) { throw new RuntimeException(e); } catch (GitAPIException e) { throw new RuntimeException(e); } catch (IOException e) { throw new RuntimeException(e); } } /* (non-Javadoc) * @see it.restart.com.atlassian.jira.plugins.dvcs.testClient.Dvcs#push(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) */ @Override public void push(String owner, String repositoryName, String username, String password, String reference) { push(owner, repositoryName, username, password, reference, false); } /* (non-Javadoc) * @see it.restart.com.atlassian.jira.plugins.dvcs.testClient.Dvcs#createTestLocalRepository(java.lang.String, java.lang.String, java.lang.String) */ @Override public void createTestLocalRepository(String owner, String repositoryName, String username, String password) { try { Repository localRepository = new FileRepository(Files.createTempDir() + "/.git"); String repositoryUri = getUriKey(owner, repositoryName); uriToLocalRepository.put(repositoryUri, new Git(localRepository)); clone(owner, repositoryName, username, password); } catch (IOException e) { throw new RuntimeException(e); } } /* (non-Javadoc) * @see it.restart.com.atlassian.jira.plugins.dvcs.testClient.Dvcs#deleteTestRepository(java.lang.String) */ @Override public void deleteTestRepository(String repositoryUri) { Git localRepository = uriToLocalRepository.remove(repositoryUri); if (localRepository != null) { localRepository.getRepository().close(); try { FileUtils.deleteDirectory(localRepository.getRepository().getDirectory().getParentFile()); } catch (IOException e) { throw new RuntimeException(e); } } } @Override public void deleteAllRepositories() { for (Git git : uriToLocalRepository.values()) { final Repository repository = git.getRepository(); repository.close(); try { FileUtils.deleteDirectory(repository.getDirectory()); } catch (IOException e) { throw new RuntimeException(e); } } } private String getUriKey(String owner, String slug) { return owner + "/" + slug; } /** * Checkout on provided repository - git checkout. * * @param repositoryUri * over which repository e.g.: owner/name * @param name * name to checkout e.g.: branch name */ private void checkout(String repositoryUri, String name) { try { CheckoutCommand checkoutCommand = getLocalRepository(repositoryUri).checkout(); checkoutCommand.setName(name); checkoutCommand.call(); } catch (RefAlreadyExistsException e) { throw new RuntimeException(e); } catch (RefNotFoundException e) { throw new RuntimeException(e); } catch (InvalidRefNameException e) { throw new RuntimeException(e); } catch (CheckoutConflictException e) { throw new RuntimeException(e); } catch (GitAPIException e) { throw new RuntimeException(e); } } private String generateCloneUrl(String owner, String repositorySlug) { return String.format("https://%[email protected]/%s/%s.git", owner, owner, repositorySlug); } @Override public String getDvcsType() { return RepositoryRemoteRestpoint.ScmType.GIT; } @Override public String getDefaultBranchName() { return "master"; } }
<reponame>netteydavid/aurora-node import enum class Status(enum.Enum): none = 0 accepted = 1 rejected = 2
// Copyright (c) 2021, JFXcore. All rights reserved. // Use of this source code is governed by the BSD-3-Clause license that can be found in the LICENSE file. package org.jfxcore.compiler.ast.emit; import javafx.beans.value.ObservableValue; import javassist.CtClass; import javassist.bytecode.MethodInfo; import org.jetbrains.annotations.Nullable; import org.jfxcore.compiler.diagnostic.SourceInfo; import org.jfxcore.compiler.ast.AbstractNode; import org.jfxcore.compiler.ast.GeneratorEmitterNode; import org.jfxcore.compiler.ast.ResolvedTypeNode; import org.jfxcore.compiler.ast.Visitor; import org.jfxcore.compiler.ast.expression.path.ResolvedPath; import org.jfxcore.compiler.generate.Generator; import org.jfxcore.compiler.util.Bytecode; import org.jfxcore.compiler.util.Descriptors; import org.jfxcore.compiler.util.Local; import org.jfxcore.compiler.util.ObservableKind; import org.jfxcore.compiler.util.TypeInstance; import java.util.Collections; import java.util.List; import java.util.Objects; /** * Emits bytecodes that resolve a path expression to an observable value at runtime. * The runtime type of this node is an {@link ObservableValue} that can be used as a binding source. * * If no observable value is required, {@link EmitInvariantPathNode} can be used to resolve a path to a value * without the overhead of change notifications. */ public class EmitObservablePathNode extends AbstractNode implements ValueEmitterNode, GeneratorEmitterNode, NullableInfo { private final ResolvedPath path; private final int leadingInvariantSegments; private final boolean useCompiledPath; private final boolean bidirectional; private final transient List<Generator> generators; private final transient String compiledClassName; private ResolvedTypeNode type; private EmitInvariantPathNode invariantPath; public EmitObservablePathNode(ResolvedPath path, boolean bidirectional, SourceInfo sourceInfo) { this(path, bidirectional, null, sourceInfo); this.invariantPath = new EmitInvariantPathNode( path.subPath(0, leadingInvariantSegments).toValueEmitters(sourceInfo), sourceInfo); } private EmitObservablePathNode( ResolvedPath path, boolean bidirectional, @Nullable EmitInvariantPathNode invariantPath, SourceInfo sourceInfo) { super(sourceInfo); this.path = checkNotNull(path); this.leadingInvariantSegments = getLeadingInvariantSegments(path); int trailingSegments = path.size() - leadingInvariantSegments; this.useCompiledPath = trailingSegments > 0 && (trailingSegments > 1 || path.get(leadingInvariantSegments).getObservableKind() == ObservableKind.NONE); this.invariantPath = invariantPath; this.bidirectional = bidirectional; if (this.useCompiledPath) { this.generators = path.fold().toGenerators(); this.compiledClassName = generators.get(0).getClassName(); this.type = new ResolvedTypeNode(generators.get(0).getTypeInstance(), sourceInfo); } else { this.generators = Collections.emptyList(); this.compiledClassName = null; this.type = new ResolvedTypeNode(path.getTypeInstance(), sourceInfo); } } public ResolvedPath getPath() { return path; } @Override public ResolvedTypeNode getType() { return type; } @Override public void acceptChildren(Visitor visitor) { super.acceptChildren(visitor); type = (ResolvedTypeNode)type.accept(visitor); invariantPath = (EmitInvariantPathNode)invariantPath.accept(visitor); } @Override public boolean isNullable() { return !useCompiledPath && invariantPath.isNullable(); } @Override public List<Generator> emitGenerators(BytecodeEmitContext context) { return generators; } @Override public void emit(BytecodeEmitContext context) { Bytecode code = context.getOutput(); boolean mayReturnNull; Local constructorArgLocal; if (useCompiledPath) { constructorArgLocal = code.acquireLocal(false); mayReturnNull = false; } else { constructorArgLocal = null; mayReturnNull = bidirectional; } context.emit(invariantPath); if (leadingInvariantSegments > 1) { Local local = code.acquireLocal(false); code.astore(local) .aload(local) .ifnonnull( () -> { code.aload(local); context.emit(path.get(leadingInvariantSegments).toEmitter(getSourceInfo())); }, () -> { if (mayReturnNull || useCompiledPath) { code.aconst_null(); } else { TypeInstance type = path.get(leadingInvariantSegments).getValueTypeInstance(); code.ext_defaultconst(type.jvmType()); context.emit(new EmitWrapValueNode(new EmitNopNode(type, getSourceInfo()))); } }); code.releaseLocal(local); } else { context.emit(path.get(leadingInvariantSegments).toEmitter(getSourceInfo())); } if (useCompiledPath) { code.astore(constructorArgLocal); Runnable invokeConstructor = () -> { CtClass compiledClass = context.getNestedClasses().find(compiledClassName); code.anew(compiledClass) .dup() .aload(constructorArgLocal) .invokespecial( compiledClass, MethodInfo.nameInit, Descriptors.constructor( unchecked(() -> compiledClass.getDeclaredConstructors()[0].getParameterTypes()[0]))); }; if (leadingInvariantSegments > 1) { code.aload(constructorArgLocal) .ifnonnull( invokeConstructor, () -> { TypeInstance type = path.getValueTypeInstance(); code.ext_defaultconst(type.jvmType()); context.emit(new EmitWrapValueNode(new EmitNopNode(type, getSourceInfo()))); }); } else { invokeConstructor.run(); } } } private int getLeadingInvariantSegments(ResolvedPath path) { for (int i = 0; i < path.size(); ++i) { if (path.get(i).getObservableKind() != ObservableKind.NONE) { return i; } } return path.size(); } @Override public EmitObservablePathNode deepClone() { return new EmitObservablePathNode(path, bidirectional, invariantPath.deepClone(), getSourceInfo()); } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; EmitObservablePathNode that = (EmitObservablePathNode)o; return bidirectional == that.bidirectional && path.equals(that.path) && Objects.equals(invariantPath, that.invariantPath); } @Override public int hashCode() { return Objects.hash(path, bidirectional, invariantPath); } }
<reponame>XiaoyuGuo/DesignPatterns<gh_stars>1-10 package com.xiaoyu; /** * Created by gxytk on 2016/9/27. */ public class Product { //Assume product is produced by step1, step2 and step3 // Step1 of product private String step1; // Step2 of product private String step2; // Step3 of product private String step3; public void setStep1(String step1){ this.step1 = step1; } public String getStep1(){ return step1; } public void setStep2(String step2){ this.step2 = step2; } public String getStep2(){ return "In the premise that " + step1 + ", " + step2; } public void setStep3(String step3){ this.step3 = step3; } public String getStep3(){ return "In the premise that " + step2 + ", " + step3; } // Ensure the product is produced public boolean isProduced(){ if(!step1.isEmpty()&&!step2.isEmpty()&&!step3.isEmpty()){ return true; }else { return false; } } }
def _verify_facet_type(self, field, expected_type): facet_info = self.facet_map.get(field) if facet_info and facet_info.get_props()["type"] != expected_type: return False, 'Column, "%s", is not %s facet' % (field, expected_type) else: return True, None
Several Democratic senators said Tuesday night that they won’t support a filibuster against President Donald Trump’s nomination to the supreme court Neil Gorsuch. Democratic Delaware Sen. Chris Coons said that he will “push for a hearing and I will push for a vote.” Democratic North Dakota Sen. Heidi Heitkamp similarly said that “absolutely” Gorsuch will get a full hearing. These sentiments were shared by Democrats such as Connecticut Sen. Richard Blumenthal, Missouri Sen. Claire McCaskill and Montana Sen. Jon Tester. Democratic West Virginia Sen. Joe Manchin said that he is “not going to filibuster anybody.” Independent Vermont Sen. Bernie Sanders, who caucuses with the Democrats, seemed open to Gorsuch. “I look forward to questioning Judge Gorsuch about his positions on the most important issues that impact Vermonters and all Americans and his views on recent Supreme Court decisions,” the Vermont senator said in a statement. While some Democrats such as California Sen. Kamala Harris came out strongly against Gorsuch’s nomination, Hillary Clinton’s running mate Virginia Sen. Tim Kaine said in a statement that he intends to “carefully scrutinize [Gorsuch’s] temperament and record, particularly on civil rights and other Constitutional guarantees.” Gorsuch currently serves on the U.S. Court of Appeals for the Tenth Circuit in Denver and was appointed to that post by President George W. Bush in May 2006. He was confirmed unanimously by voice vote, and 11 current Democrat senators, including Minority Leader Chuck Schumer and California Sen. Dianne Feinstein, voted “yes” for his confirmation.