skysight-inc/HackerNews huggingface dataset:
Anyone else bothered by the misleading chart "Rent as a percentage of income, people age 22-34"? It claims 78% for San Francisco and 65% for New York, which is absurd considering that people pay taxes.

I suspect the graphic is really showing the ratio of "median rent in San Francisco" to "median income income in San Francisco for people aged 22-34", which is much less meaningful (though it does say something about how expensive housing is).

Does anyone have actual statistics on the percentage of income that young people pay on rent, i.e., "median ratio of rent to income for people aged 22-34 in San Francisco"?
And terrifyingly enough, the Council's Public Safety Commitee said to this: "We know terrorists are planning to attack our subways, and the MTA and NYPD better find these magical morons quickly, and then make them disappear for a year in jail."

So, clearly the solution is to JAIL the users of the keys, instead of actually replacing this with a better system.
Keyboard remapping tutorial for increased usability and productivity on Windows
An even stronger guarantee: That the definition of trustworthy and "good guy" are unchanging, and even in a dystopian future where a rogue actor is in control of government, those keys are safe because they understand the morality of the people who created them.
Why? They're not a taxi company. Thry
Shopify user? 16 ways to increase those sales
I think that you are referring to a known bug that was introduced in iOS 9. They have a blog entry describing this.

https://blog.getcloak.com/2015/10/19/feeling-a-little-too-se...
I'm not sure if that was serious, but women dominate in plenty of subjects. When are we going to accept that on average women are not interested in the same things as men? Trying to make everything 50-50 only makes people miserable. Give people equal opportunity, and if they make different choices that is a good thing, because they're choosing what makes them happy.
This kind of exploit is going to keep happening. The most egregious cases involve PageFair, which offers a tool to publishers that circumvents ad blockers. They too have served malware, for instance at The Economist. http://www.theverge.com/2015/11/6/9681124/pagefair-economist...

Sometimes I think we ought to have civil liability for software security. A few lawsuits would shut stuff like PageFair down.
Looks like Vulkan support didn't make it to this release.

https://blog.qt.io/blog/2016/02/16/the-qt-company-joins-khro...
I'd say they have a common hatred for Ed Snowden and common positions on FBI-mandated iPhone unlocking, to start with. And the fact that they lived in the same circles for the last 20 years suggests they likely share much more than that.

Hillary was also born with money (albeit less than Trump) and was a Goldwater Republican before the antiwar tide became too big to fight.

(Party affiliation of political personalities in the US is a joke. See also: Joe Lieberman, another guy living in the same NY circles as Trump and Clinton. Don't take labels seriously, look at the policy, and you'll see the differences between Clinton and Trump are mostly cosmetic.)
I have the same belief, but for a different reason. I think autonomous vehicles will make city centers become less important.
How to overclock the microSD card reader on a Raspberry Pi 3
>buying real estate anywhere in North America

Maybe major major cities, but it's not unreasonable to get a 3-4k sq ft house for less than $1400-1500 a month all in in "B" cities or outlying areas of major cities.
I've been tracking this through release candidates, and glad it has finally landed. Good work ContainerShip team!
You publish some code saying "this is the right way to do things." You get criticized for leaving out some important stuff, so you go back and revise it.

Which is the right way to do things? Which techniques were "the right way" pre-criticism, and are no longer the right way post-criticism?

PC run amok, or a natural give-and-take that comes from exposing your ideas to other people?

In the programming world, we don't expect our first attempts to be perfect. Why would we expect that here?
It's strange to see The Register posted here so frequently, since I imagine a link from the NY Post or Daily News would be removed immediately out of concerns for bias.
Can you upvote on HN without having the page reload?
> On October 15, 2003, almost nine years after Bernstein first brought the case, the judge dismissed it and asked Bernstein to come back when the government made a "concrete threat".

I guess the threat's technically not here yet, but seems like it's right around the corner. djb, pack your bags for the ninth circuit.
The data has been notoriously unavailable - when did someone figure out the numbers?

But yeah as siblings said, even a small minority can move the market like that. Just hearing of these huge (successful) prices makes people list higher, etc.
Visualizing Global Arms Exports and Imports from 2013 to the Present
I do quite a bit of library development in TypeScript and one of the biggest wins is with new developers doing their first non-trivial bug fix or refactoring. The compiler has saved us from introducing all sorts of edge-case bugs because it catches downstream impacts that developers who are not intimately familiar with all of the code can introduce.
A nice bonus feature is single line jsDoc comments replacing giant blocks of descriptive text.
I've contributed to several campaigns on Kickstarter, Indiegogo, and GoFundMe without an issue, so to say you can't "confidently contribute" is a slight exaggeration to me. With that said, you absolutely do need to do your due diligence before contributing. Yes there are plenty of scam products/campaigns on all the sites, but that is not the site's fault. That's like saying it is eBay, Craigslist, Freelancer.com, or your local newspapers fault for having scam listings associated with them. Simple due diligence is, if it sounds too good to be true, it probably is. Also, if a hardware company is trying to raise funds for the engineering and development of a product, and their ask is relatively low, most likely there are going to be issues.

