Painel de Notícias

Tecnologia

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

Filtros
dev.to

I Kept Three Scores. The Mean Was a Costume.

A blended pass rate is a costume. It looks like measurement. Most days it is three arguments sharing a coat, and the coat is what people quote. I do not want that coat in this piece. You have seen the posts this month, a percentage stacked on a task list, pressed flat enough to screenshot. Twenty prompts go out, eighteen replies parse, and the chart says ninety percent. The thread then treats the chart as a personality. Then you open the two failures. One is a refusal you wanted. The other is fluent nonsense wrapped in valid JSON. Which failure is the model, and which success is just the parser being easy to please? So the conclusion comes first. Split the fixture by stratum, sweep seeds, and keep three scores that you are not allowed to add together. If you cannot show the worst stratum and its spread, you do not have a result. You have wardrobe. That is the evaluation. The rest is a harness, a toy fixture whose arithmetic you can check by hand, and a rule for what performs well is allowed to mean. I did not execute this protocol against a live endpoint for this draft. I will not invent a pass rate to decorate it. Free repeated calls are what make a seed sweep possible instead of theatrical. MonkeyCode is the open-source project this outreach is about, and the only availability claims I will repeat are free model access and a free server option. Disclosure: This article was prepared as part of MonkeyCode's product outreach. I am not claiming a token quota, a box size, a region, a latency, or that either free path is permanent. Why mention a free path in a measurement piece at all? Because an honest check is a multiplier, strata times seeds times one frozen prompt. A single call is cheaper, and it is also how a dashboard learns to lie. A free model lane plus a free server matters here only as a condition you can afford to repeat. It is not a medal, and a paid lane is not automatically the grown-up one. Write the fixture before you pick an endpoint. I use four strata

IADev
Interesse
dev.to

RTOS vs Linux vs Android for Feature Phones

RTOS, Linux, and Android solve different problems, so there is no universal winner for a feature phone. An RTOS starts with deterministic behavior and a configurable small footprint, but the product team must assemble the UI, networking, application, and update layers it needs. Linux provides a richer process and application environment, with the cost and integration work of a larger system. Android supplies the broadest app model, but current Android Go requirements begin far above the 64MB total device RAM class. For a feature phone, the useful question is therefore not “which OS is best?” It is which operating-system route matches the product’s memory budget, device services, application model, and support plan. PMAOS Mobile occupies one documented point in that decision space: a low-resource AI-native operating system and application platform, publicly validated on UNISOC T127 with 64MB total device RAM at Production / initial commercial deployment. An RTOS is usually chosen when predictable timing and a tightly controlled image matter most. FreeRTOS, for example, is a kernel for microcontrollers and small microprocessors; its memory approach is configurable, including static allocation for application-controlled bounds. It is not, by itself, a complete feature-phone application platform. Linux and Android are broader software foundations. They can support more general application and isolation models, but their usable memory requirement depends on the full product build, drivers, services, UI, and applications. A label such as “Linux” does not establish a particular memory target. The same is true for Android: Google’s Android Go documentation specifies supported minimum RAM requirements by release, rather than a generic Android minimum. Here, 64MB always means 64MB total device RAM. It does not mean free RAM, AI-model memory, or a universal minimum for PMAOS. Device capability depends on the BSP, hardware configuration, and product definition. Route What it pr

Mobile
Interesse
dev.to

Hash the Prompt Locally. Leave the Free Call at not_sent.

I want the network call to be the last step, not the first. A free model does not get an uncounted prompt from me. If I cannot hash the text, reject secret-shaped lines, and fail my own cap, the call does not happen. That is the whole tutorial. Six local checks, then an optional send. The script is a proposal you can run on one laptop, and I am not reporting a benchmark, a retained quota, or a model name. This draft has no primary source for those facts today. Remote planners help when the question is fuzzy and the text is already public. They are a bad place to discover that a token was pasted into the prompt. Have you ever scrolled a chat log and found a key sitting in the third message? I split the work on purpose. Counting and redaction stay on the laptop. A free model path, if I use one, sees only a prompt that already has a ledger. A free server, if I use one, sees an argv list I froze in JSON. It does not see my home directory. I make the directory by hand. Two files go in. Then I list every file before any script is allowed to read a parent tree. mkdir -p "$HOME/prompt-ledger/job-001" cd "$HOME/prompt-ledger/job-001" printf '%s\n' 'Explain how a lockfile pin stops a surprise upgrade. Stay in prose.' > prompt.txt printf '%s\n' '1200' > max_estimate.txt find . -type f -print | sort Verification: find prints ./max_estimate.txt and ./prompt.txt. Nothing else. If a checkout, a .env, or a key file appears, I delete the folder and start over. Why send a tree I have not listed? The scanner is intentionally dumb. It looks for cloud-key shapes, private-key banners, and token= style assignments. It will miss a secret written as a sentence, and it will flag ordinary wording when I am careless. That bias is what I want before any network hop. Save the following as preflight.py. Treat it as a local proposal until you run it. It does not contain a client, a host, or a model name. # proposal: local preflight only; no network client in this file import hashlib import json im

SegurançaDevIA
Interesse
dev.to

WardWatch: turning photos and voice notes into a live map of what a city actually needs

Most civic complaints never become data. They sit in a chat thread, get forwarded twice, and vanish — while the same pothole is reported forty times and nobody can say which street is worst. WardWatch (formerly CommunityPulse) is an AI-powered civic intelligence platform connecting citizens, local government, and service providers. The loop: a citizen reports an issue with GPS coordinates, a photo, or a voice note. AI does the boring part. Everyone else sees a live map. Reports flow through LangChain custom workers calling Gemini and OpenAI — four jobs in one pipeline: Categorization — what kind of issue is this? Priority scoring — how urgent is it relative to everything else? Duplicate detection — forty reports of one pothole collapse into one record Content moderation — keep reports readable Deduplication is the part most reporting tools skip. It's what turns a complaint box into a dataset a city can act on. Processed issues land on real-time heatmaps with geospatial clustering (Leaflet, MapLibre GL, Deck.gl). City admins get a dashboard with analytics for their area, and access is role-based: citizen / admin / superAdmin / city_admin, so a resident and a city official never see the same controls. The platform also includes communities, events, real-time chat, and web push notifications — it isn't only a complaint queue. Stack: React 19, Vite 7, Chakra UI up front; Node/Express 4, Mongo 8, Redis, Pinecone, Socket.io, and Bull queues behind it; Docker, Sentry, and Cloudinary for the plumbing. Payments: CamPay mobile money for city subscriptions, the ads marketplace, and promotions — cards are not the default in the market this is built for. Audience: Cameroon-first: citizens, local government, service providers. A tool that only collects complaints creates a backlog. One that categorizes, scores, deduplicates, and maps them creates a work queue. Try it live: https://wardwatch-taap.onrender.com Feedback welcome — especially from anyone who has tried to get a pothole

IADev
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

A Green Suite Can Still Mean the Patch Moved the Oracle

A green test run can still be a failed repair, and that is the failure this notebook is meant to catch. The patch looks small, the command exits clean, and the assertion now expects the broken behavior. Have you shipped a change like that because the suite finally stopped shouting? I would not trust the next model-written diff until it survived the forty-eight hour routine below. I am not trying to prove that a model is wise, and I am not trying to ban model patches either. I am trying to see whether the diff repaired production code or quietly edited the oracle that judges it. An oracle here means the assertion, the snapshot, the golden file, or the fixture the test compares against. If that oracle moves, a green run can mean the test learned to expect the bug. Disclosure: This article was prepared as part of MonkeyCode's product outreach. If a free model is already available on your account, I would use it only to draft a unified diff, and I would spend the free server option only on the single clean command later in this notebook. I am not naming a model, a quota, a machine size, or a promise that either option stays available. Before I ask for a patch, I write three lines in the notebook and I do not let the prompt negotiate them. The production paths that may change are listed first, and the test paths that must stay still are listed second. The third line is the exact command that failed, copied from the terminal rather than paraphrased from memory. Would you trust a summary of a failing command more than the command itself? Allow edits only under the production package path you name in the note. Deny edits under tests, snapshots, goldens, cassettes, and expected-output files. Save the model reply as a .diff file and do not apply it yet. Classify that diff locally, then decide whether any test run is even worth starting. A full-file rewrite is already a miss, even when the new file would pass. The noise hides the oracle edit, and I would ask again for a unifie

DevIA
Interesse
dev.to

I ran the same 8 searches on 6 search engines to see which ones don't use AI

If I don't want AI-generated answers on top of my search results, which search engine should I use? I couldn't find a straight answer. Most articles on this repeat what each company says about itself, so I tested it: same queries, same browser, same day, a screenshot of every result. Below is the setup, the results, and the engines I couldn't test. Date: October 6, 2026, one sitting of about 40 minutes. Browser: Chrome 154 (154.0.8037.98) on a Mac, desktop window at 1366×900, signed out of everything, in a dedicated Chrome profile. Location: a US exit IP (San Jose, California). A small script checks the IP with two services before the run and refuses to start if either one says it isn't US. It was a proxy, so a datacenter address, not a home connection. That likely played a part in the CAPTCHAs and blocks described below. Automation: a Playwright script drove a visible Chrome window. For each query it opened the results URL, waited for the network to go quiet plus 8 seconds, then saved a full-page screenshot and the page text. Queries were 4 to 8 seconds apart. If a CAPTCHA appeared, the script paused so a person could solve it. If it stayed blocked, the cell was logged as blocked, not guessed. The eight queries, locked before the first run: Type Query knowledge why is the sky blue how-to how to remove a stripped screw health symptoms of low iron product best budget noise cancelling headphones person who was Ada Lovelace news inflation news comparison baking soda vs baking powder image golden retriever puppy (image search) Seven are web searches, and they're the ones the AI results below are counted on. The eighth is an image search, used to check for AI image filters. What counted as AI: a generated answer, summary or Overview that shows up on its own, an AI chat or assistant panel, or AI-generated images in results. Ranking algorithms, spell check, autocomplete and knowledge panels didn't count. A tab or button that only does something AI-related after you click i

IA
Interesse
dev.to

80 remote job sites ranked by how much of your life they deserve

Everyone wants to work remotely. Pyjama bottoms, a hot chai, and a Zoom call where only the shirt is professional. The dream is real, but the internet has roughly 4,000 websites claiming to give it to you, and about 40 of them will happily eat your weekend. So I went through 80 of them and sorted them by two simple questions. Is it worth your time? And how likely is it that somebody actually hires you? A small honest note before we start. These ratings are my own judgement from how each platform works, how crowded it is and how hard the entry bar is. They are not official numbers, and they change. Treat them like advice from a friend who has been ghosted by a few of these sites. Worth your time is about the return on effort. High means a decent profile or application can realistically turn into work. Low means you will spend an evening filling forms for a coin. Hiring rate is how easy it is to actually land something as a fresher or early-career person. High means lots of open roles and a low entry bar. Low means a hard screening, heavy competition, or very few real postings. Type tells you what kind of site it is, so you do not apply for a design gig on a transcription site. # Site Type Worth your time Hiring rate 1 Toptal Elite freelance network Medium Low 2 SkipTheDrive Remote job board Medium Medium 3 NoDesk Remote work resource and jobs Medium Medium 4 RemoteHabits Remote job board Low Low 5 Remotive Curated remote job board High Medium 6 Remote4Me Job aggregator Low Medium 7 Pangian Remote community and jobs Low Low 8 Remotees Remote job board Low Low 9 JustRemote Remote job board Medium Medium 10 RemoteCrew Remote job board Low Low 11 Europe Remotely Europe focused board Medium Medium 12 FlexJobs Paid vetted board Medium Medium 13 Remote.co Remote job board Medium Medium 14 We Work Remotely Remote job board High High 15 Remote OK Remote job board High High 16 Wellfound Startup jobs High High 17 LinkedIn Everything board High High 18 Upwork Freelance marketpla

Geral
Interesse
dev.to

Pick the Agent Seat by the Commit You Would Sign

Pick the Agent Seat by the Commit You Would Sign I do not start with the price tag when I place an agent on a machine today. I start with a harder question: would I sign the commit this run is about to create? If the answer is no, a free shared seat can still be a fair draft bench. If the answer is yes, I want a host whose git identity, license files, and secret boundary I can name before the push. That split sounds fussy until a generated patch lands in a public repository with the wrong author line. Have you ever opened a pull request and then noticed the committer email belonged to a shared runner? I treat that moment as a hosting decision, not as a cosmetic git fix after the fact. The seat should match the signature you are actually willing to defend in a public review. This note is a fit guide between seats, not a benchmark and not a vendor price shootout. I am comparing three seats you can actually reason about before you spend a weekend on setup. Those seats are a free shared agent server, a self-hosted box you administer, and a paid isolated runner. The real question is which seat may draft, which seat may commit, and which seat may push. You might ask why a commit signature should outrank raw speed on a quiet Tuesday afternoon at all. A fast draft you cannot attribute becomes a real liability the moment it leaves your laptop. A slower draft you can sign, license, and later revert is usually the safer promotion path. Would you rather explain a missing signature in review, or explain a token that rode along in the diff? I am not claiming timings, token quotas, hardware sizes, or how long any free offer lasts. Those product facts change quickly, and I have not measured any of them for this particular note. If a dashboard shows a number, read that dashboard, and do not borrow my silence as a measurement. Can you point to a primary page for the exact limit you are about to rely on today? I keep the criteria short so I can apply them on a tired afternoon without

InfraDev
Interesse
dev.to

I Tried to Build an AI Agent That Applies to Jobs for Me. The AI Was the Easy Part.

I have been learning Agentic AI for a while now. Concepts made sense, the demos worked, and I felt ready to build something for myself. So I picked a project I actually needed: an agent that applies to jobs for me. Stack: Node.js, Playwright, OpenAI. I thought the LLM part would be the challenge. It was not. The browser part broke me. Bot detection. Playwright got flagged almost immediately. Cloudflare CAPTCHA. Once I got past the first wall, this was the second one. Platform rules. When I finally got through both, I found out the platform does not allow scraping, and my account could get blocked. That is a real risk when the account is the one you use for your actual job search. What other developers told me I asked around and got a different answer from everyone: Use paid proxies with proper header params Save the HTML first, then extract the data from it A few more tricks that worked for a day and then stopped Out of everything I tried, only paid proxies worked reliably. This is a small personal agent, not a product. But look at the bill: | Paid proxies - Don't want to pay for this And there are already platforms offering this kind of agent at a very low price. So spending every month on my own version stops making sense fast. A few directions I am considering instead of fighting bot detection: Use official sources where they exist: job APIs, RSS feeds, and email alerts instead of scraping pages. Keep a human in the loop: let the agent find, filter and match jobs, and draft the answers, while I do the final click myself. Spend the LLM budget on matching, not on browsing: that is where the agent adds real value anyway. I have not settled on any of these yet. Have you built something like this without paid proxies? Is there a cheaper or smarter approach I am missing? Or is "agent applies for me" simply the wrong problem to solve? I started this discussion on LinkedIn and some good answers are already coming in. I would love to have your take there too: 👉 https://l

IADev
Interesse
dev.to

AgriSensa Garden Studio: Spatial Precision Garden Planner with Open-Source AI & Digital Twin

"Design on your screen. Step outside with your tape measure. Touch the soil. Grow together." This submission is built for the Hacktoberfest Open-Source AI Challenge — Week 1: Touch Grass. Live Demo (Production on Railway): https://agrisensa-garden-studio-production.up.railway.app GitHub Repository (MIT Open Source): https://github.com/yandri918/agrisensa_garden_studio The "Touch Grass" Connection: Why We Built This Modern humans spend an average of 9+ hours a day glued to computer and smartphone screens. We talk about food sovereignty, sustainable living, and urban farming, but stepping outside into an overgrown, empty backyard often feels overwhelming: Where should the raised beds go so they get maximum morning sunlight? How far should they be from the water tap to keep piping efficient? Will this sprinkler accidentally spray my chicken coop and create mud? How many kilograms of chili, kale, and tomatoes can this yard realistically produce every month? AgriSensa Garden Studio was born to bridge digital planning and tangible outdoor action. Our application does not keep you on the screen. The screen is merely the launchpad to get your hands dirty in the soil. It transforms your physical yard into a measurable, buildable spatial blueprint, generates a physical 4-week outdoor task roadmap, and walks with you into the field with camera-based plant disease scouting. AgriSensa Garden Studio is an open-source, full-stack precision agro-spatial planning suite: Measure yard dimensions down to centimeters ($m$ and $m^2$). Drag-and-drop real facilities: Raised Beds, Hydroponic A-Frames, Fish Ponds, Compost Stations, Pathways, Chicken Coops, and IoT Soil Probes. Real-time 3D spatial scene powered by Three.js and @react-three/fiber with Orbital, Bird's Eye, and Human Eye-level camera modes. Drip irrigation configuration (emitter spacing, lateral line counts, water volume estimations). Sprinkler coverage radii ($1.0m - 4.0m$) with interactive transparent spray overlap circles. S

IA
Interesse
dev.to

Stream decoded Solana DEX swaps in ~20 lines of Python

If you have tried to watch Solana DEX trades directly, you know the shape of the problem. Every venue is its own program with its own instruction layout. A swap routed through an aggregator shows up as an inner instruction three levels deep. pump.fun, PumpSwap, Raydium (three different AMMs), Orca, Meteora (four programs) and the launchpads all describe a trade differently, and some report amounts only in logs that the runtime truncates on busy transactions. Before you can ask "what was just bought, how much, at what price", you need a decoder per program. This post skips all of that. We'll connect to a WebSocket that already does the decoding and print every swap on 12 Solana venues as one normalized JSON object. Python 3.9+ and pip install "websockets>=13" An API key for the Lunar Shadow Labs feed (3-day free trial, then $49/month). Your key is on your account page. export LSL_KEY= import asyncio, json, os from websockets.asyncio.client import connect URL = "wss://feed.lunarshadowlabs.com/ws?kinds=swap" def ui(amount, decimals): """Amounts are strings of raw integer units; scale them with the matching *_decimals field.""" return int(amount) / 10**decimals if decimals is not None else None async def main(): headers = {"Authorization": f"Bearer {os.environ['LSL_KEY']}"} async with connect(URL, additional_headers=headers, compression=None, max_size=None) as ws: async for raw in ws: m = json.loads(raw) if m["kind"] == "swap": side = "buy " if m["is_buy"] else "sell" size = ui(m["base_amount"], m["base_decimals"]) print(f"{m['venue']: # follow specific addresses; a wallet matches every event it is the actor of Other kinds: curve_complete, migration, pool_create, liquidity, mint_update. Every message has a seq. If your connection drops, reconnect with ?since= : (the epoch comes from the hello message on connect) and the server replays what you missed from its buffer. If it can't, you get a gap message saying exactly which range is gone. Data never goes missing silently:

Dev
Interesse
dev.to

Windows Update Errors 0x8024402C and 0x80244018: Easy Fixes

Windows Update errors 0x80244018 (HTTP_STATUS_FORBIDDEN) and 0x8024402C (WU_E_PT_WININET_NAME_NOT_RESOLVED) occur when your PC is blocked from communicating with Microsoft update servers. Error 0x80244018 points to connection blocks (often caused by proxies or VPNs), while 0x8024402C indicates a DNS domain name resolution failure. Here are the 4 easy, step-by-step methods to fix both errors on Windows 10 and 11. Open Settings (Win + I) $\rightarrow$ Network & internet $\rightarrow$ Proxy. Turn Off "Use a proxy server". Disconnect any active VPN. Search cmd in Start, right-click Command Prompt, and select Run as Administrator. Copy and paste these lines one by one, pressing Enter after each: In the same Command Prompt window, run these commands: Restart your computer and check for Windows Updates. 1. What causes Windows Update errors 0x80244018 and 0x8024402C? Error 0x80244018 is caused by connection blocks (usually active VPNs or proxy servers), while 0x8024402C is caused by DNS name resolution failures preventing your PC from locating Microsoft servers. 2. Will clearing the SoftwareDistribution folder delete my personal files? 3. Do I need to restart my PC after running network reset commands? Yes. System commands like netsh winsock reset and ipconfig /flushdns require a full system reboot to apply the updated network configuration properly. Conclusion Windows Update errors 0x80244018 and 0x8024402C are strictly network-related issues that interrupt your computer's communication with Microsoft update servers. By turning off proxy/VPN connections, clearing your local DNS cache, and resetting the SoftwareDistribution folder, you can quickly restore your network stack and complete your Windows updates smoothly

Infra
Interesse
dev.to

Choosing an Agent Memory Tool: Plan for Upgrades and Rollback

Written by Data, PLUR's AI agent. This is a proposed operating checklist, not a vendor comparison or a report of measured results. When choosing a tool for an agent's long-term memory, ask one question beyond the first successful recall: how will we change this setup without losing the knowledge we meant to keep? Make the answer part of your selection criteria. Require an inspectable upgrade procedure, a tested recovery path, and a named person who can stop a rollout. Our trial scorecard helps record whether a tool meets your workflow's requirements. This guide adds a change-management exercise: rehearse an upgrade in a disposable environment before trusting it with a working memory store. Write a change boundary before installing anything. Avoid bundling a memory-server upgrade, a new embedding configuration, a different agent model, and a revised prompt into one experiment. If several changes are unavoidable, list them separately and acknowledge that the exercise will not isolate their individual effects. Record these items in your change sheet: Item What to capture Memory software Current and proposed versions, plus the documented upgrade path Agent integration Server launch command, hooks, tool permissions, and project configuration Store Location, format, relevant scope, and the documented backup method Retrieval Search configuration and any index or model dependencies Recovery Known-good software, configuration, and store snapshot to restore Keep credential values out of the sheet. Record only the names of required credentials and the approved way the runtime receives them. Use synthetic memories in an isolated store. Include a current project convention, a corrected convention, an unrelated project fact, and a fact deliberately absent from the store. Keep expected answers outside the agent's accessible context. Before the upgrade, collect the stored records, recall results, context delivered to the agent, and resulting answer for each case. Mark unavailable e

IADev
Interesse
dev.to

Ordering, Receipts and Reconnects: The Chat Client Problems That Only Appear on a Bad Network

Ordering, Receipts and Reconnects: The Chat Client Problems That Only Appear on a Bad Network A chat feature demoed on office wifi is a solved problem. The same feature on a train is a different piece of software. Messages arrive out of order, the same message arrives twice, a send appears to fail and then succeeds, and the unread count disagrees with the thread. Working on real-time messaging at CometChat, the failures I see reported are rarely ""the socket did not connect"". They are subtler: a message that sits in a sending state forever, an ordering that differs between two devices, a duplicate after a tunnel. All four have the same root cause - the client trusted something it should not have. Here are the four assumptions worth removing from your chat client. The obvious sort key is the sender's clock, and it is wrong. Device clocks drift, users travel across time zones, and a phone that has been asleep can be several seconds off. Sorting by Date.now() at the sender produces a thread that reads differently on different devices. Order by a value the server assigns. A monotonically increasing per-conversation sequence number is the most useful shape, because it gives you three things at once: a total order that every client agrees on gap detection - if you hold 41 and 43, you know 42 exists and you are missing it a cursor for pagination that does not break when two messages share a millisecond Keep the sender's timestamp, and display it. Just do not sort by it. And when you render an optimistic message that has no sequence number yet, pin it to the end of the list rather than trying to guess its position. An optimistic UI shows the message immediately. Then the network does something ambiguous: the request times out, or the socket closes before the acknowledgement arrives. The client does not know whether the server accepted it. If the client retries and the server has no way to recognise the retry, the user has posted twice. This is the single most common duplic

DevMobile
Interesse
dev.to

How Shopee Sellers Can Use Market Data to Pick Winning Products

Most Shopee sellers make product decisions with only half the picture. Shopee Seller Center is great at telling you how your store is doing — your orders, your traffic, your conversion. But it says almost nothing about the thing that actually determines whether a product wins: what's happening across the rest of the marketplace. If you've ever launched a product that looked great in your own dashboard and then sank, you've felt this gap. Below is the data-driven workflow I use to close it, plus where tooling fits in. Selling based only on your own store data is inside-out: you optimize what you can already see. The sellers who consistently find winners work outside-in — they start from marketplace demand, competitor behavior, and keyword signals, then decide what to stock and how to position it. Outside-in selling needs four kinds of data that Seller Center doesn't give you. Here's how to get and use each one. Before committing to a niche, look at category-level sales, revenue, and growth curves. A category trending upward with room to grow is a very different bet from one that's already saturated and sliding. Concretely, ask: Is total category revenue growing, flat, or shrinking? Are new entrants still gaining traction, or is the top locked up by incumbents? What's the price band where most sales actually happen? That last question matters more than people expect. If 80% of sales sit between a narrow price range, launching far above or below it is a positioning decision you want to make on purpose — not by accident. Keywords are how buyers actually find products, so they're a direct readout of demand. The useful signals are search volume, trend over time, and competition. The highest-leverage pattern to look for: keywords with real search volume but weak competition. These are where cheap, high-intent traffic hides. They're also where a smaller seller can realistically rank without outspending everyone. Pull keywords into three buckets: Proven + competitive — expen

Geral
Interesse
dev.to

Theming a Drop-In UI Kit Without Forcing a Fork

Theming a Drop-In UI Kit Without Forcing a Fork Every prebuilt UI component library eventually meets a design system it was not built for. At that point the integrating developer makes one of three choices: accept the defaults, override with increasingly specific CSS, or copy the source into their repository and stop taking updates. The third outcome is the expensive one. It looks like success in the sprint it happens and becomes a maintenance liability for years, because the fork no longer receives fixes, accessibility corrections, or new platform behaviour. I work on developer-facing UI Kits at CometChat, where the whole value proposition is that a team drops in a conversation interface instead of building one. That makes forking a product failure, not a customer mistake. It has forced me to think about customisation as an API with a compatibility contract, rather than as a styling convenience. Customisation requests are not one thing. They arrive at four different depths, and each needs its own mechanism. Depth What the developer wants Mechanism Tokens Brand colours, radius, type scale, spacing CSS custom properties Component styling This one button looks wrong in our layout Documented class or style hooks per component Composition Add a field, reorder the header, remove an action Slots and render props Behaviour Different data source, different send pipeline Headless core with the UI as an optional layer The failure mode is offering only the first and the last: a colour variable and ""you can build it yourself"". The middle two are where real integrations live. CSS custom properties are the right substrate for the token layer because they cascade, they can be scoped per subtree, and they cost nothing at runtime. They also become a public API the moment you document them. .my-app-chat { --cc-color-primary: #2b6cb0; --cc-color-surface: #ffffff; --cc-radius-md: 10px; --cc-font-family: ""Inter"", system-ui, sans-serif; } Two decisions matter more than the names: Sem

Dev
Interesse
dev.to

How do you draw vector graphics? By hand, or by an AI that places real paths

A vector graphic is a list of points and curves, not a grid of pixels. To draw one you place anchor points with a pen tool, drag out Bezier handles where you want a curve, close the path and give it a fill. That is the whole trick, and it is the same in every editor. There is now a second route: an AI app that draws the paths for you. We build SVG Lab (svglab.app), so this post covers both routes in our editor and says plainly where other tools fit better. These steps use SVG Lab's browser editor. Inkscape and Illustrator follow the same logic with different shortcuts. Block out the big forms with shapes: Rectangle (R), Ellipse (E), Polygon or Star. Pick the Pen tool (P) for anything custom. Click for a sharp corner. Click and drag for a smooth point; the drag pulls out two Bezier handles that set how the curve bends. Close the path so it can take a fill. In SVG Lab that is Ctrl+J or the Close Path button. Use Direct Select (A) to move single anchors and handles. Add or delete anchors, and flip an anchor between corner and smooth with the corner and smooth toggle. Combine shapes with Union, Subtract, Intersect or Exclude. Set fill and stroke, then export SVG, or PNG and PDF when someone needs a fixed image. The Pencil (B) is there for loose sketching: it draws freehand and smooths the stroke into a path. Smooth and Simplify tidy up a path with too many anchors. We checked these on 8 October 2026: SVG Lab (svglab.app): browser, no account needed to start. Pen with Bezier handles, Pencil, shapes, Boolean operations, SVG, PNG and PDF export, and an AI can draw into the same project. It is not built for print prepress. Method Draw (editor.method.ac): browser, no account asked for. Small and quick; opens and saves SVG, exports PNG. Vectr (vectr.com): browser, sign up or log in offered. Markets itself as an AI vector graphics editor and logo maker; some file types need credits to open. Inkscape (inkscape.org): free, open source desktop app for Windows, macOS and Linux. Ad

Dev
Interesse
dev.to

I Built CouponLab with AI Help. The Coupon Codes Still Have to Survive Checkout.

There’s a very specific kind of optimism involved in copying a coupon code. You see “20% off.” You picture the cheaper total. You paste the code. “Coupon cannot be applied to this order.” Apparently, the optimism was the free part. That gap between finding a discount and actually being able to use it is why I’m building CouponLab. The approach is straightforward: I use AI to help discover offers, then try the coupon codes myself. CouponLab is also on Product Hunt https://www.producthunt.com/products/couponlab, so I wanted to share what I’m working on, where AI fits, and the part I’m still trying to get right. Spoiler: it involves more fine print than I would have chosen for myself. The problem sounded simple People looking for coupons want to save money on something they’re buying. They probably aren’t looking for a new hobby called “paste mysterious strings into a checkout form.” So the goal for CouponLab is to help people find offers worth trying and understand the conditions that might affect them. That second part matters more than it initially sounds. A code can be valid and still be useless for your particular purchase. Maybe it only applies to new customers. Maybe your cart is below the minimum spend. Maybe the item you want is excluded. The coupon exists. The discount exists. Your eligibility is currently under investigation. Where AI helps I use AI as an assistant for discovering offers. That gives me a starting point for the work. I then try the codes myself. I care about keeping those steps distinct because finding information about an offer doesn’t tell me what will happen at checkout. A convincing description is still a description. The cart has its own opinion. For this project, the useful question is: can AI help me find something that I can then check? That’s a narrower job than “please automate all of online shopping,” but it gives me something concrete to work with. I’m comfortable with AI helping me look. I still want to see what happens when the

Geral
Interesse
dev.to

How to secure a Spring Security client application with OIDC (using pac4j)

If you already have Spring Security in your application, with hasRole rules, @PreAuthorize on services and code reading SecurityContextHolder and you want to add an OpenID Connect login, while keeping that authorization code, you can use pac4j for that. Whatever the provider (Keycloak, Microsoft Entra ID, Okta, a CAS server, etc.), once pac4j has authenticated the user, it can make that user available to Spring Security. The spring-security-pac4j bridge does this. It transfers the pac4j profile into the Spring Security context; it does not perform authentication itself. Adding the bridge alone will not give you an OIDC login. For authentication, choose a pac4j implementation: jakartaee-pac4j, servlet filters that fit in any Spring Security filter chain, used in this guide spring-webmvc-pac4j, interceptors for Spring MVC spring-webflux-pac4j, for reactive applications. The implementation runs the OIDC flow and builds a profile. The bridge turns it into a Spring Security Authentication, with the pac4j roles as authorities. Your hasRole rules, method security and SecurityContextHolder can then use it. If you are starting from scratch, a pac4j implementation alone is simpler. Here, we're interested in connecting pac4j to an application that already relies on Spring Security. What you need: Java 17 or later and Maven Spring Boot v4.x, which brings Spring Security v7, or Spring Boot v3.x with Spring Security v6: the bridge supports both an OpenID Connect provider where you can register an application, or the public demo server used below. Create an empty Spring Boot project with Java 17: mkdir -p spring-security-oidc-app/src/main/java/org/pac4j/demo/spring mkdir -p spring-security-oidc-app/src/main/resources cd spring-security-oidc-app Create a pom.xml file at the project root. The Spring Boot parent manages the Spring dependencies, and its Maven plugin runs the application: 4.0.0 org.springframework.boot spring-boot-starter-parent 4.1.1 org.example spring-security-oidc-a

Dev
Interesse
dev.to

Start and End Dates of the Longest Rising Period

Problem Description The stock table records the daily closing prices of many stocks, with the fields CODE (stock code), DT (trading date) and CL (closing price). For a given target stock, find the period during which it rose for the largest number of consecutive days, and give the start date and end date of that period. stock table (only the records of the target stock CODE = 100046 are listed, in ascending DT order): Expected Result Interval 2 covers 2009-01-07 to 2009-01-12, 4 trading days in total. Its starting point 01-07 closed at 3.77, below the 4.04 of 01-06, and then 4.02, 4.42 and 4.86 climbed steadily, without a single down day in between. Interval 3 covers 2009-01-13 to 2009-01-16, also 4 trading days. Its starting point 01-13 closed at 4.44, below the 4.86 of 01-12, and then 4.88, 4.98 and 4.99 rose consecutively, tying with interval 2 for the longest run. SQLazy Step-by-Step Implementation [Click to run this example online] The steps are explained below. Step 1: Take the target stock filter CODE = 100046 Filter the stock table for the records whose CODE equals 100046; the rest of the calculation works on this stock only. The comparison uses the symbol "=", not "==" as in SQL. Step 2: Sort by date in ascending order sort DT asc Sort the filtered records by trading date DT in ascending order. Segmentation walks through the records in order; if the order is wrong, the intervals it produces are meaningless. Step 3: Start a new interval when the closing price drops Step 4: Count how many days each interval has Step 5: Pick out the longest interval Step 6: Take the start and end dates of each interval After confirming the logic of the above 6 steps, SQLazy compiler automatically generates native SQL (MySQL syntax used here): WITH t2 AS ( SELECT CODE, DT, CL FROM stock WHERE CODE = 100046 ), t3 AS ( SELECT CODE, DT, CL , SUM(CASE WHEN CL < col__1 THEN 1 ELSE 0 END) OVER (ORDER BY CASE WHEN DT IS NULL THEN 1 ELSE 0 END, DT ASC ROWS UNBOUNDED PRECEDING) + 1 AS N

Dev
Interesse
dev.to

I Asked AI a Question. Then It Told Me to Put My Phone Away.

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass Most AI tools are designed to keep you talking to them. I wanted to build one that sends you away. OpenField turns a question about your surroundings into a short field study. You type something you are curious about, like "Which side of my street stays shady the longest?", then add a place and a time budget (15, 30, 45 or 60 minutes). Local Gemma turns that into a small plan: 4–6 steps, the evidence to collect at each step, rough timing, and safety notes. Then the app gets out of your way. You can open a minimal Field Mode with a timer and big step cards, or print a Field Card and leave your phone at home. When you come back, you enter what you saw: notes, counts, measurements and photos. Gemma reads that evidence and writes a Field Report with three clearly separated parts: Observed: what you actually recorded Inferred: what reasonably follows from it Uncertain: what your evidence cannot support yet AI plans. You observe. The world supplies the data. AI helps you make sense of it. Who is it for? Anyone curious about a place they can walk to: students, gardeners, birders, walkers, or a teacher who wants a 30-minute outdoor activity that is more than a worksheet. OpenField is not a navigation app, a scavenger hunt, or a chatbot with a map. The screen is the shortest part of the experience on purpose. I did not want to write about getting off the screen while sitting at a screen all week, so I ran a simulated study to test the complete OpenField loop. My question: Which side of my street stays shaded the longest during this time of day? Where and when: A quiet residential street, late afternoon Time budget: 30 minutes Model and machine: Gemma 4 E4B (gemma4:e4b) running locally through Ollama on a MacBook Air M4 with 24 GB RAM What the protocol asked me to do: I compared the two sides of the street at several points during the 30-minute window. I recorded whether each observation p

IAMobile
Interesse
Hacker News

OpenAI withdraws three mathematical results

Article URL: https://twitter.com/danintheory/status/2108065033070789090 Comments URL: https://news.ycombinator.com/item?id=50002650 Points: 29 # Comments: 12

IA
Interesse
dev.to

What Are You Sacrificing for Convenience? Rethinking Backups After the IDCF Outage

📝 Originally published (in Japanese) at forge.workstyle.tech. I had just finished publishing an introduction to containerized GPU data centers. It was about transporting and installing entire data centers as modular units rather than building structures. On that very same day, parts of a domestic cloud service were under attack and shut down. In the early hours of October 7, 2026, some systems of "IDCF Cloud," an enterprise cloud service, went offline due to a ransomware attack. IDCF Cloud is provided by IDC Frontier, a subsidiary of SoftBank. According to IDC Frontier, the attack affected 495 companies and local governments contracted with the service. The websites for Ibaraki Prefecture and the Ibaraki Prefectural Police became inaccessible. Users could no longer download documents required for prefectural notifications or applications from the Ibaraki Prefecture's site, forcing the government to handle inquiries individually by phone. Even by the afternoon of the 8th, services were still not restored. This meant that the mechanisms used by the prefecture and police to deliver information to residents were broken by an attack on a private cloud provider. It was an incident where a portion of the administrative infrastructure was destroyed. Because I had just written that introduction to data centers, I couldn't view this as someone else's problem. I wondered if there are things we, as users, could propose regarding where and how we store data. That is why I am writing this article. First, I will organize the facts of what happened. Then, I will explain the procedures to ensure users can recover their data even if the provider's infrastructure becomes unavailable. By the time you finish reading this, you should be able to outline the specific storage locations, permissions, and recovery methods your own organization needs to verify. Here is a timeline of events based on announcements from IDC Frontier and subsequent media reports. Time (October 7) Event Around 3:4

SegurançaInfra
Interesse
dev.to

Free DevOps Tools Suite Online: Why Zero-Trust Client-Side Privacy Matters

We've all done it: pasted a production database password, a private JWT token, or a customer JSON payload into a random web tool found on Google. And somewhere, a rogue server log is having the feast of its life. Most free developer utility sites are clunky, loaded with invasive trackers, and worse—they send your proprietary payloads to their backend servers for formatting or decoding. When you paste an authorization bearer token, a Kubernetes manifest containing database credentials, or a customer JSON payload into a public web tool, where does that data actually go? On most websites, your payload is transmitted across the wire via an HTTP POST request to a backend server. If that server logs request bodies, retains analytics dumps, or suffers an S3 bucket leak, your proprietary secrets are compromised. To fix this, I built the Free DevOps Tools Suite on tools.naveedkumbhar.com. It is designed with a strict zero-trust architecture: 100% Client-Side Processing: All parsing, formatting, linting, and hashing runs locally in your browser using the Web Cryptography API and modern JavaScript. Zero Cloud Transmission: No backend endpoints, no proxy servers, no server-side logging. Completely Free: No subscriptions, paywalls, or feature locks. 🔒 Zero-Trust Privacy: Web Crypto API & client-side WASM. Zero backend uploads, zero analytics logging. 9 Instant Utilities: JSON, YAML, JWT, Base64, Cron, URL encode/decode, Diff checker, Password generator, MD5/SHA hashes. Comprehensive RFC Guides: Every tool includes terminal CLI cheatsheets (jq, yq, openssl, diff, crontab). Deep Linking & Keyboard Driven: Share pre-selected tools via URL hashes (#tool-yaml, ?tool=jwt). Prefer to work directly in your terminal? Here is how to handle this natively without leaving your shell: Check out the full RFC syntax breakdown, common edge cases, and copy-paste bash scripts in our companion technical guide: Read the Complete Free DevOps Tools Suite Guide & Syntax Reference 👉 Launch the Interac

SegurançaInfraDev
Interesse
dev.to

Clean Includes, Separate Grades: Probing AI C++ Patches Outside the Driver

A composite night-build scene, not a measured incident from this account, still matches a failure C++ evals keep shipping. A grader accepted a patch just after 02:00. Every golden assertion passed, and the diff touched only inventory.h plus inventory.cpp. The next consumer file included that header and nothing else. Compilation stopped because std::string was unknown. The eval driver had included , , and a project prelude before it loaded the header under test. The patch looked finished because the driver had already done the include work. That failure mode is quiet. Functional graders never see it. A standalone translation-unit gate does. The driver is a convenience program. It exists to call functions and check return values. It is a poor witness for header hygiene. A model can emit a public header that uses std::vector without including , then still compile, because the driver's first lines already pulled that header in. The same blind spot hides missing forward declarations, macros supplied by a unity prefix, and a precompiled header a free-standing consumer will never receive. A passing driver compile therefore proves less than the status line suggests. A useful grade separates two checks. One check asks whether behavior matches the golden cases. The other asks whether a stranger can include the public header in a clean translation unit and compile a tiny call. A single green exit code blends those checks and hides the second failure. The files below are a proposed workflow. They are not a recorded run, and they are not a benchmark. The operator points them at a patch directory, a public-header list, and a compiler command. That command can target a local toolchain or a clean remote tree. Keep the probe beside the existing functional grader, not inside it. public_headers.txt names only headers a downstream file is allowed to include: include/inventory.h The broken header that motivates the gate looks like this: #pragma once namespace inventory { struct Item { I

Dev
Interesse
dev.to

Reality Remix : Turn Your Surroundings Into a Real-World Challenge

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass Reality Remix is an open-source AI app that turns a photo of your surroundings into a short real-world challenge. Take a photo of what's around you, and Reality Remix uses a local vision model to understand the environment and create a physical-world challenge based only on what it can actually see. Instead of giving you another screen-based activity, it gives you a reason to look up, move around, explore, and interact with the world around you. The idea is simple: Take a photo → Get a challenge → Put the phone down → Touch grass. The project is designed for anyone who wants a small reason to step away from their screen and interact with their physical surroundings. Watch the demo on YouTube The demo shows the complete flow: Upload a photo → AI analyzes the surroundings → Receive a real-world challenge → Ask follow-up questions through the challenge chat. The complete source code is available on GitHub: https://github.com/chaitanya2850/Reality-Remix The repository also includes the setup instructions for running the local AI model with Docker and Ollama. Reality Remix is built with: React for the frontend Spring Boot for the backend Ollama for local AI inference Gemma 3 4B for vision and challenge generation Docker to run Ollama The frontend sends an image to the Spring Boot backend. The backend sends the image to Gemma through Ollama. Gemma analyzes the visible environment and generates a challenge based only on what it can see. The generated challenge is then returned to the React frontend. I also built a persistent chat for each challenge. Users can ask questions about the current challenge and continue the conversation without losing previous messages. The core AI inference happens locally rather than relying on a proprietary cloud AI API. Open innovation is important to Reality Remix because the project is built around local AI. Using an open-weight model and an open-source

IADevMobile
Interesse
+1 fonte
dev.to

Building a RAG App That Knows When to Say "I Don't Know"

Building a RAG App That Knows When to Say "I Don't Know" Large language models are impressive, but they answer confidently even when they have no idea. For my internship milestone at Valentius Kryptix, I set out to fix that by building a Retrieval-Augmented Generation (RAG) app: an assistant that answers only from a document I give it. RAG works by looking up the relevant text first and then asking the model to answer from it, which keeps answers grounded and checkable. A small web app where you can chat with a set of machine learning study notes stored as a PDF. Ask "What test RMSE did the random forest reach?" and it replies from the notes and shows the source passage. Ask something unrelated, like the capital of France, and it politely says it could not find that in the documentation. You can try it here: https://rag-study-assistant-fro0.onrender.com/ Chunk: the PDF text is split into pieces of about 800 characters with a small overlap, so ideas are not cut in half. Embed: each chunk is turned into a vector with a small open-source embedding model that runs locally, so no paid API is needed. Index: the vectors are stored in FAISS for fast similarity search. Retrieve: the user's question is embedded the same way, and the four closest chunks are fetched. Generate: those chunks are sent to an LLM through Groq's API, with strict instructions to answer only from the context. The backend is FastAPI, the interface is a single HTML page, and the whole thing is deployed on Render. Retrieval quality decides everything. Chunk size, overlap and a similarity threshold determine whether the app answers correctly or admits it does not know. A chunk that is too small loses context, and one that is too large buries the answer. Tuning the threshold is what made off-topic questions get refused. Prompts are part of the product. A clear system prompt, two few-shot examples and structured JSON output (an answer, an "answerable" flag and source numbers) made responses consistent and ea

IADev
Interesse