WRS/CRM/ERP within Emacs - Re: Lisp

2020-09-15 Thread Jean Louis
* swedebugia  [2020-09-14 09:13]:
> I'm interested in the SMS solution (do you use e.g. twilio?) and how
> you linked that together.

Any type of communication should be implemented through CRM systems,
sending email, initiating phone call and recording phone call and
results of such in the database, sending SMS and recording it, faxes
as well, XMPP or other communication types.

Emacs Lisp due to its "interface" already in place, together with Helm
and many extensions or packages is for me currently fastest and
optimal. By principle that everthing is text, also information in the
CRM is text. And I do not need to change windows from Emacs to
browser, from browser to editor, etc. From browser is not so easy
initiating calls, SMS, faxes, browser is for browsing, it was not
meant for calling programming functions or shell commands.

Emacs Lisp allows more freedom, I can call any outside command in easy
manner, I can find a contact and call SMS commands, initiate calls, I
can send email to email to fax providers and deliver such email or PDF
as fax to a remote machine, so many European companies are using fax
and fax communication is physical, something that appears in the
office, it is not virtual like email. Fax paper is found physically
there and means more than something virtual.

> Also storing business information, generating invoices, etc.

Define workflow, then we can together define the database tables, then
you will be able to insert information quickly.

My website form workflow is following:

- by principle, I do not keep databases online, this is big no for me,
  my contacts are my contacts, I do not want such to be compromised.

- I have made LISP CGI on the web, so the information is received as
  LISP data, and encrypted by using PGP, there is less than 1 second
  that it could be compromised on the server by skilled programmer, by
  listening to memory events, it is not totally safe. I wish to
  replace this part with Emacs accepting inquiries online through CGI,
  it will work about the same.

- data arrives to me, it looks readable, as one part of data I made as
  Common Lisp comment, so I just click one key and data is inserted
  into CRM, thus the new contact is created offline in the database,
  rather then online in the online database, then I click reply, and
  can answer to the contact, emails sent and emails received are all
  stored in one ~/Maildir/[email protected] for that contact and I
  can at all times access all conversation between me and such
  contact. You could have seen that on video.

- then if the contact is in the mailing list, it will receive emails
  periodically or by specific periods, and that is the sales system
  and sales are taking place, I have sold for hundreds of thousands of
  dollars already.

Jean




WRS/CRM/ERP within Emacs - Re: Lisp

2020-09-15 Thread Jean Louis
* swedebugia  [2020-09-14 09:09]:
> Den Sun, 13 Sep 2020 14:09:30 +0300
> skrev Re: Lisp:
> 
> > Hello,
> > 
> > It is not in the simple configuration, it is in various files.
> > 
> > Which particular action you wish to review?
> 
> I'm interested in the SMS solution (do you use e.g. twilio?) and how
> you linked that together.

For SMS:

- I have used Twilio and I can also use local phone number

- For Twilio, only simple functions, I have posted it here:
  http://ix.io/2xCi -- those were working for me and still do. 

- For Termux functions it is here: http://ix.io/2xCj and many may not
  be related to SMS.

- If you enable F-Droid historical repositories in F-Droid, you may
  get Termux API application version 0.31 that one works with the
  current termux-api package, so that SMS can be sent, as Termux
  disallowed sending SMS due to Google rules, which is stupid, but you
  can still use older app version, not inside package version, if you
  get me. Then you can use termux-sms-send command.

- otherwise I have found application ShellMS, that one works well or
  better, it is in F-Droid

In background I am using the PostgreSQL database, first I have used
SugarCRM software, it was kind of fancy and well looking, but
definitely not reliable due to numerous new releases that broke the
older versions, then I have been using Gedafe or Generic Database
Frontend, https://gedafe.github.io/index.en.html -- it allowed me to
rapidly develop PostgreSQL tables for which I got immediate web
interface, and I have 195815 contacts. After some time I lost my
patience in clicking and waiting, so I have developed one by one
functions to replace my browser based workflow, and now I almost do
not need to use the browser. So access to my database goes through
Emacs now, even though it could be also through browser.

