skysight-inc/HackerNews huggingface dataset:
There are parts of these businesses that have successfully driven off competition through pricing (free typically) enabled by revenue from other parts of these businesses. Ad revenue seems to enable a lot of this and it is hurting third party businesses when e.g. FB or Google can give away services for free for years on end without even attempting to drive revenue from them simply by tapping into the revenue from elsewhere in their business.

In my view forcing a more level playing field for competitors that don't have a strangle hold on the ad business is kind of the whole point of having antitrust legislation. If certain business units in Google/FB are not sustainable without benefiting from ad revenue, then perhaps them failing would be a good thing for the market as it creates opportunities for others to step up.

Search is a good example of an insanely lucrative effective monopoly where Google funnels ad revenue into search R&D and then forces e.g. news papers that are highly dependent on their own ad revenue to optimize for Google's search engine with features that directly conflict with their own revenue models (e.g. AMP) just to ensure that users can actually find their way to articles. Then add Google News to the mix and you have a nice mix of abuse of power that has resulted in fines for Google on several occasions. Breaking them up would be a logical next step given that the record high fines seem to pale in comparison to the revenue/profit and seem to not lead to a change in behavior.
This doesn't contradict what I said. The OECD defines "upper-middle-income" countries as 4000$-12,000$. This includes major developing countries such as Russia, Brazil and China, all of which have far lower incomes than the US or most of Europe.

For reference:

http://datatopics.worldbank.org/sdgatlas/archive/2017/images...
> We are looking to move some of our applications to the cloud and Kubernetes the coming time.

Google Cloud has a ton of built-in support and UI for Kubernetes clusters. They make it really nice. It's roughly the same price, so I'm not sure I'd run Kubernetes on any other service.
That is interesting. I have uninstalled many apps and would like to go the full route of turning off WiFi, but my team does regular communication on slack. Do you have a different communication style or would you just use desktop in that case?
And it's the same shit with Wifi. Hitting the button in the control center merely disconnects from the current network; to actually turn it OFF, you have to go into the settings. I hate that.
A friend of mine is of Ugandan extraction, and she had lunch with her sister in China. She said people were staring through the window watching her and her sister eat.
See also https://en.wikipedia.org/wiki/Lotka%E2%80%93Volterra_equatio...
wow. this is awesome
I also had this experience in Africa. Was in a location where few tourists went, most foreigners were NGO workers and workers in some capacity. Locals would take photographs without even asking. In other parts of Africa, the locals were too poor to have good cameras.
> If you're new to Kubernetes, you shouldn't attempt to run a RDBMS ... if you're rolling your own statefulset you better know what you're doing

I've been doing this for a while. Before there were statefulsets, it was pretty painful. But now, it's relatively easy. Sure, not as easy as a PaaS database that seems to just work, but much easier than managing a cluster of servers with all sorts of crazy scripts.
I've had occasions where I get small patches on my hands where the skin dries and cracks - I had no idea what was causing them and wondered if it might be stress. I was pretty sure it wasn't anything physical.

My GP simply recommended using superglue to seal the cracks up and that did help!
"If [a scooter was in a legit place], then their argument goes out the window."

What about if it wasn't, if it was square on the private property of whoever called the towers?
A lot of great stuff in there (on a number of topics), although he doesn't exactly make an argument for why paying the cost of greater national self-sufficiency might be more humane, just observes that despite the benefits of economic integration there have been negatives too. Indeed all the actual examples he puts forwards seem pretty worrying.
Sorry, but I’m super tired of “blah_blah_blah, written in Go” articles/titles (two so far today). If Go has some amazing feature, great! Let’s talk about it. If a program has some amazing feature, great! Let’s talk about that. All these “blah_blah_blah, written in Go” articles make it sound like Go is retarded in some way and that the ability to actually write programs in Go is somehow amazing. Is that really the case?

I don’t recall being inundated with “blah_blah_blah, written in C, C++, Swift, Rust, Erlang, C#, Java, Python, Ruby, Elixir, etc.” articles. Why do we have to constantly remind everyone that you can actually write programs in Go?
Just of the top of my head you miss the following - whether they matter to you is a question only you can answer:

* Access control for everything via IAM. This for me is the killer feature for AWS, almost anything from users, to servers, to individual IoT devices can be granted permission to access other AWS resources with extreme granularity.

* Audit logging of every single API call, user invoked or otherwise, via Cloudtrail.

* Monitoring of and responding to key metrics via Cloudwatch. This isn’t just graphs as it can appear on the surface, Cloudwatch alarms allow you to do things like killing individual servers if they start throwing errors while others aren’t.

* Responding to changes in your infrastructure via Cloudtrail. We’re using this for features ranging from emailing our security team when a new IAM user is provisioned, through to full release orchestration.

* All those features supported across services that can fulfil more or less any requirement you have, whether that’s a MySQL database, a message queue, or (should you really need it) a satellite downlink.

DO are fine if what you want really is just a server in a data centre somewhere, but you’re missing out on a lot of really powerful management features with them, without even getting into the other services AWS have.
Can you name the bank?
They could just turn off water and electricity and blockade naval food imports. Any independence movement would capitulate within a week (or starve within two).

Which is the reason why HK was gifted to the PRC in the first place - it cannot be defended against a siege.
Implement Some Handy JavaScript Functions from the Ground Up
To be fair I quite like that feature. Usually if I'm disconnecting from a WiFi it's because it's not working very well and I want to use my mobile data instead. If I forget to turn it back on I'd end up using way too much data.
Ask HN: What software do you use when writing online articles containing code?
Dishydrosis. Weird how many people mention this ITT. Must be very common stress marker, with seemingly not much research done on it.
Twitch scheduled outages to force-inform on shutdown of v3 endpoints
Like this novelty Twitter account https://mobile.twitter.com/justsaysinmice which points out hilarity of sensational headlines that are based on distant experiments on mice.
Well, then the tool has no actual "forensics" use by itself.

It's a pity, of course, but it can only be a tool to confirm findings that have a "proper" timestamp.

Most probably the log consists of "appended" entries that might mitigate the issue, still it is needed a clear and extended "justification" to the procedure with wich the year is "attributed" to the yearless entry for forensics use.
Paul Tough's book, "How Children Succeed" [1] has a great section on how mother rats (called dams) can significantly counteract the stress of their offspring (called pups):

"Scientists in rat labs are always picking up baby rats to examine them or weigh them, and one day about ten years ago, researchers in Meaney’s lab noticed a curious thing: When they put the pups back in the cages after handling them, some dams would scurry over and spend a few minutes licking and grooming their pups. Others would just ignore them. When the researchers examined the rat pups, they discovered that this seemingly insignificant practice had a distinct physiological effect. When a lab assistant handled a rat pup, researchers found, it produced anxiety, a flood of stress hormones, in the pup. The dam’s licking and grooming counteracted that anxiety and calmed down that surge of hormones.

Meaney and his researchers were intrigued, and they wanted to learn more about how licking and grooming worked and what kind of effect it had on the pups. So they kept watching the rats, spending long days and nights with their faces pressed up against the Plexiglas, and after many weeks of careful observation, they made an additional discovery: different mother rats had different patterns of licking and grooming, even in the absence of their pups' being handled. So Meaney’s team undertook a new experiment, with a new set of dams, to try to quantify these patterns. This time, they didn’t handle any of the pups. They just closely observed each cage, an hour at a time, eight sessions a day, for the first ten days of the pups' lives. Researchers counted every instance of maternal licking and grooming. And after ten days, they divided the dams into two categories: the ones that licked and groomed a lot, which they labeled high LG, and the ones that licked and groomed a little, which they labeled low LG.

...

The researchers ran test after test, and on each one, the high-LG offspring excelled: They were better at mazes. They were more social. They were more curious. They were less aggressive. They had more self-control. They were healthier. They lived longer. Meaney and his researchers were astounded. What seemed like a tiny variation in early mothering style, so small that decades of researchers hadn’t noticed it, created huge behavioral differences in mature rats, months after the licking and grooming had taken place. And the effect wasn't just behavioral; it was biological too. When Meaney’s researchers examined the brains of the adult rats, they found significant differences in the stress-response systems of the high—LG and low-LG rats, including big variations in the size and shape and complexity of the parts of the brain that regulated stress."

[1] http://www.amazon.com/How-Children-Succeed-Curiosity-Charact...
Ask HN: Apps, websites, or social media: which work best for side projects?
Every side project needs an outlet to let the world know it exists. My question is: when thinking about ideas to do in our spare time, are we better off if we focus on mobile apps, web apps, or social media? I ask this because these require substantially different skills. I know different ideas call for different platforms and that you should sometimes use a combination of all three to gain an edge over competitors, but the primary platform in which your idea was born is - in my opinion - critical to success.

I'd appreciate it if you could share your experience or stories in either mobile development, web apps, or social media. I guess at the end of the day, side projects that generate cash flow are more motivating. So, it'd be nice to know which of the above have more potential to do that.

Thank you all!
Blockading a country on the 'world-island' is a pointless task.

The US is a sea-power, China is a land-power. As a land-power already situated on the 'world-island' China has no need of a huge SEA-going Navy. All it needs is a bunch of anti-ship missiles.

Meanwhile, the US that lives on the peripheral 'americas-island' is powerless without a means to reach the 'world-island' where all the action is.

See Mackinder and GeoPolitics.
> The first major annoyance I had was the constant flow of 'breaking news'. I uninstalled my news apps, ... I don't even think about it anymore... This week I read people on average take between 2 and 3 hours a DAY on there phones. That sounds like alien to me

News isn't just "information" anymore, it's a signal of social norms. If you stop thinking of breaking news as "this is important", and rather that "this is what people want me to think is important", it is far easier to dismiss in substance, but still value as contributing to your understanding of what constitutes common knowledge.
I don’t think anyone back then could have imagined property values going from say, 30,000 to 3,000,000.

Prop 13 was sold to the voters on a "granny is losing her home because of skyrocketing property taxes" argument. So, yes, I think that a 100x increase in value was predictable.

And, yes, I could see $10 million homes becoming the norm within my lifetime.
> If they're selling, I don't think it necessarily can be construed as good or bad without proper context.

Maybe they just want to be rich, now? Of course depending on how much I would get, but my decision to sell would have very little to do with how well I thought the company was going.
Over the Edge (2013)
> [cmake stuff]

If that were sufficient, we wouldn't see so many header-only libraries.

> Even if we ignore this fact, there are also package management tools such as Conan which handle thjs case quite nicely and also supporting cross-platform deployments.

Conan would be a decent solution if everyone used it. I tried it briefly last year; I ended up not using it for that project because it didn't support certain features I wanted (namely, compiler toolchain management), plus Bintray was having issues at the time. But my overall impression was that it was... fine. I may end up using it in the future.

For now, though, as a library author, most of your users won't have Conan set up; as a library consumer, most of the libraries you use won't be on Conan; and in either position, most people building your software won't know how to use Conan. Until that changes, it doesn't really solve the library friction problem.

> And let's not pretend that in some platforms such as pretty much each and every single popular linux distro already package and distribute C++ libraries and offer packaging tools and also package repository services to distribute any dependency.

If you have a library which is popular or a dependency for something that's popular, then yes, the N different Linux distributions and package managers for other operating systems will all handle packaging your library themselves. If you just want to be able to upload some code and have it be immediately reusable by the wider world, well, it's not particularly feasible to make packages for N different distributions yourself, and even if you do, the Linux distros most people use are months to years behind the bleeding edge of software releases, so you'll have a while to wait before those packages actually reach people.
Why? What happens if I show up in a Chinese photo album?

I think the problem in this subthread started when jwmoz decided the "equivalent" of tourists coming to your fields, trampling your crops, and cutting and taking bunches of produce for themselves was tourists coming to a Starbucks and taking pictures.
There is also an old-fashioned way to put it without reaching into the social justice toolbox: people doing something pleasant gawking at people doing something unpleasant. Imagine a tourist having a minor traffic accident or dropping their backpack into the mud, and locals standing around it taking pictures.

It is less about a global power imbalance and more about a situational one.
Yes, this is the one part of the paper that stuck out to me. Too often I've been fed the "take on the responsibility and then we'll pay you" line. It feels dishonest to me; like they are extracting more work from you without giving you more money/responsibility/etc. If you want me to "take it to the next level" then you need to reward me at the next level.
Oh I see. Cool.

Now compare with Lua:

$ python3 -c "import sys, timeit; n = 10; print('%.2f ms/spawn' % (1000 * timeit.timeit('subprocess.call([%r, %r], stdin=subprocess.DEVNULL, stdout=subprocess.DEVNULL)' % ('lua', '-'), 'import subprocess', number=n) / n))"
1.09 ms/spawn

NewLisp:

$ python3 -c "import sys, timeit; n = 10; print('%.2f ms/spawn' % (1000 * timeit.timeit('subprocess.call([%r, %r], stdin=subprocess.DEVNULL, stdout=subprocess.DEVNULL)' % ('newlisp', '-'), 'import subprocess', number=n) / n))"
1.25 ms/spawn
I've always found it ironic that one of the best antidotes for day to day stress is to be in a situation where you get "stressed" in a completely different way... (the main factor in the 'positive' stress situations for me being in fairly complete control, confidence in your own abilities and requirement to focus on the matter in hand for a few hours).
ESCB hybrid exchange platform is open-source now
This is such a wacky headline. How on earth could the U.S. successfully dominate China? Even if we threaten them with tons of nukes, kill millions, and dominate them for a short time, there's no way that is sustainable. If small groups of rebels in Afghanistan can successfully resist U.S. dominance, it's almost ridiculous to believe that we could do so in China.
I think this will be a passing craze.

Younger instagram users are much less interested in showing off perfect shots than their millennial predecessors.
And sadly, there are whole professions whose job description can be summarized as "spread the false narratives." People are paid to repeat them and attack those that question them:

https://milkweed.org/book/the-war-on-science

https://rationalwiki.org/wiki/War_on_Science
Europe is beating the US in fintech innovation, says Revolut’s Nikolay Storonsky
Really well written article
> The US doesn't yet have massive prison camp systems full of political dissidents

No, but they have several full of people who were trying to escape from countries which were falling to pieces...
Yes. Both.

My son was most likely hit by a cosmic ray in the early stages of development in the womb. It will have effected only a small number of cells (maybe even a single one) but the error replicated and caused a malformation in his heart.
> That isn't the case, wealth is an absolute measure

That's why I used the adjective "wealthiness", as in "He is wealthy" vs the noun "wealth" as in "His wealth is X".

The adjective is relative, and implies more wealth relative to a population. The noun is not relative.
Ask HN: How sensible is it to host my own email server on Linode or DO?
I wish to host my own email server for me and my family. Looking for an Ad free, privacy friendly and economical setup. $5 instances on these providers are worth it when compared to premium service providers. I also wish to have more control over how my emails are managed and I hope to do this with bash scripts.

A little bit of Googling tells me it should be possible with Postfix and an array of web mail options along with email clients.

How manageable are the following issues on Linode or DO?
- Having a well-reputed IP address range such that my outbound emails don't end up in spam
- Inbound spam protection
- DDoS protection
- Overall security considering SMTP and IMAP ports are exposed over the public network

Any other issues I might come across? Any providers that HN has used successfully for their private mail server setup? Feel free to tell me I'm bonkers to do this on an individual level if you have good reasoning.
But they ignore the risks of infill where infrastructure approaches capacity. And much of the infrastructure dates back a century or more. As you infill, demand for water/sewer/gas/electricity increases.
I can’t find anything about Qualcomm having Siemens roots. Are you sure about that?

Qualcomm bought some BenQ Mobile (ex-Siemens) patents from HP (Palm), but according to Jobs, these were rather worthless:

Just for the record, when Siemens sold their handset business to BenQ they didn’t sell them their essential patents but rather just gave them a license. The patents they did sell to BenQ are not that great. We looked at them ourselves when they were for sale. I guess you guys felt differently and bought them. We are not concerned about them at all. [1]

Maybe this is what you were thinking about? If there is more, I’d be glad to hear about it!

[1] http://www.project-disco.org/competition/012313-patent-bully...
While the U.S. may have been able to completely dominate another country in WW2, I don't see how that could happen today. Even assuming the U.S., with their military might, could take control of the Chinese government, I don't believe it would last. When the U.S. beat Japan, they were able to control the messaging and media for years, effectively training the newer generation that this was all in their best interest. With the internet and the pourus information walls, rebels could easily organize and be a never-ending challenge to any lasting dominance.
Interesting thought. I know nuclear plants are required by law to set aside a part of revenue for eventual long term storage of the waste.
You could have that for coal plants.

Of course we already have quotas and trade which is designed for something similar.

And the offsets have their problems...
*Wim, for those who might want to google.
Header-only libraries aren't generally single-header-only. That's a bit of an extreme.
I actually had to implement something very similar. The use case was an SFTP upload interface for clients that they would use the same login credentials they use for the web portal to upload to unique subfolders in Azure Storage.
Will not remain in place unless there is a small pond in the room. Spiders are much better for this purpose.
GoKid Carpool App
It's kind of sketchy to upload your floor plan...or is it just me??

https://iot.mozilla.org/docs/gateway-user-guide.html
So, NZ is on the receiving end of some of this, and here's my opinion:

* Our popular areas are completely overrun during tourist season - I personally think not much fun for tourists or locals (unless a crowd is good e.g. party zones)

* As a local, I can usually find something way better when I travel in NZ that isn't overrun by tourists (e.g. from article, that one lavender farm in France is overrun, but I bet there are plenty nearby that are not).

* I personally love the vibe of the high tourist areas. Generally having tourists is good for nightlife, great for meeting other cultures, and tourists create heaps of economic opportunities (very often in places that would struggle otherwise).

* When travelling overseas, I skip anything "must see" that is in a guide or otherwise recommended (unless you want a tickbox or it is totally off-season). I go to small towns that are in non-tourist areas, and find my own awesome shit.

* When travelling, try to meet locals in a low-density tourist area. You get to see the real country. In reverse, I try to be super welcoming to travellers I meet (I have no problem giving a hitchhiker a room in my home if they pass my sniff test).

* NZ isn't a big country, but there is a huge amount of amazing places to visit everywhere, if you have your own transport and more than a few weeks to travel.

* Try to avoid staying in tourist high density areas. Avoid the easy tourist transport means, avoid the tourist backpackers or hotels.

* Yes, tourists often leave a mess (NZ has a real problem with tourists travelling by vehicle shitting everywhere), but the benefits of tourists really outweigh the downsides IMHO

* I would love NZ to introduce a visa fee per travelling day - that pays for cleaning and pays for free entry to high traffic tourist destinations. We should be striving to attract the high value tourist, and not nickel and dime them once they are here. Tourism can be a Veblen good.

Summary: there are places that are tourist destinations, but there are heaps of places that tourists don't go to that are incredible.
What is the AI effect, and is it set to happen again?
Thanks for this, did you start this alone?
North Korea's Kim Jong Un Says New Missile Launch Was Warning to South Korea
And on the other side of the coin:

https://en.wikipedia.org/wiki/Henley-on-Todd_Regatta