SShortSingh.
Back to feed

Preço certo, prazo antigo: como conferir as transições de uma proposta em HTML

0
·1 views

Uma proposta interativa pode mostrar o preço certo e, ao mesmo tempo, manter o prazo da opção anterior. É fácil não perceber isso quando cada botão é conferido separadamente. Ao organizar um exemplo pequeno em HTML e JavaScript, o critério foi fazer preço, prazo e entregáveis saírem da mesma combinação de dados. São dois pacotes e duas revisões, com valores fictícios. O estado guarda as escolhas, não o resultado: let revision = "first"; let plan = "essential"; Uma tabela contém as quatro combinações.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Multimodal AI Breaks at the Tokenizer, Not the Model

TL;DR — The gap between a multimodal demo and a production system isn't model capability — it's the token economics of turning video and audio into sequences the transformer can read. Naive frame sampling and fixed-window audio chunking quietly blow up cost, latency, and accuracy long before the language model does any reasoning. Treating modality ingestion as a retrieval problem, not a context-stuffing problem, is the fix most teams skip. Every multimodal demo follows the same script: drop in a short clip, ask a question about it, watch the model nail it. Then someone tries it on a forty-minu

0
ProgrammingDEV Community ·

OfferProof: an offline job-scam checker for my fresher friends

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend When I read "build for a friend", my first thought was that none of my friends had a problem I could fix in a weekend. Then I thought about what most of my batch is doing right now. We're all applying for our first jobs. And if you're a fresher looking for a job, you're exactly who fake job offers are aimed at. They look something like this.

0
ProgrammingDEV Community ·

Your Agent Said "Done". The Filesystem Disagrees.

"Task completed successfully." That's the most common lie in agent systems. Usually the agent isn't lying on purpose. It just reports what it intended to do, the logs repeat it, and nobody checks the filesystem. I built VASB (Verifiable Agent Systems Benchmark) to make that failure measurable. It grades what actually happened to the world, not what the agent said happened.