Java's Enhancement Proposals Pursue Virtual Threads, Data Aggregate Types, and Bette Slashdotby EditorDavid on java at January 1, 1970, 1:00 am (cached at October 3, 2021, 10:34 pm)

Oracle's Java magazine takes a look at some current JDK Enhancement Proposals, "the vehicle of long standing for updating the Java language and the JVM." Today, concurrency in Java is delivered via nonlightweight threads, which are, for all intents, wrappers around operating-system threads... Project Loom aims to deliver a lighter version of threads, called virtual threads. In the planned implementation, a virtual thread is programmed just as a thread normally would be, but you specify at thread creation that it's virtual. A virtual thread is multiplexed with other virtual threads by the JVM onto operating system threads. This is similar in concept to Java's green threads in its early releases and to fibers in other languages... Because the JVM has knowledge of what your task is doing, it can optimize the scheduling. It will move your virtual thread (that is, the task) off the OS thread when it's idle or waiting and intelligently move some other virtual thread onto the OS thread. When implemented correctly, this allows many lightweight threads to share a single OS thread. The benefit is that the JVM, rather than the OS, schedules your task. This difference enables application-aware magic to occur behind the curtains... Project Valhalla aims to improve performance as it relates to access to data items... by introducing value types, which are a new form of data type that is programmed like objects but accessed like primitives. Specifically, value types are data aggregates that contain only data (no state) and are not mutable. By this means, [value types] can be stored as a single array with only a single header field for the entire array and direct access to the individual fields... Project Panama simplifies the process of connecting Java programs to non-Java components. In particular, Panama aims to enable straightforward communication between Java applications and C-based libraries... Several Amber subprojects are still in progress. Sealed classes, which have been previewed in the last few Java releases and are scheduled to be finalized in Java 17. Sealed classes (and interfaces) can limit which other classes or interfaces can extend or implement them... Pattern matching in switches is a feature that will be previewed in Java 17... The article concludes that Java's past and current projects "testify to how much Java has evolved and how actively the language and runtime continue to evolve."

Read more of this story at Slashdot.

Crypto Platform That Mistakenly Gave $90M to Its Users Asks Them To Please Give It B Slashdotby EditorDavid on money at January 1, 1970, 1:00 am (cached at October 3, 2021, 10:04 pm)

Bleeping Computer has an update on the unique predicament of Compound, "an Ethereum-based money market protocol that enables users to earn interest or borrow assets against collateral." (Which "Due to an erroneous upgrade process, the decentralized finance platform ended up spilling out Ethereum assets worth $90 million to its users...") Compound's founder Robert Leshner urged users who received these Compound tokens in error to return the assets to the platform's Timelock contract. To incentivize users, Leshner stated that for their "white-hat" behaviour they may keep 10% as a reward. "Otherwise, it's being reported as income to the IRS, and most of you are doxxed," threatened the founder in the same tweet... Realizing that the original wording of his tweet may not have sat well with many, Leshner revised his tone: "I'm trying to do anything I can to help the community get some of its COMP back, and this was a bone-headed tweet / approach. That's on me," said Leshner. "Luckily, the community is much bigger, and smarter, than just me. I appreciate your ridicule and support...." Because the Compound protocol requires a seven-day governance process before any production changes can be made, Compound's only option at this time is to wait on users, hoping they will return the assets. CoinDesk reported Friday afternoon that "So far, two users have returned a total of 37,493 COMP tokens worth over $12 million at the time of writing." But on Saturday Leshner was tweeting out more thank-you's to additional white-hat users "returning COMP to the community." In an interview with CoinDesk, Leshner said the moral dilemma can be split roughly into two camps. "There's a lot of members of the community that view protocols like Compound as benefitting the entire ecosystem," he said. "And there are some users that don't necessarily care. The builder mindset is, 'This adds value, this is crucially important,' and the trader mindset is 'Money is money,' and that's the only ethos of crypto." He went on: "I'm personally hopeful users will return funds to the community. It's not my property, it's not their property, it's the community's property...." One suggestion from Twitter? "The first 5 people to return COMP get 1/5 pieces of Leshner NFT that can be combined Exodia style to summon Robert in real life." "This idea is crazy, and I'm in," Leshner tweeted, adding later that "Anyone who returns COMP to the community is an alien giga-chad; and if a squad of alien giga-chads ever summon me, I will appear." Leshner told CoinDesk: "I want to hear other people's views on this, because it's not my decision," he said. "This is a decision every user has to make themselves, and I think most of them are taking the view of, 'Haha, f**k you guys, it's your problem.'"

Read more of this story at Slashdot.

Gas-Powered Leaf Blowers: the Most Polluting Machinery Still in Legal Use Slashdotby EditorDavid on earth at January 1, 1970, 1:00 am (cached at October 3, 2021, 9:34 pm)

"Pound for pound, gallon for gallon, hour-for-hour, the two-stroke gas powered engines in leaf blowers and similar equipment are vastly the dirtiest and most polluting kind of machinery still in legal use," James Fallows writes. "According to the California Air Resources Board (CARB), the two-stroke leaf blowers and similar equipment in the state produce more ozone pollution than all of California's tens of millions of cars, combined." How can such little engines do so much damage? It's all about technological progress, and the lack of it: Over the past 50 years, gasoline engines for trucks and automobiles have become so much more efficient that they have reduced most of their damaging emissions-per-mile by at least 95 percent... Two-stroke engines, by contrast, are based on long-obsolete technology that inefficiently burns a slosh of oil and gasoline, and pumps out much of the unburned fuel as toxic aerosols... They're the basis of noisy, dirty scooters and tuk-tuks in places like Jakarta, Hanoi, Manila, and Bangkok, where they're being phased out as too polluting. Using a two-stroke engine is like heating your house with an open pit fire in the living room — and chopping down your trees to keep it going, and trying to whoosh away the fetid black smoke before your children are poisoned by it. But these machines persist in American landscaping because they are cheap. And because — to be brutally honest — the people paying the greatest price in much of suburban American are the hired lawn-crew workers... Fallows points out America's Environmental Protection Agency concluded the engines expose their operators to unusually high levels of carcinogens include benzene and other dangerous substances. And "The noise produced by two-stroke engines really is different from other sounds. New acoustic research shows that its distinctive low-frequency noise penetrates vastly further than other machine-generated sound waves. It goes through solid walls. "There is an obvious, rapidly improving alternative. That is battery-powered equipment (to say nothing of rakes)... If batteries can power a multi-ton F-150 truck, it is fatuous for landscapers to say that they aren't strong enough for a dozen-pound leaf blower."

Read more of this story at Slashdot.

Radical ideas for political pubs Scripting News(cached at October 3, 2021, 9:02 pm)

Idea. For a few weeks, assign a reporter to read the Twitter comments for all the stories, but don't announce anything. Look for people who write intelligent comments with new ideas that people in your circle never come up with.

They are out there, might take some effort to find them. Recruit new ideas. We need you to do that. Be a contrarian. In journalism the assumption is that comments are disgusting. Take an opposite view for a short period of time, and see objectively if there aren't some diamonds out there in the middle of all the crap.

Another radical idea for political pubs.

Did you hear blogs are back? They call them newsletters now. They all have RSS feeds, of course. How about gathering a list of all the newsletters people on your staff read, publish the list, and run a river of all their letters, when they come out. A way of revealing your sources in a new dimension.

Build relationships with the smartest of them. Become known as connoisseurs of political thought. How could that hurt your pub? Pay special attention to ones that criticize your specific publication. Always listen to your most passionate users, that's how you improve over time.

[no title] Scripting News(cached at October 3, 2021, 9:02 pm)

All of today's MLB games begin at approximately 3PM Eastern. Today is the last day of the regular season and there are all kinds of ties, some of which will be broken in today's games, and some will likely wait for a special game, that's how close the races are. A day of huge drama in baseball.
Is the Coronavirus Just Getting Better at Airborne Transmission? Slashdotby EditorDavid on medicine at January 1, 1970, 1:00 am (cached at October 3, 2021, 8:34 pm)

A New York Times science/global health reporter reminds us that "Newer variants of the coronavirus like Alpha and Delta are highly contagious, infecting far more people than the original virus." But then they add that "Two new studies offer a possible explanation: The virus is evolving to spread more efficiently through air." Most researchers now agree that the coronavirus is mostly transmitted through large droplets that quickly sink to the floor and through much smaller ones, called aerosols, that can float over longer distances indoors and settle directly into the lungs, where the virus is most harmful. The new studies don't fundamentally change that view. But the findings signal the need for better masks in some situations, and indicate that the virus is changing in ways that make it more formidable. "This is not an Armageddon scenario," said Vincent Munster, a virologist at the National Institute of Allergy and Infectious Diseases, who led one of the new studies. "It is like a modification of the virus to more efficient transmission, which is something I think we all kind of expected, and we now see it happening in real time." Dr. Munster's team showed that small aerosols traveled much longer distances than larger droplets and the Alpha variant was much more likely to cause new infections via aerosol transmission. The second study found that people infected with Alpha exhaled about 43 times more virus into tiny aerosols than those infected with older variants. The studies compared the Alpha variant with the original virus or other older variants. But the results may also explain why the Delta variant is so contagious — and why it displaced all other versions of the virus... At least in some crowded spaces, people may want to consider switching to more protective masks, said Don Milton, an aerosol expert at the University of Maryland who led the research. "Given that it seems to be evolving towards generating aerosols better, then we need better containment and better personal protection," Dr. Milton said of the virus. "We are recommending people move to tighter-fitting masks."

Read more of this story at Slashdot.

Ransomware Gangs are Complaining That Other Crooks are Stealing Their Ransoms Slashdotby EditorDavid on crime at January 1, 1970, 1:00 am (cached at October 3, 2021, 7:34 pm)

"Cyber criminals using a ransomware-as-a-service scheme have been spotted complaining that the group they rent the malware from could be using a hidden backdoor to grab ransom payments for themselves," reports ZDNet: REvil is one of the most notorious and most common forms of ransomware around and has been responsible for several major incidents. The group behind REvil lease their ransomware out to other crooks in exchange for a cut of the profits these affiliates make by extorting Bitcoin payments in exchange for the ransomware decryption keys that the victims need. But it seems that cut isn't enough for those behind REvil: it was recently disclosed that there's a secret backdoor coded into their product, which allows REvil to restore the encrypted files without the involvement of the affiliate. This could allow REvil to takeover negotiations with victims, hijack the so-called "customer support" chats — and steal the ransom payments for themselves. Analysis of underground forums by cybersecurity researchers at Flashpoint suggests that the disclosure of the REvil backdoor hasn't gone down well with affiliates. One forum user claimed to have had suspicions of REvil's tactics, and said their own plans to extort $7 million from a victim was abruptly ended. They believe that one of the REvil authors took over the negotiations using the backdoor and made off with the money.

Read more of this story at Slashdot.

Tesla Vehicle Deliveries Hit Another Record In Q3, Beats Analysts' Estimates Slashdotby EditorDavid on business at January 1, 1970, 1:00 am (cached at October 3, 2021, 7:04 pm)

Tesla announced that it's delivered a new record number of electric cars in its third quarter, according to Reuters, "beating Wall Street estimates after Chief Executive Elon Musk asked staff to 'go super hardcore' to make a quarter-end delivery push." Slashdot reader McGruber shared Reuters' report: Tesla has weathered the chip crisis better than rivals, with its overall deliveries surging 20% in the July to September period from its previous record in the second quarter, marking the sixth consecutive quarter-on-quarter gains... Tesla delivered 241,300 vehicles globally in the July to September quarter, up 73% from a year earlier. Analysts had expected the electric-car maker to deliver 229,242 vehicles, according to Refinitiv data. General Motors, Honda and some of its bigger rivals posted declines in U.S. sales in the third quarter, hit by a prolonged chip shortage. GM's third-quarter U.S. sales fell nearly 33% to its lowest level in more than a decade.

Read more of this story at Slashdot.

An idea for political pubs Scripting News(cached at October 3, 2021, 7:02 pm)

Idea. For a few weeks, assign a reporter to read the Twitter comments for all the stories, but don't announce anything. Look for people who write intelligent comments with new ideas that people in your circle never come up with. They are out there, might take some effort to find them. Recruit new ideas. We need you to do that.

Be a contrarian. In journalism the assumption is that comments are disgusting. Yake an opposite view for a short period of time, and see objectively if there aren't some diamonds out there in the middle of all the crap.

