Painel de Notícias

Tecnologia

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

Filtros
dev.to

How to Lock Attachments in Confluence Cloud

Confluence Cloud has no built-in way to lock attachments. The request for one, CONFCLOUD-2841 "Provide locking for attachments", has been open since 2005 and carries 163 votes. Sentinel Vault, the Confluence app we make, gets you the closest working thing: you seal the file, and when somebody uploads over it, the sealed version is back on top a few seconds later. On our production install that took between 2.6 and 4.6 seconds, over three runs on 2 October. It isn't a lock in the check-out sense. I'd rather you know that before Step 1. A Forge app can't stop Confluence from saving an upload. So Sentinel Vault lets the save happen, downloads the sealed version and uploads it again as a new version. The rejected upload stays in the version history. That's useful when someone's change was right after all. We wrote up why it has to work this way in you can't block a Confluence save, so I won't repeat it here. By the end you'll have one file sealed on a real page, a second account's overwrite reverted, both versions visible in the attachment history and over the REST API, and the seal released again. One more thing up front, because it changes how you use it. Running this, we hit a bug in our own app: if you sealed the file and then upload a new version yourself, the seal keeps pointing at the old one. The workaround is in the "If it didn't work" section below. We ran the walkthrough below on 2 October 2026 on our demo site, which runs the production build, 6.6.0, signed in as me with Gabriela's account as the second user. The two checks that ran on our test site instead say so where they appear. Afterwards the page was deleted and purged. [!NOTE] Prerequisites A Confluence Cloud site and a site admin who can install apps. Sentinel Vault is on the Atlassian Marketplace. Atlassian bills it, and on 2 October the listing's pricing data priced the 10-user tier at 0. This tutorial was written against 6.6.0, released 2 October. Edit permission on the page that holds the file. T

Dev
Interesse
LWN

Introducing GNOME OS Preview

The GNOME Project has provided GNOME OS for some time; until now, the project only provided a "Nightly" edition that was built from the latest commits and was aimed solely at GNOME developers. Adrian Vovk has now announced the release of GNOME OS Preview, which is intended for a non-developer audience: GNOME OS Preview is the current GNOME OS Nightly, but without the "nightly" aspect. Instead, it's built from the latest stable GNOME release (GNOME 51.1, at the time of writing). GNOME OS Preview lives in the same branches on GitLab as the stable org.gnome.Platform Flatpak runtimes. GNOME OS Preview is only a few weeks old, so it has only seen limited real-life testing so far. We therefore expect people will uncover some issues initially. That said, Preview is significantly more stable than Nightly, which dozens of people have been daily driving without major issues for over a year. Thus, we're feeling confident that Preview is going to be reliable enough for daily use by non-developer enthusiasts. While Preview is meant for non-developers, it is not considered complete or stable for the broader public. There are a number of features, listed in Vovk's post, that need to be implemented before the project is ready to declare GNOME OS "ready for prime time". Adventurous users, who might not mind having to reinstall the OS once a stable version is declared, can download and start using GNOME OS Preview today.

Linux
Interesse
Simon Willison

llm-gemini 0.35

Release: llm-gemini 0.35 I added support to llm-gemini for the new Gemini 4 Argon model, made available today via the Gemini API and for customers of their $100/month subscription plan. Here are the low, medium and high pelicans . As expected, they are all excellent: Gemini has a track record of producing great SVGs, and are the only lab where I know their staff have invested in SVG specifically (and who have boasted about their pelicans before.) Here's the "high" illustration, which cost me 17.166 cents: The pricing is interesting. At launch, Argon is $2/million input and $10/million output - the same price as GPT-6 Sol, half the price of Claude Opus 5.5 and 1/5th the price of Claude Fable 5.1 and GPT-6 Astra. But on December 1st Argon is set to double in price - so it will be the same price as Opus 5.5. Prices like this aren't really comparable these days since what really matters is how many tokens a model takes to achieve a goal within an agentic harness. One useful clue for that comes from Artificial Analysis, who publish the total cost to run their benchmark using each model. Argon is looking very good there - costing $2,407 to run the benchmark, putting it close to GLM-5.3 and significantly cheaper than OpenAI, Anthropic, and Meta's latest models. When the price doubles it will still be a little cheaper than GPT-6 Astra. (I used ChatGPT to edit that chart ! The data is all correct, I checked - I needed to get that Gemini 4 Argon info box to display without overlapping the other numbers.) Tags: google , ai , generative-ai , llms , llm , gemini , llm-pricing , pelican-riding-a-bicycle , llm-release

