Hacker Newsnew | comments | show | ask | jobs | submit | youngnh's comments login

For $150, this conference is unbelievable.

Guy Steele giving the keynote on day one, Douglas Crockford talking day two.

Bradford Cross from Flightcaster, Chris Houser (Clojure), Jeff Brown (Grails), Kevin Well (analytics lead at Twitter) it's story-time with some of the world's greatest programmers and problem-solvers.

-----


I was wholly expecting his argument to address this quote:

If developers grow dependent on third party development libraries and tools, they can only take advantage of platform enhancements if and when the third party chooses to adopt the new features. We cannot be at the mercy of a third party deciding if and when they will make our enhancements available to our developers.

with respect to "private api" arguments made here: http://www.marco.org/500743718

-----


I actually did a === check for just that reason, since if you define _ = {}, then passing in a real object that is {} will also return true for _ == {}

-----


Nope:

    js> a = {}
    [object Object]
    js> b = {}
    [object Object]
    js> a == b
    false
== only casts between certain primitive types, it doesn't do a deep comparison:

    js> x = null
    null
    js> y = undefined
    js> x == y
    true
    js> x === y
    false
Also undefined comparisons are still true with ===:

    js> var _
    js> _ === undefined
    true

But you're right, === should be the default choice, and only use == if you have a good reason.

-----


feel free to correct me if I'm wrong, but I thought that GreaseMonkey scripts run on the same page, but in no way _replace_ the scripts a site serves.

what, I think, Stallman envisions is being able to use your local copy of Gmail instead of the one Google's serving you without any loss of functionality.

-----


GreaseMonkey scripts can modify the page contents, and if only GreaseMonkey scripts could run before whatever JavaScript is included with the page could start, then it could completely replace the site's script rather than just modifying its behavior shortly after the site's script begins to run. I think so anyway, I haven't actually implemented this so I won't claim to know for sure that it can be done.

Chromium has this "early injection" feature for GreaseMonkey scripts, so that's one free browser for which it would be very easy to build Stallman's replacement feature. See the link I gave earlier in this thread and also http://www.mail-archive.com/chromium-discuss@googlegroups.co... for some background.

-----


I'd like to see this applied as an embeddable feature in hacker news. see who writes comments, which comments get commented on and what people really have to say before they hit that 'add comment' button

-----


See http://www.sothebyshomes.com/ I know a little about the Sothebys site, as the company I work for created it, and I wrote a fair bit of the Javascript myself.

The original site makes extensive use of js to load content, and anywhere data is missing on the pirated site, that's why.

What we can't figure out here in the office, is why they did it? How much of this is going on?

-----


looking at the two side-by-side, you can see the few places they had to substitute their own text, which almost always sucks.

phew, what would you do about such a thing?

-----


the trans-equatorial railway express, of course, ol chap!

but, uh, (slightly) more seriously, if one big transmitter is the problem, then isn't the solution multiple small transmitters in the the same orbit, repeated at increasingly closer-to-earth orbits? then you could just run a wire up to a transmitter in geostationary orbit.

-----


A compiler that takes Sed programs and produces Parrot interpreter code. It was a project in a college Compilers class that I didn't take seriously enough, so I'm revisiting it to see if I've actually grown better at this programming thing since I've graduated.

-----


I'm as against censorship as the next guy, but the government is filtering content, they're not taking protocols away from us. Worst case, the government gets the backbone. Wasn't this scenario the design target of the original ARPAnet? Network survivability in the face of massive topography holes?

-----


> But if some private school starts to produce much better students than the public system, there will be chaos.

I'm a miltary brat, so I've been in and out of a half-dozen public and private schools in my K-12 education. Everywhere I went there were private schools significantly better than the public ones.

The chaos seems to be confined along socioeconomic lines. The best teachers in the world can't teach kids that don't show up for class, and I'd say America is pretty split as to whether showing up for class is strictly necessary for future success.

-----


I went to a private (school equivalent to) high-school myself..in Norway, and the same holds here. It was about three times better than any public school I'd been to thus far.

-----

More

Applications are open for YC Winter 2016

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: