skysight-inc/HackerNews huggingface dataset:
"It can't happen _here_.
It can't happen _here_.
I'm telling you my dear, that it can't happen _here_...

Who could imagine that they would freak out somewhere in Wisconsin?
Who could imagine that they would freak out in Michigan?
Who could imagine that they would freak out in Washington DC?
Who could imagine?..."

- Frank Zappa (mutatis mutandis)
I told my manager we could probably buy a 5TB disk and run the whole thing on his laptop for the next few years with Postgres :-)
How is adding more restrictions to using what you own a positive?

The problem isn't that units are being dedicated to AirBnB, it's that existing, everyday laws like sound restrictions aren't being enforced properly.
I think Johnson was closer to me in policy, according to those online political polls. Though, even if you disagree with Trump on nearly every issue and think he has terrible character, you're still forced to vote for Trump if you ever want a non-Democrat to have a chance at the federal level again. This video from Stefan Molyneux sums it up for me:

https://www.youtube.com/watch?v=GN_FOCF3vIQ

Though I think Trump is not just the lesser of two evils, but a great candidate for President. I'm not sure I could convince you of that in a HN comment, though.
What I learned after 100,000 miles on the road talking to Trump supporters
My understanding is that there are other options he could go with, but it is indeed alarming that the seeming "top pick" would be this guy of all people. It's a shame.
Actually, my impression is she tried to listen... she just didn't have it in her. There were many moments through the campaign where she tried to come across as organic and authentic, but even that seemed awkward and forced.

She just has almost no charisma or jovial presence, unlike Trump.
Ah, I found it: https://wiki.haskell.org/Type_witness

In my own words, a "type witness" is a Haskell idiom (maybe broader?) that allows you to perform dynamic casts.

Here's the first example from that link:

A simple witness type might be defined over the Int, Bool and Char types like so:

data Witness a where
IntWitness :: Witness Int
BoolWitness :: Witness Bool
CharWitness :: Witness Char

dynamicCast IntWitness IntWitness pa = Just pa

dynamicCast BoolWitness BoolWitness pa = Just pa

dynamicCast CharWitness CharWitness pa = Just pa

dynamicCast _ _ _ = Nothing
AI System Correctly Predicted Trump's Victory
Do you think no KKK-er voted for Hillary? I'm sure it's a small Venn diagram but I'm sure there were. Just because people will identify with a candidate does not mean the candidate represents their views. We also saw more black voters vote for Trump than voted for Romney...
I'm sorry if this is a really stupid question but if each person, just by being alive and buying things, creates 1.2 jobs, then why do we still have unemployment?

Shouldn't everyone be able to have a job, even if it's not one they want to do? Is the problem just that they lack the qualifications for the jobs?
I've had the worst experience in testing with Appium while working at Amazon. The test suite was extremely slow, unreliable, and tests are written in a language that's not native to the platform. The whole Appium testing interface is a hodgepodge UI that had a lot of broken UI interactions.

Our team members who were proponents of Appium made arguments like:

- Business people can write test cases - That never happened

- You can write cross platform tests - Yes, but we end up with all of these one of cases if iOS and Android aren't written with the exact same naming and design conventions which forced multiple testing paths anyways.

KIF is also not necessary anymore since Xcode 7+ support UI Test Case.

UI Test Case(for interaction), Unit Test Case(For Unit/Performance Tests), and Snapshot Testing[1] is way better combination. You write statically compiled Obj-C/Swift, tests run a lot faster, the build on the native xcodebuild toolchain, and your tests are maintained as a first class citizen.

[1] - https://github.com/facebook/ios-snapshot-test-case
Nice idea. If there was an online version of this, I would participate. I can't be bothered to take more time out of my day to physically go somewhere though.
Jill of the Jungle was one of those shareware games where the technology (and graphics) was not great, but the gameplay was!

It came after id software had developed smooth scrolling games (albeit only in EGA) and the scrolling in Jill just felt pretty bad. Smooth scrolling was certainly possible in 256 color VGA, and they could also have used mode X to perform fast blits (4 pixel moves). They didn't use the smooth scrolling registers, and it didn't seem like they used mode X - at least the game did not feel like it.

However, I think, keeping the scrolling implementation simple, enabled them to focus on gameplay and sound on the Sound Blaster -- a relatively cool and unique thing at the time! Thus a classic example of not getting distracted by the tech side of things, but focusing on user experience.

I dazzled quite a bit with side scrollers then, and it took me a long time to uncover the possible ways to use the VGA hardware on the 286 and 386 for scrolling -- It was really hard to find information about the VGA hardware registers around 1990/1. By the time I had it nailed, the 486DX was already common and fast enough that everything could be done trivially on the CPU. Thus everything I had struggled to learn about smooth scrolling on the VGA hardware became obsolete. That was how I learned, not to spend too much time trying to optimize (prematurely) for current hardware!
Twitter not sending verification SMS code?
I am trying to get log into twitter via app and website but after entering username/password it stop me at SMS code which they never send me.
Some *nix distros use open source drivers for graphics some use proprietary drivers. Most distros give you the option to choose.

From what I gather apart from performance differences between drivers users may opt for one or the other (proprietary or not) depending on the licensing outcomes they seek for their project.

Blender is pretty popular for 3d work, not sure what other software tools are used.
One port is "a bit on the low side".....
Right. I don't think Americans are upset because he's President so much as we're upset because we found out 60 million citizens of our country are people who in general would vote for an absolutely disgusting person who campaigned on transparent, trivially disproven lies and racist demagoguery.
Let me introduce you to a man named Rob Ford.
I am literally writing a book about this. And boy am I read up on the hype. http://davidgerard.co.uk/bitcoin/

Everything in this article is content-free BS.

"80% of banks are working on blockchain projects" - this means they've told someone to "investigate", which doesn't in any way mean a product is in the offing.

And so on with all the other claimed examples.

The product here is the Hyperledger initiative, run by IBM. The “IBM Blockchain – What is Blockchain?” page is a good example of content-free Blockchain hype:

http://www.ibm.com/blockchain/what_is_blockchain.html

Almost every “is” on that page is a “might” or “could” – no blockchain does all the things it describes in present-day terms, and particularly not any of the code dumps at Hyperledger.org.

Hyperledger.org is a corporate open source Potemkin village of the sort IBM has long favoured: the illusion of an open project, with no “there” there. I spent half an hour dredging the site and could not find one clear statement of what this software is actually intended to do, let alone differences from and similarities to existing blockchains. Even Bitcoin blog CoinDesk noted: “Among the doubts facing Hyperledger is a perceived lack of clarity on what might be ultimately produced by the initiative.”

If you click long enough, you'll find a page where the participating companies have dumped their unfinished blockchain experiments. The main code contributor is Digital Asset Holdings, who dumped Hyperledger Fabric there; their joining announcement (on their own site, not hyperledger.org) gives as technical details only that Hyperledger is an append-only ledger and has an actual Bitcoin-style blockchain in it.

(This makes it more "blockchain" than others. e.g., R3 Corda is a "Blockchain Product" that doesn't include a blockchain in its default configuration. The key factor to "Business Blockchain" is that any examples that work, aren't actually a blockchain. You get Merkle trees just shoving your transactions into a git repo.)

As Hyperledger found out, all manner of businesses – financial institutions, beef industry, shoe brands, confectioners – don’t want to share data even with all participants in their blockchain, but only with the people the specific deal is actually with, funnily enough:

https://lists.hyperledger.org/pipermail/hyperledger-requirem...

https://lists.hyperledger.org/pipermail/hyperledger-technica...

This was apparently news to them. It turns out that IBM set up an elaborate hammer design consortium without first finding out if there are nails.
Concurrency bugs in Cassandra, HBase, Hadoop MapReduce, and ZooKeeper
Denmark is one of the NATO countries who don't contribute the required 2% of their GDP to their defense budget.

So, we're effectively pulling your weight in that.
When I try to take a really broad view of it, I reason that people demand a place to sleep every night and so there's really no reason to think that airbnb and long-term housing are natural enemies. There's a limit to demand for bedrooms.

Apparently, there are shortages of both long-term housing and temporary places to stay. Partitioning the physical buildings into one or the other class does not help match supply to demand. Of course it can help move the shortage's effect between the two kinds of use, but that's only an issue to the extent that there are shortages for both kinds of use. Really we should fix the shortages, not just try to change the identity of the people who lose out.

When we look at AirBnB specifically, there are anecdotes about its negative effect on housing supply. I have also seen some quantitative/statistical evidence about it, and that shows that it has negligible effect on housing availability. AirBnB is just far too small to have a noticeable impact on housing supply in San Francisco (and the same goes for the handful of other cities whose stats I've seen). So even if you don't buy the theoretical argument about the effect of fragmenting resources on efficient allocation, from a practical point of view it quickly becomes obvious that AirBnB bans are not worthy of serious consideration as a solution to housing shortages.

So the most persuasive motivation for AirBnB bans are the arguments about noise, building security, and so forth. I don't personally find these arguments persuasive either but at least they are debatable.
I try to help whenever I can... http://www.laphroaig.com/default.aspx?ReturnURL=/friends/reg...
This comment started off well and went off the rails pretty quickly. My main point is that whoever wins regardless of your party affiliation, there's a real person in charge and we aren't subject to the will of the majority.
It's also a good chance to introduce your kids to the concept of a hostel and what's involved, so when they're older they will already be comfortable with heading out into the world.
So WebGL is disabled in chrome and I used Safari but Safari doesn't support arrow functions. rage quit

I really think this is cool. I wish I could see it. Do I need to enable WebGL in Chrome manually?
Sure you could pick it right back up, but you'll have to go through the learning curve again to pick up whatever the technology of the day is. That is more what I meant, knowledge becoming outdated, rather than forgetting how to code.
Unfortunately, this attitude of "my way or the highway" seems to apply to more and more things these days... election results, marriages, employment situations,... Let's adult-up, and learn to work through problems rather than running away, starting with working to hold our new legally-elected - but odious - president elect accountable.
> I have found many cases where my python code would have been simpler and easier if I could use arbitrary objects as keys

You can use pretty much anything as a dictionary key
I know this is hard, so thank you.
Great idea! We really have to work on not demonizing the 'other side'. I spent some time during the primaries trying to read through subreddits of supporters for the opposite candidate, trying to understand where they were coming from. That didn't work very well.

Learning to disagree constructively is a really important skill that we don't often get a chance to work on.
My girlfriend found a job in Sydney when we were living in the US through Hired
I wasn't referring to price efficiency, but the general efficiency of the system's use of resources. And I agree that given the house, you are improving that efficiency by adding the solar panel. The point was, the system had to significantly distort the resource scarcity signals to make it look appealing to build the house to begin with, and adding some solar energy doesn't change that calculus.
there is 4chan for that.
It's the "chipset" drivers, yes; but in the modern world all that hardware is on-chip and not meaningfully separable from the SoC. So sure, x86 code will run fine on the chip in any OS (e.g. Linux in virtualization under Windows 10). But you still can't boot Linux on it without drivers for the hardware.

In this case it's the SATA storage controller, which is configured by the BIOS in a mode that isn't compliant with the AHCI spec.
>I think the price/performance ratio is mainly the grating point

Really? Apply products are pretty consistently "overpriced" if judged by this metric. It doesn't seem all that different to me in this case.
This raises the question: what will blockchain mean for web?
This is interesting, considering I'm running stock ubuntu 16.04 on a lenovo yoga 900. Didn't have to do any magic at install. I was under the impression that newer kernels already supported The Thing That Is The Problem. It's either that or my laptop is magic...
postgres and a fair amount of RAM on a dedicated box plus some scripts to pull the data in. You will also find you can probably shrink the data set - dates can be converted from string to native representations, if certain large strings are repeated you can spin them off into their own table, etc.

Solr or elasticsearch may be other options that can work with few instances and moderate horsepower.
Actually it's called, "Not understanding the first thing about physics."
National Popular Vote Initiative
I think that's the thing, there's a bunch of us that have already been getting less happy with Mac OS updates over the years, so MBP was a crystallisation point of that. My next Laptop wont be a Mac in all likelihood, but the MBP changes have little to do with that.
> becomes an armed agent hitting you with a stick and jail time if you wait long enough

At which point you've broken a separate law, and have been held in contempt of court. Ditto the copyright infringement example.

If you break the law, and then willfully break the law again, you can't expect to be treated with leniency.
> Building housing lowers house prices in the future

That's not strictly true -- if market participants pay attention to planned new starts, then the effect of additional supply should be seen immediately in today's prices.
The human need for validation.

http://www.pcworld.com/article/3139812/laptop-computers/afte...
But that's not how people actually pay for care... Insurance cost, copays, and deductibles are all set based on household income. In Medicaid Expansion states, if you make less than FPL and you pay literally nothing - it's the best insurance money can't buy. As you make more the subsidies taper off and you pay more in premiums and more in OOP costs. The cost is absolutely socialized through progressive taxation.

On the supply side, the price of care is set roughly in the market's ability to compete, but the price is absolutely back stopped by government policies like patents and Medicare reimbursement rates.

Take an inside look at how these firms bring new treatments to market and you know it's intensely competitive. The level of investment is commensurate to the potential payoff.
It might honestly come down to whether he wants to be elected to a second term. If he does he'll have to keep riding this populist wave somehow, and it'll either be through actual policy changes or somehow continuing to bullshit them with rhetoric.

But if he doesn't care about getting a second term then all bets are off.
We were originally talking about a dictionary key, and the purpose of an object as key in a dictionary is AFAICS to associate a value with that concrete object. Whenever I use those structures I have to solve an engineering problem, not a math problem. I would claim that's the majority of use cases, a claim that seems to be supported by how it is commonly implemented (see Java below and Javascript for two of the most common languages).

Anyway, it's configurable for example in Java (http://stackoverflow.com/questions/9440380/using-an-instance...) - default is to use the reference but you can override object methods to change that. Similarly for C#(http://stackoverflow.com/questions/634826/using-an-object-as... or http://stackoverflow.com/questions/8952003/how-does-hashset-...).
You're being glib with the term 'immigrant'. He was an upper middle class professional who moved to the west in order to obtain health treatment for his kid that was unavailable in iraq.

https://www.google.com/amp/s/amp.ft.com/content/99680a04-92a...

That's very different from the people that (some in) the west are afraid of having come over.
> Norway was one of the poorest countries in Europe

Norwegian GNP per capita was among the top in Europe from the early 20th century and on.

The wealth was unevenly distributed, wages were low and there was poverty, but the country wasn't poor.
You should look at the Progressive Coders Network. They are a group of coders, designers, and writers who are building open source tech for political organizing and grassroots change.

www.progcode.co
I had heard Spotify uses P2P quite a bit.

People on this forum are reporting that its eating up 50GB's on idle. Could it be possible they are using idle clients to help stream content to other users?
I would call that a lame try to troll.
One of the best explanations of why Business Blockchain is not like Bitcoin or its assorted altcoins is actually this post from the R3 Consortium:

https://r3cev.com/blog/2016/4/4/introducing-r3-corda-a-distr...

Their Corda Distributed Ledger Designed for Financial Services seems the most sensible of all the Business Blockchain approaches: after careful consideration of the fact that the Bitcoin-style blockchain was expressly designed to be the direct opposite of what large paying customers with money want, their “Blockchain Product” does not, in its default configuration ... contain a blockchain.

PREDICTION: Merkle trees are great, and business is about to discover how to use them as a tamper-evident ledger. That's what will be left of this in a year or so. Possibly branded "Blockchain".
Peter Thiel’s Plan to Become CEO of America
there is a very strong argument to be made that the US's complete domination of the iraqi's in 1991 directly led to the fall of the soviet union because it showed how strong the US had become since the end of the vietnam war and made it very clear to the russian people that the US would win any non-nuclear confrontation with them.

Iraq was considered a top-tier military force at the time and we went through them like a knife through butter. This is especially important because just 2 years earlier the soviets had finished their withdrawal from afghanistan after suffering a humiliating and demoralizing defeat.
Cameras that integrate well with phones already exist. I have a Sony camera that can:

* Wirelessly transfer images to my phone using wifi-direct.

* Do so with a tap, as it has an embedded NFC tag.

* Be remotely controlled by my phone, including a laggy but usable viewfinder display on my phone screen. This mode also automatically transfers pictures taken to the phone.

Partially reposted from: https://news.ycombinator.com/item?id=12756662
We've certainly lost some of these things, but we're about to lose all the rest.
Support might be a reasonable reason, yes.

But crapware can not pay that much. The crapware creators themselves get less revenue than licensing costs, and they can kick back just a fraction of that revenue. (That is, unless they have another business model that isn't selling licenses or spying on users.)
> Somehow, our companies have become experts at enabling remote working 12 time zones away

Debatable. Most companies don't really have that many individual remote workers. Yes, they may have geographically distinct offices, but that's different.
I can only speak for myself having lived in Copenhagen/Boston/NYC; cost of living is lower in Copenhagen, but so are salaries, expect a huge cut in pay as well as on your ability to live a comfortable life on a tech salary.

In NYC I can do a normal sit down lunch at $40 multiple times a week, without really batting an eye - whereas that would be painful in Denmark - on the plus side you usually have catered lunch which quality, choice and taste wise is not nearly as good, but significantly cheaper and with it being better for team work within the company.

For health care you should expect longer lines and significant delays in case you have a non-urgent issue; whereas that in NYC is something you can handle easily by setting up an appointment on Zocdoc so that you can see a specialist the next day - with it being covered by your health insurance.

On a NYC tech salary I tend to buy gadgets / items as often as I want, if the cost is below maybe $200, in Denmark that threshold is more like $60.

Vacation policies are generally substantially better in Denmark; and workload also being significantly lower.

Pros and cons
Can mobile even be first-class with blockchain like it is with cloud?
Where do you draw the line?
Do you think all zoning laws are pointless nanny-stating?

Should someone be allowed to turn their home into a restaurant? A gas station? A concert venue? Should someone be allowed to turn a vacant residential lot into a landfill?

When you buy a home, some of the due diligence you do is to review local zoning. For example, the value of the home might be partially due to it being on a quiet street with ample parking. If your neighbor turns their home into a 24-hour pharmacy, that decision has a huge impact on you.

Zoning laws seem a reasonable way to balance long-term stability and predictability with the free market. If someone prefers the energy and convenience of a mixed commercial/residential zone, cool. If someone else prefers the peace and community of a residential-only neighborhood, that should be an option too.

Operating a B&B out of your private home is not the same as opening a gas station, but it is a commercial enterprise with some of the negative effects.
Sarcasm is the mark of an immature child.

Improve yourself.
> Immigration isn't a fake issue. Take a walk around Miami or San Diego. Or New York. Or London. Or Paris. Or Malmö.

I'm the son of Cuban immigrants, born in Miami, living in New York, and have walked Paris many times.

I don't understand your claim. Are you suggesting immigration is an issue because these places are diverse? Or have you somehow tapped into swaths of illegal immigrants in these areas that I've never seen or heard of?
High Fidelity Launches Social Virtual Reality Worlds on Steam
> he has armed protection

Which is drastically different from an armed agent coming to get you. I know of COOs of corporations who have armed bodyguards - does that make them a direct threat to you?

> if you ignore the commandment of the judge

If you ignore a judge, then you're breaking a separate law, and being held in contempt of court. At which point, you're playing in a whole separate ballgame than if you were caught speeding.