Monday, May 29, 2017

Digest for comp.programming.threads@googlegroups.com - 8 updates in 8 topics

rami18 <coco@coco.com>: May 28 11:06PM -0400

Hello..............
 
 
Read again, i correct a typo
 
Getting more technical in politics...
 
Getting more technical that's also mean getting more efficient with
rationality and logic, because i am a rational type of person..
 
You have to understand the game of politics..
 
The game of politics is not saying that jews are getting rich so jews
are bad, this is the neo-nazism way of thinking..
 
But this thinking is inferior..
 
Because when you think about morality, you have
to decompose morality into the guidance of morality and
the a priori pure moral and empirical moral..
 
I have defined the guidance of morality as being the goal of philosophy
that is happiness that guides also morality, this guidance
is inherent to our essence.
 
And a priori pure moral is inferred from reason
 
and empirical moral is inferred from empirical world.
 
So morality is not too much ideal justice as in communism using
the tool of the violence of Class Struggle because of compassion that
wants to reduce too much social Darwinism, this causes extremism and
violence, or morality is not too extreme definition of what is white
europeans civilization, as in neo-nazism, and that lacks the
optimization with the heuristic of "tolerance" towards immigration that
optimizes the economic system and the social system , this is an
inferior thinking.
 
You can make more money with more money, but allowing making more money
is also a mechanism like an heuristic that provoke and bring more
quality, this is also inferred from empirical moral, it's like the
heuristic of "tolerance" that optimizes the system, we allow also to
make more money to not being laziness and to be more productif and to be
more efficient and to be more creativity and to be more inventivity.. so
this heuristic is the base of capitalism also, this is why we can not
say that capitalism is bad, but capitalism and the system is also
constrained by other mechanisms like the mechanism of not neglecting
compassion and respect and love to not cause violence and extremism in
the system,
now the interpretation of how much compassion and respect and love
will not be leaved to the reader, because the degree of compassion and
love and respect needed in the system must be interpreted as avoiding
extremism that can causes hate and violence and desorder, so the degree
of compassion and love and respect must be approximated by a political
party such as social democracy or social Liberalism that knows how
to be decent compassion and decent respect and decent love, the other
important mechanism is "democracy" and the power of the people
, this power of the people can provoke and bring quality but
it's also constrained by the mechanism and the counter-power of the
financial and banks institutions that have there rating methodology that
take into account the Political Risk factor and the economic conditions,
and this creates also a world stability because we have to optimize our
economic systems and by being responsable by being also responsable
governance and responsable democracy, the other mechanism is
also the consumer confidence index that is a power that provoke
and bring quality to the system, because we have to know how to be
respect and compassion and love to higher consumer confidence
index locally and internationally, the other mechanism about morality
is the soft way and the hard way to provoke and bring quality to
morality, You have to know how to provoke and bring quality to morality
of the system, there is the soft way and the hard way.. all is not laws,
you have to know how to provoke and bring quality using the soft way,
like i was doing in my previous post called:
 
"What is the most important goal of my political philosophy?"
 
and you have to know how to design and implement laws by being more
efficient at inferring them from the guidance of moral and a priori
pure moral and empirical moral more, this is the essence of efficiency,
you have to be capable and smarter in doing it, that's a necessary
requirement to survive better and that fact is the soft way
that provoke and bring more quality and the hard way is to know
how to enforce the necessary laws, so be smart, because
it's the essence of rationality and logic.
 
Also there is the mechanism and heuristic of "tolerance" over
immigration that provoke and bring more quality, as i have
said that Nationalism of Donald Trump lack the heuristic of flexibility
using tolerance that get you more optimized, but social Liberalism of
democrates uses the flexibility of tolerance to optimize the economic
system and the social system, nationalism is like extreme justice of
communism that lack tolerance and that can hurt economic system and the
social system.
 
Because I have said about morality that:
 
Justice has to constrain happiness..
 
