Painel de Notícias

Tecnologia

7045 posts · 26 feeds · tópicos e interesse por Jev

Filtros
Krebs on Security

Microsoft Patches More Than 1,400 Security Flaws

Microsoft today issued updates to fix more than 1,400 security vulnerabilities in its Windows operating systems and other software. Today's epic patch batch dwarfs September's record of nearly 1,000 fixes, which was already about ten times the normal monthly patch load from Redmond.

Segurança
Interesse
Phoronix

IREE 3.12 Introduces Rolls Out Rewritten Vulkan Driver, Experimental AMD HSA HAL

Rolling out last week was a new version of IREE as the Intermediate Representation Execution Environment for MLIR-based end-to-end compiler and run-time for lowering machine learning models into a unified IR and working across different hardware/driver stacks. Making IREE 3.12 notable is a rewrite to its Vulkan code...

DevIA
Interesse
The Verge

The OnePlus 16 is the company’s most interesting phone in years

Today the OnePlus 16 launched in China, the company's first flagship phone since quitting both the US and European markets this summer. As luck would have it, it also looks like the company's best phone in some time. Like most OnePlus phones, the 16 is positioned around performance, with a Snapdragon 8 Elite Extreme Gen 6 chipset, and up to 1TB of storage and 16GB of RAM. That's backed up by an enormous 9,000mAh silicon-carbon battery, one of the biggest seen in any Android flagship yet. 100W wired and 50W wireless charging complete the power setup. On the display front, the phone jumps to a 185Hz OLED panel for the first time. That'll no … Read the full story at The Verge.

Mobile
Interesse
dev.to

How to Run Google Antigravity AI on Android with a Native Web GUI (No PC or VNC)

Google Antigravity is a powerful autonomous AI coding assistant. While primarily designed for desktop environments, you can actually run it 100% natively on Android inside Termux, complete with Google's official desktop Web GUI accessible directly in your mobile browser at http://localhost:4400. In this tutorial, we will set up the standalone environment without needing a PC, cloud relays, VNC viewers, or heavy Linux PRoot containers. An Android device (ARM64 / aarch64). Termux installed (from F-Droid or GitHub, not the outdated Play Store version). An active internet connection. Open Termux and run the automated installation script from the open-source repository: curl -fsSL https://raw.githubusercontent.com/dsundaravadhanan/Antigravity-for-Android/main/install.sh | bash Native Android Bionic Engine: Installs Google's official native ARM64 Android binary with zero glibc overhead. Termux PATH Linking: Symlinks the binary to $PREFIX/bin/agy so you never encounter command not found. Browser OAuth Bridge: Bridges xdg-open to termux-open-url so sign-in tabs open seamlessly in Chrome. Latency Fixes: Sets IPv4 DNS precedence and dual-stack localhost mapping to prevent slow startup on mobile carrier data. Background Daemon: Installs termux-wake-lock integration to stop Android battery optimizers from killing background sessions. When the script finishes, launch the Web GUI: agy-gui Your mobile browser will automatically open to http://localhost:4400/onboard. Tap Continue with Google to complete standard Google OAuth sign-in. Once authenticated, your local session is securely saved in ~/.gemini/antigravity-cli/ with restricted permissions (chmod 600). You can convert the Web GUI into a dedicated full-screen app on your phone: In Chrome at http://localhost:4400, tap the three dots menu (⋮) in the top right. Select Install app (or Add to Home screen). Tap Install. The official Google Antigravity icon will now be on your Android launcher, opening in full-screen standalone mode

IADevMobile
Interesse
dev.to

Your Website Is Live, but Is It Search-Ready? A Practical Audit

A website can look polished, load correctly, and still have problems that make it harder for search engines to understand its pages. Before spending time on promotion or publishing more content, run a simple audit. The goal is to catch avoidable issues early and establish a reliable baseline. Open the page as a visitor would. Is the main purpose immediately clear? Can someone find the key information without searching through several unrelated sections? Check the navigation, headings, calls to action, and mobile layout. A page should be easy to use before you worry about fine-tuning its search performance. Each important page should have a descriptive title that reflects its actual content. The main heading should help readers understand what the page covers. Avoid using identical titles across unrelated pages or forcing keywords into sentences where they do not belong. Internal links connect related pages and help visitors explore a topic in more depth. They also help crawlers discover URLs through a site's link structure. Check for broken links, confusing anchor text, and important pages that have no relevant internal links pointing to them. A URL being publicly accessible does not automatically mean it will appear in search results. Check whether important pages can be crawled, whether indexing directives are intentional, and whether canonical settings point to the expected URL. Google Search Console can provide additional information about Google's known version of a page. Once the site is live, use performance data to decide what to improve. Search impressions, clicks, click-through rate, and average position can help identify pages that deserve closer investigation. Look at page-level and query-level patterns rather than relying on a single overall metric. For a wider introduction to search optimization, this SEO fundamentals resource explains the core concepts behind improving organic visibility. A useful audit does not need to be complicated. Record the issu

Geral
Interesse
dev.to

NFS Ports Explained: Why 2049 Isn’t Always Enough

