skysight-inc/HackerNews huggingface dataset:
This story hasn't convinced me that China's startup scene is anything to pay attention to, outside of China.

Nearly every single one of their major successes, are successes in China, and only China. Those successes, as great as they are, pale in comparison to the foreign competition in hard numbers, let alone quality and breadth of software.

Furthermore, are any of these services anything that hadn't been done before a dozen times? It isn't innovation just because you have State protectionism and made it on a computer. Nor will it necessarily lead to a major financial victory beyond China.
If you can't stop thinking about the intractable circumstances of your life, the problem is with your inability to stop thinking, not with the supposedly intractable circumstances of your life.

Life is inherently intractable. If you can't stop thinking about this fact, you indeed do have a problem.
This diagram is to answer the private blockchain hype. It's not meant to address any piece of technology- just qualify when a blockchain doesn't provide clear value.
Have a look at Peter Drucker's classic "Managing Oneself"

https://www.amazon.com/Managing-Oneself-Harvard-Business-Cla...

Drucker takes a firm stand on this issue. He advises to "put values first"
Tidbits (stars for the top two ideas):

*
-* "Or, more accurately but less evocatively, “find gravity inside quantum mechanics.” Rather than starting with some essentially classical view of gravity and “quantizing” it, we might imagine starting with a quantum view of reality from the start, and find the ordinary three-dimensional space in which we live somehow emerging from quantum information."

- "If we perturb the state a little bit, how does the emergent geometry change? (Answer: space curves in response to emergent mass/energy, in a way reminiscent of Einstein’s equation in general relativity.)

It’s that last bit that is most exciting, but also most speculative."

- "But the devil is in the details, and there’s a long way to go before we can declare victory."

- "In some sense, we’re making this proposal a bit more specific, by giving a formula for distance as a function of entanglement. "

- "We’re quick to admit that what we’ve done here is extremely preliminary and conjectural. We don’t have a full theory of anything, and even what we do have involves a great deal of speculating and not yet enough rigorous calculating."

*
-* "Perhaps the most interesting and provocative feature of what we’ve done is that we start from an assumption that the degrees of freedom corresponding to any particular region of space are described by a finite-dimensional Hilbert space."

- "A finite-dimensional Hilbert space describes a very different world indeed. In many ways, it’s a much simpler world — one that should be easier to understand. We shall see"

My 1 cent:

I don't know enough about this subject but...it's this creative thinking that is desperately needed in the sciences. I'm not trying to tear down others but instead just say that this is what happens when education advances. When enough (abstract) people focus on a subject, we will find a breakthrough.
I've been sitting on the sidelines of the "Uber is great!" vs "Uber are a bunch of dicks!" war for quite some time now. I always figure every company of reasonable size contains elements of both. But geezus... this was posted with the title in all caps "THE UBER ENGINEERING TECH STACK, PART I: THE FOUNDATION". Presumably by someone at Uber. Is their corporate culture that arrogant?
Under the Hood of .NET Memory Management (2011) [pdf]
I've been programming for a long time and TypeScript has been a slam dunk for me. It makes programming large web apps actually considerably more manageable.

Unfortunately I spend a lot of time defending the merits of static typing to my co-workers. At the same time they're going on about how unit tests are important, while static typing eliminates entire classes of errors and they don't get it for some reason. Unit tests while important don't prevent type errors, and if you tried using them for that you'd have orders of magnitude more tests to write.

I feel like I'm taking crazy pills having to defend static typing while every dynamic language I've used for any project of any considerable size has been a complete nightmare to manage. At this point I feel like a lot of new coders coming out of school just haven't written anything large enough yet and maybe that's why they don't see the point.
> I like alcohol very much

Could I ask what you actually like about it? I used to be a moderate drinker but a few years ago I just thought "what's the point?". The only reason why I drank was because my friends drank, and nearly all the times I met my friends was to drink.

Since then I've moved to a different city for work, and I've made new friends with mostly people who don't drink. Yesterday we went to a lake to swim and chill out, which I couldn't even dream about doing with my old friends.