And responsability has to constrain justice..
 
But responsability is influenced by the variable of tolerance ,
so if we are more tolerance on responsability we can higher the consumer
confidence in you and we can attract more consumers and we can penetrate
more the market of others, this is the game of social Liberalism.
 
Social Liberalism of democrates wants also to play the card of tolerance
to attract consumers and to higher consumer confidence index and to be
able to penetrate more the market of others and to optimize better the
social system, nationalism doesn't undertand it well.
 
And i have explained also to you about the heuristic of "tolerance" that:
 
Capitalism also wants to optimize, and capitalism says for example
that even arabs are not as beautiful as white europeans, it says that
arabs are tolerable, because capitalism wants to optimize economy
and the society by bringing arabs immigrants that are also decent
people, because today we are constrained by many factors, and
optimization has been rendered by those constrains to as the following:
 
If you are useful for something like jobs and economy or/and useful to
low birth rate of white europeans or/and you are useful to higher the
consumer confidence index and/or and you are useful to better the world
order and security , you can be welcome to USA or other countries..
 
About America and the world..
 
Before, operating systems like OS/2 of IBM were a monolithic OSs ,
but as the time has gone by we have developed more sophisticated
OSs like Mach 3 or Windows NT, those sophisticated OSs were more
decentralized and were designed in a such a way to be more efficient
and managed better, the difference between a monolithic one and not
monolithic one is like programming with message passing or Object
oriented programming, and we have also the tendency to decentralize the
management of our societies to be more efficient, it's the same
for capitalism , capitalism tries to optimize better by not
being as monolithic as the old way of thinking of Hitler, so
today because of constrains on optimization, usefulness is interpreted
not as being as beautiful as white europeans or being as civilized as
white europeans to better optimize the system economically.. it's
like decentralizing to better optimize, now to not get extremist,
you have to know how to tune correctly optimization to better optimize
and to not cause problems to societies.
 
Also you have to know how to apply the division of labour and how to
apply Adam Smith's specialization Theory to be more optimized..
 
And the other mechanism that bring quality to the system is the following:
 
About the crispations of extremist nationalism..
 
The old way of thinking like nazism and communism was full of violence..
 
So we have to enhance ourselves to avoid those problems..
 
The world has changed, and we are not at the time of Hitler in 1930,
the crispations of extremist nationalism was also due to a need
of being more domination in the secondary sector of economy, but
this model is becoming more archaic, please read why:
 
"The economic models developed by the development economists of the
1960s, based on the idea of industrializing industries, seem to be
losing more and more of their unconditional supporters. The economic
development of a country or a region is no longer Dependent on the
development of the secondary sector or heavy industry. "
by M'Fadel El Halaissi, of which our readers are familiar, is Deputy
Chief Executive Officer of BMCE Bank.
 
Please read more here(you have to translate it from french to english,
because it is in french), it's from the Economist Magazine in Morocco
my country:
 
http://www.leconomiste.com/article/915791-la-conqu-te-conomique-de-l-afrique-passe-par-le-secteur-des-servicespar-m-fadel-el-ha
 
 
 
Thank you,
Amine Moulay Ramdane.
rami18 <coco@coco.com>: May 28 10:42PM -0400

Hello...............
 
 
Getting more technical in politics...
 
Getting more technical that's also mean getting more efficient with
rationality and logic, because i am a rational type of person..
 
You have to understand the game of politics..
 
The game of politics is not saying that jews are getting rich so jews
are bad, this is the neo-nazism way of thinking..
 
But this thinking is inferior..
 
Because when you think about morality, you have
to decompose morality into the guidance of morality and
the a priori pure moral and empirical moral..
 
I have defined the guidance of morality as being the goal of philosophy
that is happiness that guides also morality, this guidance
is inherent to our essence.
 
And a priori pure moral is inferred from reason
 
and empirical moral is inferred from empirical world.
 
So morality is not too much ideal justice as in communism using
the tool of the violence of Class Struggle because of compassion that
wants to reduce too much social Darwinism, this causes extremism and
violence, or morality is not too extreme definition of what is white
europeans civilization, as in neo-nazism, and that lacks the
optimization with the heuristic of "tolerance" towards immigration that
optimizes the economic system and the social system , this is an
inferior thinking.
 
You can make more money with more money, but allowing making more money
is also a mechanism like an heuristic that provoke and bring more
quality, this is also inferred from empirical moral, it's like the
heuristic of "tolerance" that optimizes the system, we allow also to
make more money to not being laziness and to be more productif and to be
more efficient and to be more creativity and to be more inventivity.. so
this heuristic is the base of capitalism also, this is why we can not
say that capitalism is bad, but capitalism and the system is also
constrained by other mechanisms like the mechanism of not neglecting
compassion and respect and love to not cause violence and extremism in
the system,
now the interpretation of how much compassion and respect and love
will not be leaved to the reader, because the degree of compassion and
love and respect needed in the system must be interpreted as avoiding
extremism that can causes hate and violence and desorder, so the degree
of compassion and love and respect must be approximated by a political
party such as social democracy or social Liberalism that lnows how
to be decent compassion and decent respect and decent love, the other
important mechanism is "democracy" and the power of the people
, this power of the people can provoke and bring quality but
it's also constrained by the mechanism and the counter-power of the
financial and banks institutions that have there rating methodology that
take into account the Political Risk factor and the economic conditions,
and this creates also a world stability because we have to optimize our
economic systems and by being responsable by being also responsable
governance and responsable democracy, the other mechanism is
also the consumer confidence index that is a power that provoke
and bring quality to the system, because we have to know how to be
respect and compassion and love to higher consumer confidence
index locally and internationally, the other mechanism about morality
is the soft way and the hard way to provoke and bring quality to
morality, You have to know how to provoke and bring quality to morality
of the system, there is the soft way and the hard way.. all is not laws,
you have to know how to provoke and bring quality using the soft way,
like i was doing in my previous post called:
 
"What is the most important goal of my political philosophy?"
 
and you have to know how to design and implement laws by being more
efficient at inferring them from the guidance of moral and a priori
pure moral and empirical moral more, this is the essence of efficiency,
you have to be capable and smarter in doing it, that's a necessary
requirement to survive better and that fact is the soft way
that provoke and bring more quality and the hard way is to know
how to enforce the necessary laws, so be smart, because
it's the essence of rationality and logic.
 
Also there is the mechanism and heuristic of "tolerance" over
immigration that provoke and bring more quality, as i have
said that Nationalism of Donald Trump lack the heuristic of flexibility
using tolerance that get you more optimized, but social Liberalism of
democrates uses the flexibility of tolerance to optimize the economic
system and the social system, nationalism is like extreme justice of
communism that lack tolerance and that can hurt economic system and the
social system.
 
Because I have said about morality that:
 
Justice has to constrain happiness..
 
And responsability has to constrain justice..
 
But responsability is influenced by the variable of tolerance ,
so if we are more tolerance on responsability we can higher the consumer
confidence in you and we can attract more consumers and we can penetrate
more the market of others, this is the game of social Liberalism.
 
Social Liberalism of democrates wants also to play the card of tolerance
to attract consumers and to higher consumer confidence index and to be
able to penetrate more the market of others and to optimize better the
social system, nationalism doesn't undertand it well.
 
And i have explained also to you about the heuristic of "tolerance" that:
 
Capitalism also wants to optimize, and capitalism says for example
that even arabs are not as beautiful as white europeans, it says that
arabs are tolerable, because capitalism wants to optimize economy
and the society by bringing arabs immigrants that are also decent
people, because today we are constrained by many factors, and
optimization has been rendered by those constrains to as the following:
 