A firewall rule for TCP port 2049 is often enough to let an NFSv4 client reach a server. With NFSv3, it may not be: clients can also need rpcbind and other RPC services, some of which use ports assigned by the server. The useful first question isn’t just “What port does NFS use?” It’s “Which NFS version and services are this client and server using?” Port 2049 is the standard NFS service port. For the common NFSv4-over-TCP setup, it’s usually the main port a client needs to reach on the server. NFSv3 can use TCP or UDP, depending on the client and server configuration. It may also rely on separate RPC services: rpcbind, commonly on port 111, helps clients discover RPC service endpoints. mountd handles mount requests. statd and lockd can support status monitoring and file locking. The auxiliary services aren’t guaranteed to use one universal set of ports. Some can be dynamically assigned, so don’t copy a port number from another server and assume it applies to yours. Service Common port or transport What to keep in mind NFSv4 TCP 2049 Usually the primary NFS port to allow NFSv3 NFS service TCP or UDP 2049 Depends on the server and client configuration rpcbind TCP and/or UDP 111 Often used by NFSv3 clients to discover RPC services mountd, statd, lockd RPC-assigned or configured ports Check the server’s registrations and configuration This is a diagnostic starting point, not a firewall recipe. The exact requirements depend on the NFS version, implementation, enabled services, and transport. On the NFS server, list the RPC programs registered with the local rpcbind service: rpcinfo -p localhost Look for entries such as nfs, mountd, nlockmgr, and status. The output shows registered ports and transports, but it doesn’t mean every listed service must be exposed to every client. Compare it with the NFS version and the server’s configuration. You can also inspect listening sockets: sudo ss -lntup A service may be listening locally but blocked by a host firewall or a network

Infra
Interesse
dev.to

Why Your Mac App Keeps Running After You Close the Window (and How I Fixed It)

If you came from Windows, you've probably noticed this: you click the red close button, the window disappears, but the app is still running. There's a small dot under its icon in the Dock, and it keeps using memory until you press Cmd + Q. On Windows, closing the last window quits the program. On macOS it doesn't. I wanted that Windows behavior on my Mac, so I built TrueClose. No. By default, the red close button only closes the window. The app stays open in the background, keeps its place in the Dock, and keeps using RAM. Apple designed it this way so apps can reopen instantly, but if you never use that, it's just clutter. TrueClose is a small, free, open-source menu bar app for macOS. When you close an app's last window, it quits the app after a short delay. Features: Adjustable delay (0.2–5 seconds): so closing one window right before opening another doesn't quit the app by mistake Blacklist or Whitelist mode: keep music players and menu bar tools running, or only auto-quit the apps you choose Protected system apps: Finder, System Settings, Activity Monitor and similar apps are on the default blacklist, with a warning if you change that Pause/Resume from the menu bar, launch at login, and an option to hide the menu bar icon (reopen Settings with ⌥⇧A) Free, MIT licensed, no telemetry TrueClose uses the macOS Accessibility API to count how many windows each running app has. When an app drops to zero windows, TrueClose starts a timer. If the app still has no windows when the delay ends, TrueClose asks it to quit with NSRunningApplication.terminate(). That call is a normal quit request, the same as pressing Cmd + Q. Apps can still ask about unsaved changes instead of being force-killed. If an app doesn't quit, TrueClose tries again on the next check. With Homebrew: brew install --cask nhatnam7kz/tap/trueclose Or download the .pkg / .dmg from the Releases page. TrueClose isn't signed with a paid Apple certificate, so macOS may block it on first launch. Run this once t

Dev
Interesse
dev.to

Touch Grass — Brutalist Open-Source AI That Shuts Your Screen Off in 15 Seconds

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass This Week's Theme: Touch Grass — Build something with open-weight models or open-source AI that gets people off the screen and into the world. 🔗 Live Demo: touch-grass-blond.vercel.app — Try it now, no install required. GitHub: github.com/nonsense3/Touch-Grass Every commercial AI product on the market is engineered around a toxic metric: continuous user engagement. They want you to keep chatting, keep querying, and keep staring at glass. When you step outside—onto a mountain ridge, into a vegetable garden, or onto a morning run—cloud-tethered corporate AI is not just annoying; it is fundamentally broken. We built Touch Grass (Canopy OS): a brutalist, edge-native, 100% offline open-source AI system designed around a radical premise: the screen should be the shortest part of the experience (sub-15 seconds). The prompt asks: Does it run on a laptop with no internet? Keep someone's data off a server they don't control? Let you fine-tune, swap models, or change how your agent behaves? Cost nothing to run? Here is why open-source AI was the only architecture that could make Touch Grass work: When you are hiking 5 miles deep into Shenandoah National Park, the White Mountains, or a local river gorge, 5G cellular service does not exist. The Closed Way: Proprietary APIs fail with NetworkConnectionError. Your phone battery drains furiously while searching for cell towers. The Open Way: Touch Grass packages quantized open-weight models (Google Gemma open weights and BirdNET-Mobile-Q4.onnx) running directly on device silicon via WebAssembly, WebGPU, and NVIDIA NIM inference. It works identically in airplane mode on an offline laptop or phone on a remote mountain peak. Mushroom foragers, wild herbalists, and trail runners guard their secret sanctuaries with fierce dedication. The Closed Way: Uploading a photo of a wild Morel mushroom or Maitake clump to a commercial cloud vision API leaks EXI

IA
Interesse
dev.to

Brecha cpr en Dinamarca: datos expuestos de 8,8 millones

La brecha de datos en Dinamarca, con datos expuestos en el registro central, dejó al descubierto la información personal de 8,8 millones de ciudadanos mediante un ataque automatizado que abusó del acceso legítimo de una empresa privada. Ocurrió en silencio durante semanas. El servidor central que gestiona el padrón nacional danés no sufrió una intrusión directa en su base de datos. Los atacantes utilizaron credenciales corporativas válidas para consultar el sistema millones de veces sin activar las alarmas de inmediato. La información confirmada por el informe del incidente publicado en eSecurityPlanet detalla que las autoridades detectaron patrones anómalos el 2 de octubre, aunque los rastreos automatizados operaron a lo largo de septiembre. El abuso de permisos corporativos sobre el padrón nacional El Registro Central de Personas contiene cerca de 11 millones de expedientes de residentes, ciudadanos en el extranjero y personas fallecidas. Los registros obtenidos incluyen nombres completos, domicilios registrados y el número de identificación personal. Quedaron fuera de este paquete únicamente aquellos perfiles con protección activa de residencia y nombre. El vector de entrada aprovechó la integración que Dinamarca permite a compañías verificadas para validar identidades en trámites cotidianos. Los atacantes convirtieron ese puente de consulta en un extractor masivo. El software de consulta ejecutó más de 14 millones de consultas automáticas. El objetivo era simple: comprobar qué combinaciones devolvían datos válidos hasta acumular registros a gran escala. Los administradores del sistema cerraron el acceso de la firma involucrada una vez localizado el tráfico anómalo, mientras la policía inició peritajes sobre los servidores implicados. El peligro real de la suplantación mediante ingeniería social Tener el nombre, la dirección y un número de registro civil abre la puerta a ataques directos de suplantación de identidad. Un atacante armado con estos tres datos puede

Segurança
Interesse
dev.to

WildHarvest AI: 100% Offline Campfire Recipe Generator using Gemma 7B

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass I built WildHarvest AI, an offline-first campfire recipe generator designed for hikers, campers, and foragers. You simply input the ingredients you just foraged in the wild (e.g., wild mushrooms, bamboo shoots) and the app generates 3 safe, easy-to-cook recipe options using only your found ingredients and basic camping supplies (like a mess kit, salt, and water). It perfectly fits the "Touch Grass" theme because it encourages people to get out into the woods, forage responsibly, and cook outdoors, all while bringing a smart chef along in their backpack. / WildHarvest-AI 🌲 WildHarvest AI WildHarvest AI is a 100% offline, local-first campfire recipe generator built for hikers, campers, and foragers. This project is an official submission for the Hacktoberfest 2026 DEV Challenge (Week 1: Touch Grass). When you are deep in the woods, you don't have internet access. This application solves that by running a local AI model to turn your foraged ingredients into safe, actionable campfire recipes without needing a single bar of cell service. ✨ Features 100% Offline Inference: Powered by Google's open-weight Gemma model running entirely on your local machine via Ollama. Strict Ingredient Bounding: The AI is highly constrained to only use the ingredients you actually found, plus basic camping supplies (water, salt, oil, etc.). No hallucinated ingredients! Campfire Ready: Recipes are designed to be cooked outdoors using basic mess kits or portable stoves. 🛠️ Tech Stack Frontend: Next.js (App Router), React, Tailwind CSS AI Integration:… View on GitHub (Note: I pivoted the project from a dessert app to a foraging app during the hackathon to better fit the theme, but the core engine remains the same!) I built the frontend using Next.js (App Router) and Tailwind CSS. The core intelligence is powered by Google's open-weight Gemma (7B) model, running entirely locally on my machine via Ollama. T

IADev
Interesse
dev.to

Best SEO Practices for Getting Named in AI Answers

Meera runs a small shop and needs simple inventory software. A few years ago, she would have searched on Google and opened several results in separate tabs. Now she asks ChatGPT or Gemini one question: "What is the best inventory software for a small shop?" Within seconds she gets three tool names, their prices, and a short note on what each does well. Getting into that answer works differently from ranking on a search page. The AI looks things up in the background, picks facts out of web pages, checks whether other websites agree, and then writes its recommendation. How AI tools decide which brands to recommend When an AI tool recommends software, it doesn't answer from memory, because what it learned in training is already out of date. It searches the web as the question comes in. In simple terms, it does four things: It splits the question into smaller searches, such as one for prices, one for reviews, and one for features. So your job has three parts: make your facts easy to find, easy to read, and confirmed by other people elsewhere on the web. Make sure AI bots can actually see your pages Google's bot has become good at running the scripts many websites use to show content after a page opens. The bots behind AI tools are different. A study by Vercel and MERJ, covering billions of bot visits, found that none of the major AI search bots run these scripts. That is a problem if your price table or feature list only appears through a script. Take a made-up product called StockEase. A person visiting its site sees the price, $49 a month, and the full feature list. An AI bot visiting the same page may get an almost empty page with no price and no features. When the AI builds its shortlist, it leaves StockEase out because it can't confirm the basics. The fix is to place key facts, such as prices, features, and integrations, directly in the page itself, so they are there the moment it loads. Access is the other thing to check. Many sites blocked AI bots to keep their w

IA
Interesse
dev.to

Showing ForwardCollisionWarning from vPIC Without Inventing Crash-Avoidance Grades

NHTSA vPIC often returns forward-collision catalog fields on DecodeVinValues-style payloads -- including ForwardCollisionWarning when the pattern includes that token. Those strings are useful on a free VIN decode card. The trap is turning a single sourced field into an AEB claim, IIHS crash-avoidance grade, or "Collision Prevention Package" that the catalog never asserted. This post is about honest display: show ForwardCollisionWarning when vPIC provides it, refuse crash-avoidance inventing, and allow a clean "not provided" state when the field is empty. Keep forward-collision catalog values separate from automatic emergency braking marketing, star ratings, and OEM suite names. A sourced token is still only a token: it does not prove the feature is present, calibrated, or undamaged on the listed vehicle. (Lane-departure and blind-spot honesty are separate topics; here the focus is ForwardCollisionWarning.) ForwardCollisionWarning is a catalog attribute associated with the VIN decode. It answers a narrow question: which forward-collision warning token did the decode associate with this pattern? It does not answer: Whether the vehicle includes Automatic Emergency Braking (AEB) or pedestrian AEB Whether IIHS or NHTSA awarded a crash-avoidance or front-crash-prevention grade Camera vs radar hardware, braking intervention, or alert modality you did not source Whether the feature works today, was optioned, or was deleted after manufacture A composite "collision prevention score" built from missing neighboring fields Empty ForwardCollisionWarning does not authorize a default "Standard" badge, and a positive token does not mean "AEB verified." Do not fill gaps from Make/Model/Year folklore or a chart keyed only by model year. Treat blank, "Not Applicable", "N/A", and similar tokens as missing. Keep a sourced string when present; do not rewrite it into "AEB Standard" or an IIHS-style crash-avoidance grade. const EMPTY = new Set([ "", "not applicable", "n/a", "na", "null", "n

Dev
Interesse
dev.to

How to Scan QR Codes from Screenshots Without an App

Every developer has lived this one. A QR code shows up on your own screen — a 2FA setup code in a desktop app, a Wi-Fi password in a chat message, a ticket in an email — and your phone's camera is suddenly useless. You can't photograph your own display without a second device and a lot of glare. The usual workarounds are all bad: save the image, email it to yourself, scan it with your phone. Or my personal low point: taking a photo of my monitor with my phone and squinting at the result. There's a much better way, and it runs entirely in the browser. Modern browsers let a web page read an image straight from your clipboard. So the whole workflow is: Screenshot the code however you normally do (Win+Shift+S, Cmd+Shift+4, phone screenshot button). Don't bother saving — it's in your clipboard. Open this free QR scanner. Click the page, press Ctrl+V (Cmd+V on Mac). Read the decoded result: full link or text, code format, and a link-safety preview. Five seconds, no install, no account. The same page also handles file uploads (for saved screenshots) and camera scans (for printed codes), and it reads QR, UPC, and common 1D/2D formats without asking you to pick a mode. (Disclosure: I built this tool. It's one of 30 free browser-based utilities I'm shipping at ToolkitLoop — everything runs client-side, no backend.) If you're curious how a paste-to-decode flow works, the pipeline is refreshingly simple. Conceptually: Capture: the page receives the clipboard image as a bitmap. Rasterize: it draws that bitmap onto a so it can read raw pixels via getImageData. Decode: a decoding library converts the pixel grid into text — finding the QR finder patterns, sampling the module grid, running error correction. Retry passes: for damaged inputs, the pipeline re-runs on transformed copies — rotated, inverted, scaled — until something decodes. An illustrative sketch of the shape (not the site's actual source): // Illustrative pipeline — the general pattern, not production code async functi

Dev
Interesse
dev.to

Sepio.dev: I've built a Figma style database designing tool

Every time I used an ERD tool, I started hating it sooner or later. Top of that, after completing design, writing schema was another pain. So I have built https://sepio.dev. With Sepio, you can import existing SQL, Drizzle/Prisma ORM, etc schemas and start designing with drag-and-drop. It has also built-in linter too. Finally, you can export your schema as SQL, Drizzle/Prisma ORM, DBML, etc. I'm currently fixing bugs and refactoring codebase. Planning to soon opensource it. Looking forward to your support & feedback...

Dev
Interesse
dev.to

Micro‑frontends: ¿Escalar la UI sin caos o crear una pesadilla de integración?

¿Qué son los micro‑frontends? Los micro‑frontends son una extensión del concepto de micro‑servicios al mundo del frontend. Cada equipo construye, prueba y despliega una porción aislada de la interfaz —por ejemplo, el carrito de compras, la barra de búsqueda o el perfil de usuario— usando su propio stack, sin depender de un repositorio monolítico. La unión se realiza en tiempo de ejecución mediante contenedores, iframes o módulos cargados dinámicamente. Autonomía de equipos: los squads pueden elegir React, Vue o Svelte según sus necesidades, reduciendo cuellos de botella de coordinación. Despliegues independientes: una actualización en el módulo de comentarios no obliga a volver a publicar toda la aplicación, lo que acelera el time‑to‑market. Escalabilidad organizacional: al dividir la UI en dominios, la carga de trabajo se reparte de forma natural, evitando la típica “pirámide de decisiones” de los monolitos. Resiliencia: si un micro‑frontend falla, los demás pueden seguir funcionando, mejorando la experiencia del usuario. Complejidad de integración: combinar estilos, rutas y estado global puede generar conflictos difíciles de depurar. Sobrecarga de bundle: cargar varios frameworks en una misma página aumenta el peso total y afecta el rendimiento. Gestión de versiones: mantener la compatibilidad entre módulos que evolucionan a ritmos diferentes requiere un contrato de API robusto. Duplicación de código: sin una estrategia clara, diferentes equipos pueden replicar librerías comunes, inflando el tamaño del proyecto. Spotify adoptó micro‑frontends para su web player, permitiendo a cada equipo de producto (listas, búsqueda, reproducción) lanzar funcionalidades sin bloquear a los demás. El resultado fue una reducción del ciclo de release de semanas a días. Amazon divide su portal en miles de micro‑frontends; cada categoría (libros, electrónica, moda) controla su propio flujo de checkout. Sin embargo, los usuarios reportan “saltos” de estilo al cambiar de sección, una señ

Dev
Interesse
dev.to

I Built a Brush-Based AI Photo Eraser (People, Objects, Text, Watermarks)

I’m leony, an indie maker. I kept wanting a small, focused flow for cleaning a photo: paint over the distraction, let AI rebuild that patch from the surrounding scene, download, done. Full design suites are overkill for that, and generic “generate a new image” tools don’t preserve the rest of the frame the way a local erase-and-fill does. So I built RemoveGenie — a brush-based AI photo eraser for people, objects, text, watermarks, and stickers. The product loop is intentionally short: Upload a JPG, PNG, or WebP (up to 20 MB). Paint a red mask over what you want gone. Undo, Clear, and a brush-size slider are there when the first pass is messy. Sign in with Google and submit when the cost/credits look right. The model reconstructs the masked region from context around it. Covered pixels are generated, not recovered from under the object. Download a PNG. Large inputs are resized so the longest edge is at most 1536 px — check dimensions before anything print-related. That “generated, not recovered” line matters. If a tourist’s head covered a storefront sign, you get a plausible wall or window, not the real letters that were behind them. Same editor, six focused tool pages so the intent is obvious: People — strangers in a coastal portrait, photobombers on a trip shot (remove people from photo). Objects — a cyclist at the edge of a street frame, clutter on a desk (AI object remover). Text — burned-in captions, date stamps, a few short words on an image. Watermarks — only on images you have the right to edit. Removing a mark does not transfer copyright. Stickers / emojis — overlays on screenshots or shared photos. Magic eraser — the same brush/fill loop when you just want “erase this blob.” Include shadows and reflections in the mask when you can; the model does not reliably invent unmarked ones. Login to submit. You can prepare the mask first, but Google sign-in is required to run a removal. 16 credits per removal. New accounts get 16 credits (enough for one try), valid 3

IA
Interesse
dev.to

The Cost of Architectural Symmetry

Why different responsibilities deserve different amounts of structure. There is something reassuring about opening a codebase and recognizing its structure. The controllers are where we expect them to be. The services follow a familiar convention. Before we understand the details, we already have a sense of how to move through the system. I think that predictability explains a lot of our attachment to consistency. But familiar structure can also make us less likely to examine what each layer contributes. A controller calls a service, which calls another service, which calls a repository. The dependencies point in the correct direction. Everything has a place. And yet a small operation can pass through an impressive amount of architecture before anything happens beyond passing the request along. In my previous post, I wrote about boundaries that change the physical conditions under which work happens. Moving an operation between processes introduces communication, data movement, and uncertainty. Layers inside a process usually have a much smaller execution cost. But some of their cost is paid by the person trying to understand the system. Somebody still has to follow the operation, find the business rule, and determine where a change belongs. When several components pass the same arguments along, understanding the behavior means carrying that entire chain in your head. The machine might move through those calls cheaply. The engineer still has to make sense of them. There are reasonable reasons to introduce layers. A controller can translate an HTTP request into an application operation. A service can coordinate business behavior. A repository can isolate persistence details. Even a thin layer can establish a useful contract or contain a dependency that changes. But the responsibility should explain the layer. I feel like we often start with the layers and then try to find responsibilities to put inside them. Consider an endpoint that reads a customer’s preferred lang

Dev
Interesse
dev.to

Linux Network Interfaces: Find the Right Device, State, and IP

When a Linux machine can’t reach the network, first find out what interfaces the kernel sees and whether they have addresses. A quick check can distinguish a missing device from one that’s simply down or not configured. For a fast scan, run: ip -br addr show You’ll get one line per interface, including its state and any assigned IP addresses. If you only need interface names and link state, use: ip -br link show To print just the names, without parsing command output: ls /sys/class/net That last command reads the kernel’s sysfs interface, so it’s handy in minimal environments and scripts. The ip command, provided by iproute2, is the usual starting point on modern Linux systems: ip link show This lists interfaces the kernel knows about, including ones that are down. To see addresses as well, use: ip addr show The shorter ip a works too. For one device, pass its name: ip addr show enp0s3 An interface without an inet line has no assigned IPv4 address. That can be normal: it might be down, unconfigured, or using IPv6 only. For a quick list of only interfaces marked up, use: ip -br link show up Or include addresses: ip -br addr show up Be careful about what “up” tells you: it means the interface is administratively enabled, not necessarily that it has a working physical connection. An Ethernet interface can be up even when no cable is plugged in. A full ip link show entry might look like this: 2: enp0s3: mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000 link/ether 08:00:27:4a:1b:3e brd ff:ff:ff:ff:ff:ff The interface name is enp0s3; link/ether shows its MAC address. The flags and state describe its link status. Don’t treat the interface’s existence, administrative state, and physical connectivity as the same thing. If you need to check whether a particular Ethernet device detects a physical link, ethtool can inspect that named device: ethtool enp0s3 Look for its link-detection information. ethtool is for inspecting a device you already know about; use

Infra
Interesse
dev.to

MLH second week challage

Hello i am build the Trash to Treasure is an offline AI-powered cleanup coach that helps users identify and properly dispose of waste using their phone or laptop camera What I Built: Explains the core loop: Go Outside to Spot Litter to Snap Real Photo to Local AI Classifies to Pick Up Safely to Log Real Impact to Pocket Phone & Keep Walking. Step-by-step user walkthrough from opening the camera to real-time on-device classification, confirmation checkbox, and confetti impact summary. Details the Two-Layer Decoupling Architecture: Highlights the strict zero-state initialization and cryptographic scan_id anti-duplicate point award mechanisms. Zero Connectivity Required: Closed APIs fail in state parks and backcountry trails with 0 cellular bars. Zero Marginal Cost: Local inference on Ollama costs $0.00, removing financial barriers for volunteers. Prize Categories: Use Gemma, Google's open-weight model, in building your project GitHub Repository**: GitHub - Trash-to-Treasure

IADevMobile
Interesse
dev.to

Nothing on our landing page talks to another domain, which is why there is no cookie banner

Open pub-trivia.app and no cookie consent dialog appears. That is not an outstanding task, and it is not a risk somebody decided to take. It is downstream of a loading decision, and you can verify the whole chain from your own machine in three commands. curl -s https://pub-trivia.app/ | grep -oE '(src|href)="https?://[^"]*"' | grep -v pub-trivia.app Nothing. Not one script, stylesheet, image or link in the document points at another origin. curl -sI https://pub-trivia.app/ | grep -i '^set-cookie' Nothing. A first visit sets no cookies at all. curl -s https://pub-trivia.app/ | grep -cE '<iframe|preconnect|dns-prefetch' Zero. No embeds, and no hints that we are about to connect anywhere, because we are not. Better still, do it in a browser: open the site in a fresh private window, go to the Application tab, and look at Cookies. The list is empty. Switch to Network and sort by domain: one domain. Under UK PECR, consent is required for cookies that are not strictly necessary for providing the service the user asked for. Analytics cookies need consent. Advertising cookies need consent. A cookie that keeps you logged in does not, because being logged in is the thing you requested. So the banner is not a legal formality you bolt on to a site. It is a notification that you loaded something whose purpose is not the user's purpose. If nothing in that category is on the page, there is nothing to ask about, and the dialog would be a dialog asking permission for nothing. Which reframes the decision. Every third party you add is not just a request and some kilobytes. It is a line item on a cookie policy, a consent state to store and respect, a blocked-until-consent code path, and a dialog in front of your landing page forever. No analytics. None. You can check this against our own disclosure: search the privacy policy for the word "analytics" and it does not appear in the list of what we collect, because there is nothing to list. No hosted fonts. Two woff2 files come from /_next/

Segurança
Interesse
dev.to

Understanding Prism: Dynamic Sparse Attention for Joint Video-Audio Generation

Prism is a dynamic sparse-attention framework for training video-and-audio generation models at high resolution. It aims to reduce the cost of attention while keeping the visual and sound details that matter to a clip. A 2K video contains far more visual tokens than a small image. If every token compares itself with every other token, attention becomes expensive quickly. Audio adds another stream of information, and a useful model must connect sounds to the parts of a scene that produce them. This article explains the problem Prism addresses, how its attention pattern changes with local content, and what the Hugging Face preview currently requires. The project page and paper describe the method; the results below are the authors’ reported findings, not an independent benchmark. Imagine a model studying a short clip of someone playing an instrument. It receives many small visual patches from every frame, along with audio features from the soundtrack. A dense attention layer lets each visual token compare with every other token. This is flexible, but the number of comparisons grows roughly with the square of the token count. More frames and finer spatial detail both increase that count. At high resolutions, much of the video may be quiet background or repeated scenery. Giving every token equal access to every other token can spend compute on relationships that contribute little to learning. Video and audio also have a useful structure: sound is often tied to particular actions or objects. A struck drum, for example, should relate to the moving hand and drum surface more strongly than to a still wall. Prism uses this structure to guide sparse attention. The paper and Hugging Face model card describe the method. Prism first organizes the video tokens into spatiotemporal macro-zones. Each zone covers a region across time, height, and width. You can think of it as dividing a long film strip into neighborhoods before deciding which neighborhoods need finer inspection. For

IA
Interesse
dev.to

Pocket Walk: an offline AI that plans your walk, then tells you to put the phone away

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass* Pocket Walk is a walk planner that wants you off the screen as fast as possible. You tell it your region, season, what you like looking for (birds, trees, bugs) and how much time you have. A local open-weight model turns a field guide into a pocket card: a handful of riddle-style clues for things to find on your walk. Then you hit "Start walk" and the screen goes dark, with just a breathing orb and a timer. When you're back, you tick off what you found and the model writes a short trail journal. The metric I care about is the grass ratio: minutes outside per minute on screen. It sits in the corner of the app and fills up the more you walk. The goal is to make the screen the shortest part of the experience, so the app is built to be left. It's for anyone who wants a nudge to look at their own surroundings more closely: casual walkers, kids, students between classes. https://drive.google.com/file/d/1mpd6ITLpQCc5dACMfF3tALElSroYcZJ-/view?usp=sharing {https://github.com/Lagnadeep-samal/pocket_walk} Run it in two commands, with no account and no API key: ollama pull llama3.2:3b python app.py # open http://localhost:8000 It uses only the Python standard library, so there is nothing to pip install. Open model, local inference: Llama 3.2 3B through Ollama, called over localhost. Setting POCKET_MODEL swaps in Qwen, Gemma or anything else Ollama serves. Retrieval over a local field guide: guide.json holds the species, with habitat, season and an identification hint for each. A small BM25 search (pure Python) picks the best matches for your season, interest and time budget. Grounded generation: the model only writes riddle clues from the retrieved notes, and the species list comes from the retrieval step, not from the model. A 3B model can't invent a bird that isn't in the guide. Graceful fallback: if Ollama isn't running, the app still works and shows the plain field-guide clues. Frontend

IADevMobile
Interesse
dev.to

Googlebook Is Google's Gemini-Enabled Laptop Family With Android Integration

Google has formally introduced Googlebook, a new family of laptops designed around Gemini Intelligence and closer integration with Android phones. The product line combines elements of Android and ChromeOS, supports Android apps, and is positioned around workflows that move between a phone and laptop. Googlebook is not a rumored device or a renamed existing Chromebook. Google described the new category in its May 12, 2026 announcement, Google's official Googlebook introduction confirms. The company says the laptops are built for Gemini and designed to work seamlessly with Android devices, with features including Magic Pointer, Create Widgets, Quick Access and app continuity. The central distinction is Google's attempt to make a laptop a more direct extension of an Android phone. Googlebook brings together Android and ChromeOS strengths rather than treating the laptop and phone as separate environments. That approach matters because many day-to-day tasks begin on a phone but require a larger screen, keyboard or desktop-style workspace to finish. Google has confirmed that Googlebook supports Android apps and cross-device features. Quick Access and app continuity are intended to make information and activity available across the phone and laptop, while Magic Pointer and Create Widgets are part of the new Googlebook experience. Google has not, in the supplied material, published complete technical specifications for every configuration, so buyers should not assume common details such as processor, memory, display or battery specifications across all partner models. Googlebook element Confirmed role Relevant workflow connection Gemini Intelligence Googlebook is designed around Gemini. Places Gemini at the center of the laptop category. Android app support Googlebook supports Android apps. Brings Android software into the laptop environment. Quick Access and app continuity Googlebook is designed for tighter phone-to-laptop integration. Connects work across paired Android

Mobile
Interesse
dev.to

29 Client-Side Developer Tools for JSON, CSV, YAML and More

*Hey everyone! *👋 Like many of you, my browser used to look like a chaotic mess of open tabs. Whenever I needed to quickly validate a JSON payload, format a messy SQL query, convert CSV data, or encode something in Base64, I would end up opening random websites filled with annoying ads, cookie banners, and sketchy servers handling my data. One day, I decided: Enough is enough. I wanted a single, fast, privacy-focused hub containing all the essential utilities a developer actually uses daily. So, I built a collection of 29 client-side developer data conversion and formatting tools, hosted cleanly on GitHub Pages. The suite includes handy converters and formatters for: JSON & CSV (Bidirectional conversion) YAML & SQL parsing and formatting Base64, URL, and HTML encoding/decoding And several other quick utilities designed to save your precious keystrokes. Privacy and speed were my top priorities. Everything runs 100% locally in your browser using JavaScript. Your data never leaves your machine—no backend databases storing your sensitive API responses or logs. Plus, it's fully optimized for mobile use, so you can even use it on the go. If you want to save yourself some tab-switching fatigue, you can check out the live project here: https://toolforge1.github.io/csv-json-tools/ I’d love for you to try it out and let me know: What do you think of the UI/UX and performance? Are there any other specific converters or tools you wish existed in a package like this? Drop your thoughts, feedback, or feature requests in the comments below! Happy coding! 🚀

Dev
Interesse
dev.to

Get every new UK company in your industry each morning

Every UK company has to register at Companies House, and the register is public. That makes it one of the best free sources of fresh B2B leads: a new software firm, restaurant or construction company shows up within a day or two of incorporating, along with its industry code and registered address. The catch is getting the data out. The Companies House website shows one company at a time, and the official API needs a key, rate limiting and code to page through results. Here's how to get a clean list in a couple of minutes instead. One row per company: name, company number, status, type, incorporation date, industry (SIC codes with plain-English descriptions) and registered office address. You can optionally add accounts and confirmation-statement due dates, charges, insolvency history and previous names. Go to UK Companies House Scraper on the Apify Store and click Try for free. You'll need a free Apify account. You don't need a Companies House API key. This input asks for new software companies incorporated in the last 7 days: { "sicCodes": ["62"], "incorporatedWithinDays": 7 } 62 is a SIC prefix that covers all software and IT consultancy codes. Add "location": "Manchester" to narrow it to one town, or use 56101 for restaurants, 41 for construction, and so on. Click Start. Results appear in a table you can download as CSV, Excel or JSON. When I ran this on October 5, 2026, it matched 1,705 new software and IT companies from the previous 7 days. Here's one record (the full record also has the registered office address and status details): { "companyName": "SCOPESPAN SOFTWARE LIMITED", "companyNumber": "17484697", "statusLabel": "Active", "incorporatedOn": "2026-09-28", "sicDescriptions": ["Business and domestic software development"], "url": "https://find-and-update.company-information.service.gov.uk/company/17484697" } Add two fields and schedule the run every morning: { "sicCodes": ["62"], "incorporatedWithinDays": 3, "onlyNewCompanies": true, "monitoringList": "

Geral
Interesse
dev.to

MERN + TypeScript Code Cheat Sheet — Part 1 (Setup, Express, Mongoose, Aggregation, Auth)

MERN Cheat Sheet — Part 1 Snippets come from express-mongo-auth-starter and react-vite-auth-starter, cleaned up. (verify) = not in my repos and I'm not 100% sure of the API. Snippets are TypeScript unless noted. Backend Version Frontend Version node >=20 react / react-dom ^19.2.8 express ^5.1.0 vite ^8.3.0 mongoose ^8.18.1 typescript ~6.0.2 zod ^4.1.5 zod ^4.6.5 jsonwebtoken ^9.0.2 axios ^1.20.0 bcryptjs ^3.0.2 @tanstack/react-query ^5.104.1 bullmq ^6.3.11 react-router-dom ^7.18.4 ioredis ^6.0.0 react-hook-form ^7.89.0 express-rate-limit ^8.1.0 @hookform/resolvers ^5.9.1 pino / pino-http ^9.9.4 / ^10.5.0 tailwindcss + @tailwindcss/vite ^4.3.3 typescript ^5.9.2 vitest ^5.0.3 tsx ^4.20.5 @testing-library/react ^16.3.3 vitest ^4.1.11 jsdom ^29.1.1 supertest ^7.1.4 mongodb-memory-server ^10.2.3 Not in either package.json (latest stable assumed, (verify)): helmet, cors, puppeteer, mysql2, a MySQL server. utils/helpers.ts: id regex ends with \$ → never matches. Use /^[\da-f]{24}$/i. review.service.ts: locationId should be location; $ratings should be $rating; lte needs $lte; facet key ratingg must be ratings; list filters use owner/title, which Review doesn't have. review.schemas.ts reply is { owner, text } but the model's reply is { owner, reply }. config/redis.ts: maxRetriesPerRequest: 0 → BullMQ workers need null. config/env.ts: REDIS_PORT has .min(6379) — probably meant a plain port range. Setup Express patterns Mongoose Aggregation + indexing Auth npm i express mongoose zod dotenv pino pino-http express-rate-limit jsonwebtoken bcryptjs cookie npm i -D typescript tsx vitest supertest mongodb-memory-server @types/node @types/express @types/jsonwebtoken @types/supertest Gotcha: "type": "module" + NodeNext means relative imports need the .js extension. { "type": "module", "engines": { "node": ">=20" }, "scripts": { "dev": "tsx watch src/server.ts", "build": "tsc", "start": "node dist/server.js", "typecheck": "tsc --noEmit", "test": "vitest run" } } Gotcha: tsx only runs

Dev
Interesse