Can Codon ‘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
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
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
“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
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
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
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.
Google Launches Ads Transparency Center As a Searchable Database
You can search by advertiser (with approximate ad quantity noted) or website, with filters for topics, time, and country. Once an advertiser is selected, Google will show the feed of ads with the ability to select for more details. You’ll be able to access it directly here or from the My Ad Center, which lets you customize advertising that appears in Search, Discover, Shopping, and YouTube.
Read more of this story at Slashdot.
‘Pausing AI Developments Isn’t Enough. We Need To Shut It All Down’
“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
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.