skysight-inc/HackerNews huggingface dataset:
Redux does come with boilerplate, but I don't agree that's it's complex. IMO it's one of the simplest ways of managing state. I find it's useful for things like user authentication details which are global-state that doesn't correspond to a specific part of the app. And even small apps tend to have this.
Ask HN: What programming language would you advise for a B2B SaaS?
Apple to compensate teenager who found Group FaceTime eavesdrop bug
ATT offers fiber internet in Louisville. After Google found out they wouldn't be the only provider offering the service, they bailed.
Hello, josephmosby. Thank you so much for your kind words! To be part of developing the underlying tech and then to see that it's making a lasting impression on people's lives, that's really satisfying. Cheers.
Why is data expensive in the USA? T-Mobile could charge less instead of zero-rating. Why don't they? (Answer: They want to soak businesspeople who can expense more than home/consumer users, and people with obscure Internet hobbies are collateral damage? )
$70 is typical for Google's Fiber 1000 plan. The reason it isn't sustainable in that location is they did a shitty job installing the fiber and they would have to redo the infrastructure. That doesn't mean that the price wasn't sustainable.
I guess one of the applications of Coroutines could be WebAssembly. When you run WebAssembly on a website which needs 100% of the CPU for more than a few ms, you have to use the "setTimeout(fn, 0)" trick to prevent the "this website stopped responding" message. That means you have to store the current state at some point and continue in the function fn (after waiting 0 ms). Languages which support coroutines out of the box would help a lot here.
We see all kinds of moral decision making paradoxes: when men act against homosexuality and then later come out as always having been gay, when religious leaders abuse people sexually...

I think morality is just fluid for most people, when we want to do something badly we will take on frameworks of atonement or utilitarianism ("I'll do this thing, but it's ok because of this separate thing cancelling it out") and it's often wrapped up in our own greater inner struggles, not some isolated psychological puzzle box that can be studied. Meat-eating is a worldwide culturally-reinforcing personal struggle of having compassion toward suffering of all things that can suffer. I think part of why pro-animal activists get so derided when they criticize people or behaviors, is because we know that they're trying to heal by force when people need to do it themselves.
> The example you extended sounds more like a problem of agency than one of [a lack of] leisure.

It is. But you can't just take time of work, not replace it with anything and expect to be able to have some sort of leisure. At least not in my experience. I don't live in a big city anymore, but that doesn't really fix things. The equation is as hard as in a city, just in a different way. That is why people like 'bunnie' who do electronics as a passion end up in Asia. There are just so much easier to live and so many more things to do. People who stay e.g. in the US end up moving around different small to medium size cities instead looking for something that makes sense.
Framing your request: how Danny Boyle got 60,000 people to keep a secret
How is this different from a single page app?

The article is also loaded with BS:

> Faster performance. Serve pre-built markup and assets over a CDN

Just like every single-page app.

> More secure. No need to worry about server or database vulnerabilities

Total BS. A form post is an API call by another name. Your server and database are just as vulnerable via an API.

> Less expensive. Hosting of static files are cheap or even free

Just like every single-page app.

> Better developer experience. Front end developers can focus on the front end, without being tied to a monolithic architecture. This usually means quicker and more focused development

Really? And templating languages do not exist on the backend? The only difference is where the processing occurs, and a single-page app has just as much templating whether the template is rendered in-browser or on-server. Often it has a lot more.

> Scalability. If your product suddenly goes viral and has many active users, the CDN seamlessly compensates

Ahem! API?
As a single father of two teenagers who is - according to my kids - doing a good job, it’s almost like I’m societies worst nightmare. The idea that men could bring up children alone seems to terrify people, I assume because it puts a bunch of social norms in question like “every man must have a woman in his life or he’s going to self-destruct”.
Feelings of parents actions being intrinsically "good" morally seem like they would factor in as well. Or at least, I feel like if I saw my father slaughter animals I would accept it more.

I also completely understand that vegan lifestyles are very far removed from the requirements of homesteading or personal farming. It may be impossible to harvest a nutritionally dense enough food in the winter that isn't a living creature.

As a person living where anytime of the year I can buy produce from around the world, I have more freedom to choose what I eat.

I'm interested in your ability to not feel moral turmoil about killing sentient beings. Have you ever struggled with it?

My issues around eating meat are based on the lack of necessity I feel towards it. I don't need to eat meat to survive, my choice to eat meat is a choice to support (in my opinion) murder.

A predator has no choice but to hunt, an eagle cannot decide to stop eating prey and switch to plants, it seemingly lacks the ability for self reflection of it's actions.

