115 karma · joined November 18, 2014
The article claims DiagTrack collects "your name, email address, preferences and interests; browsing, search and file history; phone call and SMS data; device configuration and sensor data; and application usage". That description is credited to Microsoft itself ("As Microsoft explained"). But if you follow the link it turns out it's not really Microsoft's explanation, but just what some user on official Windows forum wrote. My guess: Windows Technical Preview did (or had ability to do) that and user confused one thing with another.
Next thing, DiagTrack came to Windows (TP) via update KB3022345, so let's check that update: https://support.microsoft.com/en-us/kb/3022345
"The Diagnostic and Telemetry service collects diagnostics information about functional issues on Windows systems that participate in the Windows Customer Experience Improvement Program (CEIP). CEIP reports don't contain contact information, such as your name, address, or telephone number. This means CEIP won't ask you to participate in surveys or to read junk email, and you won't be contacted in any other way."
Of course, it's still possible there's some foul play here, but I'd prefer it would be investigated first and accusations thrown later, not the other way around.
By the way, TypeScript recently (in nightly) gained support for JSX, so we can now have all of this ES6 stuff + types on top of it.
setTimeout(function() { $scope.$digest(); }, 0);
was an ugly hack and a sign of angular's leaky abstractionism showing up. Is this considered a good practice now (or always was)?Edit: just to clarify, I'm asking because in OP this was given as a one of the way to fix Angular speed issues.
Yeah, right. Some of is of public interest, sure, but then find it, edit it and publish the results. Ah, I forgot, it's not how wikileaks operate. For them making everything public is good in itself (except, of course, when it's about themselves).
Good article on this from Foreign Affairs: http://www.foreignaffairs.com/articles/143294/david-gordon-a...
Some quotes:
"Yanis Varoufakis, the Greek Finance Minister, for one, singled out Italy for having debt that was “unsustainable,” which served only to infuriate Italian Finance Minister Pier Carlo Padoan"
"Within a day of winning the Greek election, he (Tsipras) called the Russian ambassador and protested the EU’s statement condemning Russian-backed Ukrainian separatists for an attack on civilians in a Mariupol market"
"But even then, Greece could have survived its mistakes were it not for one other fatal decision: to move forward with its electoral platform before renegotiating its debt, increasing government spending without the requisite funds and reversing or stalling key reforms (...) All these factors positioned Greece to buckle in its negotiations. It was simply hemorrhaging far too much money far too fast to hold its position."
Marx' apologists point out, not without a reason, that one of the problems with the attempts of bringing his theories to life is that those attempts were done in countries not well suited to do it. Marxism, according to Marx, was supposed to be another step in the evolution of capitalism, yet it was tried in countries that didn't yet have any capitalism or had it in some very immature form, e.g. in post-tzar, soviet Russia.
On the other hand he was claiming that capitalism is unmaintainable and will fall by itself and that didn't happen either.
Just as many people treat youtube as a get-go place for their video/music content needs (many people start to treat it as their TV, especially kids), Medium hopes people will, in time, treat Medium as the only magazine/newspaper/blog-place they need - and that should also push traditional media to utilize it (same as happens for TV channels and youtube). This is a long-term plan, but given how Internet tends to favour natural monopolies (see Google, Facebook, YouTube) it might actually work. Even if they will fail at this someone else will probably succeed.
- SQL as a primary interface
- ACID support for transactions
- Non-locking architecture
- High per-node performance
- Scalable, shared nothing architecture
Michael Stonebraker
- libraries availability
- code size and speed
- debugging capabilities
- ...and interoperability with JS (I recall that F# uses TypeScript definition files, that's a nice approach)
Anyone has more experience with it?
Aaaaaaand solution for that doesn't have to be a class (or something pretending to be a class), but for example a collection of functions/methods that you attach to an object, so you for example assign behaviour to data. This is something that Reginald Braithwaite for example advocates.
Seems to be something like this could be done using QScintilla. Qt would give it an excellent cross-platform support, Scintilla a good editor with a speed of C++, and the ease of development and extensibility would be possible thanks to either PyQt (Python) or QtQuick (JavaScript). Just a thought...
function addKey(input, key, value) { input[key] = value; return input; }
this will work on either Objects or on an Array. But if you have static typing and no generics to make it work you have to either:- create two versions of the same function, one for Objects, 2nd for Arrays
- use any as a type of input - this will work, but you will loose most of the benefits of type checking, e.g. you will be also able to pass Number as an input and compiler won't complain, it will be detected as error only on runtime and other things (your function will also return any so further on in the program you won't know what type is used).
With generic it's easy, you write the function once and when you call it you tell what types are used:
// definition:
function addKey<X,Y,Z>(input:X, key:Y, value:Z):X { ... }
// call:
var a = addKey<Array<string>,Number,string>([],0,"fubar");
With this particular example there are probably other ways as well (sum types, common interface) and also compiler may actually detect passing Number as an error (depends how smart it is), but there are more complex cases, where lack of generics will lead to a lot of copy/pasting and boilerplate.