Improving GCC Buffer Overflow Detection for C Flexible Array Members (Oracle)

The Oracle blog has a
lengthy article
on enhancements to GCC to help detect overflows of
flexible array members (FAMs) in C programs.

We describe here two new GNU extensions which specify size
information for FAMs. These are a new attribute,
“counted_by” and a new builtin function,
“__builtin_counted_by_ref“. Both extensions can be used in
GNU C applications to specify size information for FAMs, improving
the buffer overflow detection for FAMs in general.

This work has been covered on LWN as well.

Top 5 Zwift Videos: Zwift Tips, Race Wins, Zwift x Brompton

As the days get shorter and colder, more and more riders are filling the roads of Zwift. As you ramp up your indoor training, gain tips and tricks from this week’s top videos to make your Zwift experience the best it can be.

We’re also highlighting a fun Zwift racing challenge, a tour of the Brompton bike factory, and a long-term review of the Zwift Ride.

8 Game-changing Zwift Indoor Cycling Tips

Lake District Cyclist shares 8 tips for having a more enjoyable experience riding indoors with Zwift.

If I Started Zwifting Today, This Is What I Would Do

If you’re looking to learn more about Zwift, this video is for you. Adam from Road to A shares 26 tips to help you become a better Zwifter.

I Raced Zwift A Category Until I Won

Watch as Jeff from Norcal Cycling races on Zwift over and over until he wins. How many tries will it take him to snag an A-category win?

Zwift x Brompton

In light of the Virtual Brompton World Championships, Thomas Martinez tours the Brompton factory with Zwift and rides a Brompton on the Wahoo KICKR.

What The Zwift Ride Is ACTUALLY Like

After riding the Zwift Ride for thousands of miles, Beijing Bonk shares a review.

Got a Great Zwift Video?

Share the link below and we may feature it in an upcoming post!

The 2025 Linux Foundation Technical Advisory Board election

The call for
candidates
for the 2025 election for the Linux Foundation Technical
Advisory Board has been posted.

The TAB exists to provide advice from the kernel community to the
Linux Foundation and holds a seat on the LF’s board of directors;
it also serves to facilitate interactions both within the community
and with outside entities. Over the last year, the TAB has
overseen the organization of the Linux Plumbers Conference, advised
on the setup of the kernel CVE numbering authority, worked behind
the scenes to help resolve a number of contentious community
discussions, worked with the Linux Foundation on community
conference planning, and more.

Nominations close on December 13.

Engineers are Building the Hottest Geothermal Power Plant on Earth – Next to a US Volcano

“On the slopes of an Oregon volcano, engineers are building the hottest geothermal power plant on Earth,” reports the Washington Post:

The plant will tap into the infernal energy of Newberry Volcano, “one of the largest and most hazardous active volcanoes in the United States,” according to the U.S. Geological Survey. It has already reached temperatures of 629 degrees Fahrenheit, making it one of the hottest geothermal sites in the world, and next year it will start selling electricity to nearby homes and businesses. But the start-up behind the project, Mazama Energy, wants to crank the temperature even higher — north of 750 degrees — and become the first to make electricity from what industry insiders call “superhot rock.” Enthusiasts say that could usher in a new era of geothermal power, transforming the always-on clean energy source from a minor player to a major force in the world’s electricity systems.

“Geothermal has been mostly inconsequential,” said Vinod Khosla, a venture capitalist and one of Mazama Energy’s biggest financial backers. “To do consequential geothermal that matters at the scale of tens or hundreds of gigawatts for the country, and many times that globally, you really need to solve these high temperatures.” Today, geothermal produces less than 1 percent of the world’s electricity. But tapping into superhot rock, along with other technological advances, could boost that share to 8 percent by 2050, according to the International Energy Agency (IEA). Geothermal using superhot temperatures could theoretically generate 150 times more electricity than the world uses, according to the IEA. “We believe this is the most direct path to driving down the cost of geothermal and making it possible across the globe,” said Terra Rogers, program director for superhot rock geothermal at the Clean Air Task Force, an environmentalist think tank. “The [technological] gaps are within reason. These are engineering iterations, not breakthroughs.”

The Newberry Volcano project combines two big trends that could make geothermal energy cheaper and more widely available. First, Mazama Energy is bringing its own water to the volcano, using a method called “enhanced geothermal energy”… [O]ver the past few decades, pioneering projects have started to make energy from hot dry rocks by cracking the stone and pumping in water to make steam, borrowing fracking techniques developed by the oil and gas industry… The Newberry project also taps into hotter rock than any previous enhanced geothermal project. But even Newberry’s 629 degrees fall short of the superhot threshold of 705 degrees or above. At that temperature, and under a lot of pressure, water becomes “supercritical” and starts acting like something between a liquid and a gas. Supercritical water holds lots of heat like a liquid, but it flows with the ease of a gas — combining the best of both worlds for generating electricity… [Sriram Vasantharajan, Mazama’s CEO] said Mazama will dig new wells to reach temperatures above 750 degrees next year. Alongside an active volcano, the company expects to hit that temperature less than three miles beneath the surface. But elsewhere, geothermal developers might have to dig as deep as 12 miles.

While Mazama plans to generate 15 megawatts of electricity next year, it hopes to eventually increase that to 200 megawatts. (And the company’s CEO said it could theoretically generate five gigawatts of power.)

But more importantly, successful projects “motivate other players to get into the market,” according to a senior geothermal research analyst at energy consultancy Wood Mackenzie, who predicted “a ripple effect,” to the Washington Post where “we’ll start seeing more companies get the financial support to kick off their own pilots.”


Read more of this story at Slashdot.

One of our favorite ice cream makers is down to $180 for Black Friday

Ice cream might not be the first dessert that springs to mind in late fall, but there’s no bad season for frozen treats, and our favorite ice cream maker is down to $180 for Black Friday. This kitchen gadget, which scored 90 in our review, is guaranteed to make you popular with guests during the holiday season, and at $50 off its regular price of $250 — the lowest price we’ve seen this year for this particular model — now is a great time to buy.

While you’ll definitely need a bit of space to accommodate it, the Creami is a more compact ice cream machine than some of its rivals. It works similarly to a food processor, only here you’ll be using strictly frozen liquid ice cream as a base. Once you have that (you’ll need to give the base around 24 hours in the freezer for the desired consistency) you use Ninja’s machine to blend in your chosen flavors. And if you make a mess (and let’s face it, you probably will), rest assured that most of the components are dishwasher-safe.

It’s admittedly a fairly loud machine during use, but as long as you’re willing to put up with the noise, you can choose between seven one-touch programs, including milkshake if you’re in the mood for a cold drink. And if you’re hosting people with allergies, they can be reassured that you have total control about what’s going into and coming out of the machine, which is much harder to guarantee when you’re buying dessert in a restaurant. This model also includes two pint containers with lids.

If you want the latest and greatest, though, the Ninja Swirl is the ice-cream maker to get. It can make regular and soft-serve ice cream, plus a number of other frozen treats. Right now, QVC has it for the best price we’ve seen, from $350 to $280.

This article originally appeared on Engadget at https://www.engadget.com/deals/one-of-our-favorite-ice-cream-makers-is-down-to-180-for-black-friday-133009181.html?src=rss