Tuesday, March 7, 2017

Digest for comp.lang.c++@googlegroups.com - 9 updates in 3 topics

"Chris M. Thomasson" <invalid@invalid.invalid>: Mar 07 03:27PM -0800

On 3/5/2017 2:48 PM, Chris M. Thomasson wrote:
> every problem you encountered. Give it some time to complete, it should
> show progress in the console:
> __________________________________________
[...]
 
Think of transforming each call to:
 
std::this_thread::yield();
 
in the following code:
 
http://pastebin.com/raw/hXQfrCSN
 
with a "possible opportunity" to perform another "useful action",
instead of "blocking/spinning" on a single action that is currently in use?
 
Fractal layered queuing architecture to the rescue... ;^)
 
lol.
legalize+jeeves@mail.xmission.com (Richard): Mar 07 10:47PM

[Please do not mail me a copy of your followup]
 
I don't work for JetBrains, so I don't feel compelled to defend it
arbitrarily. However, as a long-time customer of JetBrains products
I do feel that they make some of the best IDE and refactoring tools in
the industry. It is amazing what you can do with IntelliJ for Java code.
I don't know how I could survive working on Java without IntelliJ or
working on C# without ReSharper. The same holds true for ReSharper
for C++ and Visual Studio on Windows, or CLion on linux.
 
While I'm quoting Ian here, I'm mostly responding to Mr. KILLfiled.
 
Ian Collins <ian-news@hotmail.com> spake the secret code
>On 03/ 8/17 08:34 AM, Scott Lurndal wrote:
>> Let's see. It requires cmake. That's the first show-stopper.
 
>Was for me..
 
See, now that's a reasonable criticism. However, the refactoring
support is top-notch and it is going to blow away anything else on
Linux in this regard.
 
For me, if I don't have good refactoring and navigation support from
my IDE, then I just have an editor. I know unix users are used to
just having an editor and they think that ctags is tantamount to in
depth navigation, but honestly they just don't know what they are
missing having never used an IDE like IntelliJ for Java, ReSharper for
C#. CLion is only a little over a year old and it is already beating
the pants off other C++ development environments on linux.
 
>> Second, it requires a JRE. That's the second show-stopper.
 
>So do most IDEs that aren't Visual Studio...
 
I don't know why requiring Java is a showstopper, but that's also a
valid criticism if for some reason you have a fear/hatred of Java.
But that means you won't be using Eclipse or NetBeans either which are
the other popular IDEs on linux.
 
>> Third, it packs everything into a single window. That's the third
>show-stopper.
 
>I assume it can un-dock windows?
 
Windows can be rearranged and undoced, yes. I like VS's window
arrangement and docking facilities better than CLion's which is based
on IntelliJ. However, you can do all the same things in any JetBrains
IDE that you can do in VS as far as window arrangement goes.
 
>> Fourth, it's not available in source form. That's the fourth show-stopper.
 
>Would you read the tangle of Java that is Eclipse?
 
Again, I'm not sure why this is a showstopper. It's one thing to say
that you prefer to support open source software instead of commercial
software. It's another thing to demand the actual source code because
you need to review it.
 
Are you really reviewing every line of source code for everything you
use in your environment and compiling it all yourself to ensure that
nothing bad was slipped in? I find that highly dubious. Even in the
open source world, you just have to trust other people or you'll never
get anything done yourself because you'll be spending all your time code
reviewing every piece of open source software in the entire stack (OS,
drivers, command-line utilities, editors, compilers, etc).
 
As developers in a modern environment we are sitting on probably tens
of millions of lines of code.
 
>> Fifth, it's suitable for development of firmware, operating systems or
>embedded software.
>> Sixth, Richard gets obnoxious about any objections to using it.
 
I get obnoxious about stupid objections. A couple things you've
asserted here (apparently you couldn't stop feeding religious trolls
or were saying a bunch of other stupid shit because I KILLfiled you
some time ago) were simply your opinion about your personal tastes (I
don't like java, I don't like closed source) and not a criticism of
the product itself.
 
Remember the original thread was "what's the best IDE" and I gave my
opinion having actually USED these IDEs instead of dismissing them out
of hand for religious/opinion reasons. I'm not telling anyone (least
of all an open source java hating snob) what to use. I am asserting
that using the IDEs I recommend will make you an order of magnitude
more productive if you just take the chip off your shoulder and try
them for an extended period of time.
--
"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>
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Mar 07 08:33PM

