Painel de Notícias

Tecnologia

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

Filtros
dev.to

I built RefreshLaunch to show what first-time visitors actually understand from your website

A website can look polished and still leave a first-time visitor wondering: What exactly does this product do? Who is it for? Why should I care? What should I do next? I built RefreshLaunch around that problem. Instead of starting with a sales pitch, RefreshLaunch gives you a free Website Clarity Preview of your existing homepage. You enter your website URL and it looks at the public homepage from the perspective of a first-time visitor. The preview shows: what a visitor is likely to understand within the first few seconds your biggest clarity gap 3 problems worth fixing how your current opening section communicates the offer an example of how that opening section could be clearer The goal isn't to give you a generic website score. It's to answer a much more useful question: Does someone arriving at this website actually understand what we're offering? If the preview shows that the messaging or structure needs more work, RefreshLaunch also offers complete website redesign options. You can try the free preview here: https://refreshlaunch.com I'd especially like feedback from other developers and SaaS builders: When you try it on your own website, does the preview identify the same clarity problems you already suspected — or does it notice something you hadn't considered? If you test it, I'd love to hear what it gets right or wrong.

Geral
Interesse
dev.to

Monorepo or Polyrepo?

After deciding to use microservices, the next question was: How should I organise the codebase? I chose a monorepo. Second-Memory has several applications and services: apps/ web/ mobile/ services/ memory-service/ ask-service/ embedding-worker/ packages/ api-types/ ui-components/ They are independently deployable, but they are all part of the same product. There is no universally better choice. The trade-offs become clearer when looking at common development tasks: Area Monorepo Polyrepo Share code Easy — reusable code can live in shared packages Harder — publish packages or duplicate code Share types Easy — TypeScript types can be shared directly Harder — types need separate versioning Cross-project changes Easy — related changes can be made in one PR Harder — changes may require multiple PRs Dependency management Easy — dependencies can be managed consistently More complex — each repo manages its own dependencies Local development Easy — one repository contains the whole system More setup — multiple repositories need to be configured CI/CD More complex — need to detect affected projects Easy — each repository naturally has its own pipeline Service isolation Harder — boundaries need to be enforced within the repository Easy — repositories provide natural isolation Access control Harder — repository access generally covers the whole codebase Easy — permissions can be managed per repository Independent releases Possible — CI/CD can deploy projects independently Easy — each repository has its own release lifecycle Neither approach is inherently better. For Second-Memory, I valued easy development across the whole system more than repository-level isolation. A monorepo can be a good fit when: Small team or solo developer — one repository is easier to manage than several. Projects share contracts or code — changes can be made and tested together. Cross-project changes are common — one PR can update multiple applications or services. The whole system is closely related —

Dev
Interesse
dev.to

No company, no API

The engagement agent on my SMM Factory pilot does two things while the owner is cutting hair: it leaves conversational comments on in-niche Instagram posts, and it replies to incoming DMs. Haiku writes them, the orchestrator rate-limits them, Playwright drives the browser session that posts them. No approval loop — this is the one path in the system that closes the human loop entirely. That whole stack is wrong by design. The right stack is Instagram Graph API through Meta Business Suite, with instagram_manage_comments and instagram_manage_messages write-scopes gated behind App Review. The reason I'm shipping on Playwright instead is one gate: Meta Business Verification requires a registered legal entity, and I was running this as a solo pilot without one. This post is about what that gate actually costs when you can't clear it. The public documentation makes App Review sound like a code review with a privacy policy attached. It isn't. For any Advanced Access scope — which includes anything that writes to another user's account — you have to pass Business Verification first. Business Verification wants: A registered legal entity with a verifiable address. A DUNS number, or a local-equivalent registration document (incorporation papers, VAT registration, trade license). Supporting documents on file — a utility bill or bank statement with the business name, matched against government registries Meta cross-references. A privacy policy published on an active production domain, not a Vercel preview URL. An explainer video of the exact user flow, demonstrating the scope's use case. For an incorporated company this is a two-hour admin task. For a solo developer running a two-month pilot it's the whole deliverable, inverted. The gate didn't exist to filter me out specifically; it exists because this is Meta's single most-abused surface, and the business-entity check is a cheap way to make scaled spam uneconomic. By-design is the right word. Also — there is no sandbox mode f

Dev
Interesse
HackerNoon

The Death of Choosing

How much of your thinking is AI doing for you? More than you’d like to admit. The scary part about AI isn't that it might replace jobs. It's that it might replace choice. We live in a world where we are under the constant influence of the algorithm. It keeps track of what we buy, listen to and increasingly, what we think. The convenience is incredible. But it comes at a high cost. 𝙏𝙝𝙚 𝙖𝙡𝙜𝙤𝙧𝙞𝙩𝙝𝙢 𝙬𝙞𝙡𝙡 𝙖𝙡𝙬𝙖𝙮𝙨 𝙝𝙖𝙫𝙚 𝙖𝙣 𝙖𝙣𝙨𝙬𝙚𝙧. 𝙏𝙝𝙚 𝙦𝙪𝙚𝙨𝙩𝙞𝙤𝙣 𝙞𝙨 𝙬𝙝𝙚𝙩𝙝𝙚𝙧 𝙮𝙤𝙪 𝙨𝙩𝙞𝙡𝙡 𝙝𝙖𝙫𝙚 𝙤𝙣𝙚 𝙩𝙤𝙤.

IA
Interesse
dev.to

U-STACK: What If Apps Were Guests and Users Owned Everything?

Every app you install re-solves the same four problems: who you are, how money moves, where your data lives, and who can access what. Your identity in one app has nothing to do with your identity in another. Your data lives inside each app's walls. And every AI agent acting on your behalf today does it by borrowing your credentials — which is both insecure and unauditable. I wrote a working paper formalizing an alternative. It's called U-STACK, and its thesis is simple: identity, value, data, and permission should be user-side infrastructure, and applications should be guests operating under explicit, revocable, auditable grants. The stack has seven layers, each depending only on the ones below it: U-ID — one portable identity for humans, organizations, devices, and AI agents. Agents are first-class citizens with a declared principal — never credential-borrowing hacks. U-WALLET — one value layer per identity: ledgers, escrow, subscriptions, royalty splits, with compliance as pluggable policy rather than an afterthought. U-VAULT — your data, encrypted, versioned, living with you. Apps hold grants, never ownership. Revoking a grant provably ends access. U-PERM — the consent engine: fine-grained, time-bound, legible permissions with an append-only audit log. Default-deny everywhere; delegation can only narrow, never widen. U-WORK — an event-driven workflow OS. Approvals are permission grants, so separation of duties is enforced by architecture, not convention. U-DEV — the developer platform: app registry, serverless runtime, and AI-agent deployment with declared capability bounds. Revenue settles automatically from the ledger. U-SECTOR — pre-wired industry bundles (finance, healthcare, education, government, commerce, logistics, AI economy) that collapse adoption cost for entire verticals. The composition argument, compressed: layers 1–4 are control (whoever defines the primitives defines the game), layer 5 is lock-in (you can export data, but not operations), layer 6

Segurança
Interesse
dev.to

I Pointed Matryoshka's MCP Server at War and Peace and a 10k-Line Log, With No LLM Key

When a coding agent needs something from a file that is too big for its context window, it usually does one of two things. It reads the file in slices and hopes the answer is in one of them, or someone has already built a RAG index with chunks and embeddings. Both lose information at the seams. Matryoshka takes a third route. It is an open-source TypeScript project by Dmitri Sotnikov (yogthos, the author of the Luminus Clojure framework). It keeps the whole document on the server and gives the agent a small query language to work on it. Results stay server-side, and the agent gets back short "handles" instead of the raw text. The README says it is based on the Recursive Language Models paper by Alex L. Zhang, Tim Kraska and Omar Khattab of MIT CSAIL. Matryoshka is an independent implementation of that idea, not the authors' own code. When I checked on 4 October 2026, the repo had 149 stars, 20 forks and no open issues. It is Apache-2.0 licensed, and the latest npm release was matryoshka-rlm 0.2.40 from 17 May 2026. It's a small project, so I wanted to see how it holds up on real files. One constraint shaped the whole test: there was no LLM API key on my machine and no local Ollama. Matryoshka ships an MCP server, lattice-mcp, that needs no LLM at all. So I played the agent myself and wrote every query by hand. This tests the engine and the tool interface. It says nothing about how well a model would drive them. The model doesn't write JavaScript or Python. It writes commands in Nucleus, a small S-expression language: (grep "ERROR"), (filter RESULTS ...), (count RESULTS), (sum RESULTS). The Lattice engine parses and type-checks each command and runs it against the document. Results go into an in-memory SQLite store, and the client gets a stub like $grep_error: Array(1000) [preview...]. It only pulls real lines with lattice_expand when it needs them. The README claims this gives "97%+ token savings", and "80%+ token savings compared to reading files directly" for the

IADev
Interesse
dev.to

I Built a 188M Mixture-of-Experts LLM From Scratch on a Free GPU

By Shivam Kumar, founder of VisionQuantech. This is the honest version — what's proven, what's measured, and what's still running. Most mixture-of-experts research happens at billion-parameter scale. DeepSeekMoE, Mixtral, GLaM — all brilliant, all far beyond what a single free Colab GPU can touch. But the core idea of MoE is beautifully simple: only a fraction of the model needs to be awake for each token. A dense 188M model fires all 188M parameters on every word. A sparse one can carry 188M worth of knowledge while only spending ~51M of compute per token. That's the bet I made: get big-model capacity at small-model cost, on a free Tesla T4, for $0. Not to beat billion-parameter models — that would be absurd — but to prove you can design a credible tiny MoE architecture principally, not by vibes. I have a methodology I call the Main Researcher System v4 — recursive pattern-combination for discovering new algorithms. Instead of hand-tuning an architecture by intuition, I ran the process: Pattern extraction. I pulled 12 MoE primitives from the literature (fine-grained segmentation, shared experts, token-choice vs expert-choice routing, aux-loss balancing, router z-loss, SwiGLU experts, dropless training...) and 11 meta-patterns (TRIZ, morphological analysis, MAP-Elites, DreamCoder abstraction, and more). TRIZ contradiction resolution. The central contradiction: more experts = more capacity BUT more routing cost, imbalance risk, and data dilution; tiny model BUT wants excellence in every category. The resolution was structural, not a compromise: Segmentation (split coarse experts into 64 micro-experts — capacity without extra per-token compute), Taking Out (extract common knowledge into a shared expert), Local Quality (specialization emerges from the router, never hard-coded). Combinatorial engine. A morphological Zwicky box over 8 parameters screened out inconsistent combos (expert-choice routing leaks causally in decoder LMs — out; top-1 with no aux loss — guarantee

IA
Interesse
dev.to

Give Claude your product catalogue in 2 minutes with MCP (no code)

Most MCP tutorials start with "write a server". If all you want is for Claude to answer questions from a catalogue, an FAQ or a price list, you don't need to write anything. json-mcp-lite turns a JSON array into three tools Claude can call: products_list - page through records products_search - keyword search where every word must match products_get - one record by id git clone https://github.com/scoretracker4321/json-mcp-lite cd json-mcp-lite && npm install claude mcp add products -- node $(pwd)/src/server.js --file $(pwd)/examples/products.json --name products --id sku --search title,description Now ask Claude Code: "Which teas are under 400 and in stock?" It calls products_search, reads the results and answers from your data, not from memory. For Claude Desktop or Cursor, add the same command to the mcpServers block in the config file (the README has the JSON). Two choices that keep it boring and safe: Every tool is marked readOnlyHint, so clients know nothing can change. Search is plain keyword matching, not embeddings. For catalogues and FAQs under a few thousand rows it is instant, needs no API key, and you can predict exactly what it returns. Claude is good at rephrasing a query when the first one misses. The moment your data lives behind a REST API, or you want the server online for a team instead of on one laptop, you need more: OpenAPI-to-tools, HTTP hosting, API keys, rate limits. I packaged that as MCP Server Kit (one config file turns an OpenAPI spec into typed tools). json-mcp-lite is the free part of it, and it stays MIT. Repo: https://github.com/scoretracker4321/json-mcp-lite

IADev
Interesse
dev.to

From Learning the Basics to Finally Writing Ruby Code

My journey with Ruby has been an interesting transition from simply learning programming concepts to finally sitting down and writing Ruby code myself. puts cube(3) Output: It is a small piece of code, but there is a lot happening here. num is the parameter, 3 is the argument, and Ruby evaluates the expression and returns 27. This returns 2, not 27, because Ruby automatically returns the last evaluated expression in a method unless we explicitly use return. This returns 27 because once Ruby reaches return, the method stops executing. These experiments are helping me understand something important about learning programming: mistakes are part of the process. Sometimes changing one line and seeing an unexpected result teaches me more than simply reading the correct solution. I'm still learning Ruby, and there is a lot more ahead, especially as I move deeper into object-oriented programming and Ruby on Rails. But I'm happy with the progress so far. From asking "What exactly is a parameter?" and "What's the difference between a parameter and an argument?" to actually writing and testing methods in IRB — that's progress. The journey continues. One method, one error, and one lesson at a time.

Dev
Interesse
dev.to

From Git Push to a Running Application: Building a CI/CD Pipeline for a Full-Stack Application

I've shipped projects through CI pipelines and deployed them on managed platforms before, so none of the individual pieces were new to me. What I realized was that platforms are very good at hiding the layer underneath. You push, things happen, and a URL shows up. That's the point of them, but it also meant I'd never really owned what sits between git push and someone opening the app in a browser. So I picked one of my projects and took it the whole way myself: automated builds, containerized, running on a Linux server I set up and manage, with a push to the repo being the only thing needed to ship a change. This isn't a how-to. It's a write-up of what I learned, including a few places where my assumptions turned out to be wrong. A fairly standard full-stack app: a web frontend, an API backend, and a managed database. I kept it boring on purpose. If the app is simple, any problem is far more likely to come from the setup than from my code, and the setup was what I wanted to learn from. On a platform, "the server" is an abstraction. You rarely think about what's installed on it, how it got that way, or what happens if it disappears. Once I managed the server myself, that changed quickly. A server you configure by hand accumulates changes you don't remember making, and the only documentation of how it's set up is the server itself. If it died tomorrow, I wouldn't be able to rebuild it with confidence. That bothered me more than any single bug did, and it's a problem platforms quietly solve for you. The question I'd been implicitly asking was "how do I set this server up to match my laptop?" The better question is "which build should this server run?" Treating the deployable thing as a finished, versioned package, rather than source code plus setup steps, simplified a lot. The server doesn't need to know how to build anything. It pulls a specific package and runs it. If it disappears, I point a fresh machine at the same package instead of reconstructing a snowflake. It

InfraDev
Interesse
dev.to

How I scrape any website in under 5 minutes (Python + Playwright)

python, webdev, tutorial, automation "Here's how to grab a title with BeautifulSoup." Twenty lines of Python. Works on the demo page. Fails on a real website. That bothered me for a long time. Because real websites are messy. They use JavaScript. They block bots. They hide data behind logins. They paginate. They rename their HTML classes every few months and break every script you've written. So instead of writing another "20-line scraper" tutorial, I want to show you what actual production scraping looks like. Not the theory — the workflow I use for real client jobs. What most tutorials skip Step one is an audit. I check the site first. Is it static HTML or JavaScript-rendered? Does it have clear repeating elements like product cards? Does it paginate cleanly? Does robots.txt allow scraping? If I skip this step, I waste hours trying to scrape a site that was never going to work. Five minutes of auditing saves five hours of frustration. Building the audit as a tool Here's what my tool does when I run it: bash Fetches the page using the same fetch strategy I use for scraping (static HTTP first, Playwright second) Checks robots.txt Auto-detects the repeating card block using heuristics Fingerprints the CMS (Shopify, WooCommerce, WordPress, Magento) Prints a verdict: green, yellow, orange, or red Green means I can quote the job today. Red means I politely decline. That one step — automating the audit — saved me more time than any scraper I've written. The actual scraping bash https://shop.example.com/products --preset shopify --max-pages 50 --format csv,json,sqlite Fetches all 50 pages automatically by following the "Next" link Uses the WooCommerce preset to find the right fields (title, price, image, link) Handles the pagination URL changes Merges items into one dataset Writes CSV, JSON, and SQLite files Total time: two minutes. For a 1,000-product catalog. What production scraping actually means Here's what I deliver for every scraping job — no exceptions: Clean CSV,

Dev
Interesse
dev.to

JetBrains Posts Its First-Ever Loss. The Terminal Won.

For 26 years, JetBrains printed money selling the sharpest code editors on the planet. IntelliJ IDEA, PyCharm, WebStorm — tools so good that developers fought budget battles to avoid using anything else. Then, in 2025, the company posted a CZK 315 million ($14M) net loss — the first in its entire tracked financial history — on record revenue of $710M. EBITDA collapsed 58.3% year-over-year. The margin went from comfortable profit to negative 2%. 📖 Read the full version with charts and embedded sources on ComputeLeap → This is not a story about JetBrains making a mistake. This is a story about a 26-year-old category — the Integrated Development Environment — collapsing under the weight of frontier AI models that commoditize everything the IDE was built to do. And the contested front is not the editor. It is the terminal. View the full discussion on Hacker News → JetBrains' financials read like a company sprinting on a treadmill that is accelerating away from it: Year Revenue (CZK M) Net Income (CZK M) Growth 2021 9,926 3,971 — 2022 11,907 2,290 20.0% 2023 13,400 3,856 12.5% 2024 15,065 2,479 12.4% 2025 16,008 -315 6.3% Revenue is still growing, barely. But growth has decelerated from 20% to 6.3% over four years while costs have exploded. EBITDA — the operating profit before accounting tricks — cratered from CZK 4,155M in 2023 to CZK 918M in 2025. The company burned through its margin investing in AI products: Junie (a coding agent now embedded across all JetBrains IDEs with 343,000 users), JetBrains Air (a standalone agentic IDE), and Mellum (an open-sourced coding model). Read the full analysis on ByteIota → The cash position remains healthy at ~$336M. JetBrains is not going bankrupt. But the trajectory is unmistakable: the IDE's value proposition is being commoditized faster than the company can pivot. ℹ️ JetBrains' AI paid users grew 240% YoY in 2025, from 100% in Q1 to 269% by Q4. The problem? That growth curve is not fast enough when Cursor went from zero to $4

IADev
Interesse
Simon Willison

Quoting Jake Boggan

I was a graph theory junkie long ago and even moved to Budapest for awhile to study among the greats. While I was there I started working on Barnette's Conjecture which came to occupy my thoughts over the next 24 years of my life, on and off as I worked in many different fields. Last summer I even thought for a few days that I had actually solved it. But it's supposedly proven here - problem 180 . I don't know what to think exactly. I spent thousands of hours on that problem. I really enjoyed it. Hearing that it is solved somehow makes me sad in a far-off way, like hearing an ex-girlfriend died suddenly in a car crash. I don't know, there's probably a lot of people feeling odd emotions tonight. — Jake Boggan , Hacker News comment on openai/math Tags: openai , mathematics , deep-blue , llms , ai , generative-ai

IA
Interesse