skysight-inc/HackerNews huggingface dataset:
> On a separate note, why is "contract" becoming a keyword instead of "type foo contract {}"?

I was wondering about this too. It also just feels really weird since it's a different construction than any of the other types.

Maybe the thinking is because a contract is not a type? But so what...

On first blush, it also feels weird that type is coming _before_ the type arguments, rather than after -- since types for normal arguments come after the argument.

E.g.,

Map(T, U type)(t []T, f func(T) U) []U

feels much more consistent than

Map(type T, U)(t []T, f func(T) U) []U

no? (Perhaps it complicates parsing, though?)
There are more countries besides United States. I don't know why people here always refer to it as if it were the only ruler of the internet. It's not. In fact it does a piss poor job at playing its part.
But you don't have to see if you qualify. You can just go straight to the claim form:

https://secure.equifaxbreachsettlement.com/en/claim

and let them sort it out.
Education is more a filtering mechanism than an enrichment mechanism. Panning does not create gold.

Regardless, 5 standard deviations is enormously huge. Every person born would be as smart as the most elite scientists today. The most elite scientists in the future will be far smarter than anyone who ever lived.

This has enormous military consequences, much larger than squeezing the dry rag of education.
You may like this take (rant?) which describes further loans from US to UK.
https://www.bbc.co.uk/history/british/modern/marshall_01.sht...
Are you sure you read that properly? Maybe it is not clear from the text, but basically adrenal gland malfunction which result in hyperproduction of adrenaline literally burn you up.

Hormone disbalance in general can mess you up seriously. I have a female friend which had all sorts of health issues. Bringing hormone levels under control (not hormones themselves but the causes) helped her become a new person and liven up. She might even consider having kids now. She is still under all sorts of therapies, but it is not trivial to relate causes and effects, her case not being even remotely mistic. Imagine when the direct cause is a rarely problematic hormone, provoked by an even more obscure issue.
Absolutely! My point is that it's ill-suited to be a currency because we know now that stable currencies need to be able to match supply to demand. Because of crypto's fixed supply, it behaves more like an asset (though it certainly need not be an appreciating asset).

Overall, I believe that a successful crypto will behave more like an asset than a currency. The failing ones are just dust.
This tweet from Ryan Florence [1], a big influencer in the frontend community, is something I think back to pretty often. Its so clear to me that GraphQL is designed and pushed primarily by frontend devs who's goal is, probably unconsciously, to reduce the complexity and thus workload of their slice of the system. Its a selfish local optimization that dramatically increases the net complexity of the entire system. "You dumb backend devs created so much complexity for us frontenders, now its our turn to ruin YOUR part of the system."

GraphQL may one day have the tooling and ecosystem to reduce the net complexity of the entire system, but that day wasn't a year ago, its definitely not today, and judging by how long the community has had to mature and still hasn't... probably won't be for a very long time, if ever. Probably because, again, its pushed by frontend developers primarily, so the pace of innovation on the backend side of it is dramatically slower. Apollo Client is an amazing piece of software that does some insanely smart things; Apollo Server is a thin wrapper around Express which does nearly nothing of value beside "make a GraphQL server possible."

Given how slowly things are progressing in GraphQL-land, I'd estimate that it has another two years before the zeitgeist moves against it. Though I hope I'm wrong, because its got some pretty cool ideas and is dramatically better for frontend development than anything else out there.

[1] https://twitter.com/ryanflorence/status/1060557386421723136
There are parts of the USA seeking GREAT education. We may see that trend change.

I just installed some advanced manufacturing equipment into a HIGH SCHOOL level facility.

That building has awesome tech in it. They've spared no expense.

Let's put it this way. I am a skilled manufacturer. Could prototype a ton of stuff in there. They are missing very little, and as I pointed out to them in a discussion, the very first projects should be to simply manufacture the fill in pieces of equipment. The facility is weak in some basic areas that are not hard to manufacture. We discussed the idea of having the students maintain and add to the capabilities over time.

