skysight-inc/HackerNews huggingface dataset:
I think this post is missing something in its description of Web Components: the fundamental difference between a JS-based framework like React and a Web Components-based framework like Polymer is that the former takes JS objects as primitives and the DOM as an implementation artifact, while the latter takes the DOM as a primitive and JS as an implementation artifact. You cannot wrap your head around Web Components and give both it and JS frameworks a fair shake until you can make this mental shift in perspective fluently.

The line in the post where "You can't even do something as basic as that with Web Components.":

var MyToolbar = require('shared-components/toolbar');

In fact has a direct analogue with HTML imports:

<link rel="import" href="shared-components/toolbar.html">

And that's key to understanding Web Components. The idea of the standard is that you can now define your own custom HTML elements, and those elements function exactly like the DOM elements that are built into the browser. This is a key strategic point: they function exactly like the DOM elements that are built into the browser because Google/Mozilla/Opera/et al hope to build the popular ones into the browser eventually, just like we've gotten <input type=date> and <details>/<summary> based on common web usage patterns.

A number of the other code samples in the article also have direct analogues in Polymer as well. For example, the App/Toolbar example halfway down the page would be this:

<polymer-element name="Toolbar" attributes="number">
<template>
<div>
<button value="increment" on-click="{{increment}}">
<button value="decrement" on-click="{{decrement}}">
</div>
</template>
<script>
Polymer('toolbar', {
number: 0,
increment: function() { this.number++; }
decrement: function() { this.number--; }
});
</script>
</polymer-element>

<polymer-element name="App">
<template>
<div>
<span>{{toolbar.number}}</span>
<Toolbar number=0 id="toolbar"></Toolbar>
</div>
</template>
<script>
Polymer('App', {
created: function() {
this.toolbar = this.$.toolbar;
}
});
</script>
</polymer-element>

You can decide for yourself whether you like that or you like the Bloop example more - my point with this post is to educate, not evangelize - but the key point is that you can define your own tags and elements just like regular DOM elements, give them behavior with Javascript, make them "smart" through data-binding so you don't have to manually wire up handlers, and then compose them like you would compose a manual HTML fragment.
Catroid is another cool related project https://github.com/Catrobat/Catroid
What are the "actual constraints of the problem"?

Why are they "actual constraints"?

Are you sure they're "actual constraints", or are they ways of looking at things that need to be updated for progress to happen?
That's a terrible argument my dude. Do me a solid, what do ya'lls variable names look like right now? Or just real quick, LOC on the smallest file you got.
always talk about how we need to attract better teachers, which is basically an insult to anyone who currently has the job

I'm going to just leave this as is.
Very strong agreement on this point – one of the strongest arguments for those basic income schemes is that it would get rid of the welter of conflicting incentives the current patchwork creates.
Yes! Amen, brother!

Two years ago, Sal Khan and John Hennessy (president of Stanford), went to a conference and talked about the future of education:
http://allthingsd.com/20120531/how-do-credentials-change-as-...

They both concluded that lectures may not exist in the future!

Sure, there are such things as lectures that have oratorical brilliance, that inspire students about their subject. However, for the most part, lectures are just inefficient ways to get information across. With the Internet, we have methods to get this information asynchronously, without requiring packing everyone into a room.

Rather, the role of the teacher in the future will be supporting students. That's where humans outshine computers - answering questions, tutoring, understanding where students might be confused, etc.
It's pretty easy to avoid the enormous introductory level lecture classes. Nearly every large university will grant credit for AP or CLEP exams towards undergraduate level classes like Econ 201. These exams cost under $100 for an entire course.

You can also find many schools offering these courses online, for a bit more money. Transferring in a credit is painless.
This confirms what I already know: live in Seattle, and walk to one particular coffee shop a hell of a lot. Kinda makes me want to change things up a bit.

Also amusingly I haven't opened up Moves since before the Facebook acquisition; when I did, it put up a completely black screen with the word "Proceed" at the bottom. I assume this was supposed to be showing me the new terms and conditions but who knows?
It's all cyclical, and I've seen enough cycles now. The trend always oscillates between heavy clients and heavy servers. They each have their strengths:

Heavy Client: simplified backend management

Heavy Server: clients all run the latest software (no versioning)

There is (and will never be!) a silver bullet. Development is always tricky.
Very interesting because, for me personally, the further ahead I've gotten in my career, the more I've realized that I really don't like lectures at all. It's exceptionally rare for me to learn anything or even remember anything from a lecture. Everything I've ever really learned has been from hands-on work, with a book or online reference available. Perhaps some other people learn from lectures, but I don't.
Show HN: Good Deals On Quality Tech Products
GCHQ's spy malware operation faces legal challenge
First we got to hear the ICE proponents spreading FUD about Electric Vehicles, now we'll get to hear Electric Vehicle proponents spreading FUD about fuel cells.
> Transferring in a credit is painless.

Actually transferring college credits is one of the most painful things I've done in my academic career.
Yes, and "incapable" isn't anything I suggested applied to "young, energetic" types. That was an equivalence you drew while your knee was jerking.
To the contrary, I think forcing every proposal to at least confront pervasive monitoring and how it may effect what is being proposed will force authors to be more conscious of PM and security in general with regard to their proposals. It's not the job of the IETF to stop monitoring, but it is their job to make sure the cards are on the cable when putting forward a new RFC.
How would that work? Would there be a set of standard drivers that Crows Next interacts with, that you need to have for your devices?

It would be nice if this turned out to be the "VLC Player" of home hardware, where you could fire it up and expect it to work with most devices.

That would take a ton of work on Crows Nest's part though.
Google must erase “inadequate” links, court says
I don't think that's true at all. There are plenty of "bad" languages that have become popular.
This was how one of my favorite professors would teach, only instead of videos, you just had to read the books and readings he assigned.

The majority of class was spent with him in the front of the room responding to questions or comments about the assignment. He was really gracious and took the time to respond to what might have seemed like bad questions and somehow use them as a springboard to further the discussion.

He would also usually throw out book, movie, or music recommendations that popped into his mind during the course of the class that was related to the topic.

His passion for history and ability to engage the students was what made him an excellent professor.
I've used both Parse and Firebase extensively and I love them both. Parse is far more mature. Not only has it been around for longer but it's owned by Facebook so it has the resources to continue adding amazing stuff, like Cloud Code. Cloud Code is a huge differentiator in my opinion because it takes care of the last mile for BAAS' (back-end(s) as a service) - custom server-side data validation and manipulation.

However, Parse's SDK follows a very Backbone-like syntax with setters and getters which I'm not all that thrilled with (as an Angular developer) and has no real-time functionality to speak of (outside of push notifications). That's where Firebase shines. Firebase is newer but is maturing very quickly. Their system is solid and pretty much "solves" realtime for all intents and purposes. They don't have a Cloud Code equivalent and search is pretty much non-existent at this point but those are solvable problems I'm sure they will tackle in the not-so-distant future.

What it comes down to is what type of app you're building. And by the way, there's no reason you can combine them to get the best of both worlds :)
The awkward right panel that changed abruptly from time to time, especially the first transition, made me skip the content.

Using a non-common ui idiom is risky. The presentation and topic don't match in a way that reader (i.e. me) had enough expectations left when it comes to what you might actually have to say.
I found it difficult to find the specs + price. It's here:

http://www.motorola.com/us/consumers/shop-all-other/Moto-E/m...

$129.99 US w/ no contract

Processor: Qualcomm® Snapdragon™ 200 with 1.2GHz dual-core A7 CPU Adreno 302 400MHz single-core GPU

Display: 4.3 inches 540 x 960 qHD, 256ppi

Capacity: 4GB user storage, MicroSD slot supports up to 32GB expandable memory 1GB RAM

============

That's great for kids and folks who don't need lots of snappiness/power. Love it!

For comparison, the Google Nexus 5 has the Snapdragon 800 rated at 2.26ghz and is $350 for 16GB version

http://www.google.com/nexus/5/
CAC is never zero from an accrual based accounting standpoint. You have marketing software, discounts, staff, etc. that technically count against it.

