skysight-inc/HackerNews huggingface dataset:
At least in the USA there are options for alternative schooling and homeschooling, which allow exceptions to compulsory public school attendance. Look to Europe though and you'll find places where it's absolutely illegal to do anything but go through the child brainwashing factories. Germany is a good example of this.
Most business in the United States is done despite of management, not because of it.

The executives lie and BS through all of it, and the soldiers on the ground kill themselves to get things done.
Or you can do what many other airlines do, which is to make business class so much better that even if econony is nice, business class is so much above that that it's worth the money.

I tend to try to travel on Qatar, and their new business class cabins are amazing: https://www.qatarairways.com/en/onboard/qsuite.html

It's also cheaper than the (worse) business class on many other airlines.
You can use an `in` check for this, since TypeScript version 2.7 [0].

Here's an example (Playground link: [1]):

import * as React from 'react'

type Props =
| {a: number}
| {b: string}

function MyComponent(props: Props): JSX.Element {
if ('a' in props) {
return <div>a is {props.a}</div>
}
return <div>b is {props.b}</div>
}

let x = <MyComponent a={3} />
let y = <MyComponent b="foo" />

[0] https://www.typescriptlang.org/docs/handbook/release-notes/t...

[1] https://www.typescriptlang.org/play/?jsx=2#code/JYWwDg9gTgLg...
After all, it worked once, why would it not work again...?
Sensationalizing the sex lives of female murder victims goes back centuries
Boeing and Lockheed aren't merged as companies, they're only combined for building launch vehicles. They created ULA as a joint venture. It was a weird situation where it made sense for both companies— Lockheed basically lost all of their trade secrets to Boeing after they did a crazy amount of industrial espionage. After a few Boeing employees went to jail, Boeing lost all of their launch contracts and were banned from bidding on any for a few years. Even after the ban ended they were in rough shape financially.
Yes, and most other security standards. See:
https://en.wikipedia.org/wiki/RC4#History
I took this more to mean the author liked NNs because they were not transparent. To model something with an NN you don't need to know all of the mathematical constructs that go into the NN.
All types of VoIP are banned in the UAE by the Telecom Regulatory Authority (TRA). Think of it as the equivalent of the FCC.

The kicker is that VoIP over VPN is also illegal. This simply leaves people with no alternative, which is why this is dangerous.
In addition to unifying the developer program, it allowed Safari extensions to take advantage of the same system level sandboxing used by full blown apps, which is a big win in several ways — most notably, it lifts a ton of duplicated work off the shoulders of the Safari team.

Aside from that, these newer gen Safari extensions are technically a good deal more capable their traditional JS counterparts, because they have access to just about anything that LLVM/clang will compile into a Mac binary — Swift and Objective-C of course, but also the vast majority of AppKit, Grand Central Dispatch, C++, and plain C among other things. Extensions that do more than basic DOM manipulation could see massive performance boosts written this way, but unfortunately I have yet to see a Safari extension that makes novel use of these capabilities.
If anyone can write me a 1year salary check so I can create my startup I ll gladly frame your picture in my office.
> BigCache does not handle collisions. When new item is inserted and it's hash collides with previously stored item, new item overwrites previously stored value.

I'm not sure what hashing algorithm it is using, but this seems like a pretty undesirable property.

The code for the hash function is found here: https://github.com/allegro/bigcache/blob/f64abe8f4fe2f5769bd...

// Sum64 gets the string and returns its uint64 hash value.
func (f fnv64a) Sum64(key string) uint64 {
var hash uint64 = offset64
for i := 0; i < len(key); i++ {
hash ^= uint64(key[i])
hash *= prime64
}
return hash
}

The referenced `offset64` is `14695981039346656037` and the `prime64` is `1099511628211`.

I can find a reference to a similarly named `Sum64` function in https://godoc.org/blainsmith.com/go/seahash#Sum64 which indicates SeaHash is a non-cryptographic hash function and further considers `Sum64` to be a checksum function.