Your last sentence "Maybe growing up on a farm taught me the reality of it which I see as normal." The reality you explained of chickens being slaughtered in an instant way is still something I see as unnecessary.
I insulate employees from that, 99.9% of the time. I decide where I need to make reductions, which happens. It doesn't really matter that I'm not the company, for all intents and purposes, that does not matter to the employee. That the CEO might not care about them (although, he does) does not matter in practice.
Tell HN: Wells Fargo completely offline
Wells Fargo is completely offline. How does this happen? Been this way since 6am PST!
> > DoC

> Surely you mean DoH?

DNS over Cloud (DoC) is the term coined in the article to differentiate the underlying transport (DoT, DoH) from it's deployment (centralization).
> Meat provides such easily prepareable calories

Ever hear of tofu? A tofu scramble takes maybe 15 mins to make, and it's actually good for you [0] rather than causing cancer. [1]

0. http://www.whfoods.com/genpage.php?tname=foodspice&dbid=111

1. https://www.who.int/features/qa/cancer-red-meat/en/
Adoption and...? Sorry, I'm drawing a blank on what the second alternative would be.
While I agree that teaching HTML and CSS well before jumping into frameworks is the right way to go, I can't blame students who're looking for what will most likely get them hired tomorrow.

If you are of working age, learning this shit is not fun, because you won't have time to build cool hobbyist mini-sites "just for me and my friends". It is a seemingly never-ending race just to keep up with the state of the art, let alone needing to know "just enough" about version control, hosting, redirects, SSL and resisting the temptation of "shiny new tech" that looks great but won't put food on the table today.

With all that said, it's ridiculous to even have to know HTML or CSS, or even a WYSIWIG CMS at all to put up text, audio and pictures on a 2D plane. How is it that web browsers are able to grab my location, turn on my webcam, etc and yet not offer a way for me to create a web page right there in the console?
In my example of DB and backend: How could they be decoupled?
"Its not up to our quality standards, so instead of fixing it we're going to pull out". What a corporatespeak way to say you're giving up on your customers.
Comcast "charges" its media arm wholesale less than retail price it charges users to download Netflix content.
The core of the article, for me:

Now that quants have discovered them and attempted to profit from them, there’s a risk that those effects will be arbitraged away. But the sheer durability of the factors does imply there is something to factor investing.

Can someone who has made money in finance or knows how it works, explain how/why short term gain/loss doesn't translate into long term gain/loss?

It seems like if there was any signal left above the noise, that trading bots would exploit it. But that's obviously not the case, because I could hop on Robinhood today and make a quick 2% riding the daily heartbeat of the stock. My last experience with this was 18 years ago with my dad where we day traded Apple and got up about 40% or $40,000 over 4 months between the dot bomb and 9/11 (which lead to subsequently wiped out all our gains in a week). If things have changed so much that this is no longer possible, then I apologize. But the article suggests that finding correlations still works.

I fundamentally don't understand how people on Wall Street can make hundreds of thousands of dollars per year investing (with other people's money, I guess?), but meanwhile the average return of the stock market is only 10% per year.

What I'm getting at is that either:

1) there is predictability in investing (meaning that we could all profit if we just had the money to trade, which is inherently discriminatory against the poor)

or:

2) there is no predictability in investing (meaning that it is gambling and should perhaps be regulated or banned as such)

I'm getting the feeling that all of this has fingers in issues like wealth inequality and generational wealth. Perhaps this is simply a "because that's the way it is" situation, but that was said about stuff like slavery and child marriage.
It's worth considering using an mp4 (with video tag) for this use case. You get the same effect, but it's much more battery efficient.
That's a nice explanation, thank you.
I'll take a look at implementing it in some small piece of software :)
Why? Police are required to advertise / notify the public in advance of dui check points.
Congratulations. If you have the slack to maximize these things, you're probably in the top tier of statistics of this study that get X'd out to make their point.

This leads me to this: it's interesting to think about which way the correlation goes - are these early deaths caused by living alone, or is it a symptom of other things wrong in their life that lead to a lack of girlfriends and random people and family in their life?
There is also a possibility that there is no moral paradox. The article uses the idea that factory farms are animal torture as an axiom, it never argues for that case. Animals are killed quickly and painlessly for meat. I've seen animals killed for food, and have done it. Animal torture is abusing and giving animals pain purposefully, and often does not involve eating them. It is clearly different.
I listened to the podcast back when it came out and was disappointing that they didn't go into technical detail of how the restoration was actually performed. The only things that (I remember) were discussed were dealing with variable frame rates and the colourising of shots.

I understand that Jackson isn't much of a techie but it would have been nice if they brought someone that worked on the restoration from the tech side along to explain their process.
> The Javascript framework that you worked on 5 years ago is now obsolete

This is only close truth for frontend (save for React).
Yup. Your DB usually has to be over-provisioned for peak WRITE capacity.

Read capacity is easy to skill to infinity with caches. But if a DB can only write 1000 updates per second, nothing will change that.

In many cases - it's ok to not process EVERYTHING right away. Process the important stuff RIGHT AWAY. Slowly process the unimportant stuff in your spare time.
Smart radios obviate the need for almost all spectrum allocation.
But all farms are not even close to equal. Generally there are two categories of farms. There are small family-type farms where livestock live quite a good, cared-for life. Then there are enormous factory farms where an animals life is, in short, absolutely awful. The slight-of-hand moral reasoning I see all the time is that someone will use their mental picture of a small family farm to fill in for the reality that almost all of the meat/dairy/eggs they buy and eat came from a factory farm.
That billboard was made by Facebook themselves though, in an attempt to "educate" users on privacy, in a feeble attempt to appear responsible.
The LIBOR scam and similar schemes blow out the fiction that markets are efficient. One counter-example suffices to defeat a general claim.
Not the OP but I believe the second option would be raising the child.
Well, cool, that's where the disagreement is. If some woman I don't know says there's no alternative, I'm going to believe her because I don't know her.
Too big to fail over?
I'd highly recommend the FreeCodeCamp curriculum for learning HTML, CSS, and JavaScript. I found it very helpful when learning to code, and the curriculum gives you an easy way to direct and organize your learning.

https://learn.freecodecamp.org/

I worked through the majority of it when learning to code (didn't finish all of the "certifications" as I ended up finding a job). Happy to answer any questions about it as well.
25 days ago I made this comment:
"The key is to invent a new term for an existing entity. Here the author tries to introduce the term "document site" for static websites."

The same happens here. Take an existing concept. Stick a new label-term on it. Market it like you're the inventor of this revolutionary concept to the unaware. Profit.
I could see a libertarian principle, but most pro-choice people aren't exactly against seatbelt laws or opting out of national health services. So this is a principle, but generally a selectively applied one. Which was my point.

EDIT: What part of this is getting downvotes? I'm honestly curious for a distinction here.
Inflation is the Keynesian economist's tool for cutting wages without letting the wage-employees know that their wages are being cut.

Monetary inflation (and monetary deflation) benefit those closest to the monetary authority, those with information advantage, and those with pricing power at the expense of everyone else. If you know what the Fed will do, you get richer. If you can get the new money first, you get richer. If you are holding money when old money is destroyed, you get richer.

The economy works best when the growth in the money supply exactly matches the growth in economic activity. The Fed targets a positive inflation rate for several reasons, but one of them is that it makes real wages fall at a steady rate, and therefore workers become cheaper over time, encouraging hiring. If more wages were keyed to the inflation rate with automatic raises, the exercise would be pointless.

Always-inflation monetary policy means that everyone who works gets a pay cut, all the time. It's a stupid accounting trick, and it only works on paper. In practice, it means that the lowest-paid workers, with the least wage-bargaining power, are constantly slipping closer to poverty. But hey, they can always find a job that is decreasingly able to pay all their bills, right?

Low unemployment is not inherently bad. It is bad when you are screwing with the numbers just to hide bigger problems in your economy that may be contributing to a high unemployment rate.
Two things that can have a major positive impact: end usury/interest, end artificial inflation.
Anecdotal: DNS based censorship and blocking used to be a thing back in the day in India, but things have moved on to other methods (sni based I think).
If sex had a chance to cause a honey bee to grow in one's body over 9 months and resulted in many years of a full commitment of one's life, mind, and resources, I don't think people who respect bees would be hypocritical in killing a bee. Conversely, babies have potential that animals do not, and humans have inherent value to us, both practically and psychologically, that animals do not, so I think it's not hypocritical for somebody who kills pigs to refrain from killing a baby.

No offense, seriously, but the analogy seems simplistic to the point where it needs some kind of complete rework to produce an interesting question.
Before You Start Designing a Landing Page, Start with This Template
"It's crazy that you care about the money..."

Did you read the article?
Yes, I agree. I think "contentment" is definitely a much more accurate term.

My origins are Canadian and I definitely understand the kind of quiet contentment where most people have all their basic needs met and then some; but living in an extroverted city in America (Chicago) where people are warm and friendly makes me think a substantial segment of the population here are emotionally happier and better connected, even though there's more crime, no free healthcare and fewer social services. The Latino population for instance appear to be somewhat happy and connected even though they have their fair share of struggles.

This isn't true of all of the U.S. -- northern states like Minnesota are definitely more austere and introverted. (Minnesota is also strongly Scandinavian)
I agree with you that distance and disassociation are key. However, I would say the met eater's dilemma is to not want the animals tortured, not "hurt". It is also largely a time/cost tradeoff. You could raise your own chickens most places but most people don't want to take the time or expense.

I think there are other "paradoxes" that people are missing. For example, most people feel that Nestle is a pretty evil company[1] (especially in the developing world). However, some of the same people who hate meat eaters have no problem enjoying the Gerber, Blue Bottle Coffee, Perrier, San Pellegrino, Butterfinger, Nerds, Hot Pockets, Carnation, and Purina products they produce and sell. Who is to say which is the worst moral decision? We all hate that FB and Google are stealing our data and using it against us at the same time we enjoy 20%+ stock market returns in our 401K driven by these same companies. Life is very gray and there are no easy answers.

[1] https://www.zmescience.com/science/nestle-company-pollution-...
Patreon and Gumroad were different businesses for most of their histories. Gumroad was always a place to sell stuff and launch subscription services. Patreon is trying to pivot that way now with all their talk of membership businesses, but no one who uses it seems to see it that way.

That's why everyone was up in arms about the fee change in 2017. People tossing $1 here and there to people they liked were the foundation of everything. Membership businesses generally start at $5 a month.

And Patreon isn't going to have much luck with it. There are so many better options if someone just wants to set up a membership business. Memberful, which they bought, wasn't even one of the better options. It doesn't even handle anything other than plans, payments, and integrations with services that do the heavy lifting.
Three recommendations.

For general static website needs, just use Hugo

https://gohugo.io/

For API documentation I recommend Slate. Nice three column layout which allows you to include code/curl examples for multiple languages with tabs in column three. Works great, can be dockerized easily.

https://github.com/lord/slate

Finally, for general user guide documentation, I like legacy Gitbook. Super simple and trivially produces a nice web based ebook from Markdown files. Don't let the deprecated warning put you off, it works just fine and the code is not going anywhere.

https://github.com/GitbookIO/gitbook

Between the three of them you can have a simple nicely formatted static doc site up very quickly.
I don’t think it’s crazy to think you are more capable of predicting the unique demand curves of your business better than a heuristic designed to be good enough for the median Amazon customer.
I've been doing this for years at my job and at home. I stand up, go out and then run up and down several sets of stairs, up and down. At least two times a day. It's either that or bad health. If anyone says anything, i just say i'm taking care of my body; Health comes first over everything.
Cloud services are definitely growing, but where are the gaps? It's great that we're now tackling mental health issues via tech more seriously. Gamificatiom seem interesting, can you elaborate about that?
SPAs can be JAMstack or non-JAMstack. JAM is secure as fuck when there's no 'A' or when you trust the 'A' strongly. (e.g. Google Maps API) Otherwise, you're just making security someone else's problem.
Need professional Amazon seller guide?
By "above average" I meant it was above the median income as opposed to above average for the position. I should have made that language a bit clearer.

From there I would say that the status and prestige of working at a large and powerful NGO can make up for the difference in pay one might make elsewhere. There are obviously many people who go into non-profit work for purely altruistic reasons. I only meant to state that there are plenty of people who do not. Therefore using the position as a signal of the quality of a person's character is not valid.
.wtf has been around for a long time now
Thats pretty intense. Their failover must have failed - I'm surprised that a single datacenter can take out debit card payments for a top5 bank. I feel sorry for the NOC team there.
Last time I tested https://github.com/s0md3v/XSStrike whith some quite interesting results. It's important to note that it's not a fizzbuzz tool, but just a pentest one.
Wow, thanks for linking all of this.

Key quote:

> We would need to essentially rebuild our entire network in Louisville to provide the great service that Google Fiber is known for, and that’s just not the right business decision for us.
If it isn't three feet underground it's going to get cut somewhere along the line.
Not sure if I'm a bit behind the times with this one, but I remember that iOS Safari had issues playing inline videos and you'd need to use JavaScript + Canvas to get it working well there (compared to desktop browsers where a simple video tag doesn't go full screen).

So depending on your intended browser support, a GIF may sometimes work better.
On a side note, I recently tried the "Impossible Burger" and was duly impressed with how delicious it was for a plant-based patty. I could tell it wasn't exactly beef, but if you had told me it was from some other bovine relative, I would have believed you.
> Is there some sort of institutional ADD?

I work at Google, opinions are my own.

Obviously this is my personal take, but I don't think that's what it is.

To me the issue is the performance/rewards system. Imagine you're someone high up and in charge of 10 projects, all asking for headcount/resources, while you have a limited amount to give. Presumably you're going to give more headcount/resources to the projects that are growing faster. If the differences in growth are substantial, maybe you'll decide to actually just let some projects die so their teams can be absorbed into the other projects with better prospects.

Google's performance system is an attempt at being really objective, and it's hard to put a precise value on goodwill lost by discontinuing a product. Not only that, but the effects of discontinuing a product are felt company-wide as opposed to by an individual. Nobody is going to look up who decided to discontinue a product after all.