skysight-inc/HackerNews huggingface dataset:
The biggest problem I have with Apple is that they've completely lost track when it comes to their core user group.

A modern MBP still can't have more than 16GB RAM, it has 0 legacy ports, and cannot be upgraded at all.

Yes it might be a perfect laptop for hipsters who just want to show off their MBP and do the occasional Photoshop, but without developers who create programs for OS X or professional users who make their entire company buy MBPs there will be no ecosystem to lure in said hipsters... more sooner than later.
also here is a short story done by Motherboard on the founder :

https://motherboard.vice.com/en_us/article/matt-mitchell-is-...
You might want to be careful. If Uber employees can associate your identity with the fact you say things like 'the Uber system lies to you', they already have a shadowban system set up and might be motivated to punish you for your cruel, meanie opinions. Perhaps never being able to get transportation would be a suitable punishment. Who are you going to complain to, the cops? They aren't running the system ;)
Don't bet against German speaking persons.
"Fuchs" mean "fox" in German so fuchsia basically means/sounds like fox-ia in German, guessing they will be able to spell it correctly as it is to easy to miss spell.
Which non-profit?

I'd love to hear more about how Amazon Smile works from the charitable organization's side.
When we switched to laptops from desktops at work, a full build including tests took quite a bit longer and a lot more variable in time; thermal limiting appeared to be the reason for the variance.
http://www.abc.net.au/news/2017-02-25/all-timber-apartments-...

Saw this recently on this subject.
You are ignoring the $10,000-per-year fines for failing to file FBAR forms that spooked a lot of expats with small companies abroad.
You can get laptop trays that are supposed to improve heat dissipation.
Too bad you've posted from the throwaway, otherwise I'd give you an UPvote :)

Curiously, if I had to come up with stereotypical descriptions, I'd say I'd come with something similar. :)
> If you are too distracted by it, it's you who are to blame for lack of self control. Find ways around that, it's called character building you'll find it useful in life in general.

Cool. Likewise, if you are a woman distracted by guys staring at your boobs, it's you who are to blame for lack of self discipline. Find ways around that, it's called character building you'll find it useful in life in general.

Fair's fair.
> Why is respect for tradition something to be valued

You strike me as somebody young, uninformed likely never raised a child. Tradition is what ties together the past present and future of humans. Most would say tradition is a major part of quality of life and in some cases, the only thing in life and part of living life in peace. The world is built on tradition, patterns, cultural ties. It's almost like asking 'what's so wrong with complete chaos in your life?" Seriously?

What about wealth and income inequality? Income inequality is everywhere and will always be, unless you want communism, in which case you end up with disastrous conditions and likely mass murder. What is there in terms of social justice? Well considering that people there live their lives making their own choices, that they have ample opportunity by and large for education and choosing careers, what's the problem? Nothing really, unless of course a western liberal shows up and tries to invent problems like they always do in order to usurp unearned power over others.
All my friends deleted their Uber accounts. Most of the in the last 3 weeks. I think UBER now has a cancer and everyone noticed this.
Also, you get Foreign Tax Credit for income tax paid abroad, which means that even if you earn more than the Foreign Income Exclusion Threshold ($100,800 in 2015) in practice you will only pay the IRS any income tax if you live in a country where the income tax rates are lower than the US federal income tax rates, which is not common (although state income taxes sometimes make this a bit more complicated).

In practice this means that US persons living abroad typically only pay US income tax if they make decent money and the local taxes are lower than those in the US and even then they only pay the difference.

You still need to file your tax returns every year though.
Haskell, and now Clojure... what's next ? sml ? prolog ?
> most people won't be penalized

An American couple I know, ordinary people with ordinary lives and nothing special level of income, who live in Canada pay ~$5000 in legal fees every year to do their non-resident U.S. tax return and stay in compliance with U.S. law. They pay zero U.S. tax. But saying that filing the U.S. tax is merely "annoying" doesn't cut it. I would say $5000 per year can be described as being penalized.
This is true but the situation is substantially more complex than you suggest, including things like PFIC treatment of retirement plans in the foreign country (where you need to pay unrealised capital gains every year), differing treatment on capital gains of housing, Affordable Care Act penalties if you're in the US more than 30 days. Not to mention any use of the foreign tax credit means you need to calculate AMT.

Not to mention none of paperwork you need is nicely collected and presented in US Dollars for you. God forbid you live someplace like Australia that uses a July-June tax year.

I have to file my US taxes every year and the "cost" is usually $400 to $800 to hire a tax preparer who knows what they are doing and takes a fair amount of my time every year.
@nolok what is the value of this regulation? Some recent/current examples. 1) During the banking crisis after 2007 EU banks loose 100billions of euro's and the taxpayer mostly payed for their losses. 2) They get 80billon euro's for free every month (quantitative easing) from the ECB which goes down the drain, iow into their profit, not into supporting the economy. 3) Up till the Greece crisis, Greece had to pay high interest rates to the commercial bank because of the risks associated with lending to Greece, but when the shit hit the fan, the commercial banks got their loans redeemed by the IMF/ECB instead of the banks having to write them off. 4) And more recent, N26 is regulated in Germany but had very flakey security https://media.ccc.de/v/33c3-7969-shut_up_and_take_my_money. And I can go with al long list...

I couldn't agree more that Paypal can not be trusted, in my vocabulary Paypal US stole the money from the designated charities. To say that Palpay is nice and good in Europe because they regulated by Luxemburg banking authorities, IMHO is far stretched.
How to Control Your Computer Using Voice Commands
Ask HN: What are the best free resource to start a startup?
Any guide, course, tutorial, blog post, video, anything that well teach us to start a startup...?
Streaming Analytics Platform – Industry's First Multi-Engine Platform
There's already a Wikipedia article about solid state batteries. I found it interesting to read that in such batteries, ions are still allowed to move around.

https://en.m.wikipedia.org/wiki/Solid-state_battery
Docker is an extreme example. Of course things relying on Linux-only kernel features are unlikely to run natively. You'll find plenty of compiled stuff on OSX (wkhtmltopdf, freeciv, postgres, inkscape, clojure, etc., etc.).
I don't believe so, my last sentence mentions I acknowledge filing forms to a different country is annoying and an additional burden. It's certainly not the US only who penalizes people for not filing legally required tax forms on time.
Marissa Mayer is still the CEO of Yahoo?
I suppose you may not know any better. And I am not saying that to be mean, I'm merely pointing out that your frame of reference may not be the best to judge how well the desktop Slack client was done with regard to resource use. You may not understand just how few resources the desktop client could reasonably be expected to consume.

And you would not be alone. Over the past 7-8 years I'd had to teach people how to benchmark things. I see people measure things and then use their first result as the performance reference. Sure, they can see relative changes, but if you are orders of magnitude off a reasonable result, a relative reduction of a few tens of percent is still orders of magnitude off.

As a developer you should have an idea what a _reasonable_ number ought to be. For CPU, for memory, for latency, for anything you care to measure.

"It runs just fine" isn't data. It isn't a useful metric for performance.
Their freedom score doesn't really make sense (in the pdf https://s3-eu-west-1.amazonaws.com/nomadcapitalist/Nomad-Pas...).

For example, they give Malaysia 50, the highest score while giving 30 to France. Don't get me wrong, I love that country but it has rigged elections, no real freedom of press (Malaysia Kini an opposition website was censored during some of the elections by blocking their DNS), politicians from the opposition are imprisoned on spurious charges (Anwar for example) and corruption is endemic.

Japan which also has 50 is not a shining example of Press freedom, it's a country where innocent until proven guilty doesn't really hold (more than 99% conviction rate) and where police can detain someone for 3 weeks without charges being filled.

That said, I agree that France doesn't deserve the top score either due to new surveillance laws following terrorist attacks and due to the state of their prisons compared to the rest of EU but they shouldn't be ranked lower in Freedom than Japan and Malaysia.

Here's the text of how they describe how they calculate the Freedom Index they use for their ranking:

The ability of citizens to live freely is responsible for 10% of each country’s total
ranking. We believe that freedom of speech and of the press is a good thing, and
imposing laws on non-resident citizens is generally a bad idea. This index relied on
data regarding mandatory military service, government spying programs,
incarceration rate, and laws targeting non-resident citizens (such as the United
States’ Foreign Corrupt Practices Act), as well as the World Press Freedom Index
and Economic Freedom Index to determine how free citizens of each country are,
particularly non-resident citizens. Each country was assigned a score from 10 to 50
based on our proprietary blend of these factors, with 10 being the least free and 50
being the most free.
I remember HN having this problem on small mobile screens for the longest time (for block quotes in comments).
The state Yahoo is in, I don't think anyone else in there expected less.

Public information on these bonuses shocked me, to be frank. Ok, you took a hard job, but you also failed. A culture that rewards upper management - even on failures - is a recipe for failure, especially when you employ a large portion of talented and educated individuals who can very easily move somewhere else.
I always thought the quote was that the two difficult problems are cache invalidation, naming things, and off by one errors.
https://news.ycombinator.com/item?id=13654513

https://news.ycombinator.com/item?id=13386349

I still don't have my flickr account.

Here's the response from Yahoo Concierge: https://imgur.com/a/smjuL

The employees at Yahoo have been kind and helpful to me. But the bureaucracy is a rotted waste who just doesn't care.

What am I supposed to do? Why can't you just allow accepting verification documentation like FB and Blizzard does.

The engineers are great. The managers are great. But the rotten core would screw over tens of thousands of people locked out of their account so as to not make one mistake with an identity theft.

How can I be sure my account wasn't one of the ones hacked in one of their many security fiascos?

I'm just exhausted.
So Brown and the CA Democrats are off the hook for ignoring a $100M repair, because Ahnold didn't fix it? IMO that makes them both the same. Actually, it makes the current administration worse because the increase in damage happened on their watch.
Thanks for asking; I was always curious myself.
I thought this particular freedom index only related to travel, e.g whether coming and going is easy, whether you are taxed for income earned abroad and so on?
It does get more attention because liberals have been trying to crack Japan for a long time through propaganda, trying to insist that Japan NEEDs to change. Of course these liberals are racist and hate cultural and tradition and always want to create upheaval and are rightly disregarded by Japan BECAUSE it has strong tradition.
Thanks for the first hand account. I'm not from the US and was just mainly pointing out that a lot of details are clearly left out on news site articles when they try to sensationalize this stuff.

I guess at the end of the day the entire situation is very complicated and can't be summed up in a small article. I still don't think it's very accurate how they're portraying it though, nonetheless. The article doesn't mention your situation really at all, it just makes a generalization and moves on.
Show HN: Who's going where after the final judgment
Only 10 points for dual citizenship for the Netherlands? Okay, it is not allowed by law, with exceptions, but when about 10% of your population holds dual passports, you could say it isn't enforced.
Yes that does not sound right. My wife is a US citizen, we live in the UK, I prepare her US tax returns every year myself. It takes about a Saturday afternoon every year and it costs me $0. It's rather complicated, but not paying-someone-else-five-thousand-dollars-every-year-to-do-it complicated. Your friends' tax advisor is taking advantage of them.
In my experience there are a couple of reasons that lead to bad names in programs:

- it takes effort to think of a good name. And more of the linguistically creative type instead of the logical reasoning type which makes up most of the rest of programming.

- it takes domain expertise to pick a good name

- if you stare too long at the same piece of code it becomes harder to see it through the eyes of someone who has never seen that code before

- almost everybody uses in English in their programs, but many people are not native speakers

But I think making an actual effort to pick a good name already goes a long way. It forces you to think about the problem at hand and how you could communicate that to somebody else.
> But at the same time they would have a several days at least of knowing it was going to fail before it actually did because of the amount of material that would need to be removed.

That's the part where they risk being wrong and end up getting a thousand people killed. The notion of cutting that so close, such that just several days is the buffer between killing a thousand or more people and not, is a very obnoxious premise if that's what they were actually doing.
What I'm missing in the article is some sample Svelte component and the resulting JS after compilation.
Rooftop solars are good at replacing some of the use of residents - especially the wealthy ones that have houses. That doesn't cover urban areas, where people live in blocks of flats; that doesn't cover skyscrapers, which have important efficiency benefits. And most importantly, that doesn't cover industrial use of energy.

Land use for power sources is still an important metric.
From their PDF, https://s3-eu-west-1.amazonaws.com/nomadcapitalist/Nomad-Pas...

They have multiple factor in their ranking. One of them is the freedom index which is described as:

The ability of citizens to live freely is responsible for 10% of each country’s total
ranking. We believe that freedom of speech and of the press is a good thing, and
imposing laws on non-resident citizens is generally a bad idea. This index relied on
data regarding mandatory military service, government spying programs,
incarceration rate, and laws targeting non-resident citizens (such as the United
States’ Foreign Corrupt Practices Act), as well as the World Press Freedom Index
and Economic Freedom Index to determine how free citizens of each country are,
particularly non-resident citizens. Each country was assigned a score from 10 to 50
based on our proprietary blend of these factors, with 10 being the least free and 50
being the most free.
Because they are traits [1], not interfaces, and they also have some features from type classes [2].

When you create a class in an OOP language, you have do declare all interfaces it supports, and provide implementations for them (or mark the class as abstract). In Rust's case, you declare the data separately as a struct declaration, and then implement the traits you want in impl declarations. You can also implement traits for other traits, or for types from other modules, including the standard library.

Finally, compared to traditional OOP interfaces Rust's traits can require static functions in addition to instance methods and they can also implement methods with an overridable default implementation.

[1] https://en.wikipedia.org/wiki/Trait_(computer_programming)
[2] https://en.wikipedia.org/wiki/Type_class
Really though we are. Even if Uber goes out of business, taxi companies are going to get wise that customers want the Uber experience and all of a sudden they'll all have to get apps to compete.

Uber broke a status quo in the state of the transportation industry and we should all be grateful for that. They also became a champion for a certain type of activism that I think a lot of us would like to see more of.

Think carefully before you deny Uber the activist label. Using ethically shady methods to push through social agendas is precisely what activism is. Not everyone falls on the same side of the line, but you can't not call it activism. Labor strikes were considered extremely problematic to many.
https://martinfowler.com/bliki/TwoHardThings.html

There are only two hard things in Computer Science: cache invalidation and naming things.

-- Phil Karlton

But yes, there are lots of other popular variations :-)
It is an annoying burden though. My wife is American and doesn't earn anything like that amounts, but really hates this thing. You easily end up in a situation where you didn't know you were supposed to file and you get get worked up because in typical American fashion these forms are filled with dire warning and threats of harsh punishment for making mistakes.

That is what I don't like about the US. They are not very accepting towards honest mistakes. The legal system frequently disregards intent when ruling and punishment for even small infractions can be quite severe in the US.

It is not a good thing when citizens are frequently genuinely afraid of their own country.
From what I've read, it appears that Uber operates largely within a zero-sum space. I. e. they're not build around some innovative technology that improves everyone's life, but have simply ignored a few rules, allowing them to reward one class of people with $1 for every $1 they take from another class of people.

The statistic that's going around is that they're subsidising each trip at a rate of 50% – i. e. taking from the VC investor and giving it to the customer. At the same time, they're undercutting the income and benefits currently enjoyed by taxi drivers. The net effect is both the lower and upper class paying to the mostly middle-class customers. The contribution from investors isn't going to continue forever, so lets assume they somehow find the economies of scale, or market power to raise prices, to break even –although I'm somewhat sceptical because I don't know how a trip in LA gets cheaper if there are also drivers in Barcelona.

So now the customers get rides that are cheaper by anywhere from 50% to 0%, the latter if Uber manages to establish some sort of market dominance. And taxi drivers earning $40,000 are replaced by Uber drivers earning $30,000 and having no health insurance.

Is that worth it? That probably depends on your politics. There's the economic fundamentalist perspective that markets are always fair and if that means you have to work in a coal mine where the air smells funny and by the way Johnny didn't make it out today, then you should have better paid attention in school.

Personally, I think more equitable societies are more fun to life in, and kicking possibly hundreds of thousands of people a step down the economic ladder will, in the long term, hurt almost everyone – the trickle-up effect seems to have much more empirical support than the opposite
Yes. I suppose my comment kind of comes off as saying something obvious. Obviously if we had infinite energy we wouldn't have any problems.

But really what I was trying to get at was that our focus, with respect to the environment, is perhaps in the wrong place. We focus so much on reducing use. Really our focus needs to be on how we can get _more_ energy.

It's like in a business. Don't focus on the cost centers, focus on the profit centers. How can we drive _more_ business rather than making the existing business more efficient. For a growing company that's usually the best advice.

So why, as a growing species, are we optimizing our energy usage? Screw that. Let's get more energy! Let's blanket the land with solar panels so we have enough "fuck off" energy to do whatever the hell we want. In particular, enough energy to get into space and build a Dyson sphere so we can get even more energy.

Imagine if we took all the money and time invested into optimizing energy usage, and instead had spent it on solar panels?

It's all really counter to public opinion. Environmentally conscious people love their LED lights. I do too. But I also love optimizing systems, and optimizing systems is often not what's smart for a business.
My uncle works at a company that's involved in this proposed 11 story wood building in Portland: http://www.nextportland.com/2016/07/21/framework-dz1/

Their projects page lists a couple of other buildings: https://structurecraft.com/projects
If you use the desktop editions of Docker (Docker for Mac or Docker for Windows), it will handle permissions correctly when mounting.

Currently the server and cloud editions (Docker for Linux, Docker for AWS, Docker for Azure) don't solve the permission problems for performance reasons. But in production you typically don't want or need to mount source code anyway.

If you want to copy instead of mounting, just use the COPY operation in your Dockerfile. https://docs.docker.com

Whether you use Kubernetes or Swarmkit for deploying to production, that takes place later in the workflow.
Maybe I'm weird, but I think actually building things is the fun part. Naming things is the worst - every time that we have to name a product I feel like I'm in the Dilbert animated cartoon [1].

Plus it lets the talkers and the bullshitters look like they're doing something while they bikeshed over naming things, but for some reason they have to bring in the doers to spectate instead of letting them get things done.

[1] http://dilbert.wikia.com/wiki/The_Name
Yeah, and when hydropower suffers catastrophic failures, you have thousands of people killed instantly, and many more displaced from the areas affectes. Long-term, nuclear probably beats solar on lower mortality out of simply counting accidents people have when installing PVs on the roof.

People are afraid of radiation. That makes nuclear energy seem much more dangerous than it really is.

As for Fukushima, from what I read, radiation-reduced deaths and health issues will probably never be greater than the deaths and injuries caused by unnecessary evacuations of some of the areas there...
That cuts many ways. The US and the UK has also been rather quick to ditch your citizenship and drone their own citizens to death abroad. Doesn't make their citizenship very dependable. Also with an American or UK passport you are more likely a target by baddies, and should there be a hostage situation you have the problem that the US typically don't negotiate.

If being a US citizen was such an advantage, Americans wouldn't be traveling the world with Canadian flags sown onto their backpacks.
Selling Your House Before Moving Your Parent into a Nursing Home