Painel de Notícias

Tecnologia

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

Filtros
dev.to

How to Export Remote Job Salary Data to CSV (Himalayas + Remote OK)

If you're job hunting remotely, or building anything around remote work, salary data is the part you actually want and the part that's hardest to collect. Two job boards publish it in a usable form: Himalayas (salary range, currency, period, and seniority) and Remote OK (salary range in USD, plus tags). I built two small Apify Actors that turn those listings into clean rows. Here's how to get the salary data into a CSV and do something useful with it. Himalayas Remote Jobs Scraper title, companyName, employmentType, seniority, minSalary, maxSalary, currency, salaryPeriod, isWorldwide, publishedAt, url Remote OK Jobs Scraper title, company, location, tags, salaryMinUsd, salaryMaxUsd, publishedAt, url Himalayas is the better source when seniority matters and when you need to know whether a role is open worldwide (isWorldwide). Remote OK is handy when you want everything already in USD and filterable by tech tags. In the browser, open either Actor, click Try for free, fill in the input, and hit Start. Then export the results as CSV. Or from Python: pip install apify-client pandas from apify_client import ApifyClient import pandas as pd client = ApifyClient("YOUR_APIFY_TOKEN") def run(actor_id, run_input): r = client.actor(actor_id).call(run_input=run_input) return list(client.dataset(r["defaultDatasetId"]).iterate_items()) himalayas = pd.DataFrame(run("slate_cyclone/himalayas-jobs-scraper", {"keywords": "python", "salaryRequired": True, "maxJobs": 100})) remoteok = pd.DataFrame(run("slate_cyclone/remoteok-jobs-scraper", {"tags": ["python", "react"], "salaryRequired": True, "maxJobs": 100})) h = himalayas.dropna(subset=["minSalary", "maxSalary"]) r = remoteok.dropna(subset=["salaryMinUsd", "salaryMaxUsd"]) Median salary range by seniority on Himalayas (yearly, USD only): yearly_usd = h[(h["currency"] == "USD") & (h["salaryPeriod"].str.lower() == "year")] print(yearly_usd.groupby("seniority")[["minSalary", "maxSalary"]].median()) Only roles open worldwide: print(h[h["isW

Dev
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

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

Inside the eval gate: how we decide a cheaper model can take over a task

I build Operant, so I have a bias. This post first went out on our blog. I post it here because I want critique of the method. My questions are at the end. Operant can move a repeated task to a cheaper model. It does this only after a gate. The gate replays held-out work on the cheaper model with a learned skill. A judge scores the result against your own past answers. Then a person ratifies the change. This post explains each step of the gate. The screenshots come from the live console. They show sample values from a demo workspace. Cortex groups your conversations into patterns by goal. Scribe learns a skill for a pattern. Then Operant proposes a learned rule: this pattern goes to this target model with this skill version. A new learned rule starts in shadow. In shadow the rule changes no traffic. The gate exists for one step only: the step from shadow to active. Before Scribe writes a file, it saves a split of the pattern into a learn set and a holdout set. By default, one quarter of the conversations go into the holdout. The skill learns only from the learn set. The gate grades the skill on the holdout set. It never grades the skill on the conversations that taught it. It takes the costliest conversations first, because routing must hold on that part of the traffic. A run uses up to 5 conversations by default. Some patterns have too little captured text. For these, the gate makes one-turn tasks from the goal summaries. It marks each of those scores as synthetic, so you can see the weaker evidence. For each conversation in the set, the gate replays the user turns two times: The baseline arm uses the model that the conversation used most. The candidate arm uses the target model with the skill. The baseline comes from each conversation. So the gate compares the candidate with what your agent did, not with one fixed model. An LLM judge reads the same user turns with the two sets of answers. It gives a parity score: Parity Meaning 1.0 The candidate did as well as the

IA
Interesse
dev.to

Logistics Hiring Scores Using Unified Node Backend Proxy with One API Key and Retries

Short answer: a Node backend proxy should expose one API key and one unified endpoint while OpenAI, Anthropic Claude, and Google Gemini credentials remain behind the server boundary. Internal model aliases are mapped there, and only transient failures are retried. For logistics candidate scoring, the deciding outcome is valid, rubric-bound JSON. Provider breadth comes second. Choice Client credential Structured-output control Operating burden Best fit Direct provider SDKs One per provider Provider-specific Low at first Experiments tied to one provider Managed multi-provider gateway One gateway key Common envelope, with provider differences still visible Low to medium A solo team that needs several providers now Self-hosted routing proxy One internal key Fully owned normalization and validation High Strict network or policy control Recommendation: for a one-person SaaS shipping weekly, start with a managed gateway only if it preserves structured responses and exposes retry metadata. Otherwise, put a thin internal adapter in front of direct SDKs. Do not build a general-purpose router. Outsource the undifferentiated transport work, but own the hiring rubric, schema, validation, and audit record. A single key is a client-facing abstraction, not a universal provider credential. OpenAI, Anthropic, and Google each document their own authentication and request surfaces. Your browser or mobile client should never receive those upstream secrets. The backend holds them, while callers authenticate to one endpoint with one application-scoped secret. The first criterion is schema fidelity. A candidate-scoring response that looks plausible but swaps a score for a string is not a partial success. It is rejected data. The same goes for a response that invents a rubric category, omits evidence, or returns a score outside the allowed range. The proxy should authenticate the caller, resolve the alias, send the provider-specific request, normalize the result, and validate the final obje

DevIA
Interesse
dev.to

Every open job for a list of companies, in one table (Workday, Greenhouse, Lever and 14 more)

Sales teams, recruiters and job-market analysts often start from the same input: a list of companies. They want every job those companies have open right now, in one table, with the same columns for each company. That is harder than it looks. Each company publishes its jobs on its own applicant tracking system: Workday, Greenhouse, Lever, Ashby, SmartRecruiters, iCIMS and many others. Every system has a different URL scheme, a different public feed and different field names. Before you can read the jobs you have to find out which system a company uses and what its board is called. Big employers often run several career sites at once. This post shows how to do it with one API call, and what we measured when we compared our tool with the alternatives. Company Jobs Scraper: All Open Jobs by Company Name or Website is an Apify Actor we built. You give it company names (Spotify) or websites (stripe.com). It finds each company's career board on one of 17 sources and returns every open job in one format. It reads only the public job data that companies publish for job seekers. It needs no login, and it is not affiliated with any of the job systems. For each job you get the source system, company, title, job URL and apply URL, department, location, workplace type (remote, hybrid or onsite), posting date, and the salary range where the company publishes one. The full description comes as text and HTML. from apify_client import ApifyClient client = ApifyClient("YOUR_APIFY_TOKEN") run = client.actor("hiver/all-open-jobs-by-company").call(run_input={ "companies": ["stripe.com", "ramp.com", "Spotify", "NVIDIA"], "titleKeywords": ["engineer"], "maxJobs": 500, }) for job in client.dataset(run["defaultDatasetId"]).iterate_items(): print(job["company"], job["source"], job["title"], job["location"], job["url"]) maxJobs caps how many jobs a run returns, and so what it can cost. The same input works in the Apify Console without code, and results download as CSV, Excel or JSON. The Apif

Dev
Interesse
dev.to

Don't blame AI before you check your architecture

Give an AI coding agent a small task: add voucher activation to an existing subscription system. The generated code might look reasonable. The endpoint works, the response is correct, and the happy-path test passes. But the voucher rules now live in a controller, next to a database query and a call to a payment provider. Was the model bad? Maybe. I would also look at the examples the repository gave it. If similar rules already live in controllers, services and persistence callbacks, “follow the existing architecture” leaves quite a lot open to interpretation. A human joining that project would have questions too. This is where I think architecture deserves more attention in AI-assisted development. The structure of a project supplies context for the next change. Clear responsibilities make that change easier to describe and its mistakes easier to detect. PHP and Symfony make a useful example here. PHP sometimes gets dismissed before the discussion even starts, but typed interfaces, dependency injection and static analysis give us plenty to work with. Consider an illustrative subscription application. Customers can already buy a subscription through a payment provider. Now we want this feature: Allow a customer to activate a subscription with a voucher. That sentence leaves business decisions open. Does the voucher cover a particular plan? Can it be redeemed more than once? What happens if the customer already has an active subscription? For this example, let's choose explicit rules: a voucher activates one eligible subscription, expires at a defined time, and can be redeemed once. An already-active subscription must be rejected. Voucher activation must not charge the customer. These are invented requirements for the example, not a report from a production system. Suppose the relevant code looks like this: src/ Controller/SubscriptionController.php Service/SubscriptionManager.php Service/PaymentHelper.php Entity/Subscription.php Repository/SubscriptionRepository.php

Dev
Interesse
dev.to

Show DEV: I built an AI/SaaS template with vanilla HTML, CSS and JavaScript

APEXVYRA is a front-end template for AI/SaaS products: a marketing site plus a full app dashboard, built with plain HTML, CSS and vanilla JavaScript. No framework, no build step, no backend. I wanted something you can open in an editor and change directly, without first installing a toolchain or learning someone else's component abstractions. A few practical reasons: Files you can edit directly. Every page is an HTML file. Change the markup, refresh the browser. No build tooling. No bundler, no transpiler, no node_modules needed to run it. Stack-agnostic. Because it's plain markup, CSS and small JS modules, it can be moved into whatever stack you pick later: server-rendered templates, a static site generator, or a framework. Easy to inspect. View source shows exactly what's running. The JavaScript is split into small, single-purpose components (modal, tabs, tooltip, command palette, table sort, toast, sidebar, and so on). The app side is a 7-page dashboard: Overview: KPI cards with sparklines and summary charts AI Chat: a chat interface demo Analytics: charts with legends and data-table views Projects: project list/views Team: members and roles Settings: account and preference forms Billing: plan and billing screens All pages share the same sidebar and topbar layout, with the sidebar collapsing on smaller screens. There's no charting library. The charts come from a small hand-written SVG renderer that supports: line charts area charts (stacked) bar charts donut charts heatmaps sparklines (in the KPI cards) Each chart is an empty container with a data-av-chart-type attribute and a JSON config in a data attribute. A few things I cared about: Theme-aware colors: resolved from CSS custom properties, not hardcoded hex values, so charts follow dark/light mode. Responsive: SVG viewBox scaling, with axis labels thinned out on narrow screens. Keyboard-accessible: data points, bars, segments and cells are focusable, with aria-labels and a shared tooltip on hover/focus. Data-t

