Wednesday, December 2, 2015

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

"Skybuck Flying" <skybuck2000@hotmail.com>: Dec 02 01:22AM +0100

It's not YOU doing it.
 
Since you obviously don't understand that it's not worth reading anything
else you wrote LOL.
 
Bye,
Skybuck.
"Chris M. Thomasson" <nospam@nospam.nospam>: Dec 01 04:44PM -0800


> It's not YOU doing it.
 
> Since you obviously don't understand that it's not worth reading anything
> else you wrote LOL.
 
If this crap is really happening to you, take your harddrive out and burn it
into fuc%ing dust!
 
Do it NOW!
Juha Nieminen <nospam@thanks.invalid>: Dec 02 08:54AM

> You have no control over Windows 10 update. Just anything could/might happen.
 
Like what? Microsoft stealing your credit card number?
 
Don't make me laugh.
 
--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
Juha Nieminen <nospam@thanks.invalid>: Dec 02 08:57AM

> You download things FROM a computer, you upload them TO a computer.
 
It's a matter of perspective. If a hacker breaks into your computer and
starts a download from somewhere else into your computer, isn't the hacker
"downloading" things to your computer?
 
--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
Richard Heathfield <rjh@cpax.org.uk>: Dec 02 09:42AM

On 02/12/15 08:57, Juha Nieminen wrote:
 
> It's a matter of perspective. If a hacker breaks into your computer and
> starts a download from somewhere else into your computer, isn't the hacker
> "downloading" things to your computer?
 
My understanding of the term has always been that you upload from a
smaller device to a larger, and download from a larger device to a
smaller. Thus, from your laptop you might *up*load data to a Web server
or a mainframe, but you would *down*load data to your phone or tablet.
 
If the devices are of comparable size and power, you aren't upping or
downing anything - you're just transferring data from one computer to
another. I suppose we could say "crossloading"?
 
--
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within
seeplus <gizmomaker@bigpond.com>: Dec 02 01:51AM -0800

On Wednesday, December 2, 2015 at 7:54:48 PM UTC+11, Juha Nieminen wrote:
 
> Like what? Microsoft stealing your credit card number?
 
> Don't make me laugh.
 
> --- news://freenews.netfront.net/ - complaints: XXXXXXXX ---
 
If you are running W10 then you have AGREED in the T&Cs:
 
"we will access, disclose and preserve personal data."
 
.... and search "Microsoft hack".... growing exponentially.
Les Cargill <lcargill99@comcast.com>: Dec 02 04:09AM -0600

Juha Nieminen wrote:
> starts a download from somewhere else into your computer, isn't the hacker
> "downloading" things to your computer?
 
> --- news://freenews.netfront.net/ - complaints: news@netfront.net ---
 
Down is towards an end node; up is towards the backbone. Servers
live closer to the backbone. Usually. Or rather did when the
nomenclature was forged.
 
--
Les Cargill
Grant Edwards <invalid@invalid.invalid>: Dec 02 03:20PM

> smaller device to a larger, and download from a larger device to a
> smaller. Thus, from your laptop you might *up*load data to a Web server
> or a mainframe, but you would *down*load data to your phone or tablet.
 
That's sort of the usage I'm used to, but it probably has more to do
with network topology than CPU power. Servers on the internet are at
the top of the diagram, and embedded devices that can't access the
internet directly are at the bottom with my PC somewhere in the
middle.
 
--
Grant Edwards grant.b.edwards Yow! Are you still an
at ALCOHOLIC?
gmail.com
Grant Edwards <invalid@invalid.invalid>: Dec 02 03:20PM


> Down is towards an end node; up is towards the backbone. Servers live
> closer to the backbone. Usually. Or rather did when the nomenclature
> was forged.
 
Exactly! Thats the usage I've been used to for the past 30 years.
 
--
Grant Edwards grant.b.edwards Yow! I'm pretending that
at we're all watching PHIL
gmail.com SILVERS instead of RICARDO
MONTALBAN!
Keith Thompson <kst-u@mib.org>: Dec 02 08:36AM -0800


> It's a matter of perspective. If a hacker breaks into your computer and
> starts a download from somewhere else into your computer, isn't the hacker
> "downloading" things to your computer?
 
My understanding of the word "downloading" has always been STOP FEEDING
THE TROLL!
 
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
"Chris M. Thomasson" <nospam@nospam.nospam>: Dec 02 02:08PM -0800

> "seeplus" wrote in message
> news:85400d28-7c6d-497a-932d-b129b9a4a476@googlegroups.com...
[...]
> If you are running W10 then you have AGREED in the T&Cs:
[...]
 
When I first noticed that damn windows icon sitting in my taskbar I thought
I had a virus.
 
