skysight-inc/HackerNews huggingface dataset:
FYI, if you implement this code for real, you'll need to make sure the symbol doesn't get repeated upon multiple plays and that it gets removed when not playing.

Edit: This is two different bugs. It means that if you are not playing, it will still look like it is playing and if you play multiple times, you will see the symbol get duplicated.

Edit 2: Code should be like this:

var documentTitle = document.title; function onPlayerStateChange(event) { var player = event.target; switch (event.data) { case YT.PlayerState.PLAYING: document.title = '▶' + documentTitle; break; default: document.title = documentTitle } }

but it assumes that the document title doesn't otherwise change.
Well at least the 16 year old tried?
The Wired article mentions they had some friends in a plane for some of the daytime segment. No helicopter mentioned.
That's two ways of saying the same thing
HookME TCP proxy intercepts communications and SSL as clear data
Startups in and around Tel Aviv:
http://mappedinisrael.com
Indeed, concatenative languages are written in a very natural way. I wonder if they wouldn't make good teaching languages: you have to learn about a stack, but the evaluation order is trivial (do the first thing, then the second, ...), and there are no variables to contend with.

Haskell programs, on the other hand, are clearly written backwards :-)
I think people who choose to show hellbanned users should just be quiet about it.
appreciate, don't hate
I love AngularJS
Why does Ember.js rock?
4166/month is only $50k/year. It's easy for software developers to make more than $100k/year, especially in the bay area.
Ah, yes, pulling clipboard data would be a definite security risk. I didn't think about it from that angle.
This isn't an alternative to general purpose text search engines: it is specialized for searching the internet.
Hobbyist programmer, looking to do more serious work. I do web development in django, using emacs. That and a terminal is all I need at this point.

I currently use nano during remote terminal sessions, but I'd like to become comfortable with vim sometime soon.

I also got my first Thinkpad recently, and I love it.
Similar article about why emberjs rocks:

https://news.ycombinator.com/item?id=6153917

https://kerricklong.com/articles/why-ember-js-rocks.html
Well that is fair enough. What I find odd is claiming to be unimpressed after only giving reasons why you would be unapproving.
Film Crews vs Widget Factories
Express offers something similar to organize/simplify your routing:

var express = require('express');
var appRoot = express();
var appFoobar = express();
appFoobar.get('/bar', function (req, res) { res.end('/foo/bar'); });

appRoot.use('/foo', appFoobar);
appRoot.listen(process.env.PORT);

$ curl localhost:3000/foo/bar
/foo/bar
$

As for "monkey patching", overwriting methods is often a bad idea. It may be better to use a new method to call upon the old one:

Hapi.Server.prototype.routeAPI = function (routes) {
if (!Array.isArray(routes)) routes = [ routes ];
routes = routes.map(function (route) {
route.path = '/api' + route.path;
return route;
});
return this.route(routes);
}

Like nadadiv said, you could even have gone without recreating a Server() instance each time.
Is Github down?
Is it down for anyone besides me?
MIT Students Release Program To 3D-Print High Security Keys
"pay us in advance for developing a product that hasn't been market tested or validated"

This is exactly what they are doing, by crowd funding it. They are essentially testing the market.
Try these if you'd like an actual explanation of how Obj-C messaging works.

http://www.mikeash.com/pyblog/friday-qa-2012-11-16-lets-buil...

http://www.friday.com/bbum/2009/12/18/objc_msgsend-part-1-th...
Huh, I mental math failed, but grats on your success.
Github Down
Looks like web and git are both unreachable.
It was probably a plane I was thinking of. It's 5 or 6 years since I read the book :-)
List of Movies adapted from video games and why it probably not a good idea
Down for me also.. And for http://www.downforeveryoneorjustme.com/github.com
Changing the title also helps people who open everything in new windows.
A similar gizmo has long since been included in the python distribution:

http://hg.python.org/cpython/log/979eb1bbf6e6/Tools/scripts/...
In most places, teachers will top out at $70-80k if they stay teachers and don't move into administration, which is consistent with what that accounting grad would make in the payroll or HR department of a company. Note that at that point, the benefits become even more significant. Teachers often have healthcare plans that cover their family members, where they pay a lower portion of premiums, etc. They get large pension contributions and often get healthcare benefits in retirement, which is rare in the private sector.

Math/pure science majors aren't worth anything. There is a huge oversupply of people with say biology or chemistry degrees. In the private sector, a biology major is lucky to start at $35k/year.

Obviously you can dramatically increase your salary by acquiring programming skills and going into software development, but that's not unique to teachers. Programmers make way more than pretty much every other field you'd find yourself in after getting a non-engineering bachelors degree, except maybe economics.
I had worked with several people that chose Mongodb.

Their reasons were the database is easy and it "scale".

The real reason why they chose it because they think SQL is too hard. Really, they were self taught programmers that couldn't bother to learn SQL and jump straight to NoSQL hype and the fact it was "easy".
So the one time i decided to deploy my code to production.. Github goes down? What gives?!
Sadly, in the Bay Area $4166 is almost exactly what an exempt employee making $100K actually takes home every month.
Yakov Fain is a world-class whiner and master of hyperbole. He was always the "squeaky wheel" in the Flash/Flex community, and it doesn't surprise me that he's still whining.

Why it's being picked up by HN is beyond me... maybe because Google is the favorite scapegoat recently? Certainly few people bothered reading what he wrote and just started commenting/complaining.

It's astonishing to me that Google is getting flak for dropping (in 5 months) what amounts to a 3rd-party-patch for a browser that'll be turning 5 years old. They already dropped support for IE8 in Google Apps, and jQuery dropped support several months ago.

If Fain wants to play with fancy new technologies, he should find clients who want to use new technologies.
Most middle-class people who work in San Francisco don't live in San Francisco.
You're saying the reputation of the hacker news community is weakening in the eyes of Google because they're losing trust in Google based on the company's actions?
Shopify is integrated by default with Amazon, Shipwire, and Webgistix. I know from experience that it can be fairly easily integrated with other 3rd party logistics providers.

On a related note, I heartily recommend Shopify as an e-commerce platform.
How Hollywood is Encouraging Online Piracy
Hi! I work for BikeCityGuide, we make the Finn!

Thanks for all the valuable feedback I'll try to answer to the best of my knowledge just some of your points:

> 1) I would like to know that it can hold my phone in the event of a crash

All I can say to this is that the mount is very firm, we've tested under quite harsh conditions and it seems to hold up.

When I fell from my bike (slipped on a railway and it was quite a hard crash), nothing happend to my phone, I know it's not quite a research but at least, we are eating our dog food.

I was obviously lucky that the weight of the bicycle didn't fell on the phone, if that happens, the story would be quite different, but there's not much we can do about it, I'm guessing in that sense it's a risk you take, otherwise for normal usage, it is very safe.

> 2) The weather is another reason I would hesitate to use my phone as a bike computer.

True! The weather can make it hard to use if you don't have a casing or similar that makes it waterproof/resistant. That said, thinking outside of the box, you could probably fit your Garmin with our Finn :)

Thanks a lot for the feedback!
I don't think normal web pages have access to the browser's clipboard. It's a security feature, I believe.
Regardless of delivery method the actual work of journalism has a role that has value outside of the advertising used to support it. Any news company, web based or otherwise, should aspire to that same quality.
Thanks a lot AznHisoka - you broke GitHub!
Does your spouse have homework?

My mother was a teacher. Her time in the classroom was nominally from about 8:00 - 2:30. Her time actually at work was from about 8:00 - 4:30, because there would be students with after-school activities that needed supervision, or staff meetings, or parent/teacher conferences, or putting away classroom activites, etc. Her time away from home, including commuting, would be about 7:30 - 5:30. Her time actually working or commuting to work would be 7:30 - 5:30 + 8:00 - 10:00, because she'd frequently have to spend another couple hours grading papers, or writing up feedback, or planning the next lesson. She would often end up going back to school up to a month before the kids came back, too, to research and plan lessons.

