Wednesday, March 15, 2017

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

Ramine <toto@toto.net>: Mar 14 07:19PM -0400

Hello......
 
How to transcend the divide between the shiites and the sunnites in Irak?
 
By optimization !
 
You have to know how to optimize economy too to be more powerful and
more organized, and the prerequisites is transcendence of this kind
of inferiority that lack optimization.
 
Morality is the same , it permit us to transcend , because
it gets us more organized and more efficient to better survive, and
because science is part of morality, because is laws part of morality ?
yes, because science also rules us with rules of optimization that has
as a goal to give more quality and more happiness to the people,
so this is part of good, so we have to enlarge our conception of what is
morality, thus including science as a part of morality is part of the
game today, this is part of the high standards of today, this view is
also enforced with the fact also that thinking bigger like thinking how
to be more scalable or as to be more organized world wide or as to be
world order and security is an essential part of requirements of today,
but it's necessary to know also that taking science alone as morality is
corruption , because science with more maximization and more
optimization can neglect the weakers among us , so science can be a kind
of horror like the horror of nazism, so
please be wiser and reread my following full text to
understand better my views:
 
About Stability and world order..
 
How to get stability and world order ?
 
You have to stabilize and secure the country also, and this has to be
done by searching for the rules to execute that avoid extremism and
violence, this is mandatory for our democracies, so i have told you to
notice that neglecting compassion and/or love and/or respect cause
violence and extremism and desorder, so you have not to neglect
them , and you have to know how to higher consumer confidence index
to better optimize economy world wide, so for that you have to know how
to avoid hate towards other people that causes problems to economy ,
because it hurts consumer confidence index, and you have to know to not
get into communism and to avoid extremism of communism because communism
is too extreme and its extremism causes violence, so you have to know
how to tune those variables of compassion and respect and love and how
to optimize the system, and how to do it ? by being for example more
social like being social democracy and or being social Liberalism, hope
you have understood my proof.. and this is not finished because you have
to think about immigration, and here is what i have said about immigration:
 
In parallel computer programming we have to optimize, like by
reducing the size of the serial part, and by reducing the cache
coherence traffic etc. and this to render your software or algorithm
scalable, so we are concerned by the scalability criterion..
 
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.
 
And how can we be more civilized ?
 
I have done philosophy..
 
We have to measure it easily to know about it..
 
Science in fact is part of morality, but science alone as morality is
corruption of morality, because science is also performance and power
that dictates
to survive better, so then it dictates to neglect the weakers among us,
so then this is corruption of morality that permit us to measure
corruption of morality and thus to measure civilization, but
i repeat that science is part of morality , because performance and
power of science that solves our problems is also good, so this good is
part of morality, and we can measure civilization and morality by the
degree of the variable that is suffering, and you will measure morality
by the Ideal of justice and ideal of happiness that are part of our
essence, and that permit us to measure morality or measure
civilization, And empirical moral constrain performance and power to
not neglect the variables of compassion and respect and love
because neglecting them causes violence and/or extremism
and/or desorder, and this permit us also to measure morality or measure
civilization.
 
This is how we can measure morality and measure civilization.
 
So we have to be careful to not repeat foolishness of the past.
 
The ideal of justice and ideal of happiness..
 
If you say that this life is not fair and juste, that's not a measure,
because you have to measure the degree of suffering and the degree
of responsability, that means that justice must constrain happiness,
but justice must be constrained by responsability too, but how can we
constrain justice by responsability ? responsability can be interpreted
being principales of communism or being principales of social democracy
etc. so the the degree of tolerance is also a variable that influence
responsability, so if we are more tolerance we can refuse the
principales of communism because communism is a kind of justice that
is too extreme that can cause extremism and violence, so the tolerance
of social democracy or the tolerance of social Liberalism are more apt
to not cause extremism and violence and social democracy or
social Liberalism knows how to tune compassion and love and respect so
that to be decent compassion and love and respect , and so that to not
cause extremism and violence and desorder too.
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <toto@toto.net>: Mar 14 04:49PM -0400

Hello.......
 
About the Ticket Spinlock with a proportional back-off
 
I have just ported my Ticket Spinlock with a proportional back-off
that i have enhanced to On Time RTOS-32 real-time OS , and let me tell
you that it is efficient, because it really scale better and it reduces
better the cache-coherence traffic and it really reduces efficiently the
waiting time for the lock to be available.. that's really good.
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <toto@toto.net>: Mar 14 03:40PM -0400

Hello....
 
 
About real-time coding for real-time systems...
 
I am a white arab, and i am a computer programmer and i have a diploma
in Microelectronics and informatics and i have also studied and
succeeded one year of mathematics at university level, and i am
an experienced programmer in parallel programming and synchronization
algorithms and i have invented many synchronization algorithms.
 
You know that real-time coding for real-time systems must be taken
with care, so i have decided that i will bring the following to
do real-time coding:
 
1- A Ticket Spinlock with a proportional back-off for real-time systems
 
2- A thread-safe FIFO queue and a FIFO queue for real-time systems
 
3- A thread-safe LIFO Stack and a LIFO Stack for real-time systems
 
4- A Threadpool for real-time systems.
 
 
And as you have noticed i have already brought to you my C++ and Delphi
MemPool for real-time systems, here they are:
 
https://sites.google.com/site/aminer68/c-mempool-for-real-time-systems
 
and
 
https://sites.google.com/site/aminer68/mempool-for-realtime-systems
 
 
The above will be implemented for QNX and for On Time RTOS-32 real-time
OSs and i will implement them with C++ and Delphi(Object Pascal)
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <toto@toto.net>: Mar 14 10:46AM -0400

Hello,
 
 
Delphi and FreePascal MemPool for for real-time systems was updated
version 1.01
 
Description:
 
Real-Time Memory Management
 
In Delphi and FreePascal, memory management is normally performed using
getmem,allocmem, freemem, reallocmem, etc. The run-time system's heap
offers great flexibility and efficiency, but it cannot fulfil real-time
requirements. The run-time requirements are non-deterministic. In
addition, they may require blocking task switches, which makes them
unusable for interrupt handlers.
 
MemPool using generics offers memory management with real-time
capabilities through Memory Pools. A Memory Pool is an isolated heap
with data buffers as objects of equal size. Any number of memory pools
can exist simultaneously. A pool is initialized once and allocated a
certain number of buffers as objects. Thereafter, buffers as objects can
be allocated and deallocated from the pool under real-time conditions.
 
How to use it?
 
The parameters of the constructor are:
 
The first parameter is the number of items and the second parameter is a
boolean parameter that will tell
MemPool to grow or not, if it is set to true it will grow,
set it to false for real-time systems, if you don't pass any parameter,
the number of items will be set to 200 and the MemPool will not grow and
thus it will be set for real-time systems.
 
The New() method returns a reference to the object.
 
The Return() method returns the reference to the object to the stack.
 
Please look at the test.pas example to learn how to use MemPool.
 
You can use it with Delphi 2 and up on the following RTOS:
 
Win32 API Compatible RTOS for 32/64-bit x86 Embedded Systems
On Time's royalty-free hard real-time embedded operating system for
32/64-bit x86 CPUs implements a Windows subset kernel in only 16k of
memory. It provides about 400 Win32 API functions and can load Windows DLLs.
 
Read more here:
 
http://www.on-time.com/rtos-32.htm
 
http://www.on-time.com/rttarget-32.htm
 
Language: FPC Pascal v2.2.0+ / Delphi 2+:
 
http://www.freepascal.org/
 
 
You can download it from:
 
https://sites.google.com/site/aminer68/mempool-for-realtime-systems
 
 
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: