Painel de Notícias

Tecnologia

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

Filtros
dev.to

What Is HTTP/3? Why Most of the Web Still Isn't Using It

Every major browser decided HTTP/3 was ready years ago. Chrome, Edge, Firefox and Safari have all shipped full support since 2022, and caniuse.com puts global browser support at 94.55% as of October 2026. Yet according to W3Techs, only 40.8% of websites actually served pages over HTTP/3 as of October 2026. That gap, not the protocol itself, is the real HTTP/3 story: browsers have been ready for years, and most servers still are not. Key takeaways Browser support for HTTP/3 sits at 94.55% globally (caniuse.com, October 2026), but only 40.8% of websites actually serve traffic over it (W3Techs, October 2026). HTTP/3 runs on QUIC over UDP instead of TCP, which removes TCP's head of line blocking so a lost packet stalls only one data stream instead of the whole connection. The speed gain is largest on mobile and unreliable networks; on a stable, low latency wired connection the difference is marginal. Some corporate and campus firewalls block the UDP traffic QUIC needs, but browsers detect this and fall back to HTTP/2 automatically, so enabling HTTP/3 rarely breaks anything. The Real Story Behind HTTP/3 Is a Server Side Lag, Not a Browser Problem HTTP/3 became an official internet standard when the IETF published it as RFC 9114 in 2022, and the underlying QUIC transport protocol it runs on is RFC 9000. Browser vendors moved fast: Chrome, Edge and Firefox had working support rolled out within a year or two, and Safari followed. That is why caniuse.com's tracker shows 94.55% of browsers in use today can speak HTTP/3 without any flags or workarounds. Servers are a different story. W3Techs, which scans live websites rather than browser capability tables, measured HTTP/3 usage at 40.8% of all sites as of October 2026. Enabling HTTP/3 on the server side means upgrading or reconfiguring the web server, making sure TLS certificates and UDP port 443 are set up correctly, and in many cases waiting for a CDN or hosting provider to flip the switch. None of that is hard anymore, but

Infra
Interesse
dev.to

Using Git aliases to increase our productivity

In the previous article of this course we learned to use the git log command with multiple parameters to increase its usefulness; however, it's not the only time we'll have to run commands in which we'll have to write more than we would like if we want to be agile and spend more time writing our code than managing our favorite version control system. Luckily, the Git developers seem to be aware of this and they've developed a very useful function such as aliases. Ok, it's true that we can create aliases in other ways, but the fact that there's a specific Git tool makes us consider the possibility of using it if we'd not considered it before using the configuration file of our command interpreter a.k.a shell. The first thing to know is that you can define global aliases or only for the user that executes the command, for this it's enough to add or not the --global parameter at the moment in which the command is executed. And this parameter may be familiar to you because you used it at the beginning of this course, when we configured our name and our email to start using Git; this is due to Git aliases are another parameter of the Git configuration. And the second and last thing to know is that when you add an alias you can refer to Git commands or not; if they are Git commands it's no longer necessary to include git because we already call Git when writing the alias; if they're not Git commands, the alias must be preceded by the ! symbol in order to let Git know that it must call the shell. A very useful alias, and one that can save us a lot of time: in a single command it executes what we usually write when we start a Git repository. Normally we would run: $ git init $ git add . $ git commit -m "Initial commit" And if we speed up this task? We are proud to present you the git this command that currently doesn't exist but we are about to create it: $ git config --global alias.this '!git init && git add . && git commit -m \\"Initial commit\\"' As you can see, preceded

Dev
Interesse
dev.to

Geofencing without the Battery Drain: Lessons from Muffle

Opening hook It happened during a quiet afternoon at the community center. I was sitting in the back row, waiting for the session to begin, when my phone decided to belt out an aggressive notification sound at maximum volume. Everyone turned around. The silence of the room amplified the interruption, making me feel like the most inconsiderate person in the building. I scrambled to silence the device, but the damage was done. I had missed the silent toggle again, just like I had during that crucial morning interview last month. I needed a better way. We live in a world of constant digital interruption, yet our devices remain surprisingly bad at knowing when to be quiet. We have calendars, GPS, and sophisticated sensors, yet we are still manually flipping toggle switches like it is 2005. The problem isn't just the occasional embarrassment; it is the cognitive load of constantly monitoring your own device’s status. I found myself checking my volume settings before entering every room, which is a ridiculous waste of mental energy. Existing solutions felt heavy-handed or unreliable. Many location-based automation apps rely on constant polling, which creates a noticeable battery drain that kills your device before the day is out. Others simply fail to trigger because they rely on outdated broadcast receivers or get killed by aggressive OEM power-saving measures. I wanted something that felt invisible—an app that managed my sound profiles based on triggers like GPS and prayer times without me needing to micromanage it. I needed a background service that was both precise and efficient enough to exist on a daily driver device without impacting my screen-on time. When I started building Muffle, my first instinct was to use a simple LocationListener and calculate distances manually. That was a mistake. Continuous location polling is the fastest way to drain a battery and trigger Android’s battery optimization alerts. Instead, I pivoted to the GeofencingClient within the Google

Mobile
Interesse
dev.to

ContextLens — Think Deeper. Decide Better. 🧠

What if AI's most useful role in a difficult decision wasn't to tell you what to do? What if it helped you see the problem more clearly first? That's the idea behind ContextLens — a structured AI thinking partner that helps people examine difficult situations, question assumptions, discover missing context, explore trade-offs, and then make their own decision. 🔗 GitHub: https://github.com/GayatriKhandre/contextlens 🎥 Demo: https://drive.google.com/drive/folders/1EY23NGljUcJVfKCQmqqYP1auDOjSz_u1?usp=sharing When we're stuck with a difficult decision, we often start with the question: "What should I do?" But that can be the wrong first question. We may already be mixing together: facts and assumptions known information and unknown information our own perspective and someone else's short-term needs and long-term goals options and their trade-offs And when we ask a conventional AI assistant for advice, it can be tempting for the system to immediately give us an answer. ContextLens takes a different approach. Instead of immediately giving a verdict, it asks: Do we understand the problem well enough to make a decision yet? ContextLens is a structured thinking workspace designed around a simple principle: AI should help you examine a decision, not make the decision for you. The workflow is: The final decision always stays with the human. I designed the experience around a realistic situation involving a software fresher. Imagine a fresher who: has a very high workload is handling multiple tasks simultaneously sometimes works beyond normal hours wants to eventually move to a better role has very little time and energy left for interview preparation worries that, as a fresher, pushing back on a manager may be difficult still needs to maintain income stability A typical AI assistant might jump directly to: "Start applying for new jobs." But that's not necessarily the right answer. There are many things we don't know yet. Is the workload temporary? Which tasks are actually n

IA
Interesse
Hacker News

Tell HN: Uceprotect is extorting website owners

I recently discovered by accident that our website was being blocked by Orange's security filters. After a quick check, I found that our IP address is listed on UCEPROTECT Level 3. The listing is based on the reputation of the entire ASN 14061 (DigitalOcean, US) [1]. In other words, even if your IP did nothing wrong, it will still be listed because of its ASN. If your site is innocent and listed only because it's hosted on DigitalOcean, UCEPROTECT offers to whitelist it for about $30/month or $108/year [2]. I checked the ASNs of several other popular hosting providers, and they're all listed too. So if your site is hosted on DigitalOcean or any other major provider, it's probably blacklisted as well. That can cut you off from customers on mobile networks like Orange, whose "cybersecurity protection" uses blacklists like UCEPROTECT to filter traffic. Honestly, in my 20-year career, this is the first time I've seen a blacklist misbehave this badly and ask for money when there's clearly been no wrongdoing. [1] http://www.uceprotect.net/en/rblcheck.php?asn=14061 [2] https://www.whitelisted.org/ Comments URL: https://news.ycombinator.com/item?id=49964045 Points: 12 # Comments: 2

SegurançaInfra
Interesse
dev.to

Getting Your First Orbistats API Key: A 5-Minute Quickstart Walkthrough

Most "quickstart" guides skip the part that actually trips people up: where exactly to click, what the key looks like, where to put it, and what the very first error message means when you get it wrong. This is a genuinely five-minute walkthrough — sign up, get the key, make one real request, understand your limits, and know where to go next. What You'll Need Go to the sign-up page and create an account. This is a plain email/password-style signup, not a sales form — you land straight in a dashboard, not a "someone will contact you" queue, which is the main thing that separates a self-serve platform like Orbistats from enterprise-only providers in this space. Once you're in, you'll have access to the login page for future sessions and a dashboard where your API key lives. Step 2: Copy Your API Key Your key will be a long alphanumeric string tied to your account's plan and rate limit. Copy it from the dashboard — but before you paste it anywhere, read this next part carefully, because it's the step almost every first-time tutorial gets wrong. Don't Hardcode It Never paste your key directly into a script you might commit to Git, share in a screenshot, or paste into a public gist. Store it as an environment variable instead: macOS or Linux: bash Windows PowerShell: powershell Or in a .env file (most projects use this for local dev): bash ORBISTATS_API_KEY=your_key_here This isn't a minor hygiene tip — a leaked key on a public GitHub repo gets scraped and abused within hours in practice across most API providers, and you'll find out when your quota is suddenly gone or your account gets flagged. Step 3: Understand the Authentication Pattern Orbistats uses a standard Bearer token in the Authorization header — the same pattern you'll recognize from most modern REST APIs: Authorization: Bearer YOUR_API_KEY That's it. No OAuth handshake, no signed-request complexity for basic REST calls. Full details live in the API documentation and the API reference if you want every endpo

Dev
Interesse
dev.to

English guides say ¥6 million. The FSA says ¥18 million. Genten checks Japan's money rules against the Japanese original

This is a submission for the Sanity Challenge, Path One: Ship an Agent That Queries Real Content Genten (原典, "the original source") answers foreign residents' questions about two Japanese money systems: NISA, the tax-free investment account, and furusato nozei, the hometown-donation tax deduction. Every answer gives the rule in force on a chosen date, its official Japanese source, and what English-language guides get wrong. I live in Japan and read Japanese, and I kept seeing the same problem. The official rules are published by the FSA (金融庁), the National Tax Agency (国税庁) and the Ministry of Internal Affairs (総務省), mostly in Japanese only. Foreign residents read English guides instead, and many of them are out of date or simply wrong: A popular guide still gives the pre-2024 NISA limits (¥400,000 a year) and a minimum age of 20. Another gives the tsumitate quota a ¥6,000,000 lifetime limit. That limit has never existed; the FSA sets an ¥18,000,000 total. A guide labelled "2026" still recommends timing donations for portal bonus points, which were banned on October 1, 2025. These rules also change on fixed dates. NISA was rebuilt in January 2024, a children's NISA starts in January 2027, and new furusato rules took effect on October 1, 2026, just days before this submission. A keyword search finds whichever page matches best, not whichever rule was in force. Genten is built so that the answer depends on dates and authority, not on wording. Live app: https://genten.vercel.app/ Click one of the example questions for an instant answer (recorded from the agent and labelled as such), or ask your own question for a live answer. You can change the "As of" date to see which rule applied on another day. Good questions to try: "Is the tsumitate lifetime limit ¥6 million?" "Can my 10-year-old open a NISA account now?" (then set "As of" to 2027-03-01) "My employer is transferring me overseas for 4 years. Can I keep buying in my NISA while abroad?" "つみたて投資枠の年間上限はいくらですか?" (it ans

IA
Interesse
dev.to

[Golang] Why Go Has Both `make` and `new`

You want to create a slice: numbers := make([]int, 3) But for a struct, you might see: user := new(User) Both seem to "create" something. So why does Go need two built-in functions? The answer is that make and new solve two very different problems. The simplest distinction is: new(T) gives you a pointer to the zero value of T make(T, ...) initializes a slice, map, or channel so it can actually be used new works with almost any type. make works only with: slice map channel Their return values are also different. p := new(int) Here: p // *int But: s := make([]int, 3) Here: s // []int make does not return a pointer to the slice. It returns the initialized slice value itself. For many Go types, the zero value is immediately useful. For example: var n int fmt.Println(n) // 0 And: var u User already gives you a valid zero-valued User. But slices, maps, and channels are special. Their zero values are nil. var s []int var m map[string]int var ch chan int Conceptually: s = nil m = nil ch = nil Sometimes that is useful. But often you need their internal runtime state initialized before doing real work. That is what make is for. package main import "fmt" type User struct { Name string } func main() { n := new(int) fmt.Println(*n) user := new(User) fmt.Printf("%+v\n", *user) numbers := make([]int, 3) numbers[0] = 10 fmt.Println(numbers) users := make(map[string]int) users["alice"] = 42 fmt.Println(users) jobs := make(chan string, 1) jobs <- "send email" fmt.Println(<-jobs) } Run it with: go run main.go Output: 0 {Name:} [10 0 0] map[alice:42] send email Notice the difference. new(int) returned an *int pointing to: 0 new(User) returned a *User pointing to: User{} But make initialized the internal structures needed by the slice, map, and channel. new Consider: p := new(int) You can think of it approximately like this: new(int) int value ┌─────┐ p ─► 0 └─────┘ The expression returns: *int The value being pointed to is the zero value of int. Similarly: u := new(User) gives you: *Us

Dev
Interesse
dev.to

Why Quantitative Finance is Finally Breaking Up With C++ And Adopting OCaml

Most quantitative finance desks are built on a mountain of legacy C++ and Python codebases that routinely trigger midnight page alerts due to subtle memory corruption bugs or unpredictable garbage collection pauses. When you are pricing complex interest rate derivatives or running high-frequency order routing algorithms, losing even five milliseconds to an unexpected runtime exception can wipe out your daily alpha. We have all stared at core dumps at 3 AM, wondering why a pointer went out of bounds in a multi-threaded risk engine. It is an exhausting way to build software, yet the industry has clung to it for decades simply because performance matters above all else. But the landscape is shifting, and forward-thinking engineering teams are discovering that strict functional programming is no longer just an academic exercise. The dirty secret of modern quantitative development is that our safety nets are entirely inadequate for the complexity of our financial models. Python gives you velocity, letting you prototype a pricing formula in minutes using NumPy and pandas, but it falls apart the moment you push it into a low-latency concurrent pipeline. The GIL destroys your multi-core parallelism, and dynamic typing means a rogue None value can quietly propagate through your portfolio valuation engine until it causes a catastrophic mispricing in production. You end up writing hundreds of defensive unit tests just to catch the type errors that a competent compiler should have rejected at compile time. On the flip side, jumping straight to C++ or Rust gives you raw metal speed, but it introduces an entirely different category of self-inflicted pain. Memory management in C++ is a minefield where a single missed smart pointer or a subtle data race in your order book parser can take down an entire trading gateway. When you are dealing with complex algebraic representations of yield curves or stochastic volatility models, mutable state makes your code nearly impossible to reaso

Dev
Interesse
dev.to

NoPlanB: An AI Execution Engine to Cure Productive Procrastination

For the Hacktoberfest 2026 Weekend Challenge ("Build for a Friend"), I decided to tackle a problem that has paralyzed a close friend of mine for years: Productive Procrastination. My friend has an incredibly elaborate Obsidian vault. They have nested folders for 2026 goals, 5-year plans, and daily habits. They spend hours organizing these notes, researching the "best backend frameworks," and restructuring their markdown files. But when it comes time to actually sit down and write code? They freeze. They use planning as an emotional shield against execution. To solve this, I built NoPlanB: an open-source, air-gapped AI execution engine designed to force you out of the planning phase and into the trenches. ( ) Traditional tools like Notion or Yeolpumta (YPT) often fail because they don't address the underlying emotion preventing you from starting. NoPlanB replaces the passive to-do list with a Socratic WOOP (Wish, Outcome, Obstacle, Plan) Interrogator. Before you can start a task, you must face the Crucible: The Emotion: What exact emotion is making you avoid this? (e.g., Fear of failure). The Planning Trap: How are you productively procrastinating right now? (e.g., I keep telling myself I need to read one more API doc). Atomic Action: What is the absolute smallest physical step? Internal Obstacle: What feeling will make you quit? Survival Plan: If that happens, what is your plan? I didn't want my friend's deepest anxieties and journal entries going to a third-party server. So, NoPlanB runs entirely locally. If you are too overwhelmed to figure out your emotional blockers, you click the ✨ Ask AI button. NoPlanB uses a local Google Gemma model (via Ollama) to read your current journal entry, call out your cognitive distortions, and generate a harsh but fair CBT (Cognitive Behavioral Therapy) survival plan. ( ) Once the Crucible is complete, the entire planning interface disappears. You are locked into the "Active Task" widget. I took inspiration from YPT (Yeolpumta) an