I don't agree that refunds should be required in all cases. If a company legitimately raises money to produce a product and in the end that product fails to be delivered, that is a risk you made as an "early investor" to contribute. Like the stock exchange, or any investment product, there is no guarantee you will get your money back or see a return on that money.

In the end it doesn't take but 5-10 minutes of your time to do some basic due diligence and make a determination if you want to invest or not. Look at who is behind the project, are they open about who they are and their backgrounds. Look at the product itself, is it to good to be true. Look at the time and updates, are they updating regularly and have they described the product in detail. Look at the rewards, are they legitimate and doable, or are they too good to be true as well. That all falls on you, and you can't expect the site to know whether a product will succeed or not ahead of time.

With that said, I do think the sites could offer an additional level of "identity verification" to potential investors. Where campaign could agree to a slightly higher fee to undergo a background check or verified identity. That itself would be useful and I think would instill trust. However, there's a fine line there in that it could push people to not invest in campaigns where the identity has not been verified. Maybe have different levels of verification at different price points.
CyanogenMod 13.0 Release 1 Released
CyanogenMod 13 Release 1 is now available as the Android community's first release based off Google's 6.0 Marshmallow release...

http://iskandar.ml/2016/03/16/cyanogenmod-13-0-release-1-released/
At some point it becomes theatre, like the fools who climbed aboard a Google bus and pretended to be entitled prats yelling out the window. That's evil. So be careful how much scripting you do. It can come back and bite you. Seeming authentic and spontaneous, isn't as good as actually being that.
You're confusing instrumental goals with terminal goals.
Wow, thank you for your analysis! To think that political reporting as sunken so low, while there is so much untapped potential lying around, waiting to give us such brilliants commentary on geopolitics... !
Now's the time to get into VR – but be realistic about its returns
With the key inside the warehouse, no one can get in.
It's not that. He could have put up a list with mostly women, or mostly African films, people would mostly be okay with that. It's the perception of his giving in and revising in the face of dissent on something more or less personal.

Let's say he put up a list of favorite foods. Then someone notices there are no lamb dishes and he adds lamb to it. Or there is no vegetarian dish and adds vegetarian dishes.

It's not a big deal either way but people read "undue influence to change personal preferences"
AsiaBSDCon OpenBSD papers
Hey VCs, I have another idea for you: spread out a little. I'd have to get paid a completely ridiculous sum of money before I'd be willing to move to San Francisco. People are over it.

This country is massive and has plenty of open land. The U.S. is the 3rd largest country by land area (behind Russia and Canada), but excepting Alaska, virtually all of our land is quite habitable, something neither Russia nor Canada can say. There is no reason anyone here should be paying $4k/mo to live in a tiny apartment.

On top of that, California is one of the worst states for business in the country.

There are ~40 states that have a totally untapped pool of resources including people, housing and land and a business-friendly legislature. Get out there and use them. And developers, push back against companies that want to enforce an SV-centric working methodology.
I started playing with QT last week. QML is great.

Is the QT team working on official React API support with JSX ? This will make universal UI development a breeze.
And equally, the opposition says "He changed his stated opinion[0] after a social justice flavoured criticism? There's absolutely no way he could agree with them, so he must be lying out of fear!"

I prefer to assume people are telling the truth about their opinions until shown evidence to the contrary.

[0] EDIT: Which, incidentally, was never asserted to be complete, and indeed solicited suggestions for improvement.
Maybe he accidentally left such films off his list, realized his mistake when it was pointed out, and corrected it.

Why assume the worst?
Show HN: Solution for highlighting search terms in PDF
That depends on the syslogd implementation, and will not cause programs to crash due to disconnected stderr/stdout buffers.

Perhaps more importantly, you can swap out the syslogd if you don't like its implementation. This is harder to do (if even possible) with journald.
I love the first video. The apartments are lovely, lots of light, a lot of thinking about the usability and comfort went into it. If I was single in my 20s I'd love to live in a place like that (as opposed to same dingy 800sqf with nasty wall-to-wall carpets in a generic apartment complex somewhere in middle America, which is what I actually did).
Now would be the time to learn the new UI and write a series of tutorials, videos, ebooks, and sell them. There are a lot of users feeling the pain.
The job market is getting quite tight in Alberta, though Calgary's tech industry seems slightly less oil-centric, and is accordingly better insulated.
What leap? You said normal vs premium was perfectly acceptable? Premium aircraft seating was at the front of the aircraft... How about if we call the back of the bus the 'premium area' and exclude whites?

