skysight-inc/HackerNews huggingface dataset:
The pay discrepancy between teachers and programmers in San Francisco is really bad.

- School districts in SF and Oakland are short dozens of teachers -- imagine having sixty classrooms on the first day of school where there is no teacher. (e.g. http://www.sfgate.com/education/article/Bay-Area-school-dist... from last year)

- San Francisco is basically building "dorms" for teachers to give them a place to live: http://www.sfgate.com/bayarea/article/Mayor-and-SFUSD-have-a...

- Many teachers are leaving the area to go work in more affordable parts of the country: http://projects.sfchronicle.com/2016/teacher-pay/
I'm gonna blame it on communism.

It's not that they don't know how to produce oil. It's that the oil company has been so heavily mismanaged and used for political purposes that it has become extremely inefficient.

http://www.economist.com/news/americas/21607824-venezuelas-l...

> IN 2003 Venezuela’s then president, Hugo Chávez, fired more than 18,000 employees, almost half the workforce, of the state-run oil corporation, Petróleos de Venezuela (PDVSA). Their offence was to have taken part in a strike (pictured) called in protest at the politicisation of the company. Their punishment was to be barred from jobs not only in PDVSA itself but also in any company doing business with the oil firm. The axe fell heavily on managers and technicians: around 80% of the staff at Intevep, PDVSA’s research arm, are thought to have joined the strike. At the stroke of a pen, Venezuela lost its oil intelligentsia.

Obviously, this wouldn't have happened in a free market. But even other state-run oil companies haven't made this kind of blunder.
it is somewhat integrated, namely you can do `/hero @handle` and it will work.
But SH doesn't work on linux, and it slows to a crawl when sharing with more than one person.

Still the best thing available if it works for your case.
The first beta preview of sierra had webp support and safari supported it. They removed it in the later preview release. Hopefully they will support webp in some future release of macOS.
AMP doesn't implement scrolling in software. It is native GPU accelerated scrolling. iOS does have 2 modes and it might be that AMP hits the one some people don't like.

Edit: Filed https://github.com/ampproject/amphtml/issues/5125 to see if AMP can switch to other GPU scrolling mode.
True, I misunderstood who was paying the salary. Even at 8 it's just a normal SF salary.
Exactly my advice to everyone: If you're in doubt, choose PostgreSQL. It's a strong SQL database. Yet, you can store, index and search documents in a jsonb column. You have built-in full-text search. You have PostGIS. And you can scale and shard using Citus.
Having social programs and being a Socialist government are two very different things. We can have Social Security here in the States and not be Socialist. Nordic "socialism" is just taxing the rich to give to the poor. What Venezuela did was textbook Socialism which, like Communism, is a path to economic, social, and political failure as well as massive human rights violations.
Hard to tell from an image that labels it 'external'.
Here's the bug in their bugtracker: https://bugs.webkit.org/show_bug.cgi?id=124288
Yes, but even if you follow all of the best practices and deliver a fast page, your site won't show up as "AMPed." In order to be "AMPed" it appears that you need to employ a whole slew of custom elements and syntax.

Unless I am missing something in these examples: https://github.com/ampproject/amphtml/tree/master/examples
I was an order picker once in a grocery warehouse, it helped put me through school. I was also a paperboy, a film projectionist, and a bike messenger. All automated now or will be soon. Later I became an editorial illustrator, and when the smartphone hit critical mass I lost 80% of my running gigs over a couple months, print media collapsed very suddenly: that hurt.

So when Uber drivers complain about self driving cars I just cackle maniacally.
Relatively minor change, but one of my favourites; cmd-z will now undo multiple tab closes.
"At some scale" does not imply "at our current scale." Our current energy use is a fraction of the energy we will be using 500 years from now, which really is not that far off in terms of human history.

I would imagine we will be using ~500x in 2516, a doubling every 55 years. All of earths deserts and more would need to be covered, even at 100% solar cell efficiency.

edit: global energy use has actually doubled every 20 years recently
https://gailtheactuary.files.wordpress.com/2012/03/world-ene...
I would be interested to know how many certificates they currently issue. I would have no problem paying a small annual rate for using the service.
haha I was just spitballing an idea. But very good point. I'd like to invest.
I just updated Safari to 10.0 without being on macOS, so it's presumably standalone. Some features (i.e. picture in picture) might not work as well, but indexedDB has been in Safari for a while, so I'm sure the updates to it are supported everywhere.
I still disagree - I made websites back in the ancient days when people used to generate HTML server-side. Things worked perfectly well. Current proliferation of heavy JS frameworks buys us nothing over those times, but wastes more electricity and time of our users.
Nope, go to https://www.civilservicejobs.service.gov.uk/ and put Government Digital Service into the organisation field. We’re currently recruiting developers / senior developers and web ops. No pure front-end developers at the moment though.

Re short term contracts, we hire for two year contracts but it’s not explained well that it’s trivial to extend those. We’re also trying to make roles permanent as well in general.
The Mathematical Problem of the “Precession-Time Paradox”
I was about to create such a website a couple of years ago, but isn't this too much computational expensive to be a free service? It's going to make people wait a lot if the service hits HN or something like that. Or maybe my code was too much unoptimized and it's possible to train the images in a quite faster fashion after all. Anyway would be great to have such a site.

EDIT: Now I checked better your implementation and is very different, and indeed, can be made a lot faster. What I (and others before me) do is to have a fixed set of polygons and move, rotate, change color in order to find the best arrangement. In your case instead you add shapes incrementally in order to lower the error.
Future Cities
Had so much fun with these as a kid, I'd love to play around with one for a little while. Though hard to imagine why anyone would want to use one on a regular basis.
ITAR comes to mind. Its basically bans export of dual-use (mil/civ) technologies. Its has made for incalculable harm to our aerospace industry and other industries that produce things that are classed dual use (encryption used to be one of them). This is the same law that banned encryption.

You have things like companies in Aviation Week (a big aerospace industry mag/site) running full page ads for sensors and other aerospace items proudly claiming its ITAR free (means not made/designed in US). A company I worked for bought a high power (2.5kW) laser from Germany. It failed and cannot be sent back to Germany for repair due to ITAR (tooling needed to fix it cannot be easily moved and probably would fall under ITAR). High end CNC machine tools will brick themselves if they are moved without the manufacturer specifically blessing the move due to ITAR regulations (earthquakes can trigger the "I've been moved without permission" response).

There is a countless list of other harms it has caused, but I have no direct experience with. ITAR is fairly easy to get around for the "bad guys" because they can just not buy US goods.
Sex Workers: Clients Are Seeing You On Facebook, Here’s How To Stop It (2015)
When I do a search on google.com I have to scroll down half the page to find any search results, AMP or not. Top half is covered by ads. Try:

hotels near SomeCity, CA

To see
Last time I worked with API Gateway it didnt support verbs beside post and get, or response codes besides 200 and 500.

Both were non starters for my use case.

In general the product felt cludgey, poorly documented, and feature incomplete.

Disclaimer: this was about 3 months ago.
>Conceptually, any such application is just an internet-connected filesystem driver with (presumably) a local cache in front.

If we oversimplify to death, yes.

In the real world, it's an application created on a deadline, to work on a specific backend and take advantage of its features, and to serve as a basis for future development (and to work across OS X, iOS, etc). Some of the stuff also includes tight integration with the filesystem and/or kernel -- which would be a gaping security hole to pass to third parties to play with.

>So there's no technical reason it couldn't be pluggable, just Apple being Apple as usual.

It's a for profit company being a for profit company as usual. No proprietary OS maker develops such a flagship feature as an interchangeable pluggable infrastructure to hand to competitors (Google Drive, MS equivalent, etc).

Not only it makes no sense from a competitive point of view, it would limit them technologically too, as they would need to specify entry points and APIs that they then can't change.
<html "Imagine a Lightning Symbol Here" >

Really? I know you can just use <html amp> but why are we going down this road?

edit:
Well, that should have had a weird lightning symbol next to the <html but I guess HN ate it up. See the example:

https://www.ampproject.org/docs/get_started/create/basic_mar...
The idea that China or Russia would be more friendly to Venezuela is almost laughable. Even Venezuela's corrupt government knows this would piss off its neighbors and the Russians aren't just going to sell you oil. They'll want a military base, submarine dock, or listening post in your country, if not stooges of their own in high positions of government like they did in Ukraine and do in several neighboring countries.

I suspect the US has a strong interest in Venezuela not going belly-up and is selling oil just for cash, perhaps turning the wheels on Maduro a bit by having your "enemy" take care of you in a time of need. I imagine Maduro is getting a good price as well. Suddenly all that Socialist talk doesn't make sense when your once wealthy country is dirt poor and the "evil" capitalist neighbor is the guy getting you out of trouble. We don't need anything political or strategic from them, but China and Russia certainly do. Venezuela would be in no position negotiate with these powers and history has shown them how getting into bed with Russia in the Americas tends to end badly.

I imagine more civilized and less expansionist countries like Norway want none of the hot mess that is Venezuela and have no problems finding buyers of their oil. It would also be incredibly controversial to Norwegians who believe in human rights and Norway, being a democracy, would bow to the pressure of its people. I don't know why you think Norway would automatically approve such a sale. Just because both countries are 'not the USA' doesn't mean they are bosom buddies or somesuch.
Sincere question: HOW? I mean, even if we assume a socialist economy is terribly inefficient, like operating at 50% of the efficiency a capitalist one, it still should be enough for sustaining a resource-rich country.

WTF they are doing so wrong?! Are they under intense internal or external sabotage? Corruption is so bad?

I mean, this is not some mid-African country with >50% of the population illiterate, bunch of horrible tropical diseases, plus children running around with guns and AIDS...

A country like Venezuela should "kind of work" even with corruption and inefficient socialism! What the heck is going on there?
I guess I'm the only here who loves the idea of clicking on an AMP'd page and having it load instantly? I can start reading the article immediately, instead of waiting for allll of the assets and javascript to load. Including ads.
Admittedly this submission is a bit weird, but I think it illustrates some of the unintended consequences of all this incredible data mining we're being told all the time isn't hurting anyone.
Condensed-matter physics and chemistry have been "complete" in this sense since forever. You can write down on a small piece of paper the Hamiltonian of electrons interacting via electromagnetic forces with themselves and the atom nuclei. And that's pretty much it.
Archive.is to the rescue for those of us in the UK:

http://archive.is/Xrs8B
This is the handwriting of famous typographers
> In practical terms this means that we have to pay AWS some $ to get dedicated instances

This is a feature, not a bug. It also is neither HITECH nor HIPAA; it is instead AWS's requirement in order to sign your BAA.

> we can't use ELBs in the standard (easy) way

Also neither HITECH nor HIPAA. ELBs are used in a PHI-related scenario identically to any other scenario. Unless you are referring to using it as an SSL terminator, in which case I would say "the standard (easy) way is always wrong".
Eh... hard to get excited about this until Chrome and FF can somehow support Apple Pay.
Yeah I hate 'performant'. It's used as a sloppy synonym for "high performance". It's like calling a high voltage circuit box "voltant". Which to me implies just that it "has a voltage" But you can only have a voltage relative to some other level of charge somewhere else. Volts are an interval between charges, everything has a voltage (), so everything is "voltant".

Performance is the same. Everything performs, you can only talk about higher or lower performance of one system relative to another. Just calling something "performant" implies that it is "high performance", but leaves out what it's performing better than.

I hate that word. lol

( except not: everything has a charge; we assume some zero level charge and we can say that everything has a voltage relative to that level. That's why there are two words: charge and voltage.)
There are many code analysis engines for JavaScript that can be used as a plugin for code completion. One commonly available as a plugin to many extensible editors is TernJS[0].

[0]: http://ternjs.net/
I think Hampton Creek has had enough scandals that I'd avoid mentioning them for testimonial/social proof reasons.
So, what's the plan for when the bubble pops, Let's Encrypt runs out of funding, and meanwhile all browsers have switched to requiring HTTPS for all websites?
Why does AMP do anything with scrolling at all?
> That thing, visualizing something given to you in mathematical form, feels very good indeed

I agree completely. I still remember the feeling I got when I was able to visualize differential equations in relation to "normal" calculus. It completely changed the way I thought about math.
That seems like a fairly reasonable thing given you're talking about encrypted PHI... it's some extra $ for a considerable reduction to overall attack surface when processing the most sensitive type of personal data.

I don't think this meets OP's definition of "wrong".
PiP is supported for YouTube etc. too.

Control-click/Right-click on a YouTube video – the first time around it'll show its private menu – then CLICK AGAIN on the video, which will bring up Safari's menu for videos including the Picture-in-Picture option: http://i.imgur.com/ekWnBQr.png
I'm just excited to switch to using USB Type-C connectors. That's literally the only reason.
I guess what I'm trying to get at is that choices the "market" made are viewed almost with a sacred reverence by a lot of people. They'll even call you a socialist if you question anything about it. I'm no ethics expert either by studying or being ultra ethical in practice, but I think it's worth it to at least discuss the implications when the market makes a decision that hurts people. It doesn't follow that I'm a socialist. Reading between the lines and categorizing things is useful but it requires a bit more sophistication to be able to adjust those filters and focus on what they're saying not what you perceive as the sub-text. (Note, by you and I don't mean you as in the person I'm responding to I mean a more general "you" as in all of us as I'd like to be more skilled at resisting the default as well)
bag
That's interesting. I wonder how well we can shoot our waste heat into space?

E = mc^2, so convert the energy into mass and shoot it into space?
Protonet refunds indiegogo backers rather than face unknown delays
You can use PiP for the YouTube HTML5 player by right-clicking on it twice, see my previous comment:

https://news.ycombinator.com/item?id=12542619
Ask HN: To expose a security flaw or not? (at a company where I Interviewed)
tl;dr: hacked into potential employers web app, gained access to client details. can't decide whether to tell them or keep quite. help!

I recently interviewed at a company for product engineer position.
I got a decent offer from them, but for some personal reasons I could not accept it.

Before going in for the interview.. I did a little bit of research on their company and found a few security flaws in their web app through which I was able to get access to most of their client details as well.
now, I'm confused whether to help them out with the issue or to keep it low considering there are chances of it backfiring on me (though I had a good time during the interview process and a healthy conversation with the people there)

what would you do?
UPDATE: I now have macOS Sierra installed. Seems fine enough and I enabled Siri on my laptop. I must say that Siri has some catching up to do with Google Now which answers my questions (usually) and does not just give a few web links like Siri does.

edit: I just tried more "calculation style" Siri queries that kicked in Wolfram Alpha, and those results are nice!
As the article mentions they have had expertise and screwed it up. First an American consortium was producing lots of oil but they nationalized it and then China National Petroleum Corporation moved in but can't get it's equipment delivered. They need some sort of sane economics so you can order stuff and have it turn up.
You can't run Safari on Linux or Windows if that's what you're asking.

But you can use a service like Browserstack to run Safari if you don't otherwise have access to a Mac.
In Germany the publicly owned savings banks (Sparkasse) and credit unions (Volks-, Raffeisen- and Spardabanks) weren't affected by the financial crisis, only the large private banks were. Does that mean we should declare private banks as a failed system?
As far as the scrolling goes, I'm fairly certain they're just using native scrolling (as in, not using a JS implementation that doesn't get the weighting right). The AMP Runtime needs to know scroll position, and they seem to just be capturing scroll information on the scroll event

See https://github.com/ampproject/amphtml/blob/master/src/servic...

I may be wrong on this, as I don't know enough about the codebase. However, I'm pretty sure it's just native scrolling.
I think it is now auto-configured to detect if it is installed. Or at least that was supposed to be one of the features of this release.

https://www.phoronix.com/scan.php?page=news_item&px=Firefox-...
1997 - 1985 = 12
Naive (probably non-realtime) version for video should pretty easy, just run the algorithm frame-by-frame. Biggest problem would be the lack of temporal stability ("jitter"), but I imagine using previous frame as the base state for next frame would help.

Real-time graphics rendering is another story altogether, I don't see any trivial ways of applying this sort of thing for typical graphics pipeline.
So now if you buy more into Google's ecosystem (AMP) you get a special flag next to your content in search results? Interesting...

You know I don't understand this whole AMP'd thing. It's possible to make something just as efficient if you don't ruin your mark-up to begin with. The big advantage with AMP, as far as I can tell, is the Google caching mechanism. There is no reason someone can't use actual standards to create the exact same results.

It really bothers me that, to get preferential treatment, I have to now work with Google AMP and Facebook Instant Articles. If I don't the competition will. We originally had web standards for a reason, now we're doing this non-standard stuff.
Getting rid of Wordpress (Part I)
I’m asking around, suspect it’s an HMRC thing but I’ll pass it on if it is. Thanks for the report!
I think you'll find textbook socialism are very different to what you think socialism and communism are. Do the workers in Venezuela own the means of production?
Vroom Raises $50M to Expand Online Used-Car Business
Signal for Android Attachment Bug
A mistake allowed us a peek into North Korea Internet infrastructure
There's a similar idea in Greg Egan's recent Orthogonal trilogy [1]. It's a fascinating series that explores a universe with different law of physics from our own, with the physical implications worked out in considerable detail.

One of the more intriguing (although hand-wavy) ideas is that in this universe, it's fairly straightforward to construct a device to send information backwards in time -- but if you actually do so, social and technological progress will immediately grind to a halt, on purely thermodynamic grounds. The idea is that any information that you send back seems to "appear from nowhere" as part of a stable causal loop, and so the entropically-favored outcomes are the ones where as much of the information as possible is uninteresting.

[1] http://www.gregegan.net/ORTHOGONAL/ORTHOGONAL.html
> please, don't blame it on communism/socialism; people have interests and I believe so do people in Venezuela (sic)

This statement shows that you fundamentally don't understand the problems a socialist (or communist) economy runs into. People obviously have interests and incentives; people in Venezuela are people, just like people in the US.

But you can have an economic structure which helps align those incentives with productive work -- in a market economy, those running the oil industry are heavily incentivized to actually _produce oil_ and get paid for it.

When you have price controls and rampant shortages because of them, you can make far more money using your federal money to buy supplies and sell them on the black market, instead of fixing your oil rigs (because (1) you don't own the output and (2) the gas you sell is price controlled to ridiculously low levels).

If you have a government which turns a blind eye to rampant theft and cronyism, you're not even taking risks by doing the above -- it's practically condoned.

Russia, China, and Norway know that the government of Venezuela is just as likely to turn their kleptocratic ways on them, as soon as the going gets even tighter. The "state" oil industries in those countries are actually semi-private, and have actual financial incentives to not get screwed over.