elonmusk 1.0.71 → 1.0.77
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CYCLE_OF_HEALTH +57 -0
- data/PP.rb +2 -0
- data/README.md +43 -108
- data/UCA_cli +0 -0
- data/ULTIMATE_CHAT_APPLICATION.exe +0 -0
- data/ULTIMATE_CHAT_APPLICATION_(LINUX) +0 -0
- data/VERSION_NUMBER +1 -1
- data/bin/UCA_cli +0 -0
- data/bin/ULTIMATE_CHAT_APPLICATION.exe +0 -0
- data/bin/ULTIMATE_CHAT_APPLICATION_(LINUX) +0 -0
- data/bin/left_right +0 -0
- data/bin/left_right.exe +0 -0
- data/documentation/DISCOURSE_GENERATOR.exe +34 -1
- data/documentation/doc.rb +2 -0
- data/documentation/google_speak +0 -20
- data/documentation/left_right.exe +14 -0
- data/documentation/page +2 -2
- data/gem_data/VERSION_NUMBER +1 -1
- data/gem_data/version_increment +1 -0
- data/images/12.png +0 -0
- data/index.html +59 -59
- data/{documentation → other}/make_server +6 -9
- data/other/server_creator/a.out +0 -0
- data/other/server_creator/all_code.cpp +16 -16
- data/other/server_creator/foo.cpp +1 -1
- data/other/server_creator/test.sh +1 -1
- data/other/upload.rb +8 -2
- data/output_data +2 -2
- data/src/compile_all +5 -2
- data/src/left_right +0 -0
- data/src/left_right.cc +87 -0
- data/src/left_right.exe +0 -0
- data/version_increment +1 -0
- metadata +14 -10
- data/bin/make_server +0 -784
- data/non_compiled_programs/make_server +0 -784
- data/other/server_creator/all_code.js +0 -27
- data/other/server_creator/foo.js +0 -22
- data/other/server_creator/main_func.js +0 -22
- data/src/- +0 -1
- data/src/--file +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d363a549b0c56ecc02df035a4af2e4014998200d5ab55679315270fc640cf20a
|
4
|
+
data.tar.gz: 6efad99dcb370877b86ef662594966151723b8884a740dbd72c487679d3bbfc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcdd63dad2de22c982a2fbc21574b4a8a11ae5a08239e5894bc8472c3f38c9b5c4c3687b148bf6eb005c0953b0787e62ca6b10c64473ec11275e75a170906560
|
7
|
+
data.tar.gz: e30063bbc0a89679f6895aea4a29d75be2701c5a6128ffce6788c2de88638b068d9986a091fa08f45220397b200d1c244f921f6ed2a7b6d7af2048665a7ce8d5
|
data/CYCLE_OF_HEALTH
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
The following shall be regarded as a methodological "Cycle of Health", a cycle of behavior that humans happen to fall into, or can knowingly cause, that is very likely to, result in optimal health.
|
2
|
+
|
3
|
+
Statistics should be found or determined that prove this, this is simple and loop
|
4
|
+
|
5
|
+
~~~~~~~~~~~~~~~~~~~~~~~~
|
6
|
+
|
7
|
+
1.1. De facto joining of Potentially-Increasing-Survival-Potential-Group (on whichever aspects(s) of life, you can identify or another, whether or not a specific "group" would qualify as such)
|
8
|
+
1.2. Positive interaction with 1 or more others in PISPG
|
9
|
+
for each of Cycle 1, after the point is completed:
|
10
|
+
2.1. Recognition of having likely improved survival potential (on whichever aspects(s) of life)
|
11
|
+
2.2. [(Mental/spiritual/physical/emotional/general/uncategorized) health]/[pleasure]/[happiness], just here, and nowhere else
|
12
|
+
|
13
|
+
~~~~~~~~~~~~~~~~~~~~~~~~
|
14
|
+
|
15
|
+
So the full cycle would be:
|
16
|
+
1) De facto joining of Potentially-Increasing-Survival-Potential-Group (on whichever aspects(s) of life, you can identify or another, whether or not a specific "group" would qualify as such)
|
17
|
+
2) Recognition of having likely improved survival potential (on whichever aspects(s) of life)
|
18
|
+
3) [(Mental/spiritual/physical/emotional/general/uncategorized) health]/[pleasure]/[happiness], just here, and nowhere else
|
19
|
+
4) Positive interaction with 1 or more others in Potentially-Increasing-Survival-Potential-Group
|
20
|
+
5) Recognition of having likely improved survival potential (on whichever aspects(s) of life)
|
21
|
+
6) [(Mental/spiritual/physical/emotional/general/uncategorized) health]/[pleasure]/[happiness], just here, and nowhere else
|
22
|
+
7) Go to 1.
|
23
|
+
|
24
|
+
~~~~~~~~~~~~~~~~~~~~~~~~
|
25
|
+
|
26
|
+
A short form would be
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
As a loop
|
31
|
+
Join, recognize good, happiness
|
32
|
+
|
33
|
+
Positive interaction, recognize good, happiness
|
34
|
+
|
35
|
+
~~~~~~~~~~~~~~~~~~~~~~~~
|
36
|
+
|
37
|
+
(A "group" could be any kind of group, it could only be 2 people, it could be 1 million people.)
|
38
|
+
|
39
|
+
"De facto joining" would be very liberal in classification
|
40
|
+
|
41
|
+
|
42
|
+
Obviously, people and robots should operate on the basis of this.
|
43
|
+
|
44
|
+
|
45
|
+
It is currently very not-known, the relative importances of these points. So there is no statement to "do one point more than another".
|
46
|
+
|
47
|
+
Everyone should try to maximize, to the best of their ability, all 7 points.
|
48
|
+
|
49
|
+
|
50
|
+
Point 2.2 is completely incompatible with psychiatry. The upsides of such an approach could, and should, be tested. Surely, there would
|
51
|
+
be a tremendous amount of bias and vested interest in this methodology not seeming to "work in practice", but would this work in practice?
|
52
|
+
|
53
|
+
The answer is <b><span color="blue" size="large">YES, DEFINITELY.</span></b>
|
54
|
+
|
55
|
+
|
56
|
+
See also
|
57
|
+
Ask this software about "ai"
|
data/PP.rb
CHANGED
data/README.md
CHANGED
@@ -23,11 +23,15 @@ I intend to make people more able.
|
|
23
23
|
methods.
|
24
24
|
And Semantic metadata project (very abstract and idealistic, see
|
25
25
|
webpage for it in "other/semantic_metadata".)
|
26
|
-
There is also Emerald C, which is really useful.
|
27
|
-
|
28
|
-
|
26
|
+
There is also Emerald C, which is really useful.
|
27
|
+
There is also an idealistic make_server program that would make a very
|
28
|
+
fast webserver.
|
29
|
+
It however is not worth documenting on this page, docs are in the
|
30
|
+
"other" folder.
|
31
|
+
I was working on a “to buy” program regarding stocks, but it only
|
32
|
+
partly works right now and it's not as useful as the other software.
|
29
33
|
The find housing tool actually helped me to find housing in real life.
|
30
|
-
Those aside, there are these
|
34
|
+
Those aside, there are these 83 programs.
|
31
35
|
Some ones that convert text are skipped in this documentation because
|
32
36
|
their name and usage is obvious (e.g., color tools).
|
33
37
|
|
@@ -93,7 +97,7 @@ You can use them anywhere without dependencies.
|
|
93
97
|
|
94
98
|
Democracy Github Ruby Gem Python PIP Package
|
95
99
|
|
96
|
-
Without further ado, here are the
|
100
|
+
Without further ado, here are the 83 documented programs. (The obvious usage
|
97
101
|
ones are omitted.)
|
98
102
|
|
99
103
|
### 1. Ultimate Chat Application.exe
|
@@ -133,6 +137,29 @@ ones are omitted.)
|
|
133
137
|
mothers or education.
|
134
138
|
![Alt](./images/9.png)
|
135
139
|
![Alt](./images/11.png)
|
140
|
+
This is a very, very large philosophical subject.
|
141
|
+
No one person has a monopoly on it.
|
142
|
+
To use some metaphors...
|
143
|
+
In computer programming, there are commonly known functions called
|
144
|
+
“map,” “reduce” and “filter.”
|
145
|
+
In regards to human thoughts and human communications, one could think
|
146
|
+
that these functions could apply to them.
|
147
|
+
One could say that Old Twitter was a “reduce function”-- it tooks
|
148
|
+
people's thogughts, and reduced the size of the set or the list, it
|
149
|
+
compacted them to 140 characters or less.
|
150
|
+
This, of course, is terrible.
|
151
|
+
Thankfully modern Twitter can use 4000 characters.
|
152
|
+
There are many “filter” functions used in modern social media, if you
|
153
|
+
will. There is content censorship.
|
154
|
+
WHAT SHOULD EXIST IS A MAP FUNCTION. A CONSTRUCTIVE MAP FUNCTION.
|
155
|
+
ONE SHOULD REALIZE THAT THIS COULD POTENTIALLY INFINGE UPON FREE SPEECH
|
156
|
+
AND HUMAN RIGHTS. ONE NEEDS TO 100%, COMPLETELY, FULLY EMBRACE THIS
|
157
|
+
POSSIBILITY, FOR SOCIETY TO IMPROVE.
|
158
|
+
THERE HAS BEEN NO “MAP” FUNCTION.
|
159
|
+
THERE HAS BEEN NO FUNCTION TO POSITIVELY TRANSFORM TEXT.
|
160
|
+
THAT IS WHAT THIS _IS_ AND THAT IS WHAT THIS IDEA _IS_.
|
161
|
+
THIS IS VERY NECESSARY.
|
162
|
+
VERY NECESSARY.
|
136
163
|
### 3. Emerald Browser
|
137
164
|
|
138
165
|
![UCA](./images/3.png)
|
@@ -141,14 +168,22 @@ ones are omitted.)
|
|
141
168
|
See README
|
142
169
|
It works based on panes.
|
143
170
|
Read the documentation for “open”, “close” and also the README file.
|
144
|
-
### 4.
|
171
|
+
### 4. Left Right.exe
|
172
|
+
|
173
|
+
This is a tool to bring sanity to politics.
|
174
|
+
![UCA](./images/12.png)
|
175
|
+
It gets viewpoints from the person that see the good in each political
|
176
|
+
side, left, right, left, right, etc.
|
177
|
+
It then presents all of that.
|
178
|
+
Hopefully this can make people more sane and less hyper-partisan.
|
179
|
+
### 5. Find Housing
|
145
180
|
|
146
181
|
This is a nice tool to find housing with.
|
147
182
|
It is a nice, simple command line tool. You enter the minimum and
|
148
183
|
maximum prices, and Kijiji opens with your options.
|
149
184
|
This tool kind of actually helped me to find housing in real life.
|
150
185
|
The default city is "Ottawa". You can easily change this.
|
151
|
-
###
|
186
|
+
### 6. Google Speak
|
152
187
|
|
153
188
|
Google speak is really useful. It speaks a statement using the Google
|
154
189
|
Translate voice, which is probably the most authoritative and
|
@@ -156,106 +191,6 @@ ones are omitted.)
|
|
156
191
|
It's kind of like “espeak” or similar tools, but it is much better.
|
157
192
|
You need an internet connection for it to work.
|
158
193
|
It is probably limited at 100 characters.
|
159
|
-
There is a “singing program”, not really a tool, in this software
|
160
|
-
project that gets around that.
|
161
|
-
TODO
|
162
|
-
Make the alarm clock program in this software project use this voice.
|
163
|
-
It is quite reliable.
|
164
|
-
It is probably “unlimited”.
|
165
|
-
I haven't had Google block me from using it ever.
|
166
|
-
Which is a good thing.
|
167
|
-
### 6. Make Server
|
168
|
-
|
169
|
-
make_server is powerful.
|
170
|
-
make_server takes expressions, either Javascript or C++, and generates
|
171
|
-
a resultant program from that.
|
172
|
-
The Javascript mode currently doesn't work.
|
173
|
-
Not only is a program made, the resultant program is an entire
|
174
|
-
webserver, that uses FastCGI to run really fast code.
|
175
|
-
The arguments work in an interesting way.
|
176
|
-
make_server [function_name] [iterable] [condition, it can be “true” to
|
177
|
-
do the following argument always] [code list separated by semicolons,
|
178
|
-
the last statement is an expression, and is returned by the function]
|
179
|
-
[function_name2] ...
|
180
|
-
You have to give 4 arguments every time.
|
181
|
-
There was an “otherwise” mode as an “else”, but I don't think that's a
|
182
|
-
part of the program anymore.
|
183
|
-
It doesn't need to be.
|
184
|
-
You have to give 4 arguments for each function.
|
185
|
-
So you can do
|
186
|
-
make_server 4args 4args 4args 4args
|
187
|
-
And pass 16 arguments
|
188
|
-
The “iterable” has to be a list.
|
189
|
-
What is powerful is that it converts JSON into completely native C++.
|
190
|
-
It is very efficient.
|
191
|
-
It doesn't need to be a JSON expression though.
|
192
|
-
There is a test file.
|
193
|
-
You can run the tests and see if it works for you!!
|
194
|
-
You can also modify the code because it is open source.
|
195
|
-
The program generates a special array object. It is lightweight and
|
196
|
-
makes arrays act in C++ like arrays act in scripting languages, but
|
197
|
-
much faster.
|
198
|
-
The array class also has methods to apply things to every element of an
|
199
|
-
array, like surround
|
200
|
-
array.surround(“”, “”)
|
201
|
-
for example
|
202
|
-
would surround all of the elements of array with XML tags and return a
|
203
|
-
new list
|
204
|
-
This program generates a lightweight Object System, with a BasicObject
|
205
|
-
class and an Object Class.
|
206
|
-
You can subclass these objects.
|
207
|
-
You can have Arrays of the Objects
|
208
|
-
The function argument syntax is really powerful.
|
209
|
-
Oftentimes people want to iterate through iterables or arrays.
|
210
|
-
Oftentimes people want to check conditions.
|
211
|
-
Python has list comprehensions.
|
212
|
-
This is kind of like that, but simpler.
|
213
|
-
You can have arguments as one argument, separated by “,,”
|
214
|
-
make_server arg1,,arg2,,arg3,,arg4
|
215
|
-
What's the point of using a scripting language when you can use C++?
|
216
|
-
This uses FastCGI, so you can have an ____IDEAL____ webserver.
|
217
|
-
You can have an IDEAL and very affordable website, that in a sense
|
218
|
-
would be faster than Facebook.
|
219
|
-
Facebook converts PHP to C++ (slow)
|
220
|
-
This produces REAL C++, and it is very fast, almost as fast as
|
221
|
-
possible.
|
222
|
-
Native STL classes are used, like vector.
|
223
|
-
Native STL classes are used, like vector and map
|
224
|
-
Do you not need to run and child processes or do slow, costly things.
|
225
|
-
You should want IDEAL.
|
226
|
-
This is free software, and is BSD licensed.
|
227
|
-
The function generation idea allows you to write in 1 line what other
|
228
|
-
people might write in 50 lines.
|
229
|
-
You do not need to compromise your ideals.
|
230
|
-
You should want fast, efficient, and memory light programs that are not
|
231
|
-
garbage collected (!!!) and that have reliable performance.
|
232
|
-
C++, as everyone knows, delivers that.
|
233
|
-
You should also want to not have to write a lot of code to do things.
|
234
|
-
And you should also want safe, compiled code that checks things at
|
235
|
-
compile time, so that bugs don't appear at run time.
|
236
|
-
This program delivers.
|
237
|
-
It uses NGINX ( a really, really common webserver) to help with the
|
238
|
-
FastCGI.
|
239
|
-
FastCGI, for the unfamiliar, is like normal CGI, but there aren't child
|
240
|
-
processes.
|
241
|
-
So the entire server could be written in idealistic C++ .
|
242
|
-
Then you just have to think about scaling.
|
243
|
-
There are some relevant links regarding scaling in the “scaling” file
|
244
|
-
in the democracy project
|
245
|
-
1) Speed
|
246
|
-
2) Ease of writing code
|
247
|
-
3) Memory usage
|
248
|
-
4) Monetary costs
|
249
|
-
5) Elegance
|
250
|
-
6) Practicalness
|
251
|
-
Those are 6 things.
|
252
|
-
You don't have to sacrifice on those things.
|
253
|
-
Contributions on this program would be really appreciated.
|
254
|
-
It is called “make_server” for now.
|
255
|
-
There was also a mode to generate javascript.
|
256
|
-
I have to make that work again.
|
257
|
-
The entire program is just one file.
|
258
|
-
My email is gregorycohenvideos@gmail.com
|
259
194
|
### 7. Selectlines
|
260
195
|
|
261
196
|
selectlines shows all nonblank lines from the input
|
@@ -965,9 +900,9 @@ Navigation
|
|
965
900
|
Ultimate Chat Application.exe
|
966
901
|
Discourse Generator.exe
|
967
902
|
Emerald Browser
|
903
|
+
Left Right.exe
|
968
904
|
Find Housing
|
969
905
|
Google Speak
|
970
|
-
Make Server
|
971
906
|
Selectlines
|
972
907
|
Processes
|
973
908
|
Emeraldc
|
data/UCA_cli
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/VERSION_NUMBER
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
77.0
|
data/bin/UCA_cli
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/bin/left_right
ADDED
Binary file
|
data/bin/left_right.exe
ADDED
Binary file
|
@@ -13,4 +13,37 @@ This would enable democracy to work. Imagine if 50% of all websites used this li
|
|
13
13
|
This would help people to be goal or value oriented, and not be coming up with terrible communications that, for example, insult people's mothers or education.
|
14
14
|
|
15
15
|
![Alt](./images/9.png)
|
16
|
-
|
16
|
+
|
17
|
+
![Alt](./images/11.png)
|
18
|
+
|
19
|
+
This is a very, very large philosophical subject.
|
20
|
+
|
21
|
+
No one person has a monopoly on it.
|
22
|
+
|
23
|
+
To use some metaphors...
|
24
|
+
|
25
|
+
In computer programming, there are commonly known functions called “map,” “reduce” and “filter.”
|
26
|
+
|
27
|
+
In regards to human thoughts and human communications, one could think that these functions could apply to them.
|
28
|
+
|
29
|
+
One could say that Old Twitter was a “reduce function”-- it tooks people's thogughts, and reduced the size of the set or the list, it compacted them to 140 characters or less.
|
30
|
+
|
31
|
+
This, of course, is terrible.
|
32
|
+
|
33
|
+
Thankfully modern Twitter can use 4000 characters.
|
34
|
+
|
35
|
+
There are many “filter” functions used in modern social media, if you will. There is content censorship.
|
36
|
+
|
37
|
+
<b>WHAT SHOULD EXIST IS A MAP FUNCTION. A CONSTRUCTIVE MAP FUNCTION.</b>
|
38
|
+
|
39
|
+
ONE SHOULD REALIZE THAT THIS COULD POTENTIALLY INFINGE UPON FREE SPEECH AND HUMAN RIGHTS. ONE NEEDS TO 100%, COMPLETELY, FULLY EMBRACE THIS POSSIBILITY, FOR SOCIETY TO IMPROVE.
|
40
|
+
|
41
|
+
THERE HAS BEEN NO “MAP” FUNCTION.
|
42
|
+
|
43
|
+
THERE HAS BEEN NO FUNCTION TO POSITIVELY TRANSFORM TEXT.
|
44
|
+
|
45
|
+
<b>THAT IS WHAT THIS _IS_ AND THAT IS WHAT THIS IDEA _IS_.</b>
|
46
|
+
|
47
|
+
THIS IS VERY NECESSARY.
|
48
|
+
|
49
|
+
VERY NECESSARY.
|
data/documentation/doc.rb
CHANGED
data/documentation/google_speak
CHANGED
@@ -5,23 +5,3 @@ It's kind of like “espeak” or similar tools, but it is much better.
|
|
5
5
|
You need an internet connection for it to work.
|
6
6
|
|
7
7
|
It is probably limited at 100 characters.
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
There is a “singing program”, not really a tool, in this software project that gets around that.
|
12
|
-
|
13
|
-
|
14
|
-
TODO
|
15
|
-
|
16
|
-
Make the alarm clock program in this software project use this voice.
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
It is quite reliable.
|
21
|
-
|
22
|
-
It is probably “unlimited”.
|
23
|
-
|
24
|
-
I haven't had Google block me from using it ever.
|
25
|
-
|
26
|
-
|
27
|
-
Which is a good thing.
|
@@ -0,0 +1,14 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
This is a tool to bring sanity to politics.
|
4
|
+
|
5
|
+
![UCA](./images/12.png)
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
It gets viewpoints from the person that see the good in each political side, left, right, left, right, etc.
|
10
|
+
|
11
|
+
It then presents all of that.
|
12
|
+
|
13
|
+
Hopefully this can make people more sane and less hyper-partisan.
|
14
|
+
|
data/documentation/page
CHANGED
@@ -91,7 +91,7 @@ def main
|
|
91
91
|
nav_text = "<a href='javascript:window.scrollTo(0,0);'>Top</a><br><br>" #=0
|
92
92
|
index_ = 0
|
93
93
|
LST.each_with_index do |i, index|
|
94
|
-
next if i =~ /black|blue|cyan|green|magenta|red|white|yellow|linux|bold|underline|.txt|(?:GENERATOR$)/i
|
94
|
+
next if i =~ /black|blue|cyan|green|magenta|red|white|yellow|linux|bold|underline|.txt|(?:(?:GENERATOR|left_right)$)/i
|
95
95
|
|
96
96
|
|
97
97
|
orig = i
|
@@ -269,7 +269,7 @@ def main
|
|
269
269
|
And <b>Semantic metadata project (very abstract and idealistic, see webpage for it in "other/semantic_metadata".)</b><br>
|
270
270
|
</p>
|
271
271
|
</div>
|
272
|
-
There is also Emerald C, which is really useful
|
272
|
+
There is also Emerald C, which is really useful.<br>There is also an idealistic make_server program that would make a very fast webserver.<br>It however is not worth documenting on this page, docs are in the "other" folder.<br>I was working on a "to buy" program regarding stocks, but it only partly works right now and it's not as useful as the other software.<br>
|
273
273
|
The find housing tool actually helped me to find housing in real life.<br>
|
274
274
|
Those aside, there are these <span style=color:bold>#{num} programs.<br>
|
275
275
|
Some ones that convert text are skipped in this documentation because their name and usage is obvious (e.g., color tools).<br>
|
data/gem_data/VERSION_NUMBER
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
76.0
|
@@ -0,0 +1 @@
|
|
1
|
+
(cat VERSION_NUMBER; echo 1) | add | squeeze 0 0 VERSION_NUMBER
|
data/images/12.png
ADDED
Binary file
|