On 07/03/2017 20:04, Gareth Owen wrote:
>>> blathering, you're practically Bertrand Russell.
 
>> Wrong. My logic is sound; try using your brain to work it out.
 
> Yeah. Sure. OK.
 
We have been over this. Pray tell at what point in the genealogy of
Jesus Christ to Adam and Eve (Mary's line or Joseph's line, dealers
choice) does the genealogy transition from factual to fictional? What
evidence do you have for this transition? The truth is the entire
genealogy is suspect. The Bibles (OT and NT) that are supposedly divine
are demonstrably erroneous.
 
So what part of my logic is suspect exactly?
 
/Flibble
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Mar 07 09:04PM

On 07/03/2017 20:50, Gareth Owen wrote:
> who claimed to be the Jewish Messiah, is not contigent on the truth
> existence of Adam & Eve, the truth of his claimed heritage or whether or
> not his mother was a virgin.
 
That FACTS are such that the BIBLICAL Jesus Christ (i.e. the Jesus
Christ as described in the Bible) cannot exist because Adam and Eve
cannot exist. Some other "historical" guy (your "religious figure")
which the fictional Jesus Christ may or may not have been partially
based on IS NOT THE SAME INDIVIDUAL. Evolution falsifies Jesus Christ
OF THE BIBLE and the ENTIRE Bible itself both OT and NT; this is undeniable.
 
 
> David Icke claimed to be the Son Of God also. That doesn't been he
> doesn't exist, just that he's delusional.
 
Plenty of delusional people around...
 
/Flibble
"Chris M. Thomasson" <invalid@invalid.invalid>: Mar 07 01:41PM -0800

On 3/4/2017 8:27 PM, Rick C. Hodgin wrote:
> loves you and He will honor your request.
 
> Thank you,
> Rick C. Hodgin
 
Hey Rick, I am wondering if you can compile and run this:
 
http://pastebin.com/raw/hXQfrCSN
 
Heck, its real C++!
Christian Gollwitzer <auriocus@gmx.de>: Mar 07 11:06PM +0100

Am 07.03.17 um 22:04 schrieb Mr Flibble:
> cannot exist. Some other "historical" guy (your "religious figure")
> which the fictional Jesus Christ may or may not have been partially
> based on IS NOT THE SAME INDIVIDUAL.
 
C++ compilers don't exist. There are some other programs (g++, clang++,
vc++) which are partially based on the ISO standard for C++, but none
of them are perfect implementations, therefore they support only
dialects of C++ and are not the same as a C++ compiler.
 
Christian
Real Troll <real.troll@trolls.com>: Mar 07 06:07PM -0400

I suggest try something like this:
 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
 
namespace MvcMovie.Models
{
public class Movie
{
public int ID { get; set; }
public string Title { get; set; }
public DateTime ReleaseDate { get; set; }
public string Genre { get; set; }
public decimal Price { get; set; }
}
 
public class MovieDBContext : DbContext
{
public DbSet<Movie> Movies { get; set; }
}
}
 
This should allow you to create a database "on the fly" . You can also
annotate the data with some validation tags so that stringlength, date
format or currency range can be checked at clients level as well as
server level. This is to stop hackers disabling javascript in their
browsers to corrupt the database.
 
Hope this gives you something to think about before next week.
Gareth Owen <gwowen@gmail.com>: Mar 07 10:30PM


> Some other "historical" guy (your "religious figure") which the
> fictional Jesus Christ may or may not have been partially based on IS
> NOT THE SAME INDIVIDUAL.
 
I guess we're in "Abraham Lincoln: Vampire Hunter" territory here.
 
Abraham Lincoln - definite historical figure, almost certainly not a
vampire hunter. Jesus Christ - possible historical figure, almost
certainly not the water-fermenting, money-lender-table-tossing
steely-eyed dealer of leper-cures we sometimes hear about at Christmas.
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Mar 07 10:32PM

On 07/03/2017 22:06, Christian Gollwitzer wrote:
> vc++) which are partially based on the ISO standard for C++, but none
> of them are perfect implementations, therefore they support only
> dialects of C++ and are not the same as a C++ compiler.
 
False analogy. Back to school mate.
 
/Flibble
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: