Articles

Analyse de log avec grep

L’analyse de log avec grep est une méthode très pratique pour trouver des informations importantes dans les fichiers de log.

Mon récent voyage avec Linux et comment j’utilise grep pour analyser les journaux

Récemment, j’ai commencé un nouveau rôle en tant qu’ingénieur logiciel et, dans mon poste actuel, je passe beaucoup de temps dans le terminal. Bien que je sois un utilisateur Linux depuis longtemps, j’ai entamé mon voyage Linux après avoir été frustré par la configuration d’un environnement Node.js sous Windows pendant mes études universitaires. C’est à ce moment-là que j’ai découvert Ubuntu et que je suis tombé amoureux de la simplicité et de la puissance du terminal Linux. Malgré le fait que j’ai commencé mon voyage Linux avec Ubuntu, ma curiosité m’a poussé à essayer d’autres distributions, telles que Manjaro Linux et, finalement, Arch Linux. Sans aucun doute, j’ai une profonde affection pour Arch Linux. Cependant, au travail, j’utilisais macOS et, progressivement, j’ai également développé un amour pour macOS. Maintenant, j’ai basculé sur macOS comme pilote quotidien. Néanmoins, mon amour pour Linux, en particulier Arch Linux et la personnalisation étendue qu’il offre, reste inchangé.

Quoi qu’il en soit, dans ce post, je vais discuter de grep et de la façon dont je l’utilise pour analyser les journaux et découvrir des informations. Sans aucun doute, grep s’est avéré être un outil exceptionnellement puissant. Cependant, avant de plonger dans grep, voyons d’abord ce qu’est grep et comment il fonctionne.

Grep est un outil de ligne de commande qui peut être utilisé pour rechercher des chaînes de caractères spécifiques dans un fichier ou un ensemble de fichiers. Il est très utile pour rechercher des mots ou des expressions spécifiques dans un fichier. Grep prend en charge une variété d’options qui peuvent être utilisées pour affiner les résultats de recherche. Par exemple, l’option -i peut être utilisée pour ignorer la casse lors de la recherche d’une chaîne de caractères spécifique. L’option -v peut être utilisée pour afficher toutes les lignes qui ne contiennent pas la chaîne de caractères spécifique. Il existe également des options supplémentaires qui peuvent être utilisées pour affiner les résultats.

J’utilise principalement grep pour analyser les journaux et découvrir des informations. Par exemple, je peux utiliser grep pour rechercher des erreurs spécifiques dans les journaux afin de trouver des indices sur les causes possibles des erreurs. J’utilise également grep pour rechercher des chaînes de caractères spécifiques dans les journaux afin de trouver des informations sur l’utilisation et le comportement des utilisateurs. En outre, j’utilise grep pour tester le code source afin de trouver des erreurs ou des bogues potentiels. Enfin, j’utilise grep pour rechercher des informations spécifiques dans les fichiers de configuration afin de vérifier si les paramètres sont correctement configurés.

En bref, grep est un outil extrêmement puissant qui peut être utilisé pour rechercher des chaînes de caractères spécifiques dans un f

Source de l’article sur DZONE

Migrer de PHP 7.0 à PHP 8.1: tout ce qu'il faut savoir!

Migrer de PHP 7.0 à 8.1 peut être une tâche ardue, mais c’est nécessaire pour profiter des nouvelles fonctionnalités et améliorations. Découvrez tout ce qu’il faut savoir pour effectuer cette migration en toute sécurité !

PHP (Hypertext Preprocessor) : l’un des langages de script côté serveur les plus recherchés

Les données me font vibrer d’excitation! J’ai fait une découverte sensationnelle : PHP (Hypertext Preprocessor) est l’un des langages de script côté serveur les plus recherchés. Sa nature open source, sa courbe d’apprentissage facile et la capacité du code PHP à s’intégrer facilement à HTML en font un nom populaire dans le développement web. Il peut également être combiné avec JavaScript et CSS. De plus, une grande partie du logiciel WordPress est alimentée par PHP, ce qui le rend indispensable pour les utilisateurs de WordPress.

D’autres systèmes de gestion de contenu (CMS) populaires tels que Joomla, Drupal et Magneto dépendent également de PHP. PHP fonctionne sur tous les principaux systèmes d’exploitation, y compris Windows, macOS et Linux; se synchronise avec la plupart des bases de données, y compris MySQL, MongoDB et Postgres; et est pris en charge par la plupart des serveurs web tels qu’Apache, IIS, etc. Plusieurs grands noms, y compris Facebook, Shopify et Wikipedia, ont mis à profit PHP pour créer des sites Web puissants et interactifs.

Cette technologie est très polyvalente et peut être utilisée pour créer des sites Web à partir de zéro ou pour améliorer des sites Web existants. Les développeurs peuvent également créer des applications Web dynamiques et des applications mobiles avec PHP. De plus, il existe de nombreux frameworks PHP open source qui facilitent le développement d’applications Web. Les frameworks populaires incluent Laravel, Symfony, CodeIgniter et Zend Framework.

En résumé, PHP est une technologie puissante qui offre aux développeurs une variété d’options pour créer des sites Web dynamiques et interactifs. Il est open source, facile à apprendre et compatible avec la plupart des systèmes d’exploitation, bases de données et serveurs web. De plus, il existe de nombreux frameworks open source qui facilitent le développement d’applications Web. Enfin, plusieurs grandes entreprises ont mis à profit PHP pour créer des sites Web puissants et interactifs.

Source de l’article sur DZONE

We chose to use GoReleaser at ObservIQ for our distro of the OpenTelemetry Collector to simplify how we build and support many operating systems and architectures. GoReleaser enables us to build targeting a matrix of GOOS and GOARCH  targets as well as automate creating a wide range of deliverables. The ones we have utilized are building tarballs, nfpm packages, docker images, and Homebrew formula.

For this article, the focus is on the Homebrew Taps capabilities in GoReleaser and our journey using it. Our goal was to make it easy for users to install our software on macOS so that they could easily try it out. We went with Homebrew as it’s familiar to many macOS users and would allow a user to try out our software and remove it just as easily when they are finished.

Source de l’article sur DZONE

We write this guide to the best new tools for designers and developers each month. For October, we’ve sought out tools to make you a better website builder, some handy utilities to make you more productive, and a spooky font for the end of the month. Enjoy!

Microsoft Designer

Microsoft Designer is a brand-new app for creating images from text prompts. You can create social media posts, blog images, and any other assets you need with its step-by-step guided process.

Remix

Remix is a full-stack web framework for React that lets you focus on designing your UI. Remix is geared towards web standards and delivers a resilient user experience so you can build better sites.

Ultra

Ultra is a super-fast package manager that uses hardlinks to install packages. It’s up to ten times faster than NPM and Yarn, and the project is open-source.

AskEdith

AskEdith is an AI-powered app that translates English into SQL so you can query your database without writing custom SQL. Just type a description of what you want to know, and the app creates the query for you.

Wide Angle Analytics

Wide Angle Analytics is a GDPR-compliant Google Analytics alternative that puts privacy first. Track actions across multiple sites and discover insights about your site without exposing yourself to privacy violations.

story.to.design

Imagine being able to import a whole webpage straight into Figma. You can, with story.to.design, a fantastic app that imports code into Figma for updating UI elements or speeding up redesigns.

Metlo

Metlo is a testing platform for securing APIs. By running comprehensive tests against your API, you can uncover issues like unidentified endpoints, before they become a security threat.

StockAI

Nothing is more frustrating than searching for the right stock image when one doesn’t exist. StockAI is a day-saver that searches for stock images, and if the sought-after image doesn’t exist, it will generate one for you.

Growthfyi

If ad-blockers are playing havoc with your Google Analytics, check out this script from Growthfyi. It’s an invaluable service that doubles the speed of GA while ensuring ad-blockers don’t catch it.

Sourcery

Sourcery is an excellent tool for developers that continually reviews your code and suggests improvements automatically. Write better code, and catch errors before it goes to review.

Cyber Security Icons

This set of Cyber Security Icons contains 20 illustration-style icons. In addition, there are some great interpretations of complex ideas like retina scans, crypto vaults, and end-to-end encryption.

Blinqo

Blinqo is a handy little Chrome extension for anyone that needs to share their screen. It allows you to blur parts of your screen when sharing or recording, so your private details remain private.

Instaprice

Instaprice is a helpful new service that shows you what other freelancers charge for the job you’re quoting on. Earn the actual market rates and never get caught out undercharging again!

Leta

Leta is a great app that allows you to design your own keyboard layout. You can redesign the key positions for macOS, Linux, or Windows and download them for free.

Blogic

Build blogs powered by the Notion API with Blogic, a no-code blog builder that can create fast, SEO-friendly blogs in under a minute. Custom domains and third-party scripts are supported.

Digital Maker Toolkit

The Digital Maker Toolkit is a collection of resources for anyone releasing digital products. It includes guides on process, a handy step-by-step checklist, a list of further resources, and a guide to the available tools.

Slides

Slides is a static website generator you can use to create beautiful, animated websites in minutes. Select layouts from a collection of templates and publish with clean code that downloads fast.

AXplorer

AXplorer is a privacy-focused browser with a built-in VPN. Created by the Axia blockchain network, it generates free crypto in the form of AXIA coins when using it to browse the web.

Font Engine

Can’t decide on a font for your latest side project? Font Engine is a handy little app that will suggest fonts for you. Just tell it your brand values and hit the ‘Suggest’ button.

Deliciozo

Deliciozo is an excellent display font with irregular strokes and styling, making it feel like a paper cut-out. It’s perfect for magazines, cookbooks, and even logos.

Kayino

If you’re looking for a font to convey the hippy era, look no further than the psychedelic stylings of Kayino, a groovy display font with crazy details.

Noganas

Noganas is a spooktacular font for the upcoming Halloween festivities. Use it to add some gruesome frivolity to your seasonal designs.

Source

The post Exciting New Tools for Designers, October 2022 first appeared on Webdesigner Depot.

Source de l’article sur Webdesignerdepot

Apple has released an OS update. Packaged in with it is the latest version of Safari, 16.

Expected to be released ahead of next month’s macOS 13, Safari 16 is packed with updates, making it one of the most capable browsers available.

For web designers, the significance is the forward momentum in web technologies that enable freer design work and fewer hacks to achieve complex layouts. Little by little, CSS recommendations are being implemented to the point that using JavaScript for layout is rapidly becoming as unnecessary as it is disliked.

Some of this was announced in June in the Safari 16 beta. But a lot has been added in the last couple of months. So here’s what’s new in Safari 16 today.

CSS Container Queries

The most exciting addition to Safari 16 is CSS Container Queries.

It is hard to understate how in-demand this feature has been; if you imagine an edit button on Twitter that gifted you crypto every time you corrected a typo, you’d be getting close to how popular this feature is.

Until now, media queries have detected the whole viewport. And so, if you have an element like a card, for example, that needs to change at smaller viewports, you need to calculate the available space and adapt the element’s design accordingly. Unfortunately, this frequently gets out of sync with edge cases causing more than a few headaches for front-end developers.

Media queries are severely restrictive to modern layout methods like Grid that wrap elements automatically because there is no way to detect how the elements are laid out.

Container Queries solve this by allowing you to define styles based on the size of the actual containing element; if a div is 300px wide, the contents can have one design, and if it’s 400px wide, they can have a different design—all without caring what size the whole viewport is.

This is dangerously close to OOP (Object Orientated Programming) principles and almost elevates CSS to an actual programming language. (All we need is conditional logic, and we’re there.)

The latest versions of Chrome, Edge, and now Safari (including mobile) support CSS Grid. Even discounting the rapid decline of Twitter, this is way more exciting than any edit button.

CSS Subgrid

Speaking of Grid, if you’ve built a site with it (and if you haven’t, where have you been?), you’ll know that matching elements in complex HTML structures often results in nesting grids. Matching those grids requires careful management, CSS variables, or both. With CSS Subgrid, grids can inherit grid definitions from a grid defined higher up the hierarchy.

CSS Subgrid has been supported by Firefox for a while but is not yet part of Chrome or Edge. Until there’s wider support, it’s not a practical solution, and using a fallback negates any benefit of using Subgrid. However, its introduction in Safari will surely herald rapid adoption by Google and Microsoft and moves the web forward considerably.

CSS Subgrid is likely to be a practical solution within 18 months.

AVIF Support

AVIF is an exceptionally compact image format that beats even WebP in many instances. It even allows for sequences, creating what is essentially an animated GIF but smaller, and for bitmaps.

AVIF is already supported by Chrome, with partial support in Firefox. Safari now joins them.

AVIF support is one of the more valuable additions to Safari 16 because you’re probably already serving different images inside a picture element. If so, your Safari 16 users will begin receiving a smaller payload automatically, speeding up your site and boosting UX and SEO.

Enhanced Animation

Safari 16 introduces some significant improvements in animation, but the one that catches the eye is that you can now animate CSS Grid.

Yes, let that sink in. Combine Container Queries and animation. The possibilities for hover states on elements are tantalizing.

Safari 16 also supports CSS Offset Path — known initially as CSS Motion Path — which allows you to animate elements along any defined path. This enables the kind of animated effect that previously needed JavaScript (or Flash!) to accomplish.

Chrome, Edge, and Firefox all support CSS Offset Path; the addition of Safari means it’s now a practical solution that can be deployed in the wild.

Web Inspector Extensions

Announced as part of the beta release, Web Inspector Extensions allow web developers to create extensions for Safari, just as they would for Chrome.

Web Inspector Extensions — or Safari Extensions as they’re destined to be known — can be built in HTML, CSS, and JS, so the learning curve is shallow. It’s a good route into app development for web designers.

Because the underlying technology is the same as other browser extensions, anyone who has made a Chrome, Edge, or Firefox extension will be able to port it to Safari 16+ relatively easily. As a result, there should be a rapid expansion of the available extensions.

Improved Accessibility

Accessibility is key to an effective and inclusive web. Be like Bosch: everybody counts, or nobody counts.

When testing a design for accessibility, emulators don’t cut it. In my experience, Safari has some of the most reliable accessibility settings, especially when it comes to Media Queries like prefers-reduced-movement.

Further gains in this field mean that Safari continues to be an essential tool for QA tests.

Reduced Resets

Finally, I want to throw up my hands to celebrate the reduced number of non-standard CSS appearance settings.

For years we’ve been prefacing our style sheets with elaborate resets like Normalize, designed to undo all the assumptions browser developers make about design and the UI preferences of their engineers.

Safari 16 has reportedly “Removed most non-standard CSS appearance values.” How effective this is and how much we can rely on it given the other browsers on the market remains to be seen. However, like many of Safari 16’s changes, it’s a step towards a browser that’s on the developers’ side instead of an obstacle to overcome.

Source

The post Exciting New Features in Safari 16 first appeared on Webdesigner Depot.

Source de l’article sur Webdesignerdepot

Presto is a distributed query engine that allows querying different data sources such as Kafka, MySQL, MongoDB, Oracle, Cassandra, Hive, etc. using SQL. It has the ability to analyze big data and query multiple data sources together.

In this article, we will discuss how Presto can be used to query Kafka topics. Below is the step-by-step process to set up Presto and Kafka, and connect them together. Here, I have considered MacOS, but similar setups can be done on any other system.

Source de l’article sur DZONE

Combining minimalist aesthetics with the ongoing trend for digital art, PureNFT is an awesome new app that lets anyone break into the lucrative NFT market.

The app aims to lower the bar for prospective NFT creators by creating a minimal artwork from a single-pixel captured anywhere on your viewport. You can mint your NFT directly in the app — the process of recording your artwork on the blockchain — and list it for free on PureNFT’s dedicated marketplace.

Using PureNFT’s ArtPicker tool, hover the tool over any part of your screen, click a pixel to generate your NFT, and then click the “Mint Now” button to mint it. The app will upscale the pixel to a solid-color artwork with an ultra-high resolution of 5,000 x 5,000px. On the pro plan, PureNFT will automatically generate a 250 x 250px thumbnail to ensure your artwork isn’t pirated.

One of the best features of PureNFT is that you don’t need any drawing ability to break into the exciting NFT trend. Just point your mouse at a pixel and click, and the app will generate a pure high-resolution version of the pixel for you.

Unlike most marketplaces that favor Ethereum, PureNFT is powered by the Solana blockchain, which is far more energy-efficient, and, consequently, environmentally friendly. Despite this, PureNFT’s tokens are platform-agnostic, which means you can mint them on the native platform and then transfer them to popular marketplaces like OpenSea and Rarible.

The potential for NFTs created with PureNFT is limitless. You can literally click any pixel, mint it as an NFT, and wait for the money to start rolling in.

NFTs are a hugely popular way of monetizing artwork, but they are limited in scope; you can only sell one unique NFT of the Mona Lisa, and even then, you have to be the Louvre to do it. But with PureNFT, anyone can visit Wikipedia and open an image of the Mona Lisa that is 7,479 x 11,146px. That translates to 83.3 million potential NFTs; if each pixel sells for an average of $1,000, you might make enough to buy the actual Mona Lisa!