New 'Babylon 5' Reboot Being Developed By Original Creator J. Michael Straczynski Slashdotby EditorDavid on tv at January 1, 1970, 1:00 am (cached at October 3, 2021, 6:04 pm)

Back in 2014 Babylon 5 creator J. Michael Straczynski answered questions from Slashdot's readers. And now this week, long-time Slashdot reader Jaegs writes: According to many sources and the Babylon 5 creator/writer/director/producer himself, J. Michael Straczynski (JMS), the CW — partly owned by the original Babylon 5 producer and rights holder, WarnerMedia — will be rebooting the popular franchise. JMS will be writing and executive producing the series. Per JMS: "[W]e will not be retelling the same story in the same way... There would be no fun and no surprises. Better to go the way of Westworld or Battlestar Galactica where you take the original elements that are evergreens and put them in a blender with a ton of new, challenging ideas, to create something fresh yet familiar. To those asking why not just do a continuation, for a network series like this, it can't be done because over half our cast are still stubbornly on the other side of the Rim. The last part refers to the recent passing of Mira Furlan (Delenn), as well as the untimely deaths of other primary cast members after the conclusion of the original run of the series: Richard Biggs (Dr. Franklin), Michael O'Hare (Jeffrey Sinclair), Jerry Doyle (Michael Garibaldi), Stephen Furst (Vir Cotto), Jeff Conway (Zack Allan), and Andreas Katsulas (G'Kar). [As well as Mira Furlan (Minbari Ambassador Delenn)] Straczynski points out on Twitter that "The original Babylon 5 was ridiculously innovative: the first to use CGI to create ships and characters, and among the very first to shoot widescreen with a vigorous 5.1 mix." But his tweets also seem excited about the questions that this new reboot will answer. "if I were creating Babylon 5 today, for the first time, knowing what I now know as a writer, what would it look like? How would it use all the storytelling tools and technological resources available in 2021 that were not on hand then? "How can it be used to reflect the world in which we live, and the questions we are asking and confronting every day? Fans regularly point out how prescient the show was and is of our current world; it would be fun to take a shot at looking further down the road..."

Read more of this story at Slashdot.

Can High-Powered Lasers Unlock the Secrets of Strong Field Quantum Electrodynamics? Slashdotby EditorDavid on science at January 1, 1970, 1:00 am (cached at October 3, 2021, 4:34 pm)

Phys.org reports that a newly published theoretical/computer-modeling study "suggests that the world's most powerful lasers might finally crack the elusive physics behind some of the most extreme phenomena in the universe — gamma ray bursts, pulsar magnetospheres, and more." The study comes from an international team including researchers from Lawrence Berkeley National Laboratory and France's Alternative Energies and Atomic Energy Commission (publishing in the journal Physical Review Letters.): The team's modeling study shows that petawatt (PW)-class lasers — juiced to even higher intensities via light-matter interactions — might provide a key to unlock the mysteries of the strong-field (SF) regime of quantum electrodynamics (QED). A petawatt is 1 times ten to the fifteenth power (that is, followed by 15 zeroes), or a quadrillion watts. The output of today's most powerful lasers is measured in petawatts... "This is a powerful demonstration of how advanced simulation of complex systems can enable new paths for discovery science by integrating multiple physics processes — in this case, the laser interaction with a target and subsequent production of particles in a second target," said ATAP Division Director Cameron Geddes.... The scheme consists of boosting the intensity of a petawatt laser pulse with a relativistic plasma mirror. Such a mirror can be formed when an ultrahigh intensity laser beam hits an optically polished solid target. Due to the high laser amplitude, the solid target is fully ionized, forming a dense plasma that reflects the incident light. At the same time the reflecting surface is actually moved by the intense laser field. As a result of that motion, part of the reflected laser pulse is temporally compressed and converted to a shorter wavelength by the Doppler effect. Radiation pressure from the laser gives this plasma mirror a natural curvature. This focuses the Doppler-boosted beam to much smaller spots, which can lead to extreme intensity gains — more than three orders of magnitude — where the Doppler-boosted laser beam is focused. The simulations indicate that a secondary target at this focus would give clear SF-QED signatures in actual experiments. The study drew upon Berkeley Lab's diverse scientific resources, including its WarpX simulation code, which was developed for modeling advanced particle accelerators under the auspices of the U.S. Department of Energy's Exascale Computing Project... The discovery via WarpX of novel high-intensity laser-plasma interaction regimes could have benefits far beyond ideas for exploring strong-field quantum electrodynamics. These include the better understanding and design of plasma-based accelerators such as those being developed at the Berkeley Lab Laser Accelerator. More compact and less expensive than conventional accelerators of similar energy, they could eventually be game-changers in applications that range from extending the reach of high-energy physics and of penetrating photon sources for precision imaging, to implanting ions in semiconductors, treating cancer, developing new pharmaceuticals, and more. "It is gratifying to be able to contribute to the validation of new, potentially very impactful ideas via the use of our novel algorithms and codes," Vay said of the Berkeley Lab team's contributions to the study. "This is part of the beauty of collaborative team science." Long-time Slashdot reader fahrbot-bot has suggested that the article deserves an alternate title: "Article I Read Three Times and Still Don't Completely Understand."

Read more of this story at Slashdot.

FSF Announces 'JShelter' Browser Privacy Extension to Block Fingerprinting, Tracking Slashdotby EditorDavid on gnu at January 1, 1970, 1:00 am (cached at October 3, 2021, 2:04 pm)

This week the Free Software Foundation (FSF) announced the JShelter project, "an anti-malware Web browser extension to mitigate potential threats from JavaScript, including fingerprinting, tracking, and data collection." The browser add-on — supported by NLnet Foundation's Next Generation Internet (NGI) Zero Privacy & Trust Enhancing Technologies fund — is currently "in development and the first release is available." This browser add-on will limit the potential for JavaScript programs to do harmful actions by restricting default behavior and adding a layer of control... Accessing cookies, performing fingerprinting to track users across multiple sites, revealing the local network address, or capturing the user's input before they submit a form are some examples of JavaScript's capabilities that can be used in harmful ways. JShelter adds a safety layer that allows the user to choose if a certain action should be forbidden on a site, or if it should be allowed with restrictions, such as reducing the accuracy of geolocation to the city area. This layer can also aid as a countermeasure against attacks targeting the browser, operating system, or hardware levels... [The extension] will ask — globally or per site — if specific native functions provided by the JavaScript engine and the Document Object Model (DOM) are allowed by the user. It will also link to an explanatory page for each function, to raise awareness of related threats. Depending on the function being addressed, the user will have the option to allow it, block it, or have it return a custom value... "Our browsers have become perhaps the most critical of tools we depend on, and yet the browser environment is far from healthy," says Michiel Leenaars, director of strategy at NLnet Foundation and coordinator of NGI Zero. "Dominant corporate behavior from a small amount of actors has been aggressively reshaping the evolution of the Web, and that is starting to wreak havoc. Despite an enormous systemic dependency, we as users have very little control over what browsers allow and share — leading to significant risk as the most powerful tools in the shed are essentially left unprotected for every casual Web site to abuse. JShelter is a great initiative to help empower us all, to help us gain better understanding and to better safeguard ourselves from obvious and otherwise unavoidable harm." The effort is part of a larger, multi-year campaign from FSF on JavaScript on the Web started in 2013, which among others includes the development of GNU LibreJS and outreach to users and developers about nonfree software inside the browser. The GNU LibreJS extension detects JavaScript web labels and assists users with running only JavaScript distributed under a free software license, according to their ethical convictions and individual preferences. "JShelter will help protect users from critical threats now, and contribute significantly to progress on the necessary longer-term cultural shift of moving away from nonfree JavaScript," said Ruben Rodriguez, former FSF chief technology officer. "This is a project I've been looking forward to for years, tired of dealing with all kinds of potential antifeatures in the browsers I use and distribute, and having to figure out some countermeasure for them with configuration changes, patches or extensions. Being able to wrap the JavaScript engine in a layer of protection is a game changer."

Read more of this story at Slashdot.

Crypto Platform Mistakenly Gives $90M to Its Users, Asks Them To Please Give It Back Slashdotby EditorDavid on money at January 1, 1970, 1:00 am (cached at October 3, 2021, 9:34 am)