I think the "teachers don't work all that much" meme gets confused by equating time in classroom with work. If you're doing it right, teaching involves a lot more than just delivering instruction to kids. It requires that you really understand each of your students (which could be 20 in elementary schools, but up to 100 in high schools), and where they're at, and that you understand your subject enough to bridge the gap between student and subject. That takes a lot of time, probably more than most industries.

Of course, this all gets confused because there are many, many teachers who don't put in that effort and just deliver a pre-canned lesson plan to 20 bored minds every day. They get up, talk, and go home. Those are the teachers that made my childhood hell.

The unfortunate part is that the way economic incentives are set up, there is no reason for a teacher to act like the first description, and every reason for them to act like the second. Anyone who's willing to actually understand the job they're tasked with doing will put that effort into a more lucrative job (well, except for a few poor schmucks for whom teaching is a calling). So you do, in a sense, get what you pay for.
> My definition of "middle-class" includes being able to buy a house and have two kids.

Any definition of "middle class" that excludes median-income households is non-sensible.

Living in San Francisco is a luxury. Middle class people do not buy a house and have two kids in San Francisco. They commute from Oakland or some place with cheaper housing.
Quotes on the web, evolution, and innovation: Chief Seattle and de Tocqueville
My understanding is that Chrome wants to roll out this feature, but there is no way to know if various plugins, including flash, are playing audio. If they show an indicator for only html5 A/V it will seem like a half-broken feature.
Actual copyright holders don't want to, it doesn't scale. The scalable model is to demand settlement (marginal cost of roughly $0 after making email templates and writing IP harvesting software) not to hire expensive lawyers to actually file lawsuits.
Appreciate misinformation? No thanks.
and .... it's up now
Crowdfunding will continue to diverge into two camps: Kickstarter-style, curated and reputable, and IndieGoGo-style, a roll of the dice where you might get left hanging, or even scammed. Given that it is now trivial to roll your own crowd finding site, you can't make the latter go away. The best you can do in terms of perception management is to put yourself in the former category: "We're not like those other crowdfunding sites..."
My team uses Dart for an internal application. We chose Dart because we wanted to be able to reuse the client code for both the web interface and for tools that call the same HTTP API as the web interface. (The server side is Python on App Engine.)

We didn't quite get this "for free" as I had originally hoped, as the libraries to make HTTP calls are different between the client and the server (complicating the API is something called "HTTP over RPC" that we use for authenticated requests to servers from workstations).

I also prefer class-based OO to prototype-based OO and wanted to be able to write thorough tests without requiring them to run in a browser, so Dart fit those requirements better than a Javascript-based framework.

After about a year of working on this project occasionally, I've found Dart code to be much easier to read and refactor than Javascript, but it also ends up being a lot more verbose. Dart lets you encode a lot more of your intent into the program text, which I generally see as a good thing when you plan to have more than one engineer work on your code.
Looks like another DoS attack:

"0:18 UTC GitHub.com is recovering at this time from a DoS attack. We're continuing to monitor things and will provide further updates as the situation develops."

Is there really no way to protect from these attacks!?
This has probably been asked in one of the hundreds "GitHub is down" posts in the last few months, but what are the alternatives (apart from bitbucket)?
It is natural to want to go for glory, but it's just plain selfish to pursue personal glory by risking other people's lives. It's awesome in the same way that the Conquistadors were awesome.
Might want to rethink your heroes. Save Archimedes.
I think for me being impressed may be more closely coupled to approval than most people. I wanted to express my disapproval but I didn't think I could do it in a way that wouldn't degenerate into a personal attack. So, my intent was not particularly clear. Sorry.

From a technical perspective, I guess I'm impressed by the fact that he was able to marshal together the resources, time, and support necessary to make this happen. He's done similar stunts without killing anyone, so I'm somewhat impressed by his driving skills (although there's also the advanced safety technologies in his car, as well as the intrinsic chance you'll find yourself in a situation that could result in an accident). His endurance is also admirable - it must have been very difficult racing the clock for hours on end while maintaining extreme concentration. But then, there are also people who drive drunk, drive while distracted, or drive dangerously badly-maintained vehicles regularly, and nothing happens to them, so I guess that makes the 'reckless driving' aspect slightly less impressive.
So in debates about teacher pay, remember that the teachers' unions are fighting as hard as they can to make sure that people like your mom get paid exactly the same as the slackers who deliver pre-canned lessons to 20 bored minds every day.

And based on my personal experience with K-8 in the U.S., there are a lot more of the latter than the former.
Thanks, OPK!
I think that some people use GitLab to host their own Github clones. It's debatable whether that's a viable alternative.
[..by hooking the windows API]
There is a way. Have more bandwidth then your attacker.

DDoS protection services exist that forward the good traffic on to you, and they do this by having excessively large amounts of bandwidth. They also cost obscene amounts of money.
It's a reasonable comment. I got to "0xreadbook" and found it rather difficult to continue. If you're trying to explain stuff, you need to get these things right. You wouldn't provide something like "LET STORE OF VALUE X CONTAIN LITERALLY 15 AS INTEGER" as example C code, right? Because it's not even C. In fact it's just nonsense. So I fail to see why "0xreadbook" is a valid example hex value... because it's not even hex.

Bizarrely, despite the author's apparent confusion about this basic concept, the rest of the piece seemed kind of OK, and he even got the hex representation of 1.f correct.

A much better example hex number is 0x12345678. Every digit is different, and it's actually a valid number.
Camlistore Intro & Status Update
Facebook is a Lame Duck
"Fee for service" is one of the big drivers of cost inflation. Taking on the AMA requires a bigger person than anyone in Washington today.
I think you're assuming the pay per view model would not change as well. Pay-per-view makes a fortune, but only appeals to a small set of the audience due to the currently high-costs. However, if we use the superbowl as an example (huge adverstising costs, and large audience).

110 Million people watch the superbowl, a 30 second commercial costs about $3 million (time slot fee only). Are there more than 30 commercials during the superbowl? I couldn't find that number, but 30 seems like a lot, so let's go with that.
The revenue per viewer is about $1.20. So even if the cost to watch the superbowl was $4, the broadcaster would still be making more than they currently are with the advertising model.

Where this breaks down is the amount of time people spend channel surfing. I think as people channel surf less, they'll watch less, which is why the model of paying directly for each piece of content is a challenge.
Who is making DDos attacks to Github ? and why?
Hi there! That phrase was meant tongue in cheek but I agree it's a little bit strange to put it that way.

The Finn was originally thought for the city for which it gives a very safe mount, that said, it's proving to be very resistant, even in extreme conditions an downhilling, next week I'll link to some videos of people going down some long stairs and doing some tricks with the mount and a phone if that helps...

Thanks for the feedback!
On and off, maybe. I can't reach any repository pages.
Hmmm I bought a T400? And it lasted for 8ish years IIRC.

Due to my stupidity I killed it ( I forgot how, it was probably so stupid that I had to erase it from my memory).

I bought a refub T510 (2-3 years ago IIRC), there's a dead pixel near the middle of the screen and the headphone jack is going out. There is some flex at the speaker area and cd area, and the power adapter gets hot often (it might be the linux distro drawing too much power for some reason).

I think the quality went down hill...
My reading of the source material is that the administration is blocking an instance of a government entity "picking winners and losers". If you take off your John Galt Goggles maybe you would parse it that way too.
That is one of the cool things about 'film' I should add... large format film has a crazy large megapixel equivalent.

This guy's blog post has some interesting information about it: http://genotypewritings.blogspot.com.au/2012/10/digital-reso...
I'm not exactly fond of the teachers' unions, and I don't think my mom was either. I actually went to a charter school where the teachers were non-unionized, and the vast majority of my teachers were more like my mom than the boring slackers. (They still got paid very little, though.)
"...my personal point of view, which now happens
to include a lot more information from inside this
company that I work for. ... "

More like you are sharing your personal view, having drunk the Kool-Aid.

You said Dart VM is free and can be added to any browser -- except it has deep roots into the Chrome code so this is a ton of work to do (global garbage collector between Dart, JS, DOM for instance).

You said you "ensure that programs behave the same in dart2js and the VM, and that the JS output is very fast" when dart2js doesn't support big integers or operator overloading on any numbers, among other differences, and it's ~30% slower than normal JavaScript (is much slower than TypeScript code for instance).

Dart designers have for a year now knowingly lied about dart2js DeltaBlue benchmark performance (they optimized DeltaBlue when porting it to Dart, then compared the optimized version back to the original JS). For me, I would never use a product who's designers lie to me about it.

can you imagine what it's like to have the company you work for called "evil"...

I really can't. When I work for a company it doesn't become part of my Self, and I don't feel the need to spin its actions to make them look positive. If it's a company that 'does know evil' then get out, or get over it.
That's a lot of startups trying to change the world...
git on dropbox? (what I use, it has the feature of syncing everyones origin automatically oppertunistically)
http://edinburghhacklab.com/2012/11/easy-version-control-git...
Could you explain this strategy a bit more? It's not obvious to me how an open-sourcing a community-designed programming language is a step on the path to a "proprietary walled garden".

Is your concern that Google's name behind it will give it more popularity than its design/implementation merit, and you'll have to use it instead of Javascript because employers/clients will demand it? The job market is much bigger than you are imagining: I'm sure someone out there will still pay you to write COBOL. So I wouldn't worry too much about this yet.
Criticizing Google doesn't "hurt my feeling". I've moved away from Gmail and other Google services (not all) a few years ago because I disagreed with their options. But that doesn't mean I have to agree with nonsensical claims such as Google having a monopoly on email.

Maybe they do on Silicon Valley, but I'm sure you realize that's a pretty insignificant subset of email users.
1. Dunno.

2. Usually blackmail.
There's a fake thinkpad which they took an ideapad and rebranded as a thinkpad. It was horrible.
There's another interesting copyright issue regarding the film in question here, "All Things Fall Apart". Apparently, 50 Cent wanted to call the movie "Things Fall Apart", but Chinua Achebe, who wrote a famous book by that name in 1958, refused to sell him the rights for $1 million. The crazy part of this is that Achebe took the title from a line from Yeats' 1919 poem "The Second Coming". How Achebe can turn around and prevent someone else from using a title he himself borrowed is beyond me. http://www.theguardian.com/music/2011/sep/14/chinua-achebe-5...
Right, like CloudFlare's services. I remember reading the postmortems from that very large attack a few months back.

Surely GitHub must have the money to beef up their pipes, no? Or perhaps they're noticing that these outages aren't really hurting their bottom line, and thus it's not worth the investment...
The risks are obvious and here's a bit of proof to back that up:

http://en.wikipedia.org/wiki/2007_Gumball_3000_collision
They seem to cheat with their "Mean Web Response Time". As you can see in the graph, at the time the App Server Availability is down to 0, the Response Time is also 0, where it should be ∞, or at least the timeout time. This would reflect the real mean response time, or am I wrong?

Edit: It was just one spike that went down to 0, directly after it there's a higher spike. (It didn't change the mean response time of 113ms, though)
Yeah, the "Apple soaks you for 50%" meme is largely invalid these days. FULL DISCLOSURE: I work for Apple.