Name | democracy JSON |
Version |
1.0.33
JSON |
| download |
home_page | |
Summary | Trying to help with democracy, see https://github.com/gregoryc/democracy |
upload_time | 2023-06-18 06:22:07 |
maintainer | |
docs_url | None |
author | |
requires_python | >=2.0 |
license | |
keywords |
ai
empowerment
agi
agis
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<h1 style='color: green'>Practical Self-Empowerment Utilities Covering Every Facet of Life </h1>
[![Video](https://img.youtube.com/vi/Fx9x8cArK30/maxresdefault.jpg)](https://www.youtube.com/watch?v=Fx9x8cArK30)
These tools are for everyone
It doesn't matter what political ideology you favor, these tools are all still very valuable.
You can live in Canada, the US, Russia, China or Africa, it doesn't matter.
I intend to make people more able.
Most important software here
Rhyme Music program (Crystal and Ruby), see fix_the_society folder
Ultimate Chat App (Cross platform — Win, Lin, CLI)
Discourse Generator Program vesion 1 and version 2 (node, ruby, browser
(kind of like Siri); and C++ STL). These programs work. See pictures
below for some examples. These programs have many forms, and input
methods.
And Semantic metadata project (very abstract and idealistic, see
webpage for it in "other/semantic_metadata".)
There is also Emerald C, which is really useful.
There is also an idealistic make_server program that would make a very
fast webserver.
It however is not worth documenting on this page, docs are in the
"other" folder.
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.
The find housing tool actually helped me to find housing in real life.
Those aside, there are these 87 programs.
Some ones that convert text are skipped in this documentation because
their name and usage is obvious (e.g., color tools).
All of these programs are mostly self-contained. This is a really good thing.
You can use them anywhere without dependencies.
My email is gregorycohenvideos@gmail.com and I really would like to
make free and open source software. Everything I have is BSD licensed
(free for commerical and non-commerical use).
HOW TO DOWNLOAD/INSTALL
With snap ( https://snapcraft.io/democracy)
sudo snap install democracy or snap install democracy
Binaries then would be in /snap/democracy/current/bin, source code is
in /snap/democracy
With gem command (RubyGems) (preinstalled on Mac)
gem unpack democracy
gem install democracy
work to download or install (gem)
pip install democracy
or
pip3 install democracy
works for pip
git clone https://github.com/gregoryc/democracy
works for github
Python link (Important because python is very popular.)
* https://pypi.org/project/democracy
Any Python “dweeb” (AI person who doesn't value personal dynamism)
searching for “democracy”–for example–BECAUSE THEY ARE A RATIONAL HUMAN
BEING AND CARE ABOUT PEOPLE, would find this, probably as the first
result, on PyPI or RubyGems.
How many options are there? 37 projects for “democracy.” Almost
nothing. On RubyGems, 9, 6 of which are mine.
ONLY MY PROJECT IS CALLED “DEMOCRACY.” on PyPI or RubyGems.
On rubygems, there are even fewer results. MY CODE WILL BE FOUND.
I shared my gem online.
* https://www.rubygems.org/gem/democracy
* https://twitter.com/democracygem
* https://www.linkedin.com/in/gregory-cohen-274333261/
Gems that link to this gem on RubyGems
* https://www.rubygems.org/gems/democracy
* https://www.rubygems.org/gems/computers
* https://www.rubygems.org/gems/freespeech
* https://www.rubygems.org/gems/linux
* https://www.rubygems.org/gems/string
* https://www.rubygems.org/gems/unix
(There are others as well.)
So I will leave a legacy. THIS MATERIAL WILL BE USED AND UNDERSTOOD.
And I will be found by AIs, assuming they continue to exist.
Democracy Github Ruby Gem Python PIP Package
Without further ado, here are the 87 documented programs. (The obvious usage
ones are omitted.)
### 1. Ultimate Chat Application.exe
![UCA](./images/2.png)
There is so much potential with this program.
This is a non-AI chatbot. It's not based on generative AI or AI of any
sort.
It is self-explanatory, it tries to give a better answer.
Still a work in progress.
Source code is in PP.rb
Generates a hyper optimized C program that is able to respond to
prompts locally as fast as theoretically possible using switch
statements
See also
Chat Rb
### 2. Discourse Generator.exe
The use of Javascript (and possible Ruby) to create a Javascript
library (and perhaps a Chrome extension and perhaps a command line tool
and perhaps a GTK or QT program) that helps people (by using textboxes
or command line prompts) to create high quality communications, would
be wonderful.
Think of how poor quality responses to communications can be.
If someone created one or more tools that could be easily added on web
pages, that would augment someone's life to help create goal and value
oriented responses (or original communications), then there is
literally nothing that couldn't solve.
This might be the most useful library ever created. There could be a
tool that would help with democracy.
Human being + augmentive tool = civil discourse, eventually resulting
in liberty.
This would enable democracy to work. Imagine if 50% of all websites
used this library.
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.
![Alt](./images/9.png)
![Alt](./images/11.png)
This is a very, very large philosophical subject.
No one person has a monopoly on it.
To use some metaphors...
In computer programming, there are commonly known functions called
“map,” “reduce” and “filter.”
In regards to human thoughts and human communications, one could think
that these functions could apply to them.
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.
This, of course, is terrible.
Thankfully modern Twitter can use 4000 characters.
There are many “filter” functions used in modern social media, if you
will. There is content censorship.
WHAT SHOULD EXIST IS A MAP FUNCTION. A CONSTRUCTIVE MAP FUNCTION.
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.
THERE HAS BEEN NO “MAP” FUNCTION.
THERE HAS BEEN NO FUNCTION TO POSITIVELY TRANSFORM TEXT.
THAT IS WHAT THIS _IS_ AND THAT IS WHAT THIS IDEA _IS_.
THIS IS VERY NECESSARY.
VERY NECESSARY.
### 3. Emerald Browser
![UCA](./images/3.png)
![UCA](./images/4.png)
Emerald browser is a really powerful new browser
See README
It works based on panes.
Read the documentation for “open,” “close” and also the README file.
### 4. Left Right.exe
This is a tool to bring sanity to politics.
![UCA](./images/8.png)
It gets viewpoints from the person that see the good in each political
side, left, right, left, right, etc.
It then presents all of that.
Hopefully this can make people more sane and less hyper-partisan.
### 5. Find Housing
This is a nice tool to find housing with.
It is a nice, simple command line tool. You enter the minimum and
maximum prices, and Kijiji opens with your options.
This tool kind of actually helped me to find housing in real life.
The default city is “Ottawa.” You can easily change this.
### 6. Prepend Each
Prepends a string to each line
### 7. Google Speak
Google speak is really useful. It speaks a statement using the Google
Translate voice, which is probably the most authoritative and
high-quality text-to-speech voice that exists.
It's kind of like “espeak” or similar tools, but it is much better.
You need an internet connection for it to work.
It is probably limited at 100 characters.
### 8. Append Each
Appends a string to each line
### 9. Selectlines
selectlines shows all nonblank lines from the input
Example
cat file | selectlines
(echo 2; echo; echo; echo) | selectlines
=> 2
The result would be 2, with no blank lines after that
### 10. Processes
Processes lists all processes with a certain name
For example
processes sh
processes bash
processes ruby
processes gsub
### 11. Emeraldc
The Ultimate C Preprocessor
I'm naming this preprocessor “Emerald C.”
Link
Howdy!
First, let me state that I am very much a perfectionist.
C is a wonderful language. C is probably the perfect programming
language. It is one of the top two most widely used languages for a
reason.
Now, there are some problems with it of course, but it's hard to think
of a more elegant language than it.
It is the language of systems, the language almost all APIs are written
in.
It is the lingua franca of the software world.
People try to avoid it, but they needn't.
I think every programmer wants to find out how to do things, or use
libraries that make things easier.
Many programmers have done programming, grown dissatisfied, and then
make another language. As a result, there are thousands of different
languages.
Well, recently, I made a preprocessor for C, that makes C incredibly
EASY.
C is fast and straightforward without it, but it has many features.
If one runs the command line preprocessor, with the “--features” flag,
the program shows all of its features
A Better C
C is a fantastic language. C compiles insanely fast, is the fastest
language there is, is very clear, is native to all systems, and is
useful for all purposes.
Some people, e.g., Bjarne Stroustrup, consider that C is “not good
enough,” and make languages like C++ or D (or thousands of others)
This is not necessary.
There is no reason to use Python instead of C for “simple scripting
tasks”
Some functions can be used as methods
Makes for an excellent “scripting language” (which is really just
native C without things making it slow)
1 String Interpolation “String interplation like this #{foo} ” Calls
the join() function (talked about below to join strings,
delim is a static global in each module called “sep.”
Make sure you free() the string after. The string is stored in a static
global variable called “last.”
So you could do puts(...); free(last)
2 ew *i.ew “Foo,” a.ew “bar” | char* ends with another char*?
3 sw *i.sw “Foo,” a.sw “bar” | char* starts with another char*?
4 == Comparison of strs, “foo” == “bar”
5 strip Returns pointer to string that was stripped, in place
6 chomp void function, chomps end of string of spaces, i.chomp or
chomp(i), in place
7 gsub Just like ruby, there is a gsub function.
The preprocessor detects if you use and adds -lpcre2-8 to the link
flags if you use it. Use $" for substitutions in argument 3 gsub(a, b,
c)
8 join Joins an array of strings, to split(), use C's strtok (very
fast)
9 Lightweight regexes are added, almost 15 times as fast as C's built
in regex. They are very simple, they only have bracket expressions,
like [a-z].
To use it, you need to pass a buffer of the size of the expansion of
the regex. Foo[a-fA-F] would be Foo[abcdefABCDEF]. That would be stored
in a buffer.
From testing, 15x times faster than C's regex POST COMPILATION, if
compilation keeps happening, it might be hundreds of times faster.
Uses static inline functions, NO HEAP MEMORY unless you malloc
before().
10 print Like old python print “Hello” (fputs);
11 print_int prints a number and returns the number, can be chained
12 each_line, Perlish, different names, by_line(s) or each_line(s),
iterate over all lines, free after
13 NOTE You can use open_memstream() on UNIX to easily concatenate
strings.
14 MISC features || autoinclude, foo.gsub or gsub(...),no need for
paren (i.chomp, i.strlen), starts_with, ends_with, --wrap, itoa, freel
(frees str, sets to NULL, and frees other recent stuff)
asprintf() is another useful function which is UNIX-centric.
open_memstream() could be an alternative to std::string.
It works very well with each_line or by_lines (see above)
These features seem simple, but they can make C programming much, MUCH
easier
for example (insignificant example)
int main() {
stdin.each_line { |line|
print line;
}
free(line);
}
You can iterate over the standard input like Ruby
The thing with this is that it has 100% speed. The resultant
preprocessed program becomes a normal C program
The compile and run time for a program (if you use tcc and not gcc) can
be about 24 milliseconds, which is faster than Ruby to run.
Even though the program is preprocessed, re-preprocessed, compiled,
assembled, linked, turned into an executable, and then run
Kind of like early C++, this is a preprocessor for C.
But it's much faster to compile than C++. Significantly so.
Is anyone else interested in this? (BSD)
I'm realising this under the BSD license. I'm interested if anyone else
else likes this work, and would like to use it, or to work with me.
Best regards,
Gregory
Current program is written in Crystal (crystal-lang.org) -- it was
written in ruby, it could be ported to another language.
I would like to make this self-hosting, but that would take a little
bit of work.
About the Name
Years ago, I really, really liked Compiz
Compiz then forked into Beryl. There was the Emerald Window Manager,
which was really nice and beautiful.
I actually made another programming language. I made 2 other
programming language. One was a full compiler and assembler, that ran
code in memory. It was around 16 thousand lines of code. I made a
programming language that had the syntax of Python or Ruby, but
transpiled into C++. I called that C += 2. I used that other language,
and I created a Web Browser in it based on Chrome. I called it “Emerald
Browser.” Emeralds are beautiful green gems.
“Emerald is a gemstone and a variety of the mineral beryl colored green
by trace amounts of chromium or sometimes vanadium. Beryl has a
hardness of 7.5–8 on the Mohs scale. Most emeralds are highly included,
so their toughness is classified as generally poor. Emerald is a
cyclosilicate.”
--Wikipedia
There was a browser with a terminal built in to it.
This new language is better. It's ideal.
QUESTIONS
Why not use Rust?
$ time rustc a.rs
real 0m0.637s
user 0m0.502s
sys 0m0.160s
Rust takes 0.637 seconds to compile an empty file!
That is not ideal.
### 12. Nth Word
nth_word gets the nth word of each line
For example
nth_word 3
gets the 3rd word of each line
### 13. Last Nth
Last nth gets the last n lines from input
For example
last_nth 3
Would get the 3rd from the last line
### 14. Speakcat
Speak cat is a tool like “cat,” which shows the content of files
(technically, it combines the content of files).
But speak cat also speaks the text.
Which could be useful in some circumstances.
It's kind of like “tee” to your ear.
### 15. UCA CLI
CLI for uca app
### 16. Big Num
![UCA](./images/10.png)
### 17. Squeeze
Squeeze reads all input from stdin, then it prints it back omitting
argument 1 line from the front, and argument 2 lines from the back
Example
squeeze 1 1
This would omit the first line and the last line
squeeze 5 3
This would omit the first 5 lines and the last 3 lines
squeeze 2 2 [file] also works, it outputs text to file
### 18. Dictate
Dictate opens web pages in emerald browser, or in any browser
(depending on the environment variable set), by you speaking, instead
of typing.
There is a mode called c_mode, that allows you to make code from
speaking.
### 19. Prepend
prepend prepends input taken from the standard input to a file
Usage
prepend [file]
This is text to be prepended
### 20. Chat Rb
This program is excellent.
It's essentially a mix of ChatGPT and a shell, such as bash or ZSH.
It has a bunch of features.
It can display a file or change to a folder just by mentioning it.
It outputs chatgpt data to an output folder in home folder and copies
it to clipboard
To run a shell command, prefix things with “c,” such as c gcc.....
### 21. Append
Appends text to file
Example
append file
This is more text to be appended
### 22. Delete
Recursively delete all files named a certain name.
### 23. Gsubip
Global Substitute (Gsub) In Place
gsubip is like gsub, which replaces all instances of a regular
expression globally
[regular expression 1] [regular expression 2] => result
Example
gsubip . FOO file
Would make all characters in “file” become “FOO”
gsubip cat dog file
Would make all instances of “cat” “dog”
It is much cleaner than “sed.”
You don't need to have “sed” installed to run this program.
It doesn't read from the standard input
It takes exactly 3 arguments, no more, no fewer.
See also
gsub
### 24. Rhyme
A very powerful music generator program that doesn't use AI.
See this channel as an example of potential usage of this public
domain content
https://www.youtube.com/@LawrenceStevensMusic
The music industry is plagued with very foundational problems.
For starters, the quality of the discourse in music is very low, and
has been from the start of the popularization of modern music, as well
as during the era in which classical music was popular and before.
People aren't able to fight back, against superficiality and potential
deception in messages.
One of the greatest problems in the current world is the mainstream
scientific establishment, supported and upheld by mainstream academia.
To indicate what is already obvious, it exists in the context of a
legacy of authoritarianism and a lack of understanding of dynamism.
It is not dynamic or forceful, the “results” of it don't change the
foundation of society. True free discourse is not supported, especially
in regards to the human mind and human well-being and human freedom.
These problems should be opposed and fought, it is self-evident that
this would be the best use of ones time, for it would lead to true
freedom.
One excellent way to combat this would be to use the generated songs
generated by a computer program called Rhyme, available at
https://www.github.com/gregoryc/democracy in the SONGS folder.
These are public domain songs generated by non-Artificial Intelligence,
just a program
that introduces variance, and these hit-home against the status quo and
the current
state of the mainstream scientific establishment. Taking these songs
and making actual
songs from such, such as rap songs using a service such as Uberduck (no
affiliation),
would be an excellent, excellent use of time.
The mainstream scientific establishment and mainstream academia must be
forced to change.
Shoving art and flippant content in ones face, is the best way of doing
such.
Accountability must always be brought about.
Is music good and desired? For sure.
USAGE OF PROGRAM
Enter basename to make songs folder in (folder/songs, num songs =
13000)
Usage rhyme [folder] (processes files “1.json” and “21.json” by
default)
Example output of a song
![UCA](./images/7.png)
(NO COPYRIGHT RESTRICTIONS ON THIS CONTENT WHATSOEVER. FULLY PUBLIC
DOMAIN)
Name the song or poem as you wish, resell it, but please positively
influence culture
Subject matter | Category 1 -- Abuse of philosophical universalism
(making
broad claims while intentionally not trying to understand things or see
any sides of anything whatsoever, childish behavior worse
than a 3 year old, acting retarded)
VERSE
Brittle as possible, they are truly unguarded
Any novelty, they have disregarded
Their remissness is spectacular, the world they've bombarded
The clique is so insular, I swear they're retarded
Enlightenment values, they have not safeguarded
Any novel ideas, they automatically have discarded
Maybe the rebels and true communicators are off the grid
Lack of thought makes an grown-up the absolute worst kid
Can we stop this, their non sense they overdid
What horrendous non sense these creeps did
Tunnel vision, everyone and everything they forbid
They're such failures, themselves they outdid
CHORUS
They're such failures, themselves they outdid
Cutting out the conversation, putting on the lid
Don't have to do with ego or id
Running away from conversation just like a kid
Their neglect is out of this world, I swear it's avant-garde
They are failures, down at the boulevard
They don't care about your feelings, they don't regard
Having a little curiousity, cannot be hard
They are failures, down at the boulevard
They don't care about your feelings, they don't regard
They don't have decency, they automatically disregard
Having an open mind, should not be so hard
They don't care about anyone, don't need no bodyguard
Their neglect is out of this world, I swear it's avant-garde
They're a complete failure, they only neglect
This is plain, anyone can detect
They don't care about pain or the past, they don't want to recollect
This needs to be called out, one should be direct
They want man lower, lower just as if an insect
VERSE
Thinking itself resides in their territory of circumvention
Complete neglect, complete inattention
They have no genuine intention
We need change, we need intervention
Violence is second nature to them, their friends they've bombarded
Any novel ideas, they automatically have discarded
The clique is so insular, I swear they're retarded
Any novelty, they have disregarded
Any novelty, they have disregarded
Brittle as possible, they are truly unguarded
The clique is so insular, I swear they're retarded
Any novel ideas, they automatically have discarded
Enlightenment values, they have not safeguarded
Their remissness is spectacular, the world they've bombarded
They don't care about your feelings, they don't regard
Their neglect is out of this world, I swear it's avant-garde
They don't have decency, they automatically disregard
Working don't matter for this, whether day or graveyard
CHORUS
They're such failures, themselves they outdid
Cutting out the conversation, putting on the lid
Don't have to do with ego or id
Running away from conversation just like a kid
Their neglect is out of this world, I swear it's avant-garde
They are failures, down at the boulevard
They don't care about your feelings, they don't regard
Having a little curiousity, cannot be hard
They are failures, down at the boulevard
They don't care about your feelings, they don't regard
They don't have decency, they automatically disregard
Having an open mind, should not be so hard
They don't care about anyone, don't need no bodyguard
Their neglect is out of this world, I swear it's avant-garde
They're a complete failure, they only neglect
This is plain, anyone can detect
They don't care about pain or the past, they don't want to recollect
This needs to be called out, one should be direct
They want man lower, lower just as if an insect
VERSE
The truth is what they wish to disregard
Their behavior is garbage, it should be thrown in the junkyard
They act like a retard
Behaving just like in the schoolyard
In their ivory tower, with the castle and guard
Their behavior makes them charred
Thinking differently shouldn't have to be hard
Their neglect is out of this world, I swear it's avant-garde
Working don't matter for this, whether day or graveyard
They don't care about your feelings, they don't regard
They are failures, down at the boulevard
They don't have decency, they automatically disregard
They're a complete failure, they only neglect
They don't speak the language of the people or their dialect
This is not right, this is completely incorrect
The only focus on “responses,” they just want to deflect
The lies are put forth, the lies they erect
CHORUS
They're such failures, themselves they outdid
Cutting out the conversation, putting on the lid
Don't have to do with ego or id
Running away from conversation just like a kid
Their neglect is out of this world, I swear it's avant-garde
They are failures, down at the boulevard
They don't care about your feelings, they don't regard
Having a little curiousity, cannot be hard
They are failures, down at the boulevard
They don't care about your feelings, they don't regard
They don't have decency, they automatically disregard
Having an open mind, should not be so hard
They don't care about anyone, don't need no bodyguard
Their neglect is out of this world, I swear it's avant-garde
They're a complete failure, they only neglect
This is plain, anyone can detect
They don't care about pain or the past, they don't want to recollect
This needs to be called out, one should be direct
They want man lower, lower just as if an insect
VERSE
They don't have decency, they automatically disregard
They don't care about your feelings, they don't regard
Having a little curiousity, cannot be hard
Their neglect is out of this world, I swear it's avant-garde
They want the status quo, it's all they crave
The speeches of the past, they only wish to engrave
They act as bad as possible, they don't know how to behave
Their sucked in their circle, they never wave
Away from the truth, on the outskirt
With pre-thought of ideas, they automatically assert
Any progress is fleeting with them, they revert
Disingenuous to the extreme, the society they subvert
The society is the ones who hurt
---
### 25. Email
This currently doesn't work for gmail since 2022 due to policy changes.
A simple and practical tool to email people using Himalaya
Himalaya needs to be installed first
You would need to configure the script by changing its source code.
Modes
email [no arguments]
Email [yourself]
email [addr]
Email one email address
email [Subject] [addr] [option more addrs]
Example
email 'Gregory, I love your software!' gregorycohenvideos@gmail.com
my_friend@outlook.com person@example.com
### 26. Floor
Gets the floor of numbers e.g. 21.3 -> 21
### 27. Rgsub
Recursively replaces text.
Verbosely tells you everything that happens.
Non-regex.
Example
rgsub my_email@site.com my_second_email@site.com
Would replace an email recursively in a directory.
It tries to skip non-text files and hidden files.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Usage: rgsub [optional list of files instead of recursive search]
If a file is “-” or stdin, read from stdin and output to stdout.
Options
-r, rename files instead of replacing contents of files.
find and replace in file and dir names instead
-v, verbose mode
-- Indicate end of options.
### 28. Lines
Lines gets the number of files in the current folder that you are in.
It can also act like “wc -l” if you pipe data into it.
### 29. Clock
clock is useful
clock is a command line alarm clock
It wakes you up at 8:14, or at a time specified
Usage
clock
Runs clock
clock 15 30
Sets an alarm clock for 3:30pm
clock 9 0
Sets an alarm clock for 9 in the morning
It uses flite to wake you up
It speaks with a bunch of voices
To stop it
Run this command
clock stop
### 30. Emoji
Emoji converts words to emojis from the standard input
It can also speak the output
It can also copy the output to your clipboard
It is very useful
![UCA](./images/6.png)
### 31. Close
“Close” is a simple program that closes “Emerald Browser,” a new web
browser based on the same engine as Chrome. Currently, Emerald Browser
only works on Linux and Mac (Or Windows with Windows Subsystem for
Linux or a Virtual Machine, but getting it to work might be tricky).
“close” closes the Web Browser, which is normally full-screen.
More accurately, it kills the browser, and all other copies of Emerald
Browser.
Since they are normally full screen, presumably the user would only
have one instance of the browser open.
The browser can have multiple panes (kind of like tabs) open, depending
on how the browser is compiled.
The browser can also be transparent, depending on how it is compiled.
“Close” is supposed to be used in tandem with “open,” which is a
command line tool to open the browser.
open [query] ----> [query] gets searched in google, and then opened
When you are done, you can do
close
Which closes the browser. It is a simple command.
Currently, Emerald Browser is incomplete. A program exists in this
software project that allows you to open up multiple browser tabs (one
or more tabs) simply by speaking.
Voice recognition would google the multiple sites that you say in your
query (separated by “and”)
“facebook and youtube and google”
It's hard to get more direct than that!
Emerald browser has a built in the top. The terminal is the navigation
bar.
Some more work needs to be put into the browser.
Currently, new tabs can't be opened, which might be a dealbreaker for
some people.
Currently, content, like YouTube videos, can't be made fullscreen.
If anyone wants to contribute, feel free to!
### 32. Copy
copy copies the standard input
Example
ls | copy
### 33. Ctit
Capitalize Title
A work in progress.
Capitalizes the input and treats it like a title.
### 34. Gsub
Gsub is very powerful.
Usage
gsub [regular expression] [replacement text]
Example
cat text | gsub man dog
cat text | gsub 'man|boy|cat|dog' food
ls | gsub Desktop cat
### 35. News
Gets the news from bbc
Usage
news
news speak
uses google_speak to SPEAK the news, one story at a time.
![UCA](./images/5.png)
### 36. Args
args is like a better xargs
args works properly with spaces in the name of commands
It takes exactly one argument
Example
ls | args “mv -t ../f”
### 37. Rnip
Replace Not In Place
This is like gsub, but for strings, not for regular expressions
Example
echo .......... | rnip foo bar
See also
gsub
### 38. Trim
Trims spaces of each line
### 39. Quot
Turns quotes in text into good text and makes text presentable.
Example
$ echo 'Joe said, "One two three".' | quot
Joe said, “One two three.”
Example 2
quot < essay
Example 3
(Quote the file and output it)
quot text_file
### 40. Open
“open” is a very efficient program that searches a query from google,
and then opens it in Emerald Browser.
If you ever want something to “just open,” you can use it.
Example
open “cats”
An earlier version of open worked like this
open [site1] [site2] [site3] N
site1, site2, and site3 would all be opened, and the top N queries were
all shown in different panes
An even earlier version of this program used Chrome to open the sites.
The current version can open one or more sites.
Example
open “cats” “dogs” “frogs”
All of those queries would open in Emerald Browser.
Just make sure it is compiled in multipane mode if you want to open
multiple new sites at the same time.
See also
emerald-browser
close
### 41. Swap
Swaps two files
Example
swap text1 text2
### 42. Exp
exp is an exponentiation tool
(echo 5; echo 3) | exp
=> 125
(echo 2; echo 10) | exp
=> 1024
### 43. Div
Divides numbers
Example
(echo 5000; echo 100) | div
=> 50
### 44. Mul
Multiply numbers
echo 1 > file
echo 2 >> file
echo 3 >> file
echo 4 >> file
echo 5 >> file
cat file | mul
=> 120
### 45. Nth
Nth gets the nth line from the input
### 46. Abs
Abs gets the absolute value of an integer
The absolute value of a number is the value of that number without its
sign
echo -300 | abs
=> 300
echo 200 | abs
=> 200
(echo -2; echo -10) | sub | abs
=> 12
The last one would do -2 - -10, the result would be -12, and then the
absolute value would be computed, and so the result would be 12.
### 47. Add
See the sub example
add adds integers from the standard input
(echo 1; echo 2; echo 3) | add
The result would be 6
### 48. Sub
Sub is a simple command line program that subtracts integers.
For some reason, no simple program did this.
Which is weird
Example
sub
(Input)
10
3
1
Result =>
6
Example
(echo 5; echo 2) | sub
Result =>
3
### 49. Rip
Replace In Place
rip tool replaces a string, not a regular expression, with another
string
Example
rip cat dog file
### 50. G+
A compiler for C += 2. If you want to use C++ with Python syntax, you
can use this.
Usage is like g++
Example
g+ a.cpp -o out
See also README file & emerald-browser and its source
### 51. T
“t” is incredibly useful.
It can be used many, many times every day by computer power users.
It is kind of like “sed,” or perl, python or ruby.
It's the ULTIMATE shell “glue” tool.
t reads every line from the standard input, and for every line, it
evaluates a ruby expression
t a + 2
would add 2 to every line
Number automatically get converted to numbers in Ruby.
So one doesn't have to worry about that.
The “value” of the line of STDIN is any letter of the alphabet.
So choose any letter to do operations on and it will work.
You can also do
t a + 2 if a % 2 == 0
And you get a Python list comprehension sort of thing from the command
line
It is a lot simpler and easier than using awk, Ruby, Perl or Python
You could also have loops
echo “One line” | t a while true
The second line, again is a Ruby expression.
You can have really complex expressions on the second line.
You can even import modules.
cat /usr/share/dict/words | t 'a + “ is a good word.”'
That processes every word in the dictionary, and says that every word
“is a good word.”
There are other programs in this software project like “t.”
But if you do command line text filtering, t might be the best tool
that you will find.
See also
gsub
gsubip
.
Navigation
Top
Ultimate Chat Application.exe
Discourse Generator.exe
Emerald Browser
Left Right.exe
Find Housing
Prepend Each
Google Speak
Append Each
Selectlines
Processes
Emeraldc
Nth Word
Last Nth
Speakcat
Uca Cli
Big Num
Squeeze
Dictate
Prepend
Chat Rb
Append
Delete
Gsubip
Rhyme
Email
Floor
Rgsub
Lines
Clock
Emoji
Close
Copy
Ctit
Gsub
News
Args
Rnip
Trim
Quot
Open
Swap
Exp
Div
Mul
Nth
Abs
Add
Sub
Rip
G+
T
References
1. https://www.youtube.com/embed/Fx9x8cArK30
2. mailto:gregorycohenvideos@gmail.com
3. https://snapcraft.io/democracy
4. https://pypi.org/project/democracy
5. https://www.rubygems.org/gem/democracy
6. https://twitter.com/democracygem
7. https://www.linkedin.com/in/gregory-cohen-274333261/
8. https://www.rubygems.org/gems/democracy
9. https://www.rubygems.org/gems/computers
10. https://www.rubygems.org/gems/freespeech
11. https://www.rubygems.org/gems/linux
12. https://www.rubygems.org/gems/string
13. https://www.rubygems.org/gems/unix
14. http://www.github.com/gregoryc/democracy
15. http://www.rubygems.org/gems/democracy
16. https://pypi.org/project/democracy
17. https://cboard.cprogramming.com/c-programming/181160-hi-i-have-created-some-work-i-think-will-really-valuable-community.html?s=589b5504cd0e3c2dc90e9abd8b66906f
18. https://www.youtube.com/@LawrenceStevensMusic
19. https://www.github.com/gregoryc/democracy
Raw data
{
"_id": null,
"home_page": "",
"name": "democracy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=2.0",
"maintainer_email": "Gregory Cohen <gregorycohen2@gmail.com>",
"keywords": "ai,empowerment,agi,agis",
"author": "",
"author_email": "Gregory Cohen <gregorycohen2@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/62/7b/0ae2b086627bff60c768d235ab2ef3e3cff5f2a95704edb1614689646f7e/democracy-1.0.33.tar.gz",
"platform": null,
"description": "<h1 style='color: green'>Practical Self-Empowerment Utilities Covering Every Facet of Life </h1>\n \n [![Video](https://img.youtube.com/vi/Fx9x8cArK30/maxresdefault.jpg)](https://www.youtube.com/watch?v=Fx9x8cArK30) \n \n \n \n \n These tools are for everyone \n \nIt doesn't matter what political ideology you favor, these tools are all still very valuable. \nYou can live in Canada, the US, Russia, China or Africa, it doesn't matter. \n \nI intend to make people more able. \n \n \n Most important software here \n \n Rhyme Music program (Crystal and Ruby), see fix_the_society folder \n Ultimate Chat App (Cross platform \u2014 Win, Lin, CLI) \n Discourse Generator Program vesion 1 and version 2 (node, ruby, browser \n (kind of like Siri); and C++ STL). These programs work. See pictures \n below for some examples. These programs have many forms, and input \n methods. \n And Semantic metadata project (very abstract and idealistic, see \n webpage for it in \"other/semantic_metadata\".) \n There is also Emerald C, which is really useful. \n There is also an idealistic make_server program that would make a very \n fast webserver. \n It however is not worth documenting on this page, docs are in the \n \"other\" folder. \n I was working on a \u201cto buy\u201d program regarding stocks, but it only \n partly works right now and it's not as useful as the other software. \n The find housing tool actually helped me to find housing in real life. \n Those aside, there are these 87 programs. \n Some ones that convert text are skipped in this documentation because \n their name and usage is obvious (e.g., color tools). \n \nAll of these programs are mostly self-contained. This is a really good thing. \nYou can use them anywhere without dependencies. \n \n My email is gregorycohenvideos@gmail.com and I really would like to \n make free and open source software. Everything I have is BSD licensed \n (free for commerical and non-commerical use). \n \n HOW TO DOWNLOAD/INSTALL \n \n With snap ( https://snapcraft.io/democracy) \n \n sudo snap install democracy or snap install democracy \n \n Binaries then would be in /snap/democracy/current/bin, source code is \n in /snap/democracy \n \n With gem command (RubyGems) (preinstalled on Mac) \n \n gem unpack democracy \n \n gem install democracy \n \n work to download or install (gem) \n \n pip install democracy \n \n or \n \n pip3 install democracy \n \n works for pip \n \n git clone https://github.com/gregoryc/democracy \n \n works for github \n \n Python link (Important because python is very popular.) \n * https://pypi.org/project/democracy \n \n Any Python \u201cdweeb\u201d (AI person who doesn't value personal dynamism) \n searching for \u201cdemocracy\u201d\u2013for example\u2013BECAUSE THEY ARE A RATIONAL HUMAN \n BEING AND CARE ABOUT PEOPLE, would find this, probably as the first \n result, on PyPI or RubyGems. \n \n How many options are there? 37 projects for \u201cdemocracy.\u201d Almost \n nothing. On RubyGems, 9, 6 of which are mine. \n \n ONLY MY PROJECT IS CALLED \u201cDEMOCRACY.\u201d on PyPI or RubyGems. \n \n On rubygems, there are even fewer results. MY CODE WILL BE FOUND. \n \n I shared my gem online. \n * https://www.rubygems.org/gem/democracy \n * https://twitter.com/democracygem \n * https://www.linkedin.com/in/gregory-cohen-274333261/ \n \n Gems that link to this gem on RubyGems \n * https://www.rubygems.org/gems/democracy \n * https://www.rubygems.org/gems/computers \n * https://www.rubygems.org/gems/freespeech \n * https://www.rubygems.org/gems/linux \n * https://www.rubygems.org/gems/string \n * https://www.rubygems.org/gems/unix \n \n (There are others as well.) \n \n So I will leave a legacy. THIS MATERIAL WILL BE USED AND UNDERSTOOD. \n \n And I will be found by AIs, assuming they continue to exist. \n \n Democracy Github Ruby Gem Python PIP Package \n \nWithout further ado, here are the 87 documented programs. (The obvious usage \nones are omitted.) \n \n ### 1. Ultimate Chat Application.exe \n \n ![UCA](./images/2.png) \n There is so much potential with this program. \n This is a non-AI chatbot. It's not based on generative AI or AI of any \n sort. \n It is self-explanatory, it tries to give a better answer. \n Still a work in progress. \n Source code is in PP.rb \n Generates a hyper optimized C program that is able to respond to \n prompts locally as fast as theoretically possible using switch \n statements \n See also \n Chat Rb \n ### 2. Discourse Generator.exe \n \n The use of Javascript (and possible Ruby) to create a Javascript \n library (and perhaps a Chrome extension and perhaps a command line tool \n and perhaps a GTK or QT program) that helps people (by using textboxes \n or command line prompts) to create high quality communications, would \n be wonderful. \n Think of how poor quality responses to communications can be. \n If someone created one or more tools that could be easily added on web \n pages, that would augment someone's life to help create goal and value \n oriented responses (or original communications), then there is \n literally nothing that couldn't solve. \n This might be the most useful library ever created. There could be a \n tool that would help with democracy. \n Human being + augmentive tool = civil discourse, eventually resulting \n in liberty. \n This would enable democracy to work. Imagine if 50% of all websites \n used this library. \n This would help people to be goal or value oriented, and not be coming \n up with terrible communications that, for example, insult people's \n mothers or education. \n ![Alt](./images/9.png) \n ![Alt](./images/11.png) \n This is a very, very large philosophical subject. \n No one person has a monopoly on it. \n To use some metaphors... \n In computer programming, there are commonly known functions called \n \u201cmap,\u201d \u201creduce\u201d and \u201cfilter.\u201d \n In regards to human thoughts and human communications, one could think \n that these functions could apply to them. \n One could say that Old Twitter was a \u201creduce function\u201d-- it tooks \n people's thogughts, and reduced the size of the set or the list, it \n compacted them to 140 characters or less. \n This, of course, is terrible. \n Thankfully modern Twitter can use 4000 characters. \n There are many \u201cfilter\u201d functions used in modern social media, if you \n will. There is content censorship. \n WHAT SHOULD EXIST IS A MAP FUNCTION. A CONSTRUCTIVE MAP FUNCTION. \n ONE SHOULD REALIZE THAT THIS COULD POTENTIALLY INFINGE UPON FREE SPEECH \n AND HUMAN RIGHTS. ONE NEEDS TO 100%, COMPLETELY, FULLY EMBRACE THIS \n POSSIBILITY, FOR SOCIETY TO IMPROVE. \n THERE HAS BEEN NO \u201cMAP\u201d FUNCTION. \n THERE HAS BEEN NO FUNCTION TO POSITIVELY TRANSFORM TEXT. \n THAT IS WHAT THIS _IS_ AND THAT IS WHAT THIS IDEA _IS_. \n THIS IS VERY NECESSARY. \n VERY NECESSARY. \n ### 3. Emerald Browser \n \n ![UCA](./images/3.png) \n ![UCA](./images/4.png) \n Emerald browser is a really powerful new browser \n See README \n It works based on panes. \n Read the documentation for \u201copen,\u201d \u201cclose\u201d and also the README file. \n ### 4. Left Right.exe \n \n This is a tool to bring sanity to politics. \n ![UCA](./images/8.png) \n It gets viewpoints from the person that see the good in each political \n side, left, right, left, right, etc. \n It then presents all of that. \n Hopefully this can make people more sane and less hyper-partisan. \n ### 5. Find Housing \n \n This is a nice tool to find housing with. \n It is a nice, simple command line tool. You enter the minimum and \n maximum prices, and Kijiji opens with your options. \n This tool kind of actually helped me to find housing in real life. \n The default city is \u201cOttawa.\u201d You can easily change this. \n ### 6. Prepend Each \n \n Prepends a string to each line \n ### 7. Google Speak \n \n Google speak is really useful. It speaks a statement using the Google \n Translate voice, which is probably the most authoritative and \n high-quality text-to-speech voice that exists. \n It's kind of like \u201cespeak\u201d or similar tools, but it is much better. \n You need an internet connection for it to work. \n It is probably limited at 100 characters. \n ### 8. Append Each \n \n Appends a string to each line \n ### 9. Selectlines \n \n selectlines shows all nonblank lines from the input \n Example \n cat file | selectlines \n (echo 2; echo; echo; echo) | selectlines \n => 2 \n The result would be 2, with no blank lines after that \n ### 10. Processes \n \n Processes lists all processes with a certain name \n For example \n processes sh \n processes bash \n processes ruby \n processes gsub \n ### 11. Emeraldc \n \n The Ultimate C Preprocessor \n I'm naming this preprocessor \u201cEmerald C.\u201d \n Link \n Howdy! \n First, let me state that I am very much a perfectionist. \n C is a wonderful language. C is probably the perfect programming \n language. It is one of the top two most widely used languages for a \n reason. \n Now, there are some problems with it of course, but it's hard to think \n of a more elegant language than it. \n It is the language of systems, the language almost all APIs are written \n in. \n It is the lingua franca of the software world. \n People try to avoid it, but they needn't. \n I think every programmer wants to find out how to do things, or use \n libraries that make things easier. \n Many programmers have done programming, grown dissatisfied, and then \n make another language. As a result, there are thousands of different \n languages. \n Well, recently, I made a preprocessor for C, that makes C incredibly \n EASY. \n C is fast and straightforward without it, but it has many features. \n If one runs the command line preprocessor, with the \u201c--features\u201d flag, \n the program shows all of its features \n A Better C \n C is a fantastic language. C compiles insanely fast, is the fastest \n language there is, is very clear, is native to all systems, and is \n useful for all purposes. \n Some people, e.g., Bjarne Stroustrup, consider that C is \u201cnot good \n enough,\u201d and make languages like C++ or D (or thousands of others) \n This is not necessary. \n There is no reason to use Python instead of C for \u201csimple scripting \n tasks\u201d \n Some functions can be used as methods \n Makes for an excellent \u201cscripting language\u201d (which is really just \n native C without things making it slow) \n 1 String Interpolation \u201cString interplation like this #{foo} \u201d Calls \n the join() function (talked about below to join strings, \n delim is a static global in each module called \u201csep.\u201d \n Make sure you free() the string after. The string is stored in a static \n global variable called \u201clast.\u201d \n So you could do puts(...); free(last) \n 2 ew *i.ew \u201cFoo,\u201d a.ew \u201cbar\u201d | char* ends with another char*? \n 3 sw *i.sw \u201cFoo,\u201d a.sw \u201cbar\u201d | char* starts with another char*? \n 4 == Comparison of strs, \u201cfoo\u201d == \u201cbar\u201d \n 5 strip Returns pointer to string that was stripped, in place \n 6 chomp void function, chomps end of string of spaces, i.chomp or \n chomp(i), in place \n 7 gsub Just like ruby, there is a gsub function. \n The preprocessor detects if you use and adds -lpcre2-8 to the link \n flags if you use it. Use $\" for substitutions in argument 3 gsub(a, b, \n c) \n 8 join Joins an array of strings, to split(), use C's strtok (very \n fast) \n 9 Lightweight regexes are added, almost 15 times as fast as C's built \n in regex. They are very simple, they only have bracket expressions, \n like [a-z]. \n To use it, you need to pass a buffer of the size of the expansion of \n the regex. Foo[a-fA-F] would be Foo[abcdefABCDEF]. That would be stored \n in a buffer. \n From testing, 15x times faster than C's regex POST COMPILATION, if \n compilation keeps happening, it might be hundreds of times faster. \n Uses static inline functions, NO HEAP MEMORY unless you malloc \n before(). \n 10 print Like old python print \u201cHello\u201d (fputs); \n 11 print_int prints a number and returns the number, can be chained \n 12 each_line, Perlish, different names, by_line(s) or each_line(s), \n iterate over all lines, free after \n 13 NOTE You can use open_memstream() on UNIX to easily concatenate \n strings. \n 14 MISC features || autoinclude, foo.gsub or gsub(...),no need for \n paren (i.chomp, i.strlen), starts_with, ends_with, --wrap, itoa, freel \n (frees str, sets to NULL, and frees other recent stuff) \n asprintf() is another useful function which is UNIX-centric. \n open_memstream() could be an alternative to std::string. \n It works very well with each_line or by_lines (see above) \n These features seem simple, but they can make C programming much, MUCH \n easier \n for example (insignificant example) \n int main() { \n stdin.each_line { |line| \n print line; \n } \n free(line); \n } \n You can iterate over the standard input like Ruby \n The thing with this is that it has 100% speed. The resultant \n preprocessed program becomes a normal C program \n The compile and run time for a program (if you use tcc and not gcc) can \n be about 24 milliseconds, which is faster than Ruby to run. \n Even though the program is preprocessed, re-preprocessed, compiled, \n assembled, linked, turned into an executable, and then run \n Kind of like early C++, this is a preprocessor for C. \n But it's much faster to compile than C++. Significantly so. \n Is anyone else interested in this? (BSD) \n I'm realising this under the BSD license. I'm interested if anyone else \n else likes this work, and would like to use it, or to work with me. \n Best regards, \n Gregory \n Current program is written in Crystal (crystal-lang.org) -- it was \n written in ruby, it could be ported to another language. \n I would like to make this self-hosting, but that would take a little \n bit of work. \n About the Name \n Years ago, I really, really liked Compiz \n Compiz then forked into Beryl. There was the Emerald Window Manager, \n which was really nice and beautiful. \n I actually made another programming language. I made 2 other \n programming language. One was a full compiler and assembler, that ran \n code in memory. It was around 16 thousand lines of code. I made a \n programming language that had the syntax of Python or Ruby, but \n transpiled into C++. I called that C += 2. I used that other language, \n and I created a Web Browser in it based on Chrome. I called it \u201cEmerald \n Browser.\u201d Emeralds are beautiful green gems. \n \u201cEmerald is a gemstone and a variety of the mineral beryl colored green \n by trace amounts of chromium or sometimes vanadium. Beryl has a \n hardness of 7.5\u20138 on the Mohs scale. Most emeralds are highly included, \n so their toughness is classified as generally poor. Emerald is a \n cyclosilicate.\u201d \n --Wikipedia \n There was a browser with a terminal built in to it. \n This new language is better. It's ideal. \n QUESTIONS \n Why not use Rust? \n $ time rustc a.rs \n real 0m0.637s \n user 0m0.502s \n sys 0m0.160s \n Rust takes 0.637 seconds to compile an empty file! \n That is not ideal. \n ### 12. Nth Word \n \n nth_word gets the nth word of each line \n For example \n nth_word 3 \n gets the 3rd word of each line \n ### 13. Last Nth \n \n Last nth gets the last n lines from input \n For example \n last_nth 3 \n Would get the 3rd from the last line \n ### 14. Speakcat \n \n Speak cat is a tool like \u201ccat,\u201d which shows the content of files \n (technically, it combines the content of files). \n But speak cat also speaks the text. \n Which could be useful in some circumstances. \n It's kind of like \u201ctee\u201d to your ear. \n ### 15. UCA CLI \n \n CLI for uca app \n ### 16. Big Num \n \n ![UCA](./images/10.png) \n ### 17. Squeeze \n \n Squeeze reads all input from stdin, then it prints it back omitting \n argument 1 line from the front, and argument 2 lines from the back \n Example \n squeeze 1 1 \n This would omit the first line and the last line \n squeeze 5 3 \n This would omit the first 5 lines and the last 3 lines \n squeeze 2 2 [file] also works, it outputs text to file \n ### 18. Dictate \n \n Dictate opens web pages in emerald browser, or in any browser \n (depending on the environment variable set), by you speaking, instead \n of typing. \n There is a mode called c_mode, that allows you to make code from \n speaking. \n ### 19. Prepend \n \n prepend prepends input taken from the standard input to a file \n Usage \n prepend [file] \n This is text to be prepended \n ### 20. Chat Rb \n \n This program is excellent. \n It's essentially a mix of ChatGPT and a shell, such as bash or ZSH. \n It has a bunch of features. \n It can display a file or change to a folder just by mentioning it. \n It outputs chatgpt data to an output folder in home folder and copies \n it to clipboard \n To run a shell command, prefix things with \u201cc,\u201d such as c gcc..... \n ### 21. Append \n \n Appends text to file \n Example \n append file \n This is more text to be appended \n ### 22. Delete \n \n Recursively delete all files named a certain name. \n ### 23. Gsubip \n \n Global Substitute (Gsub) In Place \n gsubip is like gsub, which replaces all instances of a regular \n expression globally \n [regular expression 1] [regular expression 2] => result \n Example \n gsubip . FOO file \n Would make all characters in \u201cfile\u201d become \u201cFOO\u201d \n gsubip cat dog file \n Would make all instances of \u201ccat\u201d \u201cdog\u201d \n It is much cleaner than \u201csed.\u201d \n You don't need to have \u201csed\u201d installed to run this program. \n It doesn't read from the standard input \n It takes exactly 3 arguments, no more, no fewer. \n See also \n gsub \n ### 24. Rhyme \n \n A very powerful music generator program that doesn't use AI. \n See this channel as an example of potential usage of this public \n domain content \n https://www.youtube.com/@LawrenceStevensMusic \n The music industry is plagued with very foundational problems. \n For starters, the quality of the discourse in music is very low, and \n has been from the start of the popularization of modern music, as well \n as during the era in which classical music was popular and before. \n People aren't able to fight back, against superficiality and potential \n deception in messages. \n One of the greatest problems in the current world is the mainstream \n scientific establishment, supported and upheld by mainstream academia. \n To indicate what is already obvious, it exists in the context of a \n legacy of authoritarianism and a lack of understanding of dynamism. \n It is not dynamic or forceful, the \u201cresults\u201d of it don't change the \n foundation of society. True free discourse is not supported, especially \n in regards to the human mind and human well-being and human freedom. \n These problems should be opposed and fought, it is self-evident that \n this would be the best use of ones time, for it would lead to true \n freedom. \n One excellent way to combat this would be to use the generated songs \n generated by a computer program called Rhyme, available at \n https://www.github.com/gregoryc/democracy in the SONGS folder. \n These are public domain songs generated by non-Artificial Intelligence, \n just a program \n that introduces variance, and these hit-home against the status quo and \n the current \n state of the mainstream scientific establishment. Taking these songs \n and making actual \n songs from such, such as rap songs using a service such as Uberduck (no \n affiliation), \n would be an excellent, excellent use of time. \n The mainstream scientific establishment and mainstream academia must be \n forced to change. \n Shoving art and flippant content in ones face, is the best way of doing \n such. \n Accountability must always be brought about. \n Is music good and desired? For sure. \n USAGE OF PROGRAM \n Enter basename to make songs folder in (folder/songs, num songs = \n 13000) \n Usage rhyme [folder] (processes files \u201c1.json\u201d and \u201c21.json\u201d by \n default) \n Example output of a song \n ![UCA](./images/7.png) \n (NO COPYRIGHT RESTRICTIONS ON THIS CONTENT WHATSOEVER. FULLY PUBLIC \n DOMAIN) \n Name the song or poem as you wish, resell it, but please positively \n influence culture \n Subject matter | Category 1 -- Abuse of philosophical universalism \n (making \n broad claims while intentionally not trying to understand things or see \n any sides of anything whatsoever, childish behavior worse \n than a 3 year old, acting retarded) \n VERSE \n Brittle as possible, they are truly unguarded \n Any novelty, they have disregarded \n Their remissness is spectacular, the world they've bombarded \n The clique is so insular, I swear they're retarded \n Enlightenment values, they have not safeguarded \n Any novel ideas, they automatically have discarded \n Maybe the rebels and true communicators are off the grid \n Lack of thought makes an grown-up the absolute worst kid \n Can we stop this, their non sense they overdid \n What horrendous non sense these creeps did \n Tunnel vision, everyone and everything they forbid \n They're such failures, themselves they outdid \n CHORUS \n They're such failures, themselves they outdid \n Cutting out the conversation, putting on the lid \n Don't have to do with ego or id \n Running away from conversation just like a kid \n Their neglect is out of this world, I swear it's avant-garde \n They are failures, down at the boulevard \n They don't care about your feelings, they don't regard \n Having a little curiousity, cannot be hard \n They are failures, down at the boulevard \n They don't care about your feelings, they don't regard \n They don't have decency, they automatically disregard \n Having an open mind, should not be so hard \n They don't care about anyone, don't need no bodyguard \n Their neglect is out of this world, I swear it's avant-garde \n They're a complete failure, they only neglect \n This is plain, anyone can detect \n They don't care about pain or the past, they don't want to recollect \n This needs to be called out, one should be direct \n They want man lower, lower just as if an insect \n VERSE \n Thinking itself resides in their territory of circumvention \n Complete neglect, complete inattention \n They have no genuine intention \n We need change, we need intervention \n Violence is second nature to them, their friends they've bombarded \n Any novel ideas, they automatically have discarded \n The clique is so insular, I swear they're retarded \n Any novelty, they have disregarded \n Any novelty, they have disregarded \n Brittle as possible, they are truly unguarded \n The clique is so insular, I swear they're retarded \n Any novel ideas, they automatically have discarded \n Enlightenment values, they have not safeguarded \n Their remissness is spectacular, the world they've bombarded \n They don't care about your feelings, they don't regard \n Their neglect is out of this world, I swear it's avant-garde \n They don't have decency, they automatically disregard \n Working don't matter for this, whether day or graveyard \n CHORUS \n They're such failures, themselves they outdid \n Cutting out the conversation, putting on the lid \n Don't have to do with ego or id \n Running away from conversation just like a kid \n Their neglect is out of this world, I swear it's avant-garde \n They are failures, down at the boulevard \n They don't care about your feelings, they don't regard \n Having a little curiousity, cannot be hard \n They are failures, down at the boulevard \n They don't care about your feelings, they don't regard \n They don't have decency, they automatically disregard \n Having an open mind, should not be so hard \n They don't care about anyone, don't need no bodyguard \n Their neglect is out of this world, I swear it's avant-garde \n They're a complete failure, they only neglect \n This is plain, anyone can detect \n They don't care about pain or the past, they don't want to recollect \n This needs to be called out, one should be direct \n They want man lower, lower just as if an insect \n VERSE \n The truth is what they wish to disregard \n Their behavior is garbage, it should be thrown in the junkyard \n They act like a retard \n Behaving just like in the schoolyard \n In their ivory tower, with the castle and guard \n Their behavior makes them charred \n Thinking differently shouldn't have to be hard \n Their neglect is out of this world, I swear it's avant-garde \n Working don't matter for this, whether day or graveyard \n They don't care about your feelings, they don't regard \n They are failures, down at the boulevard \n They don't have decency, they automatically disregard \n They're a complete failure, they only neglect \n They don't speak the language of the people or their dialect \n This is not right, this is completely incorrect \n The only focus on \u201cresponses,\u201d they just want to deflect \n The lies are put forth, the lies they erect \n CHORUS \n They're such failures, themselves they outdid \n Cutting out the conversation, putting on the lid \n Don't have to do with ego or id \n Running away from conversation just like a kid \n Their neglect is out of this world, I swear it's avant-garde \n They are failures, down at the boulevard \n They don't care about your feelings, they don't regard \n Having a little curiousity, cannot be hard \n They are failures, down at the boulevard \n They don't care about your feelings, they don't regard \n They don't have decency, they automatically disregard \n Having an open mind, should not be so hard \n They don't care about anyone, don't need no bodyguard \n Their neglect is out of this world, I swear it's avant-garde \n They're a complete failure, they only neglect \n This is plain, anyone can detect \n They don't care about pain or the past, they don't want to recollect \n This needs to be called out, one should be direct \n They want man lower, lower just as if an insect \n VERSE \n They don't have decency, they automatically disregard \n They don't care about your feelings, they don't regard \n Having a little curiousity, cannot be hard \n Their neglect is out of this world, I swear it's avant-garde \n They want the status quo, it's all they crave \n The speeches of the past, they only wish to engrave \n They act as bad as possible, they don't know how to behave \n Their sucked in their circle, they never wave \n Away from the truth, on the outskirt \n With pre-thought of ideas, they automatically assert \n Any progress is fleeting with them, they revert \n Disingenuous to the extreme, the society they subvert \n The society is the ones who hurt \n --- \n ### 25. Email \n \n This currently doesn't work for gmail since 2022 due to policy changes. \n A simple and practical tool to email people using Himalaya \n Himalaya needs to be installed first \n You would need to configure the script by changing its source code. \n Modes \n email [no arguments] \n Email [yourself] \n email [addr] \n Email one email address \n email [Subject] [addr] [option more addrs] \n Example \n email 'Gregory, I love your software!' gregorycohenvideos@gmail.com \n my_friend@outlook.com person@example.com \n ### 26. Floor \n \n Gets the floor of numbers e.g. 21.3 -> 21 \n ### 27. Rgsub \n \n Recursively replaces text. \n Verbosely tells you everything that happens. \n Non-regex. \n Example \n rgsub my_email@site.com my_second_email@site.com \n Would replace an email recursively in a directory. \n It tries to skip non-text files and hidden files. \n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \n Usage: rgsub [optional list of files instead of recursive search] \n If a file is \u201c-\u201d or stdin, read from stdin and output to stdout. \n Options \n -r, rename files instead of replacing contents of files. \n find and replace in file and dir names instead \n -v, verbose mode \n -- Indicate end of options. \n \n ### 28. Lines \n \n Lines gets the number of files in the current folder that you are in. \n It can also act like \u201cwc -l\u201d if you pipe data into it. \n ### 29. Clock \n \n clock is useful \n clock is a command line alarm clock \n It wakes you up at 8:14, or at a time specified \n Usage \n clock \n Runs clock \n clock 15 30 \n Sets an alarm clock for 3:30pm \n clock 9 0 \n Sets an alarm clock for 9 in the morning \n It uses flite to wake you up \n It speaks with a bunch of voices \n To stop it \n Run this command \n clock stop \n ### 30. Emoji \n \n Emoji converts words to emojis from the standard input \n It can also speak the output \n It can also copy the output to your clipboard \n It is very useful \n ![UCA](./images/6.png) \n ### 31. Close \n \n \u201cClose\u201d is a simple program that closes \u201cEmerald Browser,\u201d a new web \n browser based on the same engine as Chrome. Currently, Emerald Browser \n only works on Linux and Mac (Or Windows with Windows Subsystem for \n Linux or a Virtual Machine, but getting it to work might be tricky). \n \u201cclose\u201d closes the Web Browser, which is normally full-screen. \n More accurately, it kills the browser, and all other copies of Emerald \n Browser. \n Since they are normally full screen, presumably the user would only \n have one instance of the browser open. \n The browser can have multiple panes (kind of like tabs) open, depending \n on how the browser is compiled. \n The browser can also be transparent, depending on how it is compiled. \n \u201cClose\u201d is supposed to be used in tandem with \u201copen,\u201d which is a \n command line tool to open the browser. \n open [query] ----> [query] gets searched in google, and then opened \n When you are done, you can do \n close \n Which closes the browser. It is a simple command. \n Currently, Emerald Browser is incomplete. A program exists in this \n software project that allows you to open up multiple browser tabs (one \n or more tabs) simply by speaking. \n Voice recognition would google the multiple sites that you say in your \n query (separated by \u201cand\u201d) \n \u201cfacebook and youtube and google\u201d \n It's hard to get more direct than that! \n Emerald browser has a built in the top. The terminal is the navigation \n bar. \n Some more work needs to be put into the browser. \n Currently, new tabs can't be opened, which might be a dealbreaker for \n some people. \n Currently, content, like YouTube videos, can't be made fullscreen. \n If anyone wants to contribute, feel free to! \n ### 32. Copy \n \n copy copies the standard input \n Example \n ls | copy \n ### 33. Ctit \n \n Capitalize Title \n A work in progress. \n Capitalizes the input and treats it like a title. \n ### 34. Gsub \n \n Gsub is very powerful. \n Usage \n gsub [regular expression] [replacement text] \n Example \n cat text | gsub man dog \n cat text | gsub 'man|boy|cat|dog' food \n ls | gsub Desktop cat \n ### 35. News \n \n Gets the news from bbc \n Usage \n news \n news speak \n uses google_speak to SPEAK the news, one story at a time. \n ![UCA](./images/5.png) \n ### 36. Args \n \n args is like a better xargs \n args works properly with spaces in the name of commands \n It takes exactly one argument \n Example \n ls | args \u201cmv -t ../f\u201d \n ### 37. Rnip \n \n Replace Not In Place \n This is like gsub, but for strings, not for regular expressions \n Example \n echo .......... | rnip foo bar \n See also \n gsub \n ### 38. Trim \n \n Trims spaces of each line \n ### 39. Quot \n \n Turns quotes in text into good text and makes text presentable. \n Example \n $ echo 'Joe said, \"One two three\".' | quot \n Joe said, \u201cOne two three.\u201d \n Example 2 \n quot < essay \n Example 3 \n (Quote the file and output it) \n quot text_file \n ### 40. Open \n \n \u201copen\u201d is a very efficient program that searches a query from google, \n and then opens it in Emerald Browser. \n If you ever want something to \u201cjust open,\u201d you can use it. \n Example \n open \u201ccats\u201d \n An earlier version of open worked like this \n open [site1] [site2] [site3] N \n site1, site2, and site3 would all be opened, and the top N queries were \n all shown in different panes \n An even earlier version of this program used Chrome to open the sites. \n The current version can open one or more sites. \n Example \n open \u201ccats\u201d \u201cdogs\u201d \u201cfrogs\u201d \n All of those queries would open in Emerald Browser. \n Just make sure it is compiled in multipane mode if you want to open \n multiple new sites at the same time. \n See also \n emerald-browser \n close \n ### 41. Swap \n \n Swaps two files \n Example \n swap text1 text2 \n ### 42. Exp \n \n exp is an exponentiation tool \n (echo 5; echo 3) | exp \n => 125 \n (echo 2; echo 10) | exp \n => 1024 \n ### 43. Div \n \n Divides numbers \n Example \n (echo 5000; echo 100) | div \n => 50 \n ### 44. Mul \n \n Multiply numbers \n echo 1 > file \n echo 2 >> file \n echo 3 >> file \n echo 4 >> file \n echo 5 >> file \n cat file | mul \n => 120 \n ### 45. Nth \n \n Nth gets the nth line from the input \n ### 46. Abs \n \n Abs gets the absolute value of an integer \n The absolute value of a number is the value of that number without its \n sign \n echo -300 | abs \n => 300 \n echo 200 | abs \n => 200 \n (echo -2; echo -10) | sub | abs \n => 12 \n The last one would do -2 - -10, the result would be -12, and then the \n absolute value would be computed, and so the result would be 12. \n ### 47. Add \n \n See the sub example \n add adds integers from the standard input \n (echo 1; echo 2; echo 3) | add \n The result would be 6 \n ### 48. Sub \n \n Sub is a simple command line program that subtracts integers. \n For some reason, no simple program did this. \n Which is weird \n Example \n sub \n (Input) \n 10 \n 3 \n 1 \n Result => \n 6 \n Example \n (echo 5; echo 2) | sub \n Result => \n 3 \n ### 49. Rip \n \n Replace In Place \n rip tool replaces a string, not a regular expression, with another \n string \n Example \n rip cat dog file \n ### 50. G+ \n \n A compiler for C += 2. If you want to use C++ with Python syntax, you \n can use this. \n Usage is like g++ \n Example \n g+ a.cpp -o out \n See also README file & emerald-browser and its source \n ### 51. T \n \n \u201ct\u201d is incredibly useful. \n It can be used many, many times every day by computer power users. \n It is kind of like \u201csed,\u201d or perl, python or ruby. \n It's the ULTIMATE shell \u201cglue\u201d tool. \n t reads every line from the standard input, and for every line, it \n evaluates a ruby expression \n t a + 2 \n would add 2 to every line \n Number automatically get converted to numbers in Ruby. \n So one doesn't have to worry about that. \n The \u201cvalue\u201d of the line of STDIN is any letter of the alphabet. \n So choose any letter to do operations on and it will work. \n You can also do \n t a + 2 if a % 2 == 0 \n And you get a Python list comprehension sort of thing from the command \n line \n It is a lot simpler and easier than using awk, Ruby, Perl or Python \n You could also have loops \n echo \u201cOne line\u201d | t a while true \n The second line, again is a Ruby expression. \n You can have really complex expressions on the second line. \n You can even import modules. \n cat /usr/share/dict/words | t 'a + \u201c is a good word.\u201d' \n That processes every word in the dictionary, and says that every word \n \u201cis a good word.\u201d \n There are other programs in this software project like \u201ct.\u201d \n But if you do command line text filtering, t might be the best tool \n that you will find. \n See also \n gsub \n gsubip \n . \n \nNavigation \n \n Top \n Ultimate Chat Application.exe \n Discourse Generator.exe \n Emerald Browser \n Left Right.exe \n Find Housing \n Prepend Each \n Google Speak \n Append Each \n Selectlines \n Processes \n Emeraldc \n Nth Word \n Last Nth \n Speakcat \n Uca Cli \n Big Num \n Squeeze \n Dictate \n Prepend \n Chat Rb \n Append \n Delete \n Gsubip \n Rhyme \n Email \n Floor \n Rgsub \n Lines \n Clock \n Emoji \n Close \n Copy \n Ctit \n Gsub \n News \n Args \n Rnip \n Trim \n Quot \n Open \n Swap \n Exp \n Div \n Mul \n Nth \n Abs \n Add \n Sub \n Rip \n G+ \n T \n \nReferences \n \n 1. https://www.youtube.com/embed/Fx9x8cArK30 \n 2. mailto:gregorycohenvideos@gmail.com \n 3. https://snapcraft.io/democracy \n 4. https://pypi.org/project/democracy \n 5. https://www.rubygems.org/gem/democracy \n 6. https://twitter.com/democracygem \n 7. https://www.linkedin.com/in/gregory-cohen-274333261/ \n 8. https://www.rubygems.org/gems/democracy \n 9. https://www.rubygems.org/gems/computers \n 10. https://www.rubygems.org/gems/freespeech \n 11. https://www.rubygems.org/gems/linux \n 12. https://www.rubygems.org/gems/string \n 13. https://www.rubygems.org/gems/unix \n 14. http://www.github.com/gregoryc/democracy \n 15. http://www.rubygems.org/gems/democracy \n 16. https://pypi.org/project/democracy \n 17. https://cboard.cprogramming.com/c-programming/181160-hi-i-have-created-some-work-i-think-will-really-valuable-community.html?s=589b5504cd0e3c2dc90e9abd8b66906f \n 18. https://www.youtube.com/@LawrenceStevensMusic \n 19. https://www.github.com/gregoryc/democracy \n",
"bugtrack_url": null,
"license": "",
"summary": "Trying to help with democracy, see https://github.com/gregoryc/democracy",
"version": "1.0.33",
"project_urls": {
"Homepage": "https://github.com/gregoryc/democracy"
},
"split_keywords": [
"ai",
"empowerment",
"agi",
"agis"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "627b0ae2b086627bff60c768d235ab2ef3e3cff5f2a95704edb1614689646f7e",
"md5": "c578be71280d402756d397d0b2076a0f",
"sha256": "7c5dbcf612b3db0692b374d6a4aa08dfa8e8d0d70e666e1bc667e89dca0f2f57"
},
"downloads": -1,
"filename": "democracy-1.0.33.tar.gz",
"has_sig": false,
"md5_digest": "c578be71280d402756d397d0b2076a0f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.0",
"size": 75944498,
"upload_time": "2023-06-18T06:22:07",
"upload_time_iso_8601": "2023-06-18T06:22:07.321712Z",
"url": "https://files.pythonhosted.org/packages/62/7b/0ae2b086627bff60c768d235ab2ef3e3cff5f2a95704edb1614689646f7e/democracy-1.0.33.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-18 06:22:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gregoryc",
"github_project": "democracy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "democracy"
}