×
Programming

C Rival 'Zig' Cracks Tiobe Index Top 50, Go Remains in Top 10 (infoworld.com) 12

InfoWorld reports: Zig, a general purpose programming language that interacts with C/C++ programs and promises to be a modern alternative to C, has made an appearance in the Tiobe index of programming language popularity. Zig entered the top 50 in the April edition of the Tiobe Programming Community Index, ranking 46th, albeit with a rating of just 0.19%. By contrast, the Google-promoted Carbon language, positioned as an experimental successor to C++, ranked just 168th.
Tiobe CEO Paul Jansen argues that high-performance languages "are booming due to the vast amounts of data that needs to be processed nowadays. As a result, C and C++ are doing well in the top 10 and Rust seems to be a keeper in the top 20." Zig has all the nice features of C and C++ (such as explicit memory management enhanced with option types) and has abandoned the not-so-nice features (such as the dreadful preprocessing). Entering the top 50 is no guarantee to become a success, but it is at least a first noteworthy step. Good luck Zig!
Tiobe bases its monthly ranking of programming language popularity on search engine results for courses, third party vendors, and engineers. Here's what they's calculated for the most popular programming languages in April of 2023:
  • Python
  • C
  • Java
  • C++
  • C#
  • Visual Basic
  • JavaScript
  • SQL
  • PHP
  • Go

April's top 10 was nearly identical to the rankings a year ago, but assembly language fell from 2022's #8 position to #12 in 2023. SQL and PHP rose one rank (into 2023's #8 and #9 positions) — and as in March, the rankings now shows Go as the 10th most popular programming language.


Space

The Search for Alien Life Moves to Icy Moons (yahoo.com) 24

The search for life beyond Earth "follows the water," reports the Economist (since water is vital for earth's lifeforms, and the laws of chemistry are universal). "For most of the space age that insight led scientists to Mars." But... More and more, though, planetary scientists are following the water to other places — and in particular to the so-called "icy moons" that orbit Jupiter, Saturn, Neptune and Uranus, the solar system's quartet of giant gas planets. Many of those moons are either known or suspected to have oceans beneath their icy shells, kept liquid by gravitational squeezing from the planets they orbit.

On April 13th, if all goes well, a new spacecraft will blast off from French Guiana en route to Jupiter with the aim of investigating some of those watery moons up close. The European Space Agency's Jupiter Icy Moons Explorer (given the slightly contrived acronym "JUICE ") will slingshot once around Venus and three times around Earth before arriving at Jupiter in 2031.... JUICE will investigate three of the so-called Galilean moons — Callisto, Europa and Ganymede, all of which are thought to have subsurface oceans. (The fourth, Io, is arid, and so not of interest.)

Ganymede is the probe's primary target. Despite being a moon, it is bigger than the planet Mercury. Its subsurface ocean may contain more water than all of Earth's oceans combined. The probe's cameras will add much more detail to the existing, low-resolution maps of Ganymede's surface. An ice-penetrating radar will scan several kilometres below the ground. A magnetometer will take advantage of the fact that Ganymede, apparently uniquely among the solar system's moons, has a weak magnetic field that interacts with the much bigger field generated by Jupiter itself. The subtleties of that magnetic field were an early clue for the existence of an ocean, hinting at the presence of a large chunk of conductive fluid — such as salty water — beneath the surface. Better readings of the magnetic field will help scientists estimate just how big the ocean is....

Nor is JUICE the only probe on its way to Jupiter. Next year NASA will launch Europa Clipper, focused, as its name suggests, on Europa. Despite its later launch, it will take a quicker route to Jupiter, arriving a few months before JUICE . And, because there are limits to what can be discerned from orbit, both NASA and the Europeans are sketching plans for future landers that would descend to the surface of such moons to sample the seawater directly.

Programming

ECMAScript 2023 Spec for JavaScript Includes New Methods for Arrays (infoworld.com) 13

Four new capabilities are planned for the JavaScript specification's next update, reports InfoWorld. Based on a list of finished proposals, InfoWorld expects the following in ECMAScript 2023: - Array find from last, a proposal for .findlast() and .findLastIndex() methods on array and typed array...

- Permitting symbols as keys in WeakMap keys, a proposal that extends the WeakMap API to allow the use of unique symbols as keys. Currently, WeakMaps are limited to allow only objects as keys.

- Change array by copy, a proposal that provides additional methods on Array.prototype and TypedArray.prototype to enable changes on the array by returning a new copy of it with the change.

- Hashbang grammar, a proposal to match the de facto usage in some CLI JS hosts that allow for Shebangs/Hashbang. These hosts strip the hashbang to generate valid JS source texts before passing to JS engines. This plan would move the stripping to engines and unify and standardize how that is done.

Earth

A Quandary as EV Makers Hunt for Metals: Unleash the Deep Sea Robots? (msn.com) 47

"As automakers scour the planet for the metals it will take to build tens of millions of electric cars, they are deliberately taking a detour around one of the only places on earth where so much of what they need is laying around and available to be plucked," reports the Washington Post: The deep seabed is teeming with potato-sized rocks packed with the nickel, cobalt, copper and manganese EV manufacturers covet. But efforts by mining companies to harvest the nodules with undersea robots are hitting rough waters. EV manufacturers who need the minerals for their batteries are distancing themselves from the practice as diplomats and scientists sound an alarm over the ecological damage that could be caused by rushing to scrape the sea floor.

The misgivings of the auto companies are hardly assuaged by the messy, contentious deliberations over it all at the headquarters of the United Nations-chartered International Seabed Authority here. The authority, tasked with protecting and guiding development in international waters, has been in turmoil since the small Pacific Island nation of Nauru invoked a clause tucked in the Law of the Sea that could allow mining within months, likely before the full environmental impact is known or regulations are put in place....

More than 700 marine scientists have signed a petition demanding a [mining] moratorium, which is also supported by 13 countries. French President Emmanuel Macron is calling for a permanent ban.... Some car manufacturers, including BMW, Renault, Rivian, Volvo and VW publicly support a moratorium on seabed mining. GM, Ford and Daimler are, for now, keeping deep seabed materials out of their supply chain plans amid corporate concerns about environmental impact.

The Post got an interesting perspective from Ethan Elkind, director of the climate program at UC Berkeley's Center for Law, Energy and the Environment. "Auto companies don't want EV batteries associated with more destruction than they already have been," he tells them. "If ecological damage of these sensitive undersea areas comes to light after mining begins, they don't want to be a part of it."
Iphone

Texas Dad Says 'Find My iPhone' Glitch is Directing Angry Strangers to his Home (abc13.com) 76

An anonymous reader shares a report from the New York Post: A supposed glitch in the popular "Find My iPhone" app has been directing random strangers to the home of an unsuspecting Texas dad at all hours of the day, falsely accusing him of stealing their electronic devices.

[Software engineer] Scott Schuster told the local news station KTRK that he's been visited by close to a dozen irate people over the past few years, telling him that their missing phone had last pinged at his address. "[I] had to wake up and go answer the door and explain to them that I didn't have their device, and people don't tend to believe you," the dad of two told the outlet.

The Texas resident tells KTRK that his biggest concern was "someone coming to the house potentially with a weapon."

And the same station reports that local sheriff Eric Fagan "said he was so shocked and concerned that he informed his patrol units and dispatchers, just in case anyone called about the address." "Apple needs to do more about this," Fagan said. "Please come out and check on this. This is your expertise. Mine is criminal and keeping our public safe here in Fort Bend County." Fagan added that Apple doing nothing puts a family's safety in jeopardy. "I would ask them to come out and see what they can do. It should be taken seriously. You are putting innocent lives at risk," he said....

There have been other high-profile device pinging errors elsewhere in the country, with at least one that brought armored vehicles to a neighborhood. In 2021, body camera footage captured a Denver police SWAT team raiding the home of a 77-year-old woman in Colorado over a false ping on the app. Denver officers believed she had stolen guns connected to a car theft after tracking a stolen iPhone to her address using the Find My app. That woman later sued the lead detective.

ABC13 has tried contacting the software giant since Tuesday. Someone called back, so we know they are aware of the incident. Still, no one has said if they are going to fix the issue, or at the very least, look into the matter.

AI

AI-Generated Viral Videos are Already Here (newyorker.com) 12

AI now "automates creative impulses," writes New Yorker staff writer Kyle Chayka — then wonders where that will lead. Chayka's first example is a Berlin-based photographer using AI tools to create a viral video showing Harry Potter characters as fashion models for the upscale French label Balenciaga: A.I. tools were involved in each step of Alexander Niklass's process, and in each element of the video. He created the basic static images with Midjourney, evoking the Harry Potter actors and outfits through text prompts such as "male model, grotesque, balenciaga commercial." Then he used ElevenLabs — a "voice-cloning" tool — to create models of the actors' voices based on previously recorded audio. Finally, he fed the images into a service called D-ID, which is used to make "avatar videos" — subtly animated portraits, not so far off from those that appear in the newspapers of the Potter world. D-ID added the signature lip synchs and head nods, which Niklass explained were a reference to fashion models tilting their chins for the cameras.

The combination of child-friendly film and adult luxury fashion held no particular symbolism nor expressed an artistic intent. It's "entertainment," Niklass said. Yet the video's most compelling aspect might be its vacuity, a meaningless collision of cultural symbols. The nonsense is the point.

The article also cites a song where the French group AllttA performs with an AI-generated simulation of Jay-Z. Chayka marvels at a world where "The A.I. content has the appearance of realism, without actual reality — reality solely as a style.... it seems that a Rubicon has been crossed: It doesn't matter that these artifacts are generated by A.I.; we can just enjoy them for what they are. It happened faster than I thought possible, but now that A.I.-generated pop culture has entered the mainstream, it seems unlikely that we'll ever get rid of it."

Chayka asked ChatGPT how AI-generated imagery is changing our perceptions, and "It responded that there has been a 'blurring of the lines between real and artificial.'"

The article ultimately ponders the possible implications of "a world in which every style, every idea, and every possible remix is generated as fast and frictionlessly as possible, and the successful ones stick and get attention." But at the same time, Chayka believes the final output's quality still depends on the humans involved (arguing that the Harry Potter fashion video was still more "appealingly odd" than later AI-generated videos copying the idea, like "Matrix by Gucci," "Star Wars by Balenciaga," and "The Office by Balenciaga".) A.I. tools may have been able to replicate actors' faces and generate fashionable outfits, but only Niklass could have come up with the concept, which required keen observation of both high fashion and the wizarding world — and also a very specific, extremely online sense of humor. With tools like Midjourney publicly available to anyone online, "everybody can create something visually appealing now," he said. "But A.I. can't generate taste yet," he continued....

To put it another way, execution may have been democratized by generative A.I., but ideas have not. The human is still the originator, editor, and curator of A.I.'s effects.

Communications

How Much Data Did the Chinese Spy Balloon Collect? (nbcnews.com) 36

Long-time Slashdot reader schwit1 shared this report from NBC News: The Chinese spy balloon that flew across the U.S. was able to gather intelligence from several sensitive American military sites, despite the Biden administration's efforts to block it from doing so, according to two current senior U.S. officials and one former senior administration official. China was able to control the balloon so it could make multiple passes over some of the sites (at times flying figure-eight formations) and transmit the information it collected back to Beijing in real time, the three officials said.

The intelligence China collected was mostly from electronic signals, which can be picked up from weapons systems or include communications from base personnel, rather than images, the officials said. The three officials said China could have gathered much more intelligence from sensitive sites if not for the administration's efforts to move around potential targets and obscure the balloon's ability to pick up their electronic signals by stopping them from broadcasting or emitting signals.

America's Department of Defense "directed NBC News to comments senior officials made in February that the balloon had 'limited additive value' for intelligence collection by the Chinese government 'over and above what [China] is likely able to collect through things like satellites in low earth orbit.'"
Programming

Collabora Developer Explores Rust Support for the Linux Kernel's V4L2/Media Subsystem (phoronix.com) 4

On Thursday patches were submitted for bringing Rust infrastructure to the Video 4 Linux 2 (V4L2) framework (within Linux's media subsystem) by Collabora's Daniel Almeida.

Phoronix reports: This provides just enough for working with a prototype VirtIO camera driver written in Rust along with a Rust sample driver. These initial patches are just intended to start the discussion around V4L2 Rust driver support and the actual upstreaming of the Rust support for these camera drivers may still be some ways down the line.
AI

ChatGPT Sued for Lying (msn.com) 124

An anonymous readers shared this report from the Washington Post: Brian Hood is a whistleblower who was praised for "showing tremendous courage" when he helped expose a worldwide bribery scandal linked to Australia's National Reserve Bank. But if you ask ChatGPT about his role in the scandal, you get the opposite version of events. Rather than heralding Hood's whistleblowing role, ChatGPT falsely states that Hood himself was convicted of paying bribes to foreign officials, had pleaded guilty to bribery and corruption, and been sentenced to prison.

When Hood found out, he was shocked. Hood, who is now mayor of Hepburn Shire near Melbourne in Australia, said he plans to sue the company behind ChatGPT for telling lies about him, in what could be the first defamation suit of its kind against the artificial intelligence chatbot.... "There's never, ever been a suggestion anywhere that I was ever complicit in anything, so this machine has completely created this thing from scratch," Hood said — confirming his intention to file a defamation suit against ChatGPT. "There needs to be proper control and regulation over so-called artificial intelligence, because people are relying on them...."

If it proceeds, Hood's lawsuit will be the first time someone filed a defamation suit against ChatGPT's content, according to Reuters. If it reaches the courts, the case would test uncharted legal waters, forcing judges to consider whether the operators of an artificial intelligence bot can be held accountable for its allegedly defamatory statements.

The article notes that ChatGPT prominently warns users that it "may occasionally generate incorrect information." And another Post article notes that all the major chatbots now include disclaimers, "such as Bard's fine-print message below each query: 'Bard may display inaccurate or offensive information that doesn't represent Google's views.'"

But the Post also notes that ChatGPT still "invented a fake sexual harassment story involving a real law professor, Jonathan Turley — citing a Washington Post article that did not exist as its evidence." Long-time Slashdot reader schwit1 tipped us off to that story. But here's what happened when the Washington Post searched for accountability for the error: In a statement, OpenAI spokesperson Niko Felix said, "When users sign up for ChatGPT, we strive to be as transparent as possible that it may not always generate accurate answers. Improving factual accuracy is a significant focus for us, and we are making progress...." Katy Asher, senior communications director at Microsoft, said the company is taking steps to ensure search results are safe and accurate. "We have developed a safety system including content filtering, operational monitoring, and abuse detection to provide a safe search experience for our users," Asher said in a statement, adding that "users are also provided with explicit notice that they are interacting with an AI system."

But it remains unclear who is responsible when artificial intelligence generates or spreads inaccurate information. From a legal perspective, "we just don't know" how judges might rule when someone tries to sue the makers of an AI chatbot over something it says, said Jeff Kosseff, a professor at the Naval Academy and expert on online speech. "We've not had anything like this before."

GNU is Not Unix

FSF Awards 'Respects Your Freedom' Certification to ThinkPenguin's Gigabit Mini VPN Router (fsf.org) 4

The Free Software Foundation certifies products that meet their standards in regard to users' freedom, control over the product, and privacy. And they put out a new "Respects Your Freedom" certification on Thursday for ThinkPenguin's free software gigabit mini VPN router, the TPE-R1400.

From the FSF's announcement: This is ThinkPenguin's first device to receive RYF certification in 2023, adding to their vast catalogue of certified devices from previous years. As with previous routers from ThinkPenguin, the Free Software Gigabit Mini VPN Router ships with an FSF-endorsed fully free embedded GNU/Linux distribution called libreCMC. It also comes with a custom flavor of the U-Boot boot loader, assembled by Robert Call, the maintainer of libreCMC and a former FSF intern.

The router enables users to run their network connection through a VPN service, helping to simplify the process of keeping their communications secure and private. While ThinkPenguin offers a VPN service, users are not required to purchase a subscription to their service in order to use the router, and the device comes with detailed instructions on how to use the router with a wide variety of VPN providers.

"We're pleased to see ThinkPenguin continue with their commitment to bringing out devices that put software freedom as their first priority under the RYF program. The release of this router shows that ThinkPenguin is committed to the privacy and freedom of their users," said the FSF's executive director, Zoë Kooyman....

"The latest version of ThinkPenguin's VPN router lets its users take advantage of gigabit per second Internet connections while protecting their rights and privacy," said FSF's copyright and licensing associate, Craig Topham.

United States

Classified US Documents Leaked on 4chan, Telegram, Discord, and Twitter (msn.com) 105

America's Department of Justice just launched an investigation into the leaking of classified documents from the U.S. Department of Defense, reports the Washington Post.

"On Wednesday, images showing some of the documents began circulating on the anonymous online message board 4chan and made their way to at least two mainstream social media platforms, Telegram and Twitter." Earlier Friday, The Washington Post obtained dozens of what appeared to be photographs showing classified documents, dating to late February and early March, that range from worldwide intelligence briefings to tactical-level battlefield updates and assessments of Ukraine's defense capabilities. They outline information about the Ukrainian and Russian militaries, and include highly sensitive U.S. analyses about China and other nations. The materials also reference highly classified sources and methods that the United States uses to collect such information, alarming U.S. national security officials who have seen them.... The material that appeared online includes photographs of documents labeled "Secret" or "Top Secret," and began appearing on Discord, a chat platform popular with gamers, according to a Post review.

In some cases, it appears that the slides were manipulated. For instance, one image features combat casualty data suggesting the number of Russian soldiers killed in the war is far below what the Pentagon publicly has assessed. Another version of the image showed higher Russian casualty figures. Besides the information on casualties that appeared to be manipulated to benefit the Russian government, U.S. officials who spoke to The Post said many of the leaked documents did not appear to be forged and looked consistent in format with CIA World Intelligence Review reports distributed at high levels within the White House, Pentagon and the State Department....

The documents appear to have been drawn from multiple reports and agencies, and concern matters other than Ukraine. Two pages, for example, are purportedly a "CIA Operations Center Intelligence Update," and includes information about events concerning Russia, Hungary and Iran.... Rachel E. VanLandingham, a former Air Force attorney and expert on military law, said that whoever is responsible for the leak "is in a world of hurt." Such breaches, she said, constitute "one of the most serious crimes that exist regarding U.S. national security...."

Skepticism abounded Friday among both Russian and Ukrainian officials aware of reports about the leaks, with each side accusing the other of being involved in a deliberate act of disinformation.

The Post notes one defense official told them "hundreds — if not thousands" of people had access to the documents, so their source "could be anyone."

But the photographs received by the Post were apparently taken from printed documents, and "classified documents may only be printed from computers in a secure facility, and each transaction is electronically logged, said Glenn Gerstell, a former general counsel with the National Security Agency who emphasized that he was speaking only about general procedures. "The fact that the documents were printed out should significantly narrow the universe of the initial inquiry."
Classic Games (Games)

Magnus Carlsen Loses Last Competition as World Champion - After Slip of His Mouse (cnn.com) 27

It was Magnus Carlsen's last tournament as world champion, reports CNN — and he was eliminated after a "dramatic slip of his mouse" in his online match against Hikaru Nakamura: After drawing their first two games, the duo faced off in an Armageddon clash — similar to regular chess but black has draw odds, meaning that if black draws the game they win, and black starts with less time on the clock than white — to decide who would face Fabiano Caruana in the grand final.

After a tight encounter, the match was heading to its final seconds with very little to separate the two titans of chess.

And it was a moment of unfortunate luck which separated the two when Carlsen's mouse slipped meaning he put his queen onto F6 which allowed it to be taken by Nakamura and seal the victory.

Nakamura — wearing a t-shirt emblazoned with "I literally don't care" on the front — celebrated with a fist-bump while five-time world champion Carlsen could be seen exclaiming and grimacing in frustration.

On YouTube Thursday, Nakamura posted a 33-minute video titled "Dear YouTube, This Time Magnus Lost," where he explains the every move down to the final queen blunder (which he calls by its YouTube nickname, a "Botez Gambit.")

In the video Nakamura admits he'd missed a possible winning position (by drawing) earlier in the game. But he also believes he would've achieved the same result simply by checking Carlsen endlessly until a draw was declared.

And Chess.com tells the rest of the story. Friday Nakamura went on to win the event's final round, defeating grandmaster Fabiano Caruana in another Armageddon-style showdown after they'd each won three out of six games.
Businesses

Walmart US CEO Says Automation At Stores Won't Displace Workers (businessinsider.com) 48

An anonymous reader quotes a report from Insider: Walmart will be increasingly relying on automation at its stores in the coming years -- but that won't diminish the country's largest private employer's workforce, company leaders said during an investor event this week. The Bentonville, Arkansas-based retail giant recently made headlines when it announced that 65% of its stores will be "serviced by automation" by the end of fiscal year 2026. Walmart currently has more than 4,700 stores throughout the US and employs roughly 1.6 million people nationwide.

More specifically, one area where Walmart is seeking to increase investment is in market fulfillment centers (MFCs), which are automated fulfillment centers built within, or added to, a store. Walmart piloted this concept at a store in Salem, New Jersey, in 2019, using automated robot technology from Alert Innovation -- a robotics company Walmart acquired in October 2022. Since then, Walmart has built MFCs at several stores, such as in Jacksonville, Florida, and Dallas, Texas. Those include "manual MFCs," where associates pick items for online orders but in a separate area from the sales floor.

Walmart will still need at least the same level of workers to help in stores even as automation picks up, company leaders say. John Furner, Walmart US president and CEO, told investors this week that automation "helps" employees, as it will result in less manual labor. "Over time, we believe we'll have the same or more associates and a larger business overall," Furner said. "There will be new roles emerging that are less manual, better designed to serve customers, and pay more."

Programming

Samsung Software Engineers Busted For Pasting Proprietary Code Into ChatGPT (pcmag.com) 58

Multiple employees of Samsung's Korea-based semiconductor business plugged lines of confidential code into ChatGPT, effectively leaking corporate secrets that could be included in the chatbot's future responses to other people around the world. PCMag reports: One employee copied buggy source code from a semiconductor database into the chatbot and asked it to identify a fix, according to The Economist Korea. Another employee did the same for a different piece of equipment, requesting "code optimization" from ChatGPT. After a third employee asked the AI model to summarize meeting notes, Samsung executives stepped in. The company limited each employee's prompt to ChatGPT to 1,024 bytes.

Just three weeks earlier, Samsung had lifted its ban on employees using ChatGPT over concerns around this issue. After the recent incidents, it's considering re-instating the ban, as well as disciplinary action for the employees, The Economist Korea says. "If a similar accident occurs even after emergency information protection measures are taken, access to ChatGPT may be blocked on the company network," reads an internal memo. "As soon as content is entered into ChatGPT, data is transmitted and stored to an external server, making it impossible for the company to retrieve it."

The OpenAI user guide warns users against this behavior: "We are not able to delete specific prompts from your history. Please don't share any sensitive information in your conversations." It says the system uses all questions and text submitted to it as training data.

Space

SpaceX Prepares For Rehearsal, Test Flight of Starship Rocket (phys.org) 34

SpaceX plans to carry out a launch rehearsal next week of Starship, the most powerful rocket ever built, and its first test flight possibly the following week, the private space company said Thursday. Phys.Org reports: SpaceX published photos of the massive Starship, which is designed to eventually send astronauts to the Moon and beyond, on its launchpad at the company's base in Texas. "Starship fully stacked at Starbase," SpaceX said in a tweet. "Team is working towards a launch rehearsal next week followed by Starship's first integrated flight test ~ week later pending regulatory approval."

SpaceX will need a green light from the Federal Aviation Administration before being allowed to carry out the orbital test launch. SpaceX conducted a successful test-firing of the 33 Raptor engines on the first-stage booster of Starship in February. The 230-foot (69-meter) Super Heavy booster was anchored to the ground during the test-firing, called a static fire, to prevent it from lifting off.

Slashdot Top Deals