skysight-inc/HackerNews huggingface dataset:
Just once, the first time the application runs into a particular sandbox boundary. The application can decide for itself what granularity it wants to request, then I accept or decline.

For example, the first time I use Chrome to visit a website, it would trigger a dialog requesting permission to “Connect to websites” (i.e. initiate outbound TCP connections toward ports 80 and 443).

The first time I tried to use WebRTC, the dialog would appear for that.
Ruby is a much simpler and more aesthetically pleasant language. Python has all sorts of sharp corners. You really should learn both but I think Ruby is a much easier starting point.

Also, a lot of research on dynamic languages is being done with Ruby, e.g. TruffleRuby, JRuby, RubyOMR, and probably a few more I'm forgetting. Each of those projects is an impressive body of work in and of itself that points to Ruby being very alive and well. Oh, almost forgot about MRuby. I don't think there are similar efforts for Python. In some sense Python is much more stagnant these days in terms of innovation at the language level.
The Story of NoiseTracker by Pex Mahoney Tufvesson
> but uh-oh, people are going to write obscure libraries using these features (eyeing c++ template)

People do that in C++ because C++ lacks some features they want, and goes a long time between updates.

Rust has many built-in metaprogramming features already, and regularly adds more. And if you have something you want to do and can't currently, you can file an RFC.

That makes me much less worried about people (ab)using type-level programming to implement weirdness.
I don’t think the prompt should continually appear. It would just appear the first time an app needs to do something that’s currently out-of-bounds for its sandbox. You then accept it or decline it. Much how the iOS system works.
What kind of logic is that? Just because it goes down on negative news doesn't mean it wouldn't go down on other rumors.
The answer is yes but it's not a unique representation.

1 = 0.9999999999..... for example
Step 1: choose a partner who knows the difference between a noun and a verb.
That sort of sounds like a familial prion disease but really - I don't see that as a legit concern. The enzyme is already present in Strep pyogenes which is practically ubiquitous. A lot of us have that same bacteria colonized in our throats.

I never used CRISPR when I worked in a molecular lab, just a TOL2 system which was pretty cool in its own right. But CRISPR needs a DNA probe (probes are attached to CRISPR to target very specific sequences of DNA for editing) and a way to deliver itself into the cell. I didn't read the paper myself, but I'm guessing they just do a little microinjection of CRISPR into the embryo.

And these gene edits for various hemoglobinopathies (G6PD and thalassemia), while impressive, are very simple. These are very specific mutations that when fixed, should yield a normal/working protein and a healthy phenotype.
Damn. Yeah, you have the correct url. MRR isn't overly impressive, but I do make some money and it's growing. It's been a lot of fun, honestly.
You're not the first person to observe this essential fact, but it just seems that it never percolates to policy makers and their gerrymandered voting blocs.

Say no to drugs but the governments' kept it
Running through our community, killing the unity
The war on drugs is a war on you and me
And yet, they say this is the Home of The Free
But if you ask me, it's all about hypocrisy...

I mean... people liked Tupac for a reason, flaws and all.
Alternatively, you could just use Shen, which actually uses Prolog to implement its type system.
Every website you use -- especially every Google and Facebook site -- is doing data-driven development where security and UI updates are made on a continuous basis.

That doesn't make it a good thing, though. Getting to our usual dashboard now takes about half a minute on Google Analytics instead of about two seconds, thanks to their latest UI update. Facebook have lost a small fortune in advertising revenue from my businesses because of all the times that they've changed their management pages so they simply didn't work when we were going to run ads.

So are a lot of other programs, including browsers.

And with my professional web development hat on, "evergreen" browsers that update every six weeks are among the worst things that have ever happened to the industry. It's the same culture that also brings us a new JS framework every five minutes and a new half-baked, non-standardised CSS feature every ten. None of this is good unless it actually helps people to do more online, and all too often the reverse is true.

Welcome to the modern world.

Thanks, but I'll keep my old school systems where things like stability and reliability matter more than this week's shiny new UI chrome. That's why we still run Win7, we run Linux servers, our web sites and apps only rely on standardised, well-established features, and so on.

Try the US Defense Department, Accenture, and Bank of America.

Are you seriously claiming that the US DOD and major financial institutions let Microsoft install arbitrary updates and reboot their systems whenever they feel like it? I find that impossible to believe.

As I said, Windows 10 Enterprise is essentially a different product.
it is very much not possible to construct the real numbers in such a way that they are countable. (the set of real numbers is the object that "happens" when you fill the "holes" in the set of rational numbers).

cantors diagonalization argument is proof of that. you can't pull some silly trick to make them countable. there are many properties of R that are countable, but that doesn't make R itself countable.
Snapbot is back in action, this time in a Spectacles pop-up shop in Venice, LA
VMware Workstation Pro 12.5.3 Build 5115892 Crack 2017+ Serial Key Free Download
A few years back when I refused to have my data filed electronically the nurse just said dismissingly.

"Suit yourself, next year you won't even be given a choice"
The ACA is a failure because it did nothing to reduce costs and did nothing to share the burden of high risk/unhealthy people beyond the individual market. The combination is a shit storm where costs keep rising and the suckers forced to get individual coverage without subsidies have to pay for everybody that got kicked off employer coverage.
You'd think a hilly city with no digging would experiment with cable gondolas since they're the new thing.
2 things. One of the most corrupt administrations in history took control of the Oval Office, combined with one of the most ideological Congress. If it even looks like a regulation, it will be suspect. No thought, no debate. Whatever makes donors money will be done.
FWIW - if you've ever been exposed to Ford computer systems. the idea of them wanting to do self-driving in-house will strike you as extremely comical.

They can't manage a computer-controlled transmission so far. (And we're not even mentioning SYNC).

This will likely be the inflection point that sees liability laws for computer software, because it's going to be a quite spectacular disaster.
Agda's type system is not turing complete, you can only run on the type-level functions that are proven to be terminating [1] (using well-founded induction or co-induction).

Same for Coq, and probably Idris.

[1]: http://wiki.portal.chalmers.se/agda/pmwiki.php?n=ReferenceMa...
I'm saying perhaps it shows a sign of maturity. Don't get me wrong, anybody who thinks Bitcoin is a solid investment instrument as a whole is not informed. Bitcoin investing by definition is highly speculative and you should have an appetite to sustain massive swings.
The article addresses this question:

“I think this is the first time autonomous driving has been approached so strongly from a deep learning perspective,” says Tandon. “This is in contrast to a traditional robotics approach,” continues Carol Reiley, cofounder and President. “A lot of companies are just using deep learning for this component or that component, while we view it more holistically,” says Reiley.

and

"This is why many companies working on vehicle autonomy are more comfortable with using traditional robotics approaches for decision making, and restrict deep learning to perception. They reason: If your system makes an incorrect decision, you’d want to be able to figure out exactly what happened, and then make sure that the mistake won’t be repeated."

“This is a big problem,” Tandon acknowledges.
> The point of a type system is safety.

Unless I'm missing something, having Turing completeness in a type system doesn't mean it's less safe; it just means the type checker might not terminate. In which case, of course, the code will not compile and thus cannot do anything unsafe (of course the type checker itself might, say, allocate infinite memory and crash your machine... But that's a different story)
The last time hey did this it flooded the market with dirt cheap E5-2560s. Are we in for a new updated deal?
I'm sorry but this is just not true at all in alpine climbing. Plenty of no-fall zones where being comfortable climbing icy 5.8 in boots and crampons is the difference between falling to your death and making it up.
Uber, Volkswagen and Zenefits used hidden code to break the law
I don't think that had anything to do with AWS.

Here's An article from 2006 regarding the earnings. AWS isn't mentioned. Drop in operating income and announcement of Groceries and Baby and Toy stores.

http://www.slate.com/articles/business/moneybox/2006/07/the_...
zxcvbn (https://dl.dropboxusercontent.com/u/209/zxcvbn/test/index.ht...) gives it a score of 4/4 and an entropy of 10^20, meaning it would take centuries to hack at 10B a second. I think this is a slight overstatement of the security, because it's probably more along the lines of 50502^30 which is closer to 10^12. And this would be a legal password (but banned by the bullshit password rule).

I feel like the solution to everything in this thread is just to use zxcvbn and stop with the insane rules for things. In your two cases: the bank would disallow passwords below some limit while the blog would just show you a warning (in case you were ignorant of hacking enough to know that "aaaaaaaa" wasn't a good password), but let you use your awful password to spare you from having to remember it.
Bots are coming to WhatsApp
I wouldn't call Brexit a "minor ruling".
WikiLeaks Will Help Tech Companies Fix Security Flaws, Assange Says
No its not similar to jailbroken iphones as you can download outside the app store as much as you want. I would think we wouldnt have to discuss trival things like who the app store is built for, not sure if you have any apps yourself but i can tell you that i too build apps for my users and they couldnt get their app on the app store in any useful way.
Around the world isn't space. Space costs of anywhere near $1M a person would open a huge market.

Edit: An example is that a price of $30M per seat created a market of 1 commercial space traveler a year in the decade of the 2000s ( and with a risk of life expectation of nearly 1% ).

The Dragon 2 has 7 seats, if re-usable Falcon 9 flights drop below $30M range, you potentially have $5M a seat flights (depending on Dragon costs and number of crew members). And they likely could fill every one of those seats.
I use U and a 4K screen now and am happy with it.
Ya but for some reason Shen uses weird sequent calculus syntax. I'd much rather write Prolog rules than sequents.
On the one hand this article is extremely interesting to me. On the other hand, I don't feel like see a lot of articles from the trenches talking about how to do something in production for Rust, which gives the impression (possibly false) that not many people are using Rust in production.
The history behind wavefront sensors is pretty fascinating. It was developed in the 60's by Hartmann, in order to better image satellites from earth, and then largely ignored by the astronomy community, even though he presented it to them, until the 80's.

I can't find the original paper that I read, but here's a bit of history [1].

[1] https://pdfs.semanticscholar.org/d1ed/a97dd2cf70f54f24b85abc...
I like that the book in the main link has a chapter dependency graph
Liberation Circuit – Rogue AI Simulator (free (GPL) Programming Game)
No i am actually talking purely about the os not the hardware.
Have you considered the possibility that what they taught you in school isn't true?

Many people choose to do opiates on the advice of their doctor, to relieve pain from surgery and the like. Most do not ruin their lives.

Many people choose to become addicted to caffeine. Most do not ruin their lives.

Many people choose to use "soft" recreational drugs like alcohol, tobacco, and marijuana. Most do not ruin their lives.

Many people choose to use "hard" recreational drugs like cocaine, ecstasy, etc. I believe most, but definitely many, including many I personally know, do not ruin their lives.

It's not simple cause and effect. Many causes have to conspire to ruin someone's life. Drugs can contribute, but people can and do use them safely. Conversely, many people being abusing drugs because they're already at a low place in life, as other comments have pointed out.

Addressing those other problems and minimizing the harm contributed by drugs are how we solve the drug abuse problem. More of those school programs to convince people of something untrue won't.
Someone just tell me when my Gmail tab stops using over a gigabyte of RAM by itself. The rest, whatever; I'll worry about them after that's fixed.
I agree Ruby is visually nicer and more aesthetic (though that will always be subjective), but I'd say it's probably harder for a beginner due to all of the metaprogramming constructs.

Python is also very much not stagnant. Look at all of the major changes and feature additions in Python 3.3, 3.4, 3.5, and now 3.6.
Volatility isn't the issue. Bitcoin isn't technically a currency because it can't currently be used directly to pay public debts or taxes in any nation state. Bitcoin is just another commodity like copper or crude oil.
(Worked many years in product pricing for startup to IPO company)

To even begin on a baseline of how you're going to price a product, you need to understand the unit economics of your product. I think too many people fall into the economics trap and apply a theoretical approach into revenue management, when in reality it's more about understanding your business model, how you expect to grow, and the finances; then you apply economic models.

Understanding the financial aspect will allow to create at least a cost based pricing model or margin based pricing; from there it can grow into a value based model where you figure out the value proposition for each customer/market segmentation.

But, obviously all of this is developed mid-stage, and early stage just figure out what gets the customers in the door.

There are a lot of good resources online about this subject.
With as many leaks going on in the govt right now, I expect EVERY political appointee to be let go.

In other words, expect a lot more of this in the coming days.
Well, if so it would be quite natural to do genetic testing to all the Congress members and also the POTUS. Even better, it should be done to all the candidates, so the US people can vote using all the information they need. If they don't need it, the rest of the employers do not need it either.
Gold actually has practical applications. Just go to wikipedia and find out what part of the CPU of the computer you are using to write your comment upon is made of.
President Trump Names Scott Gottlieb as the Next FDA Commissioner
Most users never install new apps after the initisl purchase, so yes you arent typical :)
A/B testing prices is huge. In fact it is so common that loads of web scraping products get totally caught out with it (as ecommerce retailers tend to give the best prices to new customers, ie ones without tracking cookies set).

This actually totally broke one startup I knew (that was trying to build an API for ordering products from loads of ecommerce sites).
STAT News background on Gottlieb:

https://www.statnews.com/2017/03/10/scott-gottlieb-fda-donal...
Answering directly to the question: no, both languages coexist for so long. I don't see "Python killing Ruby".

Learn Ruby if you want to get started in web development, most of Ruby development projects is based on Ruby on Rails, and as a beginner is VERY easy to get started, you will get things done very quickly once you set it up.

Learn Python if you want to do... well, between the two of them python is way more popular in everything but web development. There's web frameworks with Python but I wouldn't recommend them for someone who is starting now (personally, I gave up on Django for Rails).

Nowadays it is better to start with javascript. It's not "beautiful" like those two languages, but is very forgivable and node.js is all the hype right now.
The irony that is that I don't want touch or glossy but I do want 4k.
If going with the web, I'd go with JavaScript, to a degree you have to learn it anyway. Python and Ruby are both relevant for web as well. Rails vs Flask/Django - both will get the job done, plenty of use cases of major corporations using one or the other.

If you're doing DevOps, you should probably learn both.

Everything else, which is more backend, APIs, data, data science, AWS, Google Cloud, Big Data databases, etc - Python over Ruby. You may want to consider Java here tho depending on how much performance is required due to many of those aforementioned Big Data platforms having the JVM underneath the hood.

If you know exactly what you want and it's web, then Ruby, otherwise, all things being equal, Python, and then for all things not being equal, Python.
Blogspam of

http://newsroom.heart.org/news/unhealthy-diets-linked-to-mor...
Bitcoin has inherit utility in allowing immutable and globally accessible data storage, people assign the rest of the value to it. Just like property, except if people with bigger guns come it doesn't matter as it will become theirs if they want
Better than affirmative action hire of last time.
If going with the web, I'd go with JavaScript, to a degree you have to learn it anyway. Python and Ruby are both relevant for web as well. Rails vs Flask/Django - both will get the job done, plenty of use cases of major corporations using one or the other.

If you're doing DevOps, you should probably learn both.

Everything else, which is more backend, APIs, data, data science, AWS, Google Cloud, Big Data databases, etc - Python over Ruby. You may want to consider Java here tho depending on how much performance is required due to many of those aforementioned Big Data platforms having the JVM underneath the hood.

So all things being equal, Python, and then for all things not being equal, Python.
Is there since information in Intel codenames I'm perhaps unaware of?
These are closed sourced apps, all of their code is hidden.
Gmail often uses over 1GB. Some google sheets do too after being open for some time.

With 10 windows and a handful of tabs each, I'm close to using up 16GB of ram and sometimes run out.
Unfortunately I haven't traveled Mexico much to recommend one from personal experience but my friends who have visited Guadalajara and Guanajuato have loved it.
Now, yes. No reason that couldn't change. It's just software.
Not just visually. It is also conceptually much more aesthetically pleasant. I still don't know how metaclasses, descriptors, __magic__ methods, multiple inheritance, all the different string formatting schemes, generators/co-routines, etc. work in Python. The amount of stuff you have to learn in Python is a lot more than in Ruby.
Except it's not stable at all. If you hold USD long term, because of the inflation target of the FED, you'll be able to buy less and less. USD lost a massive amount of value in the previous century alone, despite the massive advances in every field of human activity.

https://www.measuringworth.com/uscompare/relativevalue.php
Ask HN: What book best encapsulates what you learned in business school?
If you had to pick a single book that to you encapsulates the most important principles and theories you learned in business school, what would it be?
At least somebody has some sense.
Something about your philosophical approach made me LOL and think of this poster: https://cdn.shopify.com/s/files/1/0535/6917/products/mistake...
Can you explain how a collision helps? I mean, there's trivial collisions with the truncation that would be used instead. That doesn't mean that bcrypt(f(x)) is any weaker because there may be some other x' that f(x) = f(x').
Really? Wow.

Do you have some links for this? I did not know that and I'm not sure why would you get jail time for that.

I mean, what is the rationale? Is it about somehow preventing transfer from a legal market to an unregulated one?

I get that you can't mint your own gold coins or bars, but why not melt them? I'm very intrigued by this.
Ceci n'est pas une pipeline problem
Haskell's type system isn't Turing-complete or even particularly sophisticated. There are extensions to its type system implemented in GHC that in theory give you unbounded computation, but a) those aren't actually Haskell and b) nobody does any real work with them and c) it gives up trying to typecheck if it takes too long. I don't know much about Idris but a few seconds of searching tells me its type theory is not Turing-complete either.[1]

[1] http://cs.stackexchange.com/questions/19577/what-can-idris-n...
(requires Facebook)
This is cool but generally a bad idea. It introduces weird edge-case scenarios where you have to 'artificially' halt the compiler, as type-resolution (in these kinds of systems) is undecidable. Rust halts type-resolution by limiting recursion, for example. This is sensible, as @tatterdemalion argues, but it feels like a necessary fix created by an unnecessary problem.

This code, for example, will never stop compiling in gcc 4.4.1[0]:

template<int I>
struct Infinite
{
enum { value = (I & 0x1)? Infinite<I+1>::value : Infinite<I-1>::value };
};

int main ()
{
int i = Infinite<1>::value;
}

[0] http://stackoverflow.com/questions/6079603/infinite-compilat...
The cruellest RollerCoaster Tycoon park created
I changed my bank's online account password lately because it wasn't a good password, and then I forgot my new password. Resetting my password was a fucking joke, anyone who's acquainted with me and can do a few google searches could get into my bank account if they had my card number. It's not just their hardware, their whole security practices are messed up but they don't care because the federal government insures every account up to 100k.
This has already been flagged for some unstated reason...

Unlike come of the other comments, as a non-programmer, I really like this. The code seems so easy to follow and tweak. I'm already getting some ideas on how I can expand on this in terms of coupling the easy english syntax to the underlying linux commands in order to display both outputs (so that newbie command-line users see what's happening behind the scenes). A few other things pop to mind but need to spend some time on the code.

In fact, I think an app like this could probably be even more useful with additional comments embedded in the source - as a learning tool. It's this kind of easy to follow code that gets people excited about programming (especially when they can tweak it right away). It's a program that works very well for what it does, doesn't need documentation except for commenting the code.

The newws.py, for example, is a little difficult to follow right away (and modify for entry-level programmers, non-programmers like myself). Commenting here would have been nice:)

I personally would love to see more apps/code like this but maybe HN isn't the place for this:-( I understand why, it's not a criticism on any deficiency here - as the audience is much more advanced.
My app store is homebrew. It's extremely seldom that I don't find what I need there.