In general when there is need for relational data, I am using
relational database in the background. So I am using the excellent
module emacs-libpq https://github.com/anse1/emacs-libpq as since
upgrades of Emacs, those Emacs Lisp functions stopped working, but
module works without problems.

Database and Emacs I am using for all those functions that are common
in business, for Website Revision System, which means for editing,
organization and publishing of web pages, and it is all in the
database, then for Customer Relationship Management, which means
taking their profiles, accounts or groups where they belong, notes
about them, sending them information and tracking which information I
have sent, and I also use it for sales funnel systems, that may work
alone, for marketing, for business administration of anything, for
example I am managing basic profiles of mining sites and their
descriptions. 

Dolibarr seem nice, also other similar systems, yet I cannot agree
with some underlying principles:

- systems are normally written for remote servers. I do not agree that
  my data should be on remote servers, for example my contacts which
  are valuable should not be in the remote database. Databases can be
  compromised if they are online. One way one could distribute
  databases to other workers, without online public webserver is using
  Virtual Private Network, that way data going over Internet is
  encrypted, and database is not stored on public server. In general,
  sales process should be done in one office and not remotely as well,
  people risk with data so much today and I am not in agreement with
  such.

- systems like Dolibarr, look nice, but me as user I cannot easily
  extend them, this may not be general principle, it is because I did
  not write those programs, and then such programming is oriented also
  on Interface making, and I think interface shall be set before a
  function.

The Gedafe software is such a nice and good example. It asks the user
only to define the database table.

My contacts table may seem complex here: http://ix.io/2xCq and yet it
could be defined anyway one wants, then the Emacs interface to
database tables is same, I can edit any field or search for data, and
I am using Helm for that.

I think that first version was just based on SugarCRM:
http://ix.io/2xCr

Then if you wish I can help you to rapidly develop your database to
make it how you wish, and then you just invent your workflow and work
by the workflow.

> Also storing business information, generating invoices, etc.

For invoices there are tables:

- simpleinvoices, defining invoices

- addtosimpleinvoice, defining which products or services are added to
  simpleinvoices

- goodsandservices

The concept of SQL is shown here: http://ix.io/2xCt

I could export quickly all the empty tables, and those pre-filled
tables, you could import the database and then adjust to whatever you
think it should be, then you use those other functions that I am using
for search or editing and similar.

> I currently use Dolibarr in my business but I'm not that happy with the
&

Re: Lisp

2020-09-13 Thread swedebugia
Den Sun, 13 Sep 2020 14:09:30 +0300
skrev Re: Lisp:

> Hello,
> 
> It is not in the simple configuration, it is in various files.
> 
> Which particular action you wish to review?

I'm interested in the SMS solution (do you use e.g. twilio?) and how
you linked that together.
Also storing business information, generating invoices, etc. 

I currently use Dolibarr in my business but I'm not that happy with the
UI which involves A LOT of clicking.



Re: Lisp

2020-09-13 Thread Jean Louis
Hello,

It is not in the simple configuration, it is in various files.

Which particular action you wish to review?


* swedebugia  [2020-09-13 10:13]:
> Hi :)
> 
> On Fri, 10 Jul 2020 05:39:44 +
> Jean Louis  wrote:
> 
> > Myself, I like the extensibility of Emacs Lisp, it gives me
> > environment to handle almost all my business needs. In my opinion,
> > the years from 1980-2000 were interesting years, people were more
> > interested in programming and purchasing a computer brought many
> > people into programming. Especially in earlier years, computers were
> > delivered with books for programmnig languages. And I remember
> > companies were designating one person to learn and do whatever
> > software was necessary for the single company. I have seen those
> > companies, visited them and visited programmers, even when I was a
> > boy. They had output on the printer, there was no monitor for big
> > computers. I have seen accountants sitting late night and studying
> > the program and making new programs for invoices and other business
> > calculations. And I have worked with a teacher who programmed
> > anything necessary for pupils to learn better. Programming was in.
> > Almost everybody I knew at that time, including colleauges of my
> > parents, including teachers, and boys and girls who went into comput
> > club, was aware that anything we wanted, we could program ourselves.
> > Games were harder to do, yet we programmed even games, it was more
> > fun playing one's own game then commercial games. So I come from the
> > period of time which taught me that anything I need can be
> > programmed, so I do programming for me and my business myself.
> > 
> > Emacs Lisp offers me already the environment, like menues, it gives
> > me key functions, it gives me foundation, so I can extend it as I
> > wish, doing any possible business or private tasks, accounting
> > entries into database are conducted through Emacs for multiple
> > companies, projects and tasks are managed by Emacs, sending SMS and
> > receiving SMS recently I do by Emacs, all notes, SMS, faxes, emails
> > are recorded into database by using Emacs, and  I can extend it with
> > few minutes or hours as I wish. As everything is related to writnig,
> > Emacs Lisp becomes my best choice. All entries, all text is related
> > to text editing, so that is very proper to have as foundation or
> > environment that may be further extended and integrated with other
> > life and business tasks.
> > 
> > For example, in Dired file manager or directory editor, I just press
> > SUPER-M to mail the file or files to specific person, Emacs Lisp
> > function asks me for name of person, I choose one email among others,
> > and files are sent quickly, wthout launching separate software or
> > email reader. Similar integration is within Android or Replicant
> > operating systems. You can click on files and easier share them.
> > 
> > That is example, anything can be done and extending new functions to
> > well prepared foundation helps me in life.
> > 
> 
> I would love to read and get inspired by your emacs configuration. Is
> it shared publicly somewhere?
> 
> Cheers
> swedebugia



Re: Lisp

2020-09-13 Thread swedebugia
Hi :)

On Fri, 10 Jul 2020 05:39:44 +
Jean Louis  wrote:

> Myself, I like the extensibility of Emacs Lisp, it gives me
> environment to handle almost all my business needs. In my opinion,
> the years from 1980-2000 were interesting years, people were more
> interested in programming and purchasing a computer brought many
> people into programming. Especially in earlier years, computers were
> delivered with books for programmnig languages. And I remember
> companies were designating one person to learn and do whatever
> software was necessary for the single company. I have seen those
> companies, visited them and visited programmers, even when I was a
> boy. They had output on the printer, there was no monitor for big
> computers. I have seen accountants sitting late night and studying
> the program and making new programs for invoices and other business
> calculations. And I have worked with a teacher who programmed
> anything necessary for pupils to learn better. Programming was in.
> Almost everybody I knew at that time, including colleauges of my
> parents, including teachers, and boys and girls who went into comput
> club, was aware that anything we wanted, we could program ourselves.
> Games were harder to do, yet we programmed even games, it was more
> fun playing one's own game then commercial games. So I come from the
> period of time which taught me that anything I need can be
> programmed, so I do programming for me and my business myself.
> 
> Emacs Lisp offers me already the environment, like menues, it gives
> me key functions, it gives me foundation, so I can extend it as I
> wish, doing any possible business or private tasks, accounting
> entries into database are conducted through Emacs for multiple
> companies, projects and tasks are managed by Emacs, sending SMS and
> receiving SMS recently I do by Emacs, all notes, SMS, faxes, emails
> are recorded into database by using Emacs, and  I can extend it with
> few minutes or hours as I wish. As everything is related to writnig,
> Emacs Lisp becomes my best choice. All entries, all text is related
> to text editing, so that is very proper to have as foundation or
> environment that may be further extended and integrated with other
> life and business tasks.
> 
> For example, in Dired file manager or directory editor, I just press
> SUPER-M to mail the file or files to specific person, Emacs Lisp
> function asks me for name of person, I choose one email among others,
> and files are sent quickly, wthout launching separate software or
> email reader. Similar integration is within Android or Replicant
> operating systems. You can click on files and easier share them.
> 
> That is example, anything can be done and extending new functions to
> well prepared foundation helps me in life.
> 

