Connect with us

Société

Webm@g. Les destins inattendus des premières Miss France

Published

on

Spread the love


Miss Lyon 1930 épouse un prince kadjar, Miss Jura 1926 est la toute première, Miss France 1935 serait allemande, le public remplace Miss Côte-d’Azur par Miss Maroc… Parfois la petite histoire des Miss France raconte toute une époque.

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

France9 mins 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é...

International11 mins 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...

Sports21 mins 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...

International22 mins 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...

France31 mins 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é34 mins 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...

Divertissements40 mins 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...

Afrique49 mins 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...

France51 mins 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...

France1 hour 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,...

International1 hour ago

Biden under intense pressure from Democrats to drop out of presidential race

Spread the loveUS President Joe Biden has reportedly become more open in recent days to hearing arguments that he should end...

Santé1 hour ago

Pour les Jeux Olympiques, Rihanna sera de la partie, mais pas comme on l’espérait

Spread the love JAMIE MCCARTHY / Getty Images via AFP Une photo d’illustration de Rihanna assistant au 2023 Met Gala...

Sports1 hour ago

Savio: Manchester City sign Brazil winger from Troyes until 2029

Spread the love Manchester City have signed Brazil winger Savinho from French side Troyes until 2029 in a deal worth...

International1 hour ago

Ex-NFL star DeSean Jackson grabs new girlfriend’s butt in steamy photo from tropical vacation

Spread the love By Oliver Salt Published: 01:43 BST, 19 July 2024 | Updated: 01:48 BST, 19 July 2024 Former...

France2 hours ago

“On ne s’est plus quittés” : comment Charlotte Gaccio a rencontré son mari à l’âge de 14 ans : Femme Actuelle Le MAG

Spread the love Nous avons un cadeau pour vous Créez un compte et inscrivez-vous à la newsletter Femme Actuelle pour...

France2 hours ago

qu’est-ce que la trêve olympique ?

Spread the love La «trêve olympique», ou «Ekecheiria», est une tradition qui fut instituée dans la Grèce antique au IXe...

Divertissements2 hours ago

Dés Gratuits & Tours Gratuits (19/07/24)

Spread the love Tous les jours, retrouvez sur Monopoly GO des lancers de dés gratuits grâce à nos liens actualisés...

France2 hours ago

Royaume-Uni : des militants écologistes de Just Stop Oil condamnés à 4 et 5 ans de prison

Spread the love « Chacun d’entre vous a franchi, il y a quelque temps, la ligne qui sépare le militant inquiet...

Afrique2 hours ago

Présidentielle 2025 en Côte d’Ivoire : la révision de la liste électorale programmée

Spread the love Le processus pour le démarrage des scrutins pour la présidentielle 2025 en Côte d’Ivoire suit son coup....

Santé2 hours ago

La Nasa annule une mission sur la Lune après y avoir investi 450 millions de dollars

Spread the love La lecture de ce contenu est susceptible d’entraîner un dépôt de cookies de la part de l’opérateur...

Advertisement

Trending