Likely to happen.

There are pockets like this all over the place.

What we are missing is general political will. That's changing as we realize we've missed out on a whole generation of people. Didn't do these things, and the impact is profound.
9 Tips for training lightning fast neural networks in Pytorch
> Admittedly, debugging is not perfect (at least not with my Docker Compose setup in PyCharm)
A bit off-topic, but how so? It works fine for me using the setup described here https://www.jetbrains.com/help/pycharm/using-docker-compose-...
Be very skeptical about wearing mental disorders as honor badges.

I was involved with online support groups. These were not people looking for bragging rights. They were people trying to make their lives work and finding that their differences were a significant social burden that was often threatening to outright ruin their lives.

One point of clarification: I don't have a mental disorder. I have a genetic disorder, which is a serious medical condition.

My original assertion was that there is some evidence that some genetic disorders correspond to higher IQ. I stand by that.

The detail about the more well established pattern that issues like OCD are known to be a problem for people with extremely high IQs was introduced to rebut the idea that the lives of "smart people" are globally better in every way from that of "average people." But replies focusing on that seem to be moving the goal posts, which makes it difficult to meaningfully engage.
Why wouldn't they? This is the way everything has worked: A company comes up with a procedure, it's expensive because of R&D, then it becomes cheap so everyone can afford it. Why would this be any different?
No, Google Adsense allows javascript so advertisers can fingerprint and track the user's browser. Occasionally, some advertiser will drop the charade and just set top.location="https://example.com/" and, after too many user/publisher complaints and a few days, Google will manually block them.
They restrict “providing goods and services”, not just monetary transactions.

See https://www.treasury.gov/resource-center/faqs/Sanctions/Page...
Java 8 is end-of-life. You can’t get updates to security issues unless you pay oracle.

Either move to Java 11, or move to another platform.
1x yearly revenue for a business like that would be something people would accept rather easily. SaaS runs a lot of risk that someone will produce a better product. Customers will also generally leave the product over time. 1x annual revenue is a quick sale.
How would the rich prevent the rest of us from getting the same treatment? In theory it's possible if they keep the technology a secret, but these are very difficult to protect (especially in California where non-compete clauses are unenforceable). Patents are much easier to enforce but they expire after a couple of decades.
Ask HN: Withdrawing Cash from a Credit Card
Credit cards charge up to 5% in fees + interest to withdraw cash. So if you need to pull £100 - you'd end up paying, I don't know, £10 in total in fees for a month. Super expensive.

What if I offered a service where you pay me/my company by Stripe, £100, and I give you the cash for £5. You save tonnes of money. And on your credit card statement it appears as a POS / merchant transaction, so no negative impact on your credit score.

Would you use this? Is it a good idea?
This is probably just a funny statement but be careful about submersion w/o conditioning yourself for it prior: https://en.wikipedia.org/wiki/Cold_shock_response
There could be some solvent that you use with it. Would be remarkably easy, too.
It's too good to be true. There will be a catch of some sort. Color me ultra critical.

And "dry rag" very seriously devalues people. Maybe doing that is the catch itself. One does wonder.

Good education is more than a filter.

Great people are a combination of nature and nurture.
This is why I keep coming back to HN, for the laughs...
Trouble with Tokyo is not the rents - it's the absurd move-in charge (often running into 5-6 times the rent). You can generally find apartments for cheap (~$750) for either a shared house, or a full blown apartment with appliances. Trouble is that these apartments, though in Tokyo are often one train away from Yamanote, which makes the commute interesting. Of course, if you commute by bicycle, none of this matters.
> There can be too little regulation. There can be too much regulation. There can be wrong kind of regulation.

Fully agreed. All markets are constructed, all markets are regulated — even if only by the existence of a court system for resolving disputes. But it is a difficult task to craft minimal regulation which fosters enduring competition and forestalls the natural tendency of markets towards monopoly, monopsony, and other varieties of market failure.
Is this even possible? Buying the best genes as if you could buy an Armani suit.

