skysight-inc/HackerNews huggingface dataset:
Ask HN: Join React.js Open Source Study Group?
I am an experienced back-end developer and have been learning React. I have done a couple of introductory courses on Udemy and feel comfortable with the basics.

I want to create a study group that looks at a sizeable open source React project in order to learn advanced React. The current project I am looking at is Mattermost [1], which is an open source Slack alternative used by Uber.

The idea is to learn from the architecture of a large project and try to contribute to the project. Mattermost recently raised $50M [2] so might be willing to allocate a developer to help teach us if we have a reasonable size group.

Open to other project suggestions as well.

[1] https://github.com/mattermost/mattermost-webapp
[2] https://venturebeat.com/2019/06/19/mattermost-raises-50-million-to-advance-its-open-source-slack-alternative/
> by people who knew what they were doing.

The Great Old Ones did not have access to any lost mystical knowledge. The Lisp inventors hadn't even sorted out variable scoping leading many Lisps to have dynamic scoping which is now widely agreed to be the wrong default. Also, the Lisp-1 versus Lisp-2 split. These were clearly people that were figuring it out as they went along, which they would be the first to admit.

> standard dialects

An oxymoron if there ever was one. :)

> APL was designed by a mathematician originally as a teaching aid.

...and it's virtually dead. There are many interesting ideas in there but it doesn't seem like Iverson's ideas about what is a desirable notation for thought resonated with any significant fraction of people. There were many years where APL was a standard part of a CS degree. With that much forced contact, you would expect it to have stuck around if it had so much going for it. (See: Pascal and BASIC, which punched above their weight in large part because of early introduction in schools.)

> Ada was designed in a contest by the US DoD after spending a long while collecting requirements and it was then fully specified before any implementation work was done.

Ada also has a lot of interesting ideas but... outside of the DoD, it's not exactly doing well either. It turns out that spending several years writing an enormous specification without regard to implementation leads to... unbelievably complex, expensive implementations that take years to reach the market. Who could have predicted that?

The economic cost of implementing the language is a salient part of its fitness. It doesn't matter how nice the language is if you can't actually use it because you don't have a working compiler.

