skysight-inc/HackerNews huggingface dataset:
Ansible is primarily used for provisioning resources, on the other hand, Terraform is used for managing and deploying cloud resources. This differentiation falls fairly well in the concept of immutable infrastructure.

If you're familiar with Packer, then Packer is responsible for creating identical VM images which can be integrated to a CI pipeline and provisioned and baked using Ansible. This baked image is then deployed using Terraform.

Be advised that provisioning in Terraform during VM deployment is not recommended since it increases startup time of the machine. To perform ad hoc configuration management, you use Ansible.

You could very well use Ansible for managing and deploying cloud resources, but that's not what it's meant to do. Moreover, Ansible does not support the concept of state as does Terraform.
YouTube Uploader – Let Others Upload Videos to Your YouTube Channel
You're talking about the wrong document. The article discusses this essay by Ioannidis published on the same website:

https://www.statnews.com/2020/03/17/a-fiasco-in-the-making-a...

That isn't a scientific paper but rather an opinion piece. You're talking about the more recent paper he was involved with regarding immunity in a region of California.

trying to argue that the overall outcome isn't going to be so bad is proven false by counter example.

This might have made sense to say three weeks ago. The vast majority of places have now peaked already and have seen nothing worse than the flu. The strength of lockdown has made no difference whatsoever and there are good reasons to believe even having one at all may have no impact - bizarre but that's what some of the data is saying.

In other words if you're going to engage in argument by counter-example that Ioannidis was wrong in his essay, you're going to lose. If we judge what happened purely by counting examples and counter-examples, lockdowns would appear totally insane.
Ask HN: How to create a feed of ONLY targeted ads for me
I really wish I could create something that only shows me the ads that companies think I should be seeing. Basically a Facebook feed but with ads only.

Thought about scraping this (https://www.facebook.com/ads/library) but can't find a way to get only my ads or even all ads that aren't marked as political.

Also tried making a page full of Google Adsense components, but they are very quickly repeating themselves or just stop showing.

Any ideas?
Apple not supporting formats which are available in the wild. They don't have to promote it or advertise it in any way. But not being able to play webp at this point is kind of silly if the alternatives are worse.

Also, Chrome does support AAC which was popularised by Apple pushing it onto iPhones.
I suspect there will be a lot of pressure from parents to reinstitute in-person schooling so they have daycare.

I suspect we'll also see our first couple of disease clusters and super spreaders with associated deaths clearly attributable to a child in school. (I hope to god we'll have some compassion and keep the kids' names out of this, but I doubt it.)

Once that hits the news, I suspect lots of parents will refuse to put their kids in school.

In CA, for example, this may have devastating effects on the school district: they get money on an asses-in-seats basis [1]. I suspect that home schooling is about to have an enormous boom.

[1] https://www.voiceofsandiego.org/topics/education/how-do-you-...
Yeah, lazy is a failure. Can't hit a homer every time. I'm not sorry we tried it. But it's time to take it behind the woodshed.
Advanced soccer analytics: building and applying a pitch control model in Python
Except that 90% of Python programmers fail to answer simple questions like:

Given:

def extendList(val, list=[]):
list.append(val)
return list

What do the following print:

print(extendList(1))

print(extendList(1))

print(extendList(2))

print(extendList(3,[]))

I do not blame them. This sort of behavior is error-prone. You can make sure that you do not use such a code in production with code reviews but it would be also great to not having such things in the language.
I can open multiple repositories at the same time in the same screen. I actually forked from QGit becuase I was missing a lot of functionality and inactivity in the UI.

I couldn't find a way to do that in QGit and GitAhead at least. I didn't try the others.
This is a really niche topic (Football/Soccer analytics), although its reach could be high, so let me contextualize a little bit (btw, I'm using the word Football from now on):

Football statistics were traditionally based on specific event: passes and shots. From these you can compute certain statistics like % of Possession (contrary to what it may look, % Possession is calculated from passes, not actual possession time) and Shots on Target.

Football is notoriously a low scoring sport, and shots differ in quality quite a bit, so a measure was created to address this: Expected Goals (xG). This was around 2010, and only this season hit the mainstream as the Premier League broadcasters started to present those values (based on Opta's model).

More advanced stats, but similar in concept, were created since, like Expected Assists and xG Chain (in this case, a value is attributed to each player that participated in the possession chain).

But even shots are kind of rare (usually around 10 shots on target per match), and these stats completely disregard the defensive side of the equation, so increasingly full positional data is used in Football Analytics.

In 2018, William Spearman presented an influential paper at MIT Sloan Sports Analytics Conference called "Beyond Expected Goals" (this video is an open implementation of that paper)[1]. He was later hired by Liverpool FC as their lead Data Scientist.

You can watch a video by Spearman himself about the Pitch Control Model and recent innovations here.[2]

As you can see, this is pretty close to the state of the art in Football Analytics. It's a huge moment that very few people noticed, so I'm trying to get it out there.

[1] http://www.sloansportsconference.com/wp-content/uploads/2018...

[2] https://www.youtube.com/watch?v=X9PrwPyolyU
yes, but not on a regular basis
being a solved problem 40 years ago

Ahh.. welcome to computer "science", the ever repeating cycle of 'inventions'
Apologies, I read that as extrapolation. Also assumed Hyderabad as that is the fifth biggest city in size, and cases are around the same in number.
Show HN: I built a no-code abstraction layer on top of Stripe
After he Higgs boson, is supersymmetry dead? [video]
This is only tangentially relevant. Japan has a culture where it's accepted that residential property is relatively medium term, and should be upgraded or rebuilt semi-regularily. Contrast that to real estate as an investment/heritance vehicule in the west.

Also, personnaly I wouldn't be ready to live in a Tokyo flat and I suspect most of the target population isn't either. That we may not have a choice down the line is likely, but another issue.
It's interesting to me when others come up with similar conclusions independently.

There's studies of sales of works (books etc) and iirc, at least with books, the vast majority of sales are within the first several years, with income trailing after that. This has come up in discussions of zombie rights to works, where a publisher sits on something out of print without releasing new copies because the return isn't enough. It's like the textbook reason for limits on copyright terms. Last I looked at it, 30 years was more than sufficient to cover the bulk of sales in almost all cases. If you think back 30 years now, that would be works released pre 1980s and earlier. That makes intuitive sense to me.
Super interesting data for researchers, I hope someone captured it.
the average life expectancy (especially for males) is relevant here. India's at 70 yo, while UK is 80
As @app4soft said, please open an issue and attach as many logs you can: https://github.com/francescmm/GitQlient/issues

To be fair, in windows the performance is quite low due to Git Bash performance as well. I need to improve that :)
Obviously not a great practice, but I don’t think .com1000 TLD will be coming along anytime soon.
Why would anyone buy anything from Amazon?
Butterflies!
The only place where I think C on kernel will always have a place is on UNIX clones, they are just too symbiotic.

So as long as UNIX clones exist C will be around. OSes with POSIX APIs is a different matter, because there the kernel can be something totally different, e.g. mainframes.

So for that, we still need something like Checked C.

Or as Oracle, ARM, Google are doing, hardware memory tagging.
It's something planned for the future :)
Indian, living in India presently, who lived in the US for almost a decade. I can relate a strange experience: I was never severely bedridden by flu or viral fever in India. I caught the flu during my stay in the US one February. I was so weak I could not even sit up in a chair for more than 15 minutes, I would doze off. I was in my bed for practically 5 days, was weak for a couple of weeks afterwards.

I am back in India for a decade, never had such an experience again.

As you say, genetics is definitely not the reason for immunity or lower death rates. But I wonder whether human immunity is much lower coming out of the winter. India does not have severe subzero celsius winter except in the hills.
> Absolutely not. Amazon is the only company that reliably shows when they'll deliver, even before you order. Other companies tend to indicate deliveries within 1-2 days or 2-3 days if items are in stock. You never know when the cut off time is and if they ship out on Saturdays. I know that's a very hard problem to solve logistically but as a customer I don't care.

Except in NL ... that's exactly what the other stores do when they say "order before 22:00 and have it delivered the next day!", almost entirely without doing the things that make people dislike Amazon.

> Also the no questions asked return policy is pretty unique. If I get a defective item I don't want to argue with the seller why it doesn't work, I just want to have a working replacement tomorrow. Amazon always delivers on that, others very rarely do.

We have a 30-day "change your mind" policy required by law, I thought that was a EU policy, but I guess it's Dutch ..
Bitcoin core uses leveldb to store blockchain data. Short of writing your own node, you would have to import bigquery data into leveldb.
Just have a friend working at NYT who tells you how NYT actually manages account deletions while having a pint; then try to delete your account and check whether the emails come to a new email. Write an article about it.
I don't think anyone is saying that what amazon is doing is necessarily illegal, one can still strongly disagree.

And even if amazon is held to a higher standard (which is a big if), considering that they are by quite a margin the biggest player so what they do creates a signal to all other players about what is acceptable. Moreover with their profits they could afford to treat their employees well.
A joke about a fat person being fat.
Hi! Thanks for the feedback!

Which platform did you try it in? I'd love to have as much info as possible so I can fix it :)
oh look whos talking. you seem to second guessing lots of things in the first place.

this article is a bunch of baloney to undermine India's amazing progress to contain the chinese virus.
And that's exactly that is done if you don't use code blocks for quotes on hacker news...
And how much did those titles actually cost to make? I seriously doubt either game shipped without at least 4x the kickstarter funds.

They were only able to make up the rest because they knew copyright meant they'd get paid more when they shipped via sales where as without copyright it would just be copied.

Here's an article on Elite:Dangerous saying the actual budget was 8m

https://www.eurogamer.net/articles/2014-09-11-elite-dangerou...
> I'd rather see Bezos spend the money on rocketry than have governments wasting yet more on handouts.

Don't worry, the government will get the money from somewhere. If not from Amazon then from you.
Some government official probably scoffed at the need for password protection as "no one will know how to find the site".
Boiling the machines when they needed to just chill
Is it required to communicate to users their IPs are used to track them?
> Can it guarantee that (immutable) argument copies will be elided in certain circumstances?

No, but it's an interesting idea I never thought of. By the way, passing by 'ref' works handily and avoids icky pointer passing, while being efficient. I recommend as a "best practices" coding style using 'ref' parameters instead of pointers where possible.
> Apple has committed $2.5 billion to housing in the Bay Area. Google committed $1 billion. Mark Zuckerberg committed another $500 million. Microsoft committed $500 million to housing in the Seattle region... In other words, the tech giants find it easier to spend hundreds of millions, if not billions of dollars than to reform city and local land use policies. A politically effective movement would hire a bunch of lobbyists and change zoning and land use for a fraction of the cost.

I think this is a good question, why do tech companies spend so little money on YIMBY lobbying? (At most a few million, AFAIK.)
Interestingly the AirPods Pro scrolling is super jumpy for me in Safari 13.
In each case it steadily rose after case growth slowed and lagged deaths continued, as expected.

Where do you see that? The data I see says the fatality rate of all forms has been dropping over time, as expected from prior epidemics where this also occurred. It's the Imperial papers that have been discredited by now, as their projections were way off in all respects - if they were right Sweden would be a bloodbath at the moment.

I agree the serology survey was not a perfect study - more for statistical/confidence interval reasons than the researcher's wife. But it may not matter. The general conclusions of the serology survey are matching many other pieces of data and evidence from around the world. For example:

"The latest figures from Italy show (pp. 12/13) that 60 of almost 17,000 doctors and nurses who tested positive died. This results in a Covid19 lethality rate of less than 0.1% for those under 50, 0.27% for those aged 50 to 60, 1.4% for those aged 60 to 70, and 12.6% for those aged 70 to 80. Even these figures are likely too high, as these are deaths with and not necessarily from corona viruses, and as up to 80% of people remain asymptomatic and some may not have been tested. Overall, however, the values are in line with those from e.g. South Korea and give a lethality rate for the general population in the range of influenza."

From https://swprs.org/a-swiss-doctor-on-covid-19/ - the source document is in Italian but the data table is quite clear even to someone who doesn't speak it. In other words for Imperial's paper to have been reasonable they'd have to assume the entire population had the mortality profile of 60+ year olds, which is just wrong.
This is a great point; I've noticed the lack of regard for the qualitative difference between print media and social media for a while now - whenever somebody will raise a point about social media, it is almost immediately pointed out in a reply that before social media there was print media, as if the difference between them is abolished by the mere comparison. XKCD has unfortunately done this too[0]. There are several differences between new media and old media which have very real effects:

* The quantity

* Ease of access to more marginal opinions

* "Dark patterns" such as infinite scrolling

* Internet "debates" traded in 140 or 280-character blows, to be endlessly liked and retweeted

* Anybody, anywhere can make a good-sounding point which is still logically flawed

* Centralization, not of opinions but of specific publishing platforms that have the final say in the control of content, despite being practically public spaces[1]

[0] https://xkcd.com/1601/

[1] While it's true that newspapers and publishers had a lot of control over public opinion, Twitter has more control over public opinion than any newspaper in history.
Easy way to migrate Thunderbird to Outlook PST
Ask HN: Where do you write?
I would like to write some short stories but I don't know where to publish them. Should I go for Medium, or a personal blog ...

Whatever you are writing, fictional or not, which platform do you use to publish ? And what are the pros and cons ?
> And the idea that mass lockdowns can stop the spread of virus is itself a radical, new idea that's never been tried, and which has its own cadre of experts saying it hasn't been working or is making little difference.

You probably could say "has not been tried recently", but mass quarantines has been tried since time immemorial.
I eat meat but I am not a big fan. What makes a difference is that it is reasonably easy to season meat and thanks to the Maillard reaction it tastes good.

I love vegetables, but seasoning them so that the taste is not bland requires more work and skill.
Could you give a quick overview how one would roast at home? I tried baking green beans in the oven and "roasting" in a pan, both approaches went undrinkable.
Show HN: A library to add Medium-like share menu to selected text (TypeScript)
Hi Walter, I have two questions:

1. Why do functions need to be annotated with @safe and nothrow in betterC? Why not make them default? I understand making it default for non-betterC might break some code.

2. string type was uniform and awesome until it was treated as Unicode. Any plans to fix this and remove auto decoding? That would be awesome.

Edit: three questions to two. I had another question about using threads in betterC. But looks like we can't use D threads as they are runtime dependent.
That is why they are now persona non-grata on Apple, Google and Microsoft platforms.

So on Apple platforms they will eventually have to deal with C++ and Swift no matter what.

On Microsoft platforms, they complain about C support and get shown the door to C++.

And on Google platforms, given the years of ignoring security advices, starting with Android 11, hardware memory tagging is a required feature, with the kernel randomly attaching GWP-ASan to processes, while on ChromeOS Linux gets to run on a hypervisor sandbox.
just buy a raspberry pi 4 and a 500 gb - 1 tb flash card and set it up. Seems like a much more fun and cheaper endeavor!
Rust is essentially C++ with auto-generated Move Constructors, and compiler errors on use-after-move, at the cost of preventing library developers from providing function overloads that eat temporaries as an optimization.

So, yeah, really not a C replacement at all imo
It's surprising to me that you can even think of a world that isn't useless.

Value judgements merely reflect the person that created them.
It’s named after the book by Umberto Eco, which is a pen name Dan Brown sometimes uses for his more esoteric and intelligent writing.
Generally it’s oversight rather than malicious incompetence.
Shopify Launches Shop App
Domain “Coinshub.org” Is for Sale
It also questions the data, for example, the fact that even elderly dying at home without having been tested at all for COVID-19 (!!!) being counted as COVID-19 deaths. This is something I come across in more countries including the USA where various doctors have protested against policies that almost force them to include COVID-19 on death certificates. It's as if they want to artificially inflate the numbers to make COVID-19 seem a lot worse than it is. Watch this interview with Dr. Dan Erickson and Dr. Artin Massihi of Bakersfield, CA.: https://www.youtube.com/watch?v=cmjYRJXKixY
It’s amazing how you took it as if I was arguing against corporations, when the gist of my argument is that somebody has to be developing the necessary legal framework of how to handle my data (by both corporations and governments). EU did, did anyone else?

> a present for my daughter’s birthday a week before

Can anyone on NH suggest whether this ever happened to them? This never happened to me practically so I think this is quite far away from reality.
Is this the first step from Shopify to create an Amazon-like marketplace?
Terraform has way more coverage. I used ansible for aws a couple years ago and needed to rewrite many of the modules myself.

Tracking AWS apis is a fulltime job and ansible for clouds just isn’t popular enough.
Scooters need to be charged every night so juicers collect randomly abandoned scooters before the complete battery failure that would prevent company running the service to track its fleet. So charging for time up to infinity may solve the cost problem on the operator side, doesn't solve the societal problem of scooters left in random places. Where I live scooter users are charged extra if they don't deliver the scooter to a predefined location but that's not enough of a deterrent.
Unlike what this article tries to subtly hint, there is no massive conspiracy theory stuff going on here. There are too many people in India (with smartphones and cameras and 3G/4G internet) to pull off anything covert. No one here views this as mystery but as a result of country's discipline in lockdown till now.
The country imposed an early screening and tight lockdown and people followed it well till now.
Why is it tiresome for people to experiment with substance abstinence? How is that affecting you?
Thank you for this; it's the clearest explanation I've read.
It was recently discussed in the forums, it should be coming, the actual situation has delayed the development.
Shouldnt step 4 be actually first one as it has lowest risk of making anything spread? Meanwhile, kids in elementary schools are unable to keep distance from each other and opening them requires reorganization like need for more space, need have them in smaller groups etc.
Show HN: GraphQL Editor 3.5 – GraphQL Docs generator feature
For reference, the blog article on borrowing/ownership from 2019: https://dlang.org/blog/2019/07/15/ownership-and-borrowing-in...
This is a great opportunity for a LookAtTheSky app.

Personally, I like to combine both modes by using moon tracking apps to watch my favorite sky object.
Agile vs. Waterfall: Key Differences and Definition
> You can't have it all with the mouse no matter your settings

I don't think this is correct; it's just that it's not trivial to get things working well. As you say, it depends on using an up-to-date version of tmux (and sadly, you often can't run a config made for a new version with an older version of tmux). And you'll need your terminal to be up to the task (eg. iTerm2 on macOS; not sure what the best thing on Linux would be).

This config shows some useful mouse settings, along with transparent integration with system clipboard via Clipper (even when running tmux on a remote host):

https://github.com/wincent/wincent/blob/81e4b5dc180dd22d8b47...

But like I said, getting it all working nicely requires a bit of work, especially if you want things to work uniformly across Vim, tmux and the shell. Once you've got it all working though, it's great. I can scroll with trackpad or mouse wheel inside and outside of Vim, click or drag to select text (and double-click to select words, triple-click to select lines) both inside and outside of Vim, I can drag tmux or Vim splits etc.

Having sad that, I rarely need or want to take my hands off the keyboard when in the terminal nowadays.
Also wondering what the psychological effects of IDE, programming language, and SDLC are.
I’d probably go with gross or criminal negligence for a screw up of the magnitude and simplicity of this one.
Ah, that's awesome! Really cool to see a new language taking compile-time so seriously.
After 5M+ views “Dr. Erickson Covid-19 Briefing” has been censored on YT