skysight-inc/HackerNews huggingface dataset:
To me "your code breaks in surprising ways" means something more like "the user sees gibberish/wrong results" and not "your program segfaults". Segfaulting is not actually a surprising result to me - I have seen it over and over on out of bounds access.
We just started using it this week to coordinate some internal editorial processes - it seems pretty good so far.
I think the argument is that app distribution is controlled by Apple on iOS and by Google on Android, and GP is happier ceding control to the former but not so much the latter. As Google Play Services become more entrenched in the basic functioning of the OS and apps on the platform, it becomes harder to extricate Google out of the Android experience, even if one has the ability to use other app stores.

I think it's a very reasonable position.
I think there's EdgeHTML for Edge (fork), Trident for IE. Isn't Chrome using a fork now? (Blink?)
Defensive pessimism have worked for me in the past.
Convincing yourself that the event is already over and have failed. The deal is done, you don't have to fear your failure - you have already thought through the consequences of failing, and have accepted that you will have to face them. The actual speaking will just involve going through the already determined motions.

This, I find, can give some relieve from the most debilitating effects of anxiety during speaking.

https://en.wikipedia.org/wiki/Defensive_pessimism
One of Saudi Arabia requests was that Al Jazeera got shut down.
The Most Important Basketball Game in Silicon Valley
Agree.

Just a few years ago this was a common understanding.

It was kind of the hard thing about web development.

If course today the hard thing about web development is to keep the build environment working :-P
Witcher developer: Thieves want ransom for leaked Cyberpunk 2077 docs
What's new in Swift 4 [playground]
Since FaunaDB is multi-master (or masterless, if you prefer), there is no failover step per se. Any region in the cluster can receive writes if it is part of the majority partition, and any region can serve consistent reads even if it's temporarily in a minority partition.

You don't have to set any priorities, and partition events don't change commit latency for the cluster majority.

Currently FaunaDB drivers use geo DNS in route53 to automatically find the closest region, although you can pin to specific regions if you know the cname. If that region doesn't own the data for the logical database in question, FaunaDB forwards the request internally.

In the future, drivers will maintain their own ϕ accrual failure detectors and make faster and smarter routing decisions than DNS can provide.
SQL Server on Linux in Docker on a Mac
Not quite. There had been two currencies in the USSR, "cash" and "cashless" (нал and безнал). Retail consumers ("physical persons") could only use cash and institutional consumers ("juridical persons") only cashless. There had not been an easy exchange between the two by design. As the result, all consumer goods production ("group B") was flying blindly under the directions from the central planning. The government's own production ("group A") did have market-like feedback loops since it was running on the same currency and few people complained about this area's performance.

Consumer goods were in total ruin by the 1970s. People used word "deficit" to refer to anything desirable. And no, it has not been a common word or its usage in Russian before the advances in planned economy.
Predicted Cloudiness Map for the Total Solar Eclipse
I don't know if that's your case or not, but I feel like English-speakers living in English-speaking countries dealing with only other English-speakers may never experience the misery of using Siri in other languages.

If I set it to, say, Portuguese or French, its capabilities are greatly diminished. Even simple tasks as "play a song by Pearl Jam" are impossible because Siri will try to find some Portuguese phrase that sounds remotely like "pearl jam". If I set it to English, then I can't use it to send a text to my wife (in Portuguese) or get directions to local streets (named in French). Also people's names.

Google Assistant at least allows me to tell it that I speak those other languages so if I speak in any of them, it will understand as such. I can say "play Pearl Jam" in English, "envie uma mensagem para minha esposa" in Portuguese or "trouve-moi le boulevard laurier" in French and Google Assistant will get what language I'm using. It's a big help. Not perfect, but at least it's usable.

EDITED: grammar
Social media bubbles may threaten democracy
Awesome, looking forward to it, and nice work on PyUp!
Nice idea,its's promising dude...i like it!
Jup, that was my own conclusion as well
Reddit has not the same quality and daily science lacks the community.
Moreover, the "kinda good" level is not at a very high price point. I've never had an undrinkable bottle that cost over $15 (unless it was "corked"). A majority of wines I've tried over $10/bottle are very drinkable. I think it has to do with the amount of money it takes to literally put the wine in the bottle.
What do you like about it?
Where the "avocado toast" narrative fails is that young people now are actually spending a smaller portion of their income on eating out than previous generations did at the same age. The categories they are spending more on are things like healthcare, housing and education.
On most macs I suspect there is one user -- so there isn't that much difference between user access and root access, either way you can read my web history and all my e-mails.
AI is a funny field where you may still be in a great position by just having millions of your capable devices distributed to people. Software wise it's relatively easy to adopt state of the art - without necessarily doing research yourself. On the cloud side they have the capacity as well, that's not a blocker for them.
Do they not offer Videos of Lectures anymore?
Since you successfully passed the Google interview, can you comment on how much the OCW content prepared you for it? Or did you have to supplement with other algorithm books? I believe many people would find your self-taught-no-CS-degree experience very interesting.
All these Android alternatives really make me wish I have someone other than Verizon as a carrier.
Siri: "Oh you have a question. Let me Google that for you."
the ezception that proves the rule.

You could, theoretically, leave the USSR, if you paid back what society had invested in you. De facto it was very hard to leave

You can quit your job. Except many of us de facto can't (H1B1, non compete clauses, etc)

Leaving Yugoslavia was probably easier than being an Indian engineer on an H1B working for a company with a non compete clause.

Btw, I don't think Hayek or any of the Austrians had very benign attitudes towards multinationals or large corporations: Begging for tax payer largess, ghostwriting regulations creating artificial barriers to entry, abusing immigration law to have a de facto slave. Mises and Rothbard would tut tut. And they were the hard core anti commies!
I think TOAD has as well.
It's not that there's no reasons to have them, it's that companies like CNN abuse the privilege cause their advertisers don't mind embellished numbers.
Pretty fun article. I did a major Research Paper on slowing down the English "writing process" on purpose to focus more on fundamentals (grammar, spelling) without the assists of modern technology. Start with quill, eventually get to typewriter.

Writing well takes active thought. That's why this quote is, to me, giggle worthy:

>"In 15 years I think the input interface and the idea of a 'document' [will] be entirely reimagined," Chen suggests. "I don't think we'll be at telepathy in that timeframe but I can see a lot more speech and audio playing a larger role for input. Video is already augmenting the document, but VR could be ubiquitous by then."

Formal writing style - especially in long essays - is quite different than spoken word cadences. Basically my point is people don't customarily speak with the same discipline or rigor that they might put into writing. Tack on the issue, in the US at least, of thick regional accents and I really, really don't see Voice Input being the amazing game changer it can be advertised as from time to time (see: Siri).
Ask HN: What admin functionality does the back end of your website have?
I'm looking to add further useful features for administrating my website.

Currently it allows admins to impersonate any user, and to resend confirmation emails or lock user accounts.

Any suggestions?
It may not be absolute advice, but certainly applicable in many companies.

For instance getting a new environment setup inside a company that is a big Azure customer. There are forms, reviews, cost centers, and more reviews. Even to get a QA environment. I have access to a subscription, and more than once I've just set things up for people.

We're talking potentially weeks of time lost just to start working.

Not to mention the seemingly severe lack of willingness to prototype within an organization these days.
Uh... Custom derive?
Location: Russia
Remote: No
Willing to relocate: Yes, Europe, preferably Berlin
Technologies: C++, OpenCV, Python
Résumé/CV: http://alferov.io/files/CV2017.pdf
Email: dmitry.ig.alferov@gmail.com

My name is Dmitry Alferov. I am a C++ developer with one year of experience in computer vision. Ideally I wanted to work in infosec/computervision fields.
OK, we affixed "like" to "Excel" above.

