Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      CodeSOD: A Unique Way to Primary Key

      July 22, 2025

      BrowserStack launches Figma plugin for detecting accessibility issues in design phase

      July 22, 2025

      Parasoft brings agentic AI to service virtualization in latest release

      July 22, 2025

      Node.js vs. Python for Backend: 7 Reasons C-Level Leaders Choose Node.js Talent

      July 21, 2025

      The best CRM software with email marketing in 2025: Expert tested and reviewed

      July 22, 2025

      This multi-port car charger can power 4 gadgets at once – and it’s surprisingly cheap

      July 22, 2025

      I’m a wearables editor and here are the 7 Pixel Watch 4 rumors I’m most curious about

      July 22, 2025

      8 ways I quickly leveled up my Linux skills – and you can too

      July 22, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025
      Recent

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025

      Zero Trust & Cybersecurity Mesh: Your Org’s Survival Guide

      July 22, 2025

      Execute Ping Commands and Get Back Structured Data in PHP

      July 22, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025
      Recent

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025

      “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

      July 22, 2025

      Galaxy Z Fold 7 review: Six years later — Samsung finally cracks the foldable code

      July 22, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Operating Systems»Linux»Rilasciato Kitty 0.42: Terminale Accelerato da GPU con Accesso Rapido in Stile Quake

    Rilasciato Kitty 0.42: Terminale Accelerato da GPU con Accesso Rapido in Stile Quake

    May 12, 2025
    Rilasciato Kitty 0.42: Terminale Accelerato da GPU con Accesso Rapido in Stile Quake

    Kitty (il “gattino”, nome e logo probabilmente derivati da Hello Kitty) è un emulatore di terminale accelerato tramite unità di elaborazione grafica (GPU, Unità di Elaborazione Grafica), progettato per offrire prestazioni elevate e una vasta gamma di funzionalità avanzate. Sviluppato inizialmente da Kovid Goyal nel 2017, Kitty si distingue per la sua efficienza, la compatibilità multi-piattaforma e la forte personalizzazione. È distribuito con licenza GNU GPL versione 3, che ne garantisce la libertà d’uso, modifica e distribuzione.

    Kitty è disponibile per diversi sistemi operativi derivati da Unix come le distribuzioni GNU/Linux, macOS e FreeBSD. Il programma è scritto in C e Python, combinando la velocità del linguaggio C con la flessibilità di Python. La versione stabile precedente, la 0.41.1, è stata rilasciata ad inizio aprile 2025.

    Caratteristiche Principali

    • Accelerazione tramite GPU: Utilizza la GPU per il rendering del testo e della grafica, garantendo scorrimento rapido e visualizzazione reattiva anche con contenuti complessi.
    • Supporto Unicode completo: Gestisce caratteri complessi, emoji, e script multilingue, grazie alla segmentazione dei grafemi conforme allo standard Unicode 16.
    • Personalizzazione avanzata: Colori, caratteri, scorciatoie da tastiera e impostazioni possono essere adattati alle proprie esigenze tramite un unico file di configurazione.
    • Compatibilità multipiattaforma: Funziona su GNU/Linux (sia X11 che Wayland), macOS e FreeBSD.
    • Funzionalità aggiuntive tramite “kittens” (gattini): Piccoli programmi integrabili che estendono le capacità di Kitty, come la visualizzazione di immagini, la gestione della clipboard (appunti), la notifica sul desktop e altro ancora.
    • Tiling e gestione avanzata delle finestre: Permette di suddividere la finestra in più pannelli e schede, migliorando la produttività.

    Novità in Kitty 0.42

    Kitty 0.42 introduce una serie di miglioramenti significativi, sia in termini di funzionalità visibili che di ottimizzazioni interne.

    Accesso Rapido in Stile Quake

    La novità più attesa è la finestra di terminale ad accesso rapido, ispirata allo stile Quake. Questa funzione, denominata “gattino di accesso rapido” (quick-access-terminal), consente di richiamare una finestra di terminale fluttuante e semi-trasparente sopra il desktop con una sola combinazione di tasti. È compatibile con X11, Wayland e macOS, offrendo una soluzione uniforme su tutte le piattaforme principali.

    La configurazione della finestra di accesso rapido è altamente personalizzabile: basta creare un file “quick-access-terminal.conf” nella cartella di configurazione di Kitty. L’opzione “kitty_conf” permette di applicare impostazioni specifiche solo a questa finestra, separandole da quelle del terminale principale.

    Miglioramenti Interni e Nuove Funzionalità

    • Segmentazione dei grafemi conforme a Unicode 16: Kitty ora suddivide il testo in celle secondo le regole Unicode 16, garantendo la corretta visualizzazione di emoji complessi e caratteri di lingue non latine.
    • Gestione avanzata dei temi: L’alternanza automatica tra modalità chiara e scura ora sincronizza anche le immagini di sfondo, mantenendo coerenza visiva tra sfondi e palette di colori attiva.
    • Ottimizzazione dei pannelli: Il gattino “pannello” ora può avviare più pannelli all’interno di un unico processo tramite il comando “kitty +kitten panel –single-instance”, riducendo il consumo di risorse quando si utilizzano più terminali affiancati.
    • Flessibilità nella gestione delle finestre: Kitty può essere avviato in stato nascosto (“–start-as=hidden”), utile per script che mostrano l’interfaccia solo quando necessario. L’API di controllo remoto ora permette di attendere la chiusura dei processi figli, modificare i pannelli al volo e gestire la visibilità delle finestre a livello di sistema operativo.
    • Personalizzazione del cursore: Il tempo di riapparizione del cursore dopo la digitazione (“mouse_hide_wait”) è ora regolabile, offrendo maggiore controllo sull’esperienza utente.
    • Miglioramenti al gattino diff: Il gattino per il confronto dei file supporta ora lo scorrimento a mezza e intera pagina in stile Vim e accetta flussi tramite canali nominati (named pipes).
    • Gestione avanzata della dimensione dei caratteri: Il comando “change_font_size” permette ora di moltiplicare o dividere la dimensione del carattere corrente, non solo di aumentarla o ridurla di un punto per volta.
    • Integrazione con Wayland e macOS: Su Wayland, i compositori che espongono il protocollo xdg-system-bell possono ora attivare direttamente la campanella di sistema. Su macOS, la selezione visiva delle finestre rispetta nuovamente il tema di colori attivo.

    Correzioni e Ottimizzazioni

    Questa versione risolve inoltre numerosi problemi storici, tra cui anomalie nell’analisi della riga di comando introdotte dalla versione 0.36 e la ri-applicazione automatica dei temi.

    Per tutti i dettagli puoi leggere il changelog (registro delle modifiche).

    Dove Scaricare Kitty 0.42

    Kitty 0.42 è disponibile per il download sul sito ufficiale del progetto, dove puoi trovare anche:

    • Documentazione dettagliata per l’uso e la configurazione.
    • Guida all’installazione, con istruzioni per diverse piattaforme.
    • Registro delle modifiche aggiornato, per consultare le ultime novità.

    Inoltre, il codice sorgente e le versioni precompilate per macOS, FreeBSD e DragonFly BSD sono disponibili sulla pagina GitHub del progetto.

    Kitty 0.42 è anche presente nei repository software delle principali distribuzioni GNU/Linux, permettendo un’installazione rapida tramite il gestore di pacchetti della tua distribuzione.

    Fonte: https://sw.kovidgoyal.net/kitty/changelog/#id1
    Fonte: https://github.com/kovidgoyal/kitty/

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleCVE-2025-4558 – WormHole Tech GPM Unauthenticated Password Change Vulnerability
    Next Article Rilasciato Shotcut 25.05: Nuovi Potenti Strumenti per il Montaggio Video su GNU/Linux

    Related Posts

    News & Updates

    A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

    July 22, 2025
    News & Updates

    “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

    July 22, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    CVE-2025-30184 – CyberData Intercom Unauthenticated Web Interface Access

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-48872 – Apache DoS

    Common Vulnerabilities and Exposures (CVEs)

    Scroll-Triggered Effects in Web Development: Add Life to Your Website

    Web Development

    CVE-2025-42598 – Seiko Epson Printer DLL Hijacking Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    Development

    Automating REST APIs with Selenium and Postman

    June 19, 2025

     
    API testing has become an integral part of software quality assurance. Automating REST APIs ensures the robustness and reliability of web applications by validating backend functionality. In this blog, we will explore how Selenium and Postman can be used to automate REST APIs, providing both flexibility and scalability in your testing processes.

    Why Automate REST APIs?
    Automating REST APIs brings several benefits, including:

    Speed: Automated tests execute faster compared to manual testing.

    Accuracy: Minimizes human error in repetitive tasks.

    Efficiency: Allows simultaneous testing of multiple endpoints.

    Integration: Fits seamlessly into CI/CD pipelines.

    Key Concepts in REST API Automation
    Before diving into automation, let’s understand some key concepts:

    API Endpoint: A URL that specifies where an API resource is located.

    HTTP Methods: Common methods include GET, POST, PUT, DELETE.

    Status Codes: Responses like 200 (OK), 404 (Not Found), 500 (Server Error).

    Request Payload: The data sent with a request, often in JSON format.

    Response: Data received from the server, including status and body.

    Tools Overview: Selenium and Postman

    Selenium: Best suited for UI testing but can complement API testing by validating front-end integration with APIs.

    Postman: A powerful API testing tool that supports request creation, test scripting, and automation through Newman CLI.

    Practical Applications of API Testing

    Authentication: Validating login and token-based authentication mechanisms.

    Data Integrity: Ensuring the correctness of data returned by APIs.

    Error Handling: Checking proper error messages and status codes.

    Load Testing: Simulating multiple users accessing APIs simultaneously.

    Setting Up Selenium and Postman for API Automation
    1. Installing Selenium
    Ensure you have Java and Maven installed. Add Selenium dependencies to your pom.xml:<dependency>
    <groupId>org.seleniumhq.selenium</groupId>
    <artifactId>selenium-java</artifactId>
    <version>4.10.0</version>
    </dependency>2. Installing Postman
    Download Postman from Postman’s official website. For automation, install Newman:
    npm install -g newman

    Coding Examples: Automating REST APIs with Selenium and Postman
    Example 1: Sending API Requests Using Java (RestAssured Library)import io.restassured.RestAssured;
    import io.restassured.response.Response;

    public class ApiTest {
    public static void main(String[] args) {
    RestAssured.baseURI = “https://jsonplaceholder.typicode.com”;

    // GET Request
    Response response = RestAssured.given().get(“/posts/1”);
    System.out.println(“Status Code: ” + response.getStatusCode());
    System.out.println(“Response Body: ” + response.getBody().asString());

    // Assert Status Code
    assert response.getStatusCode() == 200;
    }
    }
    Example 2: Running Postman Collections via Newman

    Export your Postman collection as a JSON file.

    Use Newman CLI to execute the collection:newman run my-collection.json
    Example 3: Integrating Selenium with API Responses
    This example demonstrates how to combine API testing with UI testing by validating that the data returned from an API call is correctly displayed on a web application’s UI. Here’s a breakdown of the code:import org.openqa.selenium.By;
    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.WebElement;
    import org.openqa.selenium.chrome.ChromeDriver;
    import io.restassured.RestAssured;

    public class SeleniumApiIntegration {
    public static void main(String[] args) {
    // API Call
    RestAssured.baseURI = “https://api.example.com”;
    String apiData = RestAssured.given().get(“/data”).getBody().asString();

    // Selenium Test
    WebDriver driver = new ChromeDriver();
    driver.get(“https://example.com”);

    WebElement element = driver.findElement(By.id(“apiDataField”));
    assert element.getText().equals(apiData);

    driver.quit();
    }
    }

    1. API Call with RestAssured
    The first step involves using RestAssured to interact with the API. A base URL is set, and a GET request is sent to a specific endpoint. The response body is retrieved as a string, which will later be compared with the data displayed on the web page.

    2. Selenium Test
    The Selenium WebDriver is initialized to open the browser and navigate to the target URL. This ensures that the web page containing the UI element to be validated is loaded and ready for interaction.

    3. Finding the Web Element
    A specific element on the web page is located using a unique identifier (like an ID attribute). This UI element is expected to display the same data that was fetched from the API.

    4. Validating the Data
    The text content of the located UI element is retrieved and compared with the API response. If the values match, the test passes, indicating consistency between the API and UI. If they don’t match, it signals a potential bug or data discrepancy.

    5. Closing the Browser
    Finally, the browser session is terminated to ensure no resources are left open after the test execution.

    Use Case
    This approach is used to verify the consistency of data between the backend (API response) and the frontend (UI). For example:

    Validating that product details provided by an API, such as name or price, are displayed accurately on a webpage.

    Benefits

    End-to-End Testing: Ensures seamless integration between the backend and frontend.

    Early Bug Detection: Detects mismatches between API and UI during testing phases.

    Reusable: Can be extended to validate multiple API endpoints and corresponding UI elements.
    Step-by-Step Guide to Automate API Testing

    Understand API Requirements: Review API documentation to understand endpoints, methods, and payloads.

    Create Test Cases: Identify scenarios such as response validation, status codes, and data formats.

    Use Postman for Initial Testing: Verify API responses manually.

    Automate with Java: Use RestAssured or HttpClient libraries for scripting.

    Integrate with Selenium: Combine API data validation with UI testing.

    Leverage CI/CD: Incorporate automated tests into Jenkins or GitHub Actions.

    Conclusion
    By integrating Selenium and Postman, you can create a comprehensive automation suite that tests APIs and ensures seamless integration between backend and frontend systems. API testing not only improves the reliability of web applications but also accelerates the development cycle, allowing teams to deliver high-quality products efficiently.

    CTA: Have questions about API testing with Selenium and Postman? Share them in the comments below!

    A Coding Implementation with Arcade: Integrating Gemini Developer API Tools into LangGraph Agents for Autonomous AI Workflows

    April 26, 2025

    CVE-2025-49323 – Themefic Hydra Booking SQL Injection Vulnerability

    June 6, 2025

    CVE-2025-5613 – PHPGurukul Online Fire Reporting System SQL Injection Vulnerability

    June 4, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.