If you are useful for something like jobs and economy or/and useful to
low birth rate of white europeans or/and you are useful to higher the
consumer confidence index and/or and you are useful to better the world
order and security , you can be welcome to USA or other countries..
 
About America and the world..
 
Before, operating systems like OS/2 of IBM were a monolithic OSs ,
but as the time has gone by we have developed more sophisticated
OSs like Mach 3 or Windows NT, those sophisticated OSs were more
decentralized and were designed in a such a way to be more efficient
and managed better, the difference between a monolithic one and not
monolithic one is like programming with message passing or Object
oriented programming, and we have also the tendency to decentralize the
management of our societies to be more efficient, it's the same
for capitalism , capitalism tries to optimize better by not
being as monolithic as the old way of thinking of Hitler, so
today because of constrains on optimization, usefulness is interpreted
not as being as beautiful as white europeans or being as civilized as
white europeans to better optimize the system economically.. it's
like decentralizing to better optimize, now to not get extremist,
you have to know how to tune correctly optimization to better optimize
and to not cause problems to societies.
 
Also you have to know how to apply the division of labour and how to
apply Adam Smith's specialization Theory to be more optimized..
 
And the other mechanism that bring quality to the system is the following:
 
About the crispations of extremist nationalism..
 
The old way of thinking like nazism and communism was full of violence..
 
So we have to enhance ourselves to avoid those problems..
 
The world has changed, and we are not at the time of Hitler in 1930,
the crispations of extremist nationalism was also due to a need
of being more domination in the secondary sector of economy, but
this model is becoming more archaic, please read why:
 
"The economic models developed by the development economists of the
1960s, based on the idea of industrializing industries, seem to be
losing more and more of their unconditional supporters. The economic
development of a country or a region is no longer Dependent on the
development of the secondary sector or heavy industry. "
by M'Fadel El Halaissi, of which our readers are familiar, is Deputy
Chief Executive Officer of BMCE Bank.
 
Please read more here(you have to translate it from french to english,
because it is in french), it's from the Economist Magazine in Morocco
my country:
 
http://www.leconomiste.com/article/915791-la-conqu-te-conomique-de-l-afrique-passe-par-le-secteur-des-servicespar-m-fadel-el-ha
 
 
 
Thank you,
Amine Moulay Ramdane.
rami18 <coco@coco.com>: May 28 08:47PM -0400

Hello...........
 
Please read this:
 
"Just as with normal thread pool usage, the main program thread may
create Tasks that will get queued on the global queue (e.g. Task1 and
Task2) and threads will grab those Tasks typically in a FIFO manner.
Where things diverge is that any new Tasks (e.g. Task3) created in the
context of the executing Task (e.g. Task2) end up on a local queue for
that thread pool thread."
 
Read more here:
 
http://www.danielmoth.com/Blog/New-And-Improved-CLR-4-Thread-Pool-Engine.aspx
 
You will notice that there is a contention on the global queue from the
producer threads and from the consumer threads on the Microsoft CLR
Threadpool engine, so that's not good.
 
But please look at the source code of my Threadpool engine that scales
well, it does eliminate the contention on the consumer threads side by
using technics such as lock-striping and other technics..
 
And my efficient threadpool that scales well supports the following:
 
- Now it can use processor groups on windows, so that it can use more
than 64 logical processors and it scales well.
 
The following have been added to my efficient Threadpool engine:
 
- The worker threads enters in a wait state when there is no job in the
concurrent FIFO queues - for more efficiency -
 
- You can distribute your jobs to the worker threads and call any method
with the threadpool's execute() method.
 
- It uses work-stealing to be more efficient.
 
- You can configure it to use stacks or FIFO queues , when you use
stacks it will be cache efficient.
 
- Now it can use processor groups on windows, so that it can use more
than 64 logical processors and it scales well.
 
- Now it distributes the jobs on multiple FIFO queues or stacks so that
it scales well.
 
- You can wait for the jobs to finish with the wait() method.
 