That said, CAC never remains zero in the long run, unless you're Facebook with huge viral coefficient, and still, it's not zero. If it was zero, you'd be in a massive arbitrage that's likely to be unsustainable. Certainly not in any competitive market.
http://video.yandex.ru/users/urikis/view/644 seems to be it, complete with Russian subtitles.
An 8000-mile China-America rail line
The Oatmeal – What it's like to own a Tesla Model S
Wefunder (YC W13) is hiring a designer and front end developer
Perfect Audience Launches P2P Retargeting: Directly Target Partner Site Visitors
This solves a major headache for me. I have a production app built using Angular and Firebase and I was up until this point using Amazon S3 hosting to host my static assets. It was a beautiful thing - I don't have to maintain any server side code. But it was annoying having to deal with Amazon and their stale, obtuse documentation. I will definitely be moving my static files over to Firebase. It's one less service I have to worry about.
GM's plan to make your car a rolling data hot spot – is it worth the money?
Pointing out that I don't think people who happen to be minorities should be treated differently doesn't help your argument.

I love people who think they're not racist then make assumptions like yours.
Grammar, huh. Fighting words!

"GitHub Pages" is the name of a product, therefore it's singular. (One giveaway is the capital 'P'. If "pages" had been a generic plural, it would not have been capitalized.) The New York Times publishes articles every day, The Royal Tenenbaums is a Wes Anderson movie, and GitHub Pages, according to this article, is sometimes slow.

As for the claim "loses you 35% of your visitors", it is (a) dubious, (b) linkbait, and (c) violates the HN guideline against putting arbitrary numbers in titles. Happy to change it to something better if you or anyone suggest it—but editing that bit out was not a borderline call.
We are hiring! http://scratch.mit.edu/jobs/

Also, Scratch Day is May 17th: http://day.scratch.mit.edu/
very good news. now the only reason to get a ps4 is the marginally better performance than xbox one.
and if you look at the pool of college-students who are able to get a masters degree in any subject

If you keep on bringing up the Master's degree as some kind of proof of the other jobs they could get, I'll have to keep on posting things like[1] It's almost like the Master's of Education has been watered down to a credential to people who are willing to put in a bunch of busy work.

I'm not surprised that science teachers are pretty smart. Almost all my science teachers were pretty on it (I can name two exceptions). We probably need to do something to attract more quality science teachers. But, of course, saying that is an insult to current teachers.[2]

[1] http://www.cbsnews.com/news/heres-the-nations-easiest-colleg...

[2] https://news.ycombinator.com/item?id=7739759
I read it as serious with a touch of humor, how come you have a blind spot for that third personal option next to arguing for a sharia state or being funny?
I think it's because you can't imagine a muslim to be not oppressing women, tolerating slavery and being full of hate as you say.

I can and know muslims who are not like that.

To you I say: 'Those who cannot remember the past are condemned to repeat it'.
As someone who learns almost exclusively by reading, I've always been bemused by the concept of lectures. I've never thought that a professor explained the material better than the textbook or other reading materials that prepared us for class.

To the extent that a professor is expounding on the reading materials--which is what you are really paying for in college--by applying them or synthesizing them, I think those lessons are often better taught through interactive dialogues with students. I'm probably a bit biased from my experience in law school, but I think the socratic method is a particularly strong pedagogical technique, and could be effectively implemented in many undergraduate courses.
> Because DHH is just one person. And he only has DHH's experiences.

Yep. Uncle Bob is one person, too. tl;dr Think for yourself and don't listen to somebody just because they hurt your feelings.

> To pick a topical example: Is TDD hard in Rails apps because TDD is dead or because Rails makes TDD hard?

This is a misrepresentation of what DHH has said [1], which is that strict adherence to TDD can make your designs worse:

> Over the years, the test-first rhetoric got louder and angrier, though. More mean-spirited. And at times I got sucked into that fundamentalist vortex, feeling bad about not following the true gospel. Then I'd try test-first for a few weeks, only to drop it again when it started hurting my designs.