PS: If you don't defend your argument, I am going to assume you already conceded defeat.
Colors in the GUI affect your perception of colors in the image you're working on. I suspect that was the motivation.
>women to engage in the behaviour since they aren't "men" how can they be "mansplaining",

Stuff like this is really bothersome. Another example is when a woman is clearly being a misogynist, but thinks that's impossible because she's a woman too. The worst and most sexist things I've ever heard were from white professional women who think the rules don't apply to them, epsecially if they are discussing younger more attractive women or poorer, less educated women. And in the workplace no less!

I think we live in an absurd level of PC pressure and I think that partly explains why guys like Trump are doing so well in the polls. People are just sick of navigating this stuff and its all fairly arbitrary. Ignoring this isn't doing anyone any good, especially the Democrats who keep losing elections. Not sure what the solution here is, but I hope the pendulum is beginning to swing the other way. The fact that 'mansplaining' is in the iphone dictionary is especially odious. Its a straight up slur. Being a tonedeaf know-it-all knows no gender.
Banks benefit hugely when you use your credit card, they make money off the transactions. But also, they know that when you use your credit card you don't think about your purchase as much as when you use cash. With cash you watch it disappear, with a card its just some abstract numbers on a screen.
How the hell is autoplaying video still a thing in 2016?
Ex-consultant turned founder here. Think productized consulting services are really interesting as a business for three reasons:

1) consultants are traditionally really expensive (as a 23-year-old, non-technical little shit, my firm would bill the client at $200+/hr), so as a result we could only be there for a few months. We'd come in, make things better, and then were gone. So within a few months afterwards, things went back to the way they were (aka a disaster). Productized consulting services, on the other hand, are generally cheap enough to be perpetual.

2) Businesses generally suck at executing the consultant's recommendations. We'd provide really rich data and detailed action plans to clients -- and this powerpoint printout they paid a ton for would just sit on the desk or on the shelf. It was frustrating. But other client priorities would get in the way. At best, someone would half-ass our plan.

3) Consulting is a machine; 80% of what you do is the same for all clients. We're taught to search internal databases for past work and frameworks before doing anything from scratch. For that reason, it actually lends itself really well to automation.
It is, you just need to define a d.ts file. I was able to use plain jquery with typescript. Check out DefinitelyTyped. It's a project that makes it easy.
Its clear that both are true, to some degree. He clearly overlooked good movies directed by women, guilty. He clearly responded to criticism and overrode his original judgement to satisfy them. Its never black and white (unless talking about race; then its always black and white!)
There are some ballparks on their page at angel.co: https://angel.co/sendwithus

Having interviewed with them a couple of years ago, I can attest that their team is incredibly nice, and the product is interesting also.
The dorms are a partial solution, not the problem.

Urban living means sense living. The best bet is to go for comfortable dense living.
GitHub something is missing today?
I get to the office, sit at my computer, wonder how someone would go about doing a certain thing and type in github.com in my browser. "Oh wow they sort of cleaned up and spaced out their look on the front end" I think. Then I realize I can't do what I came to do - without logging in. So we can no longer search open source repos without being logged in? This doesn't seem like a big issue now but I spend probably 30 or more minutes researching open source, whats new, whats going on. My searches arent always on the same computer and sometimes they are on my phone when I scroll to the bottom of the mobile site and tell it I want the desktop version just so I can browse github while walking around on my phone. I learned a lot over the years stumbling into new things on github because it was so much different than the Apple store setup of "here are 20 things we think are cool" apart from the 20,000 other things that came out this week.

My love for github was the years I connected and learned before even needing/using/learning git. Maybe the search is hidden out there now but I'm going to miss it on the front of github.com
It's so much more pleasant to write and maintain than wild, un(type)safe javascript.
I'm not the first to observe this about N Korea, by far. Only one of us was being sarcastic.
I agree there is a -ve feedback loop in there.
Yeah, since 2000 it became clear the US electoral process is f*ed up (which makes the whole "democracy" grandstanding very shallow). And I thought the UK system was bad...
> Can you describe an example of a better, real-world unit test you have in mind?

Considering the output is a JavaScript library people will be using it in that context more than with TypeScript and many of the others. So I don't have a specific real-world unit test example but in general your unit tests have to test the various ways people are going to use your API from the target language. So you'll need to make sure it behaves in the expected ways with valid and invalid input.

At the very least I'd expect unit tests to be written in JavaScript to hit a TypeScript library to help eliminate any weirdness that could have been missed.

> Do you also advocate against writing ES6 and using Babel?

Yup. ECMAScript 6 is great but the support is still not entirely there (especially in older browsers) and many of the transpilings are not quite equivalent. Granted Babel is pretty high quality (minus their whole decided not to ship any transpilers in the default package anymore) and I would expect it to be close enough. But after being bit by CoffeeScript so many years ago I'd rather not deal with transpilers and use the real thing when I can.