Bleeping Computer reports on Compound, "an Ethereum-based money market protocol that enables users to earn interest or borrow assets against collateral." "Yesterday, due to an erroneous upgrade process, the decentralized finance platform ended up spilling out Ethereum assets worth $90 million to its users..." Compound's founder Robert Leshner urged users who received these Compound tokens in error to return the assets to the platform's Timelock contract. To incentivize users, Leshner stated that for their "white-hat" behaviour they may keep 10% as a reward. "Otherwise, it's being reported as income to the IRS, and most of you are doxxed," threatened the founder in the same tweet... Realizing that the original wording of his tweet may not have sat well with many, Leshner revised his tone: "I'm trying to do anything I can to help the community get some of its COMP back, and this was a bone-headed tweet / approach. That's on me," said Leshner. "Luckily, the community is much bigger, and smarter, than just me. I appreciate your ridicule and support...." Because the Compound protocol requires a seven-day governance process before any production changes can be made, Compound's only option at this time is to wait on users, hoping they will return the assets. CoinDesk reported Friday afternoon that "So far, two users have returned a total of 37,493 COMP tokens worth over $12 million at the time of writing." But on Saturday Leshner was tweeting out more thank-you's to additional white-hat users "returning COMP to the community." In an interview with CoinDesk, Leshner said the moral dilemma can be split roughly into two camps. "There's a lot of members of the community that view protocols like Compound as benefitting the entire ecosystem," he said. "And there are some users that don't necessarily care. The builder mindset is, 'This adds value, this is crucially important,' and the trader mindset is 'Money is money,' and that's the only ethos of crypto." He went on: "I'm personally hopeful users will return funds to the community. It's not my property, it's not their property, it's the community's property...." One suggestion from Twitter? "The first 5 people to return COMP get 1/5 pieces of Leshner NFT that can be combined Exodia style to summon Robert in real life." "This idea is crazy, and I'm in," Leshner tweeted, adding later that "Anyone who returns COMP to the community is an alien giga-chad; and if a squad of alien giga-chads ever summon me, I will appear." Leshner told CoinDesk: "I want to hear other people's views on this, because it's not my decision," he said. "This is a decision every user has to make themselves, and I think most of them are taking the view of, 'Haha, f**k you guys, it's your problem.'"

Read more of this story at Slashdot.

Comic for October 02, 2021 Dilbert Daily Strip(cached at October 3, 2021, 9:31 am)

Dilbert readers - Please visit Dilbert.com to read this feature. Due to changes with our feeds, we are now making this RSS feed a link to Dilbert.com.
Newly-Published Evidence Undermines China Lab-Leak Theory Slashdotby EditorDavid on science at January 1, 1970, 1:00 am (cached at October 3, 2021, 5:34 am)

In 1999 Los Angeles Times reporter Michael Hiltzik won a Pulitzer Prize. Now a business columnist for the Times, he writes that "new evidence undermines the COVID lab-leak theory — but the press keeps pushing it." A paper posted online [in September] chiefly by researchers at France's Institut Pasteur and under consideration for publication in a Nature journal...reports that three viruses were found in bats living in caves in northern Laos with features very similar to SARS-CoV-2, the virus responsible for COVID-19. As Nature reported, those viruses are "more similar to SARS-CoV-2 than any known viruses." Another paper, posted in late August by researchers from the Wuhan lab, reports on viruses found in rats also with features similar to those that make SARS-CoV-2 infectious in humans. Two other papers published on the discussion forum virological.org present evidence that the virus jumped from animals to humans at more than one animal market in Wuhan, not just the Huanan seafood market. Given that these so-called wet markets have long been suspected as transmission points of viruses from animals to humans because they sell potentially infected animals, that makes the laboratory origin vastly less likely, according to a co-author of one of the papers. "That a laboratory leak would find its way to the very place where you would expect to find a zoonotic transmission is quite unlikely," Joel Wertheim, an associate professor at UC San Diego's medical school, told me. "To have it find its way to multiple markets, the exact place where you would expect to see the introduction, is unbelievably unlikely." As virologist Robert F. Garry of Tulane, one of Wertheim's co-authors, told Nature, the finding is "a dagger into the heart" of the lab-leak hypothesis.

Read more of this story at Slashdot.