> Used as a hammer to beat down the nonbelievers, declare them unprofessional and unfit for writing software. A litmus test.

If you watch the conversations between DHH, Martin Fowler, and Kent Beck, it seems to me that they all agree: testing is good, test-driven design can be bad, and mocking everything is bad [2][3].

I took some time last week to re-read Uncle Bob's book, Agile Software Development, Principles, Patterns, and Practices [4], and Kent Beck's book on TDD [5]. There was a huge difference: Uncle Bob focuses on test-driven design, while Kent Beck focuses on test-driven development. Uncle Bob claims that test-driven development (especially through mocks) universally improves your design, because it reduces coupling and enables refactoring. Kent Beck talks about productivity, certainty, refactoring, and documentation. Uncle Bob says most of those things are just a side-benefit: the real point of TDD is decoupled design.

Uncle Bob's other book, The Clean Coder [6], berates people who do not strictly adhere to test-driven design: if you don't do it, you are unprofessional (he mentions this repeatedly). He says that TDD being universally good is a fact, and anybody who says otherwise is just ranting.

> Nowadays, however, they are just rants. The bottom line is that TDD works, and everybody needs to get over it.

> TDD is the professional option.

> It could be considered unprofessional not to use it.

The bottom line is that developers should listen to each opinion and use their head. Don't be hurt when somebody calls you unprofessional for not following the One True Gospel™ and mindlessly adopt practices. Don't be hurt when somebody says that mindlessly following those practices is counterproductive. Using your head is about the most professional thing you can do.

[1] TDD is dead. Long live testing. http://david.heinemeierhansson.com/2014/tdd-is-dead-long-liv...
[2] Mockists Are Dead. Long Live Classicists. http://www.thoughtworks.com/insights/blog/mockists-are-dead-...
[3] Is TDD Dead? https://www.youtube.com/watch?v=z9quxZsLcfo
[4] Agile Software Development: Principles, Patterns, and Practices. http://www.amazon.com/Software-Development-Principles-Patter...
[5] Test Driven Development By Example. http://www.amazon.com/Test-Driven-Development-By-Example/dp/...
[6] The Clean Coder. http://www.amazon.com/Clean-Coder-Conduct-Professional-Progr...
On the bright side, if Node.js is adopted for "enterprise programming", all the hipsters that write blog posts about how great Node.js will abandon it overnight.
I can specifically remember dropping a Pysch elective I was required to take simply because the teachers format was horrible.

One midterm one final, lectures everyday taken straight from the powerpoints the publisher provided with the teaching edition, same with the tests. I'm sorry but talking isnt teaching I can read the book word for word at home, explain the concepts do some activities anything please! Most classes I got A's in and learned something had hands on activities in addition to the lecture.
It's a receipt.
> if your ap­pli­ca­tion doesn’t sup­port pri­va­cy, that’s prob­a­bly a bug in your ap­pli­ca­tion.

Amateur radio is explicitly not for traffic that needs to remain private. It exists for limited purposes not including routine communication that can be served by other means (e.g. a phone or ordinary internet connection). It is chiefly for education and research/experimentation in radio. It is not for general personal communications or commercial use.

The applicable rule in the US[1] says:

"(a) No amateur station shall transmit: [...] messages encoded for the purpose of obscuring their meaning"

This serves to ensure the amateur radio service is not used in violation of its rules and purpose.

The rule has exceptions elsewhere in the rules. For example, remote control of satellites and model aircraft. And FCC rules as a whole pretty much go out the window when transmissions are for the purpose of protecting the immediate safety of life or property.

The rules are also susceptible of a particular interpretation: You can use encryption, provided the algorithm is documented, and you keep a record of the keys used. This has been used to block non-amateur access to WiFi access points operating within the ordinary WiFi band, but under Part 97 rules (e.g. non-FCC-approved equipment, or higher power than allowed for unlicensed users).

The rule also does not in any way prevent use of authentication and message integrity mechanisms, e.g. HMAC, because they are not intended to obscure the meaning of the message, merely authenticate it.

