Sunday, December 4, 2016

Digest for comp.lang.c++@googlegroups.com - 13 updates in 6 topics

Ramine <ramine@1.1>: Dec 04 01:47PM -0500

Hello........
 
Here is the essence of real programming
 
I have asked myself the question:
 
Is programming a science ?
 
I think real programming uses mathematics, such as:
discrete mathematics, mathematical logic, and mathematics
that help you to calculate the big O space and time complexity
of algorithms, other than that real programming enhance more programming
with more smart technics, and it uses and reuses intelligence in the
form of smart code etc.. so programming by incremental steps and
refinement can attain a higher degree of quality and so thus by
approximation we
can call this real programming science.
 
Because by definition: what is science ?
 
Science is called science because it uses intelligence to
attain a higher degree of quality.
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Dec 04 05:51PM -0500

Hello.....
 
 
Here is my new and more efficient invention that is scalable and that
is composable and that solves the problem of race conditions in
imperative and object oriented languages.
 
About C++ or ADA or Java etc. and my following enhancement to them...
 
C++ or ADA or Java etc. must add properties that you can access only
from the constructor and can not be accessed from the methods of the object.
 
This way you will be able to implement more cleanly my following
new invention:
 
First you have to call a constructor that will put a number of times the
same global shared variables or all the properties of the object as
pointers for example in there respective FIFO thread-safe queues, many
times because this will scale well for the reader and this is for the
reader side, and for the writer side you have to put only one pointer to
the global shared variable or the property.
 
And now you have to synchronize like a scalable reader-writer lock the
two queues, one for the readers and one for the writer with locks,
so if you grap the pointer of a property from the readers queue, the
writer queue must contain one item, but if the writer queue doesn't
contain an item the readers will block and wait, and if there is an item
in the writer queue and there is no item in the readers queue, so
the reader will block and wait, and if the writer grap the pointer of a
property from the writer queue , the other writers will block and wait.
 
This way you will solve the problem of race conditions efficiently for
imperative and object oriented programming, and this solution is
composable, because you can put all the properties of the object this
way on there respective reader and writer queues.
 
For Deadlocks use this:
 
Use Lock Hierarchies to Avoid Deadlock
 
http://www.drdobbs.com/parallel/use-lock-hierarchies-to-avoid-deadlock/204801163
 
 
Thank you,
Amine Moulay Ramdane.
bleachbot <bleachbot@httrack.com>: Dec 04 07:38PM +0100

bleachbot <bleachbot@httrack.com>: Dec 04 07:45PM +0100

bleachbot <bleachbot@httrack.com>: Dec 04 11:37PM +0100

bleachbot <bleachbot@httrack.com>: Dec 04 11:45PM +0100

Ramine <ramine@1.1>: Dec 04 05:42PM -0500

Hello.............
 
Here is my new and scalable and composable and more efficient invention
that solves the problem of race conditions
 
Here is my new and more efficient invention that scale well and that is
composable and that solves the problem of race conditions in imperative
and object oriented languages.
 
About C++ or ADA or Java etc. and my following enhancement to it...
 
C++ or ADA or Java etc. must add properties that you can access only
from the constructor and can not be accessed from the methods of the object.
 
This way you will be able to implement more cleanly my following
new invention:
 
First you have to call a constructor that will put a number of times
the same global shared variables or all the properties of the object as
pointers for example in there respective FIFO thread-safe queues, many
times because this will scale well for the reader and this is for the
reader side, and for the writer side you have to put only one pointer to
the global shared variable or the property.
 
And now you have to synchronize like a scalable reader-writer lock the
two queues, one for the readers and one for the writer with locks,
so if you grap the pointer of a property from the readers queue, the
writer queue must contain one item, but if the writer queue doesn't
contain an item the readers will block and wait, and if there is an item
in the writer queue and there is no item in the readers queue, so
the reader will block and wait, and if the writer grap the pointer of a
property from the writer queue , the other writers will block and wait.
 
This way you will solve the problem of race conditions efficiently for
imperative and object oriented programming, and this solution is
composable, because you can put all the properties of the object this
way on there respective reader and writer queues.
 
For Deadlocks use this:
 
Use Lock Hierarchies to Avoid Deadlock
 
http://www.drdobbs.com/parallel/use-lock-hierarchies-to-avoid-deadlock/204801163
 
 
Thank you,
Amine Moulay Ramdane.
ruben safir <ruben@mrbrklyn.com>: Dec 04 04:18AM -0500


> Brian
> Ebenezer Enterprises
> http://webEbenezer.net
 
FOOOOMP /dev/null
 
fucking idiot
ruben safir <ruben@mrbrklyn.com>: Dec 04 04:13AM -0500

On 12/03/2016 04:48 PM, David Brown wrote:
> naked mud-wrestlers without anyone following your trail, or if you are
> hiding from the CIA. But for most information, google is the sensible
> choice for the non-fanatic.
 
that's bullshit. They are actually both so bad now that the only
difference is that duckduckgo doesn't search you.
 
It used to be that duckduckgo was somewhat superior. But now they use
the bling engine.
 
The bottom line is that they all now are so bent are displaying products
to sell, that real information is getting harder and harder to find
outside of wikipedia, which sucks for its own reason.
 
Furthermore, finding information HAS ZERO to do with searching and
tracking. Its already an accomplished feat, maybe 15 years already.
The purpose of tracking you is to monetarise you and so that they can
have control of you....PERIOD.
 
I can't believe that after all these years that, A) there are trolls
who enter threads dead for 2 weeks just to push their love for duck duck
go, and then other blowhards, even stupider, and likely on someones
payroll, to counter argue.
 
 
Anyway, they are both off topic, and one more outburst and you both go
/dev/null
Ramine <ramine@1.1>: Dec 04 01:40PM -0500

Hello...
 
Here is the essence of real programming
 
I have asked myself the question:
 
Is programming a science ?
 
I think real programming uses mathematics, such as:
discrete mathematics, mathematical logic, and mathematics
that help you to calculate the big O space and time complexity
of algorithms, other than that real programming enhance more programming
with more smart technics, and it reuses intelligence in the form
of smart code etc. so programming by incremental steps and refinement
can attain a higher degree of quality and so thus by approximation we
can call this real programming science.
 
Because by definition: what is science ?
 
Science is called science because it uses intelligence to
attain a higher degree of quality.
 
 
Thank you,
Amine Moulay Ramdane.
ruben safir <ruben@mrbrklyn.com>: Dec 04 05:19AM -0500

can on make std::cout format a uinit_8 as an integer type of 8 bits - or
just print a number at least.
Bo Persson <bop@gmb.dk>: Dec 04 11:38AM +0100

On 2016-12-04 11:19, ruben safir wrote:
> can on make std::cout format a uinit_8 as an integer type of 8 bits - or
> just print a number at least.
 
The problem is that the 8-bit type is just a typedef for unsigned char.
So the I/O treats it like a character. Because it is.
 
To display it as an integer, you will have to cast it to unsigned int.
 
 
Bo Persson
"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com>: Dec 04 12:30PM +0100

On 04.12.2016 11:19, ruben safir wrote:
> can on make std::cout format a uinit_8 as an integer type of 8 bits - or
> just print a number at least.
 
The shortest way is to add a `+` in front of it.
 
- Alf
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.lang.c+++unsubscribe@googlegroups.com.

No comments: