skysight-inc/HackerNews huggingface dataset:
I got similar results. I took some sample code from the Apple SpriteKit documentation:

CGFloat distance = sqrtf((clickPoint.x-charPos.x)*(clickPoint.x-charPos.x)+
(clickPoint.y-charPos.y)*(clickPoint.y-charPos.y));

And got this in Swift:

var distance:CGFloat = sqrtf((*((clickPoint.y-charPos.y)*()

Most of the code I put in converted to Swift correctly (though it wasn't efficient Swift code) but the above line was just plain wrong. So, it still seems a little buggy but it is a good idea. Like you pointed out, it is only useful for Objective-C to Swift since the Foundation framework is not available in Android.
As other people said, it generally is supposed to mean the food came from a nearby farm that the restaurant can identify.

In these cases, though, restaurants weren't just saying "farm-to-table"--they were making specific claims about what farms were supplying the food that just weren't true. In some cases, they weren't even correctly identifying the species involved, like saying cheap fish was something more expensive or even that pork was veal.
Do we get the logo back, too (https://en.m.wikipedia.org/wiki/File:MacOS_original_logo.svg)?
Adding more low-density shipping container housing to SF doesn't seem like a solution to the housing problem. If people are happy living in a 200 sq ft shipping container, then it'd be much more space efficient to build more high rise micro-condo buildings.
I lot of folks I tried to convert to abiword refused because it didn't default to .doc for saved files.
You're getting downvoted into oblivion for the snarkiness of your post, but I'm inclined to agree with you based on things said in the comments at the end of the article, especially by user bllchkchps.
> Significant whitespace is a common source of mistakes that we shouldn't have to deal with.

...except you just made it significant.

This is JSON.

{"a":1,"b":2,"c":3}

This is Hjson after applying the mods:

{a:1b:2c:3}

....oh, it turns out Hjson actually does have significant whitespace.
Isn't the some kind of Government Agency that buys random stuff from supermarkets/suppliers, tests the food and inspects the label?
The same for restaurant inspections? Its not that expensive and it sends a clear message to these people.
What do you mean by left or right associative, and which would mean which: `!= stupid` or `= !stupid`?
The intended reaction to constructive criticism has nothing to do with the critic. When you receive constructive criticism, it means you are doing something wrong, and you are supposed to fix your behavior.
This also works for stopping a NYT article from locking you out of the article when you over the limit.
i am using an old Lenovo R61e, bullet proof like very sturdy, 4 gigs, and was a breeze to though up Ubuntu on! try it
Favored tax treatment of housing
Clay is one of the best Product Managers I've ever worked with. Diligent, kind, keen product insight, and with technical depth comparable to many of the best software engineers--this article doesn't even mention the research on AdaBoost he did while at Princeton. Kudos to Google for identifying a star early and promoting him to run something big!
Proper solution is to build packages first using build environment, then install built binary packages in container, like any other package.
Show HN: Kubernetes automatic service proxy based on annotations
Everyone would vote for a redrawing.
No one would agree to any of the redrawings.
What shop? I'm also in the area and would prefer to know of a shop that I could assign a bit more trust to, since I'm getting married in the next year or so.
The Wikipedia article for Windows NT references this, but also references a statement from Mark Lucovsky stating that the original target for NT, the i860 processor, was codenamed "N-Ten" and that the "NT" name came from the target processor.

It would mildly be interesting to get confirmation of the real source.
I have had remarkably awful customer service from System76 and after my current 2-year-old laptop dies, I will refrain from ever dealing with System76 again. A friend of mine has also had the same problem with customer service.

In both cases, new computers were received that clearly had defective components. I bought a large desktop system to serve as my primary work-from-home computer, and the motherboard was defective out of the box. My friend has twice received defective power cables from them.

In all cases, they have argued that the burden of arranging and paying for shipping should be the customer's problem. In one case, I lived in an urban area not close to any UPS drop off locations, and trying to carry the huge desktop machine and walk to UPS was not feasible -- and System76 would not cover the cost of the taxi.

Most companies will provide you with at-home pickup for this sort of issue, for no fee if it really is a defective component. I expected that I should be able to print a shipping label from them, repackage the device, and leave it outside at a designated time and/or hand it to a UPS driver myself who had been arranged to pick it up at my apartment building. I used to own Dell laptops in 2007-2009 and they did this for me once, and also even offered to pay for a local service technician to come to my apartment and fix it on site, all for no fees.

Additionally, the customer service was unpleasant to interact with. They did not seem to treat my request or my issue reasonably, and in the end after I was frustrated and wrote them an angry email and they finally caved and offered to cover one-way shipping, I just said screw it, I'd rather not deal with the headache, and I contracted a separate service technician to help me replace the motherboard.

I strongly, strongly recommend against System76. It makes me sad too, because I love to see a Linux-focused company, I am a supporter of Ubuntu, and I am happy to pay a premium for these things. I'd love for there to be more seller options ... but I just won't ever go back to System76. Too much hassle and frustration.
I enjoyed the time I've spent so far with TIS. My takeaway wasn't so much about programming assembly, though, as much as managing pipelines and concurrency.

It reminded me a lot more of the work I did with software-configurable processors in the early 2000s than any of the 8-bit assembly I did back in the 80s.
Tall buildings [+] are why Tokyo is so affordable.

I live in the 2nd hottest neighborhood in the city. You can rent an apartment within 4 blocks of me, tomorrow, for $800 a month, and you'd have many choices. If you were willing to live further out or in a less prestigious neighborhood you could trade up on size, too.

[+] Tokyo is very much not monolithically tall buildings. I live in a 45 story highrise; less than 25 meters away there exists single-family housing and 3 story apartments. The average density is pretty high, though -- here in Meguro it is about 2.5x SF's citywide (50k people per square mile vs 20k).
Just the opposite actually. UBI will entrench capitalism as the basis for the economy, and rightly so, into the post-labor future. It will put the final nail in the coffin of already the already obsolete ideologies of socialism/communism/anarchism.
> A lot of quality of life problems will crop up as density rises.

Actually, as long as you allow mixed-use areas, density works out pretty well. What doesn't work is one huge skyscraper all by itself. Vastly preferable is larger areas of lower buildings, which can be anywhere from 2-3 stories, to 5-6, or higher as needs be.

Source: I spent most of the past 15 year in Europe and greatly enjoyed it.

Also: San Francisco is already kind of dense - it's not exactly rural suburbia.
"Penalty" because someone who sells their house and buys a new one every time it appreciates $250k pays zero tax whereas someone who buys and holds pays significant tax despite having the same net gain over the same time period.
The most interesting methods I've seen to prevent image downloading is to slick up the image into multiple parts and put them together using HTML.

That means, you have 10+ parts to each image. If you want to download it, you'll have to grab each part individually and put them together in an image program.

That, or you can just take a screen shot but you'll lose out on some resolution.
Tax hikes aren't a way to lower housing costs.
You don't make something cheaper by taxing it.
Space was less empty when it was younger, so I suppose you could say that the answer to your question is "because it's over 13 billion years old."

But really, "why" questions like this come with too many hidden assumptions to be helpful. You need to clarify why you expect it to not be empty. The way I see it, you could just as easily ask why is space so full of stuff as it is.
It seems many have an inherent expectation that a neighborhood will not change after they choose to buy into it.

The nature of cities is that they are constantly changing, and the sooner we can teach people this, the better.
This just works if you have a package installed. It's where your problems start.
How Node.js created a model open source community
I'll accept nothing less than the holodeck on Startrek. I'm not too eager to slap a monitor on my face at this time.
There was a similar vulnerability with Delta boarding passes... in 2014.

http://gizmodo.com/hacker-says-url-trick-grants-access-other...
Currency fluctuations are peanuts. The real risk in emerging markets is losing everything due to a massive economic downturn, political instability, or corruption.
The internet has been stolen from you. Take it back, nonviolently
It is much easier to just use standard package format (rpm/deb/apk/etc.) and standard installer (yum/dnf/apt/apk/etc.). Of course, you can invent your own build and installation system, it will work too.
Even at hyperloop speeds (and even assuming hyperloops would work exactly as advertised), Portland is too far away for convenient commuting to SF.
Huge towers going up all over downtown Redwood City, too.
Isn't that how it's supposed to work? People that live in a community have the most weight in deciding policies for that community?

If employers stop coming to SF because of the lack of affordable housing, then maybe the community will change their minds. Or maybe that's exactly what they wanted.
It's about 1000 USD, so that means a two bedroom is 2000 USD.

Lot's of people near NYC/DC raise kids in 2 bedroom apartments or townhouses for around the 2000-3000USD price range.
> By your standards, if YC and Vogt were ethical actors, they'd ask GM to reduce the offer, because building things and innovating is itself an honest reward.

What do you need a reward for at all?

Why are you trying to build something?

By my standards, your motivation matters a lot, it sounds like you think people deserve rewards for doing things, I don't think that makes very much sense. Gold star you did the right thing, bullshit.
I much prefer macOS to be consistent with tvOS, watchOS.
Stand on Twin Peaks, look south, and tell me SF is dense.
It's a method of dealing with the state that is extremely simple. The state is a single immutable object. The bits of your app emit actions, which are just plain JS objects. The state is updated by running a reduce function [on the bit of it you want to update] it in response to the action. That's basically it. The 'easy to test bit' isn't an exaggeration; there is no magic at all, and every component part is extremely basic. Behavior becomes very predictable. The source of truth for the app is moved almost entirely to this state object, all other state/side effects are discouraged wherever possible.

The cons (you may/may not see them as such, but..) are

a. for a lot of people it is quite difficult to grok at first,
b. it's extremely functional,
c. it has quite a lot of boilerplate - it is extremely explicit,
d. the app state is held in a single immutable object.
You wouldn't need to go that far to have a huge impact. High speed rail or hyper loop between SF and Tracy would open up the Central Valley and its vast expanses of open land.
Because the universe is expanding. Space itself expands the further away you are from a reference point. That means, everything is moving away from us (on a grand scale), and the greater the distance to the reference point, the bigger is the rate things in the universe are moving away from us. I think the rate is about 70 km/(Mpcs) - wich is an incredibly small number, scaled down to a meter it is ~10^-23 m / (ms). And as space expands over time, the density of matter in space get lower and lower.
Can we please have a moratorium on San Francisco article submissions?

I really wish it would just slide off into the ocean at this point.
The Ottumwa Public Library staff are heros.
> Not being able to afford to live in SF is not a quality of life problem.

I would point out that article showing that the poor live longer in places like SF and NY. For others, access to a more productive, dynamic place to work carries a lot of benefits, and excluding them definitely hurts.
The Real Problem with Naming Vulnerabilities
In this case, Facebook is "doing something wrong" with every photo URL.
Its just like "I don't swim because of sharks"... You are going to get a list of fears that are perfectly understandable, yet irrational due to lack of evidence. Its a shame because of the huge potential GMO's have to positively impact so many of our current global problems. (malnutrition, water shortages, carbon footprints, etc)
Right. That's why the vote needs to be gotten out: If the rules are a problem, you need to change the rules. We live in a democracy, and there's a process for that. Get people on the council who want to change the rules and the rules will change.
That's what I bought in 2014, a Gazelle. If they've improved they keyboard since then I'd give it another go.
The Water in Your Glass Might Be Older Than the Sun
Dave Cutler is Godzilla
Best Ways to Bring Your Breast in Good Shape After Breastfeeding
> If he had though about color blind users, normal users wouldn't have issues either.

That's what you meant, right?

Anyway, that's exactly the argument I always bring up: if you design for the colour blind, the deaf, don't assume righthandedness, etc, and you do it well, the interface will end up more user-friendly for everyone.

In your example, adding a hint based on shape/position/lightness (or all three even) as well as a colour is easier to read for everyone. Similarly, using some verion of Cubehelix[0] is the more readable option for heatmap-scales, and again not just for the colourblind but for everyone.

[0] http://www.ifweassume.com/2013/05/cubehelix-or-how-i-learned...
Or don't bother, since a lot of sites that actually buy into this sort of thing don't bother doing any server side validation. Want to be somewhat alarmed? Look up those old 'Javascript HTML encryption' scripts, and Google the sites that use them. Some of them didn't even bother to do anything more than a Javascript prompt for 'security'.
You're overly cynical. Nobody in the United States worries about buying adulterated milk, or medications that are actually mixtures of flavored syrup and radium, or bread that uses sawdust as a cheap filler, because there's clear standards for what something labeled as "milk" or "bread" means and regulators with the power to enforce those standards.

Lots of other countries don't have those things, which is how things like this happen: https://en.wikipedia.org/wiki/2008_Chinese_milk_scandal
The History of Sega Console Hardware
I'd be fine with buying GMO food if the genome were FLOS, in fact I think we should mandate all organisms sold for food should have an FLOS genome.

I think GMO is a critical tool to solving the climate and population growth problems we face.
San Francisco is the second densest large city in the US (after New York).
My point is that it is denser than your average burb in the US already. People don't move to SF because they think they're going to have a single story ranch house with a big yard, so by increasing density, you're not radically changing things.
A beacon doesn't mean they're reading the content of the email.
I'd agree that this provide a false sense of security to the developer. Here's another example of how to modify the text:

$('h1.locked').clone().replaceAll('h1.locked').text('sucka')
Ask HN: Is any of Dave Cutler's code open source?
Just read an article from Microsoft on Dave Cutler receiving CHM Fellow title, and was wondering if any of his code is publicly available.
Better store the sourcecode of the exact version used for transcoding/playback and back it up propperly too. You might need to re-recreate the binaries in dozens of years from now.
Well done - the technology is pretty amazing if it lives up to its promise. I'd be curious to know what you use behind the scenes to parse Objective-C? Do you build parse trees with clang or is there some other black magic going on?
And how would the government pay for things? Clearly even with 200mn people, each paying $2000 in tax, you'd only have $400bn in tax revenue. The current total US tax revenue is $6.8tn (federal + state + other).

If you upped the tax to $10k, you'd still only be talking about $2tn, but you'd have huge swathes of the country forced into poverty as they'd be unable to pay it.

You'd need immense corporation taxes in order to make up the shortfall. Currently US business taxes make around 8% of the budget, compared to 36% for income tax. A flat dollar tax is nuts. The rich make their money from the labour of many, many people. They may only personally use the roads the same as others, but the thousands of their employees that need to drive to work need it a thousand times more. Without that, the rich would have no business. Ditto with healthcare. You need your workers healthy and they can't afford healthcare, you pay for it or you soon won't have many workers. $10k does not pay for much healthcare. Blindness to the social costs that are picked up by the government, does not mean that they don't exist.

The rich can pay a bit more and still be rich. They need to pay a bit more or they won't be rich for long, their workers and customers won't exist anymore.
The idea is that it's not "Farm-to-distributor-to-other-distributor-to-table". There's supposed to be a clarity in the supply chain.
I'd say Infinifactory is an improvement over SpaceChem, in that your creations are a lot more viscerally satisfying.
These days I'm a bit more intrigued by Roblox. My 11 year-old son and his friends have completely abandoned Minecraft for it.

Roblox is designed for MMO play from the start, but worlds (or whatever they're called) are completely open to modification with their free editor. Then you can script things in Lua. Lua!

The other night my son was antsy at the dinner table. So I asked him why the rush. He said he "had a flight to catch". Turns out he's joined a group that operates an "airplane" that has scheduled flights in and out of an airport that someone has created. He interviewed to become the first officer on the flight.

It's messier than Minecraft, but the players seem to understand the potential. They're hiring, actually. (no I don't work for them). The stats on this page are interesting too:

http://corp.roblox.com/careers
Yeah, can we kick all those unproductive corpses out of Colma? (only-half-joking.)
It's really just a distrust in the promise that industry will make food better.
Indeed, but it's far less dense than places like Paris, where people mostly seem to lead fairly happy lives.
OneDrive publicly writeable? Why is that even possible?
Effective transit is what makes tall buildings in Tokyo work.

SF would need to invest tens or hundreds of billions of dollars in transit in order to make Tokyo style densities work. Just digging out the sides of Embarcadero station to allow two-sided boarding for BART is projected to cost a billion dollars.
I've used http://loadstorm.com in the past, let's you automate and test emulating real browser requests
Well the URLs are predictable...

But I don't think you can find out one's imgur username or more of their photos from just having a link to one of their photos.

I also tested from an arbitrary image in an album, trying to go backwards to find out what album it belongs to, but that doesn't seem possible either.
This is interesting and it should be paired with a dramatic re-thinking of the way our democracy functions. Namely, we should abolish the Senate's overrepresentation of small, rural states. It made sense that all states got two senators in 1789, but not in 2016. Wyoming, with a population of less than a million, does not deserve the representation of two senators, the same representation that California, New York, or Texas receive. The US is less agrarian than ever. This antiquated representation makes less sense than ever and harms our democracy by under-representing urban populations.
Nix has been a very cool project to watch over the years.

You can address part of the problem of picking up extra data in final images by declaring temporary build locations, such as `/var/lib/cache`, as a volume. Anything written to a volume won't be included in the final image.
Some current evidence suggests that "because this is a scam."

https://www.theguardian.com/science/across-the-universe/2016...

Other commenters have pointed out other inconsistencies in the story.
I have a suggestion for Wired. Instead of a splash screen that says, "We get it: Ads aren’t what you’re here for...." How about "Hi, as you can see, our business model is old and busted, and even though we're a publication about optimism and the future, this lame anti-blocker screen is sadly the best we can do right now. Please help us limp along until we can figure out something better by either enabling ads or paying for a subscription."
> If you don't like density or problems that arise due to density, don't live in dense places. There are plenty of less dense places.

If you don't like expensive housing or problems that arise due to expensive housing, don't living in expensive places. There are plenty of less expensive places.

Note: I agree with density == good(in general) but you're using the same argument that the nimbys are using in SF.
I was hoping the "right to be forgotten" in regards to search engines would be removed. I don't think it was. Do anyone know why?
So it's like those old scripts to stop right clicking/content selecting/other stuff then?

The ones that were (and still are) completely useless because the scripts are client side and trivially easy to 'bypass'? Yeah, I think I'll pass.

Funny enough, uBlock Origin doesn't seem to like this very much, since I just waltzed in and edited the 'protected' elements without so much as an alert:

https://dl.dropboxusercontent.com/u/67216205/jqueryunlocked....

What's next, a jQuery marquee plugin? Or maybe jQuery blinking text...
This is strange to me, I've been using computers since I can remember, but I only very late started to do anything productive with them. I've never had anything I've wanted to keep, I mean sure I now have some scripts that are valuable, but nothing old like that.

It's also so strange when co-workers talk about how their kids are not just playing games but also creating mods for their games. When I was kid I just drew pictures, played with lego and played video games.
Proposition 13. It's against the California constitution to do so.
It's great, unless you are using JDBC.
Watch nanotubes self-assemble into tiny wires
But that assumes that the residents that are voting for the board of supervisors are the ones that want to change the system.