Can Codon ‘Turbocharge Python’s Notoriously Slow Compiler’?

IEEE Spectrum reports on Codon, a Python compiler specifically developed to, as they put it, “turbocharge Python’s Notoriously slow compiler.”

“We do type checking during the compilation process, which lets us avoid all of that expensive type manipulation at runtime,” says Ariya Shajii, an MIT CSAIL graduate student and lead author on a recent paper about Codon.

Without any unnecessary data or type checking during runtime, Codon results in zero overhead, according to Shajii. And when it comes to performance, “Codon is typically on par with C++. Versus Python, what we usually see is 10 to 100x improvement,” he says. But Codon’s approach comes with its trade-offs. “We do this static type checking, and we disallow some of the dynamic features of Python, like changing types at runtime dynamically,” says Shajii. “There are also some Python libraries we haven’t implemented yet….”

Codon was initially designed for use in genomics and bioinformatics. “Data sets are getting really big in these fields, and high-level languages like Python and R are too slow to handle terabytes per set of sequencing data,” says Shajii. “That was the gap we wanted to fill — to give domain experts who are not necessarily computer scientists or programmers by training a way to tackle large data without having to write C or C++ code.” Aside from genomics, Codon could also be applied to similar applications that process massive data sets, as well as areas such as GPU programming and parallel programming, which the Python-based compiler supports. In fact, Codon is now being used commercially in the bioinformatics, deep learning, and quantitative finance sectors through the startup Exaloop, which Shajii founded to shift Codon from an academic project to an industry application.

To enable Codon to work with these different domains, the team developed a plug-in system. “It’s like an extensible compiler,” Shajii says. “You can write a plug-in for genomics or another domain, and those plug-ins can have new libraries and new compiler optimizations….” In terms of what’s next for Codon, Shajii and his team are currently working on native implementations of widely used Python libraries, as well as library-specific optimizations to get much better performance out of these libraries. They also plan to create a widely requested feature: a WebAssembly back end for Codon to enable running code on a Web browser.

Read more of this story at Slashdot.

In a First, Renewables Beat Coal In the US Power Sector In 2022

An anonymous reader quotes a report from Electrek: For the first time ever, renewable power generation — that’s wind, solar, hydro, biomass, and geothermal — exceeded coal-fired generation in the US electric power sector in 2022, according to the US Energy Information Administration (EIA). Overall, the US electric power sector produced 4,090 million megawatt-hours (MWh) of power in 2022. Wind and solar’s combined total generation increased from 12% in 2021 to 14% in 2022. Hydropower stayed the same last year at 6%, and biomass and geothermal also remained unchanged, at less than 1%. So that’s a total of 21%. Utility-scale solar capacity in the US electric power sector — the EIA doesn’t include rooftop solar — increased from 61 gigawatts (GW) in 2021 to 71 GW in 2022, according to EIA data. Wind capacity grew from 133 GW in 2021 to 141 GW in 2022. Coal-fired generation, on the other hand, dropped from 23% in 2021 to 20% in 2022 because a number of coal-fired power plants retired, and the plants still online were used less.

Renewables surpassed nuclear generation for the first time in 2021, and that trend continued last year. Nuclear dropped from 20% in 2021 to 19% in 2022 because Michigan’s Palisades nuclear power plant was retired in May 2022. However, Palisades’ new owner, Holtec, wants to restart it, and this idea is not proving particularly popular, with one environmental group saying that would risk a “Chernobyl-scale catastrophe.” The Biden administration pledged $6 billion on March 2 to help extend the operating life of aging nuclear power plants in order to help the US combat climate change. However, natural gas is still the largest source of US electricity generation, and it grew from 37% in 2021 to 39% in 2022. This month, the EIA forecast that both wind and solar will each grow by 1% in 2023. Natural gas is forecast to remain unchanged, and coal is forecast to decline by 3% to 17% next year.

Read more of this story at Slashdot.

Sugar-Powered Implant Successfully Manages Type 1 Diabetes

Researchers have developed a novel fuel cell implant for type 1 diabetes that can successfully produce and release insulin when triggered. New Atlas reports: The fuel cell itself, which resembles a teabag that’s slightly larger than a fingernail, is covered in a nonwoven fabric and coated with alginate, an algae-derived product used widely in biomedicine because of its high degree of biocompatibility. When implanted under the skin, the cell’s alginate soaks up body fluid, allowing glucose to permeate the surface and flow into the power center. Inside the cell, the team developed a copper-based nanoparticle anode that splits glucose into gluconic acid and a proton to generate an electric current. “Many people, especially in the Western industrialized nations, consume more carbohydrates than they need in everyday life,” [Martin Fussenegger from the Department of Biosystems Science and Engineering at ETH Zurich] said. “This gave us the idea of using this excess metabolic energy to produce electricity to power biomedical devices.

The fuel cell was then coupled with an insulin capsule featuring the team’s beta cells, which could be triggered to secrete insulin via electric current from the implant. Overall, the two components provide a self-regulating circuit. When the fuel cell powered by glucose senses excess blood sugar, it powers up. This then stimulates the beta cells to produce and secrete insulin. As blood sugar levels dip, it trips a threshold sensor in the fuel cell, so it powers down, in turn stopping the insulin production and release. This self-sustained circuit could also produce enough power to communicate with a device such as a smartphone, which allows for monitoring and adjusting, and even has potential for remote access for medical intervention. The study was published in the journal Advanced Materials.

Read more of this story at Slashdot.

Canada Is Working To Implement a Right To Repair

An anonymous reader quotes a report from Ars Technica: Like in other parts of the world, Canada is working out what the right to repair means for its people. The federal government said in its 2023 budget released Tuesday that it will bring the right to repair to Canada. At the same time, it’s considering a universal charging port mandate like the European Union (EU) is implementing with USB-C. The Canadian federal government’s 2023 budget introduces the right to repair under the chapter “Making Life More Affordable and Supporting the Middle Class.” It says that the “government will work to implement a right to repair, with the aim of introducing a targeted framework for home appliances and electronics in 2024.” The government plans to hold consultations on the matter and claimed it will “work closely with provinces and territories” to implement the right to repair in Canada:

“When it comes to broken appliances or devices, high repair fees and a lack of access to specific parts often mean Canadians are pushed to buy new products rather than repairing the ones they have. This is expensive for people and creates harmful waste. Devices and appliances should be easy to repair, spare parts should be readily accessible, and companies should not be able to prevent repairs with complex programming or hard-to-obtain bespoke parts. By cutting down on the number of devices and appliances that are thrown out, we will be able to make life more affordable for Canadians and protect our environment.”

The budget also insinuates that right-to-repair legislation can make third-party repairs cheaper than getting a phone, for example, repaired by the manufacturer, where it could cost “far more than it should.” Canada’s 2023 budget also revealed the government’s interest in introducing a standard charging port for electronics. The budget says the government “will work with international partners and other stakeholders to explore implementing a standard charging port in Canada.” It says a universal charging port could help residents save money and e-waste. “Every time Canadians purchase new devices, they need to buy new chargers to go along with them, which drives up costs and increases electronic waste,” the budget says.

Read more of this story at Slashdot.

China Shuts Down Major Manga Piracy Site Following Complaint From Japan

Anti-piracy group CODA is reporting the shutdown of B9Good, a pirate manga site that targeted Japan but was operated from China. In response to a criminal complaint filed by CODA on behalf of six Japanese companies, which were backed by 21 others during the investigation, Chinese authorities arrested four people and seized one house worth $580,000. TorrentFreak reports: Manga piracy site B9Good initially appeared in 2008 and established itself under B9DM branding. SimilarWeb stats show that the site was enjoying around 15 million visits each month, with CODA noting that in the two-year period leading to February 2023, the site was accessed more than 300 million times Around 95% of the site’s visitors came from Japan. B9Good had been featured in an MPA submission to the USTR’s notorious markets report in 2019. Traffic was reported as almost 16 million visits per month back then, meaning that site visitor numbers remained stable for the next three years. The MPA said the site was possibly hosted in Canada, but domain records since then show a wider spread, including Hong Kong, China, United States, Bulgaria, and Japan.

Wherever the site ended up, the location of its operator was more important. In 2021, CODA launched its International Enforcement Project (CBEP), which aimed to personally identify the operators of pirate sites, including those behind B9Good who were eventually traced to China. Pursuing copyright cases from outside China is reportedly difficult, but CODA had a plan. In January 2022, CODA’s Beijing office was recognized as an NGO with legitimate standing to protect the rights of its member companies. Working on behalf of Aniplex, TV Tokyo, Toei Animation, Toho, Japan Broadcasting Corporation (NHK), and Bandai Namco Film Works, CODA filed a criminal complaint in China, and starting February 14, 2023, local authorities began rounding up the B9Good team.

Read more of this story at Slashdot.

Meta Wants EU Users To Apply For Permission To Opt Out of Data Collection

Meta announced that starting next Wednesday, some Facebook and Instagram users in the European Union will for the first time be able to opt out of sharing first-party data used to serve highly personalized ads, The Wall Street Journal reported. The move marks a big change from Meta’s current business model, where every video and piece of content clicked on its platforms provides a data point for its online advertisers. Ars Technica reports: People “familiar with the matter” told the Journal that Facebook and Instagram users will soon be able to access a form that can be submitted to Meta to object to sweeping data collection. If those requests are approved, those users will only allow Meta to target ads based on broader categories of data collection, like age range or general location. This is different from efforts by other major tech companies like Apple and Google, which prompt users to opt in or out of highly personalized ads with the click of a button. Instead, Meta will review objection forms to evaluate reasons provided by individual users to end such data collection before it will approve any opt-outs. It’s unclear what cause Meta may have to deny requests.

A Meta spokesperson told Ars that Meta is not sharing the objection form publicly at this time but that it will be available to EU users in its Help Center starting on April 5. That’s the deadline Meta was given to comply with an Irish regulator’s rulings that it was illegal in the EU for Meta to force Facebook and Instagram users to give consent to data collection when they signed contracts to use the platforms. Meta still plans to appeal those Irish Data Protection Commission (DPC) rulings, believing that its prior contract’s legal basis complies with the EU’s General Data Protection Regulation (GDPR). In the meantime, though, the company must change the legal basis for data collection. Meta announced in a blog post today that it will now argue that it does not need to directly obtain user consent because it has a “legitimate interest” to collect data to operate its social platforms. “We believe that our previous approach was compliant under GDPR, and our appeal on both the substance of the rulings and the fines continues,” Meta’s blog said. “However, this change ensures that we comply with the DPC’s decision.”

Read more of this story at Slashdot.

‘Vulkan Files’ Leak Reveals Putin’s Global and Domestic Cyberwarfare Tactics

“The Gaurdian reports on a document leak from Russian cyber ‘security’ company Vulkan,” writes Slashdot reader Falconhell. From the report: Inside the six-storey building, a new generation is helping Russian military operations. Its weapons are more advanced than those of Peter the Great’s era: not pikes and halberds, but hacking and disinformation tools. The software engineers behind these systems are employees of NTC Vulkan. On the surface, it looks like a run-of-the-mill cybersecurity consultancy. However, a leak of secret files from the company has exposed its work bolstering Vladimir Putin’s cyberwarfare capabilities.

Thousands of pages of secret documents reveal how Vulkan’s engineers have worked for Russian military and intelligence agencies to support hacking operations, train operatives before attacks on national infrastructure, spread disinformation and control sections of the internet. The company’s work is linked to the federal security service or FSB, the domestic spy agency; the operational and intelligence divisions of the armed forces, known as the GOU and GRU; and the SVR, Russia’s foreign intelligence organization.

One document links a Vulkan cyber-attack tool with the notorious hacking group Sandworm, which the US government said twice caused blackouts in Ukraine, disrupted the Olympics in South Korea and launched NotPetya, the most economically destructive malware in history. Codenamed Scan-V, it scours the internet for vulnerabilities, which are then stored for use in future cyber-attacks. Another system, known as Amezit, amounts to a blueprint for surveilling and controlling the internet in regions under Russia’s command, and also enables disinformation via fake social media profiles. A third Vulkan-built system — Crystal-2V — is a training program for cyber-operatives in the methods required to bring down rail, air and sea infrastructure. A file explaining the software states: “The level of secrecy of processed and stored information in the product is ‘Top Secret’.”

Read more of this story at Slashdot.

‘Pausing AI Developments Isn’t Enough. We Need To Shut It All Down’

Earlier today, more than 1,100 artificial intelligence experts, industry leaders and researchers signed a petition calling on AI developers to stop training models more powerful than OpenAI’s ChatGPT-4 for at least six months. Among those who refrained from signing it was Eliezer Yudkowsky, a decision theorist from the U.S. and lead researcher at the Machine Intelligence Research Institute. He’s been working on aligning Artificial General Intelligence since 2001 and is widely regarded as a founder of the field.

“This 6-month moratorium would be better than no moratorium,” writes Yudkowsky in an opinion piece for Time Magazine. “I refrained from signing because I think the letter is understating the seriousness of the situation and asking for too little to solve it.” Yudkowsky cranks up the rhetoric to 100, writing: “If somebody builds a too-powerful AI, under present conditions, I expect that every single member of the human species and all biological life on Earth dies shortly thereafter.” Here’s an excerpt from his piece: The key issue is not “human-competitive” intelligence (as the open letter puts it); it’s what happens after AI gets to smarter-than-human intelligence. Key thresholds there may not be obvious, we definitely can’t calculate in advance what happens when, and it currently seems imaginable that a research lab would cross critical lines without noticing. […] It’s not that you can’t, in principle, survive creating something much smarter than you; it’s that it would require precision and preparation and new scientific insights, and probably not having AI systems composed of giant inscrutable arrays of fractional numbers. […]

It took more than 60 years between when the notion of Artificial Intelligence was first proposed and studied, and for us to reach today’s capabilities. Solving safety of superhuman intelligence — not perfect safety, safety in the sense of “not killing literally everyone” — could very reasonably take at least half that long. And the thing about trying this with superhuman intelligence is that if you get that wrong on the first try, you do not get to learn from your mistakes, because you are dead. Humanity does not learn from the mistake and dust itself off and try again, as in other challenges we’ve overcome in our history, because we are all gone.

Trying to get anything right on the first really critical try is an extraordinary ask, in science and in engineering. We are not coming in with anything like the approach that would be required to do it successfully. If we held anything in the nascent field of Artificial General Intelligence to the lesser standards of engineering rigor that apply to a bridge meant to carry a couple of thousand cars, the entire field would be shut down tomorrow. We are not prepared. We are not on course to be prepared in any reasonable time window. There is no plan. Progress in AI capabilities is running vastly, vastly ahead of progress in AI alignment or even progress in understanding what the hell is going on inside those systems. If we actually do this, we are all going to die. You can read the full letter signed by AI leaders here.

Read more of this story at Slashdot.

Binance Concealed Ties To China For Years, Even After 2017 Crypto Crackdown, Report Finds

Binance CEO Changpeng “CZ” Zhao and other senior executives have been for years concealing the crypto exchange ties with China, according to documents obtained by the Financial Times. CoinTelegraph reports: In a report on March 29, FT claims that Binance had substantial ties to China for several years, contrary to the company’s claims that it left the country after a 2017 ban on crypto, including an office still in use by the end of 2019 and a Chinese bank used to pay employees. “We no longer publish our office addresses … people in China can directly say that our office is not in China,” Zhao reportedly said in a company message group in November 2017. Employees were told in 2018 that wages would be paid through a Shanghai-based bank. A year later, personnel on payroll in China were required to attend tax sessions in an office based in the country, according to FT. Based on the messages, Binance employees discussed a media report that claimed the company would open an office in Beijing in 2019. “Reminder: publicly, we have offices in Malta, Singapore, and Uganda. […] Please do not confirm any offices anywhere else, including China.”

The report backs up accusations made in a lawsuit filed on March 27 by the United States Commodity Futures Trading Commission (CFTC) against the exchange, claiming that Binance obscured the location of its executive offices, as well as the “identities and locations of the entities operating the trading platform.” According to the lawsuit, Zhao stated in an internal Binance memo that the policy was intended to “keep countries clean [of violations of law]” by “not landing .com anywhere. This is the main reason .com does not land anywhere.”

Read more of this story at Slashdot.