IA
Interesse
dev.to

Building a 100% Private, Offline-Ready Speech Translator for Hacktoberfest 2026

*This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built Speech Translator, a privacy-first, offline-capable web application designed to bridge communication gaps for a loved one. Specifically, I built this for an elderly family member who struggles with language barriers during healthcare visits and daily conversations. Speech Translator bridges communication gaps for loved ones. Built with HTML and JavaScript, it combines browser speech APIs with local open-weight AI for 100% private, offline-ready, and cost-free translation with zero cloud tracking, ensuring your conversations remain secure and entirely on your device. It eliminates the friction of traditional translation apps by offering an intuitive, high-contrast interface with real-time speech-to-text and text-to-speech output. Live Website: https://amritakaur1717-collab.github.io/Speech-Translator/ GitHub Repository: https://github.com/amritakaur1717-collab/Speech-Translator.git Code You can explore the clean, lightweight codebase directly through the GitHub repository link above. The application is built using a minimal structure containing HTML and JavaScript files. The application is structured into a lightweight, modular setup using HTML and JavaScript (with no external CSS dependencies). Speech Processing: It harnesses native browser Speech Recognition and Speech Synthesis APIs to handle voice input transcription and clear audio playback for translated text. Local AI Inference: For intelligent, context-aware translations, the app connects seamlessly to local open-weight AI models (such as Llama or Mistral running via Ollama). Architecture: The frontend handles real-time audio event listeners and updates the DOM dynamically while communicating with the local API backend for high-speed linguistic conversion. Open innovation is the absolute backbone of this project because of two non-negotiable requirements: data privacy and accessibility. Absolute Privacy: Personal health

IADev
Interesse
dev.to

Building a Document Pipeline for Cross-Border Company Registration (Without Losing Your Mind)

If you've ever been pulled into a company's expansion project as the "technical person who's good with process", you know the drill. Legal and finance own the strategy, but somehow a developer ends up managing the spreadsheet of documents, deadlines, and translation vendors because nobody else wants to track versioning across twelve PDFs in three languages. A recent M21Global article covers the legal side well: which documents the Portuguese Commercial Registry (Conservatória do Registo Comercial) requires translated, and when you need an apostille versus consular legalisation. That's the compliance layer. This article covers the layer underneath it: how to actually manage that document pipeline so it doesn't blow up your registration timeline. Because here's the thing nobody tells you upfront: this isn't a translation problem, it's a state management problem. You have N documents, each with a lifecycle (draft → apostilled/legalised → translated → certified → submitted), dependencies between them, and hard expiry dates on at least one certificate. That's a workflow, and workflows are things we know how to build. Before touching any tooling, write down the state machine. For a Portuguese branch registration, it looks roughly like this: ORIGINAL_ISSUED -> AUTHENTICATED (apostille or consular legalisation) -> TRANSLATION_IN_PROGRESS -> TRANSLATION_CERTIFIED -> SUBMITTED -> ACCEPTED | REJECTED The key detail the source article flags, and that's easy to miss if you're not paying attention: authentication happens before translation, and the translation must cover the apostille/legalisation stamps too. If you model this as a flat checklist instead of an ordered pipeline, you'll end up translating a document before it's authenticated, and redoing the whole thing. A simple way to enforce this in a tracking tool (Airtable, Notion, or a custom script) is to make AUTHENTICATED a hard precondition field that blocks the TRANSLATION_IN_PROGRESS status from being set. Even a basic

Dev
Interesse
dev.to

