skysight-inc/HackerNews huggingface dataset:
> Checked exceptions would have been an ok idea

> Partially because people just get in the lazy habit of catch and rethrow RuntimeException, or catch and log, etc. when confronted with them.

After quite a while of thinking this way, I came to the conclusion that:

95% of the time, there's no way to 'handle' an error in a 'make it right' sense. Disk write failed? REST request failed? DNS lookup? There usually isn't an alternative to logging/rethrowing.

When there is a way to handle an error (usually by retrying?), it's top level anyway.

Furthermore, IO is the stuff that can just 'go wrong' regardless of how good the programmer is, and IO tends to sit at the bottom in most Java programs. This means every method call is prone to IOExceptions.
Mark Zuckerberg and Free Speech: Mark Zuckerberg Is (Mostly) Right
Not all projects use Github.
> There's probably a good chunk of change there held by now-inactive users who they're hoping won't actually do anything about the change like redirecting their funds.

Or it could be exactly the opposite bucket: any bounties less than 2 years old are still subject to expiration, but they're not allowing you to redirect them when they expire.
Ask HN: Building Docker images with configuration or without
the idea of building docker images with configuration seems like unconventional, especially because of configmaps in kubernetes, but given that most downtimes are due to the configuration, isn't it good to build images themselves with the configuration and take them properly via the safe rollout mechanism's i.e canary rollouts, revert on error rate, and using the same image in staging as well. any differences in configuration can be injected via the environment and substituted in the configuration template
> you need to explain to a newcomer that you can have `int ptr;` (pointers to pointers)...

I think HN swallowed the asterisks there. I presume you meant:

int **ptr;

> It's pretty odd for someone coming from say, Python, Java, or JavaScript. (which, many go through years before realizing that pass by reference happens in their language too)

That doesn't sound right. Java always passes by value. https://stackoverflow.com/a/40499/
I too have mused endlessly about what happened in the early 1970s. It seems like we really, really went off the rails in so many ways at that time. I love that site for its graph collection but I am not convinced of its hypothesis (nor do I completely dismiss it).

The end of super-cheap easy domestic oil has long been my go-to hypothesis for what happened around 1971. Monetary systems and policy are social constructs, but energy is physically fundamental.

Everything that has happened since then including reckless monetary policy and wage stagnation could be argued to be symptoms of the rising real cost of energy. By real cost of energy I mean physics, EROEI. Wage stagnation happens because without super cheap energy the actual physical cost of providing increasing living standards to a huge number of people become too high. Even if they live lavishly, a smaller number of rich people don't consume nearly as much energy as a huge number of middle class people. As a result the rich are not affected. Reckless financial and monetary policies can be explained by politicians who don't understand physics trying to get the magic unicorns to come back.

If either solar/wind + batteries or some form of nuclear power can be made to scale well enough, we may see a return to the post-war era. Otherwise we will not, and returning to the gold standard (or Bitcoin) won't make much difference.

I'm pretty optimistic about renewable power. I glance at this every once in a while:

http://www.caiso.com/TodaysOutlook/Pages/supply.aspx

During the day California often runs on >50% solar/wind. Two decades ago that was a small single digit percentage. It's pretty spectacular. If we can scale storage similarly and then if the costs of both continue to fall for a while due to industrial scaling of production, we could be back to the 50s but with a renewable instead of non-renewable basis.

A fusion breakthrough or finally figuring out how to safely and sustainably scale fission would have a similar outcome.

BTW: I also wonder if you can explain the Chinese miracle in energy terms. China just decided to chase growth and fuck the environment, so they went wild with cheap coal. The magic was not only using cheap coal but doing so with no scrubbers (which consume a surprising amount of power) and no other energetically costly environmental controls to speak of, maximizing physical EROEI. They lifted vast numbers of people to middle class status and became a superpower at the cost of accelerating climate change and air that burns your eyes.
ELI5 - Boiling makes it easier for the bacteria to eat.
I recently got back into chess after discovering there's a huge wealth of chess videos on YouTube. (Probably news to no one I know) It's great to be able to learn about a new opening or trap or whatnot then jump into an online game and hopefully try it out.
Building adaptive teams is more than looking at employees qualifications
FYI there is no similar equivalent here in the UK, so I wouldn't assume...
The Car, Reinvented. From Scratch
> C19 has been estimated to cause a 5% dip in global production. Given how controversial this small drop has been, suggesting that people be comfortable with their natural selves is likely to receive some amount of push-back. (it'd affect not only "beauty" and "fashion", but probably also some fraction of "automotive")

I don't mean to be sarcastic, but I genuinely can't get it. What does "be comfortable with their natural selves" have to do with C19, or a dip in global production?
Coal-burning in Siberia led to climate change 250M years ago
This is awesome. Chess becoming main stream again as people bored in quarantine are looking for new brain engaging activities.
Apple Is Trying to Shut Down Hey
You have to be always drunk. That's all there is to it—it's the only way. So as not to feel the horrible burden of time that breaks your back and bends you to the earth, you have to be continually drunk.

But on what? Wine, poetry or virtue, as you wish. But be drunk.

And if sometimes, on the steps of a palace or the green grass of a ditch, in the mournful solitude of your room, you wake again, drunkenness already diminishing or gone, ask the wind, the wave, the star, the bird, the clock, everything that is flying, everything that is groaning, everything that is rolling, everything that is singing, everything that is speaking. . .ask what time it is and wind, wave, star, bird, clock will answer you: "It is time to be drunk! So as not to be the martyred slaves of time, be drunk, be continually drunk! On wine, on poetry or on virtue as you wish."

(Charles Baudelaire, 1821-1867)
Curiously, their Android app database (msgstore.db) has had a "pay_transactions" table, and a "payment_transaction_id" column on the "messages" table, present for about a couple of years now.

I guess they've been planning/testing this for a while.
is there any docker for this?
But in the US banking is very archaic and so bank transfers are not instant and I think even involve a fee unlike in most countries
I approve off your plan ;) Just this morning I tried to find a paper but couldn't so I looked at my HN history. Wading through past years I noticed there aren't many information resources on the web left that don't suck, and I noticed that for some time now, whenever I wanted to look up something CompSci-related, I don't even bother using general-purpose search engines anymore (except maybe CiteSeer) but go straight to HN's Algolia search to locate the story where a particular product or other topic is "treated".
The fact that it is closed source and owned by Microsoft.
Because voters are too stupid to tell fact from fiction, and need their betters to protect them from misinformation and make sure they are only exposed to approved viewpoints?
To me it seems like the current explosion is the genius idea of pitching the most famous Twitch personalities against each other in a tournament. This is similar to how Dr. K blew up by giving live therapy session to Twitch personalities with huge followings. If you add up the followers of all the participants [0], you already have a huge pool of probably over a million viewers to start with, all rooting for their favorite streamer.

[0] https://www.chess.com/article/view/chesscom-pogchamps
>I'd rather have imperfect progress than no progress

Progress for the sake of progress is not progress. The fact that there is a problem doesn't mean that someone has to do something when there's nothing productive to be done.

People are apparently unaware that we are living in an unprecedented globalist diversity experiment, and there's no reason to believe that forcing disparate cultures to live in such close proximity to each other will end positively. In fact history has repeatedly shown the opposite.
It is technically, politically possible, at least in the legislative branch; Congress is constitutionally afforded the right to censure and expel a member -- which presumably these ads are promoting.
Practically speaking, having freedom of choice is a big deal. And we are free to choose our churches, whether to engage in our PTA, etc.

We're also free to find new jobs if we don't like them, but it sure is harder than those other choices.
It's just as evil when they do it for gift cards.
This would kill the independent developer.

Imagine if just 30% of users choose just one other store.

Developers would lose 30% of their revenue if they didn’t support that store.

Now they have a bunch more work to do, for no extra money.

If you assume a multiplicity of stores, then this problem gets multiplied.
dupe [1]