A lot of people who I've spoken to who like to drink say it helps their stress levels. In my case I've always been quite a stressful person, and I haven't noticed it get worse since I've stopped. Not having woken up hung over for over 2 years is good though :D

As for the supposed health benefits of drinking, I think in my case I'm better off not drinking. A few times I got blind drunk, but even being tipsy I would be concerned about accidentally walking in front of a car or slipping onto a railway track.
Here's a study from 2013 on the topic. "Review of mental-health-related stigma in Japan" http://onlinelibrary.wiley.com/doi/10.1111/pcn.12086/abstrac.... Japan has a long way to go toward accepting mental illness as anything but a character flaw.
If you parse the ingredients part out of a recipe yourself and feed it as lines, that would work :)
And cut lengths of timber and sheet materials are usually multiples of 30cm but many people will order "8 foot" rather than 2.4m. Likewise joist and stud centres. However you can also get 3m or 5m, for example. Of course, most houses in the UK were built pre-metric system, so rooms will mostly be sized in feet, if they are in round units at all.
Earlier post: https://news.ycombinator.com/item?id=12150081
Some "engine" vs "gameplay" abstraction is needed though.
It's not about re-use, it's about a strategic separation of concerns allowing you to iterate more quickly over your gameplay.
You don't want to deal with linear algebra or image format loaders when you're modifying the way your enemy monsters behave.
It's a start. Adapting technology to local needs is also an innovation so I wouldn't totally discount all their achievements.
All I meant there was that it can be changed and blended instantly, electricity is electricity. Look how long it's taken to change sulphur, lead, ethanol, etc in the us gas supply. And this still requires work for the existing fleet of cars.
Define "innovation". According to most tech journalists Theranos innovated. By that definition, I innovated today when I took a shortcut home. Is China innovating? In some places. Is Silicon Valley innovating? In some places. What are most people doing? Not innovating.
Sure, but once the Chinese market is saturated, those same companies will have a lot of cash to throw around to acquire foreign market share and develop their technology.

After all, Japan used to be a by-word for cheap, underpowered cars until the 70s.
https://news.ycombinator.com/item?id=12135777
https://startup-video.com/#work
Southeast Asia’s Growing Diabetes Epidemic
"Which makes me wonder why this design was chosen over a spring-driven shoe."

The real answer is that the Westinghouse air brake system won the 1887 Burlington brake trials. Other entries included vacuum brakes, buffer brakes (bumping into the car ahead applied the brakes), a competing air brake system, and electropneumatic brakes (by Herman Hollerith, the punch-card guy). Nobody entered a spring-loaded system.
Have you checked Steam hardware survey lately?

Windows 10 users are already 45%, with around 41% having DX 12 GPUs + plus around 20 million Xbox One units.

As for market size of Vulkan, some S7 and NVidia shield as part of 10% Android 6, 0% on Android 7 until it reaches stable and of course those other 55% users that might have a Vulkan compatible card.
Cool project. I've been collecting a list of automated tools for editing [1], which originated at Bell Labs with The Unix Writer's Workbench [2]. Rather than start from scratch, if you want to stick with JavaScript you might consider contributing to Titus Wormer's ReText [3]. Otherwise, we'd love for you to join us in building the Python-based Proselint [4].

1. https://github.com/amperser/proselint/blob/master/research/c...

2. https://www.princeton.edu/~hos/frs122/unixhist/text.htm

3. https://github.com/wooorm/retext/blob/master/doc/plugins.md

4. https://github.com/amperser/proselint
A related possibility is tDCS being applied to children, in hopes to improving their performance in school. Doesn't seem too far-fetched given that articles like this are circulating:

http://kuow.org/post/electricity-could-boost-your-kids-brain...
In my experience (which includes large companies from sectors like automotive and utilities) in most cases there is a large, RDBMS backed application doing something really critical... And then when you talk with actual users you discover a swarm of Excel files that either support or often second guess the corporate system.