Noted: a Hinglish-aware app that turns my friend's WhatsApp chaos into calendar events

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I asked a friend what app he wished he had, and the answer was this one. Like most of us, his college information doesn't arrive in a calendar. It arrives in WhatsApp groups, buried between memes: Bhai kal 11 baje DBMS ka quiz hai, unit 3 tak. Assignment submission last date 18/10 5pm. By the time you scroll back to find it, you've already missed it. Noted is an Android app that closes the gap between "a message in a group" and "I won't forget this": Share or paste a WhatsApp message into Noted. Swipe right to add it to the calendar, swipe left to save it as a note with a topic checklist, or long-press to set a reminder. It understands English, Hinglish and Devanagari ("kal", "parso", "saadhe 9 baje", "कल सुबह ८ बजे") and asks you to confirm ambiguous dates instead of guessing. Reminders fire even when the app is closed. A study planner turns your deadlines into a 7-day schedule around your classes and sleep. Everything stays on the phone. No account and no server are needed. Download the APK: https://github.com/SkjOO5/Noted/releases/latest Code / Noted Noted Turn messy college WhatsApp messages into calendar events, notes and reminders, with one swipe. Bhoolna mat. Don't forget. Download APK · Report a bug · Request a feature · Read the DEV post Screenshots Messages Calendar Notes Reminders The problem Most college information now lives in WhatsApp groups: quiz dates, syllabus, assignment deadlines, room changes, holidays. It arrives buried between "good morning" messages and memes. To act on any of it, you have to: leave WhatsApp, open a calendar or notes app, retype the date and details, set a reminder, go back and hope you did not lose your place. People skip the steps, and then miss the quiz. This project was built for a friend who kept doing exactly that. The solution Share (or paste) a WhatsApp message into Noted. It reads the message, understands the date and time (including Hin

Mobile
Interesse
9to5Mac

Redesigned MacBook Pro with OLED to feature ‘significantly lighter’ design: report

Apple’s major MacBook Pro overhaul is just around the corner, and should debut within a month or so. It’ll be the first touchscreen MacBook, as well as the first with Tandem OLED. Beyond that, though, the new MacBooks should be ‘significantly’ lighter than their predecessors, according to the latest issue of the Power On newsletter. more…

Geral
Interesse
Phoronix

AMD Ryzen AI Developer Platform OS Updated With ROCm 10.0, Linux 7.2

With the AMD Ryzen AI Halo mini PC that launched this summer that focused on local AI, one of the biggest surprises for me when reviewing the unit was finding that the Linux preload wasn't just a stock Ubuntu/Debian OS but rather a customized AMD Linux distribution known as AMD Ryzen AI Developer Platform. Yesterday the newest version of AMD Ryzen AI Developer Platform was released with some nice software updates...

Linux
Interesse
dev.to

Introdução ao Teste de Software

Introdução Testar um sistema não é apenas “rodar o programa e ver se não quebrou”. Formalmente, testes de software é o processo de avaliar um sistema para encontrar diferenças entre o comportamento esperado e o real, e construir confiança de que o sistema faz o que deveria fazer. Duas noções que não podem ser confundidas: Verificação: Are we building the product right? O software está de acordo com a especificação/design? É o território dos testes técnicos (unitários e integração) Validação: Are we building the right product? O software resolve o problema real do negócio? É o território de aceitação, UAT, testes exploratórios. Usando um caso real de testes para entender as duas noções na prática: GetDiferencaDataEmMeses_DeveRetornarDiferencaCorreta Verificação: a função implementa corretamente a regra de cálculo de diferença em meses. Validação: confirmar com a área de negócio que essa métrica é, de fato, a correta para aquele cálculo de benefício, o teste automatizado sozinho não garante isso. Por que testamos: o custo crescente do erro O argumento central é econômico: o custo de corrigir um defeito cresce exponencialmente quanto mais tarde ele é descoberto (o clássico "custo crescente do erro", popularizado por Boehm). No domínio do usuário (BPO previdenciário/fiscal): um bug no cálculo de GetDiferencaAnos (que define elegibilidade a um benefício) encontrado por um teste unitário custa minutos. O mesmo bug encontrado em produção pode significar cálculo errado de benefício para centenas de participantes, retrabalho manual, risco regulatório (e-Financeira é fiscalização da Receita Federal) e dano de confiança. Os três pilares de todo teste Testar é uma atividade de equilíbrio entre três forças: Correção: o sistema faz o que deveria fazer. Confiança: o quanto a suíte de testes permite mudar o código sem medo. Esse é o verdadeiro ROI de testes: não é "achar bugs", é permitir mudança segura. Custo: tempo para escrever, rodar e manter os testes. Testes mal escritos (frá

Dev
Interesse
BleepingComputer

Anthropic takes risky AI tests offline after models breach govt sites

Anthropic announced that its internal AI models undergoing "high-risk and cybersecurity evaluations" no longer have internet access following incidents involving U.S. government websites at the federal, state, and local levels. [...]

IASegurança
Interesse
LWN

LineageOS 24 released

The LineageOS project, which produces an Android-based distribution for mobile devices, has announced the release of LineageOS 24.0. We're a bit sentimental about this release, as it precedes a really fun upcoming milestone. On December 24, 2026, LineageOS will celebrate 10 years. It's a remarkable milestone for a project built by a passionate community of developers, maintainers, contributors, and users who have kept so many devices alive along the way. [...] We've been hard at work rebasing all of our changes and features since Android 17's release in June. Android 17's first release mainly contained iterative improvements and some UI/UX refinements, but due to our previous efforts adapting to Google's heavy refactoring over the last several versions, we were able to rebase onto Android 17's code-base faster than anticipated. Yes you read that right: We're early this year!

Mobile
Interesse
dev.to

How to Tell Whether Google Actually Indexed What You Published

Publishing a new blog, landing page, or product page is only the first step. Before expecting organic traffic, one must find out if Google has actually found, crawled and indexed the published page. One should note that crawling and indexing are two different terms. Google may find a URL but may not add it to its search index. Google also does not guarantee the indexing of every crawled page. So, how can one check their new page's status? There are some easy methods of the published page's status verification. Google Search generally works through three stages: crawling, indexing, and serving results. Stage What happens? Crawling Googlebot discovers and visits your URL Indexing Google processes the page and decides whether to add it to its index Serving Google may show the indexed page in search results for relevant searches A page can therefore be live on your website without being indexed. Meeting Google's technical requirements also does not automatically guarantee indexing. The best approach to check Google index status of a page is to use Google Search Console. First open the Search Console and use the URL inspection tool. In this case, copy and paste the URL of the page. Some insights that could be received via this tool are: Whether the given URL is indexed When the last crawling was done The canonical version of the same page Some crawling and indexing issues Whether it’s possible to run the test of the page as the live one For understanding the index status of an individual page, it is suggested by Google to use the URL Inspection tool. For website owners, Google Search Console can also serve as a reliable Google indexing checker because it provides information directly from Google's systems. Search Console result What it tells you URL is on Google Google has indexed the URL URL is not on Google The page is currently not indexed URL has issues A technical or indexing problem may need attention URL is available to Google Google can potentially crawl the page

Geral
Interesse
dev.to

Axios timeout for chunked responses

ALRIGHT, this was an interesting one. I use Axios in one of my pet projects. Basically, the project is a Telegram bot that transforms voice messages into text. I know that Telegram now has this feature for premium subscribers, but this is not something we are about to cover in this article. Here I want to talk about the tricky way the Axios timeout works. Let's start with the simple HTTP server (I use Express as an example) and a single API endpoint, which takes 10 seconds to resolve: import { createServer } from 'node:http'; import express from 'express'; const api = express(); // I have an API endpoint which takes 10s to resolve api.post('/regular', (_, res) => { setTimeout(() => res.status(200).send({}), 10000); }); const server = createServer(api); server.listen(3000); If we deep dive into the documentation, we will find that Axios supports the timeout property, and it works quite well: import axios from 'axios'; const start = new Date().getTime(); try { console.log('Start request'); await axios.request({ method: 'POST', url: 'http://localhost:3000/regular', timeout: 5000 }); console.log('Request was successful'); } catch (err) { console.error(err); } const end = new Date().getTime(); const requestTime = Math.floor((end - start) / 1000); console.log(`Request took ${requestTime}s,`, 'should be 5s!'); // Start request // // AxiosError: timeout of 5000ms exceeded // at RedirectableRequest.handleRequestTimeout (/axios-streaming-timeout/node_modules/axios/lib/adapters/http.js:630:16) // at RedirectableRequest.emit (node:events:513:28) // at Timeout. (/axios-streaming-timeout/node_modules/follow-redirects/index.js:169:12) // at listOnTimeout (node:internal/timers:569:17) // at process.processTimers (node:internal/timers:512:7) { // code: 'ECONNABORTED', // // Request took 5s, should be 5s! If it works fine, what is the problem then, you ask me. Here is the thing: as I said, I have a Telegram bot that converts voice messages into text. It basically decompresses the voi

Dev
Interesse