Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: py Clear Filter

Python has had async for 10 years – why isn't it more popular?

The Python Documentary dropped this morning. In the middle of the documentary, there’s a dramatic segment about how the transition from Python 2 to 3 divided the community (spoiler alert: it didn’t in the end). The early versions of Python 3 (3.0-3.4) were mostly focused on stability and offering pathways for users moving from 2.7. Along came 3.5 in 2015 with a new feature: async and await keywords for executing coroutines. Ten years and nine releases later, Python 3.14 is weeks away. Whilst

ICE reactivates contract with spyware maker Paragon

U.S. Immigration and Customs Enforcement (ICE) signed a contract last year with Israeli spyware maker Paragon worth $2 million. Shortly after, the Biden administration put the contract under review, issuing a “stop work order,” to determine whether the contract complied with an executive order on commercial spyware, which restricts U.S. government agencies from using spyware that could violate human rights or target Americans abroad. Almost a year later, when it looked like the contract would

Bayes, Bits and Brains

Bayes, bits & brains This site is about probability and information theory. We'll see how they help us understand machine learning and the world around us. A few riddles More about the content, prerequisites, and logistics later. I hope you get a feel for what this is about by checking out the following riddles. I hope some of them nerd-snipe you! 😉 You will understand all of them at the end of this minicourse. 🧠 Intelligence test Test your intelligence with the following widget! You will be

Anatomy of a Python Loop

Learn Python loops the fun way by rolling dice, casting fireballs, and finally understanding what continue really does. Last time, when we built our little dice-rolling function, we learned how to package up logic into reusable blocks. One die roll at a time was cool… but any tabletop nerd knows the real action starts when you need to roll lots of dice. 3d6 for ability scores. 8d6 for a fireball spell. Or the cruel 10d10 your DM makes you roll when things go really sideways. So how do we te

WhatsApp fixes ‘zero-click’ bug used to hack Apple users with spyware

WhatsApp said on Friday that it fixed a security bug in its iOS and Mac apps that was being used to stealthily hack into the Apple devices of “specific targeted users.” The Meta-owned messaging app giant said in its security advisory that it fixed the vulnerability, known officially as CVE-2025-55177, which was used alongside a separate flaw found in iOS and Macs, which Apple fixed last week and tracks as CVE-2025-43300. Apple said at the time that the flaw was used in an “extremely sophistica

Anthropic Settles With Authors Over Pirated Material: What Does That Mean for Other AI Lawsuits?

Anthropic agreed to settle a lawsuit brought by a group of authors alleging that the AI company illegally pirated their copyrighted books to use in training its Claude AI models. On Tuesday, the parties in the lawsuit filed a motion indicating their agreement with the 9th US Circuit Court of Appeals. We don't yet know the terms of the settlement, but we could know more as soon as next week. Justin Nelson, lawyer for the authors, told CNET via email that more information will be announced soon.

iPhone 17 event is official, Apple acquisition strategy, TV+ price rise

Benjamin and Chance prepare to have their jaw dropped in the run up to the September 9 Apple event where we expect to see iPhone 17, Apple Watch Series 11 and maybe AirPods Pro 3. There’s an interesting report on Apple’s strategic calculus when it comes to acquiring other companies, and Gemini might become the brain of Siri. Also, Apple TV+ ups its monthly price by a hefty 30%. And in Happy Hour Plus, we reflect on the last fifteen years of Apple event slogans, and whether there’s a trend of de

Internet Access Providers Aren't Bound by DMCA Unmasking Subpoenas–In Re Cox

The DMCA online safe harbor is a notice-and-takedown scheme. Web hosts aren’t liable for copyright-infringing third-party uploads unless and until the copyright owner submits a proper takedown notice to the host, at which point the web host can remain legally protected by expeditiously removing the targeted item. By taking web hosts out of the liability chain, the DMCA nominally keeps any infringement disputes being between the uploader and the copyright owner. To help copyright owners sue anon

SpaCy: Industrial-Strength Natural Language Processing (NLP) in Python

spaCy: Industrial-strength NLP spaCy is a library for advanced Natural Language Processing in Python and Cython. It's built on the very latest research, and was designed from day one to be used in real products. spaCy comes with pretrained pipelines and currently supports tokenization and training for 70+ languages. It features state-of-the-art speed and neural network models for tagging, parsing, named entity recognition, text classification and more, multi-task learning with pretrained trans

Anthropic reaches a settlement over authors' class-action piracy lawsuit

Anthropic has settled a class-action lawsuit brought by a group of authors for an undisclosed sum. The move means the company will avoid a potentially more costly ruling if the case regarding its use of copyright materials to train artificial intelligence tools had moved forward. In June, Judge William Alsup handed down a mixed result in the case, ruling that Anthropic's move to train LLMs on copyrighted materials constituted fair use. However the company's illegal and unpaid acquisition of tho

Anthropic settles AI book piracy lawsuit

is a news writer who covers the streaming wars, consumer tech, crypto, social media, and much more. Previously, she was a writer and editor at MUO. Posts from this author will be added to your daily email digest and your homepage feed. Anthropic has settled a class action lawsuit with a group of US authors who accused the AI startup of copyright infringement. In a legal filing on Tuesday, Anthropic says it has negotiated a “proposed class settlement,” allowing it to skip a trial that would hav

Anthropic Settles High-Profile AI Copyright Lawsuit Brought by Book Authors

Anthropic has reached a preliminary settlement in a class action lawsuit brought by a group of prominent authors, marking a major turn in of the most significant ongoing AI copyright lawsuits in history. The move will allow Anthropic to avoid what could have been a financially devastating outcome in court. The settlement agreement is expected to be finalized September 3, with more details to follow, according to a legal filing published on Tuesday. Lawyers for the plaintiffs did not immediately

One universal antiviral to rule them all?

For a few dozen people in the world, the downside of living with a rare immune condition comes with a surprising superpower—the ability to fight off all viruses. Columbia immunologist Dusan Bogunovic discovered the individuals’ antiviral powers about 15 years ago, soon after he identified the genetic mutation that causes the condition. At first, the condition only seemed to increase vulnerability to some bacterial infections. But as more patients were identified, its unexpected antiviral benef

One Universal Antiviral to Rule Them All?

For a few dozen people in the world, the downside of living with a rare immune condition comes with a surprising superpower—the ability to fight off all viruses. Columbia immunologist Dusan Bogunovic discovered the individuals’ antiviral powers about 15 years ago, soon after he identified the genetic mutation that causes the condition. At first, the condition only seemed to increase vulnerability to some bacterial infections. But as more patients were identified, its unexpected antiviral benef

Do I not like Ruby anymore? (2024)

Do I not like Ruby anymore? 2024/05/28 I recently started working at a Python shop. The reasons behind this choice of employment are very much unrelated to the technology stack. Python is not my favorite programming language. In fact, allow me to drop the euphemism and express my pure, unadulterated thoughts about it: I never liked Python, I see it as a huge red flag and I think the world would be a better place if we all decided to finally move on from it. With that out of the way, let’s talk

A new security flaw in TheTruthSpy phone spyware is putting victims at risk

A stalkerware maker with a history of multiple data leaks and breaches now has a critical security vulnerability that allows anyone to take over any user account and steal their victim’s sensitive personal data, TechCrunch has confirmed. Independent security researcher Swarang Wade found the vulnerability, which allows anyone to reset the password of any user of the stalkerware app TheTruthSpy and its many companion Android spyware apps, leading to the hijacking of any account on the platform.

Dynamically patch a Python function's source code at runtime

written by Eric J. Ma on | tags: In this blog post, I share how I discovered a powerful Python trick: dynamically changing a function's source code at runtime using the compile and exec functions. This technique enabled me to build more flexible AI bots, like ToolBot, that can generate and execute code with access to the current environment. While this opens up exciting possibilities for LLM-powered agents and generative UIs, it also raises serious security concerns. Curious how this hack can s

Using AI for Work Could Land You on the Receiving End of a Nasty Lawsuit

For all its hype, artificial intelligence isn't without its psychological, environmental, and even spiritual hazards. Perhaps the most pressing concern on an individual level, though, is that it puts users on the hook for a nearly infinite number of legal hazards — even at work, as it turns out. A recent breakdown by The Register highlights the legal dangers of AI use, especially in corporate settings. If you use generative AI software to spit out graphics, press releases, logos, or videos, yo

Static sites with Python, uv, Caddy, and Docker

Static Sites with Python, uv, Caddy, and Docker My preferred deployment stack for Python-built static sites. I’ve largely switched to uv at this point and it’s been pretty great. I use it for everything I can, from little scripts with uv run , to libraries, to applications. It’s so fast it does actually matter, the workflow side of things works well enough for me, and—perhaps most valuably—it manages Python executables for me beautifully. As we’re all familiar with by now, I’m a static site a

Code formatting comes to uv experimentally

August 21, 2025 The latest uv release (0.8.13) quietly introduced an experimental new command that Python developers have been waiting for: uv format . This addition brings code formatting directly into uv’s toolkit, eliminating the need to juggle multiple tools for basic Python development workflows. What is uv format? The uv format command provides Python code formatting through uv’s interface. Under the hood, it calls Ruff’s formatter to automatically style your code according to consisten

Uv format: Code Formatting Comes to uv (experimentally)

August 21, 2025 The latest uv release (0.8.13) quietly introduced an experimental new command that Python developers have been waiting for: uv format . This addition brings code formatting directly into uv’s toolkit, eliminating the need to juggle multiple tools for basic Python development workflows. What is uv format? The uv format command provides Python code formatting through uv’s interface. Under the hood, it calls Ruff’s formatter to automatically style your code according to consisten

New iPhone 17 case materials, Apple Watch chip leaks, Ask9to5Mac

Benjamin and Chance discuss the supposed new ‘TechWoven’ cases coming from Apple for the iPhone 17 lineup, Apple reportedly exits the MLB streaming partnership, and iOS 26 beta 7 shows we are close to launch on Apple’s next bumper product cycle. Also, they tackle some listener questions in another installment of Ask9to5Mac. And in Happy Hour Plus, after Chance already beat Benjamin on the annual predictions made in January, the pair craft up another three picks for the rest of 2025. Subscribe a

Skill issues – Dialectical Behavior Therapy and its discontents (2024)

When Marsha Linehan was seventeen, she developed terrible headaches. The family doctor didn’t seem to know what was causing them, so Linehan saw a psychiatrist, who recommended a two-week inpatient “diagnostic evaluation” at the Institute of Living, a private mental hospital in Hartford, Connecticut. A few days later she was cutting herself with the smashed lenses of her glasses. The staff psychiatrists moved her to a ward for “the most disturbed patients” where nurses stripped her naked, wrappe

An Update on Pytype

An update on pytype TL;DR: The last supported Python version for Pytype will be 3.12. We are still very actively interested in the space of Python type checking, but shifting our investments towards new ideas and different frameworks. Pytype's development began in 2012 to meet Google developers' demand for compile-time checking. Pytype started with using type inference and interface files, and then switched to inline annotations (while retaining the inference engine) after the acceptance of PE

PyPI now blocks domain resurrection attacks used for hijacking accounts

The Python Package Index (PyPI) has introduced new protections against domain resurrection attacks that enable hijacking accounts through password resets. PyPI is the official repository for open-source Python packages. It is used by software developers, product maintainers, and companies working with Python libraries, tools, and frameworks. Accounts of project maintainers publishing software on PyPI are linked to email addresses. In the case of some projects, the email address is tied to a do

Positron, a New Data Science IDE

We are excited to introduce Positron, a free, next-generation Integrated Development Environment (IDE) for data science by Posit PBC. Positron brings the spectrum of exploration and production work together in one environment so you can move from ideation to insight to application without switching context. Ultimately, we have taken all the learnings from the 14+ years of building RStudio, and applied them to a new platform that treats Python and R as equals. It is a great time to start using P

PyPI Preventing Domain Resurrection Attacks

Preventing Domain Resurrection Attacks Summary PyPI now checks for expired domains to prevent domain resurrection attacks, a type of supply-chain attack where someone buys an expired domain and uses it to take over PyPI accounts through password resets. These changes improve PyPI's overall account security posture, making it harder for attackers to exploit expired domain names to gain unauthorized access to accounts. Since early June 2025, PyPI has unverified over 1,800 email addresses when

Leeches and the Legitimizing of Folk-Medicine

‍ “Men would rather pop Viagra forever than let a leech near their body,” Dr. Andrei Dokukin says with only a hint of hyperbole. From his Long Beach, California, clinic, Dokukin is one of the only medical doctors in America practicing leech therapy (also known as hirudotherapy) for internal medicine and non-surgical conditions. While his clients are treated for chronic pain, arthritis, and circulatory issues, rather than erectile dysfunction, Dokukin notes that ED could, in fact, be successfull

Show HN: Doxx – Terminal .docx viewer inspired by Glow

doxx 📄 Beautiful .docx viewing in your terminal — no Microsoft Word required doxx is a lightning-fast, terminal-native document viewer for Microsoft Word files. Built with Rust for performance and reliability, it brings Word documents to your command line with beautiful rendering, smart table support, and powerful export capabilities. ✨ Features Document viewing 🎨 Beautiful terminal rendering with syntax highlighting and formatting with syntax highlighting and formatting 📊 Professional tab

Pirate Library Operator Arrested, Study Canceled for 330K Members

Launched in July 2023, Yubin Archive's popularity stemmed from its mission to "eliminate educational inequality" by providing copies of educational material to less well-off students in South Korea. Operating via Telegram, Yubin Archive had grown to over 330,000 members when its operator was arrested on Tuesday. The Ministry of Culture and Sport says others involved will be tracked down and given lessons in copyright law. Piracy of movies, TV shows, music, games and similar content, purely for