What this should say is "Should the rich be able to saddle their children with untested, unproven genetic technology in the hopes they can select for traits that give them competitive advantage in their social world, no matter what the side costs are?"

The answer should be no. If you want to breed children like show dogs, it doesn't matter how smart they are in the end, you've diminished them.
“Voter fraud” in that context that is at best a boogeyman and at worse code for “poor and brown people voting”.
> 5+ standard deviation increases in many traits is on the table...

Sure dude, go ahead and subject your kid to experimental genetic modification in Singapore to chase this compelling evidence.
How is that still a debate?

I often use firefox reader mode just because websites use custom fonts, and to remove all the clutter, even when there is no ads.

Also, it won't be long until reddit is sued and must remove comments where people copy-paste the entire article because of pay walls and ad blockers. Same for outline. I guess website will start findings ways to prevent copy pasting, and maybe someone will create some app that just let their users browse a PNG rendering of websites.

It's almost as if normal newspapers might be considered a good alternative.
>The answer should be no. If you want to breed children like show dogs, it doesn't matter how smart they are in the end, you've diminished them.

this is called 'choosing a partner'
Yeah not to mention malware is often fed through ad services. I want context based ads. Context being the web page I am on not my life story.

All it takes is one of these tech giants pulling a Equifax and who knows how much data spills over.
I think your analogy misses the key point, that is in your analogy the company that sent out the defective physical product is now "fined" by the US government and forced to send out repair kits to those that request them; when a user requests this repair kit the company charges the fund created by the "fine" $813 to send out the repair kit even though the repair kit cost is pennies.

It's racketeering.
So, should we do something about it? I get that it's the law, but not that long ago it was illegal for people of color to vote here.
Appreciation for Clay Shirky’s comments on the Early Web and how it would end
Read the fine print in case this is illegal.

Be aware that someone can try a chargeback. :)

Somewhat related: "Candy Japan hit with credit card fraud" https://news.ycombinator.com/item?id=10237697 (293 points by bemmu on Sept 18, 2015 | 204 comments )
>Why would they sell it to you later?

to make more money? why would rich customers have any ability to restrict their medical service providers from expanding their customer base?
China’s Long View
Your version still has the problem that since Java 7 the substring method allocates a new String, which in unnecessary when it is only borrowed to the parseLine function and not needed afterwards.
What you probably want is a view that reuses the same underlying data. With the following I get around 2 GB/s:

public void readString(String data) throws IOException {
int lastIdx = 0;
for (int idx = data.indexOf('\n'); idx > -1; idx = data.indexOf('\n', lastIdx)) {
parseLine(subSequenceView(data, lastIdx, idx));
lastIdx = idx + 1;
}
parseLine(subSequenceView(data, lastIdx, data.length()));
}

CharSequence subSequenceView(CharSequence base, int beginIndex, int endIndex) {
return new StringView(base, beginIndex, endIndex - beginIndex);
}

static class StringView implements CharSequence {
final CharSequence base;
final int offset;
final int length;

StringView(CharSequence base, int offset, int length) {
if (length < 0) throw new IllegalArgumentException("length must be >= 0");
this.base = base;
this.offset = offset;
this.length = length;
}

@Override
public char charAt(int n) {
if (n < 0 || n >= length)
throw new IndexOutOfBoundsException(n);
return base.charAt(offset + n);
}

@Override
public int length() {
return length;
}

@Override
public CharSequence subSequence(int beginIndex, int endIndex) {
return new StringView(base, offset + beginIndex, endIndex - beginIndex);
}
}
I have no issue with static, contextual ads (I had this conversation on here the other day in fact).

Imagine reading something about, say, a particular lawnmower and the article has a link to that lawnmower at the top as an ad from Flymo with a discount. No tracking just a link to buy it with a tracking Id in the URL or something.

Can someone answer me this: Are there studies, not funded by those who benefit from mass-tracking, that show the benefit of all this data-gathering to show ads? Or that show it doesn't work perhaps?

My gut tells me the difference in success rate is minimal and couldn't possibly justify the data collection but I'd love to be proven wrong.

At this time, I believe the whole scheme to be a con. (there, I said it!)
What are your best Growth experiments / strategies?
Hello guys !

I'm curious, what were your most effective / successful growth experiments or strategy ? Can you give the context, the design of your experiment, and the results ?

I share one :

CONTEXT
Peter’s a tutoring chatbot available through Facebook Messenger, always there and ready to help students with whatever questions they may have.
Our early users were pumped and everything was great but we needed to find our marketplace equilibrium.
We actually got an early peak of users about a month after launch. When we saw that, we opened up the service to a bunch more tutors — and that meant that we didn’t have time to check them all out, pedagogically speaking…and all of a sudden, our users were less pumped about the experience.
We therefore had to slow down the onboarding of new students to ensure that the number of good tutors was proportional to the number of students.

EXPERIMENT
That's when we set up a the queue jumper hack What is this? This is basically a waiting list that the user can jump by sharing Peter with others. Anyone can sign up for Peter, but they’re then put on a waiting list. The fastest way to jump up that list is by sharing Peter with your friends.
We put this system in place over the winter holidays, when Peter’s activity was at its lowest. At that time we had about 800 students and 300 tutors.

RESULTS
On the first day that the Queue-Jumper was deployed, we got 16 new users. Not bad! On the second day, we got 64. And that’s when I started to think and called up my co-founders, saying: “Guys, if we can keep doubling every day, or even just every week, we’ll be up to 10,000 users really fast!”
But Peter didn’t double every day. On Day 3, he absolutely exploded : 40,000 new students sign up IN. A. DAY.
And you “don’t buy it” because? Blind faith in Boeing and the FAA not being corrupt?

Fact is, the FAA has outsourced large parts of certification to the very manufacturer whose plane it was to certify. Either physically (by using Boeing manpower) or conceptually (by not testing everything because Boeing told them nothing has changed even though that was not true).
Doesn't surprise me. If I look how people build class systems with JS before ES2015, I'd guess all languages that have closures and higher order functions could invent OOP. Maybe that isn't even needed IDK.
Physicists Discover Quantum Law of Protein Folding
I wasn't suggesting that the term corresponded to a homogeneous genetic/ethnic makeup. I was only suggesting they win a lot of "smart people" type awards and also are known to suffer at high rates from genetic disorders.
Where is this school? Sounds interesting.
I have things like Postgres, Redis, Rabbitmq, etc running in docker on my local machine for development. I have a recommended configuration/install prebuilt and kept updated for me, and if I want to test my apps against a new release of redis for example (major or minor) it’s trivial to run parallel versions.
Richard Clarke is sounding the alarm about another kind of 9/11
> In most of the West large government programs aren't on the table, so that doesn't register as important to us. I am not even sure there is much that can be done about it. It is literally history in the making really.

Well said....I'd agree that not much can be done based on the current nature of both political and public/personal discourse, but can the quality of this discourse not be improved? From where I sit, this is quite literally the biggest problem, and I see very little initiative from any camp to improve it. On the contrary, there are plenty of people who are in positions where they could make a difference, but seem to be completely unable to even consider the idea that there is even a problem in this area.

History in the making indeed!
It doesn’t seem very useful to talk about “regulation” as some sort of singular entity.

When you talk about the positive results of deregulation, that’s all economic regulation. Freight being run on regulated routes with regulated prices was protecting various groups’ economic interests. Usually at the implicit expense of the economic interests of everyone else.

Safety regulations are a completely different beast. Safety regulations in aviation have increased massively over this same timeframe, and the result has been an even more massive increase in safety. Crashes went from routine to unheard of despite a huge increase in activity. Cars have seen a similar increase in safety regulations and in actual safety, although the safety gains have been more modest and seem to have stalled out in the last five years or so.

That doesn’t mean safety regulation is necessarily good or that deregulation couldn’t be helpful sometimes. But the actual track record in recent decades is completely contrary to this idea of decreasing regulation providing better results.

We’re fixating on one instance of failure because it looks like a canary in the coal mine indicating a threat to the safest mode of travel ever devised.
Consumer: im blocking all ads for reason x

Advertiser: dont block my ads because the business depends on it

Consumer: here's a solution that works for me

Advertiser: but then that solution doesn't work for me

Consumer: i don't care, im still blocking all ads until I feel like i don't have to
The article is quite clear that this formulation of the problem has been around for a while and did not lead to a proof until Huang had his special insight.

> Huang knew, as did the broader research community, that the sensitivity conjecture could be settled if mathematicians could prove an easily stated conjecture about collections of points on cubes of different dimensions.

> In 1992, Craig Gotsman, now of the New Jersey Institute of Technology, and Nati Linial of Hebrew University figured out that proving the sensitivity conjecture can be reduced to answering a simple question about cubes of different dimensions: If you choose any collection of more than half the corners of a cube and color them red, is there always some red point that is connected to many other red points?
Learning a new topic also entails learning its terminology. As a newbie to the subject, I'm amused by chapter headings like "Abstract Simplicial Complex" that seem like an oxymoron :-)
While this particular mural might have very few redeeming qualities per se, it's the justifications used to remove it that are dangerous (also quite stupid, but given people they are coming from that is to be expected). It's just a generally bad idea to allow things to be destroyed under such pretenses.

That, and for the money they want to do it, they could've done something to make SF schools better, it's not like they were giving particularly good education there to begin with.
>In the US, trading a very long commute for lower housing costs is widely understood and socially acceptable, I wonder why trading a tiny space for low rent and a short commute isn’t.

Because it's a race to the bottom. In EU society minimum standards of accommodation are socially acceptable. Allowing people to exploit the desperate to all possible extents is anathema to any humane values.

Japan is already a caricature of extremist employee exploitation. It's not something to emulate. I wonder why such a basic observation of the situation isn't obvious to people "in the US".
"Already" 30 years later.

https://hab.hrsa.gov/livinghistory/timeline/1995.htm
Where are the smaller airline creating startups trying to eat Boeing’s lunch?

If there ever was a time to take down a giant, this is it
Better Transistors and Switching Regulators Revolutionized Power Supplies
Domain-specific auctions was nice when it was done by Project Wonderful, but there is too much convenience in being able to push advertisements for the entire internet.

Designing secure APIs that can’t be misused by a Cambridge Analytica or similar is a hard problem. Google Plus was “breached”.
Whatever your normative beliefs, we do not live in unipolar world. Our options are constrained by our competition. If the west makes this technology illegal, we will eventually be in conflict in a technological landscape we are too dull to comprehend. After which our laws, traditions and values will enter the history books.
Show HN: Barrel.js – a simple NPM package to build semantic JSON templates
Southwest couldn’t fly outside of Texas because they chose to use Love field as their base. Love was cheap for them to get into because flights from there had already been restricted in an attempt to shift commercial flights to the fledgling D/FW international airport. Two airports in Fort Worth were similarly restricted and shifted entirely to general aviation.

Southwest back then was a very different airline vs. today; they acted more like a bus service between the major Texas cities than an airline- cheap fares, departures every 20 minutes to each destination, tickets generally available on extremely short notice without a markup.

They had to change their operating model significantly after 9/11 because of the new security measures. For example, They were exclusively using at-gate checkin, with reusable boarding cards that you gave back when you got on the plane.

That’s the origin of their first to checkin is first to board system; it originally reflected the order people physically arrived at the gate. And with the frequent departures, the first boarding card generally went to someone who had just missed the previous plane; there was no upcharge or hassle for getting on an earlier plane than you had a ticket for, so long as there were seats available.
Yes, but handwriting can get sloppy.