skysight-inc/HackerNews huggingface dataset:
> If I'm understanding this correctly, you want to do something like this:

Exactly!

> But Why3 does not support this?

As far as I can tell, it doesn't. I get a syntax error if I either try to name the argument to pred or if I try to add a 'requires {}'.

Maybe they will add this functionality to a future version, or maybe there is already a different but simple way to do this (but I don't know how).

> If you add a precondition like that to pred, wouldn't that also prevent requires/ensures/invariant from calling pred on arguments that don't satisfy the precondition?

No, logical/proof functions are always total, they cannot be partial.

One option is to always define what the function should return for the entire domain of its arguments.

The other main option AFAIK is to define the results only for a restricted domain that interests us and leave the function undefined outside this restricted domain (but in this latter case, we won't be able to extract conclusions about what the function returns outside this restricted domain).

However, as far as I know, the latter option needs to be implemented differently in Why3, specifically as an abstract predicate/function, and then you separately define axioms about things you know about the predicate/function. The disadvantage is that if you make a mistake in one of the axioms (say, you accidentally define that the function returns both True and False for the same input), then you are introducing an inconsistency which allows you to prove anything you want (i.e. you would be able to trivially prove that 2 = 3). This is undesirable, of course.

I think I saw somewhere that if you define a predicate `P` in Why3 that works both for runtime and for proofs, and then you add a precondition `A` to this predicate, then Why3 will automatically add an implication to the predicate for proofs, i.e. if use this predicate in a proof, the predicate will become `A -> P(x)` instead of just `P(x)`. But I'm not entirely certain about this, I could be wrong.

Unfortunately Why3 is not very well documented, the vast majority of what I've learned so far has been through reading the examples, looking through the git history, and trial-and-error.

> In the precondition we do want pred low = False /\ pred high = True, but the run time predicate only allows pred k for low < k < high?

Exactly, this is why I was trying to add a new predicate (for proofs only), which returns False for i <= low and True for i >= high, but calls the other predicate otherwise.

However, I still run into the same problem: I cannot specify that a function argument needs a precondition, and therefore Why3 cannot tell that the precondition doesn't get violated...
When you're doing RF stuff you're usually really only interested in single signal reception and usability. To learn about the various modes this will be way better than an SDR.

The SDR sure has utility but that comes at a compromise. I've done some professional RF stuff in the past and 99% of the problems are solved with very simple and way more precise gear compared to an SDR.

Have a look at http://websdr.org and have a play around with SDRs and then go look at a video for a Yaesu or Icom "rig" and see the difference in the usability. The QSX is more the Yaesu or Icom end of things.
Prepare to be productive regardless of what happening around you.

Think about riding bus for 30 minutes. Can you be productive in there?
Do the same during meeting.
Sad, but not surprising. The majority of bankruptcies are caused from medical bills.
You can always use MusicBrainz Picard?
I'm not sure NSL's are like meat/cheese layers on hamburgers.

What's the NSL equivalent of adding bacon?
Story time: At a party of math students, the following dialogue happened between classmates (names changed):

Alice: "Do you know whether Carol will come to the party?"

Bob: "She will come, but somewhat later. I think she will be there in half an hour."

Alice: "I am not interested in whether she will come or not. If I wanted to know that information, I would simply have asked you whether she will come and if you did not know, you would simply have answered 'I don't know'. But this is not the question that I asked. I just wanted to know whether you have the knowledge whether she will come or not and that is why i formulated the question exactly this way and not differently."
Speak Up America – Alexa skill that calls your rep by voice - no lookup or dial
Users flagged it. That's usually why.
Show HN: Goof – Easily offer a file/directory over a network
See the wiki page for the FISA court [0]

I haven’t read anything that says people/companies must lie, but I have read that they cannot divulge information due to gag orders. (See the court case Microsoft vs US Government [1] )

[0] https://en.m.wikipedia.org/wiki/United_States_Foreign_Intell...

[1] https://en.wikipedia.org/wiki/Microsoft_v._United_States_(20...
Did you factor wealth into that? I would hazard a guess that the bottom 20%-40% in the U.S. would have a considerably lower survival rate than the average for the rest of the country.
It seems unlikely. The differences between OPAQUE and SRP aren't what kept SRP from being adopted. The fact that SRP doesn't really solve a problem that most organizations care about for their web applications is a bigger issue.

Remember, virtually all mainstream applications accept logins over TLS (exclusively) at this point, so being able to authenticate and encrypt a channel with a passphrase isn't all that valuable. As a security engineer working for a startup, there aren't a lot of new features I'd be able to build after having adopted SRP, and essentially none of my real current challenges (credential stuffing, phishing) would get any easier.

That's not to say OPAQUE isn't useful; it's just not that useful in SAAS-type application settings.
> I'd love to see a similar service aimed at men.

Me too! I’ve looked and not found anything comparable.
If you are using Raft for replication, at any given time your replica set has a leader and it is located somewhere, and I would assume that writes from near there are faster than from anywhere else. In FoundationDB this is handled at a somewhat higher layer of the system, and since our transaction pipeline is (very roughly) resolve conflicts -> transaction log -> storage rather than transaction log -> resolve conflicts -> storage, we are also doing conflict resolution in that region.

Moreover, most current users of FoundationDB aren't willing to accept even 1xRTT latencies anywhere in their transaction lifecycle, so they can't abstract away which region is the fast one. A common way (though not the only way) to set things up is that your whole application (not just the database) is active in region A, but prepared to fail over at a moment's notice to run in region B. Ideally this comes at basically no performance penalty relative to a single-region setup in region A. Alternatively, it's possible to read or write the database from passive region(s) (and individual reads will normally happen from the local region with low latency), but each transaction has to pay a geographic latency at some point (or, in the case of read-only transactions, accept reduced consistency).

I think it would be possible to implement something analogous to satellite replication for Raft. It's a really nice set of tradeoffs for many applications, and if your cloud provider or equivalent has their act at all together instantaneous failures of all the datacenters in a region or their networking should really be pretty rare.
I'm not sure what the term is, then. I checked "price segmentation" but it has the same definition. Anyway, I think you know what I'm trying to say. Push people into buckets that benefit the company by moving higher end customers upmarket, and current SR abstainers into a more-expensive-but-cheaper-than-LR option (since they've elected not to buy LR thus far), without much likelihood of LR RWD folks moving 'downmarket' to the MR.

There was no "premium" option because you can't get a car without it, but premium is $5000. $35k+5k premium+9k LR battery = $49k. Presumably the MR is the same; $35k+5k premium+5k MR battery = $45k.

We've got the ugly rims; I figured for the money I can get something I like better. But, my wife likes them, and I'm not in a hurry to spend the money, so on the car they stay :)
Paul Graham, Alan Kay, Rich Hickey, SICP guys (Abelson, Steele?), Larry Wall, Guido...etc.
It's a title and initial caps is a style used for titles. Most people are too lazy to do it nowadays given the amount of titling we need to do for our electronic communications but there is assuredly still some crusty style manual out there advocating it. The New Yorker notably clings to its traditions.
Making insurance carriers legally required to act as a fiduciary to the person holding insurance benefits would be a good start.

States requiring medical services to bundle billing through a state agency (one place to pay) would be another. Although this would in practice mean a bigger government, I think a majority of people would agree to it. Likewise apportionment of payments would go to approved and priority based on service date.

Of course the next step would be to limit exposure to credit to a "single" entry for all medical related bills, and limit the total payroll deductions allowed for medical bills to a total of 10% of one's gross income (deduction pre-tax).

This would take a lot of work inside individual states and at the federal level.
Although I personally find the last sentence unnecessary, I agree with the first part. I've noticed on multiple occasions the last few weeks on both HN and Reddit that headlines + reactions all somehow assume that when no geographic details are given, US is assumed.
Mark Twain, Eccentric
This still sounds the same as client side hashing to me.

At some point I tried talking to people to make client side hashing an option in <input type=password hashmethod=X>, but nobody cared more than saying "yeah sounds good" when prompted. If this would have been implemented and would have become mainstream, browsers can warn if a site (suddenly) doesn't use it, much like warning for http (or even pinning a la hsts). So as it is, it indeed cannot be done securely in browsers.
What burnout looks like
Yes. Dual Socket is 2x6 memory channels.

Which is just as legitimate as AMD's 2x4 memory channels on their quad-NUMA single-socket solution IMO.
Doreen Michele's comment answers this quite well: https://news.ycombinator.com/item?id=17915009
hopefully if demand is strong enough, they will add an AMA feature. :)
Assume you make >$200 a day (~$70k). Assuming linkenin premium helps you get a job one day sooner, it's worth it.
That isn't what happens though. Quality control with foreign suppliers is very difficult. A bad supplier with a bad name will disappear and come back with a new name. The shops are small and there are an enormous amount of them so there is very little what you might call reputation capital. Find people with experience sourcing products in China and get them to tell you stories.
Absolutely this. We're actively building a system to better monitor effectiveness of social content and it's amazing hearing the relief from people when they're seeing numbers for the first time that look like actual KPIs versus platforms spewing out self serving vanity metrics.

FB and much of the current social marketing scene in general have been handing off best practices that feel highly questionable at best.
If you want fat vector units you should be on a GPU.
So this spy doesn’t want Tim to know about it, but does want Bloomberg to know about it?
Heh, I've "bug sniped" co-workers before. They'd be stuck on something and eventually ask for help, then while looking over their shoulder and before they can explain the problem, I'd notice something just looks off and mention it. About half the time it turns out to be a second bug they know about but haven't gotten to yet because of the first one.
Hey HN! I've been practicing with Go, and actually built something that me and a couple other people have been using on a day-to-day basis.

I'm looking forward to feedback and observations.
Any suggestions on how to make the code more idiomatic Golang-like, as well as pointers on the best way to get started with writing tests are especially encouraged!
> It also found that 100 per cent of girls in the study who were already in PSTEM degrees were identified as gamers. However, the same could not be said for boys where a similar amount of gamers existed regardless of degree type, leading to thoughts that boys experience far less pressure to conform to the video gamer stereotype if they were studying a PSTEM degree.

That's a very strange train of thought. Those girls that basically said FU to all the traditional gender roles by getting educated in technology now show 100% conformity to vague expectation that STEM student is a gamer, which is funny because students know not everyone of them is a gamer.
Or indeed other infections. As it was explained to me, elderly people sometimes can't get a fever so the first sign something is wrong can be confusion and other odd behaviour.

In the case of my late mother, it manifested as a fixation on and paranoia about money.

Definitely one to bear in mind.
> First tool for automatic image compression that just works

If you search "image compression tool" on Google you'll have millions of hits of products that do the exact same thing. You even list a bunch of competitors on your website. What makes this the first?
I'm not saying we need to dissolve the federal government, I'm saying that if a lot of the stuff currently done by the executive branch (the alphabet soup of federal agencies) was done by the states there's really wouldn't be much of a difference from the individual liberty point of view.
> more likely to survive in the US after you contract cancer than in the Netherlands.

Not after you contract cancer. After it's been detected.

This is a common misunderstanding of the statistics.

If the Netherlands implemented a huge national screening programme and screened every man over 55 for prostate cancer, and then did nothing at all with those men (zero treatment) their 5 year cancer survival rates would go up. This is because some cancers are slow growing. Lots of men will die with prostate cancer, but not of prostate cancer.

But when we've given someone a scan and found prostate cancer it's hard to say "well, you have cancer, but we're not going to do anything", so you then start treatment. This carries risk of side effects and accidental harm which lower quality of life but might not provide any benefit.

5 year survival rates are just one measure, and you might want to look at life expectancy or quality of life measures instead.

If all that testing and treatment isn't increasing length of life, and is making quality of life worse, and is bankrupting people it's probably a good idea to look at a different way of doing things.
Ludic fallacy
Ooh! thanks for the shadertoy link. I'd been struggling with how to do my curved shapes for my evolver.

http://blag.fingswotidun.com/2016/05/evolved-images-using-sh...
Speak Up America is an Alexa skill that connects you straight to your congressperson without the need of looking them up, finding contact info, or dialing — Speak Up America connects your phone straight to them. Download and demos (same video, different platforms) below:

Download: https://www.amazon.com/dp/B07J2HT7Q2/

Facebook: https://www.facebook.com/joaquin.beltran/posts/1021525463163...

Twitter: https://twitter.com/joaquinlife/status/1050544508717285376

Linkedin: https://www.linkedin.com/feed/update/urn:li:ugcPost:64559704...
Alan Kay did an AMA here in 2016[0]

[0]https://news.ycombinator.com/item?id=11939851
Show HN: GoGifApp, free Slack gifs app with multiple images to pick from at once
While you're probably correct right now, one way that he could begin monetizing it is becoming a recruiting platform that's largely phone based. I think more and more people are moving towards doing most things on mobile platforms, so why not job interviews?
This is not quite correct: No, my original statement is absolutely correct.

Church-Turing is an approach, a labeling, a thesis, not a theorem. Not being a theorem, it is not subject to proof.

One could exhibit a plausible argument that Church-Turing is wrong but that argument would not be a proof. It would not involve a sequence of mathematical argumentation that is standard for those artifacts which we call proofs. Just no.

Pointing to a concrete algorithm would not be a "proof". Maybe it would be very persuasive and the world would be persuaded to abandon Church-Turing. Still it would not be a proof.

Edit: I will admit my claim here involves a "mathematicians' thesis" that proofs are mathematical objects rather than just extra-strong arguments. So be it. I believe the whole reason Church-Turing is labeled a "thesis" rather than a theorem was because it's framers were using this distinction. And the distinction appears in the foundation of mathematics. Philosophers still argue for and against the continuum hypothesis even it's well not to be provable or disprovable - the argument is whether assuming it's true or falsehood produces good or bad mathematics. etc.
Similarly, they've largely stopped negotiating and just raise rates and premiums.
It's pretty close though.
They might have nothing, but even so, celebrate.[1]

[1]:https://www.washingtonpost.com/blogs/erik-wemple/wp/2014/04/...
There are broadly similar services for men, e.g., The Mr. Collection [0]

[0] https://www.themrcollection.com/collections
> Did you factor wealth into that? I would hazard a guess that the bottom 20%-40% in the U.S. would have a considerably lower survival rate than the average for the rest of the country.

The population survival rates for cancer in the US are higher than any other OECD country. That already includes people who don't have insurance or otherwise can't afford treatment.
Να δείξουν την ανωτερότητα τους ΑΕΚ και Παναθηναϊκός
> Why is an account that hasn’t posted in 7 years posting this?

This breaks the HN guideline against insinuating astroturfing without evidence. Please don't do that here—it poisons the well.

https://news.ycombinator.com/newsguidelines.html
Speaking as an Asian immigrant who grew up entirely in the US system and competed in this system, I have very mixed feelings about the lawsuit. There are several problems that I see as common threads in the overarching discussion.

1. You will never be able to find a set of objective metrics that feel both holistically fair and are objective to measure. As an example, most top universities' admissions processes weigh your achievements against your family conditions. Single mother, and you grew up taking care of your younger siblings? Yeah, you won't need as good grades and you won't need to be president of five clubs.

2. Let's say you do try to establish objective metrics. What happens is that the same groups of people who currently do well in the college admissions game will just learn to play the new "objectively measured" college admissions game. Once again, the ones who are able to spend money on college consulting and who are able to practice for the test will do better. That's just status quo with a different yardstick.

My own opinion... I would have supported having a lawsuit like this in a different political climate. I do think that Asians get an unfair deal that should be examined, already discounting for just the fact that with a 6% acceptance rate and the fact that it's Harvard, you will always feel shafted for wanting to and not getting in regardless of actual qualification.

However, right now I absolutely detest that people in my community are letting the conservative segment of America use this issue to drive a wedge between Asians and other minorities. That's not what Asians in the US need right now when the fight is more about protecting minority rights in a democracy. Wrong fight at the wrong time.
Wenatchee does actually have a really solid network infrastructure. Shockingly...
> In the UK, the guy would've needed to live 12-13 years to justify spending that much. He had an aggressive cancer and died a year later, while receiving treatment. Under the U.K. system, the NHS would've been willing to pay well under $100,000 with that prognosis.

This is simply untrue.

There's too much wrong with your link to debunk it. It's almost entirely wrong. Mostly, there is a different QALY threshold applied when drugs are used for people with life expectancy of under 24 months, and also they're using an unsourced value for QALYs.
Plenty of technology doesn’t replace people. Plenty of it isn’t harmful. Some tech even makes the world a better place. Yes, the intersection of those areas can be small. But there are jobs to be had and kept within it, and companies to be started.

Meantime, why do you need to find meaning in your job any more than your local supermarket checkout clerk needs to find meaning in theirs? Sometimes you just need a paycheck. As long as it’s one that’s not hurting anyone else, go ahead and look for meaning elsewhere in your life.
Read-only transactions are serializable by default but can be upgraded to strict serializability, either from the perspective of a single client by passing a transaction timestamp that serves as a causal token, which is free and happens by default with our drivers, or globally, by opting in to the log at the price of additional latency.
I can't wait for the Skylake-X refresh. I use my computer for real-time audio and although the processing scales to multiple cores the "real-timeness" is limited by the speed of the single-core. Sadly AMD still is nowhere near Intel in this regard. I was hoping 2990WX could be an upgrade to 1800X, but sadly it won't be as the single core can also be limited by not having access to local memory. It is Intel this year.
His numbers track closely to mine when I had only an unrelated career behind me.

300~ applications. ~25 actual rejections. ~15 phone interviews. ~5 onsites. ~1 accepted.

It felt both necessary and successful, considering the junior dev market is flooded and treacherous.
You can exchange things and establish a shared secret with someone, but it doesn't tell you who that someone is. You need something else to be sure you really did establish a shared secret with Bob, and not Eve. This could take the for of the other end providing a certificate and signing something with their matching key.
> Google knows the websites I visit thanks to Google Analytics running on most websites

Not if you hosts-block the domain from which g-a is served. In fact, that's probably far more impactful (however you want to measure this intangible impact) than simply not using google.
If the Chinese can infect hardware, and they obviously can, they could also infect phones. Where are phones manufactured? How easy would it be to move the manufactoring back to the US?

All this is a PR and business Armageddon.
Unless I'm missing it, his argument about why MWI is untenable in terms of physics is:

- If the universe splits with each measurement (or interaction), then every possible outcome does occur

- Therefore nothing could be predicted based on probabilities, and that proves MWI is wrong

This seems to have a few logical errors:

Just because everything that can happen does, in MWI, happen in at least one universe, that doesn't mean that the probability of each outcome is identical.

Probabilities still apply: higher probability outcomes mean that one is more likely to find one's self in a universe in which that outcome takes place.

In this way of describing things, it's still a very low (but non-zero!) probability that all the air in your room will move to the corner, leaving you to suffocate in a vacuum. But the way we state it would be, "it's a very low probability that you will find yourself in one of the universes in which this happens".
This comment breaks the Show HN guidelines. Please read them: https://news.ycombinator.com/showhn.html.

A fairer way to post something about this would have been to ask a question about privacy concerns.
This might be the first time I’ve seen the dark side of the moon.