Turns out that its okay, and part of Microsoft trying to get me to download
Win10.
 
What a piece of shi% move on their part. As%holes!
 
GRRRRR!
 
;^/
Ramine <ramine@1.1>: Dec 02 03:55PM -0800

Hello...
 
I have updated my efficient Threadpool engines with priorities
and without priorities to version 2.6, i was thinking more and
i have come with another more efficient and more scalable
concurrent FIFO Queue, please look at it inside the
zipfile, its name is FIFOQueue_mpmc.pas, i have also
corrected some logic inside my algorithm of my Threadpool engines
and now they are correct, i have tested them thoroughly and
you can be confident because i think they are stable and fast now,
so be happy with them.
 
One last note: if you look at the microsoft TPL library
it's using a Threadpool engine with many queues and i think
it's work stealing with a round robin mechanism , but i think
this is not good for critical systems if the number of queues
are higher and higher... i have avoided this problem in
my Threadpool engine.
 
You can download my Threadpool engines with priorities and
without priorities version 2.6 from:
 
https://sites.google.com/site/aminer68/threadpool-with-priorities
 
and from:
 
https://sites.google.com/site/aminer68/threadpool
 
 
 
Please feel freee to port them to the C++ programming language...
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Dec 02 04:25PM -0800

I wrote:
> this is not good for critical systems if the number of queues
> are higher and higher... i have avoided this problem in
> my Threadpool engine.
 
 
Please read this to understand more how works the Microsoft TPL
 
"...Each worker thread has its own local task queue of work to be done.
Each worker usually just pushes new tasks onto its own queue and pops
work whenever a task is done. When its local queue is empty, a worker
looks for work itself and tries to "steal" work from the queues of other
workers."
 
Read more here about Microsoft TPL:
 
http://msdev.developer-works.com/article/30095952/Performance+of+TPL+and+explanation%3F
 
 
Thank you,
Amine Moulay Ramdane.
 
 
On 12/2/2015 3:55 PM, Ramine wrote:
bleachbot <bleachbot@httrack.com>: Dec 02 09:52PM +0100

bleachbot <bleachbot@httrack.com>: Dec 02 10:24PM +0100

Lynn McGuire <lmc@winsim.com>: Dec 02 12:34PM -0600

On 12/1/2015 2:02 AM, Christian Gollwitzer wrote:
> questionable to google for "C++ but not C" - the name is so similar and many people mix it up as "C/C++" that I do not believe that
> the metrics can distinguish the two.
 
> Christian
 
Metrics are tough to agree upon. One thing that I know for sure, the vast majority of program written before the 1990s were in
Assembly, Cobol, and Fortran. A lot of that code is still lurking out there and will need updating some day.
 
Lynn
scott@slp53.sl.home (Scott Lurndal): Dec 02 07:01PM


>> Christian
 
>Metrics are tough to agree upon. One thing that I know for sure, the vast majority of program written before the 1990s were in
>Assembly, Cobol, and Fortran. A lot of that code is still lurking out there and will need updating some day.
 
You know that for sure.
 
There's still more lines of COBOL in production than any other
language (as of 2009).
 
https://scs.senecac.on.ca/~timothy.mckenna/offline/COBOL_not_dead_yet.htm
 
But, there was a tremendous amount of code written in Algol and other
languages[*] from 1960 to 1990. There was very little assembler written
for production purposes after about 1975. Burroughs stopped shipping the
assembler entirely about that time on most of their mainframes (the large
systems line never even had an assembler, all systems code is written in
a flavor of ALGOL (called NEWP)).
 
[*] e.g. JOVIAL, CORAL 66, PL/1, REXX, et alia
 
https://en.wikipedia.org/wiki/Generational_list_of_programming_languages
scott@slp53.sl.home (Scott Lurndal): Dec 02 01:56PM


>> This is considered a feature?
 
>Well... When did you last see one that big? But I don't know why they
>bothered to put in such an arbitrary restriction.
 
If I'm going to use an editor, I'll use one that will allow me
to read my multigigabyte trace and log files as well as edit
source code (and if it allows binary editing, all the better).
Noob <dontspam@me.com>: Dec 01 10:10PM -0200

Hi there.
 
I know this is a forum for C++ and not VS but I hope this is an error
you will find easy to recognize.
 
I have a small VS Solution containing a static library project and an
executable. When I try to build it all I receive gigantic error
messages. The messages mention things like "__penter", "__pexit",
"__thiscall" and I'm afraid I have no idea what they are.
 
I'm going to post the messages below hoping that they will be
meaningful to someone willing to give me a little hand here.
 
 
 
