Monday, December 5, 2016

Digest for comp.lang.c++@googlegroups.com - 19 updates in 12 topics

asetofsymbols@gmail.com: Dec 05 11:48AM -0800

On
#include <algorithm>
std::random_shuffle(v.begin(), v.end());
 
For me it is better
v.shuffle() and too
 
v.shuffle(indexBegin, indexEnd)
Ike Naar <ike@iceland.freeshell.org>: Dec 05 11:14PM

> uninitialized before the loop. The loop modifies values of those.
> So v[0] remains with value 0ULL as it was set by declaration of
> v and usage of it in next loop is well-defined.
 
According to the comment, Bob wanted to initialize the elements of
the array to [1..n], but if the first element of the vector is not
set to 1, the initial value of the array will be [0, 2..n] instead
of [1..n].
bleachbot <bleachbot@httrack.com>: Dec 05 07:10PM +0100

ram@zedat.fu-berlin.de (Stefan Ram): Dec 05 10:29PM

>and a constructor of one of x's subobjects throws an exception, all the
>resources will be cleaned up by the system. You don't have to do
>anything (except perhaps catch the exception somewhere else).
 
If p is not a smart pointer, x will not be destroyed in
 
p = new x; throw 0;
 
IIRC. And back in those days we did not used to have
reasonable smart pointer classes.
bleachbot <bleachbot@httrack.com>: Dec 05 11:37PM +0100

bleachbot <bleachbot@httrack.com>: Dec 05 11:46PM +0100

bleachbot <bleachbot@httrack.com>: Dec 06 12:00AM +0100

Ramine <ramine@1.1>: Dec 05 06:01PM -0500

Hello........
 
Very important about my USL program...
 
I will ad something very important:
 
Read here:
 
https://sites.google.com/site/aminer68/universal-scalability-law-for-delphi-and-freepascal
 
I have wrote this:
 
"And you can type at the command prompt: usl data.csv -d 0.2 10
 
the -d option will give you the derivative of the USL equation at
delta(y)/delta(x)=0.2 (it must be between 0 and 1) with a step
delta(x)=10 that will output a number and derivative of a
secant or a derivative delta(y)/delta(x) to better optimize the
criterion of the cost for a better QoS."
 
I have added this, because if the data is fixed/constant, such as
on my Scalable Parallel C++ Conjugate Gradient Linear System Solver
Library here:
 
https://sites.google.com/site/aminer68/scalable-parallel-c-conjugate-gradient-linear-system-solver-library
 
so then you can predict scalability and optimize the criterion of the
cost for a better QoS like i have explained to you.
 
USL methodology doesn't predict scalability because scalability
is dependant on the nature of data also but if the data is constant
so you can predict. And when you fix the data and test with USL
methodology , you can quantify the level of Contention (with strength α)
due to waiting or queueing for shared resources and the level of
Coherency (with strength β) due to the delay for data to become
consistent (or coherent) by virtue of point-to-point exchange,
and by forecasting on a fixed data you can have a better idea
of how your parallel system scales, so it is a powerful tool
 
Also i have easy the job for you by compiling my Universal Scalability
Law for Delphi and FreePascal programs to windows 32bit and 64bit
executables, they are really fantastic and powerful, they are GUI and
command line, please read about them and download them from here:
 
https://sites.google.com/site/aminer68/universal-scalability-law-for-delphi-and-freepascal
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Dec 05 05:47PM -0500

Hello.....
 
About USL methodology here:
 
http://www.perfdynamics.com/Manifesto/USLscalability.html
 
I have understood the USL methodology..
 
USL methodology doesn't predict scalability because scalability
is dependant on the nature of data also.
 
But when you fix the data and test with USL methodology , you
can quantify the level of Contention (with strength α)
due to waiting or queueing for shared resources and the level of
Coherency (with strength β) due to the delay for data to become
consistent (or coherent) by virtue of point-to-point exchange,
and by forecasting on a fixed data you can have a better idea
of how your parallel system scales, so it is a powerful tool
 
Also i have easy the job for you by compiling my Universal Scalability
Law for Delphi and FreePascal programs to windows 32bit and 64bit
executables, they are really fantastic and powerful, they are GUI and
command line, please read about them and download them from here:
 
https://sites.google.com/site/aminer68/universal-scalability-law-for-delphi-and-freepascal
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Dec 05 05:38PM -0500

Hello.....
 
About USL methodology here:
 
http://www.perfdynamics.com/Manifesto/USLscalability.html
 
I have understood the USL methodology..
 
USL methodology doesn't predict scalability because scalability
is dependant on the nature of data also.
 
But when you fix the data and test with USL methodology , you
can quantify the level of Contention (with strength α)
due to waiting or queueing for shared resources and the level of
Coherency (with strength β) due to the delay for data to become
consistent (or coherent) by virtue of point-to-point exchange,
and by forecasting on a fix data you can have a better idea
of how your parallel system scales.
 
Also i have easy the job for you by compiling my Universal Scalability
Law for Delphi and FreePascal programs to windows 32bit and 64bit
executables, they are really fantastic and powerful, they are GUI and
command line, please read about them and download them from here:
 
https://sites.google.com/site/aminer68/universal-scalability-law-for-delphi-and-freepascal
 
 
Thank you,
Amine Moulay Ramdane.
legalize+jeeves@mail.xmission.com (Richard): Dec 05 08:17PM

[Please do not mail me a copy of your followup]
 
Richard Damon <Richard@Damon-Family.org> spake the secret code
 
>The idea of the custom memory manager will generally only really make
>sense if there is something about the memory you want to manage that
>doesn't fit the 'standard' model.
 
The most overwhelming reason to use a custom memory manager is to
control locality of reference to increase the cache hit rate.
 
This is why most games simply use fixed size arrays and avoid the
heap. If they use the heap, they may use custom memory managers to
get better cache locality for their objects ('pool' allocators) than
that provided by the standard memory allocator, which makes no claims
about locality of reference, or even claims about the maximum amount
of memory obtained from the underlying system. Fragmentation is
another reason to use a custom memory allocator. Hell, even just
using google's malloc/free replacement can often be a big win.
<http://goog-perftools.sourceforge.net/doc/tcmalloc.html>
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Terminals Wiki <http://terminals-wiki.org>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
Bo Persson <bop@gmb.dk>: Dec 05 08:17PM +0100

On 2016-12-05 13:54, Stefan Ram wrote:
> management even in the case of exceptions. Or instead of
> »the use of«, one might say, »coping with«, i.e.,
> »coping with exceptions in resource management«.
 
No, why?
 
If you do
 
p = new x;
 
and a constructor of one of x's subobjects throws an exception, all the
resources will be cleaned up by the system. You don't have to do
anything (except perhaps catch the exception somewhere else).
 
Very neat, and a lot easier than handling this manually.
 
 
 
Bo Persson
Gareth Owen <gwowen@gmail.com>: Dec 05 06:34PM


> How does one pronounce »GotW« (in the sense of »Guru of the Week«)?
 
Gee-Oh-Tee-Double-U, or "Guru of the Week" for short
"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com>: Dec 05 07:39PM +0100

On 05.12.2016 15:11, Øyvind Røtvold wrote:
 
> Fish?
 
> or perhaps got-woo?, althoug that would fit better to a literal Guru,
> an I assume that's not what we're taking abuot here.
 
"gått-vé", same as in "gått vér".
 
Cheers & hth.,
 
- Alf
Daniel <danielaparker@gmail.com>: Dec 05 10:43AM -0800

On Monday, December 5, 2016 at 8:17:22 AM UTC-5, David Brown wrote:
> On 05/12/16 13:23, Stefan Ram wrote:
> > How does one pronounce »GotW« (in the sense of »Guru of the Week«)?
 
Some English words have a silent w.
Ramine <ramine@1.1>: Dec 05 01:12PM -0500