Edit: we also changed the URL from https://demo.retool.in/demo by submitter's request.
There's OpenWebRTC, which is optimized for standalone applications like media servers and proxies. The version in Chromium is also pretty easy to build and run in C/C++ applications on Linux, but requires extra work for an application like Safari.
> (i.e. sells their customers' data to advertisers).

This is not true
That's a scaling issue. Communes work well up to about 100 people. Today's larger kibbutz is more like a company with worker housing. "Differential pay was introduced into the kibbutz structure; management has become increasingly professionalized; and the community and business structures have been separated"[1]

[1] http://www.jewishvirtuallibrary.org/history-and-overview-of-...
Props to whoever designed the page for staying away from parallax effects and unnecessary effects.
Currently I structure my URLs like this:

/v1/2017-06-08/blah

The idea is that you write in the date that you wrote the implementation against the API. This is just like Stripe's API, but explicit rather than implicit. Then everything under that will continue to work as-is.

There's a few reasons I like to do this, but the main one is that I often struggle to decide whether a given change is really "worthy" of a major version change.

The only rule/caveat we have is: within a given client's implementation, you should only use one date at a time. Mixing them creates a small possibility of compatibility issues.

The initial /v1/ is just in case I decide to move away from the date thing at some stage.
No mention of William Clifford?
Ask HN: Life changing ideas/talks
I listen to a lot of TED talks because I like the way they change my perspective. I was wondering if anyone else had any ideas or had read any articles that were inspiring or motivational or just generally life changing.
S-expressions are less of a grammar. (send-to (account-of "John") money) has a tree structure that is known even if those symbols have no assigned meaning or lexical category. We know that structure by following just the tiny grammar that governs the parentheses and symbols, instead of the huge (and not completely knowable) grammar which governs sentences like "send the money to John's account".

Linguists do in fact use parenthesized notation ("labelled brackets")

http://www.glottopedia.org/index.php/Labeled_bracketing

This indicates what the syntax is of a sentence, so that parsing according to a grammar is no longer necessary.
const does not imply pure. If applied to a member function, it makes this const; if applied to types it makes types const. Purity is a different concept. The closest match would probably be constexpr.
Show HN: Modify any website in real-time.Inject your code,Save your mod,Share it
Pot sales a bright spot in Washington State’s retail sector, tax data shows
Since 1.11 is an LTS release, presumably its share will increase. It'll be the default for new projects now.
Nobody writes hyperbolic headlines like Bloomberg.

P.S. For all those taking this seriously, I deliberately wrote it as a hyperbolic phrase. I am fully aware that other organizations do hyperbole better than Bloomberg.

Original title: Democracy Never Faced a Threat Like Facebook
A VC perspective on disruption in the translation industry
Ask HN: What have the s/w interviews evolved to :(
Throwaway a/c for obvious reasons. I am a software dev with a few years of exp. and preparing for s/w dev interviews at Facebook, Google, Airbnb et. al.

At my current company I am decent performer and have been working/delivering on some critical projects but some how I find the preparation for these interviews overwhelming. I feel lost with the vast amounts of subject knowledge one needs to acquire to succeed in them.

Some of the problem solving/algorithm questions that are being asked, I find it very hard to figure out the perfect solution leave alone coming up with a solution in the 45min window one is provided. The crazy dp/graph problems that get asked are something I find hard to grapple with.

I am in no way trying to be critical of the interview processes but actually respect them!!! and makes me feel the folks working there are super human.

This is making me very miserable and I am losing my sleep over this and this is effecting my daily job as well; Anyways just wanted to vent out the steam and look for ways other ppl here coped with similar situations and how to be successful.

P.S: IMO, going thru Career Cup and other interview prep material is helpful but awfully falls short of the kind of questions being asked! In fact sometimes I want to walk away from the interviews unless I am in the range of decent ranking topcoder and that makes me question the whole cs career has come to be i.e. does one have to be an elite competition level coder and only then have a fair chance to work in the top companies and whether this really translates to great software contribution.
Roy Fielding himself had an interesting interview [0] where versioning a REST API was one of the topics (spoilers: version is not in the url nor headers).

[0]: https://www.infoq.com/articles/roy-fielding-on-versioning/
Im not trying to deal "my opinion" or to show you up. My corrections to your comment are not simply relate-able to the arable soil problem, because the reference that you mistook, did not include any information on erosion of arable soils. It included mention of "global soil erosion" as an unquantified contribution to carbon emissions of "global soil oxidation".

It is "likely completely impossible" to reduce global soil erosion by 10% because when you consider that it includes all soil erosion globally (running off the sides of Mongolia.. Amazon.. Siberia.. etc.) -- I hope you can appreciate it is not what you took it to be at first glance.
>A very brief summary of its conclusions is: central planning can only perform as well as or better than the market when the economy is completely stagnant.

I'd hardly say that was either proven or agreed upon

>"centrally planned economy managed by the government" by definition leaves no space for "an open market" for "more productive or talented citizens" to "choose to earn more wealth and purchase from."

I don't see this a being "by definition" either. You can have a centrally planned economy with people who are independent (or at least as independent as they are in any other economic system) in what job they choose, where they choose to work and what they choose to buy. The government could assess the demand for a product at a given price, determine the resources (material or human) necessary to produce that product as well as all other demands for those resources. When the demands exceed resource availability, you then raise the price for that resource, refactor that into the price of the final product and then assess the demand for it at that new price. You raise the price for each constraining resource until the demand drops to a level that can be fulfilled. This would include specialized labor, so if a job is in high demand and short supply, the wage for that job would go up until the supply increases and/or demand decreases to reach equilibrium.

All of this already happens in an ad-hoc way in a free market, but in a free market it can take a long time for changes in input prices to be reflected in output prices, and it can take even longer to determine how those will affect demand. I don't see why that couldn't be formalized and worked out centrally. I'm imagining an economy where everyone is issued a smartphone through which they make all of their purchases and through which they find and respond to bids for employment. Demand could then be assessed fairly accurately and instantaneously. It seems like it would be way more efficient in terms of reductions in redundancy, overproduction, costs incurred attempting to generate demand that does not exist or siphon demand from competitors' products, and price increases solely for profit-maximization in cases where demand is inelastic and supplies are sufficient (like epi-pens or insulin).

Modeling it would probably be extremely complex and might still exceed our current computational capacity, I dunno, but I don't see any reason to call it impossible.
No, I don't believe it does. There are perfectly safe operations that must be done in unsafe, because the compiler is not smart enough to determine they are safe. Thus when describing a potential operation, saying it "requires unsafe" does not imply it can blow up in your face, just that the compiler is not smart enough to determine that at this time.

This is exactly why warnings should strive to be as clear as possible. Just because you think it's not ambiguous, doesn't mean you aren't just missing some context that someone else might have that makes the statement somewhat ambiguous.
Enough just-so stories! I have been mostly saying this part for the last several years:

But one particular aspect of his argument is his distress at the idea that almost all evolutionary change is assumed to be adaptive, contributing to fitness. In other words, if a fish is blue, it must be blue for a reason. The color must help it escape predators or sneak up on prey, or be otherwise useful in some way. Beauty, therefore, must be adaptive, or a sign of underlying qualities that are adaptive. Pick a behavior or an ornament or a physical trait, and it is useful until proven otherwise.

That’s backward, says Dr. Prum. Take beauty. Since animals have aesthetic preferences and make choices, beauty will inevitably appear. “Beauty happens,” as he puts it, and it should be taken as nonadaptive until proven otherwise.
Uh wait though, isn't this the entire tech business? Get people to centralize on using a technology then build a monopoly/moat around it? Who's going to acquire the sexy startups if we abandon our monopolistic ideas and the massive cash troves that come with them? Is there really another way?

I know, I know, nobody wants to believe this is truly what happens. But let's be honest, big companies control much of what happens on the web now. And then they acquire smaller companies that challenge them. And the government doesn't know anything about tech or not nearly enough to understand that these monopolies probably need to be broken up.

Can you think of an alternative to the system we're in, or does all technology lead to centralization like this?
Agreed, former Speech and Debate participant for several years. Did not place well. Consistently last actually. Was extremely useful in learning to care less and less about being in front of people and the center of attention. Still get massive guitar playing stage fright though.
I wish I could switch to Firefox, but I'm really dependent on sync features and I just love Chrome OS on my chromebook...

Are there any solid solutions for Firefox <-> Chrome syncing?
Aware of the complexities, but Clinton wasn't impeached by the Senate despite giving a knowingly false statement.

While being vague is not a get out of jail free card, it's demonstrably easier to defend a vague statement than a concrete one.
Sounds very cool. One thing I'd love to see on the pricing page is an estimation tool where you can enter different values to see a monthly cost estimate.
Hey -- sorry you were bugged by Intercom. I used it at a previous startup and it was pretty useful for communicating with users in real time. I'll see if I can make it not play the sound on page open!
It may get logged by the server but if it's designed to be parsed client-side, there may not be any server-side code examining or sanitizing that value before the SPA gets to it.
In fact, true homosexuality (no heterosexual coupling) would lead to lower fitness. Only humans and domesticated sheep have it. Probably because of relaxed evolutionary pressures on both, where fitness began to be less relevant.
CoreOS moves in on cloud DevOps with Kubernetes
I was very fond of his talk. Not much news but he answered on youtube saying he was still active on this. Time will tell.
You do realize there is overlap between services people use right?
Labeled JavaScript break statements
Did you read the next sentence after what you quoted?

Because Apple has always shaped so much of our development environment, it's easy to take these things as natural law. I'm assuming you're a younger developer based on your assertions – I would probably even agree with those suppositions based on the tone of posts like mine that seem anti-Apple. But the history of these technologies is glaring, and native/web/hybrid apps have never been given equal footing.

Nothing you said refutes a financial incentive in the app store, and most apps don't need "more power and capabilities", they need access to a basic API that isn't randomly crippled.

If you care about this subject, read about the history of UIWebView, WKWebView and hybrid apps, you will see how uniquely broken the platform is. Android doesn't suffer the same problems for a host of reasons, but that makes sense given Google's incentive for web. Hybrid and web apps are then not terribly appealing since they're only effective on one platform, so the ecosystem stagnates.

Here's a post I saw a few days ago, by coincidence: https://hackernoon.com/if-it-werent-for-apple-hybrid-app-dev...
this is just an IBM press release, the projects haven't started yet, and it's unlikely that AI will solve world issues.
There seems to be something here: https://github.com/rust-lang/rust-roadmap/issues/17 ?
These countries are pretty much into emulating western capitalism. I was thinking about the other case.
You're also operating on a fallacy that if they were wrong then, they must be wrong now.
I do not believe any entity in the world has statistics strong enough to make predictions like the expected percentage change in XSS year over year. Everyone claiming to have those statistics has thoroughly confounded their analyses by relying heavily on applications that have been made available to specific tools and companies. But the modal web application deployed on the Internet is the one that has had no security testing whatsoever.

Be very suspicious of articles like these.
Garry Kasparov is a Fomenko fan! As conspiracy theories go, I have to admit that it is pretty good.
> OSS just gives you an option to "fix it yourself".

I would also say that generally speaking you also get more eyes on your source code so you increase the likelihood that someone will find the flaw more quickly (although you could also say it's easier for bad actors to locate flaws to exploit too).