I would love to read and get inspired by your emacs configuration. Is
it shared publicly somewhere?

Cheers
swedebugia



Re: Lisp

2020-07-10 Thread Richard Stallman
[[[ To any NSA and FBI agents reading my email: please consider]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

Bernie Greenberg's Multics Emacs was written a in Maclisp for Multics.
It demonstrated that Lisp was a very good language for users to write
their own editing commands in.  When I developed GNU Emacs, I followed
that example.


-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





Re: Lisp

2020-07-10 Thread Jean Louis
There will be nice references from history of programming languages. If I am 
not mistaken LISP is the second programming language after FORTRAN, and many 
other programming languages have been derived from LISP.
Scheme, including Guile is derived from LISP, it is considered LISP dialect.

GNU Emacs has decades of development, its development started before many new 
programming languages that came to existence and became popular. Thus there are 
historical reasons for LISP. One need to review the history of LISP development 
and programming language developments to understand it all.

There are practical and programmatic reasons for LISP beside historical 
reasons. I am of opinion that programmatic reasons played the major role. 

Here is one reference for you:
http://www.gigamonkeys.com/book/introduction-why-lisp.html

Here is more reasons for Emacs Lisp:
https://www.gnu.org/software/emacs/manual/html_node/eintr/Why.html

Myself, I like the extensibility of Emacs Lisp, it gives me environment to 
handle almost all my business needs. In my opinion, the years from 1980-2000 
were interesting years, people were more interested in programming and 
purchasing a computer brought many people into programming. Especially in 
earlier years, computers were delivered with books for programmnig languages. 
And I remember companies were designating one person to learn and do whatever 
software was necessary for the single company. I have seen those companies, 
visited them and visited programmers, even when I was a boy. They had output on 
the printer, there was no monitor for big computers. I have seen accountants 
sitting late night and studying the program and making new programs for 
invoices and other business  calculations. And I have worked with a teacher who 
programmed anything necessary for pupils to learn better. Programming was in. 
Almost everybody I knew at that time, including colleauges of my parents, 
including teachers, and boys and girls who went into comput club, was aware 
that anything we wanted, we could program ourselves. Games were harder to do, 
yet we programmed even games, it was more fun playing one's own game then 
commercial games. So I come from the period of time which taught me that 
anything I need can be programmed, so I do programming for me and my business 
myself.

Emacs Lisp offers me already the environment, like menues, it gives me key 
functions, it gives me foundation, so I can extend it as I wish, doing any 
possible business or private tasks, accounting entries into database are 
conducted through Emacs for multiple companies, projects and tasks are managed 
by Emacs, sending SMS and receiving SMS recently I do by Emacs, all notes, SMS, 
faxes, emails are recorded into database by using Emacs, and  I can extend it 
with few minutes or hours as I wish. As everything is related to writnig, Emacs 
Lisp becomes my best choice. All entries, all text is related to text editing, 
so that is very proper to have as foundation or environment that may be further 
extended and integrated with other life and business tasks.

For example, in Dired file manager or directory editor, I just press SUPER-M to 
mail the file or files to specific person, Emacs Lisp function asks me for name 
of person, I choose one email among others, and files are sent quickly, wthout 
launching separate software or email reader. Similar integration is within 
Android or Replicant operating systems. You can click on files and easier share 
them.

That is example, anything can be done and extending new functions to well 
prepared foundation helps me in life.


Am July 9, 2020 12:58:02 AM UTC schrieb sergio hernandez 
:
>Hi people, I have a concern of the use of a language derived of scheme
>how
>Lisp or Guile. Why GNU uses this languages for develop many of the
>software
>like mcron, emacs, freetalk, etc?  Thanks for your answer.