C++ is only bad to the degree that you can completely wish away path dependence. (Hint: You can't.) There were many languages better than C++ designed at the time, but they didn't take off because they lacked the features we hate in C++ today. Those features existed as a path to lead the existing C programmers to C++. Meanwhile, other purer languages floated off in space, beautiful but unreachable by mortals.

JavaScript was just a sad rush job that we're all unfortunately stuck with. I agree with you on PHP.
I like Chrome for Javascript development/debugging, but I don't use it for anything else.
My wife and I decided to donate one year. Guess what happened next? They sold our data to their partners and we ended receiving so much spam mail in the following few years, we couldn't believe it. These organizations generate so much paper waste, it made us so angry we simply stopped our subscriptions. But we had to wait until we moved out for the spam to stop.
PRC has only been around for 70 years.
I'm happy with Gatekeeper and SIP so far. I don't believe Apple will ever totally wall off macOS like iOS. If I ever truly want to mess around with the OS I'll install Linux. My computing platforms present far more risk to me these days than they did years ago. I need the system integrity protected, I don't want untrusted code running on my Mac.

These aren't like the days back when I could self install Linux and expose it to the internet while I configured it.
What vaguely reasonable metrics might those be?
Hi there,

Head of Product at Dgraph here. Our license is Apache v2 for most of our source code.

Only our enterprise features are licensed with the Dgraph Community License [DCL](https://github.com/dgraph-io/dgraph/blob/master/licenses/DCL...).

We decided to make all of our code available on GitHub regardless of the license (unlike OrientDB if I understand correctly) so anyone can see what the Enterprise Edition really does.

Let us know if this is confusing. If you don't want the proprietary code, you can always only use the open-source version of Dgraph with `make oss`.

I'm also really interested in seeing where GQL (gql.today) is going, adopting a community-wide standard would be a definite yes from us.

In any case, thanks for your feedback. I'd love to hear more on how we can make our product better, feel free to email me at francesc@dgraph.io.
Explaining Logistic Regression as Generalized Linear Model
The Russians haven’t yet shed their Soviet ways -in many respects and consciousness with respect to the environment is one of them. It’s not a big concern. They don’t care much about it.

The aftermath of hypersonic rocket/missile accident in the Arctic is a good example of their disregard in that area.
People work for people. Not the company. That said, I've spoken to lots of WeWork employees in the past. If you had a simple job, Adam wanted to know how you could do it faster, or automate it (with you out of work). If you worked on the tech side which seemed to be Ruby on Rails with Bootstrap, well, you were in New York at first, but then Adam would accuse techies of not thinking big enough, or not delivering 5 points worth of features in the time it took 1, and where's the mobile app? The guy knew absolutely nothing about technology, and when he outsourced the reservation system to India, then I knew it really had nothing to do with innovation. What's worse is lots of folks worked there expecting six figures before the outsourcing, but got nickel'd & dimed to something way under six figures. All without a PIP.

Edit: removed exact salary amounts because my sources said it would out them.
> Computer science and engineering majors between the ages of 23 and 25 who were working full time earned an average of $61,744 in 2017, according to the Census Bureau’s American Community Survey. This was 37 percent higher than the average starting salary of $45,032 earned by people who majored in history or the social sciences (which include economics, political science and sociology). Large differences in starting salary by major held for both men and women.

> Men majoring in computer science or engineering roughly doubled their starting salaries by age 40, to an average of $124,458. Yet earnings growth is even faster in other majors, and some catch up completely. By age 40, the average salary of all male college graduates was $111,870, and social science and history majors earned $131,154 — an average that is lifted, in part, by high-paying jobs in management, business and law.

Uh, yeah. From 23-25 you’re comparing engineers vs random 4-year degrees. At 40 you’re comparing engineers vs a group that suddenly includes lawyers and MBAs.

You’d find similar results if you compared baristas to premed students. At 23 the typical barista is earning at least minimum wage while the typical premed student is earning literally nothing (unless moonlighting as a barista...). Suddenly their fortunes reverse at 40 when a significant portion of premed students have turned into established doctors.

23-25 is the time that all the advanced degrees are being earned. If you want a fair comparison you have to compare equivalent education in each age group. You can’t suddenly change the cohort at 40.
It would be more impressive to meet a client at a WeWork office.
I am very familiar with both podcasts and Patreon. I contribute to multiple podcasts on Patreon. Creators have a lot of freedom in how they setup their Patreon. It might not be the most common setup, but there are certainly some creators that keep almost everything behind the Patreon paywall. In those cases a listener is the same thing as a patron. That model isn't great for exposure and doesn't provide an easy avenue to grow the podcast without other means of promotion, but I have seen it be very successful for creators who already have a niche of fans who will support them. To repeat myself, the viability of the different approaches depends on what metric you are looking to optimize.
We need a PBS for search engines too. A public, government-funded spider that indexes everything on the web that wants to be indexed. And a public API so that anybody can build a search engine on top of it.
I would hope they demonstrated competency for the position. I'm sure there are other avenues other than education work that hold the same weight.
I’ll bite.

Apple’s detractors fit this bill far more than its fans do. The online hate Apple gets is nothing short of ridiculous compared to how responsible a corporate citizen they’ve been for as long as I can remember. Most of the time when I see Apple fans in a conversation, it’s countering badly informed anti-Apple circlejerking. One example that comes to mind is the whole Foxconn thing. Apple got massive amounts of backlash for the working conditions there, when virtually every other manufacturer uses them too and received only a handful of the same criticism. Apple dramatically tightened their standards and expanded their vetting process for third-party suppliers (which were already in place). Everyone else? Next to nothing or actually nothing.

It’s completely backward in the same way as the stereotype of vegans. As someone who spent some time as a vegetarian, I quickly realized that most vegans/vegetarians try not to make a big deal out of their dietary choices. On the off chance someone does ask about it, they quickly explain their motivations and hope to move on. Then the next hour of conversation involves something like the omnivores trying to list off every animal type they’ve ever eaten, alphabetically. Alligator, beef (wait, does beef count? Probably not, okay let’s say bison), cuttlefish (wait do individual fish count or no?), etc.

Apple fans (and vegans) get a bad rap because they’re in the minority and those in the majority are simply used to the status quo.
At this point there is a non-zero and growing chance the company collapses completely. They have no plans or research or any other projects that are expected to make money, ever, and nobody seems interested in another round of fundraising.

They will likely try to force the IPO through anyway at some sub $5B valuation, but even then it seems like they may not generate much interest after that cuckooville S1.
I'd be down for a party. When and where?
No, a non sequitur would go something like this:

Bob was plantings some flowers. He had to replace his helmet.

Not a non sequitur:

Bob crashed his motorbike. He had to replace his helmet.

It might have been better if they’d written something about how a helmet needs replacing after any impact, sure.
There's no doubt that local processing is a lot cheaper than the cloud for a lot of workloads.

That's a very interesting pattern--publishing "fake" (perhaps safe or anonymized) data online along with code to spur research and development then running the enhanced code locally on private (e.g., PII data) on local compute resources.

We hope Quilt packages can play a role to make that easier. The package serves as an interface and layer of abstraction between the code and the data so the same code can be run against the safe or private data.
Peak oil is nonsense. All resources on Earth are finite. What’s special about oil? Why not peak aluminum or peak concrete or peak cobalt?
> If the answer is "offsite backup" wouldn't it be glacier or nearline or ... anything but S3 ?

Well, technically, S3 Glacier and S3 Glacier Deep Archive is still S3, Cloud Storage Nearline is similar, except it's a tier on Google's S3-equivalent service.

But lots of public charities, especially academic institutions, host data in a way conveniently accessible to the public via well-known convenient APIs, including S3, even when it is not the least expensive method possible viewed strictly from the cost of storage and institution-internal access because of their mission.
I think people can have a problem with something amazon does without them being petulant and inflammatory. Not everything Amazon does is great.
There are a lot of great answers so I'll just provide some general advice.

1. Baby sleep is not intuitive at all. Learn as much as you can before the baby comes. Read "Precious Little Sleep" by Alexis Dubief. Figure out how to get a baby to sleep without them being on you, even if you are patting and shushing them in your bed. Having a baby fall asleep on you constantly may cause massive problems after the first 4 months. You don't need to use "cry it out" if you get the basics of baby sleep right early.

2. Pick a reasonable amount of time (e.g. 6 months, 1 year) and say the baby and your family are a priority. For this period don't get too caught up in when life/work/friends/hobbies, etc will get back on track. Just say "I said X time, and right now baby and spouse are the priority."

3. Remember to forgive yourself and your spouse for the fights, bickering, and mistakes. At some point you will take a week to figure out something and feel you should have figured it out in a day. You will feel like a failure. Then something else will change and another week will go by and you will feel like a failure again. Just take a deep breath and keep trying. Kids don't come with a manual.

4. Some kids are easier. Some are harder. If you are doing your best, that's all you can do.
> Softbank $$$

And that not so much anymore. All they had was a cannabilized version of Meetup.com for doing reservations.
Pleasantly surprising to see. In all the universities I've experienced recently, the trend is strongly in the opposite direction. One of the admins' bio on the MIT instance states that they're at math and comp sci major at MIT, so I wonder how "official" it is? If I'm interpreting the MIT IT page correctly[0], *.mit.edu hostnames can possibly be registered by students? In which case it's not clear if it's run by MIT or by some students who happened to request that particular hostname.

[0] http://kb.mit.edu/confluence/pages/viewpage.action?pageId=15...
A malicious accusation always puts ones standing in danger. If I were to accuse you of just about any crime, your odds of being wrongfully convicted of that crime go up, even if just a little. If I get this claim published widely enough, you will have a harder time finding a job, even if it the claim later proven false.

The question at hand is whether or not things have gone too far.
I have two questions that are related:

1) Isn't this really a "problem" for HCL, and not necessarily Google? Google can just not renew the contract, meaning all the benefits they gain from working "for Google" go away. And if you make the assumption that Google is hiring firms like this primarily because of cost, then their incentive as a public company is to keep costs low and switch to another firm.

(Unless this is primarily to reduce the margins for HCL? i.e. costs to Google stay flat, but workers take home a larger share.)

2) More of a criticism on Unions: why don't these folks just go work for Google if they want the benefits? Either they have the ability and don't want to, which is their choice, or they don't pass the hiring bar, which then means any comparison to what Google employees make is not appropropriate.
> Like, do you think the best golfer in the PGA tournament is "really worth" ten times as much money as the 14th best golfer?