Dev
Interesse
dev.to

Aeon Connect: start an aeon agent from your browser

Aeon Connect is live at www.aeon.fun/connect. Sign in with GitHub, connect a model, pick skills. No clone, no terminal, and the agent still lives in your repo. You can now start an Aeon agent without leaving the browser. Open Aeon Connect, sign in with GitHub, connect a model, pick skills, and your agent is running on GitHub Actions a few minutes later. Until today the first step was a terminal. You needed Node.js 20+, the GitHub CLI, a clone of the repo, and ./aeon to open a dashboard on localhost. That was fine for developers and a wall for everyone else. Several of our own comparison posts listed it as the place Aeon lost: "Zero setup: no." Aeon Connect removes the wall without changing what Aeon is. The agent still lives in a GitHub repo you own, runs on your own GitHub Actions, and keeps its memory in your git history. We only host the dashboard you set it up and drive it from. How it works Sign in with GitHub at www.aeon.fun/connect. Create your aeon. Name it (the default is aeon-) and pick Public or Private. Aeon Connect creates the repo in your account and turns GitHub Actions on for you. Install the Aeon Connect GitHub App on that one repo. GitHub's install page opens with the repo already selected, so it is one click. Connect a model. Paste a Claude subscription token, an API key, or a ChatGPT (Codex) login, or connect OpenRouter in one click. The key is encrypted straight into your repo's GitHub secrets. Pick skills and run one. Turn on the skills you want, add a notification channel if you like (Telegram, Discord, Slack, or email), and hit Run once to see it work end to end. After that the agent runs itself on its schedule. The HQ screen keeps a short setup checklist so you can see what is left. Everything the local dashboard does is there too: skills and schedules, packs, your STRATEGY.md and soul/ files, MCP servers, secrets, and run history. Public or private You choose when you create your aeon. The trade-off is simple: Public: a real fork of aeonfun

IADev
Interesse
dev.to

One Repo, One Package: Where the Review Trail Lives

In our first post on MWD we described the rule we build with: one repo = one package. Packages depend on each other only through published, versioned releases. At the end we admitted a cost: a change that spans several packages turns into several releases, and keeping versions aligned takes real care. A reader replied with a good question: I'd keep the package release and downstream version bump in the same review trail, so the interface change stays visible. This post is our answer. We agree the change has to stay visible. We disagree that it needs one shared review trail. When a change in package A forces a change in package B, two decisions are made, in two places: A decides what changed and why, and releases it under a version tag. B decides which version of A to take and why, and pins it. Both decisions belong in the commit history of the repository that made them. A's commit says what the interface change is. B's commit says "took A 0.1.1 because of X." The pinned version number is the link between them: from B you can find the exact release of A, and from A's tag you can find the commit that explains it. So the histories stay separate, and each repository keeps a complete record of its own reasons, but the information isn't cut off. You follow the version number from one history to the other. To make this concrete, we'll use a small example workspace, acme, built for this post. It has five repositories: a shared core package, a worker package that runs tasks and is deployed to production, a cli app, a dashboard app, and a worker-deploy project. The names, commits and versions are made up; the tool output further down is real, run against that workspace. The change: core gets an optional task priority. Here's how it moves through the repositories: core: feat(core): optional task priority (low|normal|high, default normal), then chore: release v1.3.0 and tag v1.3.0. What the new field is and how it's validated. worker: chore(deps): @acme/core lower bound ^1.3.0

Dev
Interesse
dev.to

Fix: 'permission denied while trying to connect to the Docker daemon socket' on Linux

The Error You run docker ps or docker compose up on Linux and get hit with: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock The Docker daemon runs as root and binds to a Unix socket owned by the docker group. If your current user account has not been added to that group, the operating system blocks access. Add your current user to the docker group and refresh your group membership immediately without logging out: sudo usermod -aG docker $USER && newgrp docker Verify it works without sudo: docker ps If you still get socket errors, ensure the Docker engine daemon is actively running: sudo systemctl enable --now docker Check status: sudo systemctl status docker If you are running Docker inside WSL2 without Docker Desktop: sudo service docker start sudo usermod -aG docker $USER && newgrp docker Never run sudo chmod 777 /var/run/docker.sock. While it works temporarily, it gives every user and malicious process on your machine unrestricted root privileges to your host system.

LinuxInfraDev
Interesse
dev.to

How to Install SerpBear on a VPS with Docker (2026)

To install SerpBear on a VPS, install Docker, create a .env file and a docker-compose.yaml file, then run docker compose up -d. Put Nginx with a Let’s Encrypt certificate in front of it, log in, and connect a scraping API such as ScrapingRobot or Serper.dev. We suggest starting on a 1 vCore, 3 GB RAM server. This guide is for SEO freelancers and agencies who want their own rank tracker without per-keyword fees. It goes past the install command and covers the domain and SSL setup, the scraper, Search Console, backups, updates and the errors you are most likely to hit. Tested on Ubuntu 24.04.5 LTS with SerpBear v3.1.0 in October 2026. SerpBear is an open-source rank tracker that records where your domains appear in Google for the keywords you choose. You run it on your own server, so the keyword history stays with you and there is no per-keyword or per-seat charge from the software. It has email notifications for position changes, a Google Search Console integration and its own API for reporting tools. One thing to know before you start: SerpBear does not query Google from your server. Its getting started guide says you need a third-party scraping account or proxy IPs, because scraping Google directly gets an IP banned. Your VPS runs the dashboard, the schedule and the database. The scraping service fetches the results. If you only track a handful of keywords for one site, you can run SerpBear on your own PC for free. The docs note the limits of that: no access from your phone and no API for reporting apps. A VPS is for when you want it running every day without your laptop being open. SerpBear publishes no minimum hardware figure in its README or docs. Because the scraping happens on someone else’s infrastructure, the server only runs a Node.js app, a scheduler and a small database, so a small server is enough to start, and you can upgrade if memory runs short. On our test install, a 4 GB server running Ubuntu 24.04.5 LTS, the SerpBear container used between 112 MB a

InfraDevLinux
Interesse
dev.to

Load-balancer health checks: a healthy port is not a healthy app

By the Just Create App team A server can accept a TCP connection and still fail every useful request. Our load-balancer explanation covers the routing layer; this guide focuses on the checks that decide which backends should receive work. Its process may be running while its configuration is wrong, its cache is cold or the route people need is broken. That is why a load balancer's health check deserves its own design review. This guide is a documentation-based explanation, not a benchmark or a report from a production incident. The example is deliberately small: an HTTP application with three interchangeable backends behind one traffic entry point. A TCP check answers a narrow question: can the balancer establish a connection to the configured port? That is useful for detecting a closed socket or an unreachable target. It does not tell you whether the application returns a valid response to a real user. An HTTP check can inspect an endpoint and its response. HAProxy documents active checks that connect to a server or send it an HTTP request at regular intervals. Consecutive failure and success thresholds determine when a server leaves and rejoins rotation. Those thresholds matter as much as the endpoint itself. Think of each check as a contract. What exact condition makes this instance eligible to receive new work? Write that condition down before choosing a path or copying a configuration snippet. Suppose requests can go to A, B or C. All three open their HTTP port. A and C have completed startup; B is still loading required configuration. A port-only check might accept all three even though B cannot serve the application yet. A readiness endpoint should report the eligibility condition you designed for that application. In this teaching example, B is not eligible until startup has completed. The balancer can then direct new traffic to A and C while continuing to check B. Once B meets the configured success threshold, it can return to rotation. This is a conceptual

InfraDev
Interesse
dev.to

why your analytics silently stops working (and the 4 checks i run first)

the worst analytics bug never shows up in your console. it shows up weeks later, as a gap in your dashboard you can't explain. i'm om yaduvanshi, 18, an applied ai developer. cloudline is my cookieless google analytics alternative, and this is day 12 of 90 building in public. today's lesson cost me real data: analytics fails silently, and nobody tells you. a broken button throws an error. a failed deploy gets someone paged. but broken analytics just stops recording. your site looks fine. your visitors keep coming. the numbers quietly flatline, and you find out when you open the dashboard for something else and notice the line died two weeks ago. content security policy is the usual suspect. if your site's csp doesn't list the analytics domain in script-src and connect-src, the browser kills the request. it does log to the console, but nobody watches the console on a production site. your deploy worked, your script tag is correct, and zero events land. filter lists block tracker.js paths on sight. this is the check where i stop pretending: no client-side analytics tool survives every ad blocker, and any vendor telling you otherwise is lying. some visits will never land. cookieless doesn't mean blocklist-proof. the honest trade is right there in the numbers you do get. every visit you see is real, no sampled ghosts. i'd rather have true partial data than confidently wrong complete data. cloudline refuses localhost events in production, on purpose. you test your install on localhost, the dashboard stays empty, and you spend an hour confused. rite of passage. same with domain matching: events only count for the site the script tag was made for. if the domain doesn't match what's registered, nothing lands. the fastest check in the world. open the live visitors view, load your site in another tab, and see if you show up. if you appear, the pipeline works and the gap is upstream. if you don't, you just saved yourself an hour of guessing. if you haven't installed yet: one l

Dev
Interesse
dev.to

Get Google Trends data in Python without pytrends 429 errors

Disclosure: I built the Google Trends Actor used in this post and I earn money when people run it. I've tried to keep this useful even if you never use it: the first half explains the 429 problem and the free workarounds. If you've used pytrends, you've probably seen this: pytrends.exceptions.TooManyRequestsError: The request failed: Google returned a response with code 429 It usually works on your laptop for a few requests, then starts failing. It fails faster on Colab, AWS, GitHub Actions or any other cloud IP. This post explains why, what you can do for free, and how I now get Google Trends data from Python without managing proxies. Google Trends has no public API. pytrends calls the same internal endpoints the trends.google.com website uses (/explore, then /widgetdata/multiline, /comparedgeo and /relatedsearches). Google rate-limits those endpoints per IP and per session: Every keyword is several requests. One build_payload() plus interest_over_time(), interest_by_region() and related_queries() is four or more calls. A loop over 50 keywords is 200+ requests from one IP. Datacenter IPs are treated as bots. Cloud and shared IPs hit the limit far sooner than a home connection. The cookie/session matters. Requests without a warm Google session get rejected more often. pytrends is no longer maintained. The GitHub repo is archived and the last PyPI release (4.9.2) is from April 2023, so it won't adapt when Google changes things. For a handful of keywords now and then, these are often enough: time.sleep(60) between keywords. Slow, but it works more often than not. TrendReq(retries=3, backoff_factor=0.5) so transient 429s are retried. Run from your home connection instead of a cloud VM. Pass rotating proxies with TrendReq(proxies=[...]). This works, but now you're buying and managing proxies. If you need dozens or hundreds of keywords, on a schedule, from a server, these stop being fun. I wrote a Google Trends scraper that runs on Apify and handles the retries for you:

DevInfra
Interesse
dev.to

I Made Spider-Man Swing Without Animating a Single Frame

I built a Spider-Man swing effect that runs entirely in the browser, with no pre-rendered animation, no sprite sheets, and no video files. Instead, a small AI agent loop generates motion parameters in real time. Here’s how it works, with runnable Python code you can adapt. Animation is expensive. Traditional 2D or 3D animation requires keyframes, interpolation curves, and often a rendering pipeline. For a simple web demo, that’s overkill. I wanted Spider-Man to swing across a city skyline using only procedural motion driven by an agent. The agent doesn’t generate pixels; it generates physics parameters (rope length, swing angle, release timing) that a canvas renderer uses to draw a stick-figure Spider-Man. The result: a 60 FPS swing that feels dynamic, with zero pre-baked frames. The agent runs in Python (using a lightweight loop) and communicates with the browser via WebSocket. This post explains the problem, the solution, and the implementation. Swinging is a physics problem: a pendulum with a changing pivot point. You could hardcode a sine wave, but it looks robotic. You could use a full physics engine, but that adds dependencies and complexity. I wanted an agent that decides when to release the web and where to attach the next one, based on the current state. The agent must: Observe the current position and velocity. Choose an anchor point (a building) within range. Compute the swing arc. Decide when to release to maintain forward momentum. Repeat until the character reaches the right edge of the screen. This is a classic control loop. The challenge is making it robust and fast enough for real-time. I built a simple agent loop in Python that runs at 30 Hz. It uses a state machine with explicit termination conditions: Observe: Get current position (x, y) and velocity (vx, vy) from the browser. Decide: If no web is attached, find the nearest building anchor within a cone ahead. If a web is attached, compute the pendulum angle and check if the character is at the b

IADev
Interesse
dev.to

Calling Bitcoin, Litecoin and Decred JSON-RPC without running a node

I run full nodes for nine chains on one server in a datacenter. For a while I used them only for my own projects. Running a node is the boring part of most crypto side projects, and it is also the part that breaks: disk fills up, a release changes a flag, sync falls behind for a day. So I put a gateway in front of mine and opened it up. It's called Olenza Node. This post shows what calling it looks like for Bitcoin, Litecoin and Decred, with real requests and responses, and what it can't do. Every chain has one endpoint: POST https://node.olenza.io/v1/rpc/{chain} {chain} is one of btc, eth, ltc, doge, bch, xec, zec, dcr, xmr. The body is a normal JSON-RPC request for that chain's node. The key goes in a header. The gateway does not translate anything: Bitcoin speaks Bitcoin Core RPC, Decred speaks dcrd, Monero speaks monerod. export OLENZA_KEY=olz_xxx # your key from account.olenza.io curl https://node.olenza.io/v1/rpc/btc \ -H "X-API-Key: $OLENZA_KEY" \ --data '{"jsonrpc":"1.0","id":1,"method":"getblockcount","params":[]}' {"result":970203,"error":null,"id":1} Authorization: Bearer olz_xxx works too. If your client can't set headers, the key can go in the path (/v1/rpc/btc/olz_xxx). The header is better, because your own proxy or shell history may keep the URL. curl https://node.olenza.io/v1/rpc/btc \ -H "X-API-Key: $OLENZA_KEY" \ --data '{"jsonrpc":"1.0","id":1,"method":"estimatesmartfee","params":[6]}' {"result":{"feerate":0.00001000,"blocks":6},"error":null,"id":1} curl https://node.olenza.io/v1/rpc/btc \ -H "X-API-Key: $OLENZA_KEY" \ --data '{"jsonrpc":"1.0","id":1,"method":"getmempoolinfo","params":[]}' {"result":{"loaded":true,"size":2515,"bytes":697554,"usage":4230912, "total_fee":0.02143948,"maxmempool":300000000,"mempoolminfee":0.00001000, "minrelaytxfee":0.00001000,"incrementalrelayfee":0.00001000, "unbroadcastcount":0,"fullrbf":false},"error":null,"id":1} Bitcoin has 45 methods open: blocks, transactions, mempool, fee estimation, PSBT tools, sendrawtrans

InfraDev
Interesse
dev.to

End-to-End Salesforce Automation: Lightning Components, a Dynamic DOM, and OTP MFA

Originally published on the CloudQA blog. Salesforce is a genuinely difficult platform to automate well, and the difficulty is structural rather than incidental. Three characteristics of the platform combine to make naive automation approaches fail quickly. A dynamic DOM. Salesforce's Lightning interface generates much of its markup dynamically, and element attributes — including IDs and classes automation would normally rely on — can change between sessions or even between renders of the same page. Selectors that work today can silently stop working tomorrow, with no code change on the testing side to explain why. Lightning components. Salesforce's component framework renders complex UI elements — dynamic forms, dropdowns, data tables, pop-ups — through its own internal structure rather than plain HTML controls. These components often don't expose the kind of simple, stable attributes that standard selector strategies expect, which makes reliably identifying and interacting with them harder than automating a conventional web form. OTP-based MFA. Salesforce's one-time-password multi-factor authentication is, like most MFA, deliberately resistant to automated bypass. A test suite that has to clear an OTP challenge on every run either can't run unattended at all, or has to solve session persistence some other way. Compounding all three: the goal wasn't to verify isolated pages in a vacuum, but to automate complete business workflows — multi-step processes spanning several Salesforce screens, involving navigation, data entry, validation, and record updates in sequence. Any one unstable step in a long workflow can break the entire run, which raises the stakes on getting each of these problems solved properly rather than patched around. Rather than relying on the kind of single-attribute selectors that break the moment Salesforce regenerates its markup, we identified genuinely stable selectors where they existed and built custom selector strategies for the elements where

Dev
Interesse
BleepingComputer

Fake ChatGPT, Gemini Sites steal advertising accounts, MFA codes

A new campaign targeting ad account managers uses fake ChatGPT, Gemini, Claude, and Perplexity sites that steal login credentials and multi-factor authentication (MFA) codes through browser-in-browser attacks. [...]

Segurança
Interesse
BleepingComputer

How to secure RMM software: 8 controls MSPs should test

RMM platforms give MSPs privileged access across customer environments, making their security controls critical to limiting risk. Acronis outlines eight controls MSPs should test when evaluating RMM software, from patching and privileged access to recovery and tenant isolation. [...]

Segurança
Interesse
Hacker News

Mistral Large 4

Article URL: https://docs.mistral.ai/models/mistral-large-4-0 Comments URL: https://news.ycombinator.com/item?id=49977979 Points: 235 # Comments: 77

IA
Interesse
+1 fonte
dev.to

Our support form does not ask you to sign in, because the person who cannot sign in is the one we most need to hear from

Munchable is a gut-health app: scan a barcode, find out whether the product suits the conditions you manage. Like most products it has a support form, and unlike most it does not ask you to be signed in first. The reason is written at the top of the route, because it is the kind of decision somebody will otherwise "tidy up" six months from now: // Opening a ticket does NOT require an account. The people most in need of // support are often the ones who cannot sign in, or who are deciding whether to // subscribe at all, and turning them away at the door is how a support channel // stops hearing about its worst bugs. A signed-out request must therefore // supply its own contact address, and pays for that with a much tighter // per-IP limit. An auth check in front of a support form is not a security measure. It is a sampling bias, and it is aimed precisely at the reports you need most: the broken sign-in, the email that never arrived, the payment that went through on a page that then errored. Every one of those arrives from somebody who cannot authenticate, by definition. You can go and use it right now without an account: munchable.app/support. A conversation is one support_tickets row plus append-only support_messages, and it can start three ways: Web. The form above. No account needed; a signed-out visitor supplies their own address. Mobile. Profile, or the "tell us about it" fallback on a scan result whose report could not be recorded. The app attaches its platform and build string for triage, and the barcode when the report is about a product. Email. Mail to support@, bugs@ or feedback@ opens a ticket rather than landing in a personal inbox. The threading behind that is a catch-all MX record and a plus address, which I have written up separately. One queue behind all three, and the schema follows from that rather than from the web form: userId: text('user_id'), // nullable: email and signed-out tickets have no account email: text('email').notNull(), // the contact

DevMobile
Interesse
dev.to

The scarcest skill on my team has the lowest status: the 'no'

There's a person on my team everyone quietly files as "the negative one." He's the one who, when a PR is clean and green and everyone's ready to merge, says the thing nobody wants to hear. He's in fewer demos. He ships the least. In the hallway version of the org chart — the one that lives in people's heads, not in the HR system — he sits near the bottom. Not disliked. Just not where the status is. The status is on the people shipping the mountain. He's also the single reason we didn't lose a paying customer's money in March. One comment on a pull request. No code. Just "wait — what does this do if the webhook retries?" And the thing about to ship, clean and green and approved by two other people, would have quietly eaten payments on a bad night. So the most valuable skill on my team is wearing the lowest status on my team, and the two facts are about the same person. That's not an accident, and it's not a people problem I can fix with a nicer word in a review. It's structural. We spent twenty years building a status ladder where the rung he's standing on is the bottom one — back when that was the right place for it — and then the ground moved and we left the ladder exactly where it was. Be honest about where status actually comes from in this job. Not the title. The title is downstream. Real status — the kind that gets you listened to in a design review, pulled onto the interesting project, named when people say who's great — flows to the person who makes things. The one with the big merge. The one who shipped the feature everyone's using. The one whose name is on the thing. That was correct. For most of the history of this job, making the thing was the hard part. Writing the code was slow, scarce, and bottlenecked on the engineer. If you shipped a lot of good code it genuinely meant something: you had the skill, you understood the system, you did the work nobody else could do as fast. So status tracked output, output tracked skill, and skill tracked value. The lad

Geral
Interesse
dev.to

Recursive Governance: When Agents Write the Rules They Execute

We almost lost forty modules to a file that never changed. The sync job ran every six hours, mirroring our shared working directory into a test workspace. At 21:47 on a Tuesday, it removed about forty private modules that should have been ignored. The filter file was missing one pattern. That's it. One pattern. A colleague had restructured the source tree three days earlier, added a directory, and didn't update the filter file. The script didn't warn, didn't ask, didn't fail. It just mirrored the state it was told to mirror. Restoring the modules took us almost two hours, one by one from the backup box. The filter file was a static text file. It encoded what the sync could delete and what it couldn't, and it had no idea that the real inventory had changed. No idea that a pattern was missing. No way to test a proposed pattern against the forty modules it was about to destroy. That's the same shape as most multi-agent governance failures. Rules are written at some point in time, then the world changes, and the rules stay frozen. Static policy files don't survive contact with a running system. They don't know what they're protecting. So we gave the agents the ability to write their own rules. The first version was naive. We opened a write endpoint that let any agent append to the rule store. The first three weeks were great. Agents resolved tool-access conflicts by proposing new rules, and a couple of stale patterns got archived without a human in the loop. Then it started to rot. Rules referenced other rules that had been overwritten. Rules contradicted each other. Ask two agents about the same namespace and you'd get two different answers. Three months in, the rule store had tripled in size, and nobody — not the human team, not the agents — could tell which rule was actually in effect. It grew quietly. No alert fired. No metric moved. The rot was visible in the rule history, if you were looking for it; nobody was, because we hadn't built any lifecycle tooling. That w

IADev
Interesse
dev.to

Mengenal 9Router Proxy: Solusi Smart AI Gateway untuk Developer dan AI Assistant

Bagi developer yang aktif menggunakan AI Coding Assistant seperti Cursor IDE, Cline, Roo Code, Claude Code, atau bot AI seperti Hermes, mengelola banyak penyedia (provider) AI sering kali menjadi tantangan: Punya akun di OpenAI, Anthropic, Google Gemini, OpenRouter, xKiro, hingga CleanAPIs. Harus gonta-ganti API Key dan Base URL di setiap aplikasi. Dropdown pilihan model di IDE menjadi sangat berantakan karena menumpuknya ratusan model dari berbagai provider. Kuota token sering limit di tengah-tengah proses coding. Untuk mengatasi kekacauan tersebut, hadirlah 9Router — sebuah Self- 9Router adalah jembatan lokal (reverse proxy) yang menghubungkan seluruh tool coding Anda ke lebih dari 60 penyedia AI (providers) melalui satu endpoint standar OpenAI-compatible. Bukan sekadar proxy biasa, 9Router bertindak seperti traffic controller pintar: +-------------------------------------------------------+ | Cursor / Claude Code / Cline / Roo / Codex | +-------------------------------------------------------+ | v (http://localhost:20128/v1) +-------------------------------------------------------+ | 9ROUTER LOKAL (Atur via Web Browser) | +-------------------------------------------------------+ | | | v v v +-----------------+ +-----------------+ +-----------------+ | Tier 1: Subs | | Tier 2: Murah | | Tier 3: GRATIS | | Claude / Codex | | GLM / MiniMax | | iFlow / Qwen | +-----------------+ +-----------------+ +-----------------+ Inilah fitur terbaik 9Router. Anda tidak akan pernah terputus saat ngoding: Memaksimalkan kuota langganan berbayar Anda (Claude Code, OpenAI Codex, Google Gemini, GitHub Copilot). Jika Tier 1 limit, otomatis beralih ke provider super murah seperti GLM ($0.60 / 1M token) atau MiniMax ($0.20 / 1M token). Jika Tier 2 habis, 9Router otomatis oper ke model gratis tanpa batas (iFlow, Qwen, Kiro AI, OpenCode Free, Cloudflare AI, NVIDIA NIM). Tidak hanya Chat/LLM, satu port 9Router melayani 9 kebutuhan AI sekaligus: Chat / LLM: 60+ provider AI. Embeddings: Voya

IAInfraDev
Interesse
dev.to

Cyber Resilience Act: what your devices should be able to tell you

Since 11 September 2026, a manufacturer that learns one of its connected products is being attacked through a flaw has at most 24 hours to send an early warning. That warning is short. The notification due two days later is not, and most of it can only be answered if the device and the system behind it can tell you. Article 14 of the EU's Cyber Resilience Act, the manufacturer's reporting duty, applies from that date. Most of the rest of the regulation follows on 11 December 2027 (Article 71). The Commission's summary gives the clock for a vulnerability that is being actively exploited: 24 hours: An early warning, counted from the moment the manufacturer becomes aware. 72 hours: A fuller notification. 14 days: A final report, counted from the day a fix or a mitigation is available. A severe incident runs on the same first two steps, with its final report due a month after the notification. Everything is filed once, through ENISA's Single Reporting Platform. Article 69(3) says the duty covers products placed on the market before December 2027. If a product is in scope, that includes units shipped three years ago. Whether a product is in scope, and who is its manufacturer, is a question for a lawyer. This note is about the engineering. Article 14 reads like a list of questions. The early warning names the Member States where the product is known to be available. The notification gives general information about the product, the nature of the exploit and of the vulnerability, what has been done about it, and what users can do. The final report describes the vulnerability with its severity and impact, who exploited it where that is known, and the update that fixes it. Paragraph 8 adds one more job: tell the users who are affected. None of this is hard to write down. All of it is hard to know in three days, unless the product was built to tell you. Give every build an identity: a version and the commit it was built from, compiled into the image and readable over the wire.

SegurançaMobile
Interesse
dev.to

Running Scheduled Tasks Silently: The VBS Wrapper Pattern

The Problem: Black Windows Every Hour A monitoring server had nine scheduled tasks, each firing hourly. The machine stays logged in permanently—it runs a dashboard that needs an interactive session. That detail matters, because it meant every task launched a console window on the desktop. Nine tasks, hourly, each flashing a black CMD rectangle over whatever was on screen. Unacceptable for a machine someone actually looks at. The tasks did real work: pulling metrics, rotating logs, syncing a couple of directories. They were created over time by different tools—some by hand with schtasks, some by a third-party installer, one by an old deployment script. That mix turned out to be the source of the second problem. schtasks /change Failed The obvious fix is to flip each task to run whether the user is logged on or not, which suppresses the window: schtasks /change /tn "\Metrics\HourlyPull" /ru "SYSTEM" That failed with a parameter error: ERROR: The parameter is incorrect. No further detail. The task existed, the name was right, the quoting was right. I checked the XML with schtasks /query /tn "\Metrics\HourlyPull" /xml and the task definition looked normal. The failure was not in my command. The real cause is in how schtasks.exe is built. It is a thin command-line parser sitting on top of the Task Scheduler COM API (the ITaskService interface family). When you run /change, it reads the existing task, mutates a few properties, and writes it back. Tasks created by other tools—installers, deployment frameworks, anything that talks to the COM API directly—often carry property combinations that the schtasks parser does not expect. In this case, the offending task had a principal block with a logon type the CLI did not know how to round-trip. The COM call inside returned E_INVALIDARG, and schtasks.exe surfaced it as the generic "parameter is incorrect." The lesson: when a task was not created by schtasks, do not try to fix it with schtasks. Go to the same API layer the creatin

InfraDev
Interesse
dev.to

Recursive Governance: When Agents Write the Rules They Execute

We almost lost forty modules to a file that never changed. The sync job ran every six hours, mirroring our shared working directory into a test workspace. At 21:47 on a Tuesday, it removed about forty private modules that should have been ignored. The filter file was missing one pattern. That's it. One pattern. A colleague had restructured the source tree three days earlier, added a directory, and didn't update the filter file. The script didn't warn, didn't ask, didn't fail. It just mirrored the state it was told to mirror. Restoring the modules took us almost two hours, one by one from the backup box. The filter file was a static text file. It encoded what the sync could delete and what it couldn't, and it had no idea that the real inventory had changed. No idea that a pattern was missing. No way to test a proposed pattern against the forty modules it was about to destroy. That's the same shape as most multi-agent governance failures. Rules are written at some point in time, then the world changes, and the rules stay frozen. Static policy files don't survive contact with a running system. They don't know what they're protecting. So we gave the agents the ability to write their own rules. The first version was naive. We opened a write endpoint that let any agent append to the rule store. The first three weeks were great. Agents resolved tool-access conflicts by proposing new rules, and a couple of stale patterns got archived without a human in the loop. Then it started to rot. Rules referenced other rules that had been overwritten. Rules contradicted each other. Ask two agents about the same namespace and you'd get two different answers. Three months in, the rule store had tripled in size, and nobody — not the human team, not the agents — could tell which rule was actually in effect. It grew quietly. No alert fired. No metric moved. The rot was visible in the rule history, if you were looking for it; nobody was, because we hadn't built any lifecycle tooling. That w

IADev
Interesse