- It's NUMA-aware and NUMA efficient.
You can download it from:
 
https://sites.google.com/site/aminer68/an-efficient-threadpool-engine-that-scales-well
 
And you can download my efficient Threadpool engine with priorities that
scales well from:
 
https://sites.google.com/site/aminer68/an-efficient-threadpool-engine-with-priorities-that-scales-well
 
 
Thank you,
Amine Moulay Ramdane.
rami18 <coco@coco.com>: May 28 08:28PM -0400

Hello.......
 
 
I am a white arab...
 
I am a computer programmer and i have a diploma in Microelectronics and
informatics..
 
I will get more technical now because i am an experienced parallel
programmer that has invented many synchronization algorithms and other
algorithms etc.
 
We are getting more sophisticated with using cloud computing and bigger
interconnected websites, and that's what important, now the very
important question to ask, since i have done also operational research,
is that using IOCP using threadpools etc. to scale your website is not
sufficient, because the very important thing is how to calculate and
limit the response-time or waiting-time.. that's
an interesting subject.. so we have for example to get more technical
with operetoinal research and try to mathematically approximate as the
following:
 
Use my following simulation program of an M/M/n queue:
 
https://sites.google.com/site/aminer68/m-m-n-queuing-model-simulation-with-object-pascal
 
use it to do your overall simulation of the ecommerce websites that
have read-mostly workloads, since many ecommerce websites have
read-mostly workloads, so the hyper-exponential service of the
M/G/c queue of the database servers queue above can be approximated with
an M/M/n queue when the writer and the delete transactions are
less or equal to 30% of the total transactions and the ecommerce website
has read-mostly workloads.
 
This is an interesting approximation with operational research..
 
But we can solve this problem of limiting the waiting-time or the
response=time using windows timers, so as the websites users connect
they will start a windows timers that correspond the limited
waiting-time that we must constrain with, we will start a timer and push
a callback function that will set a boolean flag to false if the limited
waiting=time required expired , that way we will avoid to model the
websites with an M/G/c queue etc. and it's important to give more
priority to the write transactions because that's critical for your pocket.
 
 
Thank you for your time.
 
Amine Moulay Ramdane.
rami18 <coco@coco.com>: May 28 08:25PM -0400

Hello........
 
 
I am a white arab...
 
I am a computer programmer and i have a diploma in Microelectronics and
informatics..
 
I will get more technical now because i am an experienced parallel
programmer that has invented many synchronization algorithm and other
algorithms etc.
 
We are getting more sophisticated with using cloud computing and bigger
interconnected websites, and that's what important, now the very
important question to ask, since i have done also operational research,
is that using IOCP using threadpools etc. to scale your website is not
sufficient, because the very important thing is how to calculate and
limit the response-time or waiting-time.. that's
an interesting subject.. so we have for example to get more technical
with operetoinal research and try to mathematically approximate as the
following:
 
Use my following simulation program of an M/M/n queue:
 
https://sites.google.com/site/aminer68/m-m-n-queuing-model-simulation-with-object-pascal
 
use it to do your overall simulation of the ecommerce websites that
have read-mostly workloads, since many ecommerce websites have
read-mostly workloads, so the hyper-exponential service of the
M/G/c queue of the database servers queue above can be approximated with
an M/M/n queue when the writer and the delete transactions are
less or equal to 30% of the total transactions and the ecommerce website
has read-mostly workloads.
 
This is an interesting approximation with operational research..
 
But we can solve this problem of limiting the waiting-time or the
response=time using windows timers, so as the websites users connect
they will start a windows timers that correspond the limited
waiting-time that we must constrain with, we will start a timer and push
a callback function that will set a boolean flag to false if the limited
waiting time required expired , that way we will avoid to model the
websites with an M/G/c queue etc. and it's important to give more
priority to the write transactions because that's critical for your pocket.
 
 
Thank you for your time.
 