Coding in ECMAScript 5 is guaranteed compatible with ECMAScript 6, most web browsers and most versions of node. So I look at it like this: why add the extra complexity just for a few extra, nice, syntax improvements?
Sweep: a low cost LiDAR sensor for smart consumer products
>why should there be a government?

Why indeed...

>You get taxed because the government provides something for you and the provided services need to get paid.

To the extent I want or need those services I will be happy to pay for them individually like I do anything else. If the services government provides me are desired than I should be free to choose to pay for them and if I do not then I would not be able to take advantage of said services.

>I doubt you want to live in total anarchy without police, firemen or a working sewerage for example.

My Fire dept is all Volunteer funded by donations from the community, it gets very little to no tax money. I believe taxes may have paid for the fire truck, but that money could have been raised with out taxes.

I have a septic tank, no government sewer service, but even if I did every city near me has private run water and sewer services that are paid for by the people connected to them not by tax dollars

Police is the only service on your list that is actually paid for by tax dollars, that makes up about .000000000000000000000000000001% of my tax bill, if the police want to send me a bill for their service I will be happy to pay it directly and not have the rest of the government burden.
> hillaries victories

Hillary is a name and not a noun and it's not really a plural here either (there is not more than one Hilary) and so the grammar should therefore be:

"Hilary's victories"
> it's not about the average person, it's about someone with something to hide

Keep in mind that the FBI would love it if everyone held that to be true. We all have something to hide, average person or not. No matter if you are a criminal, political activist, pervert, lawyer, priest, or just the baker down the street. Paraphrasing John Oliver: your banking statements, medical data, dick pics, private messages, dick pics, dick pics, and your secret diary are all things you most likely want to hide.

( https://www.youtube.com/watch?v=zsjZ2r9Ygzw )

The FBI would not mind a situation where only people with technological know-how use GnuPG, LUKS with dm-crypt, etc., and the rest whatever came with their smartphone. Most criminals are not particularly tech-savvy, so if that group loses access to strong encryption by default, they largely gain what they want.

Of course there is no practical way to make the use of strong encryption by individual citizens around the globe illegal, and they know this. They may however succeed in outlawing strong disk encryption available by default on store-bought devices. So when a suspect uses an Android or IPhone, and the FBI has his or her device, they want to be able to access its contents without the suspect's consent. Ideally, they also want the most popular messaging platforms (like Facebook's WhatsApp) to have a backdoor available, in order for the vendor to be able to comply with warrants for such data.
Words are not their etymologies. Mansplaining is gender neutral if it is used in a gender neutral way.

A woman who understands the meaning of mansplaining will not believe that it is only bad to be patronizing[1] if you are a man because the word "mansplaining" exists, any more than she would believe she is not a human being because the word "mankind" exists.

Conversely, a woman who is already of the opinion that men can't understand how sewing machines work isn't going to be shamed into adopting a new opinion because somebody coined the word "condesplaining".

[1] Of course, "patronize" is a gendered term if we go by its etymology.
Free!
Hardware may be hard, but strategic investing can make it smart
Thieves can't traditionally steal your stuff on a mass scale without you ever knowing about it and then cost effectively use it to economically and psychologically manipulate entire populations.

Once someone has your data, you don't know what they're doing with it and neither does the government. Which means they have to be prevented from getting it in the first place, which means encryption and laws that encourage and facilitate encryption.
I was under the impression that they use engine breaking, which does not trigger the break lights.

https://en.wikipedia.org/wiki/Engine_braking
I've used Qt many years ago (2007) and I liked the experience, but I had to move away from it because our company decided to go native on all fronts..

For internal tools/prototypes I was using JUCE for my UI needs, which is much smaller in scale that Qt, but it produced very slim executables, was fast and good enough for my needs (plus I loved the API). I still think this a great framework for small UIs and tools, especially if you're working with sound.

Then I took a two years break from C++, moving to full time Objective-C, then Swift 1 and 2, working with and actually enjoying the power of UIKit.. I've developed several UI-heavy apps for iOS and some OSX stuff.

This year I came back to C++ and coincidentally, Qt.

What a nice come back this is. I'm thoroughly enjoying Qt (I'm currently using 5.4).
The development is smooth and intuitive, I don't have to spend hours reading documentation and articles, it kind of just flows by itself (not so at all with UIKit )

After trying out many frameworks and kits, If I had to pronounce a verdict for the best cross platform UI framework - then Qt has no competition, both in terms of features and in terms of pleasure.

I hope I can say the same about 5.6, will definitely try it out.

Edit: let me know if you need a Qt dev, as my current project is closing to an end and I would love to continue using Qt . (message codershaman on reddit).
Effective prototyping and the fidelity spectrum