Minting an NFT on PureNFT currently costs 1 SOL (approximately $125 at the time of writing). The first NFT minted by PureNFT — an azure pixel from an unknown screen grab — has an asking price of 375 SOL (approximately $46,875 at the time of writing), but not all PureNFT users have been so lucky, with some early beta users complaining of returns as low as 300%. Nonetheless, the potential for substantial financial gains is evident.

According to Brendan Lewes, co-founder and CTO of PureNFT, the team is interested in introducing AI-powered automation in the near future: Imagine an automated tool searching for popular images, breaking them down into pixels, minting them, and selling them for you, while you live your life. NFT mining could be the next big area of crypto.

However, automation isn’t likely to come anytime soon, according to Lewes:

For now, we’re focussed on maintaining a stable platform. But…we’re super excited about the journey we’re on, and [co-founder Max Schriebport ] and I can’t wait to see where it take us.

PureNFT is currently in beta on macOS, Windows, and iOS, with an Android version on the way. There’s a free plan that allows you to preview up to 5 NFTs, and pro plans start at $399/month.

Source

The post PureNFT Disrupts the NFT Market first appeared on Webdesigner Depot.

Source de l’article sur Webdesignerdepot

Every day design fans submit incredible industry stories to our sister-site, Webdesigner News. Our colleagues sift through it, selecting the very best stories from the design, UX, tech, and development worlds and posting them live on the site.
The best way to keep up with the most important stories for web professionals is to subscribe to Webdesigner News or check out the site regularly. However, in case you missed a day this week, here’s a handy compilation of the top curated stories from the last seven days. Enjoy!”

3 Essential Design Trends, March 2022

40 Impressive Design Agency Websites

7 Web Design Trends for 2022

Hermes Rebrands with 194,481 Logos

We Need More Calm Design

Write HTML, the HTML Way (Not the XHTML Way)

Those HTML Attributes You Never Use

How to Use CSS Math Functions

5 Tips to Help You Improve WordPress Security

Sol – Open Source MacOS Command Palette

Kodezi – Grammarly for Programmers

Source

The post Popular Design News of the Week: March 21, 2022 – March 27, 2022 first appeared on Webdesigner Depot.

Source de l’article sur Webdesignerdepot

It’s only been a few days since Microsoft officially followed Apple past the $2 Trillion valuation mark, and having done so it appears to be mimicking more of its long-term rival’s approach with hardware cut-offs and a macOS-style GUI refresh.

Hardware Shock

The first surprise for fans of Windows is that there is a Windows 11; the push for Windows 10 adoption was widely expected to all but eliminate numbered versions; creating a landscape in which there were numerous, regular minor updates. The arrival of Windows 11 later in 2021 kills off that idea.

Once Windows users come to terms with the fact that their (for the most part) reluctant upgrade to Windows 10 was short-lived, they’re going to have to come to terms with the fact that their hardware is probably about to be bricked by Microsoft.

Okay, so “bricked” is an exaggeration. But if you’re one of the many Mac users who were tempted over to the other side by the lure of the very desirable — and very expensive — Surface Studio 2, you’ll be understandably put out to discover that it is deemed too out-of-date to be supported by Windows 11.

The only hardware that Microsoft will officially support are those machines with AMD Ryzen 2000 processors, or better; you’ll also need at least a 2nd generation EPYC chipset. For those who cannot afford, or cannot stomach, purchasing new hardware this year, there is some respite to be found in the fact that you may be able to run Windows 11, you just won’t be officially supported and you’ll have to put up with regular compatibility warnings. You can check your hardware’s compatibility here.

It’s an unexpected departure for Microsoft, whose USP has until now been that — unlike macOS — Windows is hardware-agnostic, and the box you run Windows on is a personal preference.

macOS Style GUI

If however, you’re one of the lucky few who can download Windows 11, you’ll be confronted with a very macOS-style GUI. The whole environment has had a subtle refresh, with rounding happening throughout the design, resulting in a visually smoother, more Mac-like user experience.

The most obvious change is that the start button has been relocated to the center of the screen, making the process of using it considerably closer to macOS’ dock.

Windows 11 also includes a redesigned set of icons, which thankfully retain much of Windows’ current aesthetic.

Tablet mode has been removed in favor of a fullscreen option which indicates that Microsoft expects a greater blurring of the lines between traditional desktop machines, and touchscreen devices in future.

Source

The post Poll: Are You Excited by Windows 11? first appeared on Webdesigner Depot.


Source de l’article sur Webdesignerdepot