If you need private communication, there are other avenues available than the amateur radio service. And if you want greater freedom for unlicensed use of the airwaves than now exists, you'll have my support in principle (there are real problems with a free-for-all, but there are myriad ways FCC rules and spectrum allocation practices could be greatly improved in this regard). But this rule is not a bug, it is a deliberate feature of the amateur radio service.

[1] http://www.gpo.gov/fdsys/pkg/CFR-2013-title47-vol5/xml/CFR-2...
Just a note: as far as I know only 20.3% of Oracle's revenue came from the sale of new software licenses and hardware while four times that much, or 79.7%, is from annual maintenance fees and services (basically some kind of subscription). It is very dangerous to assume that these big companies are stupid.
Same thing happened to me, except for the letter T, it kept recognizing it as the letter P...
The presentation is much better in person.
I'm not sure holding up any other profession, much less "just about every other profession" as a model of how we should organize our employer/employee relationships is a good idea.

The kind of relationship you describe has created a general environment in which wages are depressed and working conditions continue to deteriorate. Every time unions lose power, workers' working conditions--including compensation and intangibles--deteriorate.
Tip any song or musician with Bitcoin
> The problem is that these "early adopter" distributions of Perl 6 have been released regularly since mid-2010.

I agree. It's taken 4 years to get to this latest Star, on top of P6 being 10 years old when the first Star came out. It's all way slower than most (all?) folk expected.

This has impacted early adopters, perception/marketing of P6, perception/marketing of P5, and attracting contribution to P6.

> Generations of Perl 6 hackers have joined the project, re-written a key piece of the infrastructure, broken a bunch of APIs, and left again.

There's definitely been a lot of churn.

However, if you focus on the P6 projects that still matter today (eg Rakudo, NQP, the test infrastructure, MoarVM, p6doc, the modules infrastructure) then you find activity that doesn't -- and never did -- match your arrive-rewrite-break-leave pattern.

> If it hasn't happened already, we will soon see the CHILDREN of Perl 6 hackers born during Perl 6 development start doing half-baked infrastructure rewrites.

The projects that still matter today don't allow new devs to be unduly disruptive. (Getting a commit bit to the most important bit, Rakudo, requires evidence of competence followed by signing and submitting a formal application.)

> Early adopt it all you want, but don't claim it's "further ahead than one might think".

It sure still isn't ready for most use cases. But have you given a recent release (especially the latest Rakudo Star) a serious look?

---

(Edit: Removed the opening sentence "No. " before "The projects that still matter today don't allow new devs to be unduly disruptive." because you can't stop volunteers doing whatever they want.)
I have knowingly tracked my location with Moves for the past year, but it is still very spooky to see all of that information on one map.

Well done though. Now we just need some kind of free/OSS clone of Moves so this is a little less unnerving.
Everyone Starts With Simplicity, No-One Ends There and That’s OK
Newark, CA and Newark, NJ are different places.

Newark, CA --> Newark Unified School District

Newark, NJ --> Newark Public Schools
>>The time it took from 'common knowledge' to a formal proposal makes me a little worried.

As anti-NSA, pro-snowden as I am(I proudly wear my Snowden t-shirts)... I think it's important for formal steps to make sure they've filtered out the hype and not just react while the general public is on fire about the issue. Waiting about 6 months to a year after Snowden did his thing I think is fast enough. Gives folks enough time to digest the info and for anyone else out there thinking about "leaking" more info that (dis)proves Snowden enough time to weigh consequences 'n such. This way when formal steps begin to happen nobody can complain that they didn't have enough time to respond/defend themselves, etc. USGov has been given plenty of time to quell concerns and haven't done a particularly good job so I feel that Snowden is mostly, if not completely, correct and I can confidently consider the USGov/NSA as the real villains in the world attempting to misdirect everyone else with allegations of boogieman terrorists & spying from Russia/China/Nigeria/whatever.

Not that I ever believed otherwise... just that this gives me more talking points in future debates with friends/family/random-online-comments.
This is awesome. I work at a tech startup and I'm constantly asked for intros. I'll just point them to this now.