And it is not just reporting. In some cases inputting large quantities of tabular data is just done by writing Excel macros that create CSV files to upload to the system (and sometimes, horrifingly, the data are just retyped...).
People in the industry call that support and productivity thanks to proper tooling instead of leaving each one alone to scatter around for half baked FOSS libraries, but I don't expect activists without experience in the big boys league to understand it.
I can't speak for all the libraries linked above, but I've used fake-s3 with a rails app and s3rver with a node app. They both worked great for development and testing. I'd definitely use em again.

I think it's worth noting that some of these libraries have different intended goals. For example: Riak CS is intended as an alternative that you can use in production, while s3rver is meant for testing.
Divide by six, multiply by ten. And vice versa. Quicker in the head when an approximation is required.
This has seemed to me for a while the right approach (gravity from quantum mechanics, vs. quantized gravity). Can anyone speculate on the discovery of "gravitational waves" - i.e. in a quantum mechanical description, what are gravity waves made of? A sort of quantized spread of entanglement?
Not only that, but draught beer and cider have to be sold in pints (or 1/3, 1/2 or 2/3) while nothing else is allowed to be, so a "pint" of coke is supposed to actually be 500ml, and spirits are in multiples of 25ml or 35ml.
Does it run on those old SPARCs?
I guess don't be surprised when your strategy doesn't work out?
And simplicity and readability really are fundamental to a secure OS, especially from the user's standpoint. It seems this was the main point of the article.

Secure by default means I don't have to turn off a bunch of stuff to make it secure. Rather, I have to think about what it is I really need to run on this particular system for whatever it is I'm trying to do. It requires a little more thought, since it isn't usually one of the 100+ processes and apps automatically started after installation on most distros. No, I have to figure out what I need, and maybe even port something. (That hasn't happened to me yet, but it could.) But that starting point is far preferable to weeding out a bunch of shit some distro roller thought I should have and disabling or uninstalling it.

And as the OpenBSD team occasionally points out, there really isn't a way to know that you have a 100% secure system now that all hardware has binary blobs that do unknown things. (Well, I guess you could fabricate your own chips and build your own motherboards from components you made and ....)
This users would pay?

I would. I have a GalaxyTab 10 (the abandoned Google I/O edition) still running Honeycomb that I would happily pay $10 to easily update it to something vaguely more modern. It's been useless for years, not because the hardware is bad, but the software is useless. I still can't figure out how to get something more modern on it. It's been sitting in a drawer (plugged in, oddly) collecting dust forever.
New source of water to quell conflicts in the Middle East
Contacting Google Classroom
> People in the industry call that support and productivity

People call that MS tax, since it makes their development more costly. Whether it's developers who work on their own engines, or engine developers who provide their engines for others, this cost is passed to the end user in the form of more bugs, slower development and so on. No sane developer appreciates lock-in. But currently they have no choice.
>trade protectionism

Seems like that is the kind of thing that gets you into trade wars. Not to mention that people would be Really Really Unhappy if iPhones suddenly doubled in price because of tariffs designed to protect American manufacturing.

But...I'm not an expert, so I don't know with any degree of confidence what the consequences would be. Problem is Trump's fans are so far down in the "not an expert" direction that Dunning-Kruger probably makes them think it really IS that easy...sigh...
"Better to go down dignified

With boughten friendship at your side

Than none at all. Provide, provide!"

http://www.poemhunter.com/poem/provide-provide/
ZeroTier SDK and User-Space Networking Stack
So... Pivot Tables? Excel has done this for ages. Excel 2016 even has in-memory BI.
> but I think this is something that they really need to get a policy on now.

Did you read the article? The main point was to be adaptive. Asking for a predefined fixed policy is preventing the ability to adapt.

You don't know what the future will bring. That's why the community needs to make up its rules as it goes along.
Magic traits and intrisics are also a form of compiler hooks, without them the compiler will not have any idea what to do with the library.

In any case looking forward to it.
More similar to DX12 than it is to Vulkan?

Because all three are APIs which try to provide a lot more control over the GPU to game developers. And I wouldn't know of any other similarities that DX12 and Metal share...
What about my super expensive potted plants that shrivel and die from the lack of sunshine?
You can always find ways to monetise an operating system. Some possibilities include:

