Painel de Notícias

Tecnologia

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

Filtros
dev.to

I put my API collection in a folder of curl scripts, and it finally behaved

Chapter 1: The JSON file that ate Friday It was a Friday evening. The kind where you push one last fix and promise yourself you'll close the laptop in five minutes. Then a teammate pinged me: "Hey, can you review my change to the API collection?" I opened the pull request. It was a single file, Petstore.postman_collection.json. The diff was 1,400 lines. Somewhere in that wall of "id", "_postman_id" and re-ordered keys, one header had changed. Probably. I approved it the way you accept cookie banners: quickly, and with mild guilt. Later the CI job failed, because the CI runner needed a different tool, a different login and a different copy of the environment. My "five minutes" turned into an evening of archaeology. That night I asked a dangerous question: What if an API request was just... a curl command in a file? .sh file Every backend developer already speaks curl. We paste it into Slack, into bug reports and into README files. It is the lingua franca of HTTP. So I wrote one: curl -sS "$BASE_URL/pets" \ -H "Authorization: Bearer $TOKEN" It worked. It was readable. It diffed beautifully. But it couldn't answer the questions a test suite needs to answer: Did it return the status I expected? Is the body actually right? How do I pass the token from the login call to the next one? I didn't want a new language for that. Comments, however, are free. Every shell already ignores them. Here is the same request, with a few annotations on top. This is the actual login file from the Sankh petstore example: #!/usr/bin/env bash # @name Log in # @tags smoke # @expect status 200 # @expect json .token exists # @capture TOKEN=.token curl -sS "$BASE_URL/login" \ -H 'Content-Type: application/json' \ -d "{\"username\":\"$PET_USER\",\"password\":\"$PET_PASSWORD\"}" Read it like a sentence: @name gives the request a human name. @tags smoke puts it in the smoke suite. @expect status 200 means anything else is a failure. @expect json .token exists checks the body with a jq expression. @ca

Dev
Interesse
dev.to

Protocol Upgrade Compatibility Review: EigenCloud

Protocol Upgrade Compatibility Review: EigenCloud Target Protocol: EigenCloud (TVL: $7123.5M) TVL: ≈ $7.12 B (Ethereum + L2) Date of Review: 5 Oct 2026 Prepared by: [Your Firm] – Senior DeFi Security Research & Auditing Team EigenCloud is a high‑value, multi‑chain liquidity‑as‑a‑service platform that aggregates capital across Ethereum and several L2 roll‑ups (Optimism, Arbitrum, zkSync). The protocol is governed by a DAO that can trigger proxy‑based upgrades to core contracts (Vault, StrategyFactory, Router, and the L2‑Bridge). Our Upgrade Compatibility Review focused on the safety of future contract upgrades – i.e., whether a new implementation can be introduced without breaking existing storage layout, exposing privileged functions, or creating new attack surfaces. Key findings: Area Overall Assessment Critical Issues Recommended Action Proxy & Storage Layout Medium‑High – most contracts use OpenZeppelin Transparent Proxy, but several custom storage slots are defined in libraries that are not version‑locked. 1️⃣ Storage slot collision risk in StrategyBase (shared library) when new variables are added. 2️⃣ Un‑initialized storage gaps in BridgeV2. Refactor to EIP‑1967‑compliant storage slots, add explicit uint256[50] private __gap; after each upgradeable contract, and lock library versions. Governance & Upgrade Execution High – DAO can execute upgrades via a single‑call executeUpgrade() that bypasses timelock when a “fast‑track” proposal passes. 1️⃣ Fast‑track bypass can be abused by a compromised DAO member or a flash‑loan‑driven governance attack. 2️⃣ No multi‑sig on the upgradeAdmin address. Introduce a minimum 48‑hour timelock for any upgrade, even fast‑track, and require 2‑of‑3 multi‑sig on the admin key. Cross‑Chain Bridge Medium – uses a custom L2‑to‑L1 message verifier that reads storage directly from the L2 contract. 1️⃣ Replay‑ability of L2 messages if the L2 implementation is upgraded without resetting the messageNonce. 2️⃣ No explicit reentrancyGuard on

SegurançaDev
Interesse
dev.to

SafeSpeak -A Private English Practice Partner for My Shy Friend

What I Built My friend wants to learn English. He's been wanting to for months. But every time he tries to practice with someone, he freezes. The fear of being judged stops him cold. So, I built him something that doesn't judge. SafeSpeak is a fully local, anonymous English speaking practice partner. It runs entirely on his laptop. No cloud, no accounts, no one listening. What it does: Chat with a patient tutor: type or speak, get gentle corrections instead of lectures Understands Hindi, Hinglish, and English: मुझे कॉफ़ी चाहिए, mujhe coffee chahiye, or I want coffee all work Voice input: speak into the mic, Whisper transcribes it locally Voice output: Piper speaks the reply back, clean and natural Scenario practice: Order Food, Phone Call, Greeting, Directions 100% offline: after setup, you can turn off WiFi and it still works The problem it solves: my friend needed a place where he could fail a hundred times and nobody would know. He also needed Hindi support — when you're a beginner, you don't always know the English word, you know the Hindi one. Here's what a session looks like: User: मुझे कॉफ़ी चाहिए User: Ava: Hi there! Welcome. What can I get for you today? The full source is on GitHub: / safespeak 🎙️ SafeSpeak A 100% offline, judgment-free English practice partner for shy beginners. Built for a Friend (DEV Weekend Challenge #1) · Hacktoberfest 2026 The Story: Why I Built This A close friend of mine has wanted to practice spoken English for a long time. They read English well and understand videos fine, but the moment they have to speak to someone in public, they freeze up. When I suggested popular language apps, they told me two things: "Those apps feel like quizzes. One mistake and it buzzes at you with red text." "I don't want my broken voice recordings being uploaded to someone's cloud server." I built SafeSpeak to give them a safe place to practice. No judgment, no grammar quizzes, no cloud servers, and no subscription fees. Just a friendly conversation

IADev
Interesse
dev.to

RasoiVault: Preserving My Mom's Unwritten Recipes with Gemma 3 & Ancient Millets

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend My mother has cooked incredible traditional meals for our family for decades, but her recipes have never existed on paper. Like millions of home cooks, her kitchen runs entirely on intuition and sensory memory: "fry until the aroma fills the room," "a gooseberry-sized ball of tamarind," and "a small fistful of roasted jeera." Whenever anyone asks her for a recipe, it's impossible to follow or replicate accurately. On top of that, we've recently been focusing on everyday family wellness at home—trying to incorporate nutrient-dense ancient millets (like foxtail, barnyard, and little millet) and lighter cooking techniques without turning beloved comfort food into sterile "diet food" or ruining the sacred tadka. But every time we searched mainstream apps for "healthy Indian recipes," the suggestions were culturally clueless: swapping lentils for cold kale salads, stripping away mustard seeds, or replacing regional spices with bland Western substitutes. I built RasoiVault for her. RasoiVault is an open-source heritage culinary engine. It takes oral cooking fragments, unmeasured notes, and festival recipes, standardizes them into structured measurements, and adapts them for everyday wellness (substituting refined grains with ancient millets and optimizing cooking oils) while strictly preserving traditional tempering order, aroma cues, and mouthfeel. It also features a permanent Family Vault so her recipes are digitized, preserved, and searchable on her kitchen tablet. Live Web Application: https://rasoivault-web.onrender.com FastAPI Backend: https://rasoivault-api.onrender.com/api/health The entire codebase is open-source under the MIT License: / rasoivault 🍲 RasoiVault An open-source heritage culinary engine built for family kitchen sovereignty, powered by Google Gemma 3 and Backboard.io. Built for the Hacktoberfest Weekend Challenge: Build for a Friend. 💡 The Core Problem Traditional home

IA
Interesse
dev.to

InterviewMate — Your Private AI Interview Coach

# InterviewMate — Your Private AI Interview Coach your resume and the role you're targeting. So I built InterviewMate for a friend preparing for internships and placements. InterviewMate creates a personalized interview practice loop: Resume + Job Description → Interview Question → Candidate Answer → AI Feedback You provide: Your resume The job description you're preparing for InterviewMate then generates a relevant interview question using a local open-weight AI model. You answer the question as if you were speaking to an interviewer, and the system evaluates your response with: Score Strengths Improvements A safe, grounded version of your answer My friend was preparing for interviews and needed something more useful than a list of random interview questions. The goal was simple: Give them a private space where they can practice questions relevant to the opportunity they're actually preparing for and immediately understand how their answer could improve. The core AI system uses Gemma 3:1B, an open-weight model running locally through Ollama. This was important for two reasons. Interview preparation involves personal information such as resumes, projects, experience, and answers. With local inference, the project doesn't require sending that information to a hosted AI provider just to practice an interview. Using an open-weight model makes it possible to experiment with the AI layer, prompts, evaluation behavior, and future improvements without depending entirely on a proprietary hosted API. This project is a small example of how open AI models can be turned into practical tools for individual users. Frontend Next.js React TypeScript Tailwind CSS Backend Python FastAPI Pydantic AI Gemma 3:1B Ollama Local inference Next.js Frontend | | HTTP API ↓ FastAPI Backend | ↓ Ollama | ↓ Gemma 3:1B One of the biggest challenges was making the AI feedback useful without allowing the model to invent details about the candidate. For example, an interview coach should not add proje

IA
Interesse
dev.to

OneInbox: a fine-tuned 4B model that reads my inbox so I don't have to

What I Built OneInbox is a daily email digest that sorts my inbox into four buckets: Action required: needs a reply, or has a deadline within 7 days Worth a look: useful, but nothing to do FYI: receipts, confirmations, security notices Noise: promos, newsletters, social The idea came from a complaint in a hackathon Discord about how tiring it is to keep checking inboxes. I have the same problem, so I built it for my own inbox. The core is a LoRA fine-tune of Qwen3.5-4B (Apache 2.0). Each morning it reads the last 24 hours of mail and produces a page I can read on my phone in under a minute. Every item has buttons to mark it Accurate or Wrong, silence the sender, or always show it. Live: https://oneinbox-web.onrender.com/digest?token=hacktober2026 It runs in demo mode on 25 synthetic emails, classified by the fine-tuned model. The first load can take about 30 seconds, because Render's free tier sleeps when idle. Due dates are in September because the sample emails are synthetic, and timestamps are UTC. GitHub: https://github.com/DkHrR/oneinbox (MIT) Model: https://huggingface.co/dKhRr/oneinbox-qwen3.5-4b-lora How I Built It Data. I didn't want to put a real inbox into a hackathon project, so I generated 600 synthetic emails (150 per label) with Qwen3.6-35B-A3B on Tinker. Sender names match the type of mail, deadlines are computed from each email's received date, and a second pass checks every email. I audited the set: no deadline mismatches, and very few subjects shouting "URGENT". I split it into 540 train and 60 validation emails. Training. A Tinker LoRA fine-tune of Qwen3.5-4B on the full JSON answer (label, summary, deadline). Training cost about $0.19 to $0.31. Results on the 60 held-out synthetic emails: Variant Labels correct Macro-F1 Deadline match Cost / 1k emails Base 4B, zero-shot 52/60 0.86 23/28 $0.157 Base 4B, 3-shot 56/60 0.93 25/28 $0.278 Fine-tuned 4B 58/60 0.97 25/28 $0.141 Base 35B-A3B, zero-shot 51/60 0.85 25/28 $0.229 What this shows, and what it

IADev
Interesse
dev.to

Building an Agent That Can't Afford to Be Wrong: Quran Sanity Agent

This is a submission for the Sanity Challenge, Path One: Ship an Agent That Queries Real Content When I first opened the Sanity Challenge announcement, one sentence in the Path One brief immediately grabbed my attention: "Build anything that needs an answer it can't afford to get wrong." That one line defined this entire project. If you ask an AI chatbot for movie recommendations or a recipe, a small hallucination is harmless. But if you ask it about the Quran, religious scripture, or classical commentary, getting things wrong is not an option. Yet that is exactly what standard LLMs do every day: They drop words from verses or invent Arabic grammar on the fly. When two classical scholars disagree, the model either invents a fake consensus or blends both opinions into a confusing, contradictory mess. It cites famous books and scholars with total confidence, even when the quote never existed in that book. Traditional RAG (Retrieval-Augmented Generation) doesn't fix this either, because dumping raw chunks into a prompt still leaves the model free to summarize, blur, and paraphrase whatever it wants. I wanted to see what happens when you treat the problem differently: what if the AI literally cannot generate Quranic text? What if the agent only has access to verified, structured records in Sanity, and conflicting historical opinions are modeled cleanly as data rather than smoothed over? That is what Quran Sanity Agent is built to do. Quran Sanity Agent is a bilingual (Arabic & English) web research workspace where every single verse, translation, and scholarly commentary is anchored to an immutable record in Sanity. Verses Are Read, Never Generated: The LLM is never asked to recite or recall Quranic text from memory. Every Ayah displayed in the interface is pulled directly from a verified Sanity document matching the authoritative Tanzil Uthmani 1.1 reference standard. Scholarly Differences as Structured Data: In classical Islamic exegesis (Tafsir), scholars have debate

IA
Interesse
Simon Willison

Photo Scrubber — local face blur & metadata removal

Tool: Photo Scrubber — local face blur & metadata removal I took a photograph of some protesters, then thought about how I don't like sharing photographs of strangers with identifiable faces. I had GPT-6 Astra build this experimental tool that would identify faces and automatically blur them out. It uses Google's MediaPipe C++ library, compiled to WebAssembly via @mediapipe/tasks-vision , plus the BlazeFace face detection model. Tags: photography , tools

IADev
Interesse
Phoronix

Linux 7.4 To Introduce Initial Device Trees For Apple M4, A18 Pro For MacBook Neo

Asahi Linux developer Sven Peter today sent out the pull requests of the Apple SoC Device Tree changes they are ready to upstream for the Linux 7.4 merge window happening later this month. Most notable is the initial Device Tree for Apple systems using the base M4 SoC model as well as for the MacBook Neo with the A18 Pro SoC...

LinuxInfra
Interesse
Hacker News

Kolibri: A Sovereign Open-Weight Model

tech report: https://aleph-alpha.com/downloads/tech-report.pdf additional paper: https://tej.as/blog/aleph-alpha-kolibri Comments URL: https://news.ycombinator.com/item?id=49942706 Points: 509 # Comments: 298

IA
Interesse
The Verge

Microsoft’s new AI chip makes it less reliant on Nvidia’s GPUs

Microsoft’s Maia 300 chip. | Image: Microsoft Microsoft is announcing its third-generation Maia in-house AI chip today, designed to be the "primary AI inference system" for Microsoft's products and services. Maia 300 not only improves the cost and efficiency of running AI workloads in the cloud, it's also more capable of handling the latest reasoning models and agentic tasks. Maia 300 will start being rolled out to production in 2027, and it has been designed with efficiency in mind. "We expect Maia 300 to deliver 40 percent more tokens per megawatt compared to leading GPU-based systems," says Scott Guthrie, executive vice president of Microsoft's cloud group. "And in a full 96-acceler … Read the full story at The Verge.

IAInfra
Interesse
dev.to

Build Notes: A Browser-Local Image Compressor for Everyday Upload Problems

I built Quick Image Kit as a small browser-local image toolkit: quickimagekit.com The product is intentionally practical. Many people do not need a full photo editor. They need to make a phone photo small enough for an upload form, profile page, email attachment, document portal, school system, job application, or favicon package. The design constraint is simple: the image should be processed in the browser where possible, so the original file does not need to be uploaded to a processing server. Image compression sounds low-risk until the files are personal. The same workflow often handles: ID photos passport-style photos document scans school records legal or medical paperwork internal screenshots application form attachments For those files, the safest default is not "upload first, compress later." A browser-local flow lets the user load the image, create a smaller copy, download the result, and then upload only that final copy to the actual destination. That is the main positioning behind Quick Image Kit's browser-local image compressor. For an image compressor, it is tempting to start with codecs, quality settings, or performance. Those matter, but they are not the first user problem. The first problem is that users usually do not know what changed: Did the image get smaller? Is it now under the upload limit? Did the dimensions change? Is the face still clear? Is document text still readable? Is the output format accepted by the form? So the interface has to explain the result in normal upload-language, not just expose a quality slider. Large phone photos often start at 3000 to 4000 pixels wide. If the target is a small profile photo or form attachment, resizing usually improves the result more than pushing JPEG quality lower and lower. The practical order is: Crop away unnecessary background. Resize when the source image is far larger than the upload needs. Compress toward the target size. Check readability before downloading. That is why a useful image toolkit

Dev
Interesse
dev.to

scaffold-skill-marketplace (a claude skill for claude skills)

scaffold-skill-marketplace is a repo I created that only needs a name, then writes a git repo that other people can install claude code skills from. It's the first skill in some-claude-skills (a repo i created with that skill). this marketplace repo has a specific shape that the scaffold writes all in one pass: marketplace.json plugin.json release workflow PR scope check skill-recommender hook working example-tool-skill, validate-skill.sh update-plugin-versions.sh .releaserc.json CLAUDE.md CONTRIBUTING.md README.md with the install instructions already filled in. bash scripts/scaffold.sh \ --name my-team-skills \ --owner-name "Your Name" \ --owner-email "you@example.com" \ --target-dir ./my-team-skills only --name is needed to get started, everything else has a default and the skill asks for whatever is missing before it runs. scaffold.sh: references/templates/ with sed, substituting 6 placeholders: {{MARKETPLACE_NAME}} {{PLUGIN_NAME}} {{DESCRIPTION}} {{OWNER_NAME}} {{OWNER_EMAIL}} {{VERSION}} the validator is copied over exactly since it has nothing to substitute. it writes files then stops. next, it prints the next steps (git init, create the repo, claude --plugin-dir "$(pwd)" to test locally) and leaves it to you. where the repo lives and who can see it are the user's call, not the skill's. the rest of the script is guards.. a target directory that already has files in it is refused unless you pass --force, and the skill is told to confirm with you before it does. because the templates are just plain files, customizing every future scaffold means editing a template, adding a CI step or a category prefix is a change to one file in references/templates/, not to the script. the generated marketplace.json sets "strict": false on the plugin, which means claude code auto-discovers whatever is in skills/, agents/, and hooks/. adding a skill is as easy as creating skills/ /SKILL.md and merging. there's no manifest to edit and no list of skills to keep in sync with the fo

DevIA
Interesse
The Verge

Anthropic launches free AI security scans for open-source projects

Anthropic's offering to help open-source projects track down security vulnerabilities with a new service called OSS Scanner. It says open-source projects that opt-in will get "thorough, periodic security scans by our strongest models at no cost." That could mean open-source projects get alerted about possible security issues sooner, but the trade-off is that OSS Scanner's reports don't come with human review: The outputs of this opt-in vulnerability scanner will be fully model-generated, without human review or triage. This will enable faster and more frequent scanning, but means that it is possible reports will be incorrect or invalid. Th … Read the full story at The Verge.

SegurançaDevIA
Interesse
dev.to

Testing AI Character Prompts: Build an Evidence Ledger Before You Compare Replies

CrushOn.AI combines custom-character authoring and hosted chat, making it a practical place to try different versions of an original roleplay character without first configuring a separate model backend. But convenient experimentation is not the same as reliable evidence. Before you create a private test character, decide how you will preserve its inputs, first replies, settings, and failures. The most useful artifact is not a score. It is an evidence ledger: a record that lets another reader connect a claim to a particular prompt, response, condition, and review decision. This tutorial shows how to build one using an existing original character and a small A/B/C protocol. It adds a provenance and review layer to our Character Personality Workshop, rather than presenting another collection of attractive prompt examples. Disclosure: prepared by the CrushOn.AI content team with AI assistance. The protocol is exploratory. The only model observations referenced below are the separately published September 10, 2026 baseline; a new completed A/B/C experiment is not being reported. Suppose a worksheet contains a prompt, an impressive reply, and a green check mark. Several important questions are still unanswered: Was that the first reply, or a selected regeneration? Did the writer change the character halfway through the conversation? Was an example-dialogue field actually included in the model input? Does the check mark mean the response preserved facts, respected the user's choices, or simply sounded good? Is the response quoted completely, or did an omitted sentence contradict the conclusion? None of these problems is solved by averaging more check marks. The existing workshop deliberately exports nonempty replies as recorded-unverified and blank replies as untested. Its implementation does not turn pasted text into a verified model result. That is the right starting point for an honest ledger. Use four different objects, even if they live in one folder: Protocol: the q

IA
Interesse
dev.to

CVBoost: tailoring a CV to the actual job description with Groq's LLaMA 3.1 70B

One CV, fifty applications: it's the default strategy, and it's a losing one. Recruiters read for fit against a specific job description; a generic CV reads as generic. Tailoring by hand works, but an hour per application adds up fast when you're applying to ten jobs a week. CVBoost is AI-powered CV tailoring built for Cameroon's job market. Upload your CV, paste the job description, get a tailored CV and cover letter back in seconds. No prompt engineering, no settings to configure. The model runs on Groq, and inference speed is the product decision here: the user is waiting mid-application, not kicking off a batch job. The pipeline takes two inputs — the candidate's existing CV and the target job description — and returns a CV reshaped for that role plus a matching cover letter. The interface works in French and English, both directions — a job market that doesn't run on English alone. Premium use is paid through CamPay, supporting MTN MoMo and Orange Money rather than assuming everyone has a card. There's also job scraper support, configured through environment keys. Auth: JWT with httpOnly cookies Performance: response caching plus rate limiting on Redis/Upstash Stack: Node/Express, MongoDB (Mongoose), React 19, Vite, Tailwind v4 Tailoring is the step people skip when they're tired — which is exactly when they're applying. Automating that one step is the whole point. Try it live: https://cvbuilder-obfc.onrender.com Feedback welcome from job seekers and developers alike.

IADev
Interesse
dev.to

Submer: The Barcelona-Born Immersion Cooling Powering AGI Supercomputers

When the technology industry in 2026 debates the horizon of Artificial General Intelligence (AGI), discussions routinely gravitate toward mathematical abstractions: trillion-parameter architectures, test-time reasoning compute, frontier models like Gemini 3.8 / 4 Argon, Claude Mythos, and GPT Astra, and autonomous agent swarms. Yet inside the hyper-scale data centers where those models are trained and executed, reality is brutally physical, deafening, and thermodynamic: watts, silicon, and extreme heat. A single server rack engineered for frontier AI workloads — packed with dense GPU clusters and high-throughput interconnects — routinely consumes between 80 and 120 kilowatts (kW) of electrical power. To put that in perspective: a single metal cabinet generates the thermal equivalent of forty industrial ovens running continuously in the footprint of one square meter. Attempting to cool that thermal mass by blowing chilled air through high-velocity fans is, under the laws of physics, the equivalent of trying to extinguish an active volcano with a hand fan. Historically, up to 40% of a data center's total electricity bill was never spent on computing data; it was squandered on massive HVAC chillers, compressors, and roaring fans simply to keep microchips from melting. In 2015, two engineers in Barcelona recognized that this legacy paradigm would inevitably collapse under the weight of accelerated computing. They asked a question that sounded like heresy: What if we submerge entire running servers directly in liquid? That audacious question gave birth to Submer. Following our deep dives into Wallapop, HappyRobot, Devo, Carto, and the climate analytics of Clarity AI, this article examines the engineering triumphs of Submer: the startup founded in Catalonia that pioneered Single-Phase Liquid Immersion Cooling, becoming an indispensable infrastructure partner to global giants like Intel, Nvidia, Dell, and Supermicro to make AGI physically viable. The Origin: From Deafening

InfraIA
Interesse
dev.to

A fair Secret Santa draw with exclusions is a matching problem

A Secret Santa draw looks like a shuffle. It stops being one the moment someone says "Ana and Ben are a couple, they can't draw each other" and "nobody gets the same person as last year". I built the Secret Santa generator on Toggle9 and ended up with three small problems hiding inside it: Is a draw possible at all with these rules, and if not, why not, in words a person can act on? How do you pick one so that every valid draw is equally likely? How many valid draws are there? It turns out people like knowing. All of it is pure functions over a 0/1 matrix, with no DOM, and randomness passed in so tests can seed it. A[i][j] is true when person i may buy for person j. Start with everything allowed except yourself, then switch off exclusions and last year's pairs: export function allowedMatrix(people, avoid = {}) { const idx = new Map(people.map((p, i) => [p.n.toLocaleLowerCase(), i])); const A = people.map((_, i) => people.map((__, j) => i !== j)); people.forEach((p, i) => { for (const x of p.no || []) { const j = idx.get(String(x).toLocaleLowerCase()); if (j !== undefined) A[i][j] = false; } const last = avoid[p.n]; if (last !== undefined) { const j = idx.get(String(last).toLocaleLowerCase()); if (j !== undefined) A[i][j] = false; } }); return A; } A draw is then a permutation to where A[i][to[i]] holds for everyone. With no extra rules that's a derangement: a permutation with no fixed points. For 6 people there are 265 of them out of 720 shuffles, about 36.8%. (That ratio tends to 1/e, which is why "shuffle until nobody has themselves" works fine for small groups.) Whether some valid draw exists is a bipartite matching question: givers on one side, receivers on the other, edges where A allows. Kuhn's augmenting-path algorithm answers it in a few lines. The more interesting part is what to say when it fails. "No valid draw" is useless to a group organiser. Hall's theorem says a perfect matching fails to exist exactly when some group of k givers can only reach fewer t

Dev
Interesse
dev.to

I replaced theoretical study with high-intensity practice — and the result? I passed the AWS Solutions Architect Associate exam.

As I progressed through my AWS learning journey, I went from being familiar with EC2 to working with services like Lambda, IAM, VPC, RDS, DynamoDB, Aurora, and several others. At some point, I felt I had built enough knowledge to take the AWS Certified Solutions Architect – Associate exam. Until I decided to solve Tutorials Dojo practice questions. That was my rude awakening. I quickly realized that knowing AWS services was not the same as knowing how to architect solutions on AWS. I came across Tutorials Dojo frequently while researching how other people prepared for the exam, especially through the AWS Certifications Reddit community. NB: This Reddit community was extremely helpful throughout my preparation. If you're preparing for an AWS certification, I'd recommend spending some time going through the posts, discussions, study tips, and experiences shared there. The scenario-based questions weren't simply asking: "What does this AWS service do?" They were asking me to think through situations such as: Which architecture best satisfies these requirements? What is the most cost-effective solution? Which solution provides the highest availability? What trade-offs should I consider in this scenario? Which service or configuration minimizes operational overhead? Which option satisfies the requirements with the least amount of change? That was when I realized I had to change my study approach. I was studying AWS services. The exam was testing whether I could use those services to make the right architectural decisions. That changed how I approached my preparation. I went through Stephane Maarek's AWS Solutions Architect Associate course on Udemy to build and strengthen my understanding of the exam objectives and AWS services. But I didn't stop there. I used Tutorials Dojo extensively to get accustomed to the scenario-based nature of the questions. I primarily used the review mode, and I developed a simple rule for myself: Every wrong answer had to become a learning op

Infra
Interesse
dev.to

Meet Gwen, a small surface app for translation/dictation

I have created something for people that don't like to type-in so much or that have their hands full. And it's something that I use very much in my everyday workflow, and that I like to share with you today. It's open-source and MIT, and you can download it, set it up yourself, see what you can do with it, and let me know if you find it useful. Gwen is a macOS menu bar app that pastes speech into the app where your cursor is. Hold a key, talk, and release it. Gwen also translates selected text, or speech, in place. Macs already ship a usable local transcription and translation stack. whisper.cpp can run on 127.0.0.1, and macOS 15 and later includes Apple's on-device Translation framework. Gwen does not add another speech model. It adds the UI and hotkeys that make that stack usable in any app, without a Whisper Flow subscription or another paid dictation service. Speech-to-text stays on the local whisper.cpp server. Punctuation uses local rules. Translation stays on the device. Gwen has no account, no cloud API, and no subscription. A Mac macOS 15 or later, if you want translation Git The tools that ./bin/gwen setup installs. The published steps do not list exact versions. Clone the repo, then set up, build, and open the HUD: git clone https://github.com/mblancodev/gwen cd gwen ./bin/gwen setup ./bin/gwen build ./bin/gwen install License: MIT. Source: https://github.com/mblancodev/gwen - View Gwen Key Action Hold ⌃ Dictate, then paste when you release the key ⌃⌃ or "Hey Gwen" Start hands-free dictation Tap ⌃⇧ Translate the selected text in place Hold ⌃, then tap ⇧ twice Translate what you say Dictation works in any app that accepts pasted text. The first time Gwen runs, she asks you to say "Hey Gwen" three times and remembers how the recognizer writes it when you say it. Accents turn a fixed wake word into "hey when" or "hey Glenn"; teaching it once fixes that. A small sound confirms the wake word landed, so you know when to start talking. You can retrain it, or swi

Dev
Interesse
dev.to

AI dating photos: a likeness review is not a beauty contest

A sharp, attractive generated portrait can still be the wrong photograph. The face may be plausible without being the person who supplied the reference photos. I build CMeIn, an app for generating photos of yourself. Our upload flow checks normal photos against five poses and requires at least two poses before generation. That is an input constraint, not proof that the output preserves identity. The distinction matters when designing a review process for AI dating photos. Here is a review rubric I would use before calling an output suitable. It is a proposed checklist, not a benchmark result or a claim that we have automated these checks. Separate four questions Is the image technically usable? Check focus, lighting, hands and obvious visual artifacts. Does the face match the references? Compare face shape, hairline, nose, jaw and stable distinguishing features. Do not substitute attractiveness for similarity. Does the wider body still represent the person? A matching face does not excuse an invented build or a changed apparent age. Does the scene imply something untrue? A convincing mountain photo can still suggest an activity the person never does. Those questions should not collapse into one score. A high score for image quality cannot compensate for a failed likeness check. An illustrative review record Imagine a generated cafe image with convincing light and a clean background, but a narrower jaw than either reference. The useful record is not "good image, 8/10." It is "technical quality: usable; likeness: reject; reason: jaw shape differs." That gives the reviewer a decision they can explain without pretending that a subjective rating is a scientific measure. This example is hypothetical. I am not describing a customer or reporting a measured error rate. Compare the same things Put the reference and output side by side at similar face sizes. Compare more than one reference angle where possible. If the expression or camera angle makes a feature hard to judge, m

IA
Interesse
dev.to

Nango vs Rutter: Which is better?

TL;DR Nango is the best choice for AI agent and product integrations that combine accounting with broader integrations. Its prebuilt financial actions and syncs provide a starting point that teams can extend with CRM context, documents, and customer-specific behavior on the same platform. Rutter is the stronger fit for usecases that benefit from normalized data across accounting APIs. Its specialization can save substantial mapping work for bank feeds and standard accounting automation. Accounting and commerce integrations let a SaaS product or AI agent work with data from its customers’ business systems. The integration platform shapes how that data is represented, how updates reach the product, and where custom logic runs. Nango provides prebuilt actions and syncs that developers can adapt to their own model and run on managed infrastructure. Rutter supplies a shared financial model that reduces mapping work when its resources fit the product. Nango’s approach gives teams more control as requirements expand across business systems. For example, a revenue operations product may read invoices from QuickBooks or Xero, then connect them to CRM deals and contracts. Adding a customer’s collections rules introduces logic that depends on all three sources. Where that logic runs becomes part of the platform decision. Nango combines prebuilt integrations with control over the data and behavior your product needs. Your team can adapt template outputs, add validation, and run that logic on Nango’s managed infrastructure. Rutter supplies predefined financial models with extension options, which can reduce mapping work for closely matched workflows. For products with customer-specific rules or plans to add other business systems, Nango provides a broader foundation: the data model and integration functions can evolve together on the same platform. Buying criterion Nango Rutter Starting point 7000+ prebuilt actions, syncs, and tools across 1,000+ APIs Normalized financial resour

Dev
Interesse