skysight-inc/HackerNews huggingface dataset:
> Tim Cook has fiduciary duty to his shareholders ...

That rationalization is used for a lot of damaging behavior; the duty to shareholders is not the only duty, and does not take priority over all the others. He also has responsibilities, for example, to employees and to his community, and for Apple the community is everywhere they sell products.

Supporting the oppression of others in order to make money is wrong; it's evil. His job as CEO is to navigate difficult issues like this one; the easy questions can be left to the junior managers.
Not for most...but there are us weirdos who actually like the cold and dark :)
Want to use other sql languages (like oracle) to access MYSQL? You may need this : www.github.com/oun111/zas
>in the west news agencies implicitly censor news through selective reporting and giving greater weight to stories that support the narrative they want to push.

Except in the west there are countless alternative news sources that freely present other views. But I bet you already knew that.
It was all point to point except about 5 locations which needed repeaters (there are considered 25 major communities, all with point to point and some with 3g service even now)

I can't recall the speed, but the connectivity and power were suspect.
We had to design our solution expecting it to be down and trickle the data into the central server.

It was a project for the Nunavut govt.
We ended up subcontracting mundane tasks and tasks to initial setup prepping each site, cause it was such a hassle to travel.

There are a number of local IT services companies in the limited region surprisingly(especially now), which actually worked out as the govt offered "rebates" to reduce cost and hire locals
Perfect! This is exactly what America “needs”
Next few decades would be interesting. China definitely had the upper hand in industrialisation with little to no opposition to its policies and infrastructure infrastructure projects. It still has it. But, it seems they have firm belief in tightening their rein. India, on the other hand, while at least a decade behind, is a less restrictive system by design. If it takes few steps right, India could be a less frightening alternative for future investments.
You're right that IEX claims that. However, unfortunately, they are actually worse than the other exchanges in reality: for example: http://tabbforum.com/opinions/iex-trading-and-sip-games?prin...
AI-First Companies
How many of us are reading this article while "at work"?
Just me? I don't think so.
I open HackerNews four or five times a day and I read some of the articles.
Right now I am in a company where I have to work at least 43 hours a week. Needless to say that I don't feel rested as I used to and my productivity is way lower compared to the past and I get distracted longer and more often than before.
At a very high level, yes. But the same could be said for anybody in the AI-AV space.

At a more technical level, the approach we take in this paper (and most of my research) is fairly orthogonal to what most AV vendors are doing. Even compared to the AI based solutions.

The idea here was to throw away everything we know about the file being a valid Windows PE binary, and try and let the network learn what it needs on its own. Its making the problem harder, but allows us to re-purpose the same code for PDFs, Word Docs, RTF - basically any file format we can get data for. This gives us a lot of potential flexibility that others don't have.
I wonder how far they went with prolog. I remember examples in books talking about solving a problem and outputing a plan. But it wasn't a program, not in the sense of nested/modular systems, more like a linear walk.

That said, webyrd has shown kanren embedded lambda calc (evalo relation) to find which program would be reduced to some value..
How we saved money by replacing Mixpanel with BigQuery and K8S
When my son was born I had 3 girls. For the first 6 months I didn't care to buy boys toys since he wouldn't know the difference I thought.

Wrong. At six months he picked out the single car in between the dolls, toy food etc, turned it around, started moving the wheels and making noises.
I've spent the better part of my last few months in China, Beijing and Shanghai specifically. China just speed-ran the industrial revolution at 10x the size of the US and is about to surpass us in the next era of energy, renewable energy.

Beijing pollution is still bad. But it's 1/2 of where it was at 4 years ago, and will likely be non-existent in the next 10 years.
> Google was allowed to operate in China, and it decided it did NOT want to follow the law and quit.

Well google did not want to follow local law not because of their moral stand but because their business relies on gathering information about their customers, and thats different from Apple who mostly justs want to sell things to people.
hello! i had the honor of working with them from 2014-2016. top guys like Lennart Augustsson (sp?) and Neil Mitchell. Happy to answer any questions.
From the blog's about page:

"I have no use for the Lost Cause. I grew up with it; I learned early on that Grant was a drunk, and Sherman was a monster. The pervasiveness of slavery, which tainted all, was rarely discussed. [...] I don’t think my late-20th-century family actually bought into this foolishness much, but felt obligated to pass it along, as it had been to them. But in my family, at least, it ends with me."

So thus, the Lost Cause odor you smell may just be proximity to the subject matter, not anything in the blog itself.
"but good luck trying to effect any kind of change"

One US president has already been kicked out of office due to jounalists, and we may see it happen again in the near future. What do you think would happen to those journalists in China, and how effective do you think they would be?
hello! i worked there for 2 years. yes it is a fork called Mu, no it is not not lazy. The Mu Core team are devout Haskellers so don't be too quick to dismiss them as abandoning Haskell's core values.
Its very interesting to me, as a person who grew up with very anti-communist parents, to see that most citizens of the city still live in Soviet Era apartment buildings. If the country/city could build an entire fucking city under Soviets, what's preventing more modern city blocks from being built in these times? Or is it just that the population is not expanding enough?
The caps were to emphasize my point it wasn't meant to advance my argument

Yes I don't think that bowing to blatant censorship is a good option. He is enabling the suppression of free speech to make sure his stock doesn't drop. There are some cases where trading with China would be fine but selling products to wall off free speech is not one of them
There's a bit of cyclic thing going on here. Wars are emotive and are effective tools to manipulate people's opinions. Politicians often keep old conflicts (real or imaginary) alive to consolidate their support base. So while they are in themselves "raw wounds" for many people, they do have a lot of help in staying that way from people in who's advantage this is.
It's finals season in college so of course I just wrote an essay about this whole thing. I have 3 points to make;

1. I think people need to think of this in the historical context. China has always been closed to the West. The only time they really "opened up" it was because they were forced to after the opium wars, and they lost much of their sovereignty to European spheres of influence that ultimately wrecked them economically. Being closed has historically worked for them and not being so hasn't, so is it such a surprise they want to remain closed?

2. Economically it makes tonnes of sense to do this, and to be honest, I believe that's the main reason they're doing it (more so than to stop criticism's of the party or try to hide stuff). They're beating the West at their own game. Their country has so many people they don't need international markets; China has more people than Europe and North America combined!

France, for example, will likely never get it's own Facebook, Uber or Amazon because Facebook, Uber and Amazon are free to operate there, and as long as these big players hang around (which they will, indefinitely) there will be little space for a competing product to develop. This means France,

- Will have tech startups, but never with "Silicon Valley" level size or growth.

- These services in France will be highly dependant on USA policy

- Most importantly, there will be less incentive for certain types of engineering to grow in France. Like, will France ever have a hub for self-driving car research if there's no French Uber/Lyft/etc? Will it ever have as many self-driving car specialists? If there are engineers interested in this, they will most likely come to the US and work here.

China is protecting itself from brain/idea/high-skilled-job-drain by ensuring local alternatives grow within its borders. It wants to be a tech hub, and this is really the best if not only way to do it when it comes to software tech.

3. Stability. We might call it censorship and control, and we might be right, but especially after the Russian involvement in the USA's latest presidential elections and how easy it was for them to reach their audience online [1], do they not have reason to be paranoid? It's in the interest of Russia to have Trump as president, and, tbh, to split the American people and have in-fighting. And apparently it's not hard for them to make this happen in this connected world. Propaganda can come from both within, and outside.

I'm not trying to say that this is the best approach or that everyone should do this, but there's definitely more to it than "China is evil and wants to brainwash people isolating them from the outside world". Information can definitely get in and out of China; I think the historical, economic and defensive reasons make more sense in explaining China's approach. They're just being protectionist.

[1]: https://www.theguardian.com/technology/2017/oct/30/facebook-...
i believe Lumi (YC company) uses Haskell for its backend https://news.ycombinator.com/item?id=12732592
I don't think routing society's capital in a productive direction is seen as a necessary criterion for allowing two parties to make a trade between themselves.
> Since no exchanges or web wallets support z-addrs, users are forced to operate mainly through t-addrs if they want to use their coins.

This lines puts the whole thing in perspective.

The other privacy oriented coin - Monero didn't have a web or GUI based wallet for a long time.

This whole privacy aspect provides an interesting problem - most of the exchange volumes are off chain to allow faster movement. So you send coins to the exchange, it gets added to the larger pool ie cold/hot wallet, you trade and if you cash out exchange deducts money and then you see your coins on the wallet.

Now the only way you are sure that exchange has the coins is by looking at the cold/hot wallet address. If not, the coins can simply be "numbers" on an exchange.

Privacy focused coins means there is no provable way to see if the exchanges have the coins.

Sure, exchanges can engage in some form of "auditing" but for that access to the whole system is required.
Against Overgendering Harassment
Conveyor belts are slow. They realized long ago that you can't accelerate a standing human too fast and that stepping on to a conveyor belt takes you to max speed nearly instantly. Any faster and people need a running start to jump on.
Polluted air, polluted water, polluted food, hidden poverty, blah, blah, ... and yet China's life expectancy is only 3 year shorter than America's (76 vs 79), and China's population is 4 times as bigger as America's. I will have to say, good job Chinese government!
12 awesome flexbox grid
It's amazing it took so long to arrive in the USA.

Less amazing is how long it took to take off once it did arrive: cost model. Calling a mobile was quite expensive in Europe, so SMS was a big money saver. While in the US calling a mobile costs the same as calling any other number (you pay, or perhaps "paid" these days, for the privilege of having your phone number on a limited-capacity radio device rather than connected to a pair of wires).

On the cost front, this isn't a flame about Europe-vs-US. But until the iPhone utterly reconfigured the mobile market, the US was a mobile backwater. I really think the cost structure and lack of competition was the reason.
Unfortunately in free market capitalist system duty to shareholders takes priority over anything else. As long as you are not breaking the law (but even that can be solved by lobbying government to add loopholes to legislature), shareholders will be happy with anything you do which makes them more money.

Do you suggest Apple leave Chinese market? I'm not sure Tim Cook could get away with that even if he wanted to. Board would replace him with CEO more aligned with profit oriented shareholders imho. Tim Cook is not Steve Jobs, he is certainly be replaceable.
Ask HN: New laptop buying and configuration tips? (for Multi-OS, security, etc.)
I'm replacing my primary day-to-day laptop and am wondering if there's a consensus about the best setup strategies.

Traditionally, with my initial unboxingings, I'd split up the bard drive and install the most compatible Linux distro for dual-boot use, but it sounds like the cool kids are using VM configurations instead. I'm well-versed in dual-boot setups clear back to early versions of Red Hat and SuSE (more recently, K/ubuntu) but am unfamiliar with VM products and configurations.

For example, do VM users run VM under Windows or under Linux? If the latter, what distros? Any compatibility issues to watch for in advance? Friendliness to encryption? etc.

Here are some past HN threads and submitted resources I HAVE found thus far:

https://nickjanetakis.com/blog/create-an-awesome-linux-development-environment-in-windows-with-vmware

https://medium.com/@valeryan/experimenting-with-windows-subsystem-for-linux-and-web-development-85180b90382f Windows Subsystem for Linux and Web Development (Laravel)

http://www.productchart.com/ (useful tool but limited population of makes/models)

https://news.ycombinator.com/item?id=13555310 Linux performance tips for laptops

https://news.ycombinator.com/item?id=13088755 developing on a Linux VM on Windows

Thanks for any tips.
I wonder if this might be a lot more recent than we think. The biggest famines probably were created by failed Maoist experiments.
Besides two chicks at the same time?
Let China make their own iPhones if they want them locked down. Complying with censorship isn't projecting 'soft power', pulling out of China and letting people buy them as grey imports as a fashion statement would be soft power

Complying with the local laws is basically just greed when the laws are so far against your own core values
so, facts are hurting you, right?
KubeApps: The Easiest Way to Deploy Applications in Your Kubernetes Cluster
Yeah, I'm with you on this one. Most westerners' impressions of China are 10 years behind. There's always been a ton of, "Just wait until the sky falls China won't be prepared" doom saying but as a controlled economy they've become the largest producer of green energy in the world, and are racing to produce the first general A.I.
In addition to what SEJeff said, as long as you design your IP addressing correctly you'll be fine. By that, I mean hierarchically. Just divide up whatever IP network you're using (e.g. 10/8) and make sure you allocate "enough" to each rack/whatever.

Assuming everything is nice and hierarchical, you can easily aggregate an entire rack to a single prefix. Even the shitty ToR switches can usually handle a couple thousand prefixes, which should be plenty if done correctly.

Obviously you shouldn't be advertising /32s.

> The entire v4 internet is something like 600k prefixes right now ...

Just checked my edge routers and it looks like we're up to ~671k prefixes here and that number is still increasing everyday.
> When you don't understand the structure of the underlying database that Git uses

For me this is totally exactly true for Mercurial. I find git's underlying model way easier to understand. Mercurial with its 3 different branching representations (branches, bookmarks, patch queues..) and "state tracking" is really quite a bit more complicated and I do not find it is easier to internalize; quite the opposite, as a git user I have found it extremely difficult to contribute to hg-based projects for this reason. For me, git is just a tree and pointers to nodes on that tree. I find it hard to see how it is difficult to understand.
Ultimate White Gorilla Rampage
Ultimate White Gorilla Rampage is the most rampage game you could have ever seen till now and enjoy this action simulator. The most realistic jungle environment along with the most amazing and stunning jungle survival game of the day. You play as angry white Gorilla and fight with different animals of the jungle. Beware from sniper hunter who is wandering in search of angry white gorilla. The ultimate Angry Gorilla rampage game is here to play this thrilling mission.
Related, Chuck Moore’s 2013 strangeloop talk on greenarrays: https://www.infoq.com/presentations/power-144-chip
Doesn't a good portion of London (where this is built) already have whole blocks of low rise terraced housing? The only difference seems to be more holes in the wall and less doors.
> He has to comply to local laws, even though it interferes with his own point of view because lots of money is at stake. He can't say it in this conference

Isn’t it the same reason why most of the corrupt people do what they do. There is a lot of money on stake for them and they decide to close their eyes on the corruption around them and actively participate in that vehicle.

Cook is doing exactly the same, he is putting money in front of his moral principles.

If he is so vocal about freedom or whatever, he should take a stand and do something at least in his own company, if his board or investors are pressuring him - he should quit or do something about it, because right now - whatever he says about fighting for freedom is just a complete farce.
I mean Apple is free to leave China. But it seems that they really want to sell iPhones in China and make money there.

The point I am trying to make is that prevalent HN view against censorship is not something Apple leadership cares about enough to leave the market.
Ask HN: Recommended Benefits Service/Software
I have used Gusto and Trinet at prior companies a few years back. Does anyone have recent experience and recommendations for benefits service/software for a 10-20 person startup?
I don't know about the flavor of this blog but historical material has always been welcome on HN. The core value of HN is intellectual curiosity. As you'll see if you read the first line of the site charter, anything goes as long as it's interesting: https://news.ycombinator.com/newsguidelines.html
Just my 2c to agree with sibling posts. For some reason, moving boxes are big on the local Gumtree Freebies, and after my son found out about this, every couple of weeks I get asked to get some boxes for him to play with (which typically gets retired a weekend or two later).

Sure, they take up more space than Lego or Mecards or Beybaldes, but absolutely can't beat them for entertainment value.
Or maybe their meetings were, you know, actually secret.
Pinterest apparently won't let me delete my acount?
I've tried multiple times now and their system claims I'm supposed to receive an email to verify. Still no luck. Are you surprised?
Talking about taxes on interest, not deposits.
The half of the world that includes the US is well into the evening now, so I’d imagine most of HN is surely not still at work.
https://hn.algolia.com/?query=Where%20Silicon%20Valley%20Is%...
It's not American thinking; these are recognized around the world as universal, inalienable rights. Also universal is every dictator's attempt to portray them as just another opinion which doesn't apply to the "culture" (a usefully indefinable, subjective word) of their country. It's a very old argument, with a disreputable, self-serving cast of advocates.

Following that reasoning, communism, capitalism and international trade are emphatically not part of Chinese culture - not to mention the way people in China now dress and most of the technology and consumer goods they use. Imperial monarchies interspersed with periods of civil war, economic and cultural isolation, and all of it based around Confucianism - that's been the culture since around 250 BCE, and they forcefully rejected Western trade and technology when they encountered it in the mid-19th century (leading to some horrible actions by the UK and other nations).

Chinese people in Taiwan and Hong Kong believe in and live these universal values, and they are the most prosperous, free, and stable regions of China. The values of freedom and democracy apply to other cultures worldwide, from Europe to India to China (Taiwan and Hong Kong) to Japan to South Korea to South Africa to Brazil. It's very hard to argue that they are just one nation's idiosyncrasy.

And who is to say that the people of mainland China don't want these things? Why not ask them? If Xi is so sure that a communist dictatorship has broad support, why not hold a vote?
Depends on who you ask. Lots of mainlanders live in HK now. I'd assume most young HK-ers are still against China but if nothing changes slowly the HK will be assimilated and mainstream opinion will align more with mainland Chinese as time goes on.
Would you please not rant here, let alone on nationalistic topics, and please not use all-caps for emphasis? This is in the site guidelines: https://news.ycombinator.com/newsguidelines.html.
There are many countries that don't tax the interest on bank deposits, just none in the EU anymore. And those countries are where the EU is driving companies to move their deposits to.
On the electronic-vs-non-electronic toy front: I think it'e better to characterize it as "toys that the child plays with" vs "toys that play with the child".

There's a lot more exploration and, frankly, fun in the former.

But let's not forget, the child is not the toy manufacturer's customer: the parent, grandparent, or parent of the birthday-party-invitee is the customer. Toys are designed to appeal to them.
> Alongside Cook in endorsing China’s digital vision were officials from countries such as Saudi Arabia and Serbia, it noted.

Not the examples I want to use to show the "openness".

The interesting thing for me is we have to celebrate "open internet vision" in 2017. So, is China admitting they were not open in last couple of years?
We've banned this account for violating the site guidelines. Nationalistic rants aren't welcome here.
I don't see a contradiction between Equality of Opportunity and welfare programs. Indeed, they seem to be proposed hand-in-hand by most people, so I'll set aside for a moment the emotional content of your argument.

I do not see how invoking 'authoritarian capitalism' serves as a refutation that cultures of human beings creates winners and losers.

The distinction to make here is that Equality of Outcome requires everyone to have the same outcome. Feeling as you must do, surely you would prefer a reduction in inequality, not mandatory equality?
No, Prolog is nothing like that. Prolog is perhaps the sort of paradigm that could be used as one part of an implementation of something like that (as we see here with miniKanren), but Prolog itself isn't even close.
Possibly neither of those two (I doubt he is naive and I don't think he's greedy, he has FU enough money and could retire and never work again if he wanted to). He's just doing what Apple shareholders want, i.e. sell Apple products in biggest mobile phone market in the world.
We Don't Need Super Intelligence for AI to Be Super
> The caps were to emphasize my point

That's explicitly against the site guidelines, so can you please not do it here? It's basically yelling.

https://news.ycombinator.com/newsguidelines.html