Painel de Notícias

Tecnologia

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

Filtros
dev.to

ForgeZero and Gloria: Build Tooling for People Who Still Want to Know What Their CPU Is Doing

I'm Alex Voste, the person behind ForgeZero and its resident experimental language, Gloria. I'm not going to open with a mission statement. I'm going to open with the actual reason this exists: I got tired of trusting tools that refuse to tell me what they're doing. Modern tooling has a bad habit of treating "it worked" as a substitute for "I understand why it worked." Garbage collectors show up in your hot path uninvited. Build systems recompile the world because a timestamp looked at them funny. Compilers hide behind Makefiles that hide behind generators that hide behind more generators, until nobody on the team can actually explain what make is going to do before it does it. None of this is malicious. Most of it is genuinely convenient for most people. It is also, for anyone doing real systems work, a tax — paid in CPU cycles, paid in debugging hours, paid in that specific flavor of dread when a build fails and the error message is a lie by omission. So I built two things instead of complaining about one. In 1976 a Bell Labs engineer named Stuart Feldman got annoyed at a coworker who kept shipping broken binaries — editing a source file and forgetting to rebuild whatever depended on it. His fix became make, a tool built to answer one question correctly, every time: what actually needs rebuilding right now, and what doesn't? Fifty years later we're still answering that question badly, and most engineers have simply stopped noticing. Make's timestamp-and-phony-target model leaked complexity into anything bigger than a weekend project. Autotools buried that complexity under a generation-of-generators architecture that remains one of the most feared corners of open source. CMake showed up to generate other build systems instead of solving the underlying problem — which is either a clever abstraction or a quiet confession, depending on which decade of CMake broke your afternoon. Ninja, to its credit, went the other direction entirely: radically minimal, explicitly not

DevInfra
Interesse
dev.to

Counting statute days in JavaScript: security deposit deadlines in five US states

Statutes write deadlines as "within N days", and the two things that trip up code are what counts as a day and what happens when the last day lands on a weekend. Security-deposit return rules for US landlords are a clean example, because five states give five different answers to the same question. This is the date math, plus the traps. Day 1 is the day after the start date. Optionally skip Saturdays and Sundays. Everything else (time zones, DST) goes away if you work in UTC dates. function addDays(startISO, n, weekdaysOnly) { const [y, m, d] = startISO.split("-").map(Number); const t = new Date(Date.UTC(y, m - 1, d)); for (let i = 0; i addDays("2026-05-29", r.days, false).toUTCString()); The cheapest check that catches an off-by-one is a hand-computed table. Mine uses three start dates and all five states, compared against dates counted on a calendar: const assert = require("node:assert"); assert.equal(addDays("2026-05-29", 21, false).toISOString().slice(0, 10), "2026-06-19"); assert.equal(addDays("2026-05-29", 14, true).toISOString().slice(0, 10), "2026-06-18"); If the weekday case matches by hand, the loop and the % 6 trick are right. I put these rules in five free calculators (no sign-up, runs in the browser, each shows its statute citation and the caveats above): https://hexloomlabs.com/guides/tools/ This is date arithmetic on statute text, not legal advice. Confirm the rule and the start date with the current statute or a local attorney before relying on a deadline.

Dev
Interesse
dev.to

RemoveMacAI strips Apple Intelligence models from macOS 27

A new open-source tool called RemoveMacAI turns off Apple Intelligence on Macs running macOS 27. It also deletes the AI models Apple stores on the machine and stops macOS from downloading them again. GBHackers reported the tool on October 5, 2026. It is aimed at people who have switched Apple Intelligence off but still have its models taking up space on their drives. Its README sums it up: it "turns the features off, removes the models and prevents macOS from downloading them again." Apple Intelligence is Apple's set of AI features built into its operating systems. Much of it runs on the Mac itself, using AI models that macOS downloads and keeps on the drive. RemoveMacAI is built to delete those files as well as switch the features off. Neither source gives a figure for how much storage the models use. The project's documentation notes one quirk after removal. Storage settings may still list Apple Intelligence for a short time, because macOS schedules the files for deletion rather than removing them at once. The tool runs from the command line, the text-based Terminal app on a Mac. According to its GitHub repository, a run goes through four steps: It shows the current state of Apple Intelligence on the Mac and asks you to confirm. It opens System Settings so you can install a configuration profile. It removes the downloaded AI models. It blocks new downloads of those models. A configuration profile is a settings file that macOS applies system-wide. Companies normally use them to manage fleets of Macs. RemoveMacAI's profile uses Apple's own restriction keys to switch the features off, GBHackers reports. The download block works in an unusual way. The profile points each removed model's download at a closed port on the Mac itself, a network address where nothing answers. "Redirects the download of each removed model to a closed local port, so macOS does not download it again," the documentation says. RemoveMacAI switches off more than one feature. GBHackers lists thes

IA
Interesse
dev.to

Leaving MobaXterm: take your sessions and keys to macOS or Linux

Where MobaXterm stores bookmarks and keys, how to export them, and how to land the whole setup in a cross-platform client — plus when to stay. MobaXterm earned its following. On Windows it's the Swiss Army knife: tabbed terminal, a real X server, SFTP browser docked beside every shell, and a pile of bundled Unix tools that mean you rarely reach for anything else. If you live on Windows and lean on the X server, you may not need to leave at all — this guide will even tell you when to stay. But two itches send people looking. One is the platform wall: MobaXterm is Windows-only, so the day you pick up a Mac or a Linux box, your whole setup stays behind. The other is the opposite of its strength — some people want a fast, focused SSH client, not a toolbox that does everything. Either way, getting out with your sessions, keys and habits intact is a smaller job than it looks. It's written with Termalin as the destination, but the first half applies to any modern client. MobaXterm calls saved sessions bookmarks, and where they live depends on which edition you run: Installer edition — in the Windows registry, under HKEY_CURRENT_USER\Software\Mobatek\MobaXterm. Portable edition — in a MobaXterm.ini file sitting next to the .exe. That single file is your whole configuration, which is why the portable build travels on a USB stick. Private keys — wherever you saved them. MobaXterm works with standard OpenSSH keys and with PuTTY's .ppk, and it ships MobaKeyGen (a PuTTYgen clone) for making and converting them. Saved passwords — in MobaXterm's own credential store, protected by its master password. These do not export in plaintext, by design — you'll re-enter them once in the new client. The portable, any-OS route: open the Sessions sidebar, right-click the top User sessions node, and choose Export sessions to write a .mxtsessions file (it's plain text — you can open it and read your inventory). That file is what an importer consumes on a Mac or Linux box where the registry does

Infra
Interesse
dev.to

A Proper Kick-Off to My Embedded Journey!

It's been more than a year since I last coded in C/C++, so I decided to start small by solving a few mathematical problems in C++. I've solved a couple so far. Back in college, I was introduced to LLMs, and about a year later I came across Ollama. I was curious how long the GPU in my PC would take to process a request locally. So I went deeper and ran into GPUs, TPUs and NPUs. Then I noticed something unexpected: all of them are built to do one thing at massive scale, which is matrix multiplication. That got me looking for ways to multiply matrices faster than the standard O(N³) approach. To my surprise, I found a 2022 paper from Google DeepMind called AlphaTensor, published before ChatGPT made AI a mainstream thing. The team used reinforcement learning to discover matrix multiplication algorithms that need fewer multiplications than the best ones humans had found. For example, it multiplied 4×4 matrices (in modular arithmetic) with 47 multiplications instead of Strassen's 49. To be honest, I was amazed at first. Then it hit me: they used an ML algorithm to speed up the very thing ML algorithms spend all their time doing. You've got to be kidding me, right? Today, I decided to dig into how Google TPUs, NPUs and the mighty Nvidia GPUs are built on the inside. That's where I learned about GEMM, BLAS, systolic arrays, XLA, MXUs, neuromorphic chips, cuDNN and CUTLASS. Starting today, I'm going to document everything I learn here, in public. RIGHT TIME. RIGHT NOW.

IAInfraDev
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
dev.to

How to upscale images in bulk with one API call (2x or 4x, no GPU)

Upscaling one image is easy: open a desktop app, drop the file, save the result. Upscaling a few hundred images from inside a pipeline is a different job. The typical cases: a supplier feed full of 600×600 product photos when the marketplace wants larger ones, AI-generated images that are too small for print, avatars and thumbnails pulled by a scraper that look soft at full width. What you want there is boring: a list of URLs in, a list of larger files out, the new width and height for each, and a clear signal for the ones that failed. This post compares the usual ways to increase image resolution in bulk, then shows how to do it with one API call from curl, Python, JavaScript, n8n and an AI agent. Self-hosting a super-resolution model. Open models such as Real-ESRGAN give you full control and no per-image fee. In exchange, you need a GPU, a queue, a way to move files in and out, and someone to keep it running. It pays off at high, steady volume. Desktop apps like Upscayl. Free, open source and good at the job, folders included. They run on the machine of whoever clicks the button, with that machine's GPU, which makes them a poor fit for a server-side pipeline. Hosted model APIs. Providers such as Replicate or fal remove the GPU. You still sign up, manage a provider key and write the glue: one request per image, a concurrency limit, retries, storage for the results, matching each output to its input, and a plan for when image 37 of 200 fails. SaaS upscalers. Polished web apps, usually sold as a subscription or credit packs, and designed around someone uploading files in a browser. Option GPU on your side What you manage A list of URLs in one call Billing Self-hosted model Yes Model, queue, storage, uptime If you build it Your infrastructure Desktop app (Upscayl) Yes, local Running it by hand Folders, from the app Free, open source Hosted model API No Provider key, per-image loop, retries Usually one image per request Pay per use SaaS upscaler No Account, uploads Dep

IADev
Interesse
dev.to

Merge PDFs in the browser with pdf-lib, and what it silently drops

You can merge PDFs entirely in the browser with pdf-lib. No server, no upload, about ten lines. We use exactly this in a small tool, so here is the whole thing, plus the two things it silently drops, which I checked rather than assumed. const merged = await PDFLib.PDFDocument.create(); for (const file of files) { // File objects from const buf = await file.arrayBuffer(); const src = await PDFLib.PDFDocument.load(buf); const pages = await merged.copyPages(src, src.getPageIndices()); pages.forEach(p => merged.addPage(p)); } const bytes = await merged.save(); const url = URL.createObjectURL(new Blob([bytes], { type: "application/pdf" })); // Order of the files array is the order of the output. If you let people reorder, reorder that array. Two practical notes: Copy the file list to an array before your first await. Array.from(input.files) (or [...dataTransfer.files] in a drop handler) first, then loop: the list from a drop can be empty by the time an awaited call returns. Wrap the loop in try/catch. PDFDocument.load throws on files that are not valid PDFs and on password-protected ones. A readable message ("make sure these are valid, non-password-protected PDFs") beats a silent failure. copyPages does not carry over copyPages copies pages, not the document around them. I built two small test files with pdf-lib, one with a bookmark (an outline entry) and a text form field, and merged them with the code above. Result from reading the merged file back: Source Merged Pages 2 + 3 5 Outline (bookmarks) present absent Form fields 1 0 So for a quick "stick these scans together" tool this is fine, but if your users merge fillable forms or long reports with a table of contents, say so on the page and tell them to check the result before deleting the originals. Rebuilding an outline by hand is possible with pdf-lib's low-level API, but it is not something copyPages does for you. I only tested bookmarks and text fields. I did not test attachments, tagged-PDF structure or page labe

Dev
Interesse
dev.to

The Instagram API cannot delete media, so retired products leave posts behind

The Instagram API cannot delete media. That is the exact reason our retirement job gave on 3 October 2026 when it pulled product #8, Lovable Launch Playbook: 0 to Live in 48 Hours: "Instagram's API cannot delete media: delete the post in the app". The job removed 6 items on its own and handed 3 back to a person. Two of those were Instagram, a post and a reel, and one was a Pinterest pin, which the job reported as manual and to be deleted by hand. It was the same pattern on the other two retirements in this window. Product #44, Train the Robot: AI Activity Book for Ages 6-10, removed 5 automatically and left 4 for hand deletion, 2 of them Instagram. Product #42, Bilingual Emotions Poster Pack EN/ES, did the same: 5 automatic, 4 manual, 2 of them Instagram. TikTok showed up in two of the three with its own message, "TikTok's API cannot delete posts: delete the video in the app", and Pinterest in all three. The record does not say why Instagram's API has no delete for media, only that it has none. If you publish to Instagram through its API, assume you cannot take it back the same way, and give every product a manual-deletion list for the posts you cannot remove from code. Originally published at neuragrowth.co. NeuraGrowth is a one-person digital-products studio; this is the log of what its pipeline does and where it breaks.

Dev
Interesse
dev.to

OpenAI textGrain watermarks ChatGPT text under EU AI Act

OpenAI has started adding an invisible watermark to text its models write. The system is called textGrain. From October 5, 2026, API customers anywhere can switch it on for their projects, and it stays off unless they do, Unite.AI reports. ChatGPT and Codex users in the European Union will get the watermark automatically in the coming weeks. The move answers an EU AI Act rule that makes AI-generated content identifiable by machines. The rollout comes in three parts, according to Unite.AI: Who What changes When API customers, worldwide Can opt in to watermarking; it is off by default From October 5, 2026 ChatGPT and Codex users in the EU Watermarks added on every plan In the coming weeks Researchers and expert organizations Can apply to use the detector, approved case by case Applications opened October 5, 2026 Users outside the EU will not get watermarked ChatGPT or Codex text under this plan. Detector access runs under the EU's Code of Practice on transparency for AI-generated content, Unite.AI says. Crypto Briefing reports that OpenAI signed that code in June 2026. A text watermark hides a pattern in which words a model chooses. A reader cannot see it, but a detector can test a passage for it. Unite.AI says textGrain builds this statistical signal into the model's word selection. How well detection works depends on the length of the text and how much it was changed. These are the figures Unite.AI reports, measured at a 1% false-positive rate: Test Passages detected 200-token passage 80% 400-token passage 95% 10% of words replaced 66% 25% of words replaced 17% A token is a short chunk of text, often a whole word or part of one. A 1% false-positive rate means about one in 100 human-written passages would be wrongly flagged. Edits are the weak point. "Text is easy to tweak, paraphrase or run through another tool, and each edit can weaken a watermark's signal," Crypto Briefing writes. OpenAI held back an earlier version for this reason. Crypto Briefing reports that a

IA
Interesse
dev.to

The headline said "first hint of dark matter." Two paragraphs down, the article said the opposite.

The headline said "first hint of dark matter." Two paragraphs down, the article said the opposite. That's not a gotcha. It's the most reliable tell that a science or "study says" story is overselling, and it takes about five minutes to catch. Here's the method I run before I believe any coverage of a paper. Coverage summarizes the paper. The paper says what it actually found. Go to the DOI or arXiv id. If the article doesn't name one, that itself is information. Researchers are careful. Journalists under deadline are not. The hedge ("may," "suggests," "in this population," "in mice") is usually the real finding. Headlines assert. Papers hedge. Headlines pick the biggest number. The paper often reports the one that matters more. A result in 28 people is not a result in you. Dark matter. A BBC headline said scientists had found a "first hint of dark matter." The underlying LZ result (arXiv 2609.02823) was one candidate event at 2.6σ global significance. Two paragraphs into the same BBC article, the text said it plainly: "We are not claiming to have seen dark matter." 2.6σ is not a discovery; it's a maybe. And a null result from a competing detector sits right beside it. The headline and the body disagreed, in public, on the same page. A urine test for bladder cancer. The headline number was 92.2% accuracy (European Urology Oncology, DOI 10.1016/j.euo.2026.08.005). Accurate, for what it measured. But the study population was referral-only, and the positive predictive value was 50%. Half of the "positive" test results would be false. The headline sold sensitivity and buried the number a patient would actually care about. The same pattern runs through the docs engineers read all day. Release notes: "improved reliability." Issue tracker: "mitigates one known path; root cause still open." Migration guide: "backwards compatible." Changelog, three lines down: "removed three config keys." The summary is written to be read. The source is written to be true. When they disagree,

Geral
Interesse
dev.to

Social Media Marketing in 2026: A Practical Playbook for Founders, Marketers, and Product Teams

Social media used to be the marketing team's job, and developers stayed out of it. That split doesn't work anymore. In 2026, a growing share of customer acquisition happens inside social apps. People discover a product in a 20-second video, read the comments to decide whether it's legit, tap a link inside an in-app browser, and decide in about four seconds whether to stay. Most of that path runs through things engineers and product teams own: link previews, page speed, tracking, checkout flows, and shareable features. This article covers the lessons founders, marketers, and product teams can apply right now. It's less about "post three times a week" and more about building a product and a stack that actually benefit from social attention. Let's get into it! Here's the big shift. The classic funnel looked like this: See an ad or post Google the brand Visit the website Compare, think, come back later Buy Now a lot of that happens without anyone opening a traditional browser. Discovery, research, and even purchase can happen inside TikTok, Instagram, YouTube, or LinkedIn. Comments have become the new reviews section. Creator videos have become the new product pages. What this means for you: Your "website" is no longer the first impression. It's often the last step, and it has to finish the job fast. People type real questions into TikTok and YouTube search bars every day. "Best invoicing app for freelancers." "How to fix slow WordPress site." "Is [your product] worth it?" Platform search engines read captions, on-screen text, spoken audio (through transcription), and hashtags. That means your content needs a keyword strategy, just like a blog post. Helpful tips: Say the main keyword out loud in the first few seconds of a video Put the same phrase in on-screen text and in the caption Name videos and posts the way users phrase questions, not the way your team talks internally Make one piece of content per question instead of cramming five topics into one post If you have

GeralMobile
Interesse
9to5Mac

Apple releases third iOS 27.2 developer beta for iPhone

Apple has released the third iOS 27.2 developer beta for iPhone. The update follows the release of iOS 27 to everyone. It also leaps over iOS 27.1, which Apple has shown as an iPhone Duo-focused release. more…

Mobile
Interesse
9to5Mac

MagSafe Monday: Pelican’s MagSafe Wallet is my go-to wallet for the fall

As the weather cools off and the fall outdoor season ramps up, I tend to tweak my everyday carry list to match how I ams spending my time. The Pelican MagSafe Wallet & Card Holder is my go-to option when you want something a little more rugged that can handle the outdoors but still works as a great everyday wallet. more…

Mobile
Interesse
Hacker News

Norway Eyes Partial Ban of Smart Glasses

Article URL: https://www.barrons.com/news/norway-eyes-partial-ban-of-smart-glasses-e65dc239 Comments URL: https://news.ycombinator.com/item?id=49968402 Points: 35 # Comments: 7

Mobile
Interesse
The Verge

OpenAI is adding text watermarking in ChatGPT and Codex

An invisible, machine-readable watermark in text output is rolling out to ChatGPT and Codex, but only for users in the European Union at first. OpenAI says its textGrain watermarking "matched or exceeded" other approaches like Google DeepMind's SynthID for text, which is also the basis for the watermarking Anthropic announced in August. Like OpenAI, Anthropic made the move to meet the requirements of the EU's AI Act; however, not everyone was happy to learn about the addition. OpenAI also included scores from AI benchmarks showing similar performance from watermarked and unwatermarked text. But it notes that textGrain "does not guarantee … Read the full story at The Verge.

IA
Interesse
dev.to

DeepSeek R1 vs. OpenAI o3-mini: Which API is Best?

Choosing between DeepSeek R1 vs OpenAI o3-mini is a critical decision for developers integrating reasoning APIs into software applications in 2026. When it comes to reasoning APIs, these are the two strongest candidates most teams end up weighing. Both models excel at complex tasks, code generation, mathematical analysis, and structured logic. However, they operate on different pricing structures, reasoning token methods, latency patterns, and structured data validation limits. This guide compares the two in detail to help you choose the best API for your developer workflows. TL;DR Understand reasoning models; reasoning models utilise "thinking tokens" to solve problems before returning a response, improving accuracy on logical tasks. DeepSeek R1 is highly cost-effective; R1 offers open-source weights and extremely low API costs, making it ideal for high-volume execution. OpenAI o3-mini delivers lower latency; o3-mini excels at rapid, real-time responses and features robust structured JSON-schema support. Evaluate data portability; R1 can be hosted on your own cloud infrastructure, preventing vendor lock-in, while o3-mini is hosted exclusively on OpenAI. Select based on task requirements; use o3-mini for interactive, real-time web applications, and R1 for bulk analytical workflows and offline data processing. Unlike standard chat completion models, reasoning models are trained to think step by step before outputting answers. This reasoning process utilises specialised "thinking tokens." The model generates internal steps to cross-examine its assumptions, debug code, and analyse syntax. While this process improves the quality of responses on complex logical tasks, it increases response latency and token costs. Understanding how to manage these context sizes is essential for budgeting. To see how standard APIs differ from reasoning ones, read our guide on building an OpenAI API chatbot. In production, latency is a critical consideration. If your application requires r

IA
Interesse
dev.to

Scrape Etsy search results sorted by price: 10 rows for $0.065

Disclosure: I publish and maintain the Actor used here (publicrecords/etsy-search-scraper on Apify Store). This is the publisher account. You have an Etsy search query and you want the results as rows you can sort and filter, not a screenshot of page one. Here's the shortest route I know, with a real run as proof. Each Etsy search result comes back as one row with listing_id, title, price, currency, shop_name, shop_url, rating_value, review_count, badges (bestseller, star_seller, etsys_pick, popular_now, free_shipping), position and page. You can pass a keyword, a market, or a category URL. This is the exact input from a Store-page run on 2026-10-03: the 10 cheapest "ceramic mug" listings priced $10–$40. { "queries": ["ceramic mug"], "sort": "price_asc", "minPrice": 10, "maxPrice": 40, "maxItems": 10, "maxPages": 1, "fillLazyCards": true, "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "US" } } sort takes one of relevance, newest, price_asc, price_desc, top_reviews, the same options as Etsy's own sort menu. minPrice / maxPrice are whole currency units. maxItems and maxPages cap the run (Etsy itself stops at 20 pages). In the browser: open the Actor in Apify Console, switch the input to JSON, paste the block above, and press Start. From a terminal: save the block as input.json and run: curl -s -X POST \ "https://api.apify.com/v2/acts/publicrecords~etsy-search-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \ -H "Content-Type: application/json" \ -d @input.json > rows.json Or clone the one-command example repo, which has the same input.json and the full sample output: GeminiGeorge22/etsy-search-example. Field Value Actor publicrecords/etsy-search-scraper, build 0.2.3 Run ID fB8Y28DNUy5kJ9xfg (Store / console origin, 2026-10-03) Status SUCCEEDED, 10 rows Cost actor-start $0.005 + 10 × listing-row $0.006 = $0.065 The first 3 of the 10 rows: # Title Price Shop Rating Reviews 1 1980's Christmas Coffee Mug $10

Dev
Interesse