placeholder

A Rust web server / frontend setup like it's 2022 (with axum and yew) - Robert Krahn

Walkthrough of setting up a full web project that includes the setup for a web server (using axum) and a frontend (using wasm / yew).

Click to view the original at robert.kra.hn

Hasnain says:

Bookmarking for future reuse in case I port some of my existing projects over.

“In this walkthrough I will describe my current default project setup for web projects that use Rust for frontend and backend. It is suitable for typical single-page web apps that use WASM/JS for rendering and routing. I have used it for dashboards, browser games and such but it should be suitable for any web app that wants to use a Rust server and frontend. I am choosing axum for the server part and yew for the frontend but it should work similarly with other choices.”

Posted on 2022-04-08T06:52:18+0000

placeholder

Fermilab Says Particle Is Heavy Enough to Break the Standard Model | Quanta Magazine

A new analysis of W bosons suggests these particles are significantly heavier than predicted by the Standard Model of particle physics.

Click to view the original at quantamagazine.org

Hasnain says:

“The painstaking work of experimentalists in honing their precision measurements makes researchers more optimistic that a long-awaited breakthrough is coming.

“It overall just feels to me like we’re getting close to the point where something’s going to break,” said El-Khadra. “We’re getting close to really seeing beyond the Standard Model.””

Posted on 2022-04-08T06:46:33+0000

placeholder

Hasnain says:

“I’m not too proud to admit that I did not grow up liking squash. I didn’t like the steamed yellow chunks served with pasta or the zucchini strips dressed up to look like pasta. It wasn’t a problem; I just ate something else. A vast archipelago of capitalists, workers, processors, shippers, and sellers allowed me to be picky, and for some strange reason my preferences lined up pretty well with industrial agriculture’s outputs. (I came of age during “peak sugar”; quitting candy was much harder than quitting cigarettes.) But if you’re shopping at the farmers’ market and you live in North America, then for many months of the year you’re eating some squash, because it grows here. That’s what it has meant to eat food on this continent for almost the entirety of our history, and the more squash I ate, the more foolish I felt for imagining I was an exception.”

Posted on 2022-04-08T04:59:55+0000

placeholder

US: Man impersonated agent, claimed ties to Pakistani intel

Federal prosecutors say one of two men accused of impersonating federal agents and giving actual Secret Service agents gifts and free apartments in Washington has claimed to have ties to Pakistani intelligence and had visas showing travel to Pakistan and Iran

Click to view the original at washingtonpost.com

Hasnain says:

The more I read about this case, the crazier it gets. Still hoping we’ll eventually learn more about how this all came about.

“The plot unraveled when the U.S. Postal Inspection Service began investigating an assault involving a mail carrier at the apartment building and the men identified themselves as being part of a phony Homeland Security unit they called the U.S. Special Police Investigation Unit.”

Posted on 2022-04-07T21:04:39+0000

placeholder

Perspective | Republicans thought defining a ‘woman’ is easy. Then they tried.

Josh Hawley, Marjorie Taylor Greene and Madison Cawthorn did their best, but there’s no getting around the fact that womanhood is a complex thing to define.

Click to view the original at washingtonpost.com

Hasnain says:

“As for Josh Hawley, I’ll say only that I can’t wait to inform my mother that since her uterus was removed when she was 35 via a medically necessary hysterectomy, she hasn’t been a woman in 26 years. Perhaps she will be consoled if I add that the senator sounded like he hadn’t really thought very hard about it: In the same exchange reported by HuffPost, he seemed to change his definition of “woman” to require not a uterus but a vagina: “I mean, a woman has a vagina, right?””

Posted on 2022-04-07T18:55:19+0000

placeholder

Climate scientists are desperate: we’re crying, begging and getting arrested | Peter Kalmus

On Wednesday, I risked arrest by locking myself onto an entrance to the JP Morgan Chase building in downtown LA. I can’t stand by – and nor should you

Click to view the original at theguardian.com

Hasnain says:

Harrowing read. And equally worrying that LAPD came out in full riot gear to stop this peaceful protest composed of scientists.

“Martin Luther King Jr said, “He who accepts evil without protesting against it is really cooperating with it.” Out of necessity, and after exhaustive efforts, I’ve joined the ranks of those who selflessly risk their freedom and put their bodies on the line for the Earth, despite ridicule from the ignorant and punishment from a colonizing legal system designed to protect the planet-killing interests of the rich. It’s time we all join them. The feeling of solidarity is a wonderful balm.”

Posted on 2022-04-07T09:47:24+0000

placeholder

After Gridiron Dinner, a covid outbreak among Washington A-list guests

After the elite Gridiron dinner, Garland, Raimondo, Schiff, Castro, and several other officials or journalists tested positive.

Click to view the original at washingtonpost.com

Hasnain says:

Sigh… this is a pretty good approximation of how the US government is approaching Covid-19 precautions.

“The dinner was supposed to reflect a return to normalcy after being canceled the past two years because of the pandemic. Few guests wore masks or observed social distancing, according to people in attendance. Only the serving staff was consistently masked throughout the evening. While organizers asked attendees to show their vaccination cards at the door, there was no requirement to be tested.”

Posted on 2022-04-07T06:29:41+0000

placeholder

Why the WHO took two years to say COVID is airborne

Early in the pandemic, the World Health Organization stated that SARS-CoV-2 was not transmitted through the air. That mistake and the prolonged process of correcting it sowed confusion and raises questions about what will happen in the next pandemic.

Click to view the original at nature.com

Hasnain says:

““We’re really talking here about two failures, not one,” says Sandman. “Being reluctant to change your mind, and being reluctant to tell people you changed your mind.” Like other public-health and scientific organizations, the WHO “are afraid of losing credibility by acknowledging that they got something wrong”, he says.”

Posted on 2022-04-07T04:40:58+0000

placeholder

Researchers Identify ‘Master Problem’ Underlying All Cryptography | Quanta Magazine

The existence of secure cryptography depends on one of the oldest questions in computational complexity.

Click to view the original at quantamagazine.org

Hasnain says:

“The paper has set off a cascade of new research at the interface of cryptography and complexity theory. While both disciplines investigate how hard computational problems are, they come at the question from different mindsets, said Rahul Santhanam, a complexity theorist at the University of Oxford. Cryptography, he said, is fast-moving, pragmatic and optimistic, while complexity theory is slow-moving and conservative. In the latter field, “there are these long-standing open questions, and once in every dozen years, something happens,” he said. But “the questions are very deep and difficult.””

Posted on 2022-04-07T04:17:27+0000

placeholder

Oklahoma Legislature passes bill to make performing abortions a felony

Gov. Kevin Stitt, a Republican, said he would sign any anti-abortion rights bill that comes to him.

Click to view the original at nbcnews.com

Hasnain says:

Absolutely no words.

“"It's terrifying to think that we're going backwards in time, that we're actually watching in real time getting our rights taken away from us," said Kristin Williams, a participant in an abortion rights rally Tuesday in Oklahoma City, the capital.”

Posted on 2022-04-06T03:42:44+0000