[1] - https://news.ycombinator.com/item?id=23538903
Not quite. Take bridge for example. The fact that it is not a perfect information game is what makes it one of the most interesting and deep games in the world. Suddenly there's a whole layer of deduction, imperfect information gathering, information exchange, etc.
You're significantly under estimating the time it takes to refuel. Between diverting to a station, fueling, and getting back on the road it's at least 10 min. If you're traveling such a long distance it's a good idea to take a break during a fuel stop anyway, so add at least another 10 min.

I travel a lot and tend to stop every 250mi (400km) or so, if not sooner. It times well with meals and bathroom breaks so my stops are usually at least 30 min.

Electric takes more time to recharge but on long trips the extra charge time doesn't have as a significant impact as you'd think, assuming chargers are plentiful and charge at the maximum rate your vehicle can handle.
Discoverability, I suppose.
Parent didn't say "smartphone," they said "iPhone." You can use an Android phone and sideload and use whatever payment method you want.
GOP senators introduce bill to change Section 230 Immunity
See, for example, slide 17 ff. of http://people.ciirc.cvut.cz/~hlavac/TeachPresEn/11ImageProc/... .
A lot of things in this article are not directly related to the point, IMHO.

If the discussion is about the charges of murder v. manslaughter, then IMO the key is that 'murder' is deliberate whether manslaughter isn't.

The question is then not whether the police officer's actions cause Floyd's death but whether the officer intended to kill Floyd.
> So, big waste, nothing gained,

Are you asserting that case count in the US would be the exact same without Shelter in place?
Returning it to the person who posted it may not be possible - card expired, can't get in touch with them etc.
what is up with this inflationary expectation that everything should be "fun" and "exciting" and "thrilling"

A couple years ago I dubbed this trend "Flanders Computing" [1]. I haven't really given much thought about its origins, but it's probably got to do with the increasing demand for happiness that we Americans hold dear.

Collectively I think it's entered the American psyche that the answer to happiness is to avoid anything that makes us anxious or uncomfortable, which results in that toddler-level approach in many things. i.e. Ban things labeled "toxic", ban the boo-boos, keep everyone safe with happy feelings in this space only. But admittedly my thoughts are incomplete.

[1] https://news.ycombinator.com/item?id=13353106
They also don't mean more Middle Easterners (Iran, Iraq, Afghanistan, Egypt,..) or Asians or Muslims or Sikhs or Natives, more diversity basically means more white women.

I think it's a noble cause but unfortunately the biases are deeply rooted in SV culture.
Thanks I guess. Whenever I think Final I automatically think Fantasy. In this case "final" in quotes was to imply that there isn't really a final ... uhh, what is another word for solution that really fits the definition? I looked up synonyms but nothing sounds quite right. Any idea how I might re-word it?
Remember the Joe Isuzu ads from the 1980s?
The article was about Silicon Valley so I was referring to that. Must also be true for large tech hubs like NYC and Seattle.

The situation outside those tech hubs can be very different.
> Republicans will block Democrat ads - will that lead to a better world when Republicans can't reach Democrat voters or vice versa?

The piece indicates that there will be an option off political ads entirely, not to block political ads by partisan affiliation. (The latter is both more complex to even superficially inplement and would be rather ineffective because SuperPAC ads are formally unaffiliated with either parties or candidates.)

Also FYI: The adjective for “Associated with the Democratic Party” is “Democratic”, just like the adjective in the party name. “Democrat” is the noun form.

EDIT: I'm going to quote and respond to a dead reply, because it makes a common point which deserves a response rather than downvoting to oblivion:

> Yes, but Republicans consistently use the term 'Democrat' instead of 'Democratic' because they don't want to imply that Democrats have a connection to the concept of Democracy.

> It's a shibboleth; folks who instinctively say "Democrat" are reliably far-right.

While this is correct as to the origin and the tactical employment of the usage, it is not a reliable indicator because lots of people who aren't far-right or Republican partisans are exposed to media in which far-right (or at least solidly Republican partisan) voices which embody this tactic are common and don't realize that is what it is, and adopt the pattern from that source.

The ones who persist after correction are doing it intentionally and tactically, though.
I would do it with D, but sure: whatever rocks anyones boat. All I'm saying Rust is not particularly worse for writing "quick&dirty" scripts ignoring good design and corner cases. And if any quick&dirty script becomes " important part of our legacy production environment" the story of improving such a script is much better in Rust.
Beauty and tragedy at a kindergarten Zoom dance party
Tbh he won there because the other guy missed a silly threat. He got lucky.
It is the opposite of calm or reasonable. It is impulsive and downright flabbergasting that one would be so entitled to expect this kind of change to be merged into mainline rubocop backed behind such weak arguments.
> This is a open and shut first amendment case.

Yes, it is, but the outcome would be the opposite of what you expect.

constitutionally, private corporations can't be censored or compelled to speak when the speech is 1A protected speech.

but not all speech receives 1A protections, and Section 230 is about the type of speech that isn't protected by 1A. E.g., without 230, corporations could be sued for users' libel or held criminally liable for helping distribute lots of different types of speech (e.g., making terroristic threats, distributing child porn, facilitating illegal acts, etc.).

So, a case that hinges on 230 protections would be open-and-shut if 230 were repealed. Just with the opposite outcome of the one you're expecting.
I think it also depends a lot on your level of chess and what you're looking for. I think the chess24 team (Gustafson, Svidler, sometimes Magnus) is maybe less accessible but more interesting for higher rated players.
When social media firms ban conservative voices, they need to be sued for interference with interstate commerce. Because that's what it is.
I think "convenient" may be a mild understatement. Many parents are enduring serious mental health issues because of their inability to sleep. I should say that was not our case.

> They will eventually shut down in self-defense to escape the terror of being abandoned by their parents

Perhaps. I don't think we actually know what's going on in a baby's mind. Children appear to be amazingly resilient and also quite logical.

But as with all such advice you have to respect your own instincts as a parent and take cognizance of what the child's temperament is like. It's always different.
Yeah, the waiting is killing me.
Political Groups Track Protesters’ Cellphone Data
That's a really good point. I guess they could include a patent grant in addition?
Convert Go to Flutter and Dart for PineTime Companion App
My accounting professor used to say the mirrors and security cameras in stores were to monitor the employees more than the customers.
I cant stop laughing!!! I may die soon! Awesome reply!
Give yourself time. You are a child of the universe, no less. Worry not about the Elon’s or other Farts in this world. Achieving more motivation is a day by day thing. And not every day will have progress. Just give it time.
I hope with the support for custom properties (aka CSS variables) for everything we can implement dynamic light/dark themes without custom CSS overrides. v4 required this because some colors were manipulated at compile time in Sass and therefor you couldn't set them to a CSS var
If someone was sharing a nude photo of you as a child for sexual purposes, you would not consider yourself a victim?
Sueca is actually a pretty interesting and complex game. Bridge-lite if you will.
My partner is the Grants Manager for a UK charity. It is a large ongoing hassle for them having funds marked for specific purposes with no expiry that they can't spend. There is a mechanism there where they can apply to the Charity Commission but it's a painful process (this is on purpose).

There is no such recourse in this case so the idea makes perfect sense to me. Two years is the only bit I have an issue with - 5 would be a bit more reasonable.
China is creating a type of self imprisonment.

It is fascinating, because it is a real manifestation of the faults of mankind on a very large scale.

I can see it becoming more difficult for secular western leaders to speak up about this, because there is no concept of universal human rights without a universal government to define those rights.
> Second, we know that many people have said that Go needs generics, but we don’t necessarily know exactly what that means.

Seems like the go authors are still bent on the idea that generics are really not necessarily and that there is no such problem that can only be solved by generics. Then is the generic drafting only a thing because they have been pressured into it by the community? I wonder why Rob Pike one day decided that it’s okay to change a language he almost vowed to never change after the initial release.
This isn't all Microsoft is doing

https://www.cbc.ca/news/technology/face-scans-police-microso...
https://www.cnet.com/news/microsoft-ceo-pledges-to-fight-rac...
& here's a post from March: https://blogs.microsoft.com/on-the-issues/2020/03/03/microso...

Weeding out this sort of terminology was already happening before recent events

Full disclosure: I work for Microsoft
Kind of like how the main stream media talks up war with the middle east.

"We came, we saw, he died."
Don't you mean 'main key'?
I think this is wrong, and really the crux of the problem. The app store is not a platform, it is a marketplace.

Apple has used control of that marketplace to impose a technology that we would not otherwise use and adds no value to our product.
Rockstar stops hackers from spawning KKK members in Red Dead Online
> Because voters are too stupid to tell fact from fiction

Education on critical thinking skills is a problem in the US, in my opinion. I don't think that needs to lead to 1984-esque "approved viewpoints", though.
What’s funny is that the stdlib makes extensive use of generics
You may not legally be held liable though in many cases you can. It's a common trope within law and I'd guess derived from common sense that if you host illegal content then you are therefore bound to scrutiny for potentially enabling it. So by extension, if you care about being a free person, you are responsible for it. Anything illegal in my home and I'm bound to scrutiny and law. Why should big co's get a free pass? To me, I couldn't care less either way but consistency in law would be just lovely.
When your own side project shows up on HN, you know it’s going to be a good day. Happy to answer any questions about foldnfly.
I think I am going to stop here. I am not sure you are open to a discussion.
Mail in voting and thousands of in person voting booths across the state.

Berate is a strong word to describe what I read imo. I think it was more a suggestion to put one's self in another's shoes.

If you believe for example that a caucus is not too high a burden of voting for anyone in America because credit card debt exists, I personally guarantee to you that this is due either to a lack of experience in the struggle some Americans face, or to a lack of imagination.

If you actually wanna know, it's easy - check out "Evicted" from your local library.
Along with unintentional back doors!
https://en.wikipedia.org/wiki/XcodeGhost
It was Ben Finegold. I'm sure a lot of people think this but don't want to say anything to dissuade people from learning chess. Games by 700 rated low skilled players are really really boring to me but good for twitch viewers for enjoying them. Don't really care.
Ask HN: Is there a web-browser that allows me to control media playback?
I am looking for a simple webbrowser that doesn't support or at least lets me control if video, audio are played and when. Are there any projects working on this?
How did I miss anything ? I'm saying they can get majority without the NDP and PCC.
It's hard for me to see how the "fun" factor of GitHub could be concentrated on the "Trending" page.

For me it's a place to do development. And it's been improving steadily on that.
Deploy Any Resource with the New Kubernetes Provider for HashiCorp Terraform
Yes. It can be the bloc. That's what I was saying. He said no way without NDP or PCC but that's false.
There is zero evidence supporting the claim that racism is prevalent - widespread in the US in 2020. None. Zip. Zero. Racism is not the majority. It is amazing to me that people are getting duped into this race war... all at the benefit of the powerful and political elite.
To lie about something people will figure out anyways in 1 week or less is a bad idea. Just be honest about the situation and be open for questions.

People talk to each other and terminating someone does not prevent that from happening.
Data engineer reviews new book “Fast Python”
No sorry, not yet.
> as it's now going to cost them a lot of money

As one of those shareholders, from a purely profit-motive, I'm not so sure that replacing 230 with something more onerous would be a net negative.

Moats are expensive, but also valuable.
We used the methods in this book http://www.amazon.com/exec/obidos/ASIN/0345497791/donhosek
(there's a non-twin version as well) with good results. We didn't just let the kids cry it out, and we had kids sleeping through the night by three months and a regular sleep schedule at four months. It's worth noting that most young kids are sleep deprived and making sure that they get enough sleep makes a big difference in their overall behavior.

It's also worth noting with kids that once you figure out how to deal with them, they enter a new developmental phase and all the rules change.