That obviously makes sense to me, but IANAL, so I'll refrain from making any definitive judgement. A huge percentage of pictures are immediately shared with a third party (by being uploaded to the cloud).
Beyond that, while the rules outlined above deal with publishing, there are also rules for merely taking pictures. The exact rules for that aren't 100% clear to me[1], but if it's permissible to publish them, it must also be permissible to take the photo in the first place.
If you render everything with JavaScript then HTMX is not really going to be useful at all. It's useful for developing apps that simply don't need the sort of complex client-side interaction that those frameworks enable. The article points this out- if you want to write a SPA in React, HTMX is not going to help at all. But if you want a mostly-server-rendered page with some AJAXy interactivity, HTMX is much much easier than trying to shoehorn in some client-side rendering just for the AJAXy bits.
The main thing is is that there is still a substantial demand for tools that let you mostly avoid writing lots of JavaScript, whether on the server or the client.
I feel like I gotta call out the LiveView is a bit in a class of its own. HEEx is rendered on the server, but the diff sent over the wire is the absolute minimal diff it can be with a map of where it in the DOM. Often this is just text. LiveView also gives you a running process on the server (a virtual machine process, not a linux process) that holds the user's state (like if they're logged in, for example) and makes things like "who's online?" and other concurrent features almost trivial.
How many developers write C programs versus how many developers write JS apps?
Without accounting for that, your comparison makes no sense! Not even mentioning that you’re comparing two very different level languages. A low level language like C would never behave like a high er level language
Has it been getting worse? like actually? I've seen some journalism from the past and it doesn't seem any less sensationalist. In the past perhaps a bit more formal english was used in media.
Accounting for that so much misinformation, propaganda and opinions have been published in the media even back then, the outrage that "these days" things are worse feels a bit short-sighted.
Thomas Jefferson even wrote 200 years ago “ To your request of my opinion of the manner in which a newspaper should be conducted, so as to be most useful, I should answer, ‘by restraining it to true facts & sound principles only.’ Yet I fear such a paper would find few subscribers. It is a melancholy truth, that a suppression of the press could not more compleatly deprive the nation of its benefits, than is done by its abandoned prostitution to falsehood. Nothing can now be believed which is seen in a newspaper. Truth itself becomes suspicious by being put into that polluted vehicle. The real extent of this state of misinformation is known only to those who are in situations to confront facts within their knolege with the lies of the day. I really look with commiseration over the great body of my fellow citizens, who, reading newspapers, live & die in the belief, that they have known something of what has been passing in the world in their time; whereas the accounts they have read in newspapers are just as true a history of any other period of the world as of the present, except that the real names of the day are affixed to their fables. General facts may indeed be collected from them, such as that Europe is now at war, that Bonaparte has been a successful warrior, that he has subjected a great portion of Europe to his will, &c., &c.; but no details can be relied on. I will add, that the man who never looks into a newspaper is better informed than he who reads them; inasmuch as he who knows nothing is nearer to truth than he whose mind is filled with falsehoods & errors. He who reads nothing will still learn the great facts, and the details are all false.”
IDk if journalism was better in the past. People in the best definitely thought it was bad too.
I'm talking about the way we even structure the question today. There's no expectation of neutrality, and trying to appear neutral will seem like hypocrisy. If you buy a book on an intellectual topic, you expect to get one half of an argument, not the whole.
Can we just agree that more documentation is better? Well named variables, short functions, inline comments, annotations, examples, context, tutorials, types, friendly code owners. Any and all those things are helpful when dealing with unfamiliar code and apis.
Please please don’t discourage anyone from adding these.
Also as other people have noted (most notably Fred Brooks and Linus Torvalds), having comments (or documentation) about architecture and data structures is also very helpful.
I think literate programming comes from a time where programming languages where not as high level as nowadays. I don't think there is really any benefit left, and the drawback is the much higher costs of making changes and refactor code, because now you have to move around and keep in sync both code and extensive documentation/explanation.
I think you have to have a more stable goal of the software for literate to work well. But I think most software can be more stable than folks think it is.
Don't get me wrong, some parts of code can easily go through a lot of churn. Hopefully, they would have been confined to a single chapter of a literate attempt. Same as they were hopefully confined to a module or package of a project.
Definitely not. Documents grow stale the second you write them, and are often furthermore wrong or misleading. I allow API documentation when it's separated into a different place from the code, but I do not tolerate documentation intertwined with the codebase itself.
Code is hard enough to read without active sabotage taking place, I do not allow PRs to go through if there is documentation in-line with code. The developer must pull it out, and almost always, it can 100% be replicated through better function naming.
Seems more like you knowing it's a sexist joke should be enough reasons not to make it. I sincerely hope you agree that intentional bigotry has no place anywhere.
It's sexist regardless if woman are present. People are victims even if they stand their ground.
So lets start making white men jokes in those teams on the regular. And no, in real life, I did not seen all that many of those.
There is situation in which everyone mocks everyone. But the situation described here is that some people are valid target of jokes and others simply dont.
I think this may depend a lot in which European country. UK is absolutely filled with self deprecating humour no matter your race or sex.
I am currently at an hotel with an international audience and was part of the daily 'show' a couple days ago. I made the entire audience laugh when I joked about not knowing how to sexually satisfy a woman (I am a white man if it helps).
Think it depends a lot on the general tone. Are women targeted for sexist jokes as much as men and the jokes are free for all? Probably ok. If 95% of the sexist jokes are about women, probably not ok.
But for example, I found that a lot of Eastern European men make sexists jokes that are mean and at the same time, can't take the smallest joke about themselves (or worse, their own sexuality).
It's really hard to generalize a group on that level unless you're on the outside looking in.
There's plenty of jokes about man-bun and skinny jean wearing hipsters floating around. There's plenty of jokes about white trash floating around. I'm not sure what a joke about white dudes in general is going to look like barring the obvious case where you generalize a joke about white trash or hipsters to all of them. It's going to be very hard for a group of mostly white dudes to joke effectivly about white dudes because as members of that group they all see that group in higher resolution than that.
Jokes are meant to be offensive, at least on some level.
Go to a comedy show and listen to how many black guys make fun of white vs blacks. Go to another one and listen how there are lots of jokes about husband vs wife, men vs women etc.
The problem is that there is a time and a place for those and a professional environment is simply not it. This is why I always have a problem with American culture of after work meetups and socialization.
The same issues apply to American control over European power supplies or Norwegian control over European power supplies.
They aren't anymore dangerous for Europe. The main difference is our existing trade deals with the US are more embedded into the European economy than any of the other countries. We like the US now, they are our friends, but because they are more connected, we are more reliant on them than others, which is dangerous in and of itself.
We Canadians felt this deeply when US kept all their domestically-produced vaccine doses for themselves in early 2021. We had grown accustomed to the flow of goods and services between US and Canada being uninterrupted. So for many of us, it was a shock and a disappointment when the US decided to turn off the tap.
I am talking about the US allowing vaccine shots to be exported to Canada, which should have been a million doses per week. Your link is about Canadians lining up at the border to be vaccinated in the US, which at best would have been in the order of a few hundred doses per week. Even if that plan went ahead, the number of American doses getting into Canadian arms would have been, approximately, a million doses a week short of expectation. If the expectation is 1 million doses and you get a thousand doses, you would be the same amount of disappointed as getting 0 doses.
Also, the decision to bar people from getting vaccinated on the other side of the border was not solely a Canadian decision. US disallowed Canadians going there to get vaccinated too. There was a very short period of time between the time Canadians started going to the US for vaccines and the time US banned this practice.
Also, your link is from July. That was right around the time vaccines became abundant in Canada and vaccination was opened to all regardless of age and health status. The disappointment was in early 2021, when Canada was still vaccinating 80+ people and US decided to vaccinate all 16+ people before allowing vaccine exports here so we can at least vaccinate people in elderly care homes.
> Canadians hoping to cross the border for the sole purpose of getting a COVID-19 vaccine will be turned away, according to U.S. Customs and Border Protection.
>We Canadians felt this deeply when US kept all their domestically-produced vaccine doses for themselves in early 2021.
There is and has never been a US vaccine export ban, and the US has not seized vaccines meant for other countries. If I purchase an item before others, purchase by far the most quantities of that item, pay by far the most overall, and pay a considerable amount of money toward funding its development, I should expect that item before others. Any Kickstarter backer knows this; it's what the US and UK did, and what Canada and the EU did not.
The Trump administration last year signed gigantic contracts for every planned vaccine, because no one knew which ones would work. Like, enough for every American from one manufacturer, let alone the current four major available ones. More importantly, the contracts guaranteed the US the earliest deliveries.
By early June 2020 (<https://web.archive.org/web/20200603171013/https://www.nytim...>) the Trump administration had already identified and was planning to sign the aforementioned huge contracts with Moderna, AstraZeneca, J&J, Merck, and Pfizer. (An 80% success rate is fantastic in drug discovery.) By that time the US had already paid $2.2 billion to three of the companies. (Also note the skepticism throughout the article that any vaccines could be delivered anywhere within the timeframe the administration was promising.)
The UK signed a similar contract for the AstraZeneca vaccine. The EU and Canada did not assure themselves of such quantities. Canada also bet on CanSino because it was afraid that the US would ban vaccine exports (which, again, never happened). Of course, the Chinese did not live up to the contract.
Before you say "But what about—", the Trump executive order from December 2020 merely sets up the legal framework to prohibit exports if desired. But that does not mean that the framework is invoked. Let me repeat: The US signed contracts that were a) huge in size/scope and b) from every pharmaceutical company working on a vaccine, which c) got the country the largest and among the first deliveries. The UK did the same thing with the AstraZeneca vaccine, and spent a lot of money to retool domestic plants to produce it in addition to the non-UK doses it bought.
By contrast, look at Canada as counterexample. Consider Maclean's desperate attempt to spin its procurement difficulties (<https://www.macleans.ca/news/canada/where-did-canadas-vaccin...>). If you look past the predictable false eliding of the US's firstest-with-the-mostest contracts as an "export ban", the best the magazine can do is admit that
* all Canadian contracts with vaccine providers that actually delivered were signed between late July and late September
* all contracts were signed after the collapse of the CanSino deal, which Canada had loudly bragged about as proof of its savviness at obtaining vaccines ASAP and circumvent any perfidious US vaccine export ban (which, again, never happened), and which it has done its best since the collapse to pretend that said contract never existed
* the other contracts that the magazine cites as proof that CanSino wasn't the only basket Ottawa was putting all its eggs in are with VBI (Who?) and USask. They may or may not yet deliver effective vaccines, but it's all now a bit beside the point, eh?
(I don't disagree that to country B waiting on doses, the outcome is the same whether or not the cause is country A implementing an export ban or country A having bought up all the doses by having signed the contract first. But there is a difference.)
If the situation were different, might the US have implemented a ban on exporting doses already designated for another country, similar to what the EU did implement toward Australia? Perhaps. But, fortunately, the US never faced this issue, because of the huge amounts of money it invested a year ago and the contracts it signed with said money.
Honestly, I don't know why this would be so surprising. You're comparing the flow of goods in a stable supply chain with the unprecedented demand for a novel vaccine for which no existing supply chain existed. Of course there wouldn't be a ready flow of vaccine immediately, and of course every country prioritizes its own citizens first and foremost.
Now that demand has eased considerably, the US is now donating more doses of vaccine than all of the other countries on the planet combined.
The problem was, when vaccines were in short supply, the US decided to prioritize all Americans, including healthy 16 year olds, over other countries' most vulnerable and elderly population. In early 2021, if N vaccine doses going to another country who would have saved 1000 lives because they were still vaccinating the most vulnerable, the same N doses used in the US would have saved 1, because the most vulnerable were already vaccinated and the vaccines were being used for younger not-at-risk population. Why should any country not criticize the US for prioritizing one American life over 1,000 non-American lives?
This compares to the EU which allowed vaccine exports. Thousands of Canadians are alive today that wouldn't have been if the EU acted like the US.
Admittedly the United States' rollout wasn't optimally efficient, and they prioritized American lives early on (before we knew exactly how mass vaccination would play out, mind you--much of your criticism benefits from hindsight). But it's unfair to criticize the US for prioritizing American lives over foreign lives when it's doing far more than all other countries combined to minimize the loss of foreign lives. I could spin that into a divisive shot at Canada or the EU as you've done with America (and I think I could make a much more compelling case), but I don't see the point in being divisive when we have nothing to gain and everything to lose from it.
Yes, the early days of COVID vaccination were predictably rocky. What's the excuse today for not working together to vaccinate the world?
It certainly feels like there's a lot of unjustified pressure on this forum to portray the US as categorically worse than every other country. I have other controversial opinions which are at least met by understandable rebuttals, but this "America doesn't do everything horribly" seems to violate some sacred taboo (and I suspect particularly so with the European and progressive American cohorts).
In whichever case, a few Internet Points is a small price to pay. :)
The reason is that whether the vaccine is donated or not isn't relevant with regards to exports numbers.
Same trick as people proudly touting that US is the #1 philantropy country, ignoring that other countries actually run efficient mutualized welfare services.
Can you elaborate on why this isn’t relevant? What are other countries doing to offset their lack of donations? And can we put numbers around the amounts various countries are exporting and donating, respectively?
Canada probably doesn't need donations, they can afford to buy vaccines. Answering based on donations is a way to sidetrack the relevant metric with regards to Canadian issues (the # and schedule of exported vaccine) and replace it with another metric on which the US usually has less competition.
It doesn't mean the current vaccine donation program isn't a great thing, or that the US policy has been wrong. But it's annoying for people explaining a problem to see it reframed so that it shows feel-good results from the US pov.
(as for the numbers, [1] shows about >400M doses exported for China as of July 9th and ~350M from Europe as of May 6th, while [2] claims the US donated 160M doses as of now.)
> Answering based on donations is a way to sidetrack the relevant metric with regards to Canadian issues
"Canadian issues" was never the topic at hand. We were all responding to this comment[0]:
> The same issues apply to American control over European power supplies or Norwegian control over European power supplies. They aren't anymore dangerous for Europe. The main difference is our existing trade deals with the US are more embedded into the European economy than any of the other countries. We like the US now, they are our friends, but because they are more connected, we are more reliant on them than others, which is dangerous in and of itself.
user smnrchrds made his "US shutting off the tap" as an example of the perils of being economically entrenched with the US, but I pointed out that this was a bad example because there was no actual "flow" of vaccine for the US to cut off in the first place.
user TMWNN left the even better rebuttal[1] that the US wasn't even responsible for Canada's vaccine shortage--the US never restricted vaccine flow to Canada, but rather the Canadians failed to diversify their vaccine order until after their original vaccine deal fell through, and by the time they placed orders with US suppliers, those suppliers had long since made other commitments.
Moreover, you were the one who brought up the US philanthropic narrative--I mentioned donations in that context.
> But it's annoying for people explaining a problem to see it reframed so that it shows feel-good results from the US pov.
I'm sure it's very annoying when you're trying to pile-on another country and some buzzkill ruins the fun by setting the record straight. :) However, per the previous paragraph, the "problem" is that the Canadian government failed to make appropriate provisions. The US vaccine rollout actually appears to be even more of an unmitigated success story than I originally understood, and I'm (not really) sorry if that offends.
> as for the numbers, [1] shows about >400M doses exported for China as of July 9th and ~350M from Europe as of May 6th, while [2] claims the US donated 160M doses as of now
You're comparing all exports for China and Europe with donations from the US. When the US uses its economy to do good, everyone piles on about how evil it is that corporations are charging for something. When the US government gives away hundreds of millions of dollars worth of life saving vaccine, you pile on about how it should be selling that vaccine and that "giving vaccines away" is cheating. There's no way to win.
I've got to say, anti-Americanism is a really strange thing for me, as an American. I understand having criticism for the American government or various elements of American culture--I certainly have these criticisms myself, but I work hard to do what little I can to improve my country. I want America to be a force for good in the world. But I don't understand the impulse to interpret every event solely through the lens of "how can this be distorted to make America look bad?".
When I see another country that's struggling, I feel compassion for them. I want their country to improve. But most of the time when people see the US struggling, they seem to feel smugness and schadenfreude, and when the US isn't struggling it angers and annoys them. And it's not just Europeans and Canadians, but also progressive Americans.