Connect with us

Société

Les nouvelles du marché | LesAffaires.com

Published

on

Spread the love

(Illustration: Camille Charbonneau)

L’ESSENTIEL DE L’ACTUALITÉ

• Biden et McCarthy tentent de dénouer l’impasse sur le plafond de la dette. Le président Joe Biden et les principaux représentants républicains et démocrates du Congrès doivent se réunir cette semaine pour tenter de dénouer l’impasse de trois mois qui perdure sur le plafond de la dette américaine, qui s’élève à 31 400 G$ US, et ainsi d’éviter un défaut de paiement avant la fin du mois de mai. 

• AltaGas recrute le directeur financier d’Enbridge comme chef de la direction. AltaGas a nommé Vern Yu, d’Enbridge, comme prochain président et chef de la direction de l’entreprise, à compter du 1er juillet 2023.

• Les banques régionales américaines en hausse après une semaine difficile. Les actions des banques régionales américaines ont fortement progressé dans les échanges avant l’ouverture des marchés lundi, alors que les investisseurs reviennent sur la pointe des pieds dans le secteur après que la faillite de First Republic Bank la semaine dernière ait déclenché un nouveau cycle de vente généralisé. 

• Tyson Foods réduit ses prévisions de ventes, ralentissement de la demande. Tyson Foods a revu à la baisse ses prévisions de chiffre d’affaires pour l’ensemble de l’année, signe que les hausses de prix et l’inflation persistante découragent les consommateurs d’acheter ses produits.

• Chute de 26 % du bénéfice de KKR, qui dépasse tout de même les attentes. KKR a dévoilé que son bénéfice distribuable après impôt avait chuté de 26 % en glissement annuel au premier trimestre, en raison d’une forte baisse des ventes d’actifs de son portefeuille d’investissements et d’une diminution des frais de transaction.

 

TENDANCES AVANT L’OUVERTURE

Les contrats à terme du principal indice boursier canadien sont en hausse en raison de la vigueur des prix du pétrole. Les contrats à terme de Wall Street sont en légère avance avant la publication cette semaine des données sur l’inflation, qui pourraient donner des indices sur la politique monétaire de la Réserve fédérale. Les titres européens se transigent en territoire positif, profitant des secteurs des banques et de l’énergie. Sur les marchés asiatiques, les actions japonaises ont terminé la séance en baisse, alors que les investisseurs ont liquidé leurs actifs face au yen japonais qui gagne du terrain face au dollar américain et en raison des préoccupations liées au secteur bancaire américain. Les prix de l’or sont en légère avance, alors que le dollar américain est en repli.

 

(Re) lire toutes les nouvelles du marché

TITRES À SUIVRE

• AltaGas et Enbridge: AltaGas a nommé Vern Yu, d’Enbridge, comme prochain président et chef de la direction de l’entreprise, à compter du 1er juillet 2023. Yu succédera à Randy Crawford, qui occupe le poste de PDG d’AltaGas depuis 2018. Yu rejoint AltaGas après avoir passé trois décennies chez l’exploitant de pipelines Enbridge, où il a récemment occupé les postes de vice-président directeur du développement de l’entreprise, de directeur financier et de président du segment des technologies des nouvelles énergies.

 

Cliquer sur suivant pour voir les recommandations:

Advertisement
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Société

Developer productivity poorly understood, report says

Published

on

Spread the love

Developer productivity is neither well-understood nor enabled, according to Atlassian’s just-released State of Developer Experience Report 2024. The report also found that interest in the developer experience, or DX, is growing but efforts are lagging.

Announced July 15 and accessible at atlassian.com, the State of Developer Experience Report 2024 is based on a survey of 1,250 engineering leaders in the US, Germany, France, and Australia, and 900 developers around the world. The survey was intended to find out what practices keep software development work flowing smoothly and what practices introduce friction. Feelings about work environments in the age of generative AI and microservices also were assessed. Among the findings were that less than half of developers believe their organizations prioritize developer experience and two out of three developers lose more than eight hours a week due to inefficiencies in their roles. Also, two out of three developers are not seeing significant productivity gains from using AI tools yet.