Hello........
 
 
This Is Your Brain on Quantum Computers
 
Read more here:
 
http://singularityhub.com/2016/10/02/this-is-your-brain-on-quantum-computers/
 
And the big revolution of quantum computers is here..
 
Finally, look at this new big revolution !
 
Scientists at the University of Sussex have invented a ground-breaking
new method that puts the construction of large-scale quantum computers
within reach of current technology.
 
Professor Hensinger said: "This development is a game changer for
quantum computing making it accessible for industrial and government
use. We will construct a large-scale quantum computer at Sussex making
full use of this exciting new technology."
 
Read more here:
 
https://www.sciencedaily.com/releases/2016/12/161202103416.htm
 
 
 
Thank you,
Amine Moulay Ramdane.
Clonazepam, Alprazolam, Norco, Hydrocodone, Subutex, Percocet, Xanax, Ritalin, Vicodin, Opana ER, Dilaudid, Buprenorphine, MS Contin, Morphine Vial, Hydromorphone Vials, Hydromprhone Pills, Oxymorphone ER, Oxymorphone IR pills, Roxy 30mg, Fentanyl, Fentanyl, EMAIL : keystonemeds@protonmail.com / -Tel: +1(213) 5346894 We strive to meet everyone of their Pharmaceutical needs. With our Service, you are guaranteed to find the absolute Lowest Prices for Buying medicine With or Without your Prescription. When you become a valued Customer of our Pharmacy, you no longer have to worry about looking elsewhere because we have everything you need We do offer discount as well to bulk buyers. We offer:  - Good quality Meds.  - Good and affordable prices.  - Fast and Reliable delivery -Tracking Available!  - Various shipping option (Overnight and Regular).  - No Prescription Required! No package sign-off - Buy Direct and Save Time and
Verified Seller <no_email@invalid.invalid>: Dec 05 05:37PM

Clonazepam, Alprazolam, Norco, Hydrocodone, Subutex, Percocet, Xanax,
Ritalin, Vicodin, Opana ER, Dilaudid, Buprenorphine, MS Contin, Morphine
Vial, Hydromorphone Vials, Hydromprhone Pills, Oxymorphone ER, Oxymorphone
IR pills, Roxy 30mg, Fentanyl, Fentanyl, EMAIL :
keystonemeds@protonmail.com /
-Tel: +1(213) 5346894
 
We strive to meet everyone of their Pharmaceutical needs. With our Service,
you are guaranteed to find the absolute Lowest Prices for Buying medicine
With or Without your Prescription. When you become a valued Customer of our
Pharmacy, you no longer have to worry about looking elsewhere because we
have everything you need We do offer discount as well to bulk buyers.
 
We offer: 
- Good quality Meds. 
- Good and affordable prices. 
- Fast and Reliable delivery -Tracking Available! 
- Various shipping option (Overnight and Regular). 
- No Prescription Required! No package sign-off
- Buy Direct and Save Time and Money! 
- 100% Customer Satisfaction Guaranteed
 
EMAIL : keystonemeds@protonmail.com /
-Tel: +1(213) 5346894 /
-Get W1ckr App and message Us at W1ckr ID: intermeds247
 
!!!!OVERNIGHT SHIPMENTS 📦 NOW AVAILABLE !!!!
NO CUSTOM ISSUES & NO PACKAGE SIGN-OFFS, SUCCESSFUL DELIVERIES 👍🏻
 
Pain/ Anxiety Pills
Seconal
Nembutal (Powder,Pills and Liquid form)
Oxycontin / Oxycodone 10,20 a,40 and 80 mg
Actavis Promethazine Codeine Purple Cough Syrup (16oz and 320z)
Hydrocodone 10500, 10325 ,7.5750 mg
Valium 10,15 and 20 mg
Xanax 1 and 2 mg
Dilaudid 2,4 and 8 mg
Ritalin 5,10, 20 mg
Percocet 7.5mg,5mg and 10mg
Opana 20mg and 40mg
Lorcet - (Hydrocodone Bitartrate/Acetaminophen) 10 mg/650 mg
Midazolam 3mg
Motrin 400mg and 600mg
Norco - ( Hydrocodone Bitartrate/Acetaminophen ) 5 mg/325 mg
Soma 350mg
Tramadol (Ultram) 50mg
Valium 2mg,5mg and 10mg
Valium Roche Brand 10mg
Voltaren 50mg and 100mg
Adderall,
Anaprox,
Ansaid,
Acephen Bupren ,
 