* add products/referral links to os search results (like ubuntu lenses)

* add ads to the base operating system (like kindle's sponsored homescreen)

* sell spots for default search providers (like bing for siri)

And you target old phones by providing them with an upgrade path to cyanogen mod based on a more modern android version. Many devices are technically fully capable of running modern android versions but have been abandoned by their manufacturers.
Illegal hotels / full-time Airbnbs are going to be problems. However, given that X% of homeowners are out of town Y% of the time, it's a waste of resources to leave X*Y% of residences empty on any given day.

I like to travel. I like having an apartment. For a given amount of dollars, I can travel a significant amount more with Airbnb covering some of my rent while I'm gone.
I think it was more like cognitive dissonance, but with taste. Gustatory dissonance? I don't know that I get it with food as such but I can certainly relate the sensation to wine tasting.
Red Hat Enterprise Linux (and thus CentOS) has many of those features:

https://access.redhat.com/articles/65299

Also, it provides MAC per SELinux.
Could you explain what is arrogant about it? The all caps doesn't come across as arrogant or weird to me on the blogpost.
Sometimes this happens because people use the HN bookmarklet to submit a post and the original article uses all-caps typography for its title (as this one does). But it's so rare for such cases to make the front page that I don't think we need to worry much about it. If it ever becomes a problem it shouldn't be hard to deal with.

All: it's fixed now, so please let's talk about the article rather than title mishaps.
>What other system has enabled by default the following security mitigations

Let's see.

>Enforced W^X in the kernel

Linux, OS X, Windows

>Enforced W^X userland as of 6.0

Linux

>Stack protector (..which OpenBSD pushed into wide adoption).

Literally every other OS out there has stack protector, and it was Windows pushing it to wide adoption

>PIE by default for base and ports.

Linux

>Static-PIE for self-relocating static binaries.

Linux

>SROP (sigreturn(2) oriented programming) mitigation by default.

Useless "mitigation", can be easily bypassed with no effort

>C shared library re-ordering at boot time, i.e: libc.so is re-linked at boot time so objects are randomly ordered.

Useless mitigation, can be easily bypassed with no effort

>System-wide sandboxing (pledge(2)) of a large percentage of the userland

Large percentage? I disagree, it's more like 10%.
Which are MS systems. So again, no point to bring Apple and Sony as examples of why DX12 is preferable. It's useless there.
Rather than "poorly-designed", I should have said "cryptographically insecure".

Most hash functions are engineered for speed and collision resistance, in that order. Trading collision resistance for speed is worthwhile for many workloads, since it barely affects the average case.
> Estimation of that sort is expensive and you have to have a good reason to take the time to do it.

Just wanted to emphasize this sentence.

Good estimates take time and cost money -- time and money that aren't necessarily worth spending. In many cases you're better off living with order-of-magnitude estimates and spending most of your time doing the actual work -- depending on the nature of the business, of course.
http://www.fieldbook.com

I haven't used this in production, but messed around with it for a while. Seems to do what this article is suggesting.
Here's a study correlating ethanol usage with a lower risk of lymphoma:
http://www.ncbi.nlm.nih.gov/pubmed/22465910

Here's one correlating ethanol usage with a lower risk of kidney cancer:
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3049576/

Here's a study linking ethanol consumption with a reduced risk of ALS:
http://www.ncbi.nlm.nih.gov/pubmed/22791740

And it's not just one study linking ethanol to a lower risk of CVD-- it's several. The story is the same for all cause mortality. Acetaldehyde doesn't fully explain elevated risks of throat and mouth cancer, in my opinion... Acetaldehyde is a downstream metabolite, whereas the epithelium of the mouth and throat are tissues that ethanol is clearly coming in direct contact with. Again, this is just a crude hypothesis.

Sure ethanol is a toxin, but attempting to avoid it in an attempt to avoid toxins or carcinogens is a fantasy. Carcinogens are everywhere -- you breath them, eat them, ingest them, absorb them constantly. This is why low/moderate exposure to sunlight, alcohol, certain phytochemicals might actually be 'hormetic'.

I'm not saying that in an era of biotechnology and whole genome sequencing, ethanol consumption will be optimal. When we reach that point, we will most likely be consuming some kind of nutrient gel that contains everything the body needs. We will likely inhabit carcinogen free environments. Until that point, and I say this to all my fellow autistic nerds and hacker news readers, it's probably better to go have a drink or two with that cute girl who sits a few cubes down. If you want to extend life, invest/educate yourself on emerging biotechnologies. Otherwise you'll need to start worrying about the carcinogenic materials your electronics occasionally off-gas. Or the PCBs in your wild caught salmon. Or the benzaldehyde. Or the arsenic in your brown rice. Or the pesticide residues in your clothing. Or the ... nevermind.
But what about the health benefits of cycling? Would that cancel it out?
Being really bad at talking to others and thus being listener only for most of the time, I have to disagree.
What will happen when you just listen is that you won't make enemies. And maybe you will make some acquittances, but not friends.
To actually make friends, you have to talk and open up, without each of you opening up and getting to know each other you can hardly claim you are friends. This is the only way how I managed to get friendly with at least few people - at my best I managed to open up a bit.
I think it should already be a pain point that internal Google teams decide to use languages designed by the competition instead of their own.
Luckily I clicked through and discovered the pg's opinion was not what I thought it was, and I consider myself to be a fairly knowledgeable user of HN.

Regardless of what the intention of the up & down vote buttons are, what matters is the reality of what the userbase interprets them to be. I've always been under the impression that a downvote on HN is only for inappropriate discourse (as it is supposed to be on reddit, but then maybe I should go double check that belief as well), rather than disagreement.
> I'm curious if you've used a recent Gnome 3 desktop?

Yes. I have such unreasonable demands as thinking that, say, minimising windows might work the way I'd expect on every other OS, or that the extension API might remain stable across ostensibly minor releases, or that features don't disappear on a whim. I would like my desktop to feel like a desktop, and not like a tablet.
In the early noughties it was certainly in ounces, though it may have changed in the past decade.
Sounds like good progress.
I find myself constitutionally unable to build anything that isn't an engine at this point.

When I was young and inexperienced I could crank out Crap That Works(TM) in seemingly no time at all. At this point I know how to write good code and crap code is just too painful to look at ever.

So I write good code, and I don't attend 48 hour hackathons.
China will start prohibiting ad blocking on September First
A lot of the thinking around pledge (2) is that behavior that an SElinux MAC audit would record, and therefore allow moving forward, should not be allowed.

There are important differences. pledge requires you to modify an application. SELinux can sandbox any application, including untrusted applications (see the use of SELinux in Android).

Since SELinux is external to the application, a system administrator can specify/refine a policy, while pledge calls are compiled in.

As such, a number of attack/bugs found in other operating systems, don't impact OpenBSD because they were forward looking.

This vision is not exclusive to OpenBSD. Red Hat Enterprise Linux has included many of the same mitigation techniques for a long time (starting at RHEL 3 in 2003). Moreover, they have shipped SELinux, which is arguably more powerful than pledge since RHEL 4 in 2005.

(I don't want to discredit the work of the OpenBSD developers, which is great. I just want to point out that there are Linux distributions with similar features, wider hardware support, and wider vendor support. Many OpenBSD supporters just seem to ignore work by others in order to push their favorite system.)
> You can always find ways to monetise an operating system.

That's news to pretty much every *ix vendor except Apple, Red Hat, and maybe Canonical.
The new Vulkan C++ API from Khronos is based on vkcpp. Here's examples for vkcpp to give an idea how code with the C++ API looks like:

https://github.com/jherico/Vulkan

Here's a basic tutorial with comments for the Vulkan C API. Vulkan is a very low level API, so there's a lot of code. It should be straightforward to port the C tutorial to use the C++ API.

http://av.dfki.de/~jhenriques/development.html