testlib.lib(rule_params.obj) : error LNK2019: unresolved external symbol
__penter referenced in function "public: __thiscall std::pair<class
std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > >
>,bool>::pair<class std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > > >,bool><class
std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > > >
&,bool,void>(class std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > > > &,bool &&)"
(??$?0AAV?$_Tree_iterator@V?$_Tree_val@U?$_Tree_simple_types@U?$pair@$$CBIV?$tuple@V?$vector@NV?$allocator@N@std@@@std@@V12@V12@@std@@@std@@@std@@@std@@@std@@_NX@?$pair@V?$_Tree_iterator@V?$_Tree_val@U?$_Tree_simple_types@U?$pair@$$CBIV?$tuple@V?$vector@NV?$allocator@N@std@@@std@@V12@V12@@std@@@std@@@std@@@std@@@std@@_N@std@@QAE@AAV?$_Tree_iterator@V?$_Tree_val@U?$_Tree_simple_types@U?$pair@$$CBIV?$tuple@V?$vector@NV?$allocator@N@std@@@std@@V12@V12@@std@@@std@@@std@@@std@@@1@$$QA_N@Z)
 
testlib.lib(stdafx.obj) : error LNK2001: unresolved external symbol __penter
 
testlib.lib(rule_params.obj) : error LNK2019: unresolved external symbol
__pexit referenced in function "public: __thiscall std::pair<class
std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > >
>,bool>::pair<class std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > > >,bool><class
std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > > >
&,bool,void>(class std::_Tree_iterator<class std::_Tree_val<struct
std::_Tree_simple_types<struct std::pair<unsigned int const ,class
std::tuple<class std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> >,class
std::vector<double,class std::allocator<double> > > > > > > &,bool &&)"
(??$?0AAV?$_Tree_iterator@V?$_Tree_val@U?$_Tree_simple_types@U?$pair@$$CBIV?$tuple@V?$vector@NV?$allocator@N@std@@@std@@V12@V12@@std@@@std@@@std@@@std@@@std@@_NX@?$pair@V?$_Tree_iterator@V?$_Tree_val@U?$_Tree_simple_types@U?$pair@$$CBIV?$tuple@V?$vector@NV?$allocator@N@std@@@std@@V12@V12@@std@@@std@@@std@@@std@@@std@@_N@std@@QAE@AAV?$_Tree_iterator@V?$_Tree_val@U?$_Tree_simple_types@U?$pair@$$CBIV?$tuple@V?$vector@NV?$allocator@N@std@@@std@@V12@V12@@std@@@std@@@std@@@std@@@1@$$QA_N@Z)
 
testlib.lib(stdafx.obj) : error LNK2001: unresolved external symbol __pexit
Noob <dontspam@me.com>: Dec 01 10:14PM -0200

I forgot to mention this is VS 2015.
Whups <thats_gonna@leaveamark.invalid>: Dec 01 04:24PM -0800

On 2015-12-02 00:10:29 +0000, Noob said:
 
> "__thiscall" and I'm afraid I have no idea what they are.
 
> I'm going to post the messages below hoping that they will be
> meaningful to someone willing to give me a little hand here.
 
[snip]
 
 
> testlib.lib(stdafx.obj) : error LNK2001: unresolved external symbol __penter
 
_penter is affected by the /Gh compiler switch.
https://msdn.microsoft.com/en-us/library/c63a9b7h.aspx
 
 
[snip]
 
 
> testlib.lib(stdafx.obj) : error LNK2001: unresolved external symbol __pexit
 
-pexit is affected by the /GH compiler switch.
https://msdn.microsoft.com/en-us/library/xc11y76y.aspx
 
Is your project setting these? I can't think of a reason why these
would be set unless the author of the project intended to create custom
preamble and postamble code for the affected functions.
Noob <dontspam@me.com>: Dec 01 10:28PM -0200

OK, I should have done my homework better.
 
In the configuration properties for my static library,
I had the options /GH and /Gh listed under "additional
options". I don't know how they got there but it looks
like this was the root of the problem:
 
https://msdn.microsoft.com/en-us/library/c63a9b7h.aspx
https://msdn.microsoft.com/en-us/library/xc11y76y.aspx
 
Also, I already sort of know what __this call is:
 
https://msdn.microsoft.com/en-us/library/ek8tkfbw.aspx
 
Thanks and sorry for the mess. It's about time I stop
for today and go play some Half Life 2...
Noob <dontspam@me.com>: Dec 01 10:30PM -0200

On 01/12/2015 22:24, Whups wrote:
 
> Is your project setting these? I can't think of a reason why these
> would be set unless the author of the project intended to create custom
> preamble and postamble code for the affected functions.
 
Ahh, thank you. I had found this just after I posted. Thank you very
much in any case. Yes, I have no idea how those options were set in
first place. Now the mess is gone. Cheers!
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: