18
submitted 1 year ago* (last edited 1 year ago) by GlassHalfHopeful@beehaw.org to c/linux@lemmy.ml

Note: Still trying to navigate communities here on Lemmy to replace those from Reddit. If there is a better place such a question, I would welcome the suggestion.

I'm running a Synology NAS, which uses some flavor of Linux distribution. From there, among everything else running, I have a docker container hosting a Minecraft Bedrock Server. The MCBE server is great for fun, but not so great for resource usage. To handle this, most folks setup something to schedule the server to restart.

Within Synology, there is a task scheduler where I can run a user-defined script to restart the whole container: docker restart mcbe-world

This works, but it's a dirty reboot though. I worried about corrupting the world (which I do regularly backup). From within the Minecraft server terminal, the /stop command will gracefully shut it down.

I can't update the container with another application, like screen, because each MCBE update means replacing the entire container (and so destroying the changes). I am looking to somehow redirect a command to the server if possible.

Using docker exec -it mcbe-world , I can execute what I want within the container.

The person here said, one can "inject commands by running the command as the appropriate account and redirecting it into the server" and they gave the example sudo su -s /bin/bash -c "echo say foobar > /run/service@name" Unfortunately, this isn't so clear and straight forward to me.

Would anyone here be able to articulate this more clearly for me or have an idea as to how I might issue that /stop command from the Synology scheduled script BEFORE restarting the container?

Thanks!

UPDATE: Solution here: https://beehaw.org/comment/1088961

80
submitted 1 year ago* (last edited 1 year ago) by GlassHalfHopeful@beehaw.org to c/entertainment@beehaw.org

Would you all explain to me how removing content we expect to have access to is a "cost savings" measure?

The following is from the Willow Wikipedia page, which led me to the linked URL:

The series was removed from Disney+ on May 26, 2023, amidst a Disney+ and Hulu content removal purge as part of a broader cost cutting initiative under Disney CEO Bob Iger.

I've been abroad for a month and earned some time off afterwards. One of my kids reminded me that we never finished Willow, so I said "let's do it now!" The show wasn't perfect for many reasons, but I wanted to finish it for nostalgia's sake and my child legit found it interesting. Lo and behold, the series isn't on Disney+ any more!

A quick search later, I see the above referenced quote linking to the article associated with this post... which only made things worse. The Mysterious Benedict Society was something my whole family could watch and enjoy without arguments! Turner and Hooch was dorky, but something my youngest loved and it was a super safe and easy pick for us bond over.

This post isn't about whether the shows are good. And it isn't about how nearly every show I like ends up cancelled. The point is that I paid for access, they were then quietly removed (for various platforms), and I have zero understanding as to how this saves these companies money.

Would someone explain?

P. S. Yes, I know this is old news. However, this is just how I am. I'm not up to date with anything in the entertainment world. I intentionally wait a few seasons for things because I loath when shows are cancelled after a season. (I'm looking at you, Firefly.) I'm the same way with books, often waiting to read a trilogy after its published because I don't like the wait in between books. (Thanks, Rothfuss).

I just don't take cancellation wells, especially when I was on top of everything including summer podcasts and such. (Now anything with the names Abrams, Lindelof, or Cuse makes my skin crawl.)

I know. I'm weird and stuff.

73

Am I wrong in feeling some hope in this (at least concering US law and the huge effect the country has on the climate as a whole)? It feels like this is... actually something?

26
[-] GlassHalfHopeful@beehaw.org 9 points 1 year ago

Full article

Both expelled members of ‘Tennessee Three’ win back their state House seats

By KIMBERLEE KRUESI Updated 9:27 PM EDT, August 3, 2023

NASHVILLE, Tenn. (AP) — Tennessee Reps. Justin Pearson and Justin Jones, who became Democratic heroes as members of the “Tennessee Three,” reclaimed their legislative seats Thursday after they were expelled for involvement in a gun control protest on the House floor.

The young Black lawmakers were reinstated by local officials after being booted from the GOP-dominated Statehouse, but only on an interim basis. They advanced Thursday through a special election to fully reclaim their positions. Both faced opponents in districts that heavily favor Democrats.

Jones, who lives in Nashville, was up against Republican candidate Laura Nelson. Meanwhile, Pearson, from Memphis, faced independent candidate Jeff Johnston.

“Let’s send a clear message to everyone who thought they could silence the voice of District 86,” Pearson tweeted earlier this month. “You can’t expel a movement!”

Thursday’s election came as lawmakers are preparing to return to Nashville later this month for a special session to address possibly changing the state’s gun control laws. While Jones and Pearson’s reelection to their old posts won’t make a significant dent to the Republican supermajority inside the Legislature, they are expected to push back heavily against some of their GOP colleagues’ policies.

Jones and Pearson were elected to the Statehouse last year. Both lawmakers flew relatively under the radar, even as they criticized their Republican colleagues’ policies. It wasn’t until this spring that their political careers received a boost when they joined fellow Democrat Rep. Gloria Johnson in a protest for more gun control on the House floor.

The demonstration took place just days after a fatal shooting in Nashville at a private Christian school where a shooter killed three children and three adults. As thousands of protesters flooded the Capitol building to demand that the Republican supermajority enact some sort of restrictions on firearms, the three lawmakers approached the front of the House chamber with a bullhorn, and joined the protesters’ chants and cries for action.

Republican lawmakers quickly declared that their actions violated House rules and moved to expel their three colleagues — an extraordinary move that’s been taken only a handful of times since the Civil War.

The move briefly left about 140,000 voters in primarily Black districts in Nashville and Memphis with no representation in the Tennessee House.

Ultimately, Johnson, who is white, narrowly avoided expulsion while Pearson and Jones were booted by the predominantly white GOP caucus.

House Republican leaders have repeatedly denied that race was a factor in the expulsion hearings. Democrats have disagreed, with Johnson countering that the only reason that she wasn’t expelled was due to her being white.

The expulsions drew national support for the newly dubbed “Tennessee Three,” especially for Pearson and Jones’ campaign fundraising. The two raised more than $2 million combined through about 70,400 campaign donations from across the country. The amount is well beyond the norm for Tennessee’s Republican legislative leaders and virtually unheard of for two freshman Democrats in a superminority.

Meanwhile, more than 15 Republican lawmakers had funneled cash to fund campaign efforts of Jones’ Republican opponent, Nelson. Nelson has raised more than $34,000 for the race. Pearson’s opponent, Johnston, raised less than $400 for the contest.

142
submitted 1 year ago* (last edited 1 year ago) by GlassHalfHopeful@beehaw.org to c/usnews@beehaw.org
[-] GlassHalfHopeful@beehaw.org 10 points 1 year ago

Well, this (type of) bot is certainly helpful. It's good to see things maturing here on Lemmy.

[-] GlassHalfHopeful@beehaw.org 9 points 1 year ago* (last edited 1 year ago)

HOLY FLYING SPAGHETTI MONSTER! This is the first time I've seen the autotldr bot on Lemmy!

Is there a way we can trigger this manually?

15
62

The extreme heat has devastated corals.This is a truly heartbreaking read:

“The coral didn’t even have a chance to bleach, it just died. It just felt like, ‘Oh my God, we’re in the apocalypse.’ What’s happening?”

Archive link: https://web.archive.org/web/20230731225349/https://www.nytimes.com/2023/07/31/climate/coral-reefs-heat-florida-ocean-temperatures.html

38
[-] GlassHalfHopeful@beehaw.org 17 points 1 year ago

Full article

Hops for beer flourish under solar panels. They're not the only crop thriving in the shade. | AP News MATTHIAS SCHRADER, DANA BELTAJI 7 - 9 minutes

Published 1:57 PM EDT, July 21, 2023

AU in der HALLERTAU, Germany (AP) — Bright green vines snake upwards 20 feet (six meters) toward an umbrella of solar panels at Josef Wimmer’s farm in Bavaria.

He grows hops, used to make beer, and in recent years has also been generating electricity, with solar panels sprawled across 1.3 hectares (32 acres) of his land in the small hop-making town of Au in der Hallertau, an hour north of Munich in southern Germany.

The pilot project — a collaboration between Wimmer and local solar technology company Hallertauer Handelshaus — was set up in the fall of last year. The electricity made at this farm can power around 250 households, and the hops get shade they’ll need more often as climate change turbocharges summer heat. This photograph provided by William Collins shows the string bean fields that were decimated at his farm's fields by flood waters about a week earlier at Fair Weather Growers, Sunday July 16, 2023, in Rocky Hill, Conn. Prior to the flooding, the fields were thriving. When devastating rains swept through the region, farmers in the Northeast were dealt a devastating blow at the worst possible time. (William Collins photo via AP)

When rains swept through the Northeast, farmers in the region were dealt a devastating blow at the worst possible time. FILE - An employee of the Romanian grain handling operator Comvex oversees the unloading of Ukrainian cereals from a barge in the Black Sea port of Constanta, Romania, on June 21, 2022. Five European Union countries will extend their ban on Ukrainian grain to protect their farmers’ interests. But agriculture ministers from Poland, Slovakia, Hungary, Bulgaria and Romania said Wednesday, July 19, 2023 that food can still move through their land to parts of the world in need after Russia pulled out of a deal allowing Black Sea shipments. (AP Photo/Vadim Ghirda, File)

Five European Union countries will extend their ban on Ukrainian grain to protect their farmers’ interests. A man displays imported and local grain in Dawanau International Market in Kano Nigeria, Friday, July 14, 2023. Nigeria introduced programs before and during Russia's war in Ukraine to make Africa's largest economy self-reliant in wheat production. But climate fallout and insecurity in the northern part of the country where grains are largely grown has hindered the effort. (AP Photo/Sunday Alamba)

Nigeria is trying to make Africa’s largest economy reliant on its own wheat production. But climate change and violence in the northern part of the country, where grains are largely grown, have hindered these efforts. This photo taken from video released by Russian Defense Ministry Press Service on Wednesday, July 19, 2023, shows two Russian 152 mm self-propelled howitzers fire toward Ukrainian positions at an undisclosed location. (Russian Defense Ministry Press Service via AP)

Russia unleashed intense overnight drone and missile attacks that officials said damaged critical port infrastructure in southern Ukraine, including grain and oil terminals, and wounded at least 12 people.

Solar panels atop crops has been gaining traction in recent years as incentives and demand for clean energy skyrocket. Researchers look into making the best use of agricultural land, and farmers seek ways to shield their crops from blistering heat, keep in moisture and potentially increase yields. The team in Germany says its effort is the first agrivoltaic project that’s solely focused on hops, but projects have sprouted around the world in several countries for a variety of grains, fruits and vegetables.

Beer-making hops can suffer if exposed to too much sun, said Bernhard Gruber, who’s managing the project’s solar component — and since there were already solar installations on the farm, it made sense to give them a second purpose by mounting them on poles above the crops.

In addition to shielding plants from solar stress, the shade could mean “water from precipitation lasts longer, leaving more in the soil” and that “the hops stay healthier and are less susceptible to diseases,” Gruber said. A scientific analysis of the benefits for the plants will be concluded in October.

The farm is working with researchers to understand how to get the balance right, so the hops get enough shade and sunlight for the best harvests each year.

In the U.K., where weather is also getting hotter and more variable, a team of researchers is looking at how to retrofit solar panels onto greenhouses or polytunnels — frames covered in plastic where crops grow underneath — with semi-transparent or transparent installations.

“You can get your renewables from the land that you do have covered and you don’t need to do these massive solar arrays on good agricultural land, which is what you’ve tended to see around to date,” said Elinor Thompson, a reader at Greenwich University who’s leading the research.

Thompson, a plant biologist, and her team are working with a fruit farm in Kent in southern England to make sure the plants also get the best out of solar structures.

“Nobody can afford to lose crop, especially in current conditions,” she said. “We are assuming that British summers are going to get hotter, we have a problem with water shortages, we need to be efficient in all parts of agriculture.”

Having shade where it’s useful and monitoring the effects of different arrangements of solar panels on a variety of crops will help the world prepare for a more climate-variable future, Thompson said.

In East Africa, which has suffered from a long and punishing drought that scientists said was worsened by human-caused climate change, solar panels can also help keep moisture in plants and soil and reduce the amount of water needed, said Richard Randle-Boggis, a research associate at the University of Sheffield who’s developing two agrivoltaic systems in Kenya and Tanzania.

Randle-Boggis said the systems can be used for “climate change resilience and a way of improving the growing environment for crops, while also providing low carbon electricity.” He said that some of the crops under the partial shade of solar panels are using around 16% less irrigation.

The solar-covered farms saw increased yields for maize, Swiss chard and beans, and while growers experienced lower yields for onions and sweet peppers, they still had the added benefit of clean electricity generation.

But crop yields can also “vary depending on the weather conditions because we’re seeing the climate changing,” said Randle-Boggis, although he added he was “really surprised and impressed with some of the results that we’re seeing” for solar-covered crops.

“Maize is grown by about 50% of farmers in Tanzania. Maize is also a sun loving plant. So the fact that we had an 11% yield increase in maize ... is a phenomenal result,” he said.

And Randle-Boggis said these projects can continue to be replicated around the world for many different crops, as long as systems are “designed with the local context in mind.”

A future with more crops under solar is Gruber’s hope for beer-making hops, too.

“At the end of the year we will set up another solar park over hops,” which will have about 10 times the electricity-generating potential as the current project, Gruber said.

But that’s still just the beginning.

“We’re getting lots of inquires from hop farmers,” he said, “even from abroad.”


Beltaji reported from London.


Associated Press climate and environmental coverage receives support from several private foundations. See more about AP’s climate initiative here. The AP is solely responsible for all content.

196
[-] GlassHalfHopeful@beehaw.org 21 points 1 year ago* (last edited 1 year ago)

Full Article: www.washingtonpost.com

Judge clarifies: Yes, Trump was found to have raped E. Jean Carroll

Aaron Blake 4 - 5 minutes

After Donald Trump was found liable for sexually abusing and defaming E. Jean Carroll, his legal team and his defenders lodged a frequent talking point.

Despite Carroll’s claims that Trump had raped her, they noted, the jury stopped short of saying he committed that particular offense. Instead, jurors opted for a second option: sexual abuse.

“This was a rape claim, this was a rape case all along, and the jury rejected that — made other findings,” his lawyer, Joe Tacopina, said outside the courthouse.

A judge has now clarified that this is basically a legal distinction without a real-world difference. He says that what the jury found Trump did was in fact rape, as commonly understood.

The filing from Judge Lewis A. Kaplan came as Trump’s attorneys have sought a new trial and have argued that the jury’s $5 million verdict against Trump in the civil suit was excessive. The reason, they argue, is that sexual abuse could be as limited as the “groping” of a victim’s breasts.

Kaplan roundly rejected Trump’s motion Tuesday, calling that argument “entirely unpersuasive.”

“The finding that Ms. Carroll failed to prove that she was ‘raped’ within the meaning of the New York Penal Law does not mean that she failed to prove that Mr. Trump ‘raped’ her as many people commonly understand the word ‘rape,’ ” Kaplan wrote.

He added: “Indeed, as the evidence at trial recounted below makes clear, the jury found that Mr. Trump in fact did exactly that.”

Kaplan said New York’s legal definition of “rape” is “far narrower” than the word is understood in “common modern parlance.”

The former requires forcible, unconsented-to penetration with one’s penis. But he said that the conduct the jury effectively found Trump liable for — forced digital penetration — meets a more common definition of rape. He cited definitions offered by the American Psychological Association and the Justice Department, which in 2012 expanded its definition of rape to include penetration “with any body part or object.”

Kaplan also flatly rejected the Trump team’s suggestion that the conduct Trump was found liable for might have been as limited as groping of the breasts.

The reason? Trump was not accused of that, so the only alleged offense that would have qualified as “sexual abuse” was forced digital penetration. Beyond that, Trump was accused of putting his mouth on Carroll’s mouth and pulling down her tights, which Kaplan noted were not treated as alleged sexual abuse at trial.

“The jury’s finding of sexual abuse therefore necessarily implies that it found that Mr. Trump forcibly penetrated her vagina,” Kaplan wrote, calling it the “only remaining conclusion.”

Kaplan also noted that the verdict form did not ask the jury to decide exactly what conduct Trump had committed, and that neither prosecutors nor Trump’s lawyers had requested it to do so.

“Mr. Trump’s attempt to minimize the sexual abuse finding as perhaps resting on nothing more than groping of Ms. Carroll’s breasts through her clothing is frivolous,” Kaplan wrote.

He added that the jury clearly found that Trump had “ ‘raped’ her in the sense of that term broader than the New York Penal Law definition.”

The motion was a part of Trump’s efforts to appeal the verdict against him. That’s an effort that will apparently continue as he faces a separate defamation lawsuit from Carroll, dealing with claims Trump made about her allegations while he was still president.

But for now, Trump’s effort to push back has led to a rather remarkable clarification that severely undercuts his main talking point.

126

A judge has now clarified that this is basically a legal distinction without a real-world difference. He says that what the jury found Trump did was in fact rape, as commonly understood.

Kaplan also flatly rejected the Trump team’s suggestion that the conduct Trump was found liable for might have been as limited as groping of the breasts.

The reason? Trump was not accused of that, so the only alleged offense that would have qualified as “sexual abuse” was forced digital penetration. Beyond that, Trump was accused of putting his mouth on Carroll’s mouth and pulling down her tights, which Kaplan noted were not treated as alleged sexual abuse at trial.

“The jury’s finding of sexual abuse therefore necessarily implies that it found that Mr. Trump forcibly penetrated her vagina,” Kaplan wrote, calling it the “only remaining conclusion.”

[-] GlassHalfHopeful@beehaw.org 18 points 1 year ago* (last edited 1 year ago)

Yes! This! I'm not familiar with DFWP, but next time I'm on my PC, I'm adding it.

11
submitted 1 year ago* (last edited 1 year ago) by GlassHalfHopeful@beehaw.org to c/greenspace@beehaw.org

How are you all managing the varmints in your yard? I've lived in a lot of places in my life and it seems I've found quite the mole and vole hotbed also known as my yard. sighs

My dog is able to catch them, but not without digging up tunnels, grass, and making a mess. My neighbor inserts "worms" (poison) into the tunnels, but I don't do that because of our dog.

I wish I could lay a yellow brick road for them to follow to a happier place, but they don't seem to be the type to understand. I don't actually want to harm any critters and thus the inner turmoil of humankind vs nature. I really don't like this post and I'm the one who wrote it.

10

I have been using various filters like "reddit", "threads", and "titan". My goodness, it transforms the Lemmy experience!

And the ability to hide posts. Thank you thank you thank you thank you!

Throw in Lemmy's community blocking...

I'm so glad to be able to create and prune within Connect. 💜🙏

[-] GlassHalfHopeful@beehaw.org 17 points 1 year ago

Better for her if what her lawyers are seeking comes to pass.

Sentencing is scheduled for September 8, according to Dunedin District Court. While the maximum jail sentence is 10 years, Penwarden said her lawyers are asking for “discharge without conviction.”

I'm so frustrated by the powers who put persons like her in prison while genuine and true corruption is permitted to continue unabated.

[-] GlassHalfHopeful@beehaw.org 13 points 1 year ago

Did any of you guys try it as well? What's your opinion?

In respect to Lemmy as a whole, I'm trying to exercise a lot patience.

One of the first things I did was install it as a PWA. It has a sleek UI, but some bugs makes it incredibly hard for me to use. One of the worst is an issue with several of the combo boxes which repeatedly flashing on use. I have to try hitting the appropriate selection multiple times in hopes of it eventually taking.

I use Jerboa most of the time inspite of the many bugs, but I usually end up having to open the PWA for missing functionality.

Like I said...

Lots... And lots...

And lots... of patience.

[-] GlassHalfHopeful@beehaw.org 8 points 1 year ago

I typically avoid demographic questions for a lot of reasons, but I wanted to participate for beehaw's sake since I understand their intentions. Damn though. Some of those boxes are just filled with all sorts of loaded emotional yuck.

I don't mean it as a criticism. Again, I get why and the value, but phew... 😬

[-] GlassHalfHopeful@beehaw.org 11 points 1 year ago

I wish the acronym CPM was defined. Maybe I overlooked it.

[-] GlassHalfHopeful@beehaw.org 20 points 1 year ago

⚠️ I have reported this post to the proper authorities.

[-] GlassHalfHopeful@beehaw.org 13 points 1 year ago* (last edited 1 year ago)

This has been super interesting. I’ve never seen communities listed in this manner. I’d be interested in this kind of sort for other services as well.

Really hoping to see major players go dark soon and wishing they would stay that way, like r/videos plans to. Oh, what the world would be like if corporations actually cared about the people they profit from.

view more: next ›

GlassHalfHopeful

joined 1 year ago