Author: carts

  • Technology Trends for 2025 – O’Reilly

    Technology Trends for 2025 – O’Reilly


    Welcome to our annual report on the usage of the O’Reilly learning platform. It’s been an exciting year, dominated by a constant stream of breakthroughs and announcements in AI, and complicated by industry-wide layoffs. Generative AI gets better and better—but that trend may be at an end. Now the ball is in the application developers’ court: Where, when, and how will AI be integrated into the applications we build and use every day? And if AI replaces the developers, who will be left to do the integration? Our data shows how our users are reacting to changes in the industry: Which skills do they need to brush up on? Which do they need to add? What do they need to know to do their day-to-day work? In short: Where have we been in the past year, and where are we going?

    We aren’t concerned about AI taking away software developers’ jobs. Ever since the computer industry got started in the 1950s, software developers have built tools to help them write software. AI is just another tool, another link added to the end of that chain. Software developers are excited by tools like GitHub Copilot, Cursor, and other coding assistants that make them more productive.



    Learn faster. Dig deeper. See farther.

    That’s only one of the stories we’re following. Here are a few of the others:

    • The next wave of AI development will be building agents: software that can plan and execute complex actions.
    • There seems to be less interest in learning about programming languages, Rust being a significant exception. Is that because our users are willing to let AI “learn” the details of languages and libraries for them? That might be a career mistake.
    • Security is finally being taken seriously. CEOs are tired of being in the news for the wrong reasons. AI tools are starting to take the load off of security specialists, helping them to get out of “firefighting” mode.
    • “The cloud” has reached saturation, at least as a skill our users are studying. We don’t see a surge in “repatriation,” though there is a constant ebb and flow of data and applications to and from cloud providers.
    • Professional development is very much of interest to our users. Specifically, they’re focused on being better communicators and leading engineering teams.

    All of these trends have been impacted, if not driven, by AI—and that impact will continue in the coming year.

    Finally, some notes about methodology. Skip this paragraph if you want; we don’t mind. This report is based on the use of O’Reilly’s online learning platform from January 1, 2024, to September 30, 2024. Year-over-year comparisons are based on the same period in 2023. The data in each graph is based on O’Reilly’s “units viewed” metric, which measures the actual use of each item on the platform. It accounts for different usage behavior for different media: text, courses, and quizzes. In each graph, the data is scaled so that the item with the greatest units viewed is 1. That means items within a graph are comparable to each other, but you can’t compare an item in one graph to an item in another. And all percentages are reported with two significant digits.

    Skills

    When we look at how our customers use the O’Reilly learning platform, we always think in terms of skills. What skills are they trying to gain? And how are they trying to improve their knowledge? This year, one thread that we see across all of our platform is the importance of artificial intelligence. It’s all about upskilling in the age of AI.

    Artificial Intelligence

    It will surprise absolutely nobody that AI was the most active category in the past year. For the past two years, large models have dominated the news. That trend started with ChatGPT and its descendants, most recently GPT 4o1. But unlike 2022, when ChatGPT was the only show anyone cared about, we now have many contenders. Claude has emerged as a favorite among programmers. After a shaky start, Google’s Gemini models have become solid performers. Llama has established itself as one of the top models and as the matriarch of a rich ecosystem of open1 models. Many of the open models can deliver acceptable performance when running on laptops and phones; some are even targeted at embedded devices.

    So what does our data show? First, interest in almost all of the top skills is up: From 2023 to 2024, Machine Learning grew 9.2%; Artificial Intelligence grew 190%; Natural Language Processing grew 39%; Generative AI grew 289%; AI Principles grew 386%; and Prompt Engineering grew 456%. Among the top topics, the most significant decline was for GPT itself, which dropped by 13%—not a huge decline but certainly a significant one. Searches for GPT peaked in March 2023 and have been trending downward ever since, so our search data matches our usage data.

    We’re used to seeing interest move from a more general high-level topic to specific skills as an industry sector matures, so this trend away from GPT in favor of more abstract, high-level topics is counterintuitive. But in context, it’s fairly clear what happened. For all practical purposes, GPT was the only game in town back in 2023. The situation is different now: There’s lots of competition. These other models don’t yet show up significantly in search or usage data, but the users of our platform have figured out what’s important: not learning about GPT or Claude or Gemini or Mistral but getting the background you need to make sense of any model. Discovering a workflow that fits your needs is important, and as Simon Willison points out, your ideal workflow may actually involve using several models. Recent models are all good, but they aren’t all good in the same way.

    AI has had a great year, but will it continue to show gains in 2025? Or will it drop back, much as ChatGPT and GPT did? That depends on many factors. Gartner has generative AI slipping into the “trough of disillusionment”—and whatever you think of the technology’s promise, remember that the disillusionment is a sociological phenomenon, not a technical one, and that it happens because new technologies are overhyped. Regardless of generative AI’s long-term promise, we expect some disillusionment to set in, especially among those who haven’t properly understood the technology or its capabilities.

    Prompt Engineering, which gained 456% from 2023 to 2024, stands out. A 456% gain isn’t as surprising as it seems; after all, people only started talking about prompt engineering in 2023. Although “prompt engineering” was bandied about as a buzzword, it didn’t become a skill that employers were looking for until late in 2023, if that. That may be an early warning signal for AI disillusionment. Searches for “prompt engineering” grew sharply in 2023 but appeared to decline slightly in 2024. Is that noise or signal? If disillusionment in Prompt Engineering sets in, we’ll also see declines in higher-level topics like Machine Learning and Artificial Intelligence.

    There’s a different take on the future of prompt engineering. There have been a number of arguments that the need for prompt engineering is temporary. As generative AI improves, this line of reasoning contends, we will no longer need to write complex prompts that specify exactly what we want the AI to do and how to do it. Prompts will be less sensitive to exactly how they’re worded; changing a word or two will no longer give a completely different result. We’ll no longer have to say “explain it to me as if I were five years old” or provide several examples of how to solve a problem step-by-step.

    Some recent developments point in that direction. Several of the more advanced models have made the “explain it to me” prompts superfluous. OpenAI’s GPT 4o1 has been trained in a way that maximizes its problem-solving abilities, not just its ability to string together coherent words. At its best, it eliminates the need to write prompts that demonstrate how to solve the problem (a technique called few-shot prompting). At worst, it “decides” on an inappropriate process, and it’s difficult to convince it to solve the problem a different way. Anthropic’s Claude has a new (beta) computer use feature that lets the model use browsers, shells, and other programs: It can click on links and buttons, select text, and do much more. (Google and OpenAI are reportedly working on similar features.) Enabling a model to use the computer in much the same way as a human appears to give it the ability to solve multistep problems on its own, with minimal description. It’s a big step toward a future full of intelligent agents: linked AI systems that cooperate to solve complex problems. However, Anthropic’s documentation is full of warnings about serious security vulnerabilities that remain to be solved. We’re thrilled that Anthropic has been forthright about these weaknesses. But still, while computer use may be a peek at the future, it’s not ready for prime time.

    AI will almost certainly slide into a trough of disillusionment; as I’ve said, the trough has more to do with sociology than with technology. But OpenAI and Anthropic are demonstrating important paths forward. Will these experiments bear fruit in the next year? We’ll see.

    Artificial intelligence

    Many skills associated with AI also showed solid gains. Use of content about Deep Learning is up 14%, Generative Models is up 26%, and GitHub Copilot is up 471%. Use of content about the major AI libraries was up slightly: PyTorch gained 6.9%, Keras increased 3.3%, and Scikit-Learn gained 1.7%. Usage of TensorFlow content declined 28%; its continued decline indicates that PyTorch has won the hearts and minds of AI developers.

    These gains—particularly Copilot’s—are impressive, but a more important story concerns two skills that came out of nowhere: Usage of content about LangChain is on a par with PyTorch, and RAG is on a par with Keras. Neither of these skills were in last year’s report; in 2023, content usage for LangChain and RAG was minimal, largely because little content existed. They’ve caught on because both LangChain and RAG are tools for building better applications on top of AI models. GPT, Claude, Gemini, and Llama aren’t the end of the road. RAG lets you build applications that send private data to a model as part of the prompt, enabling the model to build answers from data that wasn’t in its training set. This process has several important consequences: It minimizes the probability of error or “hallucination”; it makes it possible to attribute answers to the sources from which they came; and it often makes it possible to use a much smaller and more economical model.

    LangChain is the first of many frameworks for building AI agents. (OpenAI has Swarm; Google has an Agent Builder that’s part of Vertex; Salesforce and other vendors also have offerings.) Agents are software that can plan and execute multistage actions, many of which are delegated to other AI models. Claude’s computer use API is another facet of this trend, along with whatever products OpenAI and Google may be building. Saying that usage has increased 26 million percent isn’t to the point—but realizing that LangChain has grown from near zero to a platform on a par with PyTorch is very much so. Agentic applications are certainly the next big trend within AI.

    Skills needed for AI

    Data

    Artificial intelligence relies heavily on what we used to call (and perhaps still call) data science. Building AI models requires data at unprecedented scale. Building applications with RAG requires a portfolio of data (company financials, customer data, data purchased from other sources) that can be used to build queries, and data scientists know how to work with data at scale.

    Therefore, it’s not surprising that Data Engineering skills showed a solid 29% increase from 2023 to 2024. SQL, the common language of all database work, is up 3.2%; Power BI was up 3.0%, along with the more general (and much smaller) topic Business Intelligence (up 5.0%). PostgreSQL is close to edging ahead of MySQL, with a 3.6% gain. Interest in Data Lake architectures rose 59%, while the much older Data Warehouse held steady, with a 0.3% decline. (In our skill taxonomy, Data Lake includes Data Lakehouse, a data storage architecture that combines features of data lakes and data warehouses.) Finally, ETL grew 102%. With the exception of ETL, the gains are smaller than the increases we saw for AI skills, but that makes sense: AI is an exciting new area, and data is a mature, stable category. The number of people who need specialized skills like ETL is relatively small but obviously growing as data storage becomes even more important with AI.

    It’s worth understanding the connection between data engineering, data lakes, and data lakehouses. Data engineers build the infrastructure to collect, store, and analyze data. The data needed for an AI application almost always takes many forms: free-form text, images, audio, structured data (for example, financial statements), etc. Data often arrives in streams, asynchronously and more or less constantly. This is a good match for a data lake, which stores data regardless of structure for use later. Because data receives only minimal processing when it arrives, it can be stored in near real time; it’s cleaned and formatted in application-specific ways when it’s needed. Once data has been stored in a data lake, it can be used for traditional business analytics, stored in a vector or graph database for RAG, or put to almost any other use. A data lakehouse combines both structured and unstructured data in a single platform.

    Data analysis (including databases)

    Software Development

    What do software developers do all day? They write software. Programming is an important part of the job, but it’s not the whole thing; best estimates are that programmers spend roughly 20% of their time writing code. The rest of their time is spent understanding the problems they’re being asked to solve, designing appropriate solutions, documenting their work, updating management on the status of their projects, and much more.

    Software architecture, which focuses on understanding a customer’s requirements and designing systems to meet those requirements, is an important part of the overall software development picture. It’s a skill to which many of our software developers and programmers aspire.

    Architecture

    This year’s data shows that software architecture continues to be one of the most desirable skills in the industries we serve. Usage of material about Software Architecture rose 5.5% from 2023 to 2024, a small but significant increase. But it’s more important to ask why it increased. A position in software architecture may be perceived as more secure in a time of layoffs, and it’s often perceived as another step forward in a career that moves from junior programmer to senior to lead. In addition, the rise of AI presents many architectural challenges: Do we try to build our own model? (The answer is usually “no.”) Should we use an AI service provider like OpenAI, Anthropic, Microsoft, or Google, or should we fine-tune and host our own model on our own infrastructure? How do we build applications that are safe (and how do we define “safe”)? How do we evaluate performance? These questions all have a bearing on software architecture. Furthermore, AI might provide tools to help software architects, but so far, these tools can do little for the substance of the job: understanding customers’ needs and helping them define what they want to build. With AI in the picture, we’re all building new kinds of applications—and those applications require architects to help design them.

    In this context, it’s no surprise that Enterprise Architecture is up 17% and Distributed Systems is up 35%. Enterprise architecture is a staple: As Willie Sutton said about banks, “That’s where the money is.” It’s a good bet that many enterprises are trying to integrate AI into their systems or update legacy systems that are no longer scalable or maintainable. We can (and do) make the same argument about distributed systems. Modern enterprises work on a scale that was unimaginable a few decades ago. Scale isn’t just for companies like Amazon and Google. To survive, even small businesses need to develop an online presence—and that means building systems in the cloud that can handle surges in demand gracefully. It means building systems that can withstand outages. Distributed systems aren’t just massive deployments with hundreds of thousands of nodes. Your business may only require a dozen nodes, but regardless of the scale, it still faces the architectural challenges that come with distributed systems.

    Some of the more significant ideas from the past decade seem to be falling out of favor. Microservices declined 24%, though content use is still substantial. Domain-Driven Design, which is an excellent skill for designing with microservices, is down 22%. Serverless is down 5%; this particular architectural style was widely hyped and seemed like a good match for microservices but never really caught on, at least based on our platform’s data.

    What’s happening? Microservice architectures are difficult to design and implement, and they aren’t always appropriate—from the start, the best advice has been to begin by building a monolith, then break the monolith into microservices when it becomes unwieldy. By the time you reach that stage, you’ll have a better feel for what microservices need to be broken out from the monolith. That’s good advice, but the hype got ahead of it. Many organizations that would never need the complexity of microservices were trying to implement them with underskilled staff. As an architectural style, microservices won’t disappear, but they’re no longer getting the attention they once were. And new ideas, like modular monoliths, may catch on in the coming years; modularity is a virtue regardless of scale or complexity.

    Software architecture and design

    Programming languages

    Last year’s report showed that our users were consuming less content about programming languages. This year’s data continues that trend. We see a small drop for Python (5.3%) and a more significant drop for Java (13%). And even C++, which showed healthy growth from 2022 to 2023, is down 9% in 2024.

    On the other hand, C is up (1.3%), and so is C# (2.1%). Rust is up 9.6%. The small increases in C and C# may just be noise. C is well-entrenched and isn’t going anywhere fast. Neither is C++, despite its drop. Rust’s increase continues a growth trend that stretches back several years; that’s an important signal. Rust is clearly winning over developers, at least for new projects. Now that the US government is placing a priority on memory safety, Rust’s emphasis on memory safety serves it well. Rust isn’t the first programming language to claim memory safety, nor will it be the last. (There are projects to add memory safety to C++, for example.) But right now, it’s the best positioned.

    Aside from Rust, though, we need to ask what’s happening with programming skills. A few forces are applying downward pressure. Industry-wide layoffs may be playing a role. We’ve downplayed the effect of layoffs in the past, but we may have to admit that we were wrong: This year, they may be taking a bite out of skills development.

    Could generative AI have had an effect on the development of programming language skills? It’s possible; shortly after GPT-3 was released, Simon Willison reported that he was learning Rust with the help of ChatGPT and Copilot, and more recently that he’s used Claude to write Rust code that he has in production, even though he doesn’t consider himself a skilled Rust developer.

    It would be foolish to deny that generative AI will help programmers to become more productive. And it would be foolish to deny that AI will change how and what we learn. But we have to think carefully about what “learning” means, and why we learn in the first place. Programmers won’t have to remember all the little details of programming languages—but that’s never been the important part of programming, nor has rote memorization been an important part of learning. Students will never have to remember a half dozen sorting algorithms, but computer science classes don’t teach sorting algorithms because committing algorithms to memory is important. Every programming language has a sort() function somewhere in its libraries. No, sorting is taught because it’s a problem that everyone can understand and that can be solved in several different ways—and each solution has different properties (performance, memory use, etc.). The point is learning how to solve problems and understanding the properties of those solutions. As Claire Vo said in her episode of Generative AI in the Real World, we’ll always need engineers who think like engineers—and that’s what learning how to solve problems means. Whether lines end in a semicolon or a colon or whether you use curly braces, end statements, or tabs to delimit blocks of code is immaterial.

    Programming languages

    The perception that generative AI minimizes the need to learn programming languages may limit the use of language-oriented content on our platform. Does that benefit the learners? If someone is using AI to avoid learning the hard concepts—like solving a problem by dividing it into smaller pieces (like quicksort)—they are shortchanging themselves. Shortcuts rarely pay off in the long term; coding assistants may help you to write some useful code, but those who use them merely as shortcuts rather than as learning tools are missing the point. Unfortunately, the history of teaching—going back centuries if not millennia—has stressed memorization. It’s time for both learners and teachers to grow beyond that.

    Learning is changing as a result of AI. The way we teach, and the way our users want to be taught, is changing. Building the right kind of experiences to facilitate learning in an AI-enabled environment is an ongoing project for our learning platform. In the future, will our users learn to program by completing AI-generated tutorials that are customized in real time to their needs and abilities? That’s where we’re headed.

    Web programming

    Use of content about web programming skills is down, with few exceptions. A number of factors might be contributing to this. First, I can’t think of any significant new web frameworks in the past year; the field is still dominated by React (down 18%) and Angular (down 10%). There is some life near the bottom of the chart. The Svelte framework had significant growth (24%); so did Next.js (8.7%). But while these frameworks have their adherents, they’re far from dominant.

    PHP (down 19%) still claims to have built the lion’s share of the web, but it’s not what developers reach for when they want to build something new, particularly if that “new” is a complex web application. The PHP world has been rocked by a bitter fight between the CEOs of Automattic (the developers of WordPress, by far the most important PHP framework) and WP Engine (a WordPress hosting platform). That fight started too late to affect this year’s results significantly, but it might weigh heavily next year.

    A more significant development has been the movement away from complex platforms and back toward the simplicity of the earlier web. Alex Russell’s “Reckoning” posts summarize many of the problems. Our networks and our computers are much, much faster than they were 20 or 25 years ago, but web performance hasn’t improved noticeably. If anything, it’s gotten worse. We still wait for applications to load. Applications are hard to develop and have gotten harder over the years. There are several new frameworks that may (or may not) be lighter-weight, such as HTMXLudicGlitch, and Cobalt. None of them have yet made a dent in our data, in part because none have built enough of a following for publishers and trainers to develop content—and you can’t have any units viewed if there isn’t anything to view. However, if you want an experience that isn’t dominated by heavyweight frameworks, doesn’t require you to become a JavaScript expert, and puts the fun back into building the web, this is where to look.

    Web development

    Web dev is a discipline that has been ill-served by shortcuts to learning. We hear too often about boot camp graduates who know a few React tricks but don’t understand the difference between React and JavaScript (or even know that JavaScript exists, let alone other programming languages). These programmers are very likely to lose their jobs to AI, which can already reproduce all the basic React techniques they’ve learned. Learning providers need to think about how AI is changing the workplace and how their students can partner with AI to build something beyond what AI can build on its own. Part of the solution is certainly a return to basics, ensuring that junior developers understand the tools with which they’re working.

    IT Operations

    Operations is another area where the trends are mostly downward. It may be small consolation, but the drops for several of the most important topics are relatively small: Linux is down 1.6%, Terraform is down 4.0%, and Infrastructure as Code is down 7.3%. As a skill, Terraform seems little hurt by the fork of Terraform that created the open source OpenTofu project, perhaps because the OpenTofu developers have been careful to maintain compatibility with Terraform. How this split plays out in the future is an open question. It’s worth noting the precipitous drop in Terraform certification (down 43%); that may be a more important signal than Terraform itself.

    Kubernetes is down 20%. Despite that drop, which is sharper than last year’s 6.9% decrease, content teaching Kubernetes skills remains the second most widely used group in this category, and Kubernetes certification is up 6.3%. Last year, we said that Kubernetes needed to be simpler. It isn’t. There are no viable alternatives to Kubernetes yet, but there are different ways to deploy it. Kubernetes as a service managed by a cloud provider is certainly catching on, putting the burden of understanding every detail of Kubernetes’s operation on the shoulders of the provider. We also pointed to the rise of developer platforms; this year, the buzzword is “platform engineering” (Camille Fournier and Ian Nowland’s book is excellent), but as far as Kubernetes is concerned, it’s the same thing. Platform engineers can abstract knowledge of Kubernetes into a platform, minimizing software developers’ cognitive overhead. The result is that the number of people who need to know about Kubernetes is smaller.

    Both DevOps (down 23%) and SRE (down 15%) dropped. There’s certainly some frustration with DevOps: Has it paid off? We ask a different question: Has it ever been tried? One problem with DevOps (which it shares with Agile) is that many companies “adopted” it in name but not in essence. They renamed a few positions, hired a few DevOps engineers, maybe created a DevOps group, never realizing that DevOps wasn’t about new job titles or new specialties; it was about reducing the friction between software development teams and operations teams. When you look at it this way, creating new groups and hiring new specialists can only be counterproductive. And the result is predictable: You don’t have to look far to find blogs and whitepapers claiming that DevOps doesn’t work. There’s also frustration with ideas like “shift left” and DevSecOps, which envision taking security into account from the start of the development process. Security is a different discussion, but it’s unclear how you build secure systems without taking it into account from the start. We’ve spent several decades building software and trying to fold security in at the last minute—we know how well that works.

    Infrastructure and operations

    In any case, the industry has moved on. Platform engineering is, in many ways, a natural outgrowth of both DevOps and SRE. As I’ve argued, the course of operations has been to increase the ratio of computers to operators. Is platform engineering the next step, allowing software developers to build systems that can handle their own deployment and routine operations without the help of operations staff?

    IT certifications

    General IT certifications, apart from security, trended downward. Use of content to prepare for the CompTIA A+ exam, an entry-level IT certification, was down 15%; CompTIA Network+ was down 7.9%. CompTIA’s Linux+ exam held its own, with a decline of 0.3%. On our platform, we’ve seen that Linux resources are in high demand. The slight decline for Linux-related content (1.6%) fits with the very small decrease in Linux+ certification.

    For many years, Cisco’s certifications have been the gold standard for IT. Cisco Certified Network Associate (CCNA), a fairly general entry-level IT certification, showed the greatest usage and the smallest decline (2.2%). Usage of content to prepare for the Cisco Certified Network Practitioner (CCNP) exams, a cluster of related certifications on topics like enterprise networking, data centers, and security, dropped 17%. The Cisco Certified Internet Engineer (CCIE) exams showed the greatest decline (36%). CCIE has long been recognized as the most comprehensive and in-depth IT certification. We’re not surprised that the total usage of this content is relatively small. CCIE represents the climax of a career, not the start. The number of people who attain it is relatively small, and those who do often include their CCIE number with their credentials. But the drop is surprising. It’s certainly true that IT is less focused on heavy-duty routing and switching for on-prem data centers (or even smaller machine rooms) than it was a few years ago. That work has largely been offloaded to cloud providers. While routers and switches haven’t disappeared, IT doesn’t need to support as wide a range of resources: They need to support office WiFi, some databases that need to remain on-premises, and maybe a few servers for office-related tasks. They’re very concerned about security, and as we’ll see shortly, security certifications are thriving. Is it possible that Cisco and its certifications aren’t as relevant as they used to be?

    As we mentioned above, we also saw a drop in the relatively new certification for HashiCorp’s Terraform (43%). That’s a sharp decline—particularly since use of content about Terraform itself only declined 4.0%, showing that Terraform skills remain highly desirable regardless of the certification. A sudden drop in certification prep can be caused by a new exam, making older content out-of-date, but that isn’t the case here. Terraform certification certainly wasn’t helped by HashiCorp’s switch to a Business Source License or the subsequent fork of the Terraform project. IBM’s pending acquisition of Terraform (set to close before the end of 2024) may have introduced more uncertainty. Is the decline in interest for Terraform certification an indicator of dissatisfaction in the Terraform community?

    Certifications for IT

    The Kubernetes and Cloud Native Associate (KCNA, up 6.3%) was a bright spot in IT certification. Whether or not Kubernetes is overly complex (perhaps because it’s overly complex) and whether or not companies are moving out of the cloud, KCNA certification is a worthwhile asset. Cloud native applications aren’t going away. And whether they’re managing Kubernetes complexity by building developer platforms, using a Kubernetes provider, or using some other solution, companies will need people on their staff who can demonstrate that they have Kubernetes skills.

    Cloud and cloud certifications

    Content use for the major cloud providers and their certifications was down across all categories, with one exception: Use of content to prepare for Google Cloud certifications is up 2.2%.

    What does that tell us, if anything? Are we looking at a “cloud repatriation” movement in full swing? Are our customers moving their operations back from the cloud to on-prem (or hosted) data centers? Last year, we said that we see very little evidence that repatriation is happening. This year? An article in The New Stack argues that cloud repatriation is gathering steam. While that might account for the decline in the use of cloud-related content, we still see little evidence that repatriation is actually happening. Two case studies (37signals and GEICO) don’t make a trend. The ongoing expense of operating software in the cloud probably is greater than the cost of running it on-premises. But the cloud allows for scaling on demand, and that’s important. It’s true, few businesses have the sudden usage peaks that are driven by events like retail’s Black Friday. But the cloud providers aren’t just about sudden 10x or 100x bursts of traffic; they also allow you to scale smoothly from 1x to 1.5x to 2x to 3x, and so on. It saves you from arguing that you need additional infrastructure until the need becomes a crisis, at which point, you don’t need to grow 1.5x; you need 5x. After moving operations to the cloud and experiencing a few years of growth—even if that growth is moderate—moving back to an on-premises data center will require significant capital expense. It will probably require gutting all the infrastructure that you haven’t been using for the past year and replacing it with something up-to-date.

    Does this mean that cloud providers are “roach motels,” where you can move in but you can’t move out? That’s not entirely untrue. But the ease of scaling by allocating a few more servers and seeing a slightly higher bill the next month can’t be ignored, even if those slightly higher bills sound like the proverbial story of boiling the frog. Evaluating vendors, waiting for delivery, installing hardware, configuring hardware, testing hardware—that’s effort and expense that businesses are offloading to cloud vendors. The ability to scale fluidly is particularly important in the age of AI. Few companies have the skills needed to build on-premises infrastructure for AI, with its cooling and power requirements. That means either buying AI services directly from cloud providers or building infrastructure to host your own models. And of course, the cloud providers have plenty of help for companies that need to use their high-end GPUs. (Seriously—if you want to host your AI application on-premises, see how long it will take to get delivery of NVIDIA’s latest GPU.) The reality, as IDC concluded in a survey of cloud use, is that “workload repatriation from public cloud into dedicated environments goes hand in hand with workload migration to public cloud activities, reflecting organizations’ continuous reassessment of IT environments best suited for serving their workloads.” That is, there’s a constant ebb and flow of workloads to and from public clouds as companies adapt their strategies to the business environment.

    Cloud providers and certifications

    The buzzword power of “the cloud” lasted longer than anyone could reasonably have expected, but it’s dead now. However, that’s just the buzzword. Companies may no longer be “moving to the cloud”; that move has already happened, and their staff no longer need to learn how to do it. Organizations now need to learn how to manage the investments they’ve made. They need to learn which workloads are most appropriate for the cloud and which are better run on-premises. IT still needs staff with cloud skills.

    Security

    Security Governance drove the most content use in 2024, growing 7.3% in the process and overtaking Network Security (down 12%). The rise of governance is an important sign: “Security” is no longer an ad hoc issue, fixing vulnerabilities in individual applications or specific services. That approach leads to endless firefighting and eventually failure—and those failures end up in the major news media and result in executives losing their jobs. Security is a company-wide issue that needs to be addressed in every part of the organization. Confirming the growing importance of security governance, interest in Governance, Risk, and Compliance (GRC) grew 44%, and Compliance grew 10%. Both are key parts of security governance. Security architecture also showed a small but significant increase (3.7%); designing a security architecture that works for an entire organization is an important part of looking at the overall security picture.

    The use of content about Application Security also grew significantly (17%). That’s a very general topic, and it perhaps doesn’t say much except that our users are interested in securing their applications—which goes without saying. But what kinds of applications? All of them: web applications, cloud applications, business intelligence applications, everything. We get a bigger signal from the increase in Zero Trust (13%), a particularly important strategy for securing services in which every user, human or otherwise, must authenticate itself to every service that it uses. In addition, users must have appropriate privileges to do what they need to do, and no more. It’s particularly important that zero trust extends authentication to nonhuman users (other computers and other services, whether internal or external). It’s a response to the “hard, crunchy outside, but soft chewy inside” security that dominated the 1990s and early 2000s. Zero trust assumes that attackers can get through firewalls, that they can guess passwords, and that they can compromise phones and computers when they’re outside the firewall. Firewalls, good passwords, and multifactor authentication systems are all important—they’re the hard, crunchy outside that prevents an attacker from getting in. Zero trust helps keep attackers outside, of course—but more than that, it limits the damage they can do once they’re inside.

    Security skills

    We’re puzzled by the drop in use of content about Network Security, which corresponds roughly to the drop in Cisco certifications. Network Security is still the second most widely used skill, but it’s down 12% from 2023 to 2024. Perhaps network security isn’t deemed as important when employees wander in and out of company networks and applications are distributed between in-house servers and the cloud. We hope that our users aren’t making that mistake. A bigger issue is that networks haven’t changed much in the past few years: We’re still using IPv4; we’re still using routers, switches, and firewalls, none of which have changed significantly in recent years. What has changed is the way security is implemented. Cloud computing and zero trust have moved the focus from big-iron networking devices to interactions between systems, regardless of how they are connected.

    Security certifications

    Security certification has been one of the biggest growth areas on our platform. As I’ve said elsewhere, security professionals love their certifications. There’s a good reason for that. In most other specialties, it’s possible to build a portfolio of programs you wrote, systems you architected, sites you’ve designed. What can a security person say in a job interview? “I stopped 10,000 people from logging in last year?” If you’ve ever monitored a public-facing Linux system, you know that claim means little. Security is cursed with the problem that the best news is no news: “Nothing bad happened” doesn’t play well with management or future employers. Neither does “I kept all the software patched, and spent time reading CVEs to learn about new vulnerabilities”—even though that’s an excellent demonstration of competence. Certification is a way of proving that you have certain skills and that you’ve met some widely recognized standards.

    The CISSP (up 11%) and CompTIA Security+ (up 13%) certifications are always at the top of our lists, and this year is no exception. Our State of Security in 2024 report showed that CISSP was the certification most commonly required by employers. If there’s a gold standard for security skills, CISSP is it: It’s a thorough, comprehensive exam for people with more than five years of experience. CompTIA Security+ certification has always trailed CISSP slightly in our surveys and in platform performance, but its position in second place is uncontested. Security+ is an entry-level certification; it’s particularly desirable for people who are starting their security careers.

    Security certification was especially important for government users. For most industry sectors, usage focused on programming skills in Java or Python, followed by artificial intelligence. The government sector was a strong outlier. Security and IT certifications were by far the most important topics. CompTIA Security+ and CISSP (in that order) led.

    Moving beyond CISSP and Security+, many of the other security certifications also showed gains. Certified Ethical Hacker (CEH) was up 1.4%, as was the less popular CompTIA PenTest+ certification (3.3%). Certified Cloud Security Professional was up 2.4%, somewhat less than we’d expect, given the importance of the cloud to modern IT, but it’s still a gain. ISACA’s Certified in Risk and Information Systems Control (CRISC) was up 45%, Certified Information Security Manager (CISM) grew 9.3%, and Certified Information Security Auditor (CISA) was up 8.8%; these three certifications are strongly associated with security governance. The most significant declines were for the CompTIA Cybersecurity Analyst (CySA+) certification (down 13%) and CCNA Security (down 55%). The drop in CCNA Security is extreme, but it isn’t unexpected given that none of the Cisco certifications showed an increase this year.

    We’re missing one important piece of the security certification puzzle. There’s no data on AI security certifications—and that’s because there aren’t any. Software that incorporates AI must be built and operated securely. That will require security experts with AI expertise (and who can demonstrate that expertise via certifications). We expect (or maybe a better phrase is “we hope”) that lack will be addressed in the coming year.

    Security certifications

    Professional Development

    Professional development continues to be an important growth area for our audience. The most important skill, Professional Communication, grew 4.5%—not much but significant. We saw a 9.6% increase in users wanting to know more about Engineering Leadership, and a 21.5% increase in users using content about Personal Productivity.

    Project Management was almost unchanged from 2023 to 2024 (up 0.01%), while the use of content about the Project Management Professional (PMP) certification grew 15%. Interest in Product Management declined 11%; it seems to be a skill that our users are less interested in. Why? For the past few years, product manager has seemed to be a trendy new job title. But in last year’s report, Product Management only showed a small gain from 2022 to 2023. Is interest in Product Management as a skill or as a job title fading?

    Professional development and skills

    We also saw a 7.9% decline in Leadership (aside from Engineering Leadership), and a huge 35% decline for IT Management. Are we to blame these on the corporate layoff cycle? That’s possible, but it’s too easy. IT may be affected by a general trend toward simplification and platform engineering, as we’ve discussed: A platform engineering group can do a lot to reduce cognitive overhead for developers, but it also reduces the need for IT staff. A platform engineering group doesn’t have to be large; is the need for IT staff shrinking? The decline in Leadership may be because it’s a vague, nonspecific term, unlike Engineering Leadership (which is up). Engineering Leadership is concrete and it’s something our engineering-oriented audience understands.

    New Initiatives

    In 2024, we introduced several new features on the O’Reilly learning platform, including badges, quizzes, and a new version of O’Reilly Answers. What are they telling us?

    Badges and Quizzes

    We started a badging program late in 2023: Users from business accounts can earn badges for taking courses and completing quizzes. We won’t go into the program details here, but since the program started, users have earned nearly 160,000 badges. We’re still building the program, but we’re encouraged by its first year.

    Badges can give us more insight into what our users are learning. The most popular badges are for Python skills, followed by GPT and prompt engineering. Generative AI and machine learning are also high on the list. Kubernetes, despite its decline in units viewed, was the fourth-most-frequently-acquired badge, with almost the same number of badges earned as software architecture. Linux, SQL, professional communication, and Java rounded out the top 11. (Yes, 11—we wanted to include Java). The difference between Java and Python is striking, given that the use of content about these skills is similar. (Python leads Java, but not by much.) Oracle has a highly regarded Java certification program, and there’s really no equivalent for Python. Perhaps our users recognize that obtaining a Java badge is superfluous, while obtaining badges for Pythonic skills is meaningful?

    Quizzes are closely tied to badges: If a final quiz exists for a course or for a book, students must pass it to earn their badge. Quiz usage appears to follow the same trends as badging, though it’s premature to draw any conclusions. While a few legacy quizzes have been on the platform for a long time (and aren’t connected to badging), the push to develop quizzes as part of the badging program only began in June 2024, and quiz usage is still as much a consequence of the time the quiz has been available on the platform as it is of the skill for which it’s testing.

    Top badges earned (relative to Python)

    We can also look at the expertise required by the badges that were earned. All of our content is tagged with a skill level: beginner, beginner-intermediate, intermediate, intermediate-advanced, or advanced. 42% of the badges were earned for content judged to be intermediate. 33% of the badges were earned for beginner content, while only 4.4% were for advanced content. It’s somewhat surprising that most of the badges were earned for intermediate-level content, though perhaps that makes sense given the badge program’s B2B context: For the most part, our users are professionals rather than beginners.

    Badges earned by expertise level (percent)

    Answers

    One of our most important new features in 2024 was an upgrade to O’Reilly Answers. Answers is a generative AI-powered tool that allows users to enter natural language questions and generates responses from content in our platform. Unlike most other generative AI products, Answers always provides links to the original sources its responses are based on. These citations are tracked and used to calculate author royalties and payments to publishing partners.

    So the obvious question is: What are our users asking? One might guess that the questions in Answers would be similar to the search terms used on the platform. (At this point, Answers and search are distinct from each other.) That guess is partly right—and partly wrong. There are some obvious differences. Common search terms include book titles, author names, and even ISBNs; titles and author names rarely appear in Answers. The most common searches are for single words, such as “Python” or “Java.” (The average length of the top 5,000 searches in September 2024 was two words, for instance.) There are few single word questions in Answers (though there are some); most questions are well-formed sentences like “How many ways can you create a string object in Java?” (The average question length was nine words.)

    To analyze the questions from O’Reilly Answers, we essentially turned them back into single-word questions. First, we eliminated questions from a “question bank” that we created to prime the pump, as it were: Rather than requiring users to write a new question, we offered a list of prewritten queries they could click on. While there’s undoubtedly some useful signal in how the question bank was used, we were more interested in what users asked of their own volition. From the user-written questions, we created a big “bag of words,” sorted them by frequency, and eliminated stopwords. We included a lot of stopwords that aren’t in most lists: words like “data” (what does that mean by itself?) and “chapter” (yes, you can ask about a chapter in a book, but that doesn’t tell us much).

    With that background in mind, what were the most common words in Answers and in searches? In order:

    Answers Search Queries
    Python Python
    Java Machine learning
    Management Kubernetes
    Key Java
    Model Rust
    Security React
    File AWS
    Architecture CISSP
    AI C++
    System Linux
    Service Docker
    Project SQL
    Learning JavaScript

    There’s an obvious difference between these two lists. The Answers list consists mostly of words that could be part of longer questions. The Search list is made up of topics and skills about which one might want information. That’s hardly surprising or insightful. We’ve said most searches on the platform are single-word searches, which means that those words have to be stand-alone skills or topics, like Python or Java. Likewise, Answers was built to allow users to ask more detailed, in-depth questions and get focused answers from the content on our platform—so rather than seeing single word searches, we’re seeing common words from longer questions. Maybe that’s a self-fulfilling prophecy, but it’s also showing that Answers is working the way we intended.

    There’s a little more signal here. Python and Java are the two top programming languages on both lists, but if we look at search queries, machine learning and Kubernetes are sandwiched between the two languages. That may just be a result of our users’ experiences with services like ChatGPT. Programmers quickly learned that they can get reasonable answers to questions about Java and Python, and the prompts don’t have to be very complex. My personal favorite is “How do you flatten a list of lists in Python?,” which can be answered by most chatbots correctly but isn’t meaningful to our search engine.

    Kubernetes raises a different question: Why is it the third-most-common search engine query but doesn’t appear among the top words on Answers? (It’s the 90th-most-common word on Answers, though the actual rank isn’t meaningful.) While Kubernetes is a topic that’s amenable to precise questions, it’s a complex tool, and coming up with precise prompts is difficult; writing a good question probably requires a good understanding of your IT infrastructure. You might need to understand how to solve your problem before you can ask a good question about how to solve your problem. A search engine doesn’t face problems like this. It doesn’t need additional information to return a list of resources.

    Then what about words like Rust and Linux, which are high on the list of common searches, but not in the top 13 for Answers? It’s relatively easy to come up with specific questions about either of these—or, for that matter, about SQL, AWS, or React. SQL, AWS, and Linux are reasonably close to the top of the Answers word list. If we just concern ourselves with the order in which words appear, things start to fall into place: AWS (and cloud) follow learning; they are followed by Linux, followed by SQL. We’re not surprised that there are few questions about CISSP on Answers; it’s a certification exam, so users are more likely to want test prep material than to ask specific questions. Rust and React are still outliers, though; it’s easy to ask precise and specific questions about either of them. Rust is still unfamiliar to many of our users—could the explanation be that our customers want to learn Rust as a whole rather than ask specific questions that might only occur to someone who’s already learned the language? But if you accept that, React still remains an outlier. We may know the answers next year, at which time we’ll have a much longer track record with Answers.

    The Coming Year

    That wraps up last year. What will we see this year? We’ve given hints throughout this report. Let’s bring it all together.

    AI dominated the news for 2024. It will continue to do so in 2025, despite some disillusionment. For the most part, those who are disillusioned aren’t the people making decisions about what products to build. While concern about jobs is understandable in a year that’s seen significant layoffs, we don’t believe that AI is “coming for your job.” However, we do believe that the future will belong to those who learn how to use AI effectively—and that AI will have a profound impact on every profession, not just IT and not just “knowledge workers.” Using AI effectively isn’t just about coming up with clever prompts so you can copy and paste an answer. If all you can do is prompt, copy, and paste, you’re about to become superfluous. You need to figure out how to work with AI to create something that’s better than what the AI could do by itself. Training employees to use AI effectively is one of the best things a company can do to prepare for an AI-driven future. Companies that don’t invest in training will inevitably fall behind.

    In the coming year, will companies build AI applications on top of the giant foundation models like GPT-4, Claude, and Gemini? Or will they build on top of smaller open models, many of which are based on Meta’s Llama? And in the latter case, will they run the models on-premises (which includes the use of hosting and colocation providers), or will they rent use of these open AI models as a service from various providers? In the coming year, watch carefully what happens with the small open models. They already deliver performance almost as good as the foundation models and will undoubtedly be the basis for many AI applications. And we suspect that most companies will run these models in the cloud.

    Security is the other significant growth area. Companies are waking up to the need to secure their data before their reputations—and their bottom lines—are compromised. Waking up has been a long, slow process that has sunk the careers of many CEOs and CIOs, but it’s happening. Our users are studying to gain security certifications. We see companies investing in governance and putting in company-wide policies to maintain security. In this respect, AI cuts both ways. It’s both a tool and a danger. It’s a tool because security professionals need to watch over huge streams of data, looking for the anomalies that signal an attack; it’s a tool because AI can digest sources of information about new threats and vulnerabilities; it’s a tool because AI can automate routine tasks like report generation. But it’s also a danger. AI-enabled applications increase an organization’s threat surface by introducing new vulnerabilities, like prompt injection, that we’re only now learning how to mitigate. We haven’t yet seen a high-profile attack against AI that compromised an organization’s ability to do business, but that will certainly happen eventually—maybe in 2025.

    Whatever happens this year, AI will be at the center. Everyone will need to learn how to use AI effectively. AI will inevitably reshape all of our professions, but we don’t yet know how; we’re only starting to get glimpses. Is that exciting or terrifying? Both.


    Footnotes

    1. The definition of “open” and “open source” for AI is still controversial. Some open models don’t include access to weights, and many don’t include access to training data.





    Source link

  • AI Mistakes Are Way Weirder Than Human Mistakes

    AI Mistakes Are Way Weirder Than Human Mistakes



    Humans make mistakes all the time. All of us do, every day, in tasks both new and routine. Some of our mistakes are minor and some are catastrophic. Mistakes can break trust with our friends, lose the confidence of our bosses, and sometimes be the difference between life and death.

    Over the millennia, we have created security systems to deal with the sorts of mistakes humans commonly make. These days, casinos rotate their dealers regularly, because they make mistakes if they do the same task for too long. Hospital personnel write on limbs before surgery so that doctors operate on the correct body part, and they count surgical instruments to make sure none were left inside the body. From copyediting to double-entry bookkeeping to appellate courts, we humans have gotten really good at correcting human mistakes.

    Humanity is now rapidly integrating a wholly different kind of mistake-maker into society: AI. Technologies like large language models (LLMs) can perform many cognitive tasks traditionally fulfilled by humans, but they make plenty of mistakes. It seems ridiculous when chatbots tell you to eat rocks or add glue to pizza. But it’s not the frequency or severity of AI systems’ mistakes that differentiates them from human mistakes. It’s their weirdness. AI systems do not make mistakes in the same ways that humans do.

    Much of the friction—and risk—associated with our use of AI arise from that difference. We need to invent new security systems that adapt to these differences and prevent harm from AI mistakes.

    Human Mistakes vs AI Mistakes

    Life experience makes it fairly easy for each of us to guess when and where humans will make mistakes. Human errors tend to come at the edges of someone’s knowledge: Most of us would make mistakes solving calculus problems. We expect human mistakes to be clustered: A single calculus mistake is likely to be accompanied by others. We expect mistakes to wax and wane, predictably depending on factors such as fatigue and distraction. And mistakes are often accompanied by ignorance: Someone who makes calculus mistakes is also likely to respond “I don’t know” to calculus-related questions.

    To the extent that AI systems make these human-like mistakes, we can bring all of our mistake-correcting systems to bear on their output. But the current crop of AI models—particularly LLMs—make mistakes differently.

    AI errors come at seemingly random times, without any clustering around particular topics. LLM mistakes tend to be more evenly distributed through the knowledge space. A model might be equally likely to make a mistake on a calculus question as it is to propose that cabbages eat goats.

    And AI mistakes aren’t accompanied by ignorance. A LLM will be just as confident when saying something completely wrong—and obviously so, to a human—as it will be when saying something true. The seemingly random inconsistency of LLMs makes it hard to trust their reasoning in complex, multi-step problems. If you want to use an AI model to help with a business problem, it’s not enough to see that it understands what factors make a product profitable; you need to be sure it won’t forget what money is.

    How to Deal with AI Mistakes

    This situation indicates two possible areas of research. The first is to engineer LLMs that make more human-like mistakes. The second is to build new mistake-correcting systems that deal with the specific sorts of mistakes that LLMs tend to make.

    We already have some tools to lead LLMs to act in more human-like ways. Many of these arise from the field of “alignment” research, which aims to make models act in accordance with the goals and motivations of their human developers. One example is the technique that was arguably responsible for the breakthrough success of ChatGPT: reinforcement learning with human feedback. In this method, an AI model is (figuratively) rewarded for producing responses that get a thumbs-up from human evaluators. Similar approaches could be used to induce AI systems to make more human-like mistakes, particularly by penalizing them more for mistakes that are less intelligible.

    When it comes to catching AI mistakes, some of the systems that we use to prevent human mistakes will help. To an extent, forcing LLMs to double-check their own work can help prevent errors. But LLMs can also confabulate seemingly plausible, but truly ridiculous, explanations for their flights from reason.

    Other mistake mitigation systems for AI are unlike anything we use for humans. Because machines can’t get fatigued or frustrated in the way that humans do, it can help to ask an LLM the same question repeatedly in slightly different ways and then synthesize its multiple responses. Humans won’t put up with that kind of annoying repetition, but machines will.

    Understanding Similarities and Differences

    Researchers are still struggling to understand where LLM mistakes diverge from human ones. Some of the weirdness of AI is actually more human-like than it first appears. Small changes to a query to an LLM can result in wildly different responses, a problem known as prompt sensitivity. But, as any survey researcher can tell you, humans behave this way, too. The phrasing of a question in an opinion poll can have drastic impacts on the answers.

    LLMs also seem to have a bias towards repeating the words that were most common in their training data; for example, guessing familiar place names like “America” even when asked about more exotic locations. Perhaps this is an example of the human “availability heuristic” manifesting in LLMs, with machines spitting out the first thing that comes to mind rather than reasoning through the question. And like humans, perhaps, some LLMs seem to get distracted in the middle of long documents; they’re better able to remember facts from the beginning and end. There is already progress on improving this error mode, as researchers have found that LLMs trained on more examples of retrieving information from long texts seem to do better at retrieving information uniformly.

    In some cases, what’s bizarre about LLMs is that they act more like humans than we think they should. For example, some researchers have tested the hypothesis that LLMs perform better when offered a cash reward or threatened with death. It also turns out that some of the best ways to “jailbreak” LLMs (getting them to disobey their creators’ explicit instructions) look a lot like the kinds of social engineering tricks that humans use on each other: for example, pretending to be someone else or saying that the request is just a joke. But other effective jailbreaking techniques are things no human would ever fall for. One group found that if they used ASCII art (constructions of symbols that look like words or pictures) to pose dangerous questions, like how to build a bomb, the LLM would answer them willingly.

    Humans may occasionally make seemingly random, incomprehensible, and inconsistent mistakes, but such occurrences are rare and often indicative of more serious problems. We also tend not to put people exhibiting these behaviors in decision-making positions. Likewise, we should confine AI decision-making systems to applications that suit their actual abilities—while keeping the potential ramifications of their mistakes firmly in mind.

    From Your Site Articles

    Related Articles Around the Web



    Source link

  • Panasonic Z95A OLED TV Review: Searing Brightness …

    Panasonic Z95A OLED TV Review: Searing Brightness …


    Front view of a Panasonic Z95A OLED TV the screen showing a vivid underwater scene of coral and fish

    Photograph: Ryan Waniata

    Thanks to excellent picture processing, details pop, from crystalline 4K Blu-rays to 1080p and even 720p upscaling. Only the fuzziest SD images fail to impress, sometimes coming through a little blocky, but that’s true of pretty much any 4K TV.

    The only minor chinks in the armor I noticed over several days were some small stutters or jerkiness with challenging motions scenes and some color banding with compressed video. Otherwise, I was able to just sit back and enjoy the glow.

    The highlight for me is the Z95A’s phenomenal colors, which are so rich and stirring that they caught me off guard, even when compared to all the other great flavors in Panasonic’s special sauce. I was gobsmacked from day one, starting with a casual viewing of the holiday classic Scrooged. From Bill Murray’s deep navy suits to the crimson-gold of Robert Mitchum’s pajamas, I found myself mesmerized—and it wasn’t just me.

    Fantasia is one of my wife’s most-viewed movies, yet we were both dazzled by the artistry. Sapphire blues, flashing silvers, pastel purples, and deep yellow golds all burned beautifully. Even something as simple as a targeted fish in Assasin’s Creed Valhalla calls attention, searing like magma. I’m gushing, but a TV this good will do that to you. There are only a few TVs on the market that keep pace.

    Front view of a Panasonic Z95A OLED TV the screen showing a film scene of a person in all gold in front of a gold throne

    Photograph: Ryan Waniata

    LG’s G4 is one, offering similar delights (and four HDMI 2.1 inputs), but I’ve had bad luck with review samples thus far. Sony’s A95L QD-OLED (9/10, WIRED recommends) is my favorite rival. It’s not quite as bright, but it’s similarly impressive and has slightly better image detail. Samsung’s S95D (8/10, WIRED Recommends) isn’t as striking—and skips Dolby Vision—but its matte screen provides intriguing anti-glare skills. Finally, Sony’s ultrabright Bravia 9 mini LED TV (9/10, WIRED Recommends) is a wild card for those seeking next-gen brightness, though its backlit display isn’t as poised or balanced as OLED.

    All these competitors offer more model sizes than the Z95A’s lone 65-inch size, which could be a difference maker. Still, there’s just something about the Z95A that has me floored. Apart from its Fire TV system, it’s a top performer in every category and easily one of the best TVs you can buy. Welcome back, Panasonic. It’s been too long.



    Source link

  • Trump’s Greenland gambit, explained | Vox

    Trump’s Greenland gambit, explained | Vox


    It is an era of superpower conflict and competition for natural resources. Newly accessible sea routes are transforming the world’s political geography. The US government eyes a strategically located island territory, currently under the control of the Kingdom of Denmark, which Washington believes is necessary for its national security and economic interests. After first making an offer to buy the territory — one rejected by Copenhagen — the US suggests that it won’t rule out the use of military force to take it. The Danes, in response, grudgingly take the deal.

    The year is 1915 and the territory in question is the Danish West Indies, known today as the US Virgin Islands. In the wake of the sinking of the passenger ship Lusitania by German submarines, President Woodrow Wilson’s administration wanted control of the Caribbean islands out of fear they could be annexed by Germany, and used as a base to attack shipping through the recently opened Panama Canal. That deal – which was finalized in 1917 for $25 million, or a bit less than $600 million in today’s money — was the last major territorial purchase by the United States.

    Such territorial acquisitions were a relatively common practice in the age of overseas empires, but are nearly unheard of today. This musty topic, though, is unexpectedly back in the news, thanks to President-elect Donald Trump’s very public coveting of Greenland: another Danish-administered island.

    Trump first publicly discussed the idea of the United States purchasing the world’s largest island back in 2019, during his first term. The idea was rejected out of hand by the government of Denmark at the time, with Prime Minister Mette Frederiksen saying she “hope[s] that this is not meant seriously.” Trump canceled a visit to Denmark in response.

    How serious Trump is now is known to him alone, but he has not let the idea go as he prepares to return to the White House. In December, in a social media post announcing his pick of PayPal co-founder Ken Howery to serve as ambassador to Denmark, Trump posted, “For purposes of National Security and Freedom throughout the World, the United States of America feels that the ownership and control of Greenland is an absolute necessity.”

    The Greenland proposal comes alongside Trump repeated is-he-joking-or-isn’t-he suggestions that Canada be made the “51st state” and demands that Panama return control of the Panama Canal — altogether, an agenda for territorial expansion on a level not seen since the James K. Polk administration in the mid-19th century. The Republican-led House Foreign Affairs Committee posted on X then deleted a post praising Trump’s plans for Greenland and Panama, writing that it’s “un-American to be afraid of big dreams.”

    Things got more serious on Tuesday at a press conference at Mar-a-Lago when Trump refused to rule out using “military or economic coercion” to take Greenland or the canal. (Canada, it seems, is off the hook for military force but not economic.) Also this past week, the president-elect’s son, Donald Trump Jr., visited Greenland for a brief and heavily-documented stopover.

    Now that the president-elect of the United States has refused to rule out military force against a NATO ally in Denmark, European leaders clearly no longer find this funny. Chancellor Olaf Scholz of Germany posted on X, “Borders must not be moved by force” — the sort of admonition usually used against Russia and China.

    Even if we take Trump entirely at his word that he is serious about this and will make it a priority, the acquisition of Greenland is extremely unlikely to happen. But perhaps inadvertently, Trump has highlighted some thorny issues about geopolitics in a rapidly transforming and geopolitically important Arctic, and the suddenly contested borders of what had seemed like a settled world map.

    Greenland’s political status, explained

    Greenland, an 836,000-square-mile island mostly covered by ice, has been under Danish rule since the 18th century, except for a period of German occupation during World War II followed by brief US protectorate. As Trump has pointed out, President Harry Truman made an offer (rebuffed by the Danes) to take permanent control of Greenland after the war.

    But Greenland is also not simply property that Denmark could sell at will. In recent decades, Greenland’s population, which is nearly 90 percent Inuit, has been moving gradually toward full independence. Greenland attained home rule, including its own parliament, in 1979, and took on even greater political autonomy following a 2008 referendum.

    Greenland now has its own prime minister, domestic laws, and court system. Its foreign and security policies are still dictated from Copenhagen, although Greenland is seeking more autonomy on those issues as well. In a New Year’s speech, made in the context of Trump’s remarks, Greenland Prime Minister Múte Egede suggested the time may have come to move more quickly toward independence.

    The Greenland Self-Government Act, passed in 2009, stipulates that if the people of Greenland decide to move toward full independence, they will enter into negotiations with Denmark on making that happen. The push for independence has been coupled with a historical reckoning over colonial-era practices including the removal of Greenlandic children from their families to be raised by Danes. “Greenlanders are very tired of being, in a sense, treated like second-class citizens or like teenagers that are not really responsible for their actions,” said Ulrik Pram Gad, a senior researcher on Arctic issues at the Danish Institute of Security Studies.

    On the other hand, there are also reasons why full independence hasn’t happened yet. For one thing, while Greenland would be one of the biggest countries in the world by land area (it’s larger than Mexico), it would be one of the world’s smallest by population with just 57,000 people (less than the capacity of an NFL football stadium). And that population is only shrinking.

    Despite some painful history, many Greenlanders also have close family and cultural ties to Denmark. The island also receives about $500 million per year in social welfare payments from the Danish state, and Greenlanders have access to free medical care and free tuition at Danish universities. (All of which is to say, Puerto Rico-like status in Trump’s America might be a tough sell for a people used to the generous Nordic welfare state.)

    Of course, Greenland independence could become a lot more viable if the territory, which is currently reliant mainly on fishing for income, developed more independent sources of wealth. Which is where Trump’s interest in the place comes in.

    It’s not entirely clear when Trump decided that control of Greenland is an “absolute necessity,” for US national interests, but one theory, reported by the New York Times back in 2021, was that it came after a briefing at the White House by Greg Barnes, an Australian minerals prospector who has long touted Greenland’s mining potential. (Cosmetics heir Ronald Lauder, an old friend of Trump’s, also seems to have pushed the idea.) Greenland has substantial reserves of metals like lithium, niobium, and zirconium, which are used for producing batteries, as well as rare earth elements that are considered vital for the green energy transition, but which China currently enjoys a near monopoly over.

    Greenland’s Arctic climate and geology make it a difficult place to extract these materials — there are currently only two active mines on the island — but as the ice sheet covering 80 percent of Greenland melts, the idea is that they will become more accessible. (There’s something a bit perverse about the notion of Greenland’s shrinking glaciers, which could raise global sea levels by 20 feet if they melted entirely, as a solution to climate change.) This has attracted interest and investments from a number of mining companies and governments, including China — likely another reason for Trump’s interest. These projects have also encountered local resistance: In 2021, Greenland’s parliament passed legislation banning uranium mining and halting a major rare earths mining project.

    On the less climate-friendly side, the US Geological Survey has also estimated that Greenland may have as many as 31 billion barrels of oil, though no oil has actually been found despite nearly 50 years of exploration, and the government ended exploration in 2021, citing environmental concerns.

    In an era of rising great power tension, governments around the world are also increasingly looking at the Arctic as an area of strategic importance and competition. Part of this is the region’s potential mineral reserves. Part of it is shipping routes that have become newly navigable thanks to melting Arctic Sea ice.

    Russia, which generates much of its GDP from oil and gas extracted above the Arctic circle, has taken a particular interest in the region. Under President Vladimir Putin, the Russian government has reopened 50 previously shuttered Soviet-era military bases in the area. Perhaps not coincidentally, the Arctic has seen alleged “gray zone” attacks by Russia against telecommunications infrastructure and an increasing number of close encounters by military aircraft. Geopolitical tensions in the Arctic have only grown since Russia’s 2022 invasion of Ukraine.

    China, which describes itself as a “near-Arctic state” even though it is nearly a thousand miles away from the Arctic Circle at its closest point, has been increasing its economic and military assets in the region as well. Critics say the US, an Arctic power thanks to Alaska — another old territorial purchase — has been slow to respond to these developments: case in point, the US currently has only has one operational icebreaker in its fleet and likely won’t have a new one until the 2030s.

    The Arctic’s geopolitical importance is also a reason why Denmark (as well as the European Union) would be reluctant to part with Greenland. Thanks to Greenland, Denmark is not only 50 times bigger than it would be otherwise, it is also the only European Union country with an Arctic coastline. (Arctic Norway is not an EU member.) This gives it a seat on the Arctic Council and a say on issues involving an increasingly contested region of the world. “There has been a kind of Greenland card, which has made Denmark more important security-wise than a standard, small European country,” Gad said.

    It should be noted that none of the reasons why Greenland is strategically important for the United States explain why it needs to be part of the United States. American companies, including a new mining venture backed by Bill Gates and Jeff Bezos, are already investing in Greenland’s minerals. The US also already has a military base in the country: Pituffik Space Base, formerly known as Thule Air Base, is both the northernmost US military base in the world and a key node in America’s missile early warning system.

    The US benefits from Greenland being under the jurisdiction of a friendly NATO ally: In 2017, the Danish government blocked an effort by a Chinese mining company to acquire an abandoned military base in Greenland, in part out of a desire to maintain good relations with the US. These are the sort of relations that are potentially threatened by publicly musing about annexing territory by force.

    Trump’s world of real estate

    It’s worth briefly considering just why Trump’s Greenland idea seems so bizarre. The United States acquired more than half of its current land mass by paying for it through transactions like the Louisiana Purchase, the Alaska Purchase, and the Treaty of Guadalupe Hidalgo, under which Mexico ceded the territory for much of what became the American West. It was once relatively common for countries to trade, say, the north sea island of Heligoland for the African archipelago of Zanzibar, as Britain and Germany did in 1890.

    Britain acquired Bombay (now Mumbai) from Portugal as part of a wedding dowry for the marriage of a Portuguese princess to King Charles II. (Barron Trump is probably safe from being married off to a Danish princess as part of a deal, but never say never.)

    Borders are still sometimes redrawn by agreement these days: Tajikistan ceded some mountainous territory to China in 2011, India and Pakistan have exchanged some left over border enclaves, but they’re rare and the territories in question are usually pretty small.

    The main reason why the market for national sovereignty isn’t what it used to be is probably that while much of the world’s landmass was once covered by colonial empires, it is now mostly covered by sovereign nation-states, in which citizens have some expectation of sovereignty — which includes the right to not simply be sold off to the highest bidder.

    Greenland’s political status makes it something of a holdover in this regard, but that doesn’t mean its people and leaders — who’ve been steadily moving toward greater political independence — will simply acquiesce to being treated as an imperialist bargaining chip. “We are a proud Indigenous people with a right to self-determination and not some sort of good that can be traded,” Aaja Chemnitz, a member of Greenland’s parliament, told NBC News.

    (Though Trump has claimed that the “people of Greenland are ‘MAGA’” and will “benefit tremendously” from US acquisition, it’s not clear if he envisions them having any say in the matter.)

    As for Trump’s refusal to rule out military force, wars of territorial conquest are thankfully also a lot more rare than they used to be and a lot less likely to be successful. That’s one reason why Russia’s invasion and annexation of parts of Ukraine has been such a shock to the international system.

    At least since the days of Woodrow Wilson, US governments have — with some notable exceptions — had a bias toward preserving international borders rather than redrawing them. But Trump, who broke from most of the international community by recognizing Israeli sovereignty over the Golan Heights and Moroccan control of Western Sahara during his first term, clearly has a far more transactional view of borders and sovereignty than the last century of American presidents. Describing his Greenland plan, the former developer has compared it to a real estate deal: ““I look at a corner, I say, ‘I’ve got to get that store for the building that I’m building,’ etc. It’s not that different,” he told reporters interviewing him for a book at the end of his first term.

    The risk of treating the world map like a game of Risk, even just in rhetoric, is not merely that it strains relations with US allies. It’s that it could validate territorial claims by US enemies.

    It’s hardly surprising that Russian pundits and politicians have taken a keen interest in Trump’s Greenland plans. As The Economist’s Shashank Joshi writes, “If the next US government normalises the idea of absorbing territory by force … it makes it more likely that China will believe that the US will ultimately stand aside during an invasion of Taiwan.”

    Back in 2014, when Russia first annexed Crimea, then Secretary of State John Kerry scoffed, “You just don’t in the 21st century behave in 19th-century fashion by invading another country on a completely trumped-up pretext.” Now, it appears, it’s the US that wants to take the world back to the age of empires.



    Source link

  • Self-invoking code benchmarks help you decide whic…

    Self-invoking code benchmarks help you decide whic…


    Join our daily and weekly newsletters for the latest updates and exclusive content on industry-leading AI coverage. Learn More


    As large language models (LLMs) continue to improve in coding, the benchmarks used to evaluate their performance are steadily becoming less useful.

    That’s because even as many LLMs have similar high scores on these benchmarks, understanding which ones to use on specific software development projects and enterprises can be difficult.

    A new paper by Yale University and Tsinghua University presents a novel method to test the ability of models to tackle “self-invoking code generation” problems that require reasoning, generating code, and reusing existing code in problem-solving.

    Self-invoking code generation is much more similar to realistic programming scenarios and provides a better understanding of current LLMs’ ability to solve real-world coding problems.

    Self-invoking code generation

    Two popular benchmarks used to evaluate the coding abilities of LLMs are HumanEval and MBPP (Mostly Basic Python Problems). These are datasets of handcrafted problems that require the model to write code for simple tasks. 

    However, these benchmarks only cover a subset of the challenges software developers face in the real world. In practical scenarios, software developers don’t just write new code—they must also understand and reuse existing code and create reusable components to solve complex problems.

    “The ability to understand and subsequently leverage one’s own generated code, namely self-invoking code generation, plays an important role for LLMs to leverage their reasoning capabilities to code generation that current benchmarks fail to capture,” the researchers write.

    To test the ability of LLMs in self-invoking code generation, the researchers created two new benchmarks, HumanEval Pro and MBPP Pro, which extend the existing datasets. Each problem in HumanEval Pro and MBPP Pro builds on top of an existing example in the original dataset and introduces additional elements that require the model to solve the base problem and invoke the solution to solve a more complex problem. 

    Self-invoking code generation
    Self-invoking code generation (source: arXiv)

    For example, the original problem can be something simple, like writing a function that replaces all occurrences of a given character in a string with a new character.

    The extended problem would be to write a function that changes occurrences of multiple characters in a string with their given replacements. This would require the model to write a new function that invokes the previous function it generated in the simple problem. 

    “This evaluation of self-invoking code generation offers deeper insights into the programming capabilities of LLMs, extending beyond the scope of single-problem code generation,” the researchers write.

    LLMs perform poorly at self-invoking code generation

    The researchers tested HumanEval Pro and MBPP Pro on more than 20 open and private models, including GPT-4o, OpenAI o1-mini, Claude 3.5 Sonnet, as well as Qwen, DeepSeek, and Codestral series.

    Their findings show a significant disparity between traditional coding benchmarks and self-invoking code generation tasks. “While frontier LLMs excel at generating individual code snippets, they often struggle to effectively utilizing their own generated code for solving more complex problems,” the researchers write.

    For example, with a single generation (pass@1), o1-mini achieves 96.2% on HumanEval but only 76.2% on HumanEval Pro.

    Another interesting finding is that while instruction fine-tuning provides significant improvements on simple coding tasks, it shows diminishing returns on self-invoking code generation. The researchers note that “current instruction-based fine-tuning approaches are insufficiently effective for more complex self-invoking code generation tasks,” suggesting that we need to rethink how we train base models for coding and reasoning tasks.

    To help advance research on self-invoking code generation, the researchers propose a technique to automatically repurpose existing coding benchmarks for self-invoking code generation. The approach uses frontier LLMs to generate self-invoking problems based on the original problems. They then generate candidate solutions and verify their correctness by executing the code and running test cases on them. The pipeline minimizes the need for manual code review to help generate more examples with less effort.

    Automatically generating self-invoking code generation problems (source: arXiv)

    A complex landscape

    This new family of benchmarks comes at a time when old coding benchmarks are quickly being conquered by frontier models. Current frontier models such as GPT-4o, o1, and Claude 3.5 Sonnet already have very high scores on HumanEval and MBPP as well as their more advanced versions, HumanEval+ and MBPP+. 

    At the same time, there are more complex benchmarks such as SWE-Bench, which evaluate models’ capabilities in end-to-end software engineering tasks that require a wide range of skills such as using external libraries and files, and managing DevOps tools. SWE-Bench is a very difficult benchmark and even the most advanced models are showing modest performance. For example, OpenAI o1 is inconsistent on SWE-Bench Verified.

    Self-invoking code generation sits somewhere between the simple benchmarks and SWE-Bench. It helps evaluate a very specific type of reasoning ability: using existing code within a module to tackle complex problems. Self-invoking code benchmarks can prove to be a very practical proxy for the usefulness of LLMs in real-world settings, where human programmers are in control and AI copilots help them accomplish specific coding tasks in the software development process.

    “HumanEval Pro and MBPP Pro are positioned to serve as valuable benchmarks for code-related evaluations and to inspire future LLM development by shedding light on current model shortcomings and encouraging innovation in training methodologies,” the researchers write.



    Source link
  • The Download: Greener steel, and what 2025 holds f…

    The Download: Greener steel, and what 2025 holds f…


    As of 2023, nearly 2 billion metric tons of steel were being produced annually, enough to cover Manhattan in a layer more than 13 feet thick.

    Making this metal produces a huge amount of carbon dioxide. Overall, steelmaking accounts for around 8% of the world’s carbon emissions—one of the largest industrial emitters and far more than such sources as aviation.

    A handful of groups and companies are now making serious progress toward low- or zero-emission steel. Among them, the Swedish company Stegra stands out. The startup is currently building the first industrial-scale plant in the world to make green steel. But can it deliver on its promises? Read the full story.

    —Douglas Main

    Green steel is one of our 10 Breakthrough Technologies for 2025, MIT Technology Review’s annual list of tech to watch. Check out the rest of the list, and cast your vote for the honorary 11th breakthrough.

    2025 is a critical year for climate tech

    —Casey Crownhart

    I love the fresh start that comes with a new year. And one thing adding a boost to my January is our newest list of 10 Breakthrough Technologies.

    As I was looking over the finished list this week, I was struck by something: While there are some entries from other fields that are three or even five years away, all the climate items are either newly commercially available or just about to be. It’s certainly apt, because this year in particular seems to be bringing a new urgency to the fight against climate change. It’s time for these technologies to grow up and get out there. Read the full story.

    This story is from The Spark, our weekly climate and energy newsletter. Sign up to receive it in your inbox every Wednesday.



    Source link

  • These High Savings APYs Can Help You Reach Your Mo…

    These High Savings APYs Can Help You Reach Your Mo…


    • High-yield savings account rates are still over 4% at some banks and credit unions. 
    • High APYs may not last for long, so don’t wait to start earning. 
    • If you set up automatic deposits, high-yield savings accounts can help you get into the habit of saving regularly.

    Sticking to a New Year’s resolution can be challenging, but the best high-yield savings accounts can help you reach your money goals faster. With rates as high as 5% annual percentage yield, or APY, these accounts are perfect for replenishing your savings after some holiday spending or for creating a sinking fund for a summer vacation.

    By setting up regular automatic transfers into your savings account, you can get in the habit of saving without even thinking about it. 

    Even though APYs have fallen from their highs after the Federal Reserve cut interest rates, you’ll still earn 10x more than the APYs that traditional savings accounts offer. Here’s which banks offer the best rates, plus which factors to weigh when choosing the best account for you. 

    Today’s best savings rates

    Bank APY* Min. deposit to open
    Varo 5.00%** $0
    Newtek Bank 4.70% $0
    LendingClub 4.75% $0
    Bask Bank 4.50% $0
    EverBank 4.40% $0
    Laurel Road 4.15% $0
    Synchrony Bank 4.10% $0
    American Express 3.80% $0
    Capital One 3.80% $0

    Experts recommend comparing rates before opening a savings account to get the best APY possible. Enter your information below to get CNET’s partners’ best rate for your area.

    How much savings rates have changed over the past week

    Last week’s CNET average savings APY* This week’s CNET average savings APY Weekly change
    4.21% 4.20% -0.24%

    How often should you shop for a new savings rate? 

    Experts recommend comparing rates, offers and fees once a year. If you have a traditional savings account with a 0.01% APY, it’s likely worth switching to a high-yield savings account to help grow your money faster. 

    But it may not be worth the effort to move your money every time you see a rate slightly higher than your current account.

    “If you have a HYSA with a bank or credit union that has worked well for you and don’t have much of a reason to switch besides maybe an extra 0.1% increase in HYSA with another bank, it isn’t worth it to switch,” said Danielle Flores, a member of CNET Money’s Expert Review Board and founder of I Like to Dabble.

    For example, let’s say you make a one-time deposit of $500 into a HYSA with a 4.2% APY. If the rate stays the same for the next three months, you’ll earn $5.17 in interest. If you find a bank with a 4.4% APY and make the same deposit, you’ll earn $5.41 — a 24-cent difference.

    Features to consider when opening a savings account

    Here are some things to look for when opening a HYSA:

    • Minimum deposit requirements: Some HYSAs require a minimum amount to open an account, typically between $25 and $100. Others don’t require anything.
    • ATM access: Not every bank offers cash deposits and withdrawals. If you need regular ATM access, check to see if your bank offers ATM fee reimbursements or a wide range of in-network ATMs, said Lanesha Mohip, founder of the Polished CFO and member of CNET Money’s Expert Review Board.
    • Fees: Look out for fees for monthly maintenance, withdrawals and paper statements, said Mohip. The charges can eat into your balance.
    • Accessibility: If you prefer in-person assistance, look for a bank with physical branches. If you’re comfortable managing your money digitally, consider an online bank.
    • Withdrawal limits: Some banks charge an excess withdrawal fee if you make more than six monthly withdrawals. If you may need to make more, consider a bank without this limit.
    • Federal deposit insurance: Make sure your bank or credit union is insured with the Federal Deposit Insurance Corporation or the National Credit Union Administration, respectively. This way, your money is protected up to $250,000 per account holder, per category, if the bank fails.
    • Customer service: Choose a bank that’s responsive and makes it easy to get help with your account if you need it. Read online customer reviews and contact the bank’s customer service to get a feel for working with the bank.

    Methodology

    CNET reviewed savings accounts at more than 50 traditional and online banks, credit unions and financial institutions with nationwide services. Each account received a score between one (lowest) and five (highest). The savings accounts listed here are all insured up to $250,000 per person, per account category, per institution, by the FDIC or NCUA.

    CNET evaluates the best savings accounts using a set of established criteria that compares annual percentage yields, monthly fees, minimum deposits or balances and access to physical branches. None of the banks on our list charge monthly maintenance fees. An account will rank higher for offering any of the following perks:

    • Account bonuses
    • Automated savings features
    • Wealth management consulting/coaching services
    • Cash deposits
    • Extensive ATM networks and/or ATM rebates for out-of-network ATM use

    A savings account may be rated lower if it doesn’t have an easy-to-navigate website or if it doesn’t offer helpful features like an ATM card. Accounts that impose restrictive residency requirements or fees for exceeding monthly transaction limits may also be rated lower.

    *APYs as of Jan. 6, 2025, based on the banks we track at CNET. Weekly percentage increase/decrease from Dec. 30, 2024, to Jan. 6, 2025.
    **Varo offers 5% APY only on balances of less than $5,000.

    More savings advice 





    Source link

  • TikTok and Government Clash in Last Round of Supre…

    TikTok and Government Clash in Last Round of Supre…


    The two sides in the momentous clash at the Supreme Court over a measure that could shut down TikTok made their closing written arguments on Friday, sharply disputing China’s influence over the site and the role the First Amendment should play in evaluating the law.

    Their briefs, filed on an exceptionally abbreviated schedule set last month by the justices, were part of a high-stakes showdown over the government’s insistence that ByteDance, TikTok’s parent company, sell the app’s operations in the United States or shut it down. The Supreme Court, in an effort to resolve the case before the law’s Jan. 19 deadline, will hear arguments at a special session next Friday.

    The court’s ruling, which could come this month, will decide the fate of a powerful and pervasive cultural phenomenon that uses a sophisticated algorithm to feed a personalized array of short videos to users. TikTok has become, particularly for younger generations, a leading source of information and entertainment.

    “Rarely if ever has the court confronted a free-speech case that matters to so many people,” a brief filed Friday on behalf of a group of TikTok users said. “170 million Americans use TikTok on a regular basis to communicate, entertain themselves, and follow news and current events. If the government prevails here, users in America will lose access to the platform’s billions of videos.”

    The briefs made only glancing or indirect references to President-elect Donald J. Trump’s unusual request last week that the Supreme Court temporarily block the law so that he can address the matter once he takes office.

    The deadline set by the law for TikTok to be sold or shut down is Jan. 19, the day before Mr. Trump’s inauguration.

    “This unfortunate timing,” his brief said, “interferes with President Trump’s ability to manage the United States’ foreign policy and to pursue a resolution to both protect national security and save a social-media platform that provides a popular vehicle for 170 million Americans to exercise their core First Amendment rights.”

    The law allows the president to extend the deadline for 90 days in limited circumstances. But that provision does not appear to apply, as it requires the president to certify to Congress that there has been significant progress toward a sale backed by “relevant binding legal agreements.”

    TikTok’s brief stressed that the First Amendment protects Americans’ access to the speech of foreign adversaries even if it is propaganda. The alternative to outright censorship, they wrote, is a legal requirement that the source of the speech be disclosed.

    “Disclosure is the time-tested, least-restrictive alternative to address a concern the public is being misled about the source or nature of speech received — including in the foreign-affairs and national-security contexts,” TikTok’s brief said.

    The users’ brief echoed the point. “The most our customs and case law permit,” it said, “is a requirement to disclose foreign influence, so the people have full information to decide what to believe.”

    The government said that approach would not work. “Such a generic, standing disclosure would be patently ineffective,” Elizabeth B. Prelogar, the U.S. solicitor general, wrote on Friday.

    In a brief filed last week in the case, TikTok v. Garland, No. 24-656, the government said foreign propaganda may be addressed without violating the Constitution.

    “The First Amendment would not have required our nation to tolerate Soviet ownership and control of American radio stations (or other channels of communication and critical infrastructure) during the Cold War,” the brief said, “and it likewise does not require us to tolerate ownership and control of TikTok by a foreign adversary today.”

    The users’ brief disputed that statement. “In fact,” the brief said, “the United States tolerated the publication of Pravda — the prototypical tool of Soviet propaganda — in this country at the height of the Cold War.”

    TikTok itself said the government was wrong to fault it for its failure to “squarely deny” an assertion that “ByteDance has engaged in censorship or manipulated content on its platforms at the direction of” the Chinese government.

    Censorship is “a loaded term,” TikTok’s brief said. In any event, the brief added, “petitioners do squarely deny that TikTok has ever removed or restricted content in other countries at China’s request.”



    Source link

  • Generative Logic – O’Reilly

    Generative Logic – O’Reilly


    Alibaba’s latest model, QwQ-32B-Preview, has gained some impressive reviews for its reasoning abilities. Like OpenAI’s GPT-4 o1,1 its training has emphasized reasoning rather than just reproducing language. That seemed like something worth testing out—or at least playing around with—so when I heard that it very quickly became available in Ollama and wasn’t too large to run on a moderately well-equipped laptop, I downloaded QwQ and tried it out. I also tried a few competing models: GPT-4 o1 and Gemma-2-27B. GPT-4 o1 was the first model to claim that it had been trained specifically for reasoning. Gemma, as far as I know, makes no such claim.

    How do you test a reasoning model? It’s not as easy as just checking facts. I thought, “Maybe I could ask it to prove Fermat’s Last Theorem,” but I quickly realized that the only response I’d be able to evaluate was “I can’t prove this.” (Which was, in fact, the response I received from all three models.) I can’t prove Fermat’s Last Theorem either, nor do I claim to understand any of the massive proof that mathematicians have accepted. If QwQ sputtered out a few thousand tokens of “proof,” I could fairly confidently say that its reasoning was flawed—just because I know the actual proof is much longer, a hundred pages of dense mathematical reasoning. But that’s hardly a valid test.



    Learn faster. Dig deeper. See farther.

    What about Fermat’s Little Theorem? That’s a lot easier, but it’s a textbook example, so whatever the result, I’d never know whether QwQ reasoned correctly or if it just managed to parrot something from its training set. There are more than a few math textbooks online, and it’s fair to assume that all of them are in the training data.

    So I tried a slightly more obscure example: Prove that if a number consists only of ones (like 11,111,111) and is prime, the number of digits (all 1s) must also be prime. I’ve managed to prove this, but it’s not a problem that’s famous enough to attract textbook attention. So let’s go! Here’s QwQ’s proof:

    >>> Can you prove that if all the digits of a prime number are 1,
    then the number of digits must be prime?

    Let’s tackle this problem step by step. So, the statement is: If all the digits of a prime number are 1, then the number of digits must be prime. Hmm, interesting. Let’s break this down.

    First, let’s understand what we’re dealing with. We have a prime number where all its digits are 1. For example, numbers like 11, 111, 1111, etc., but only considering those that are prime. We need to prove that the number of digits in such a prime number must itself be a prime number.

    Let me think about this. Let’s denote the number of digits by \( n \). So, the number is composed of \( n \) ones. Such numbers are known as repunit numbers. A repunit is a number consisting solely of ones in its decimal representation. For example, \( R_2 = 11 \), \( R_3 = 111 \), \( R_4 = 1111 \), and so on, where \(\ R_n \) denotes a repunit of length \( n \).

    Our goal is to show that if \( R_n \) is prime, then \( n \) must be prime.

    Let’s consider the contrapositive of this statement. The contrapositive of “If \( R_n \) is prime, then \( n \) is prime” is “If \( n \) is not prime, then \( R_n \) is not prime.” If we can prove the contrapositive, that will establish the original statement.

    …and so on, until…

    **Final Answer**
    \[ \boxed{\text{If } R_n \text{ is prime,
    then } n \text{ is prime.}} \]

    I’ve spared you the (very) chatty proof—if you want to see it, put QwQ to the text yourself. Suffice it to say that it was correct. Both GPT-4 o1 and Gemma-2-27B gave me the same proof but with less chatter. Gemma skipped some steps that a human might consider obvious.2

    Next, can we go a step farther and generalize?

    >>> does this proof hold for
    bases other than base 10?

    That’s an interesting question! Let’s explore whether this proof can be extended to bases other than base 10.

    In base \( b \), a repunit of length \( n \) is defined as:
    \[ R_n^{(b)} = \frac{b^n - 1}{b - 1} \]

    …and so on…

    Again, try it yourself—and again, QwQ proved it correctly. This second proposition isn’t as likely to show up in textbooks or other resources; it’s less of a proof than an observation that the original proof didn’t make any assumptions about the base.

    When I asked GPT to prove the same theorem, I got a very similar (and correct) proof, stated more formally and with less color commentary. That isn’t particularly surprising, since GPT has also been trained to reason. I was more surprised to see that Gemma-2-27B also gave me a correct proof. Gemma has been trained on mathematical texts but not specifically on “reasoning.” (Perhaps Google’s marketing never thought to call this training “reasoning.”) Gemma omitted some of the steps—steps a regular human would probably omit as obvious but that a mathematician would write out for completeness. (Just to make sure, I asked GPT to confirm that Gemma’s proof was correct. It agreed.)

    Have we proven that training models to reason “works”? Well, we can’t claim to have proven anything on the basis of one successful trial—or, for that matter, on the basis of an extremely large number of trials. (In case you’re wondering, Gemma-2-7B, an even smaller model, failed.) But we have learned something very important. Think about the size of the models: OpenAI has said nothing about the size of GPT-4 o1, but it is rumored to have over a trillion parameters. QwQ weighs in at 32 billion parameters, and Gemma-2-27B at 27 billion. So QwQ and Gemma2 are between nearly two orders of magnitude smaller than GPT. Furthermore, GPT runs on what must be considered one of the world’s largest supercomputers. We don’t know the size, but we do know that OpenAI’s infrastructure is massive and includes a large percentage of the world’s high-end GPUs. QwQ and Gemma ran happily on my MacBook Pro. They made the fan spin and sucked down the battery but nothing extraordinary. Granted, GPT is serving thousands of users simultaneously, so it isn’t really a fair comparison. But it’s important to realize that GPT isn’t the only game in town and that models running locally can equal GPT on nontrivial tasks. Most people who have experimented with running models locally have come to similar conclusions, but think about what this means. If you’re building an AI application, you don’t have to tie yourself to OpenAI. Smaller open models can do the job—and they’ll shield you from OpenAI’s bills (and inevitable price increases), they’ll let you keep your data local, and they’ll leave you in control of your destiny.

    What else can we learn? I have wondered how a language model can be trained for logic; my intuition said that would be a harder and more complex problem than training it for language. My intuition was wrong. I don’t know how these models were trained, but I now think that producing logic successfully is, in many ways, simpler than generating language. Why? QwQ’s verbosity gives us a big hint: “Let’s consider the contrapositive of this statement.” A contrapositive is simply a logical pattern: If A implies B, then not B implies not A. What other logical patterns can we think of? Syllogisms: If A implies B and B implies C, then A implies C. Proof by contradiction: To prove that A implies B, assume that A implies not B and show that assumption is false. Induction: Show that if A(n) implies B(n), then A(n+1) implies B(n+1); then show that A(0) implies B(0).

    It would be easy to grow a much longer list of patterns. There are better notations to represent these patterns, but a longer list and better representations aren’t important here. What’s important is to realize that these are patterns—and that composing logical patterns into logical statements or proofs isn’t fundamentally different from composing words (or tokens) into sentences. Is pushing patterns around the essence of logic? That’s not a fair question: It’s logic if you do it correctly, illogic if you don’t. The logic isn’t in the patterns but in knowing how to assemble the patterns to solve problems—and the process of assembling patterns has to be the focus of training, looking at millions of examples of logical reasoning to model the way patterns are assembled into wholes. Any of these logical patterns can lead you astray if you’re not careful; it’s easy to construct false syllogisms by starting with premises that are incorrect. I don’t expect logic to cure the problem of hallucination. But I suspect that training a model in logical patterns is a better way for the model to “learn” logic than simply training it on words (human utterances). That’s the bet that OpenAI, Alibaba, and possibly Google are making—and they seem to be winning.

    Can we go further? Are there other kinds of patterns that language models could be trained on? Yes. Generative AI has proven useful for generating code but hasn’t (yet) made significant inroads into software design. Could training models specifically on design patterns be a breakthrough?3 I don’t know, but I’d like to see someone try. A model specialized for software design would be worth having.

    Could we do better with generative music if we trained models on the patterns analyzed in music theory, in addition to audio? Applications like Suno are a lot of fun, but when you get down to it, they’re just repeating the clichés of common musical styles. Would it help to give Suno some knowledge of music theory, knowledge of the patterns behind music in addition to the music itself? Would language models write better poetry if they were trained on the patterns found in poetic language (rhetorical devices, figurative speech) rather than just words? One of my first experiments with generative AI was to ask GPT-3 to write a Petrarchan sonnet, which has a different structure from the more common Shakespearian sonnet. GPT-3 and its contemporaries failed. It was a long time before I found a model that could do that successfully; although most models could define a Petrarchan sonnet, they could only generate Shakespearean sonnets. That generation of models was trained only on the words, not the larger patterns.

    Is this a way forward for AI? I don’t know, but I’d like to see AI researchers try. In the meantime, though, it’s enough to realize that, powerful as the GPT models are, you can run small open models on a laptop or a phone that perform equally well.


    Footnotes

    1. I tested on the Preview, which has now been promoted to GPT-4 o1. I did not retest with the final o1, which presumably has had further training and optimization.
    2. I later decided that it was unfair to omit Claude. So I tried Claude’s small Haiku model (8B parameters) and got a correct proof. Of the group, it was the most terse and required the most thought to see that it was correct.
    3. Design patterns are generally associated with object-oriented design, but the concept is really more general. Design patterns attempt to name for solutions to problems that you see every day; naming the solution allows you to talk about it. That definition is applicable to any discipline, including functional programming and (of course) architecture.





    Source link