Amine Moulay Ramdane.
rami18 <coco@coco.com>: May 28 07:01PM -0400

Hello............
 
 
Scalable Parallel C++ Conjugate Gradient Linear System Solver
Library version 1.64
 
 
Author: Amine Moulay Ramdane
 
Description:
 
This library contains a Scalable Parallel implementation of
Conjugate Gradient Dense Linear System Solver library that is
NUMA-aware and cache-aware, and it contains also a Scalable
Parallel implementation of Conjugate Gradient Sparse Linear
System Solver library that is cache-aware.
 
Please download the zip file and read the readme file inside the
zip to know how to use it.
 
Language: GNU C++ and Visual C++ and C++Builder
 
Operating Systems: Windows, Linux, Unix and Mac OS X on (x86)
 
 
You can download it from:
 
https://sites.google.com/site/aminer68/scalable-parallel-c-conjugate-gradient-linear-system-solver-library
 
 
Thank you,
Amine Moulay Ramdane.
rami18 <coco@coco.com>: May 28 06:55PM -0400

Hello.......
 
Universal Scalability Law program was updated to version 3.12
 
Now it compiles correctly on LLVM-based Delphi compilers..
 
Where also do you use it ?
 
You use it for example to optimize more the cost/performance ratio on
multicores and manycores.
 
With -nlr option means that the problem will be solved with the
mathematical nonlinear regression using the simplex method as a
minimization, if you don't specify -nlr, the problem will be solved by
default by the mathematical polynomial regression, and since it uses
regression , you can use it for example to test your system on many more
cores with just a few points, and after that using regression it searchs
for the cost/performance ratio that is optimal for you.
 
Please read more about my Universal Scalability Law for Delphi and
FreePascal, it comes with a graphical and a command-line program.
 
I have included a 32 bit and 64 bit windows executables called usl.exe
and usl_graph.exe inside the zip, please read the readme file to know
how to use it, it is a very powerful tool.
 
You can read about it and download the new version 3.12 from here:
 
https://sites.google.com/site/aminer68/universal-scalability-law-for-delphi-and-freepascal
 
Thank you,
Amine Moulay Ramdane.
rami18 <coco@coco.com>: May 28 06:31PM -0400

Hello....
 
 
I am a computer programmer..
 
How to improve also quality and timeliness of software ?
 
I was asking myself this question and i will present my thoughts:
 
You have to abstract also the graph that offer a deeper insights into
the nature of objects and the system.
 
And this has to be done smartly..
 
The abstract graph of the system must reveal the following:
 
1- It has to reveal the hierarchy of roles and the
breadths of those roles
 
2- It has to offer a deeper insights into the nature of the objects, the
abstract graph must reveal easily the triads why-what-how.
 
3- the abstract graph must be clear and it has to clearly and
efficiently and plainly communicates what the roles do.
 
4- It has to have a high unity, a role has high unity if all actions
described in the role have one purpose.
 
5- You have to have a good coupling between objects and methods. This is
the visibility and degree to which two objects or methods communicate
with each other. This is the degree of interdependence between software
modules, a measure of how closely connected two routines or modules are,
it must be low coupling. A low coupling is a sign of well-structured
software system
 
Also i am an experienced programmer in parallel programming and
synchronization algorithms, and here is some of my inventions:
 
You have to appreciate my inventions of my C++ synchronization objects
library..
 
Here is why:
 
Here is the problem of optimistic Transactional memory:
 
If there is more conflicts between reads and writes you have to rollback
and to serialize also etc. and this will be less energy efficient and it
will be less faster than pessimistic locking mechanisms
 
So i think that my C++ Synchronization objects library and my Delphi
synchronization objects are still really useful..
 
You can download it from:
 
https://sites.google.com/site/aminer68/c-synchronization-objects-library
 
 
Thank you,
Amine Moulay Ramdane.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.programming.threads+unsubscribe@googlegroups.com.

No comments: