Readit News logoReadit News

Deleted Comment

Dead Comment

ivanca commented on Visual Studio Code 1.5   code.visualstudio.com/upd... · Posted by u/out_of_protocol
ausjke · 10 years ago
Typescript is great and is "natively" included in Angular2, however it's not the case for react and vue.js ecosystems.

Tried to use/learn typescript, in the meantime I wonder if there is a document showing how to use certain "safe" javascript along with its strict mode to make javascript secure enough so that I don't need use Typescript? i.e. how about using a subset of native javascript with certain rules that can achieve what typescript provides, is this enough? is 'strict-mode' the answer?

If there is a book/blog stating "using javascript the way as your typescript" I will buy it right away. :)

ivanca · 10 years ago
If you think learning Typescript is too much hassle for JavaScript "safety" you gonna have a heart attack when you find out about Elm[1] (hint: pure functional programming)

[1]http://elm-lang.org/

ivanca commented on Visual Studio Code 1.5   code.visualstudio.com/upd... · Posted by u/out_of_protocol
Waterluvian · 10 years ago
Not disagreeing but I got all I needed with Atom + atom-ternjs

And I don't even have to introduce typescript to my codebase to get surprisingly good hinting and autocomplete.

ivanca · 10 years ago
The hinting is almost secondary to the implicit documentation that a typed language brings.

Deleted Comment

ivanca commented on Plottable.js – Flexible, interactive charts for the web   plottablejs.org/... · Posted by u/insulanian
olavgg · 10 years ago
I really dislike these simple charting libraries, because I always have some kind of issue that just wastes my time in the end. For example with plottable, there is a hover event function that is extremely expensive that will trigger for every pixel movement with your mouse. With just a few hundred datapoints every chart we rendered ran horribly slow.

With D3.js you have instead full flexibility and the only performance issue is that SVG's are slower than canvas, and that is mostly a problem when you have tens of thousand data points.

ivanca · 10 years ago
FWIW D3.js is a dependency of plottable

Dead Comment

ivanca commented on Latest Intel, AMD chips won't support Windows versions earlier than Windows 10   theregister.co.uk/2016/09... · Posted by u/infodroid
mythz · 10 years ago
> Why is Microsoft doing this?

> Windows 10 must succeed at all costs. It's Windows 10 or bust. If you're buying a flash new machine, what a superb way for Microsoft to shoehorn its latest operating system onto it; that'll really help inflate its usage numbers.

ivanca · 10 years ago
Fuck Microsoft, I been using Windows all my life but if I could jump to any other operative system with games and software support I would do it in a heartbeat.
ivanca commented on Code that is valid in both PHP and Java, and produces the same output in both   gist.github.com/forairan/... · Posted by u/adamnemecek
mikeryan · 10 years ago
You can use the same trick used here of hiding the PHP tags behind the comments /*<?php
ivanca · 10 years ago
Actually that trick creates some residual garbage (the slash and the asterisk would be printed in PHP)

A way to avoid this is to use the HTML comment notation, JavaScript just ignores it (until end of line), so just:

    <!-- <?php echo "-->";

Deleted Comment

u/ivanca

KarmaCake day916April 20, 2013View Original