skysight-inc/HackerNews huggingface dataset:
No, the market is not functioning correctly. The SF housing situation is making it increasingly expensive to get workers in SF. In a functioning market this would cause businesses to set up elsewhere. This isn't happening, in part because funding is coming from a relatively small, tightly-connected group of SF-centric VCs.
The Great War is fantastic, learned so much. 10/10.
Total supply is a bigger problem than rent control. Building more would solve more problems than removing rent control.

The latter would at most get a few people to share smaller apartments - the former will free up much more space much faster with less disruption.
And once again, we find ourselves inspecting elements to fix someone's brilliant idea.
It'd be awesome if Airbnb integrated each city's regulation into its software. e.g. it ensures that you can't host more than X nights a year.

It could even extract the taxes from each host's incomes and pay them directly to each city council.

Prediction: if Airbnb doesn't do it, someone else will and councils will rule out competitors as illegal.
Some thoughts on Brexit, democracy and fairness
Wiz Khalifa;“Amber Rose Was a Cool Wife but Marriage Sucks”
This "socialized apartments" would not work easily in the U.S.

In California, the highest tax bracket is 13.3% and it's 39.6% as the highest Federal income tax bracket, for a total of:

13.3% + 39.6% = 52.9%

The top income tax bracket in California (combined) is nearly 53%.

Could California build socialized apartments to satisfy demand? I.e. are taxes high enough to provide the funds to do so?

The highest tax bracket in Singapore is 20%. (See https://www.iras.gov.sg/irashome/Individuals/Locals/Working-...)

Singapore is able to socialize apartments by taking only 20% of their citizens' money. If you think about it, their 20% top bracket:

- pays for all their roads, schools, bridges, etc.
AND
- pays for huge apartment communities

There is absolutely no way our state will ever be efficient enough to socialize housing. We're taxed at almost 3X what Singapore is and we cannot even manage paying for all our roads, schools, bridges, etc.
In Germany, private rent contracts (i.e. the renter is not a business) can be raised max. 20% over three years, and the new rent may not be over the average rent in the area ("Mietspiegel").

400% rent hikes is insane.
Trust me, I never did it :) I agree with your statement, but I also think there should be either police (guardia urbana?) taking care of drunk tourists, or just close hotels and don't invite tourists. Otherwise it looks like one part of citizens is happy to take tourists money, and other just hate them - not fair to tourists.

And I need to mention I've never seen disrespectful or hateful locals in Barcelona - almost every local citizen I met was kind and polite, even if our talk was possible only with Google Translate.
Barclays in the UK does 2fa if you order it, otherwise this strange bit with just parts of the password.

They also have the most complicated 2fa I've seen. You get a pocket-calculator-like device where you need to insert your card (chip and pin type), then you enter your personal code, and then you do a challenge-response thing where you enter a code generated from the website into the device, and it responds with a number you have to type into the website.

They also have this anti-paste function that was triggered by me typing too fast.
If this is true, it's quite counter-productive. It's in EU interest to send as much people as possible on Erasmus and be pro-EU. Banning will backfire on the long run. I hope some kind of solution for UK students can be forged. Majority of young ppl in UK voted remain, is would be terrible to punish them.
That's not why we do conservation. We do it because we don't want the bears and other species to become extinct. In ongoing cases of people vs large mammals, the people always win. This kind of thing can't be a long term problem. Eventually the bears will die back to a sustainable population living away from people.
It's not the IRS to worry about, but a department within the treasury called the "Financial Crimes Enforcement Network." So the concern is very much still valid.
Sites already do, but that doesn't stop users from copy-and-pasting from password generators or typing the password elsewhere and copy-and-pasting that twice.
Ask HN: Proper way to disclose network security problems?
While digging around with Shodan I came across some very poorly configured security cameras installed in a local franchise of a large company. Incidentally this page also makes their WPA2 key available in plaintext. As a hobbyist in this field with no real credentials, what would be the best way to bring these problems to their attention? Having read a couple of "shoot the messenger" scenarios from legitimate security researchers, I thought it best to consider a handful of options first.

Thanks very much for any input you may have.
A person who is running a business focused on this kind of privacy should have counsel for their company set up and ready to go. The fact that they didn't was another sign that the company was unprepared for the business that they were handling.