IADev
Interesse
BleepingComputer

Anthropic warns self-replicating AI could spread to your smart devices

Anthropic is warning that small AI models could soon be able to self-replicate across consumer IoT devices, from Android TV boxes to smart ovens, creating distributed botnets capable of running AI workloads without relying on data centers. [...]

IASegurançaMobile
Interesse
Hacker News

Show HN: Atticus – Hold-to-talk voice assistant for macOS that runs on Claude -p

Hi HN! I'm Saarth. I'm in 9th grade, and I built Atticus. Atticus is an incredibly fast and cheap Mac assistant that can do tasks for you. You hold down Control-Option-Space, speak or type your task, be it complex or a simple browser search, and Atticus will get on it. The interesting part is that simple tasks, like opening apps, playing a Spotify playlist, or web queries, don't touch AI, and instead are processed locally and typically finish in under a second. For example, prompting Atticus to open apps takes around 0.08 seconds, sometimes even finishing before you finish your sentence, sort of like Jev. Any tasks that are more complicated will be sent to Claude via claude -p, meaning you never need an API key and Atticus will run on your existing Claude Pro or Max plan. By using this approach, costs are also cut down immensely, with, on average, tasks costing a fraction of a cent. To achieve Atticus' speed, it remembers shortcuts from each task it completes. When it does a task right for the first time, it saves its steps and replays them the next time without AI. For example, a workflow of creating a new meeting took about 30 seconds the first time around. Atticus then logs the exact steps to memory and takes 5-8 seconds on the next pass. To add to this, Atticus also learns about you as you use it more and from what's on your computer, including your name, your apps, and things you want it to remember, personalizing its answers to you. To combat the safety concerns over giving an AI unrestricted access to your device, Atticus has toggleable restrictions, so before anything is deleted, sent, bought, or written to a file, the user is prompted before that action. Some features I'm currently working on include a meeting copilot that capitalizes on Atticus' speed, allowing Atticus to listen in on meetings and answer questions in real time as they come in, personalized to the context of the meeting and what it knows about you. To run Atticus, macOS 26 or higher is requ

IA
Interesse
Phoronix

Ubuntu 26.10 To Include Desktop Images For RISC-V

Ubuntu Linux ISOs for RISC-V 64-bit to date have just been the server/CLI version without any desktop environment pre-seeded. But with next week's Ubuntu 26.10 release, there will now be Ubuntu 26.10 RISC-V desktop ISOs for both Ubuntu proper and a Xubuntu minimal ISO...

Linux
Interesse
dev.to

Our displayed price is allowed to be wrong in one direction only, and Intl decides how many decimals it is wrong by

Notifio is a £20 one-time purchase. Not £20 in the UK and something else elsewhere: every Checkout Session is created in GBP pence, the webhook records GBP, the licence is GBP. There is exactly one currency in this business. There are twenty-four currencies on the website, though, because a visitor in Berlin reading "£20" has to do a conversion in their head before they can decide whether that is cheap, and they have to do it at the precise moment they are deciding whether to buy. So prices are displayed in an approximate local figure. That introduces a number that is not true, which needs a rule, and the rule is the only interesting thing in the module: The number we display is never lower than the amount the customer will be asked for. Everything below is in service of that one sentence. Mid-market times amount is the obvious implementation and it under-quotes every single time. Whoever actually performs the conversion takes a cut: Stripe, if Adaptive Pricing quotes a local figure at checkout, or the customer's own card issuer if it does not. That is 2 to 4 percent, and it lands after our number is on screen. Under-quoting is the exact failure we are trying to fix. A visitor who reads €23.39 and gets charged €24.10 has had the same surprise as the one who had to convert in their head, just smaller and later, which is worse because now it looks like a trick. /** * Multiplier covering the 2-4% card/Adaptive-Pricing conversion fee plus a * little headroom for rate drift. Set at the top of that band so the displayed * price stays an upper bound rather than a best case. */ const CONVERSION_FEE_BUFFER = 1.04; Top of the band, not the middle. The whole point is that the error has a sign. This is the bug I would have shipped. Converting pence to minor units and assuming two decimal places is wrong for three currencies already in the table: /** * How many decimal places this currency is written with, according to Intl. * * Read from Intl rather than assumed to be 2, becaus

