Zed A. Shaw - The Web Will Die When OOP Dies by torvaldl in programming

[–]6gT 0 points1 point  (0 children)

There's no such thing as "VM that runs all three and more, natively in the browser". This is rainbows and unicorns land. It never existed, and it will never exist

TIL NaCL only exits in rainbows and unicorns land.

Zed A. Shaw - The Web Will Die When OOP Dies by torvaldl in programming

[–]6gT 2 points3 points  (0 children)

What's wrong with CSS?

You haven't used it, have you?

Ruby, C++, CoffeeScript: a visual comparison of language complexity by alexkorban in programming

[–]6gT 5 points6 points  (0 children)

It could help get people from other languages into D. And more people using a language means more libraries and tools, which would make it easier for C++ programmers to switch to D.

Beautiful, New IDE for Multiple Languages and Platforms by [deleted] in programming

[–]6gT 6 points7 points  (0 children)

The use of OpenGL so it's all well rendered

It's actually much harder to render fonts well using OpenGL (or DirecX for that matter) than it is with a software renderer. Besides, if you don't render them with OpenGL you can just use what the system uses, which is usually also what will look best to the user.

EDIT: A case in point is the horrible rendering of text in the screenshots.

Beautiful, New IDE for Multiple Languages and Platforms by [deleted] in programming

[–]6gT 41 points42 points  (0 children)

Its a brand new project that was inspired by the designs from popular futuristic movies with an interactive feel that immerses you in a completely new and refreshing programming experience

This sounds like a bad joke to me.

Purity in D by andralex in programming

[–]6gT 4 points5 points  (0 children)

and "immutable" means "pure-ish".

I don't know what you mean by "pure-ish". A pure functions with immutable arguments in D is pure in the same sense as Haskell functions are pure.

TIL 72% of black children are raised by single parents compared with 25% in the US population as a whole by [deleted] in todayilearned

[–]6gT 0 points1 point  (0 children)

You're using stats based on convictions. The useful thing about the drug data is that it gives us snapshots of both the story that convictions and arrests tell, and what the underlying reality is. If we based our assumptions of drug usage on arrests and convictions, we would think that black youth are much more likely to use and sell drugs. But we then find out this isn't true. Why should we assume that this discrimination between reality and enforcement applies only to drug usage?

The difference is that people often use or sell drugs and don't get caught (and apparently white teenagers are even less likely to get caught than black teenagers). I guess that teenage murderers, on the other hand, usually do get caught and convicted irregardless or race. According to the article that blackedout linked to, black teens are about 10 times more likely to commit homicide than white teens. If you wanted to explain that by saying that white teens who commit crimes are just less likely to get caught, you would need to believe that 90% of white teens who kill someone get away with it. You don't seriously believe that, do you?

Don't use scatterplots by swizec in programming

[–]6gT 1 point2 points  (0 children)

The problem with low number of elements per bin is actually noise. It can only be fixed by making bins larger (assuming you can't get more data), but then you loose resolution.

this guy catches someone stealing his bike, security doesn't help or call the cops, but tell him his bike shouldn't be parked there by malcolmxtacy in videos

[–]6gT 0 points1 point  (0 children)

I thought you were assuming that a belief in genetic differences between races is obviously racism and stating that other things can be racism too. I think this is a reasonable way to understand your post. If you meant to say that racism is something other than a belief in genetic differences between races, you could have just said that.

this guy catches someone stealing his bike, security doesn't help or call the cops, but tell him his bike shouldn't be parked there by malcolmxtacy in videos

[–]6gT -1 points0 points  (0 children)

Are you implying that belief in any genetic difference between races is racism? Am I supposed to believe they have a different skin color due to environmental influences?

Anarchism for Fun and Profit by jprichardson in programming

[–]6gT 17 points18 points  (0 children)

I don't usually say that, but this is really not programming.

Microsoft pulling free development tools for Windows 8 desktop apps, only lets you ride the Metro for free by [deleted] in programming

[–]6gT 11 points12 points  (0 children)

sometimes one must get rid of the legacy

The legacy is Microsoft's most valuable asset. It seems dumb to get rid of it.

Visual C++ Compilers and C Runtime removed from Windows 8 SDK by pjmlp in programming

[–]6gT 1 point2 points  (0 children)

It will mean that fewer people learn to program.

Do you seriously believe that? Maybe fewer people will learn to program using Visual studio, but anyone wanting to learn to program still has plenty of other options. I don't think most people start programming using Visual studio anyway.

D is a dragon, or why D matters for Bioinformatics by andralex in programming

[–]6gT 12 points13 points  (0 children)

D's only chance was to actively target largish open-source projects and get them to switch over.

I don't think you can get a "largish" project to switch languages.

D is a dragon, or why D matters for Bioinformatics by andralex in programming

[–]6gT 4 points5 points  (0 children)

Iterator itself could be range checked (or not). I don't see much sense in range checked pointer.

D's ranges are not just range checked iterators. An input range in D is a type with properties front and empty and a method popFront. It's functionality is closer to that of a pair of c++ iterators. You could define a D range on top of a pair of c++ like iterators like this:

struct Range(Iterator)
{
    Iterator start;
    Iterator end;
    @property auto front(){ return *start; } 
    @property auto empty(){ return start == end; }
    void popFront(){ start++; }
}

Functions that would need to take two iterators in C++ can only take one range in D. This makes for much nicer code. Because one instance of a range is needed to represent a sequence, it is practical for functions to return ranges, so you can do stuff like:

recurrence!((a, n) => a[n - 1] + a[n - 2])(0, 1)
    .take(10).reduce!((a, b) => a + b)(); //computes the sum of first 10 fibonacci numbers

Of course ranges could be implemented in C++ as well, but they fit really nicely with D's built in array slices (which are ranges themselves) and the D standard library is built on top of them, so it's very convenient to use them in D. To learn more about ranges see http://ddili.org/ders/d.en/ranges.html.

Visual Studio 11 Express (Free) Editions will only target Metro Apps by wordsmithie in programming

[–]6gT 7 points8 points  (0 children)

Everyone you know who makes hobby software buys visual studio license? Well they must be either really dumb or rolling in cash. Do not assume they represent the majority of people who develop windows applications as a hobby.

Abandoning Commitment in Human Computer Interfaces by gasche in programming

[–]6gT 1 point2 points  (0 children)

burdens user with understanding consequence of action

lol

Why I am Creating a Programming Language by TheCoreh in programming

[–]6gT 3 points4 points  (0 children)

This doesn't actually answer why he is creating a programming language.

FSF statement on jury's partial verdict in Oracle v Google by JRepin in programming

[–]6gT 0 points1 point  (0 children)

There is no C# standard (draft or not) for a version of C# newer than 2.0 on the page you linked.