skysight-inc/HackerNews huggingface dataset:
If you have a good code review system, like Gerrit or Rietveld, you can do what I do.

Every single commit and upload is immediately followed by `git checkout -B master origin/master`.

Use WIP tags for things you intend to keep working on and download the patch and upload new patch sets as you continue. Using the code review tool as a substitute for branches and continuously doing work off of a clean master has changed my life.
This ought to be followed by pieces such as "Yes, sometimes experts will be caught in lies," "Yes, sometimes the experts are no longer trusted," and finally "A Crisis of Faith: Bafflingly, People No Longer Believe Experts."

I say this as someone with a science degree: public distrust of science has been at least partially earned. Now, it has become easier than ever to catch out some mouthpiece in an eventual lie, and it doesn't matter how Noble that lie is, as the Noble Lie gives way to the Politically Expedient Lie (still for our own good), and from there to the Convenient Lie (which is for someone's good, if not necessarily ours).
Ever Given is a container ship, containers don't carry live animals. Other ships that were stuck behind it have live animals(cattle mostly) but they are on ships specifically designed for animals.
principle agent problem and always has been ... what’s stunning is that civilization manages to create some amount of value despite this ... imagine what the world would be like if humans learned how to actually cooperate at scale and maximize long term in an antifragile way
Yes, they do!
I should use that perrogative the next time I take the car to the repair shop, maybe they will provide it for free for my well being and happiness.

Then I will go into the bakery that give a cherfull morning to the baker so that he can give me a couple of breads for the evening.
You've probably met a lot more, but only noticed the more intense ones.
A couple of years later - Thatcher had a similar confrontation with the miners striking against the government in the UK. Note that miner strikes had taken down the previous government and obtained a lot of concessions - so the Thatcher government was actually prepared and had stockpiled coal / prepared a PR campaign for when the strike would actually take place.
You could make the same argument for any sort of negotiation the government engages in with a private citizen or corporation. I really don't see the difference between a worker employed by the government and one employed by a private corporation. Both want to pay the worker as little as possible. Both want to provide as little protections in the workplace as possible.
The "crisis" was actually a war in which the UK, France, and Israel invaded Egypt:

https://en.wikipedia.org/wiki/Suez_Canal#Suez_Crisis

"To save the British from what he thought was a disastrous action and to stop the war from a possible escalation, Canadian Secretary of State for External Affairs Lester B. Pearson proposed the creation of the first United Nations peacekeeping force to ensure access to the canal for all and an Israeli withdrawal from the Sinai Peninsula. On 4 November 1956, a majority at the United Nations voted for Pearson's peacekeeping resolution, which mandated the UN peacekeepers to stay in Sinai unless both Egypt and Israel agreed to their withdrawal. The United States backed this proposal by putting pressure on the British government through the selling of sterling, which would cause it to depreciate. Britain then called a ceasefire, and later agreed to withdraw its troops by the end of the year. Pearson was later awarded the Nobel Peace Prize."
You only get to deduct expenses, not investments. They could have bought a 70 million dollar piece of farm equipment with that money to reinvest, but they'd only get to deduct a small portion that year.

Regardless, you can't tell based on the data given whether the companies re-invested the money or distributed to shareholders. The difference between those companies could just be whether they booked a $50M sale on Dec. 31 or Jan. 1. Or whether they wrote off a bad asset on Dec. 31 or Jan. 1.

It's totally capricious.
If it's just fixing typo or other trivial fixes, in most projects just use a single commit and say "while I'm here, also fix typo/etc." in the commit message is acceptable, unless the main change has higher than normal chance of getting reverted later.

Even if that's not appropriate, gut add -p really isn't that hard (and git commit/add -a is a really bad habit you shouldn't use unless absolutely necessary, e.g. you are making the initial commit).
I like to program in JS. I've written non trivial amounts of code in Java, PHP, Clojure and OCaml. I've written approaching trivial amounts of code in Go and Rust.

JS has warts, undoubtedly so. But I try to approach it like I would Clojure and it makes the experience much better for me. I think JS has the bones of a Lisp if you're willing to look for them. Sure it doesn't have macros or decent conditional expressions or immutability but using something like Ramda gets you some of the way there. And there are proposals for pattern matching and immutable data structures though they are fairly far off.

I think JS is at its worst when people try to code it as poor version of Java or C#. I have a bit of a love hate relationship with Typescript for this reason. Some aspects of its type system are great like being able to make a union out of anything, I wish OCaml had that. But I think denying Javascript's inherent dynamic nature is a mistake.

Overall I've learned to ignore its worst parts and just focus on what made it good from the start, being a weird cousin of Scheme that runs in the browser.
I thought the common suggestion for a modern Latin textbook is Wheelock.

https://www.amazon.com/Wheelocks-Latin-7th/dp/0061997226#
"Well sure Dr. Fauci is an expert and Alex Jones is not, but Dr. Fauci lied to me so I can't trust him"

You don't get to decide for other people if being lied to is ok. That is a decision they have to make for themselves, and in general they will not trust people THAT LIE TO THEM. People at this scale need to be treated like sheep, but if they figure out you're herding them they stop listening to you.
That is not how it works, but it's an interesting idea. My worry is that it's a little fragile in the same way that vanilla git is fragile - you can accidentally start working on a new task and mess up your stack.

In reality, git-plan just keeps a directory of draft commit messages for you, and when you run `git plan commit` you can choose one of them to use as the template for your commit message. Essentially, it runs `git commit -t <YOUR_PLAN_FILE>`.

(I'm the author)
I've started doing microcommits recently which helped with that exact issue highlighted in the article. My current workflow, on a side project as a solo developer, is to commit as soon as I have any relevant piece of functionality (even if it's just an empty React component that I'll then build out) which also makes it trivial to come up with a commit message. When a feature is done (or part of the feature if it's big enough already) I create a PR which I briefly review. Not as deeply as I would with an unknown code, just want to make sure there's nothing obviously wrong.
While an unrelated refactoring is still bundled in the same PR, it doesn't matter because it's a separate commit and I rebase/fast-forward into master.
But you don't need religion for that. The ancients already knew this by creating the arts as an expression of humanity looking for its meaning. My opinion is that modern humans debased art and nowadays have difficulty finding things that are meaningful. Religion and superstition, on the other hand, have maintained their focus.
Somewhere there's an interview with him talking about this gaffe. He spoke a bit about going off script, and starting the "Fool me once, shame on you; fool me twice, shame on me" aphorism. It captured his intent precisely. it wasn't till the first few words spilled out that he realized there would be video of him saying "shame on me" which was clearly unacceptable. He backed himself into a corner, and fumbled his way through it.

If I remember the interview correctly, he still felt better about being mocked for that than giving up a "shame on me" soundbite. He figured that would be replayed for the rest of his presidency. So this embarrassment was the least bad of all options to get out of the situation he put himself in.

I am not a fan of president W. Bush, but there's more going on there than meets the eye. Kinda interesting to understand part of his thought process. I think he was a terrible president, but I have no doubt he is a sharp guy.
"initially not recommended to the general public so that first responders wouldn’t feel the strain of a shortage of PPE."

To me, that doesn't sound as "bad for you". Maybe if "not recommended" is taken out of context (and extrapolating that into "not recommended because masks don't work").

It's still not a lie, as far as I can tell.
This is such a refreshing comment. It's far better to engage in dialogue with those whom you disagree in order to understand their position opposed to assuming they are evil, stupid, or otherwise sub-human. Wouldn't it be wonderful if such an approach was applied not only to religious conversations but those of politics, work disputes, conflicts with your significant other...everything?
This is a great place to explore a recent line of thought I have had. I'd love to hear your thoughts on sqlite as a file format. Just hypothetically, if Runebender ditched xml and used sqlite files instead, what would that do to serialization? What other bloat implications would it have? What value would you lose by going away from xml?
Lack of expertise and interoperability still hinder IoT in connected factory
> In reality fundamentalist literalism is a relatively recent (19th century) theological development

I was under the impression that it began with the Protestant Reformation - specifically Calvinism (16th century)
I don’t think I’m confusing those two things, but may be using “corruption” in a slightly different way than you are. You may be less likely to be solicited for a bribe when pulled over for speeding in the US; but police literally getting away with murder is the very definition of corruption in my view, even if the courts give it a pass with dubious arguments about immunity.
You can have negative views of FB, but this comment doesn't belong on HN.
I'm part Irish and part Cherokee and part German. That seems to be a factor in the challenges I've faced in trying to make my life work.

To me, talking with people is a really normal activity, but it's gone weird places with people who seem to think we have a super intimate relationship because I talked with them a little. And they reflect that back to me as being far more conversation than they've had with anyone in ages and now want to treat me like their personal possession or some nonsense.

Just being less share-y and drawing certain boundaries seems to be the only effective approach. Being what I think of as personable, polite and diplomatic just goes really weird places at times and then I can't get rid of people who latch onto me like obsessed nutcases.

Reading up on some Irish playwright helped me feel more at peace with some things.

I'm American. Born and raised here and spent most of my life here. But I tend to get misread a lot by Americans and tend to hit it off better with foreigners, third culture kids, people who have traveled a lot, etc.
>Personally, I think experts should err on the side of humility in public communications — and that means telling the truth, even when it’s complex.

That's what Fauci did. The problem is that nobody bothered to actually listen. In the video where he was allegedly lying, he said that he thinks that masks are ineffective at preventing you from receiving covid and that they should be saved for healthcare workers and people who are sick.

https://youtu.be/PRa6t_e7dgI
IBM offers quantum industry’s first developer certification
>opts to become addicted

?????

>I know lots of addicts who chose to continue, and I know lots of addicts who chose to stop.

I highly doubt you know any addicts full stop.

>Don't personify the addiction: the brain of an addict is still that person's brain, and their decisions are still their own

I just can't even, are you a scientologist or something? I have literally never encountered arguments like yours. Truly outlandish.

"Addiction exerts a long and powerful influence on the brain that manifests in three distinct ways: craving for the object of addiction, loss of control over its use, and continuing involvement with it despite adverse consequences. While overcoming addiction is possible, the process is often long, slow, and complicated."

"...we recognize addiction as a chronic disease that changes both brain structure and function."

https://www.health.harvard.edu/%E2%80%A6/how-addiction-hijac...
I'm confused: don't video games cause violence? Why would CNN do this?
This seems to be the key bit:

> If the canal does reopen quickly, vessels waiting now should be able to make up time without too much disruption to the supply chain, which is already weighed down by port congestion and inland transportation delays.
Looks like they're committed to improving things.
I suppose in that sense, the question is whether the government is taking sides.
Have you read college freshman essays? While it's coherent in a sentence it is very rambling over paragraphs to pages.
> invariably brought to you by someone holding a proof-of-stake bag.
That's no joke. Salvage operations is such a fascinating topic, which I'm sure many (me included) found themselves quickly obsessed with. The sagging and hogging threshold of this ship is the critical key here. I'm curious how close/or not the hull came to being compromised.
As an undergrad, my circle had this drinking game called "Big Number." It came about because two of the biggest wastoids were the last people awake in the wee hours of Sunday, and one of them said to the other, "I'm too drunk to deal. Let's just roll dice, and the one with the biggest number drinks."

Of course, over the years, the game developed dozens of other rules.
Well, I sincerely wish you well, in your journey. I am familiar with that kind of thing. Well worth it, to do the hard work.

I am not a fan of what is termed "cancel culture." Unfortunately, the whole thing has turned into a polarized litmus test. We forget that there are real people connected to these words and actions; on both ends of the exchange.

Let me tell you about Onnig.

Onnig was a former engineer, in Lebanon, and had to flee to the US, with his wife and children, when things went bad, over there, in the 1970s or 1980s. I met him, because he lived in the apartment one floor above my girlfriend (now wife). Back then, he was in his nineties. I'm sure he's long dead.

He was a survivor of the Armenian genocide/massacre/whatever you want to call it. A lot of people died. It truly sucked.

Onnig and his wife had nothing. The apartment was a cheap living arrangement. I suspect their kids helped them to stay above water (I know their daughter, at least, was a lawyer).

Onnig and his wife were some of the kindest, and most generous people I have ever met. They helped my girlfriend out, numerous times. She was a single mother, and didn't have a pot to piss in. They used to leave bags of day-old bagels on her apartment door, a couple of times a week. They were also Salvation Army bell ringers. I'd run into them, at a local mall, at Christmastime.

Onnig was also pretty damn racist. I quickly learned not to let the conversation go to places that would let him go off. I never confronted him on the matter. I just refused to feed the beast.

Some folks would have absolutely destroyed him, without a second thought. I'm sure that some folks, reading this, have already labeled me an "apologist," or even worse, because I didn't call him to account.

He had no authority. He was a tired old man, in the last few years of his life, and had been through stuff that most of us couldn't imagine. His words did little harm, and his actions benefitted many.

It's never a simple thing. We are humans, and humans are complex. It is up to each of us, to be the best we can, and live the best life we can. If we are fortunate enough to reach positions of authority, I believe that it is incumbent upon us all to take Responsibility and Accountability, as stewards of this authority. Most of us can usually find some way to use that authority to benefit society and others.
Same in 3.8. Versions below 3.8 throw a ValueError.

But this is not an issue:

>>> import ipaddress
>>> ipaddress.IPv4Address('010.0.0.1')
IPv4Address('10.0.0.1')
As someone who works on a Python library solely devoted to making AI text generation more accessible to the normal person (https://github.com/minimaxir/aitextgen ) I think the headline is misleading.

Although the article focuses on the release of GPT-Neo, even GPT-2 released in 2019 was good at generating text, it just spat out a lot of garbage requiring curation, which GPT-3/GPT-Neo still requires albeit with a better signal-to-noise ratio. Most GPT-3 demos on social media are survivorship bias. (in fact OpenAI's rules for the GPT-3 API strongly encourage curating such output)

GPT-Neo, meanwhile, is such a big model that it requires a bit of data engineering work to get operating and generating text (see the README: https://github.com/EleutherAI/gpt-neo ), and it's unclear currently if it's as good as GPT-3, even when comparing models apples-to-apples (i.e. the 2.7B GPT-Neo with the "ada" GPT-3 via OpenAI's API).

That said, Hugging Face is adding support for GPT-Neo to Transformers (https://github.com/huggingface/transformers/pull/10848 ) which will help make playing with the model easier, and I'll add support to aitextgen if it pans out.
This is the entire reason I use SourceTree. It adds a great UI to the patch command
I think we may come to see the era of roughly 1990-2010 as the golden age of information: relative abundance creating new opportunity, before the noise drowned it all out.

I suspect that in the future people will, ironically, return more strictly to tribal knowledge, as the media and the internet will be (already is) a vast ocean from which you can pull anything you want to believe. Thus nothing you see or hear from mass media or the internet can be trusted, there are no experts, and you go back to information scarcity as you have to rely on your immediate human network for trust. Actually I think we’re already seeing the return to tribal authority, the early waves are already here on Facebook and YouTube... they just haven’t devolved to strictly local circles of trust yet.
It's hard to be confident or establish guidance when there isn't much data.

In general, the CDC and medical community offers information and guidance, not policy (which is what the feds dropped the ball on). Which they did. Unfortunately, nuanced and evolving guidance leads to conspiracy theories, claims of lies, and even just unintentional distortions.
This is why I think Rust could eventually be faster than C and C++ for a lot of things. The work has to be done though. You're right that noalias enabled optimizations are neglected because you can rarely use them in C code.

On the Rust side I think the language needs some way to annotate if's as likely/unlikely. This doesn't matter in most cases but can occasionally matter a lot in tight high performance code. It can allow the compiler to emit code that is structured so as to cause the branch predictor to usually be right, which can have a large impact.
Universalists, Reconstructionist Judaism, Quakers with unprogrammed worship, virtually any panentheist religion which asserts that the concept of God is universal and inherent in every element we can perceive. Even early Christian Gnosticism had echoes of this style of thought.
Container ships can easily have an unpredicted wait of 1-2 weeks just entering port, happens all the time and isn't major news. Few days in the Suez canal isn't going to do anything to cargo.
rather than rephrashing, i'll just repeat what i posted yesterday about what fauci said a year ago[0]:

> "what fauci said was true (given tolerance for the natural ambiguity inherent in speech). in most cases, masks have been, and continue to be, primarily a palliative and signaling device, not a mitigation. for healthcare workers, it's actually an augmentative mitigation used with other imperfect mitigations in controlled circumstances to get the best possible outcomes from their use. masks are poorer mitigations in most general circumstances in comparison to the easier alternative that is (context-specific) distancing."

>

> "at various points, he's buckled to the prevailing political winds to keep his job, but that particular statement was a moment of lucidity and frankness. it threatened the dominant mediopolitical narrative, so he eventually backed off."

masks are valuable to politicians and the media for the concrete feedback it provides for their own power and voice. it emboldens politicians as the first order effect, while other order effects are simply not that important to them. that's what "politicizing masks" means.

[0]: https://news.ycombinator.com/item?id=26604508
"Better to join a church/synagogue/whathaveyou that DOESN’T require total philosophical adherence."

I'm a philosophical materialist and I don't believe in any kind of deity or supernatural world. There is no "church" that would have any place for someone like me, other than maybe the Unitarians, and, well, honestly, they're not that interesting.

I hung out in Marxist study groups and Trotskyist groupings for a while in my 20s. That was my replacement for a bit. :-)
Image Inpainting for Content Localization
Having been there when C compilers used to generate lousy code and we had legends like Mike Abrash teaching an whole industry how to write high performance Assembly, it always feels ironic that there is this myth about C and C++ being blazing fast since they were created.
You don't need the ideological purity of commit messages in order to have useful commit history.

Get 90% of the way there and for the rest if you've got unrelated changes that are readable, just move on, commit them together and eat the pain.

That's my belief, but of course git permits others. Git is very low level, it's a tool to build a workflow for you.

My workflow involves tolerances for imperfection. I believe in developing like I move and act: my movement has easing, compensation, and feedback. I focus more on being quick to patch errors than on never making one.

But I don't write code for a Mars rover and I don't know if I would have a different workflow there.
In the past, the US gave unions a bunch of special "rights" that violate the rights of others.

It would take a decisive kneecapping to go back to parity.

Unions (and corporations, for that matter!) should have the same rights as any other group of people. No more, no less.

Labor organizers don't care about that, of course. Their "job" is to increase the power of "labor," by hook or by crook.