Dev
Interesse
dev.to

What Is an AI Forward Deployed Engineer? Roles, Skills, and Responsibilities

The AI industry is moving beyond chatbots and basic automation. Companies now want AI applications that can connect with existing software, understand business data, automate workflows, and deliver measurable results. This is where an AI Forward Deployed Engineer (AI FDE) plays an important role. An AI Forward Deployed Engineer combines software development, Generative AI, system integration, and problem-solving to turn business requirements into working AI solutions. Instead of building isolated prototypes, these engineers focus on implementing, deploying, and improving AI applications in real-world environments. If you're exploring a career in AI engineering, understanding this role can help you identify the technical skills and practical experience needed to enter the field. An AI Forward Deployed Engineer works closely with customers, business stakeholders, and engineering teams to build AI-powered solutions for specific operational challenges. For example, imagine a company that receives thousands of customer support tickets every day. Its support team spends hours reading tickets, searching internal documentation, and preparing responses. An AI FDE can build a system that summarizes tickets, retrieves relevant documentation, recommends solutions, and connects with the company's support platform. The solution must also handle inaccurate information, protect sensitive data, and escalate uncertain cases to human specialists. The responsibility goes beyond connecting an application to an LLM API. It involves understanding the business problem, selecting the right architecture, integrating systems, testing the solution, and ensuring that it works reliably in production. Many organizations experiment with Generative AI, but moving from a proof of concept to a production application presents several challenges. Enterprise data may be distributed across multiple systems. Existing applications may use different APIs, and business processes may require strict access con

IA
Interesse
Phoronix

Valve Lands VK_AMD_anti_lag Support For AMD RADV Driver In Mesa 26.3

There is yet another feature to get excited about for this quarter's Mesa 26.3 release. Months in the making, the Valve-contributed VK_AMD_anti_lag support for the Radeon RADV driver was merged today for benefiting AMD Linux gamers as a nice improvement over the former implementation...

GamesDevLinux
Interesse
dev.to

Laravel 13 Release Date and the Support Window I Plan Around

Short version for the impatient: Laravel 13 shipped on March 17th, 2026, and the date that should drive your upgrade planning is not that one. It's the day bug fixes stop for the version you're running. For Laravel 12 that day was August 13th, 2026, which means it already passed while I was busy with other things. I opened my spreadsheet of client apps last week and the Laravel 11 rows made me wince. Laravel 11 hit end of life in March. I knew that in the vague way you know your car's inspection is "sometime this spring". Then I went and read the actual support table instead of trusting my memory, and my memory was wrong in two places. So this post is the version of that table I wish I'd had, plus the small tooling I now use so I stop guessing. If you are searching for the Laravel 13 release date because a client asked "are we current?", the answer is below, along with the question you should ask instead. The Laravel release notes and the release cycle summary on Laravel News agree on the recent history. Major versions have landed early in the year since Laravel 9: Laravel 9: February 8th, 2022 Laravel 10: February 14th, 2023 Laravel 11: March 12th, 2024 Laravel 12: February 24th, 2025 Laravel 13: March 17th, 2026 The docs describe the schedule as "every year (~Q1)", so a new major can land in February or March, and Laravel 14 is expected in the first quarter of 2027. Laravel 13 requires PHP 8.3. Laravel News says Laravel 14 will require PHP 8.4, which matters if a client's host is still pinned to an older PHP, because then the framework upgrade is really a server upgrade wearing a disguise. Support is the same shape for every major. Bug fixes for 18 months, security fixes for two years. Laravel 6 was the last LTS release, so nothing gets a longer window anymore. Here is how that plays out for the versions I still see in the wild: Laravel 10: bug fixes ended August 6th, 2024, security fixes ended February 4th, 2025. End of life. Laravel 11: bug fixes ended September

Dev
Interesse
dev.to

Human-in-the-Loop

The Start I am a Pragmatic AI Developer. I use agents every day. I also still read every line they hand me. A co-worker said, "I haven't written any code since I got here." He's been with this organization for 10 months. That's fine. I'm not keeping score on how many lines he typed. My question is how much code he's read. Ten months of merged PRs is a lot of code with his name on it. If something in there breaks at 2 a.m., will he recognize it? I advocate for a human-in-the-loop in modern Agentic AI development. Lately I've had to defend the phrase itself. Another co-worker coming back from a conference said, "It shouldn't be a 'human-in-the-loop,' but rather a 'human-in-control.' He told a story to make the point. A child is heading out to a party where there will be drinking and drugs. The parent is "kept in the loop." They get a text. They know where the kid is going. And the kid goes anyway. In that scenario, he argued, the parent needs to be in control, not just informed. I get why that story lands in a conference talk. It still bugged me. The story works because it uses the office meaning of "in the loop." That's the person who gets CC'd on the email. They're informed. They can't stop anything. That isn't the loop I mean. In engineering, a loop is a feedback loop. Input goes in, something acts on it, the result gets checked, and the check decides what happens next. If you put a human in that loop, the work has to pass through them. Nothing moves forward until they do their part. A thermostat doesn't send the furnace a heads-up. It turns the furnace on or off. So the parent in that story was never in the loop. They were on the distribution list. A parent who is actually in the loop is the one who has to say yes before the car leaves the driveway. I also don't love "human-in-control" for agentic work, for a practical reason. Control sounds like I'm steering every keystroke. If I have to dictate every line to the agent, I've just become a very slow typist with ex

IADev
Interesse
dev.to

O que é um guardrail de IA

Resposta curta Guardrail de IA é um conjunto de políticas, regras, classificadores e controles aplicados a sistemas de IA para prevenir, detectar e responder a riscos como conteúdo nocivo, respostas incorretas, vazamento de dados e uso indevido. Guardrails atuam antes, durante e depois da geração de respostas. Eles combinam regras, filtros, classificadores, logs e revisão humana. Reduzem riscos como alucinação, prompt injection e exposição de dados sensíveis. IBM Granite Guardian pode ajudar a detectar e avaliar riscos em aplicações de IA generativa. Componentes open source de guardrails podem usar Apache-2.0, licença que define permissões, obrigações e ausência de garantia. Guardrails exigem testes, monitoramento e atualização contínua. Guardrails funcionam como uma camada de proteção entre usuários, aplicação e modelo. Na entrada, validam prompts, bloqueiam solicitações proibidas e identificam tentativas de manipulação. Durante a geração, aplicam políticas de negócio e privacidade. Na saída, verificam conteúdo, formato, sensibilidade e aderência ao escopo. Em IA generativa, o objetivo não é tornar o modelo perfeito, mas reduzir consequências indesejadas. Por isso, uma arquitetura madura combina prevenção, detecção, registro de evidências e revisão humana quando necessário. Use guardrails quando o sistema conversa com pessoas, acessa documentos, executa ações ou trata informações sensíveis. Eles são comuns em chatbots, assistentes corporativos, agentes autônomos e sistemas de recuperação aumentada (RAG). Exemplos práticos: limitar respostas a fontes autoradas, recusar solicitações fora do escopo, mascarar dados pessoais e exigir confirmação antes de ações críticas. O IBM Granite Guardian é um exemplo de tecnologia que ajuda a avaliar riscos em aplicações de IA, como conteúdo inadequado, alucinação e vazamento de informações. Ele pode integrar uma estratégia de guardrails junto com regras de aplicação, trilhas de auditoria e controles de acesso. Ao avaliar component

IA
Interesse
dev.to

Treat Sales Handoffs as Explicit Workflow States

Treat Sales Handoffs as Explicit Workflow States A sales workflow should not treat “notification sent” as equivalent to “owner accepted.” Those are separate system states, and modelling them separately makes the workflow much easier to observe, debug and govern. A simple state model might look like this: RECEIVED → VALIDATED → ROUTED → ACCEPTED → NEXT_ACTION_RECORDED Keep buyer acknowledgement as a separate event rather than using it as evidence that the internal handoff completed. You should also model failure states explicitly: VALIDATION_FAILED ROUTING_FAILED ACCEPTANCE_OVERDUE This turns a vague sales process into something the system can actually inspect. Consider this sequence: A website form is submitted. The CRM record is created. A routing rule assigns it to Salesperson A. A notification is sent. From an integration perspective, everything may look successful. But Salesperson A may never have seen the request. If the workflow ends at ROUTED, the system cannot distinguish between: A successful handoff An unread notification An unavailable salesperson A routing rule that technically worked but operationally failed Adding an ACCEPTED state closes that gap. The record should move to ACCEPTED only when an authorised user or team explicitly takes responsibility for the next action. Each incoming request should receive a stable identifier that can be used to correlate events across systems. For example: request_id: ENQ-2026-10482 That identifier can connect: Form submission Validation CRM record creation Routing Owner acceptance Calendar activity Follow-up tasks Exception logs Without correlation, debugging a failed workflow quickly becomes a search across timestamps, email subjects and CRM records, which is a strangely popular way for organisations to spend Friday afternoons. A successful API request does not necessarily mean the business outcome succeeded. For example, after creating a CRM record, verify that the expected record actually exists and return its id

