softwaredevelopment
By Paul Krill Visual Studio Code 1.89, the April 2024 release of Microsoft’s popular code editor, has arrived with capabilities including enhanced branch switching and middle-click paste support. The update, downloadable from the project website, was announced May 2. Enhanced branch switching addressed a long-standing feature request to save and restore editors when switching between source control branches. Developers can use the scm.workingSets.enabled setting to enable this capability. The new VS Code release also lets developers get a quick preview of an image or video in Markdown by hover...
Info World
By Paul Krill Rust 1.78, just released as the latest version of the popular, memory-safe programming language, adds backing for a #[diagnostic] attribute namespace to influence compiler messages. These messages are treated as hints that the compiler is not required to use, the Rust team said. Also it is not an error to provide a diagnostic that the compiler does not recognize. The feature is designed to allow source code to provide diagnostics even when they are not supported by all compilers. Announced May 2, Rust 1.78 can be installed via rustup: $ rustup update stable Another feature in Rus...
Info World
By Joydip Kanjilal ASP.NET Core offers a simplified hosting model, called minimal APIs, that allows us to build lightweight APIs with minimal dependencies. However, “minimal” doesn’t mean minimal security. Minimal APIs need authentication too. We’ve explored JWT authentication in an earlier post here. In this article we’ll examine how we can build a basic authentication handler for minimal APIs in ASP.NET Core. Below we’ll implement a basic authentication handler that will identify and authenticate the user. Because we will validate the user’s identity using credentials stored in a database, w...
Info World
By Paul Krill Microsoft has introduced TypeSpec, a language for API-centric development. Unveiled April 25, TypeSpec is designed to meet the needs of API developers, managers, and architects in an environment where delivering high-quality APIs and related experiences has become increasingly critical and complex, Microsoft said. The company described TypeSpec as a lightweight language that describes APIs using any protocol or serialization format and encapsulates common data types, API patterns, and API guidelines into high level, reusable components. It can define complex data and API shapes w...
Info World
By Kjell Carlsson Responsible AI (RAI) is needed now more than ever. It is the key to driving everything from trust and adoption, to managing LLM hallucinations and eliminating toxic generative AI content. With effective RAI, companies can innovate faster, transform more parts of the business, comply with future AI regulation, and prevent fines, reputational damage, and competitive stagnation. Unfortunately, confusion reigns as to what RAI actually is, what it delivers, and how to achieve it, with potentially catastrophic effects. Done poorly, RAI initiatives stymie innovation, creating hurdle...
Info World
By Simon Bisson How do we ensure that the code we’re installing is, at the very least, the code that a vendor shipped? The generally accepted solution is code signing, adding a digital signature to binaries that can be used to ensure authorship. At the same time, the signature includes a hash that can be used to show that the code you’ve received hasn’t been altered after it’s been signed. Code signing is increasingly important as part of ensuring software bills of materials and reducing the risks associated with malware hijacking legitimate binaries. Signing is necessary if you’re planning on...
Info World
By Rafael del Nero Developers often need to perform programming operations such as retrieving the current date, manipulating dates, and formatting dates in their applications. While Java's traditional java.util.Calendar class had its day, the newer LocalDate class does more with significantly fewer lines of code. This article introduces you to LocalDate and the java.time API for using dates, times, and durations in your programs. Note: Introduced in Java 8, java.time standardizes many elements of the popular Joda-Time library. Concepts introduced here can be applied to either library but the J...
Info World
By Paul Krill Svelte 5, a planned update to the reactive UI framework, has reached the release candidate phase. No breaking changes are anticipated between now and the stable release. The release candidate was announced on April 30. It features a rewrite of Svelte to be faster, easier to use, and more robust. Runes, a signal-powered reactivity API, is a highlight of this release. Runes promises to unlock universal, fine-grained reactivity, the Svelte team said. Other highlights in Svelte 5 include: Components written for Svelte 4 will continue to work, with several exceptions. Components are n...
Info World
By Paul Krill Along with releasing Python specialists, Google also has laid off Flutter and Dart teams according to various reports. Google did not respond this morning to InfoWorld's inquiry about Flutter and Dart layoffs. But comments were circulating online about staff reductions at Google. Flutter is an open source framework for building multi-platform applications from a single codebase. Dart, a language leveraged by Flutter, was once positioned as a rival to JavaScript. Google pledged to unveil updates to Flutter at the Google I/O conference in two weeks. With the reduction of staff for ...
Info World
By Anirban Ghoshal MongoDB has introduced the MongoDB AI Applications Program, or MAAP, to help enterprises jumpstart their development of generative AI applications. MAAP, according to the company, will offer enterprises strategic advice, professional services, and an integrated end-to-end technology stack from MongoDB and its partners. These partners include consultancies, foundation model (FM) providers, cloud infrastructure providers, and generative AI framework and model hosting providers including Anthropic, Anyscale, Amazon Web Services (AWS), Cohere, Credal.ai, Fireworks.ai, Google Clo...
Info World
閲覧を続けるには、ノアドット株式会社が「プライバシーポリシー」に定める「アクセスデータ」を取得することを含む「nor.利用規約」に同意する必要があります。
「これは何?」という方はこちら