To the sponsors? Yes.
Because they don't want to deal with someone who goes 5 years without support, runs into a hard system down situation, then tries to buy support on the spot.

While they can absolutely insist the customer pay support back 5 years, the political fallout is always ugly.
The previous decade the prices went from 20$ to 160$, culminating with the start of the Great Recession...
https://www.macrotrends.net/1369/crude-oil-price-history-cha...
This is an accurate summary of the article.

However, in my personal experience, it is not an accurate summary of the Bay Area. The startup scene may be truly this toxic, but I think such toxicity plagues any small, homogeneous group of people. It is hardly a tech problem. Indeed, mom-and-pop shop in small towns can be very abusive too.

To offer a counter anecdote, my experience with FAANG has been very positive. My workplace is the most meritocratic, efficient, and transparent organization that I've been in. (And I did spend 6 years on the East coast doing things unrelated to tech.)

I'm certain that the author's experience is true. I also want to caution against generalizing these issues to all of tech in the Bay.
The whole business model of uber/lyft is to exploit loopholes so they wouldn't provide anything lest they be mistaken for an employer.

That would destroy their entire business model.
> and it not really being designed for overnight wear (as I understand it) really hold it back.

I have a first generation Apple Watch. This is one of the things that annoyed me after buying it: you aint sleeping with it on if you want it to running the next morning.

I'm hopeful that batteries will get better and better, and eventually we'll be able to sleep with the watch on and have it track sleeping patterns, etc.
Some people are actually ok with this as long as it's not really the work, but similar to the work being done. Good for you that you noped out pretty quick.
Yeah maybe. Pretty sure Nio will tank though. Building car owner club houses despite their losses is weird. I don't understand why they don't spend money on improving their product.
Also it's important distinction because mightni imply to reader they wouldn't otherwise have to replace a helmet which is dangerous.
We've Automated Copying and Pasting Code
British travel firm Thomas Cook collapses, stranding 600k people abroad
It's all matter of regulatory climate. In Poland, there are millions of cars driving on LPG every day. Most gas stations offer LPG in addition to gas and diesel fuel. Stations don't require any proof of inspection, and moreover most of them are self-serve. There are plenty of shops that will retrofit any car (even diesels!) for LPG for about $500-1000. This is just a mundane, everyday thing.

I owned an LPG-fueled car and it was really no different than gas-fueled one, other than more frequent need for refuel (I had a small tank installed where the spare tire used to be, and it only had around 100 miles of range).
A search now for “Apple iPhone labor” brings up recent articles describing issues with Apple’s sub-contractors.

Size seems less relevant than the image Apple’s projected and its profits.
I wanted to sign up for this as an individual, but you need to be at least a 10 person company, so I couldn’t. No idea why they’d have that restriction
That doesn’t seem to be a problem with French or Spanish, arguably also quite popular.
Is there any "rebuttal" less convincing?
Exactly. If it is just detecting falling down from standing position, I can imagine several things causing that
Huawei is much better than Apple. Half the price for many new features. It's a matter of time before Huawei catch up on Apple with Chinese ingenuity
> Peak oil is nonsense

No, it's not.

> All resources on Earth are finite. What’s special about oil?

Nothing; it would be special if it was an extractable resource and didn't have a peak where utility vs. cost of extraction meant that extraction declined from the peak.

> Why not peak aluminum or peak concrete or peak cobalt?

Aluminum and Cobalt, as extractable resources, will probably also have extraction peaks.
If you have nothing to hide, then you also have nothing to worry about w.r.t, say, increased police surveillance.

Funny how that works...
I've used a service like this from my insurer. I sent them a photo of my finger, they prescribed me an antibiotic, and Sunday morning I was on the mend. Beat the heck out of a 2 hour appointment during business hours.
That "Soviet way" is there for many centuries already..
This is a good point. Expecting developers to understand how to configure service to service IAM permissions and all the other nuances of AWS infrastructure is a fool's errand. Also one of the reasons we started Stackery.
We detached this subthread from https://news.ycombinator.com/item?id=21065259.
In 2016, Explained Casually had a prediction about the future: One day, Apple will release the iPhone X, a solid block of featureless aluminum. This article indicates Xiaomi might beat Apple to it!

YouTube: Casually Explained-The Future(2016)[1m:16s]: https://youtu.be/8BeCFWh1Auc
Apollo 12: A Search for Precision
I love setTimeout
> In its current iteration, console developers familiar with the tech tell us that the engine struggles with proper threading, which is very important on a multi-core platform like PlayStation 4.

> This refers to the engine's ability to exploit multiple streams of instructions simultaneously. Given the relative lack of power in each of the PS4's CPU cores, this is crucial to obtaining smooth performance. We understand that there are also issues with garbage collection, which is responsible for moving data into and out of memory - something that can also lead to stuttering. When your game concept starts to increase in complexity the things Unity handles automatically may not be sufficient when resources are limited.
The vast majority of in-game communication is through text, across most games. Voice is picking up momentum (via Discord, etc.) but it's still text
Any basis for your claims?

Oil prices were about 2x of what they are today in early 2010's, and I recall nothing of the sort.
> write a big string literal and send it to the server

To be honest, that describes almost all query languages, including SQL and Cypher. Dgraph's QL is based on GraphQL[1]. When starting Dgraph, we had a choice to go with Gremlin or Cypher. But, we didn't like either choices -- Gremlin tends to be slower to execute, because of how they treat the queries, i.e. graph walks, with iteration over results to generate the next set of queries; something we explicitly avoid [2]. And both of them returned lists of things.

GraphQL, on the other hand, allows a subgraph to be returned. One can go from a subgraph to a list of things (lossy), but can't go the other way around, because you lose relationships (knowledge about how they are connected).

That's what led us to the path of GraphQL. Over time we modified it to what we have now, GraphQL+-. Meanwhile, over these last 3 years, GraphQL has become so much more popular than either Gremlin or Cypher, that now Neo4j is a founding part of the GraphQL Foundation, just like Dgraph is.

Now, Gremlin is still relevant in the graph space. So, we're planning to build Gremlin support. But, before that, we're working on building a native support for official GraphQL spec. That should let one integrate into the fast growing GraphQL ecosystem.

[1]: https://graphql.org/
[2]: https://blog.dgraph.io/post/why-google-needed-graph-serving-...
Some data:

https://www.macrotrends.net/1369/crude-oil-price-history-cha...

Oil prices were double what they are today in 2014, and triple in the depths of the 2008 recession (before falling to roughly current levels in 2009). They were roughly half current levels in the 2000 recession. They were roughly equal during the oil crisis in the 1970s.

Sudden shocks to oil prices seem to be able to cause recessions, like the 250% increase in 1973 or the 200% increase from 2007-2008, capping off a 500% (!) increase from 2002-2008. But these are a lot bigger than the 50% increase postulated here. We've withstood 50% increases (1994, 2004, 2016) or even 150% increases (dot-com boom) with no ill effects.
Yes! That is ideal.