Dev
Interesse
dev.to

CSS Box Shadow Layers: How to Create Realistic Depth

One box-shadow is easy. Layering multiple shadows to create real depth? That's where it gets messy. A single shadow looks flat and artificial. Real-world shadows have multiple penumbras — closer to the object, darker and sharper; further away, softer and lighter. In this guide, we'll break down how to stack shadows properly, why layering works, and the gotchas that trip most developers up. box-shadow: offset-x offset-y blur spread color; Value Purpose offset-x Horizontal shift offset-y Vertical shift blur Softness of the shadow spread Expands or shrinks the shadow color Shadow color (use rgba for opacity) A simple example: .card { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } This creates a subtle elevation effect. The real power comes from stacking shadows. Separate each layer with a comma: .card { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07); } Each layer adds depth. The cumulative effect looks like real elevation. Real-world shadows aren't a single blur. They're a gradient of penumbras. By stacking shadows with increasing blur and offset, you simulate physical behavior. The result is smooth, realistic, and professional. Add inset to place the shadow inside the element: .pressed { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); } Useful for: Input fields Pressed buttons Neumorphic designs Issue Fix Too harsh Use rgba with low opacity Clips at edges Set overflow: visible on parent Performance Reduce blur and layers on mobile Dark mode Use dark rgba, not pure black Layered shadows can impact rendering performance, especially on mobile devices. Keep these in mind: Limit layers — 3-4 shadows is usually enough Reduce blur radius on mobile Avoid animating shadows — expensive repaints Use will-change: box-shadow sparingly Writing layered shadows by hand is tedious. You guess values, reload, adjust, repeat. I built a free CSS Box Shadow Layers Designer that lets you stack shadows visu

Dev
Interesse
dev.to

Solving Adverse Selection in Automated Market Making via Deterministic MCP Tools

In high-frequency liquidity provision, specifically within decentralized prediction markets like Polymarket, the difference between a profitable strategy and immediate capital erosion isn't usually the core algorithm—it's the failure to accurately model the cost of being 'wrong'. Most developers approach market making by looking at the bid-ask spread in isolation. They forget that a tight spread is meaningless if the cost of adverse selection (being filled right before a massive price move) exceeds the maker rebates earned. I’ve seen many attempts to automate this using LLM agents. The fundamental issue is that standard LLMs are probabilistic engines trying to solve deterministic financial problems. If you ask an unconstrained agent to "provide liquidity," it might calculate a spread that looks mathematically sound under static conditions but fails to account for the volatility drag or taker fees inherent in the exchange lifecycle. To bridge this gap, we need more than just an API wrapper; we need specialized logic exposed through the Model Context Protocol (MCP). Liquidity providers on platforms like Polymarket operate in a delicate balance of three primary vectors: Maker Rebates: Incentives paid to those providing liquidity. Taker Fees: The cost incurred when interacting with existing orders. Adverse Selection Risk: The probability of being picked off by informed traders during periods of high volatility. A common mistake is treating these as constants. In reality, they fluctuate with market regime changes. Using our Maker Fee Rebate Optimization connector, we expose specific tools designed to transform these variables into actionable constraints for an AI agent. The standout capability here isn't just calculation; it's the ability to perform decision support through three distinct functions: calculate_minimum_spread: This determines exactly what spread is needed to clear a single liquidity cycle profitably once all known costs are factored in. simulate_strategy_p

IADev
Interesse
dev.to

Same Score, Different Failure: Fechamento BR

This is a submission for the Kaggle Benchmarking Challenge. Two models scored 26 out of 28 on my data-normalization benchmark. Looking at that number alone, you might think they failed in the same way. They did not. On the same monetary inputs, one model declined to choose even though the source convention was explicit. The other returned the right numerical magnitudes but omitted decimal places required by the output contract. That difference is the main lesson of Fechamento BR: a leaderboard total can hide the distinction between a decision error and a representation error. I work with administrative spreadsheets. A blank field is not the same statement as zero. A code such as 00072 is not necessarily the number 72. And 4.700 cannot be interpreted correctly without knowing how its source uses punctuation. I wanted to test a narrow question: can a model normalize a field without changing its meaning, and decline to choose only when the supplied context actually leaves more than one valid interpretation? Every record in this benchmark is fictional. No workplace documents, patient information, employee records or customer files were used. The final corpus contains 28 authored cases, with seven cases in each of four families: monetary values, missing values, dates and identifiers. There are 12 contrast pairs plus four standalone controls. A pair changes a relevant input or context while retaining a similar surface form; controls do not count as one-question pairs. Examples include a year divisible by 400 versus a century year that is not; an explicit zero versus a missing field; and the same digit string treated as an identifier versus a quantity. The aim is not to make the model guess a hidden convention. The required interpretation rules are supplied. Each response must be a bare JSON object with exactly status and value. The four statuses are ok, missing, ambiguous and invalid. A non-ok status requires JSON null, not an invented replacement. The primary point requi

IA
Interesse
dev.to

Business Central 29.0 Release Wave 2: Features

Applies to: Dynamics 365 Business Central online, update 29.0 (2026 release wave 2). Tested in a Business Central online sandbox, build 29.0.54011.55407 (platform 29.0.55365.0), in CRONUS International Ltd. (W1), October 2026. CodeCore Dynamics LLC. 7 October 2026. Business Central 29 lists 80 features, and all 10 finance and expense features among them are previews. The finance changes you can use on update day are in financial reporting and the Payables Agent. Microsoft's launch videos show 6 more capabilities that are on neither the list nor the roadmap, among them cross-environment master data management and Fabric mirroring. The Payables Agent will cost about $0.65 in Copilot Credits for a 3-line invoice. That is roughly 1 minute of a clerk paid $40 an hour. In our sandbox it saved 1.8 minutes on a 3-line invoice, but the VAT on its invoice was GBP 304.10 short of the PDF. Shopify customers will need 29 by 31 December. Integrations that call Microsoft pages over SOAP will stop at the update unless an administrator switches SOAP back on. Past public previews that ran longer than 6 weeks took a median of 2.2 months to become generally available. Agents took 4 to 8 months. Most 29.0 previews are promised within 3 months. Microsoft's What's New page for Business Central 29 lists 80 features, and 12 of them are public previews. Development is the largest area with 22 features. That is 28 per cent of the list and the highest share in 6 waves. AI features also make up 28 per cent of the list. They made up 7 per cent of the first release plan of 2024. All 10 Finance and Expense Agent features are previews, while all 14 reporting features are generally available. Microsoft stopped publishing release plans in September 2026. Each plan marked the features an administrator had to switch on, and these made up 12 to 21 per cent of the features in each plan. The roadmap that replaced them has no such field. The Development share in 29.0 is the highest since 2024. Learn says c

Geral
Interesse
dev.to

Gas Optimization Audit: Crypto-com

Gas Optimization Audit: Crypto-com Target Protocol: Crypto-com (TVL: $2499.1M) Date: 7 Oct 2026 Prepared by: [Your Firm – Senior DeFi Security Research & Auditing Team] Crypto‑com is a multi‑chain DeFi platform with a reported TVL of $2.499 B across Ethereum L1 and several L2 roll‑ups (Optimism, Arbitrum, zkSync). The protocol’s core contracts (Vault, Router, Staking, and Bridge) handle high‑frequency user interactions (swaps, deposits, withdrawals, cross‑chain messages) and therefore incur substantial gas costs. Our gas‑optimization audit focused on the following objectives: Objective Scope Identify gas‑inefficient patterns that increase user transaction fees and reduce protocol throughput. All production contracts deployed on Ethereum L1 (0x… ) and the primary L2 (Optimism) proxy implementations (v1.3‑v1.5). Quantify the potential gas savings per transaction class and overall TVL‑scaled cost impact. Simulated on‑chain state using main‑net snapshots (block ≈ 19 500 000). Assess whether gas inefficiencies could be leveraged as attack vectors (e.g., DoS via out‑of‑gas, block‑gas‑limit exhaustion, or front‑running due to high‑cost fallback paths). Full static analysis + symbolic execution (Slither, MythX, Echidna). Provide a prioritized remediation roadmap that balances gas savings, security, and upgrade risk. Recommendations ranked by impact × effort and mapped to the protocol’s upgrade schedule. Category # Findings Avg. Gas Saved / Tx Estimated Daily Savings* Loop & Data‑Structure Optimizations 7 12 k – 45 k $12 k USD Unchecked External Calls / Re‑entrancy Guard Over‑use 4 8 k – 22 k $5 k USD Redundant State Writes & SLOADs 6 5 k – 18 k $3 k USD Immutable / Constant Variable Mis‑use 3 2 k – 7 k $1 k USD Legacy Solidity Compiler Artifacts 2 1 k – 4 k $0.5 k USD *Based on average daily transaction volume (≈ 150 k tx/day) and ETH price = $1 850. Overall, we estimate ≈ $22 k USD of gas fees could be saved each day (~0.9 % of total daily gas spend) by implementing the hi

SegurançaDev
Interesse
dev.to

word-4

Artifact: log4j:log4j:1.2.17 Original JDK Target Java 1.4 (Class file major/minor version 48.0). Built to run on JDK 1.4 through JDK 8. When executing directly under Java 21 without upgrading, strong Java Platform Module System (JPMS) encapsulation blocks reflection into internal JDK APIs unless explicit command-line flags are configured. Vulnerabilities & Security Risks CVE-2019-17571 (CVSS 9.8): Remote Code Execution (RCE) via untrusted deserialization in SocketServer. CVE-2021-4104: Deserialization vulnerability when configured to use JMSAppender. CVE-2022-23302: Deserialization vulnerability when configured to use JMSSink. CVE-2022-23305 (CVSS 9.8): SQL Injection in JDBCAppender. JVM Command-Line Flag Options (Workarounds for Legacy Log4j 1.2.17 on Java 21) --add-opens=java.base/java.lang=ALL-UNNAMED — Permits reflection into java.lang internals needed by legacy Log4j utilities. --add-opens=java.base/java.util=ALL-UNNAMED — Grants access to internal collection reflection routines. -Dsun.util.logging.disableWindowWarning=true — Suppresses legacy reflection warnings on headless/GUI appenders. Important Note: Passing --add-opens flags resolves Java 21 runtime IllegalAccessException or InaccessibleObjectException errors, but it does not patch or fix any of the severe security CVEs present in Log4j 1.2.17. Recommended Strategy without Code Rewrite Will Upgrade to Log4j 2.x Require Rewriting Code Calls? NO. Code calls do not need to be rewritten. The log4j-1.2-api bridge intercepts existing org.apache.log4j.* package imports and transparently routes all logging calls directly to the modern Log4j 2 engine. You only need to update your build script dependencies and migrate your configuration file (from log4j.properties/.xml to log4j2.xml).

SegurançaDev
Interesse
+2 fontes
dev.to

Showing Series and Trim from vPIC Without Turning Blanks into Upgrades

NHTSA vPIC often returns Series, Trim, and sometimes Trim2 on DecodeVinValues-style payloads. When they are populated -- "EX-L", "Limited", "Sport", a series code -- they help buyers see how the manufacturer labeled the pattern. When they are blank, product teams feel the gap. The temptation is to upgrade emptiness into a nicer badge: scrape a marketing site, map BodyClass to "Luxury Trim," or default missing Series to "Base" so the card never looks incomplete. This post is about honest display: pass through Series/Trim when vPIC provides them, refuse blank-to-upgrade inventing, and allow a clean "not provided" state when the fields are empty. Series and Trim are catalog / manufacturer attributes associated with the VIN decode. They answer a narrow question: which series or trim label did the decode associate with this vehicle pattern? They do not answer: Whether the used car still has that package's options after dealer swaps MSRP, residual value, or "fully loaded" status Option codes that never appear in vPIC Lifestyle copy ("adventure ready," "executive suite") A safe default when both fields are empty Empty Series and Trim does not mean "Base." It means vPIC did not give you those labels. Do not invent "Base," "Standard," or "SE" from make/model folklore so the UI looks finished. Treat blank, "Not Applicable", "N/A", and similar tokens as missing. Do not coalesce missing Trim into Series with a slash upgrade, and do not fill gaps from BodyClass or DriveType. const EMPTY = new Set([ "", "not applicable", "n/a", "na", "null", "none", "unknown", ]); export type SeriesTrimView = { series: string | null; trim: string | null; trim2: string | null; source: "vpic" | "missing"; }; function clean(raw: string | null | undefined): string | null { const t = (raw ?? "").trim(); if (!t || EMPTY.has(t.toLowerCase())) return null; return t; } export function viewSeriesTrim(fields: { Series?: string | null; Trim?: string | null; Trim2?: string | null; }): SeriesTrimView { const s

Dev
Interesse
dev.to

Hiring Pipelines as Distributed Systems: Why Silent Failures Cascade

A candidate moves to Interview stage. Your three panelists get notified. One schedules immediately. One says yes but forgets to add it to their calendar. One never responds. The round hangs, invisible—not because anything errored, but because a handoff broke. If you've spent time monitoring automation workflows in n8n or Make, you know this pattern. A workflow "succeeds" but produces zero output. No errors fire. Alerts stay quiet. The pipeline just stops moving. Hiring is the same distributed system with the same failure mode—except hiring teams rarely think of it that way. A candidate doesn't just move through your pipeline in one atomic step. Instead: Applied → AI resume screening scores the candidate Review → your panel triages and advances Interview → panelists book time, conduct interviews, score Offer → staff extends and tracks acceptance Hired → confirmed start date Each stage hands off to the next. Applied hands to Review implicitly—when screening finishes, Review stage exists and someone has to triage it. Review hands to Interview only if a staff member manually moves the candidate and assigns at least one panelist. Interview hands to Offer only when every panelist on that round has scored. That's not one transaction. That's five different actors (AI screener, staff triager, panelists × 3, hiring manager) across five decision points. Distributed systems fail at handoffs. A coordinator moves a candidate to Interview and assigns three panelists. One schedules within an hour. One agrees in Slack ("yes, I can do it") but never actually blocks their calendar. One is traveling and missed the email. Status: the round is now In Interview. It looks alive. Reality: the round is blocked on one person's calendar entry, one person's actual response, and one person's timezone coordination. Nothing says so. The coordinator checks back in three days wondering why it stalled. In a workflow, you'd call this a missing dependency. A task that depends on three downstream jobs,

Geral
Interesse
dev.to

Building a No-Framework Solitaire Portal: What I Learned Shipping 15 Card Games Without React

The constraint that shaped everything When I started building a solitaire portal, I gave myself one rule: if a feature does not need a server, it does not get one. No user sessions, no API layer, no database. Progress and statistics live in localStorage. That single constraint eliminated most of the traditional game-portal stack before I wrote a line of game code. The result is SolitairePicks — 15 classic card games, statically generated, playable in the browser with no install and no signup wall. Each game (Klondike, Spider, FreeCell, Pyramid, Golf, TriPeaks...) is a self-contained JavaScript file with the same small interface: deal a deck, render a tableau, validate moves, detect a win. No framework lifecycle to fight. When I fixed a Spider-specific edge case last week, the diff touched exactly one file. The tradeoff is honest: I re-implement drag-and-drop per game instead of reusing a component library. For card games the interaction surface is small enough that this costs less than maintaining a shared abstraction nobody else depends on. Win-rate tracking runs entirely client-side. Every finished hand appends a row to localStorage; the stats page reads it on load. Cross-session progress persists without a single network request. If a player clears their browser data, they lose their history — acceptable for a free portal, and it keeps the privacy story simple: nothing about gameplay ever leaves the device. Klondike — the Windows-era standard, draw-one and draw-three modes Spider — 1/2/4 suit difficulty tiers with per-tier win-rate tracking FreeCell, Pyramid, Golf and a dozen more — the "second coffee" tier If I started today I'd still skip React for the game logic — but I'd add a tiny shared module for the drag layer earlier. Rebuilding it six times was the tuition fee for learning where the real commonality lives. The portal lives at SolitairePicks. Feedback welcome, especially on game feel and difficulty tuning.

DevGames
Interesse