I'm guessing there's a lot more collisions possible here than otherwise expected.
So in order to "restore confidence in the company" they put the finance guy in charge. I feel safer already.
The author either has a fundamental misunderstanding of the criticisms against "safe spaces" or he's deliberately mischaracterizing them to earn the favor of his classmates.

> What she meant by “safe space” was that she was happy to be in an environment where difficult subjects can be discussed openly, without the risk of disrespect or harsh judgement.

If that's actually how safe spaces were implemented in practice, there'd be little backlash against them. The primary criticism against safe spaces is that they are an excuse to censor dissenting opinions. A common example is that people opposed to sex-reassignment surgery are not allowed into discussions about trangenderism because their opinions are considered "disrespectful" or even "violent" to transgender people.
And then you just end up with all old, conservative c levels. There is no easy answer except careful hiring and accountability.
Here's my problem:

Let's suppose that I, or anyone else that reads Hacker News (like many of the YCombinator companies) creates an app (as many of them have), and this app becomes very popular in foreign countries, and goes on to get tons of users in those foreign countries...

OK, now let's suppose that a foreign newspaper, like the New York times, but a foreign version of that -- all of a sudden prints an article like this one, alleging, but not showing a comprehensive proof (like the ones in mathematics or logic) that there are all kinds of things unspeakably wrong with the app...

Well... maybe all of those things are true, but maybe they aren't...

How would I, as the end-user of such an app -- know for sure?

If the article isn't true... think of the gigantic swath of economic damage that would be caused by an article like this...

And if the article is true... well, it could be argued that you've done a great thing, and saved countless users' privacy rights...

That's quite the dichotomy of potential outcomes, based on what the truth of the matter actually is...

So here's my question to the NYT: In this era of Fake News (which you are no doubt aware of!), how do I prove to myself (as someone who is 50/50, that is, a skeptic who is willing to believe, if the proper set of facts is presented to them) that what you're saying is true?

?

Here are two things for the NYT to think about:

"Semper necessitas probandi incumbit ei qui agit"

The burden of proof lays on he who makes the claim

and

"Extraordinary claims require extraordinary evidence"
-Carl Sagan

https://en.wikipedia.org/wiki/Sagan_standard

Saying that this stuff is true because the Intelligence Community says that it's true -- is not unlike making an "Argument to/from Authority":

https://en.wikipedia.org/wiki/Argument_from_authority

I don't know who the Intelligence Community is (much like I don't know who other abstract entities are like "China" or even the "U.S." are) I don't know who that is!

I do know who a guy named "John Smith" is, and I do know that if John Smith raises his right hand in a court of law and under oath promises to "tell the truth, the whole truth, and nothing but the truth, under penalty of perjury", then John Smith's claim, when he makes it under those circumstances, carries a whole lot more weight (to me) than the claims of any nameless, faceless, unaccountable organization -- by whatever name they go by...

Due Process (enshrined in our Constitution, which the media does not seem to give these days to all parties, despite the Constitution giving them their right of Free Speech) presumes innocence until proven guilty, in a court of law!

Now, all of that being said... I am willing to believe this article -- but I require a higher standard of proof...
Remember journalists don't get to write their own headlines, headlines frequently vary between print and digital, and as another comment pointed out even gets A/B'd in digital, so please don't blame the journalism.

Don't get me wrong, I hate the phenomenon as much as anyone, and its fine to judge a product by its sum total, but as things stand today it's a bit like saying "The new MBP sucks. Just look at all the gratuitous parallax on the product webpage!".
Doesn't compute.
Aren't hydrogenated oils just saturated fats?
Blunts for Elon.
>In fact, I'll just give you 1000 shares of Apple stock, there's no risk to you". And you said no.

That's not the same. See https://en.wikipedia.org/wiki/Opportunity_cost
Agreed. On the surface Im like, oh ok yeah that is good advice. But as I pondered the situation and remembered what I was doing at that age. If someone waved my annual salary in my face to join a startup there is no doubt I would take it. But how many of us hob knob with hundred millionaires or billionaires and get approached to leave their job? maybe .01% of the folks who frequent HN. It feels a bit humble braggy.
It's OK if there's not a universal definition of every concept. Some things in life are culturally subjective - especially cuisine. However, I think an intelligent person can look at string cheese and say that's fake food.

I've started realizing that there is very little space for nuance and subjectivity in discussing things on HN
Life is a lottery.

I had the opportunity to take a job as lead programmer at a dot com that ended up becoming one of the biggest entertainment companies of the early 2000's and I passed for a job at a company that went bust in 6 months.

The only lesson I got from this post is one I already know - don't regret your decisions because you can't see the damn future.
>> Most business in the United States is done despite of management, not because of it.

You must be very unhappy in your cubicle.
Evolutionary history and why physical activity is important for brain health
I think it's a spectrum of realness rather than real or not real - I also really dislike the title of this article as it connotes stuff that isn't literally conveyed. Industrially produced food is what nearly all of us eat, our sausages, our kale, our milk... all produced on an industrial scale.

That said, I think I value food that has fewer steps in preparation as being "more real" so I'd prefer something like a meat and onion skillet to beef wellington or a clumped cream chicken pot pie.
according to Free Sentiment Analyzer:

- Equifax PR - sentiment score: +25.7

- Boeing PR - sentiment score: -100 (!!):

"The Board of Directors decided ... to repair relationships with regulators, customers, and all other stakeholders"

https://www.danielsoper.com/sentimentanalysis/default.aspx
TypeScript does support tagged unions, actually: https://www.typescriptlang.org/docs/handbook/advanced-types....

As does Flow: https://flow.org/blog/2015/07/03/Disjoint-Unions/
I think the end of the Safari developer program predates Safari App Extensions, but I could be wrong.

By the way, in addition to making porting miserable, they also introduced annoyances like not being able to use the 1Password extension on Safari Tech Preview[1].

[1] https://discussions.agilebits.com/discussion/96182/1password...
we been here
It is possible to tackle any of the engineering challenges I listed in an incremental fashion. That isn't the point.

The context of a "Minimum Viable Product" is a mental model of products, markets, and profitability. There is a fundamental difference between the goal "cure cancer" and the goal "make money from a cancer cure". The perverse incentives and loopholes of the latter are a serious impediment to the former.
In fairness, issue two is probably better addressed at the national level -- something like what Social Security's original intention seemed to be: a safety blanket for those who lived much longer than expected.

In 1935 when SS was enacted, life expectancy was 61.7 years. benefits didn't kick in until the average person was dead by 3.3 years.

If this chart is accurate: http://vis.stanford.edu/jheer/d3/pyramid/shift.html -- it looks like in 1930 less than ~5% of the population was older than 65.

If this chart is accurate: https://data.worldbank.org/indicator/SP.POP.65UP.TO.ZS?locat... -- it looks like ~15% of the population is currently older than 65.
Akin to the Rust Evangelism Stike Force and the Julia evangelism force I expect no less than the Tesla haters to be here soon telling us that Autopilot is crap and they should use LIDAR etc. and that Tesla will inevitably fail because of this and several other standard responses.. gets the popcorn
If there was ever a work culture that wouldn’t give in to the various temptations of inefficiencies and stupidities which unions offer you without consequence it’s the Germans.

They’ll work their ass off regardless if some piece of paper says they don’t really have to and if they don’t their peers will look down on them.

I highly recommend this video to highlight the cultural differences between the UK vs Germany (particularly the bit about using Facebook at work), which I think do matter a lot in these conversations:

https://youtu.be/mSQKtxJ-Uvk

I also think Americans are worse for challenging authority than the UK culture highlighted in that show clip.
Yup, every pilot I know, even if they will never fly one, now knows what to do. None of them express any reservation other than the way flight control software is headed.
I'm also confused. That link does not mention hydrogenation at all.
This comment is counter-intelligence.

All signs refer directly to abstractions in the mind that can be compiled into a variety of useful forms. Yours does not take precedent in this case, as it is plain to see that sigma is under specified due to the huge range of concepts it’s practical usage covers. Your attempt to prescribe that which should be prescribed is nothing but authoritarianism.
Some insight here: (just scan the bold headings)

https://issendai.livejournal.com/572510.html
VCs feel the need to constantly remind us that working at a startup is worth our time as a means to fuel the startup workforce. I understand that he was simply sharing an anecdote, but I found the conclusions and headline misleading even verging on dishonest. I've worked at an early stage bay area startup -- hiring progressively got harder and harder because candidates were becoming more aware of the career risks involved and the perks they'd be missing out on at big companies. In almost every case, you're working far more for less with very little structure -- if that's your cup of tea and have an obsession for the product, then go for it. If you're hoping to make $200 million, don't bother.
authoritarian, adjective

favoring or enforcing strict obedience to authority, especially that of the government, at the expense of personal freedom

–New Oxford American Dictionary

In the US, Steven Colbert can use public airwaves to make fun of the president every night, without going to jail.
The stock is blazing!

Weed jokes aside, the market has finally caught up to the fact that Tesla is years ahead of their competitors. I bought my Model 3 18 months ago and it felt like buying a car from the future. I think my feeling was correct.

2019 saw a number of serious competitors (Audi, MB, VW, Porche) release their first EVs and they've all been somewhat disappointing. Very solid first releases taken in isolation, but the market expectations were that the "Big Boys" were coming in and were going to wipe the floor with Tesla. Turns out they couldn't, Tesla's head start is real and consequential.

If you go out and actually try to put down $40-50k on a car and judge all EVs on a collection of attributes (range, efficiency, safety, charging options, tech, etc) Tesla clearly stands out. It's tough to convince yourself to put down a nearly-equivalent amount of hard-earned money for another brand, so it is no coincidence that they outsell other EVs by a very wide margin.
How could a country with the largest prison population in the world not fall into at least some definition of authoritarian?
A lot of fields in math expose a kind of API that abstracts away details quite well.

You can use SVMs without fully understanding the specific QP optimization algorithm underneath, you can understand the kernel trick without all RKHS math etc.

Or in classical vision, you can use keypoint extraction without caring about the details.

Or in linear algebra you can understand what SVD is and does without knowing the detailed steps of computing it.

I don't see neural nets as very special in this.
Is this a joke ? Uighurs are muslims and Africa is full of them.
The original reason for many was that it was believed that saturated fats were uniquely unhealthy, although it turns out that hydrogenated oils were even worse, so, whoops. Cost is also a factor in commercial preparations.
Sysadvent: Day 21 – Being kind to 3am you
> The actual definition of hobby is MY definition. Me! Me! me! only I matter!
Generally the ministering groups are doing it because they feel it's required of them by God.

Once they get over that initial little hump it becomes friendly instead of just mandatory, but it takes that push.

How often do you make friends with complete strangers with whom you have nothing in common (that you know)?
My Week Shadowing a Gitlab Site Reliability Engineer – Gitlab
When you work for a giant corporation of any sort, you are inherently breaking capitalism as it is.

There's no foreseeable way around this , it's irresponsible, and all the suffering you're seeing it the world is the cost of many many millions of people giving themselves a pass on this.

I strongly urge you to recognize that any of the life benefits you get from working at one of these places are reaped from the lives of others. (https://www.youtube.com/watch?v=oQEO2P9j_vU)
I miss the days when Javascript didn't exist.
> However, I think an intelligent person can look at string cheese and say that's fake food.

Why is it any faker than regular cheese? Perhaps I am not as intelligent as I'd like to think.
We use HN headlines for DD
Are you an IC? It’s different for us... we are measured by our ability to get a job done.

Management doesn’t get anything “done”. Their job is to faithfully represent the interests of the managers above them. Maintaining good terms with their superiors is their only actual job. Everything else can be going to shit and as long as their superior feels they are faithfully representing their will, then that lower level manager is in good standing. In fact being in an inferno of chaos and still continuing to represent the interests of your superior, over the cries of the ICs, that is truly star-level manager performance.

As a side note, this is why managers don’t have employment protections (right to organize, etc). Their job is not to work, but to represent the company. In an important way they are not producing labor.

For someone like that, it’s actually crucial to leave on good terms. Especially the closer you get to the billionaire class, the circles get smaller and smaller, and it’s your ability to maintain good feelings with other people in that class that determines your ability to get future work.

So, the company can be failing... that’s fine. It’s important to management personnel that they leave with a kind word, because otherwise it meant they stopped doing their one job.
There isn't a 5.3 of Couchbase Server...
The point is that the tiny toxic fraction is unlikely to pursue a curriculum that starts with the assumption that the western canon is worth reading and understanding deeply.
IIRC they ended the Safari dev program shortly before removing support for old style extensions. Safari App Extensions and old extensions were supported for something like 3 or 4 major Safari releases.
Sure it does. Where CPython does byte inflation to make sure random access works, PyPy makes you use an extra indexing structure for cases where you can't just advance one char at a time.

I must say it is a rather elegant way, but it still fits firmly within "a new way or inefficient code".
Those days are BAAACK. Use Vue ! (The best JS framework in the world!)

<script type="module">
import Vue from 'https://unpkg.com/vue@2.6.0/dist/vue.esm.browser.min.js';
new Vue({
...
});
</script>
I'm not a terminal wizard but there is one bug that constantly happens in my workflow I'm not sure how to report: if I start a powershell session then ssh into a network switch and then access the serial TTY of a kvm guest running on the switch it sets the terminal size to particular dimensions (as expected). If I exit the serial connection then sometimes the terminal is never restored to normal size, even if I exit ssh back to the original powershell session.

Like I said very easy for me to reproduce but probably hard for you guys and I'm not sure what is breaking or how to capture the session to submit a bug.

.

Also it'd be amazing if profiles could include panes. I find myself almost in need of making an autohotkey script to break the terminal into 4 panes and launch particular ssh commands.
I'd be interested in seeing where you read that, because they absolutely failed to do anything useful about it almost all of the time. And at the expense of the rocket program too.
I mention racism as only one item on the list. 1 out of 30 children born in Japan today are of mixed ancestry, so it is not as microscopic as you may think.

I just have anecdotal evidence. The two kids I know here who regularly skipped school did so because of racist bullying. And yes, hearing "that's your fault because you are a minority" is indicative of a mentality that does not want to fix the problems of people who don't "fit in the mold".

"As far back as the 1980's it was widely reported that Japanese expectations for children's performance and good behavior drive them to mental illness"

Yes, "good behavior". "Why can't you be like the others?" "Why are you the cause of trouble?" Repeat that every day to any normal kid and they won't want to go to school.
Beyond L2 Loss – How We Experiment with Loss Functions
> most people in the US only cares about ticket price, which means that even if an airline wants to improve their quality they can't use it to compete

With regards to quality, do airlines in other places generally provide more bang for the buck or are they just generally more expensive than US flights to provide for the higher quality?
> How would I, as the end-user of such an app -- know for sure?

Monitor network traffic, or maybe even decompile the binary. What information is getting sent out of the app? Does it seem reasonable? If not, you have cause for concern.

Unfortunately, modern platforms like iOS make this very difficult, frequently in the name of protecting security and privacy, ironically. This is a very big problem.
RegExp Syntax for Observables: Never Easier (2min Read)
Once you reach a certain size of codebase, you're either going to be investing significantly in making many repositories work together and look a bit like a monorepo, or you're going to be investing significantly in making working on individual parts of a monorepo more efficient and look a bit like an isolated repo.

Both approaches take a huge amount of work and tooling.

The big selling point of a monorepo is that the time and effort taken to follow strict versioning and upgrade discipline for multiple interdependent projects can be somewhat avoided. On the code side.
Yes, meetings still happen face to face for business to get done. Giving up air travel, is not a reasonable option for the world at large.
https://newschannel20.com/news/local/school-district-facing-...

https://www.wdbj7.com/content/news/School-takes-away-bathroo...