The top five contributors to developer role complexity, according to engineering leaders, include understaffing, expansion of the developer role, new technology, switching context between tools, and collaboration with other teams. The top five contributors to developer time loss cited include technical debt, insufficient documentation, build processes, lack of time for deep work, and lack of clear direction. Almost all engineering leaders surveyed, 99%, acknowledge that the developer role has become more complex. The top five practices leaders believe will improve developer productivity and satisfaction include AI automation, provision of new collaboration tools, risk taking and experimentation, streamlining decision-making, and hosting hackathons.

Continue Reading

Société

Talk of GitLab sale highlights growing importance of DevSecOps platforms

Published

on

Spread the love

By connecting these two capabilities, he said, development teams can release and monitor their applications with a single platform. “Whether that makes sense from a business perspective is a matter for those two companies to decide, but most definitely, enterprise platform teams are linking those capabilities together on their own.”

Platform compatibility

John Annand, research practice lead at Info-Tech Research Group, also thinks that, if a Datadog deal occurred, it could be a good match.

“GitLab is a very popular DevSecOps tool that lets enterprises optimize their pre-production activities rather than having to build their own CI/CD and testing pipelines from multiple vendors’ products and from scratch,” he said in an email. “Datadog’s product is all the information about how a deployed application behaves once it’s left the dev environment and is forced to deal with real-world conditions.”

Continue Reading

Société

How to use HybridCache in ASP.NET Core

Published

on

Spread the love

The key benefits of HybridCache are greater simplicity, improved performance, and enhanced efficiency.

HybridCache is an abstract class pertaining to the Microsoft.Extensions.Caching.Hybrid namespace. To store data to the cache and retrieve data from the cache, you use the GetOrCreateAsync method of the HybridCache class. This method takes advantage of the cache key to retrieve an object from the primary cache.

Now, if the object requested by the application is not available in the cache, i.e., in the case of a cache miss, the method checks the secondary cache if it is configured. If the data is not available there, the method stores the object in both the primary and secondary caches.

Continue Reading

Société

Building next-generation applications with the Windows Application SDK

Published

on

Spread the love

Download channels show upcoming features

The Windows App SDK is available in three different channels; you can choose between the current stable release, a preview release for features that should ship soon, or an experimental channel where new features are trialed. The current supported release is Version 1.5.5, released early in July 2024. The next major release will be in six months or so. The current preview release predates the current build, so a new version should be available soon. Experimental builds are based on the development tree of the planned 1.6 release, with a second release in July 2024.

Microsoft provides a list of the features available in each channel, along with the current support life cycle. Versions are supported for a year from initial release, so the current 1.5 release will be in support until the end of February 2025, with Version 1.4 dropping out of support at the end of August 2024. There’s one unusual caveat to the Windows App SDK support: Although it offers compatibility back to Windows 10 Version 1809, technically only in-support versions of Windows are covered.

The Windows App SDK and the Copilot Runtime

The Windows App SDK is intended to be a key component of the Copilot Runtime, hosting, among other features, artificial intelligence APIs based on the Phi Silica local generative AI model and AI-powered OCR services. However, these promised features are still missing from the current Version 1.6 experimental builds, two months after Build. If Microsoft wants to shift developers’ attention to Windows, it needs to capitalize on the capabilities of its new hardware and ship Copilot Runtime APIs as soon as possible and accelerate the transition of Version 1.6 from experimental to production.

Continue Reading

Société

Google’s Genkit for Go brings AI app development to Go language

Published

on

Spread the love

Google has unveiled Genkit for Go, an open-source framework for building AI-powered applications and cloud services natively in Go. The project is a collaboration between Google’s Firebase and Go language teams.

Introduced July 17 and currently in an alpha state, Genkit for Go enables developers to build generative AI applications by combining Go’s performance and concurrency advantages with Genkit’s libraries and tools. Potential use cases include intelligent assistants that understand complex requests, customer support agents using retrieval-augmented generation (RAG), and data transformation tools that convert unstructured data such as natural language into structured formats (SQL, queries, tables) for deeper analysis.

A guide to getting started with Genkit for Go can be found at firebase.google.com. Genkit for Go follows the May introduction of Firebase Genkit for Node.js, for JavaScript and TypeScript developers. Genkit provides lightweight, composable abstractions to simplify development of sophisticated AI workflows without sacrificing control and customizability, Google said. The framework features:

Continue Reading

Société

Google rolls out new dev tools focusing on open source and GenAI

Published

on

Spread the love

IDC’s Dayaratna said he was particularly intrigued by Project Vanni because it directly addresses a particularly difficult coding obstacle, especially when development teams exist in many different countries speaking many different languages. The problem can also exist in countries with many different local languages, such as when widespread Indian teams have speakers writing in, for example, Hindi, Bengali, Marathi and Kannada.

The Vanni project is dealing with two difficult challenges. One is translating coding references without missing key technical details, especially when it is being translated into multiple languages. The second, potentially more severe, problem is doing these translations within a GenAI environment, where the algorithm can hallucinate or even simply try to extrapolate meaning where it might predict the next word incorrectly. If that happens, the translations become confusing and possibly destructive.

“What (coders) need is translation that is contextual and is specific to natural language prompts in software,” Dayaratna said, adding that translation specialized for developers “does not exist” yet. 

Continue Reading

Société

Deno adds workspaces for managing monorepos

Published

on

Spread the love

The latest update to the Deno TypeScript /JavaScript and WebAssembly runtime features workspace support along with Node.js compatibility improvements.

Deno 1.45 was introduced July 11. The release introduces workspaces for managing monorepos, simplifying dependency management, configuration sharing, and module organization across large code bases, Deno Land said. There are two forms of supported workspaces: Deno-first workspaces defined in deno.json and backwards-compatible NPM workspaces. Global configuration for these workspaces is applied to each member package but can be overridden by members. Developers can mix and match NPM and Deno workspaces, with an NPM package inside a Deno workspace or vice versa.

For Node.js compatibility, Node-API support has been revamped, fixing issues with packages such as prisma, sqlite3,  and  paper. Other Node.js compatibility improvements include working on support for dd.trace and support for fs.lutimes and fs.lutimesSync. Also, node:crypto and node:zlib were added. The node:http module was updated, with capabilities such as Server#close() now doing a graceful shutdown, allowing in-flight requests to finish. In another improvement, the node:vm will consume less memory. For NPM support, types shipped with the package are now preferred over types from @types scope.

Continue Reading

Société

Salesforce previews Einstein-powered service agent

Published

on

Spread the love

In order to create an Einstein Service Agent customized for an enterprise, its developers need to access the Einstein 1 platform, start creating a new copilot by giving its specific name and purpose, and then expose it to service topics, Nichols explained, adding that once the service topics are mapped and a LLM is selected, developers can assign knowledge-based actions to the agent.

These knowledge-based actions, according to the company, make the agent autonomous or allow the agent or chatbot to take actions without having a human in the loop, differentiating it from regular programmed chatbots or service agents.

One of the main differences between an older predictive chatbot and the Einstein Service Agent is its ability to understand intent because of its LLM base, said Keith Kirkpatrick, research director at The Futurum Group.

Continue Reading

Société

Mistral’s new Codestral Mamba to aid longer code generation

Published

on

Spread the love

The company tested Codestral Mamba on in-context retrieval capabilities up to 256k tokens — twice the number seen in OpenAI’s GPT4o — and found its 7B version performing better than open source models in several benchmarking tests, such as HumanEval, MBPP, Spider, and CruxE.

The larger 22B parameter version of the new model also performed significantly better than CodeLlama-34B with the exception of the CruxE benchmark.

While the 7B version is available under the Apache 2.0 license, the larger 22B version is available under a commercial license for self-deployment or community license for testing purposes.

Continue Reading

Société

Frequently sought solutions for JavaScript

Published

on

Spread the love


class CampingSpot {
  constructor(name, location) {
    this.name = name;
    this.location = location;
  }
    describeWater() {
      console.log("The water at " + this.name + " is very cold.");
    }
}

Now we can create instances of the CampingSpot object at will:


let willowCreek = new CampingSpot("Willow Creek", "Big Sur");
let sunsetStateBeach = new CampingSpot(“Sunset State Beach”, “Santa Cruz”);

6. Using remote APIs

Accessing APIs hosted on services is another common need in JavaScript programs. APIs provide access to external data and functionalities. Developers often seek solutions to fetch data from remote APIs, parse responses, and integrate them into their applications.

Fortunately, modern JavaScript includes the Fetch API in both client and server environments. This is a simple and direct way to make HTTP calls. For example, here’s how we’d get the list of Star Wars movies from the SWAPI service:


async function getStarWarsFilms() {
  try {
    const response = await fetch('https://swapi.dev/api/films');
    if (!response.ok) {
      throw new Error(`Error fetching Star Wars films: ${response.status}`);
    }
    const data = await response.json();
    console.log(data.results); 
  } catch (error) {
    console.error("Error:", error);
  }
}

getStarWarsFilms();

Because this is a GET request, we can just use fetch('https://swapi.dev/api/films'). Notice we use await, which I introduced earlier. That lets us pause while the request goes out and the response comes back.

We use the response object to determine if the request was good (an HTTP 200 response), using response.ok.

7. String manipulation

Strings are fundamental and used in all kinds of situations. Consider the following string:


const taoTeChingVerse1 = 
  `The Tao that can be told is not the eternal Tao. 
  The name that can be named is not the eternal name. 
  The nameless is the beginning of heaven and earth. 
  The named is the mother of all things,`;

Let’s say we wanted only the first line of the first verse:


const firstLine = taoTeChingVerse1.slice(0, 48);

This says: Give us the substring between the first character (0) until the 48th character, inclusive.

To search for the first occurrence of the word “Tao”, enter:


taoTeChingVerse1.indexOf("Tao"); // returns 4

Now, if you want to replace words, you use some simple regex. Here, we replace all occurrences of “told” with “spoken”:


const newText = text.replace(/told/g, "spoken");

The slashes indicate a regular expression, which we match on “told.” The suffix g indicates “global,” meaning all occurrences. The second argument to replace() is the token to swap in. (We wind up with “The Tao that can be spoken is not the eternal Tao.”)

If we need to concatenate two strings, a simple plus (+) operator will do the trick:


let fullVerse = taoTeChingVerse1 + “Having both but not using them, Think of them as the constant.”);

And, you can always count the string length with:


fullVerse.length; // return 261

8. Converting JSON objects to strings

Another common need is to take an actual JSON object and make it a string, or vice versa. Here’s how to take a live JSON object and make it a string:


let website = {
  name: “InfoWorld”,
  url: “www.infoworld.com”
}

let myString = JSON.stringify(website);

And here’s how to take the string and return it to an object:


JSON.parse(myString);

9. Simple date operations

There’s a lot you can do (and must do) with JavaScript’s built-in Date object.

To start, you can get today’s date like so:


const today = new Date();

And get its constituent parts like this:


console.log(today.getFullYear());  // Get the year (e.g., 2024)
console.log(today.getMonth());    // Get the month (0-indexed, e.g., 4 for May)
console.log(today.getDate());     // Get the day of the month (e.g., 21)
console.log(today.getHours());    // Get hours (e.g., 13 for 1 PM)
console.log(today.getMinutes());  // Get minutes (e.g., 27)
console.log(today.getSeconds());  // Get seconds (e.g., 46)

Here’s how to get seven days in the future:


date.setDate(date.getDate() + 7);

10. Creating, finding, and counting numbers

JavaScript today is pretty good with numbers. It natively handles most numbers and offers a built-in library, Math, for extra power.

You can create numbers:


let age = 30;
let pi = 3.14159;
let billion = 1000000000;

Or convert from a string:


let convertedNumber = Number(“42”);

Normal operations behave in obvious ways:


let addition = pi + 3; // addition now equals 6.14159

You can round numbers quickly:


Math.ceil(pi); // round to nearest upper integer (4)
Math.floor(pi); // round to lowest int (3)

Find the largest number:


Math.max(100, 5, 10, 73);  // returns 100

If you start with an array, you can use the spread operator:


let numbers = [100, 5, 10, 73];
Math.max(...numbers); // returns 100

Finally, here’s how to check for evenness:


let isEven = 10 % 2 === 0; // true (checks if remainder is 0)

Continue Reading
Advertisement

Derniers Articles

Santé5 mins ago

Donald Trump a fait son récit de la tentative d’assassinat à la convention républicaine

Spread the love CHIP SOMODEVILLA / Getty Images via AFP Donald Trump s’exprime à la convention républicaine le 18 juillet 2024....

France12 mins ago

ITW- Légende du roi Arthur : entre mythes et réalités

Spread the love Virginie Girod SAISON 2023 – 202405h00, le 19 juillet 2024   Depuis des siècles, les aventures du...

Actualités13 mins ago

Access Denied

Spread the love Access Denied You don’t have permission to access “http://information.tv5monde.com/international/assemblee-apres-la-bataille-du-perchoir-souvre-celle-des-postes-cles-la-place-du-rn” on this server. Reference #18.2691dd58.1721358852.121a3213 https://errors.edgesuite.net/18.2691dd58.1721358852.121a3213

International14 mins ago

Trump recounts assassination attempt in convention speech

Spread the loveFormer US President Donald Trump, in his first speech since surviving an attempted assassination, said on Thursday a last...

Sports24 mins ago

Leicester City: WSL side sign Jamaica’s Chantelle Swaby from Fleury

Spread the love Leicester City have signed Jamaica midfielder Chantelle Swaby on a free transfer. The 25-year-old has agreed a...

International25 mins ago

Caviar on tap, beach barbecues and a yacht for just 82 guests. A Caribbean cruise? It’s more like a giant floating house party

Spread the love By Sara Macefield For The Mail On Sunday Published: 11:59 BST, 18 July 2024 | Updated: 12:10...

France34 mins ago

les tentatives d’homicide ont explosé de 78% en France entre 2016 et 2023

Spread the love D’après les chiffres du Service statistique ministériel de la sécurité intérieure (SSMSI) dévoilés ce jeudi 18 juillet,...

Santé51 mins ago

Barack Obama plaide (en privé) pour le retrait de Joe Biden

Spread the love MANDEL NGAN / AFP Le président américain Joe Biden et l’ancien président américain Barack Obama, photographiés lors...

Afrique52 mins ago

Angleterre : Burna Boy reçoit une distinction à Londres

Spread the love Burna Boy a franchi une nouvelle étape révolutionnaire en devenant le premier artiste africain à cumuler 2...

France54 mins ago

JO Paris 2024, basket : à quelle heure et sur quelle chaîne suivre le match de préparation France-Japon ?

Spread the love À J-10 du lancement de leur tournoi olympique, les Bleus du basket seront sur le parquet pour...

France1 hour ago

Des députés LFI refusent de serrer la main à un jeune élu du RN : «Ils ont manqué de courtoisie», réagit ce dernier

Spread the loveLors du premier tour de la présidence de l’Assemblée nationale, c’est l’un des benjamins de l’hémicycle, le député...

International1 hour ago

Explosion in Tel Aviv, bomb disposal experts on site, say Israeli police

Spread the loveA powerful explosion of unknown origin went off in a building in Tel Aviv before 4:00 am (0100...

Sports1 hour ago

Lionesses’ Millie Bright awarded honorary doctorate

Spread the love 9 hours ago By Caroline Lowbridge, BBC News, Derby Footballer Millie Bright has been awarded an honorary doctorate by...

International1 hour ago

Breakthrough ‘take-at-home’ prostate cancer drug gets green light for NHS use, sparing patients from lengthy hospital visits throwing a lifeline to 40,000 men

Spread the love How many people does it kill?  More than 11,800 men a year – or one every 45...

France2 hours ago

à partir de quand peut-on parler de canicule ?

Spread the love L’été est bel et bien là, et avec lui les épisodes de canicule. Le mercure va grimper...

Santé2 hours ago

Après l’épisode CNews, l’Arcom renforce ses contrôles du pluralisme sur les chaînes de télés et radios

Spread the love GettyImages L’Arcom a annoncé ce jeudi 18 juillet renforcer son contrôle du pluralisme sur les chaines radios et...

Divertissements2 hours ago

Coin master spin : Liens tours gratuits (19/07/24)

Spread the love Tous les jours, vous pouvez récupérer des tours gratuits sur Coin Master Spin grâce à nos liens...

Afrique2 hours ago

Classement des télés en Côte d’Ivoire : Les émissions ‘’Willy à Midi’’ et ‘’Le Vrai Match’’ positionnent Life TV au second rang

Spread the love L’étude Médiamétrie de la période de mai à juin 2024, a dévoilé il y a peu le...

France2 hours ago

Angleterre – France U20 : à quelle heure et sur quelle chaîne suivre la finale du Mondial de rugby ?

Spread the love Après l’affaire Jegou-Auradou et les propos racistes de Melvyn Jaminet lors de cette même tournée sud-américaine, la...

France2 hours ago

Libre antenne – Véronique propose un hébergement dans une grande maison en échange elle demande des petits services

Spread the love Valérie Darmon SAISON 2023 – 202420h00, le 18 juillet 2024 Tous les soirs de 22h15 à 1h,...

Advertisement

Trending