!!!!OVERNIGHT SHIPMENTS 📦 NOW AVAILABLE !!!!
NO CUSTOM ISSUES & NO PACKAGE SIGN-OFFS, SUCCESSFUL DELIVERIES 👍🏻
 
ex,
Butrans ,
Percocet,
Phrenilin,
Percodan
Soma,
Subutex
Cataflam,
Celebrex
Flexeril,
Fentora.. ,
Demerol,
Daypro,
Dilaudid
Endocet
Lorcet,
Lortab
Ibudone
Methadone,
Morphine
Naprosyn ,
Norco ,
Oxycontin,
Opana
Ritalin,
Roxicodone ,
Ultram ,
Vicodin,
Voltaren,
Vicoprofen ,
Cocaine,
MDMA,
4-Methylaminorex,
4-MMC,
MDPV,
LSD,
DMT,
5-MeO's PCP,
Heroin,
Ketamine DXM powder,
Dexedrine,
Adderall,
Nubain nalbuphine 20mg/ml,
Onax, Lorazepam, Diazepam,
Clonazepam,
Alprazolam,
Norco,
Hydrocoden,
Percocet,
Xanax,
Ritalin,
Vicodin,
Opana ER,
Dilaudid,
Buprenorphine,
MS Contin,
Morphine Vial,
Hydromorphone Vials,
Hydromprhone Pills,
Oxymorphone ER,
Oxymorphone IR pills,
Roxy 30mg,
Fentanyl,
Fent Patches Gel,
Fent pops Atiq 1200mcg,
Fentora, 300ug
Diabetes Pills
Infidelity Pills
 
 
Please do contact us for your best order and good prices, Delivery is via
USPS, TNT, AUSPOST, FEDEX, UPS and Express Mail depending on customers and
much more. we offer discreet shipping world wide depending on the buyers
location. We offer fast overnight shipping and reliable shipping within
USA, to Australia, Canada, UK, Germany, Sweden etc We offer our price list
as per the buyers order. Send in you order via EMAIL :
keystonemeds@protonmail.com / -Tel: +1(213) 5346894 / -Get W1ckr App and
message Us at W1ckr ID: intermeds247
 
!!!!OVERNIGHT SHIPMENTS 📦 NOW AVAILABLE !!!!
NO CUSTOM ISSUES & NO PACKAGE SIGN-OFFS, SUCCESSFUL DELIVERIES 👍🏻
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Dec 05 05:30PM

On 05/12/2016 12:03, Alf P. Steinbach wrote:
> Not sure though. Technically it can be supported because the various
> /operations/ of that vector are not instantiated until they're used, at
> which point S is complete, e.g. its size is known.
 
value_type requirements have indeed been decomposed into the functions
that use them rather than for the container as a whole.
 
/Flibble
Ramine <ramine@1.1>: Dec 04 06:53PM -0500

Hello....
 
My previous invention forces you to use mechanism that look
like a scalable reader-writer lock, so the remaining is
to ensure that the write correspond to a pop from the writer queue,
and a read correspond to a pop of the reader queue.
 
But there is still a problem..
 
Because look at this:
 
a := a + 1;
 
If it is not protected with a lock , it will not work in parallel
programming, this form of logic can be more nasty and is really a
problem because safe-critical systems doesn't tolerate this level of
risk, so race conditions are a difficult problem for security in safe
critical 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.lang.c+++unsubscribe@googlegroups.com.

No comments: