skysight-inc/HackerNews huggingface dataset:
I think it's fair criticism to say that hooks are extraneous to JavaScript. However, they are still a better tool for the job of building components, and they solve real and important issues around safety, maintainability and complexity. There are alternatives to JS, and alternatives to React in JS. I think it's good the React team chose this unique direction to make the best framework possible by taking advantage of JS's strengths to workaround it's weaknesses.
I'm not sure if this has been mentioned, but the response to the invite request currently has a typo. It says "We've received your invite request and we'll be touch soon." Instead of "we'll be in touch soon." Just an fyi.
apple card...
“Put simply, our first suggestion is _don’t expect to counter the firehose of falsehood with the squirt gun of truth_.”[1]

Climate denialism is the proverbial firehose of lies. Finely parsing words to maintain some Panglossian notion of a market dominated by rational choice of information-rich actors is not going to turn us away from disaster.

[1] https://www.rand.org/content/dam/rand/pubs/perspectives/PE10...
It doesn't sound like he had a good case to begin with.
Let's not infantilize these poor and "desperate" drivers who don't know any better than to be exploited by the technocrats.

They were doing no better illegally sub-contracting with illegal sub-lessees of taxi medallions who themselves illegally forked out hundreds of thousands of dollars to wealthy medallion owners who hoarded them and prevented anyone else from legally procuring them.

The previous taxi system ( prior to the arrival of ride-hailing apps ) was thoroughly corrupt at every level. I hope thats not up for debate.

Immigrant new-arrival drivers would pay daily fixed amounts to illegally "lease" these cabs (on the daily) to those at the bottom of the chain of operators described above.

They were already "part-time" (well before the arrival of Uber and Lyft) and weren't afforded many of the protections the medallion issuing body put in place.

It was a thoroughly corrupt sham that the governing bodies paid little attention to and hand waived the illegal practices because they were (and are) themselves corrupt rent-seekers who were in bed with those interests they truly protected.

The officials knew it.

The medallion owners knew it.

The sub-vendors knew it.

The immigrant daily-wage-slaves knew it.

This is why Uber, Lyft and others were such life savers when they arrived. Everyone hated taxi cabs.
I don't think anyone's writing the model of "lease office space on flexible short term basis, including by the desk" off. But the many other companies doing it without free beer, self-dealing and Ponzi scheme approach to growth and valuations are probably better placed to weather recessions...
It's like picking the known evil vs the unknown. And, I know it's probably not a good answer logically but more gut driven.

Emails have a lot of information about my life.

I know what Google is doing with my emails, and as far as I can see Google is not going to die or be purchased by another entity.

With companies like Protonmail and others I just don't know. Even if I trust their current T&C, what happens if they are bought.

Also, while it is equally likely for Google to have rogue employees, I believe they will have more stringent safeguards then smaller companies.

Again, as I said, probably not a very good answer, but more gut driven. And, I say this as someone who is very conscious of privacy.
you don’t understand how bitcoin works if you have to ask this question.
That's a really good point, and it never even occurred to me. Thank you!

Something I realize I don't know: how much spam detection is done via text analysis? I get the sense that most websites try to block traffic patterns or apply CAPTCHAs, and email spam filters are heavily based on keywords and senders. It seems like this would cause problems, but it's not immediately obvious to me where they'd crop up.
Fukushima: Radioactive water may be dumped in Pacific
Well, I'm thinking more along the lines of Italki. The app would just be for escrow and connecting people.

Someone posts a trash bounty for their neighborhood. Another person accepts the bounty. They exchange messages, the acceptance criteria is agreed upon, and the transaction is completed after the bounty poster has verified the trash is gone.

I think such an app would work great for cleaning up public places, but would break down as soon as people started tried to turn it into a career.
Maybe Firefox should work on their spell checker.
For the same reason your similar genetic makeup did not make you all look identical.
"Technology changes, economic laws do not." from Information Rules: https://en.wikipedia.org/wiki/Information_Rules
Rather than settling the agenda, I’d say they’re willing to experiment with policy that is then vetted before exporting.

I’d see it more like a laboratory.
Hi, HN! I made The Whole Code Catalog to inspire the creators of our next generation of computational interfaces. The name is a bit ambiguous: the Catalog is not a review of more traditional programming languages we programmers already know a lot about, like Python and C, but of interesting but less-well-known ones for us, like Smalltalk, Eve, Retool, and Zapier.

If you're a programming languages and devtools nerd, come join the Future of Coding Community[1]!

[1] -
https://futureofcoding.org/community
Unfortunately, our children will not become like us now. The technology will destroy all newly born children in the future. The new generation will be intiligent by social media addicted and money horny. In my opinion, the new generation will be lonely ;(
There's also scoop, which is explicitly for this kind of activity. You define your route to and from work and then it matches you to people who are going the same place at the same time as you.
Many people aren't event aware of the unnecessary renders caused by using hooks. If your app is so tiny that it doesn't matter if everything renders all the time, then you might not be aware of your `useCallback` recreating callbacks way too often (https://github.com/facebook/react/issues/14099), or that you're not even using it in the first place. Considering that front end is probably the area of software development that attracts the largest share of people like me - self taught, no computer science background - I'd also assume that many people love the perceived simplicity of hooks without realizing that it makes their code worse.

It'll only become apparent when you app is large and complex enough that it suddenly starts to matter when things re-render and then you'll be faced with tracking down those re-renders and fixing dependency arrays everywhere.

With classes, the naive solution is the right one when it comes to preserving function identities across renders.

Not saying hooks are bad, but they're not all roses and sushine.
Sometimes we don't have a choice of toolchain used due to distribution targets or other dependencies :-( I'd prefer to be using GCC / Clang for everything too...
As a customer, this seems out of line.

As someone who has worked in customer service, and observed customer service workers at my company, it seems completely reasonable, especially when dealing with entitled people like the OP and his roommate (from other comments).
It follows from you programming snark as well as I think it. I’m sure it’s possible, but it seems like a hard problem to me.
Lessons Learned from a Buggy React Upgrade
Do you know what's annoying to me? Seeing how awesome products you have but can't use them because I live in Romania. Come on... :D

I know there's Atlas, but for a bootstrapper I can't afford it (especially when I don't know anything about legal stuff).
Ask HN: Has anybody had hardware failures with the Raspberry 4?
I have been working with Raspberry Pi's for years now and for the first time one broke after a couple weeks of use.

HDMI port 0 stopped working. Has anybody else seen issues with the new 4 ?
Wasn't planning on wiping away tears from my eyes this evening...
Yes, but it is still somewhat centrally controlled.

I was referring to the fragmentation that will happen in the post-oil world and what it will do.
I don’t personally care for Uber, but I’ve used it enough for the convenience and heard the same story. For what it’s worth, I don’t think OP has much depth on this or probably has even used the service much at all.

Some folks pick their social justice topic and blow it up 100x. Anyone who disagrees is a monster.
I can't imagine. I don't have kids and the horror and grief is tangible.
Business associates are required to comply with HIPAA. https://www.hhs.gov/hipaa/for-professionals/privacy/guidance...

If Google or Facebook were being used by your doctor's office or something, then they would need to comply with HIPAA, but it doesn't seem like this is the case here.
This is a false dichotomy. There are plenty of employer-employee relationships that are flexible and not full-time. I'd wager to say that the majority of Americans are employed in such an arrangement.
If you're referring to Brexit, I don't think it's meaningfully comparable. A significant enough fraction of people were deluded into voting for it or did so on a lark, legitimately believing it was never going to pass, that it just can't be taken as credible.

A vote that is substantially cast on the basis of disinformation or lulz is not a legitimate vote, and despite occasionally overwhelming public outcry to the effect that they want one, the people haven't been given the chance to recast it.

A clown, indicating every intent of not following the vote of the Parliament he leads, into an action which the polity he and that Parliament represent seem, largely enough, not to want that a new referendum is the only not-insane choice, is an existential danger to democracy. There is nothing to reconcile between these not-exemplary-of-anything-but-themselves cases.
i'm not crying you're crying
Very touching, I shed a few tears on this part.

"I’m guessing you have 1:1 meetings on the books with a lot of people you work with. Do you have them regularly scheduled with your kids?"

I am totally doing this, but more like 1:1 days.
> This is huge, because it is arguably the first step in building an AI which can perform basic reasoning about information encoded in text.

Well, except for the many many decades of previous work on NLP using symbolic methods that are quite capable. Although DNNs are en vogue and have some amazing properties, we shouldn't forget that symbolic AI/NLP using explicitly semantic representations is powerful and has a rich history, and complements DNNs quite well -- such as being easily explainable, for one.
It reads to me like someone whose had to deal with a lot of this:

> —we didn't originally think we'd need to say that, but it turns out people just cannot resist saying creepy, sexual shit about anything they perceive to be feminine.

Personally speaking, I knew exactly what 90% of the comments were going to be about just from the front page. Seeing that the dev team isn't from the US explained it, but yeah, it has to be hard out there for non-US teams to submit to HN.
The elasticity is nice, sure, but in a contraction wouldn't we see less startups needing office space overall?

If the economy is in the toilet it's hard to get funding to pay someone for office space to hold your startup that you can't fund.
My fear never went away. As someone who graduated at the very beginning of the Great Recession, I have a constant feeling that this cannot be forever.
> It's my impression that the sampling rate given by ice core samples is surprisingly high (something in the neighborhood of year-by-year.)

Ice cores only cover hundreds of thousands of years into the past (I think the oldest is about 800,000 years). I'm talking about times millions of years ago.
Google Fucks Up
Wow. That’s a jolt of sobriety. God bless this man and his family.
Your business doesn't need to be incorporated to apply. Sole props are welcome! It's worth noting that the personal liability changes, though: the individual behind the sole prop will be personally responsible for charges on their account.
Kuma, a new universal service mesh
You're going to call a study with 37 participants proof?
Was there ever any clarification on why the React team went with a single `contextType`, and not something like:

class MyComponent extends Component {
static contextTypes = {
auth: AuthContext,
}
}
weell
It isn't a comparison though, it is conflating things this can help with and things it cannot. For it to be a comparison it would have to contrast them, but it never does.
> the scale of our folly of consumerism and over-consumption

Consumerism, over-consumption, and the economic growth these behaviors drive are impossible to eliminate without crippling the global economy. But I think there actually is a way to have our unlimited cake without toasting the planet, it just requires us to divorce the concept of value from physical items (or increase the fidelity, and thus value, of digital items). This is already taking place, with the data economy being the obvious if controversial first step. Similarly, I see the explosion of digital marketplaces and microtransactions within social and mobile gaming platforms as another example of this concept.

There will inevitably be externalities to a shift toward primarily virtual consumption, but I don't think it's unreasonable to imagine compelling virtual products diminishing the draw of many physical item, along with the need for infrastructure to support their production and dissemination.
How much of this is the mainstream media and left-wing politicians trying to put doubts on the economy? That way the US can have a recession so the left can get rid of trump.
Beat out Boston for what?

SV, NYC, Boston, DC and other HCOL metros are places you go to make large amounts money (in varying industries depending on the city) while hating every second of it. Some people have an exit plan. Many more go "oh crap, we need to move somewhere with good schools" and then wind up in the suburbs.
Think twice before you hand your phone to police to show auto insurance: experts
I have 2 kids, 9 and 3.

General rules:

- Tech use (and media for that matter) is all on a "ask permission" basis. Often it's a reward too, but it doesn't have to be. Basically they can't just grab it when they want.

- Generally, my rule is that all tech use is supervised. All usage is in the living room / kitchen area with an adult present who can monitor them.

There are some exceptions to "unsupervised use" like my 9 year old and his 2DS where there is limited amount of trouble he can get into. On a long car ride he can sit in the back and use that as he wishes. Same goes with the Nintendo Switch (he can't access the store).

Things I've forbidden:

- No unsupervised use of media or tech, with the few exceptions mentioned.

- YouTube kids. I tried it and at the time there was NO "white listed only" option so basically they had full run of YouTube kids and I quickly found I did not like that. Tons of inane content and even content you "blocked" was still available in slightly different forms. It was absolutely FLOODED with videos that were just pushing merch. It was like video dystopia ... for kids.

- No use of apps or media I haven't reviewed to some extent first.

Things I like:

- Anything from PBS.

Things I do that i'm not always proud of:

- At a restaurant give a wiggly kid the phone and an app to play with (still supervised), sometimes you're just too tired to entertain and need some quiet.

- While I'm doing some work turn on the TV and run a show for them... sometimes you do what you gotta do to stay sane / get other things done.
Sometimes I wonder if people are paid to post comments as stupid as this.
Show HN: My friend just finished a video demo of our alpha
My friend just finished a video demo of the alpha version of our product.

I wrote a lot of code in the past few months to make this a reality, so I'm pretty stoked.

Check it out here:
https://www.youtube.com/watch?v=96ApmmpT11s
I don't know, by the time you get to a series G, "show me the profits" is a fair demand that the capital markets should never not be making.

Your post seems to say "if you don't prop up WeWork, good luck raising money for your startup." I think it's a little disingenuous to project that guilt onto startups that are in reasonable early and growth stages. Every company has a viable plan for survival by that stage. And that plan is: show the market the profits.

WeWork coming back down to earth doesn't mean that suddenly we will see drastic tightening from seed-stage to growth-stage VC.
Trust is multiple things. I "trust" that Google will manage my private Gmail account consistent with my expectations—which are effectiveness and long-term durability. I have no expectation of algorithmic privacy and thus there's no trust to break there.
How to use it
Desktop: Click to start, WASD and mouse to move

Mobile: Dragging on left half of screen is move, right have is look

Append any subreddit to the url to switch subreddits

Tech stack
- Babylon.js for the 3d rendering engine

- Google Cloud Function which queries Reddit Api and then transforms the data depending on the data type

- For images: Transform and serve through https://images.weserv.nl

- For videos (try /r/gifs, experimental) gets a url which can be played through a <video> tag, which is later copied frame by frame to a texture

- For websites, use puppeteer to take a screenshot

- For multiplayer (you can see other people in the same subreddit as you) https://colyseus.io/ and App Engine Flexible

- For chat, Firestore

Also, apologies for only having one avatar option! I wanted to add different genders, characters etc but didn't have time for the MVP!

Discord for more discussion: https://discord.gg/nrxQnT
Amex Says 70% of Its New Credit Card Customers Pay Annual Fees
I would not be so categorical.

I have a data web-app heavy app where users will routinely view over 300MB of data in charts and photos.
In this context, .net runtime is insignificant. In fact, you could could argue such data intensive applications should be native and use local storage.
Lastly, the browser with cache .Net runtime, and won't download it very often.
This is clickbait / an ad
Arend Theorem Prover
That article is from 2015. The exotic pneumonias and other respiratory diseases that have sickened hundreds and killed 10s have been linked to electronic cigarettes only in the past few months. Tobacco, bad as it is, does not cause these catastrophic outcomes within just months of beginning habitual use. And evidence more recent than 2015 shows that electronic cigarettes are not very effective in weaning people away from tobacco. We now know, from longer term studies, that many of these people return to cigarettes. These products have not been around very long and 2015 is ancient history. I stand by my comment.
Is the US economy so fragile that it can be thought-crimed into a recession?

This fear has nothing to do with any politician or political party and everything to do with the trauma from ‘08
The United States is weird in that you are defined, here, by your job or profession. TV shows put your job title under your name when you appear on them. People's first question is always "What do you do?" at parties and at events. In other countries, this isn't always the case. When I'm in Europe, people ask where you're from, what's for dinner, and what's happening? The question of your job is rarely asked up front, I find. It's how Americans define themselves, which, in the end, generally comes down to how the US doesn't value human life, only the potential earnings thereof.
I understand your point but I would prefer an end to end crypto system to protect said data.
> What we currently have is an email to all "contractors" stating the rate starting today is X/mile.

By that logic all taxi drivers are employees of the cities of their medallion, because cities set the taxi driver rates.
A recession will eventually happen, it happens about every 10 years. The mainstream media isn't talking about it to get rid of Trump.

EDIT: not sure why I'm being downvoted, but I'm guessing it's because I messed up the average length of the cycle. I guess it's probably closer to 5 years: https://www.investopedia.com/ask/answers/071315/what-average...
A lot of people don't understand that React's default behavior is to re-render _everything_.

When a component is rendered, React will recursively re-render all descendants of that component. Out of the box, React doesn't do any optimizations like "skip rendering this component if the props haven't changed". Because of that, "re-creating callbacks" isn't an issue in base behavior [0], because there's nothing that cares if it's a new function reference or not.

It's only when child components are attempting to optimize perf by comparing props and avoiding re-renders that having consistent callback function references matters (ie, `React.memo()`, `PureComponent`, and React-Redux's `connect()`).

[0] https://reactjs.org/docs/hooks-faq.html#are-hooks-slow-becau...
If you are not willing to grab your CV, put it into an easily accessible format and email it over because "the web dude... its 2019" then I am doing myself a favour by not hiring you.

I am going to be asking you to do many, many things over the course of your career that I don't have the time nor the inclination to explain to you why i want it done a certain way.
To be clear this is a much more sensible option, I totally agree. I live in the UK, not the US, and the utterly insane healthcare system is one of the main reasons I would never ocnsider moving.
I'm right there with you. I rode out the recession in graduate school and I've been waiting for the sky to fall pretty much since the time I got my first good tech job in 2014.
The correct solution is, of course, to tax things according to their externalities. So beef produced with methods that result in less CH4 should be cheaper than more polluting beef.
My kid recently turned one. I can't read this article without weeping. Everyday when I back home, I regret not spending more time with my family. I love coding, by all means. But this article is a huge wake up call on where I want to strike the balance.

Thanks for the article
Average people can discern the beauty of math
I suppose we can give them a pass if they solve a bunch of captchas.
Wait... That's what dimensionality reduction is for. I can interpret 3 PCA dimensions pretty damn well since I can figure out the covariance explained by each dimension of my original dimensions
Thank you! Fixed. (:
a lot of consulting firms call it "blended agile" heh
So much this. Personally feel this is one of the most deplorable "widely accepted" social phenomenon in the west.

I have an immigrant family on my street (know them and they are from China) that is three generations...every morning as I drive to work I pass the grandparents walking the children to the bus stop for school. Every day I think "why don't our parents live with us"? I've asked them but they've said no. They have their own home and lives and like their independence. Maybe that's true, but I wonder if they're actually lonely and don't want to impose. At the end of the day I just have to think this is a mutually non-beneficial setup for all involved (the US style of moving out "never to return" at 18).

I don't pretend to know why or say how to "fix" it but I believe we in the U.S. (and assuming at least some of the "west") took a wrong path somewhere when it comes to this.

Also constantly see in the media examples of college grads living and working from home, always in a "negative" economic-driven context. Maybe this is a trend that is changing (again in my opinion for the better).

I didn't even bring up nursing homes.

Edit: Constant ""'s are because I'm trying to be aware of over-generalize here...mainly speaking for "mainstream U.S. culture" which is always problematically reductive