I'd expect someone running this sort of business to have an attorney on retainer who has advised the company of its rights and responsibilities, and who is ready to provide at least emergency counsel if not trial counsel.
Hmm, I'd assumed it was known by the card's first few numbers, or similar, but you're correct.

I've had chip cards since 2004, and their use here is universal. To swipe without raising suspicion requires an American accent. It's no problem in McDonald's, but any expensive purchase will either be denied by the clerk, require the manager's approval, or a phone call to the card processor. Criminals simply don't do it any more -- it's far easier to send stolen numbers to the USA, or make purchases online.
Thank you for bringing a dose of accuracy to this discussion.
The more I learn C++, the more I can't stand it. Its ever-increasing complexity keeps being a distraction from the actual problem you're trying to solve.
Phishing is a much bigger security threat, but is a much less harmful one than having the password database stolen. It sounds like they are trying to minimize the day-to-day risks, at the expense of maximize the damage of a catastrophic event.
You can find this here:
http://europa.eu/about-eu/institutions-bodies/index_en.htm
http://www.learneurope.eu/index.php?cID=317

By the way, this is a moot point, since the UK was not a member of Schengen, European council on human rights, Eurozone. However, UK will want to stay in the EEA, meaning it will have to comply with basically all the things the Brexit people wanted to avoid - like regulations, the free movement of Europeans & membership fees - but with significantly worse terms, and losing the ability to vote. This is a real head scratcher IMHO.
I wonder how someone like this can call themself an activist, when it is obvious that they have not even thought about it once. If you are truely a terrorist, it takes you a few hours to implement a one-time-pad solution that will be unbreakable (and you cannot prevent that, there is not much knowledge needed for that). Only thing needed is a source of randomness but since we are talking about messaging, we do not even need more than a megabyte of it.

But well, I am from europe, looking forward to you kicking out your security industry and outsourcing it to us. Thanks for that.
So the argument is that since Airbnb makes travel cheaper, it is ruining the cities?

Suggesting that hotels were keeping the prices artificially high to limit tourists and hence conserve the cities?

Try harder next time.
As I said: All the folks criticizing AirBnB want to do is make sure they aren't the ones who face the problem.

Tourists are people too, and need a place to live. The folks in Barcelona just want to make sure it's the tourists, rather than them, who suffer from the housing shortage.
Hopefully there is nothing important in the clipbkard, like some data that the user will attempt to submit a second time after logging in. It sounded like a good idea at first, but now I want my +1 back :p
This is so utterly disgusting.

The US should look at Germany, once again: we do have private companies managing medical services - usually awarded in 3-5 year contracts, and e.g. in case of Munich, there are multiple companies in addition to the various NGOs (Malteser, Red Cross, Johanniter). All of them have to provide a standardized set of equipment and education for the personnel.

Oh, and there's a law that mandates that on long-term average, every caller has to be served in 10 minutes from call. This is called "Hilfsfrist" and is mandatory for firefighters, ambulances and cops.

911 responders are always in government hands, though.
> This is why we have Slack instead of IRC

We have slack instead of IRC, because IRC sucks.

Consider in order to have offline history I'm logged in permanently via. tmux session on a server which I connect to with Mosh. Weechat is a barely okay client (totally not suitable for non-technical users and Mosh still has significant delay).

What do you expect the non-engineering part of the company to do?
> Tampering with evidence of a crime is a crime in most places

This would absolutely not qualify as evidence tampering in most jurisdictions.
Why is anything else an option then?
I guess you are giving UKIP too much credit here.

We have the same here with no UKIP. Politicians have tried twice to get Norwegians into EU using dubious arguments and people mobilized broadly twice to avoid it.

Edit: removed "all kinds of" in font of dubious to be less hyperbolic.
Its rather obvious that criticizing the government in a more archaic society, will be viewed as "biting the hand that fed" and he will get a hard time for this. Despots remember well, too well.
What makes you think elected representatives have more expertise and time to evaluate ambulatory for every municipality in the country? In reality they don't. They rely on (unelected, rarely held accountable) bureaucrats and lobbyists to make those decisions.

As to fiction... the town is a real town. The programs are fictional. But there are actual examples of where the 'experts' are completely absent or otherwise less qualified than the average voter: bridges to nowhere; destroyers and jets built for the last war; subway tunnels that take 100 years to build; veterans hospitals that don't provide treatment; crop-specific agricultural subsidies. The list goes on and on. No president or congressman gets fired because they played favorites or funded even a multi-billion-dollar failed product. People vote on bigger issues (war, 'the economy') and identity.

I don't know why calling those perverse incentives 'republican' or 'government' should make me feel better about it.
Any change in the housing market it bad for someone. Rents going down can cause owners to lose their homes. Rents going up upsets people who want the security of living in the same place but are't willing to pay for that luxury by buying their own house.

More interesting is what the long term picture would look like if the AirBnB is left to carry on unimpeded. Whatever it is will surely be better for people in general. It might hurt some people who feel entitled and got caught by surprise, but that's how progress works. There are usually losers along with people overall being winners.
You may want to test it with http://www.verisign.com/en_US/channel-resources/domain-regis...
You're assuming that the verification is being done by the bank itself. This is under the assumption that there has already been a security breach. The password database has been stolen, and has just been sold to the highest bidder. In that case, there is no lockout.
I have a crazy idea: what if we held people responsible for their own mistakes, instead of turning the world into a padded room? You messed up your password? Reset it. You have a virus / XSS that is slurping the clipboard? It's probably logging keystrokes too, and that's not the devs problem (well, XSS is, but blocking paste isn't the solution)
Show HN: Program that reads for you: free online Summarizer
Auto Corrupt
Not just those who aren't willing to pay - many (like me) aren't able to pay yet.
Some numbers for Berlin can be found here: http://www.airbnbvsberlin.com
This! Dilbert is a documentary not a cartoon. Devs work for businessfolk. Businessfolk have the control call the shots. Sure they'll listen to devs but get the final say.
Personally, I think it is because people stopped taking cod liver oil.

Also, people nowadays seem to be afraid of fats in their diets. But your brain needs (good) fatty acids to function properly.
Enabling the use of password managers is a good thing.

A user typing the password elsewhere probably means they were able to see it while they type, and are therefore less likely to make a mistake.
I wouldn't even call it a trade-off between convenience and security, because there is no security gained. This is a trade-off between convenience and stupidity. If someone suspects that a keylogger is there, the entire computer should be assumed to be compromised. Trying to guess the capabilities of the keylogger and working around them is ludicrous.
Very possibly, but I don't know of one to recommend, sorry.

(Temporarily disabling JavaScript is sometimes an option.)
Global Food Security Index 2016: Country Rankings and Trends
For the most part I agree, with the caveat that 'any job' is perhaps too broad.

I've done loads of 'menial' jobs throughout my life and some were so soul-crushingly terrible (to me) that I'm not sure having them was better than 'sitting at home unemployed'.

I've never done landscaping, but I suspect it would not have been one of those soul-crushing jobs.
"Boohoo, I want to feel safe in my safespace and don't feel icky feelings" - modern Internet user
Tourists before AirBnB would simply not visit somewhere if the hotel price was beyond what they could afford.

Is there any justification at all that could prioritise tourists over residents for living space?
The upside of AirBnB-like approaches is flexibility. Each person doing one or more rentals (of units that they don't usually live in) has low total capex, meaning expanding to serve increased demand is very quick compared to building a hotel. But it's obvious that this increases both volatility and prices on both the rental and housing markets.

I wouldn't be surprised if this becomes a problem and affected cities introduce heavy taxation on short-term renting out dwellings which you don't usually live in and which are not planned for commercial use.

OTOH, "semi-commercial" actors renting out apartments has existed for a lot longer than AirBnB. We stayed in one of these in Rome for a week in '09, found through some website for private rentals (AirBnB went international in '11). So it's not really a new thing, just a slicker UX which may or may not increase total demand for such services.
> Visitor lets you define a new operation without changing the classes of the elements on which it operates.

Yes, but that's not the real point. You can do that in other ways. Creating a new std::algorithm does that, for example.

The real purpose is letting one function be polymorphic in multiple directions. This is called multiple dispatch. Some languages support this as a built-in feature, but C++ doesn't, so a couple different design patterns were invented to fill in this gap. The Visitor pattern is the most popular and is probably the easiest to work with.

https://en.wikipedia.org/wiki/Multiple_dispatch

That is, it lets you do this:

polymorphicOnThis->doSomething(alsoPolymorphicOnThis);

That is, for each permutation of the two types (polymorphicOnThis and alsoPolymorphicOnThis), you can define new specific behavior.
Recreation. Many people enjoy visiting a firing range.
Why do you see this as something bad? Some people are willing to pay more than others for housing, so others have to move elsewhere; this is normal market at work, why would anyone want to stop it?
Well it is trite to say it but Haskell has many examples of servers and idiomatic haskell will almost always use immutable data. Examples are web frameworks like Yesod and web servers like Warp.

I'm working on a toy stock exchange app to learn haskell and of course it will be mostly immutable. It will use some shared global state. This will have mutable reference using mvars or transactional memory but the "objects" themselves will be immutable.

Communicating between threads makes total immutability hard (maybe impossible?) unless you have a very clever threading model.
" In Barcelona tourism is about third of city's income, so protests like this are ridiculous. "

I think that the debate in Barcelona (and other cities) is a little more sophisticate of what your are implying.

There is a balance somewhere that cities have to find and this is what they are trying to do. Another consideration is that excessive tourism will kill what makes the city interesting.
Structure layout isn't the hard part, it's having the rest of the language cope with the ambiguity of everything.

// Things.h
namespace Foo { class A { C* c; }; }
namespace Bar { class B { C* c; }; }

Are A::c and B::c the same type?

// TU1.cpp
class C {};

Were you right?

// TU2.cpp
namespace Foo { class C {}; }
namespace Bar { class C {}; }

What about now?

// TU3.cpp
class C {};
namespace Foo { class C {}; }
namespace Bar { class C {}; }

This may get you shot, but is legal. What about now?

Ahh - all three are in the same program. Just pretend they #included <c.h>, <foo/c.h>, and <bar/c.h>. Having A::c's type be different in different contexts is a violation of the "One Definition Rule", for which the punishment is undefined behavior.

Although you can still recreate the above scenarios by just #including <Things.h> after <c.h> and company, but you're a bit more likely to have Things.h #include what it needs to clarify the situation. Hopefully. So maybe we can get away with it!

void foo() { D * d; }

Is that a pointer definition or invoking operator* against two globals?

void bar() { E < 42 > e; }

Now you're just fucking with me. Is that some comparison operators or a template?

void baz() { F < (42) > f; }

That didn't clarify anything. Stop it.

void he_comes() { G < (42) > g(); }

What do you mean I just declared a function? Stop it!

v̹̊̈́̇ͦ̌ͭ͂ͅo̅̉̀ͪ̚ī̵̠̘̋d̸͚̪̝̹͙͆͛̿ ͉̜̳ͪͬ́ͣ̌ẑ̸̹̹̩̩a̡̰ͣͭ̄͒ͫ̇̚l̛̹̫͓̣͖͈̐ͬg̢͕̘͙o̪͆̏ͥ͟(̖̭̟̱̰ͩ)̘̬͉̺̉̓ ̦͆́̚{ ̶̪͙̹͈ͮͧ̋ͪͤͅĜ͔̙̉͢ ̝̯ͭ̈́͘<̨͊̂͋̎ ̤͇̼̝͔͇ͯ̑̋ͫ̾͐̚(ͨͪͦ̈̈́ͥ4͍͗̆2̲̞̦̳̖͡)͖͇̟̥ͮ͘ ̺̖͙̘̳͛̐̊͊>̼͍̘̦͖̎ ̧̘̻̭͉̺g̟͓̑ͦ̌̃(̪ͬͪͤ̎̉͘ȉ̮̥͖́n̸̝̪̗̯͇̓̈́̀̔̄̍́t͓̟͍ͨͪ(̰͈̻͎̣͉̀̿̈͑)̝͚̆̃̇)̠̃;̺͎̙̰̈́̏̚͘ ̶̜͍̠̼ͬ}̡̤̰̮̳͈̌͛ͤ̈́

A function accepting a function pointer? Stooooop!
Why not let the firing range own the weapons then, and rent whatever you like for the day? Or at least, why not store them there in an approved gun locker you can rent?
Maybe it was the time you choose to be in Barcelona what was different, not the Catalan people?
HSBC doesn't do that any more for me -- they've moved to a Google Authenticator-like 2FA approach[1], but Lloyds[2] does - they have one username and password, and a "memorable phrase" which they clearly store as plaintext because ask for the xth, yth and zth character as a secondary security measure. Lloyds tech folk reading this -- please consider fixing this.

[1] http://i.imgur.com/QCGPDWz.png
[2] http://i.imgur.com/VdtGC4T.png
> every library tends to reinvent the whole stack

This is a problem with vocabulary types. C tends to do a good job of providing them. C++ tends not to, though there has been some progress in the standard lately in defining classes like unique_ptr and string_view.

C tends to fall down by providing raw memory (an int and a char) to represent fairly subtle relationships (the int represents the size of the string pointed to by the char... what happens when the int is negative?). So C libraries don't 'reinvent the whole stack', but this sort of bookkeeping logic tends to cause bugs (at least security bugs).
In Turkey there must be law which says that mobile carriers must cooperate with banks because when I enter my ID and my first password to the web page of the bank it says "oups! it appears that you have changed your SIM card, please re-validate yourself before we SMS you a 2fa password".

And in Bulgaria I saw use of client-side certificates.
Nexus Phone 2016 Release Date Details: Specs Leak for HTC Made ‘Sailfish’
People who can't afford it shouldn't expect it to just be given to them. I spent a long time not being able to afford a house and when I couldn't afford rents, I simply moved elsewhere. I never imagined blaming some nebulous group for that inconvenience. It's just part of life.
They can use Shamir's Secret Sharing to achieve this with no plaintext.

see http://willtracz.co.uk/shamir-secret-sharing-and-passwords
Trump vs. Clinton quotes - from #brexit to gun control
Sometimes we don't get the government we want, but sometimes we get the government we explicitly rejected.
Our problem is that we have produced a society where the next generation inherits the reliance on social security and the government from their parents.

This is a dangerous, deadly cycle as it produces a society where more and more people are incapable of acting independent and looking out for themselves.

And what is our answer to this? Utopian phantasies like unconditional basic income for everyone, because why can't we all just sit at home and play video games instead of doing something productive for ourselves and our society?

I'm not against social security per se, but it should only be available to those who objectively can't survive without outside help.

We've perverted this into a system where healthy, capable people can choose to not work and this doesn't hurt just them but the whole of society including businesses because they have to pay for this.

For example in Austria where I am 75% of all taxes are paid by the top 10% of incomes (with a >50% income tax), yet the other 90% still complain that we at the top are all thieves and we should give them more free stuff.
Part of Apollo 12 rocket engine returns after decades in deep space (2013)
How to get WeChat account ID by sniffing network traffic?
For security testing,

Scenario:

Mobile client -> AP ( WiFi hotspot | OpenWRT or Raspberry Pi ) -> Internet

In the middle, the AP can filter all packages. But haven't found out how wechat releases account information.

There is a GET request:

> http://dns.weixin.qq.com/cgi-bin/micromsg-bin/newgetdns?uin=929174300&clientversion=637734961&scene=0&net=1&md5=02d8691b08787fbbb9fd3ba88c887619&devicetype=android-17&lan=zh_CN&sigver

We can get 'uin' from it. It looks like to be a unique id, but not very sure. Yet we can not search the person based on the 'uin'.

People register wechat in 3 major ways.

1) Mobile phone number ( phone number with country code )

2) Same account with QQ number (only numbers)

3) Unique combination, such as 'abc123' ( letters and numbers )

Here's one map of wechat ID search assumption: http://imgur.com/Bndzhp1

We can get full control of the router now. Here we want to know how what one's WeChat ID exactly is, say, the 3 major ways.

Or is this assumption wrong?

Some ideas? Many thanks!
Ugh, so public resolvers are flooded with requests? Wouldn't it make much more sense to set up a local caching resolver like unbound and feed your queries to it? It would be much more considerate towards the public resolvers and also use less of your own bandwidth.
Some people do exclusively rent guns and never take them out of the firing range. If this is your only intended use, that's probably the best strategy. However, like others have suggested, an additional reason to own a gun is self-defense; a gun stored at the firing range is completely ineffective in this regard.