Notas
Índice cronológico de todas as notas do Scholion.
5359 notas · última:
How to develop locally using serverless offline
The article explains how the serverless-offline plugin emulates AWS Lambda and API Gateway locally, speeds up testing, and fits into an existing serverless workflow with Fauna.
Is LiveView Overhyped?
The author argues LiveView is heavily promoted but not technically overhyped. He frames it as a useful, well-chosen trade-off for many web apps, while noting limits around offline use, latency, connectivity, and fallback behavior.
Asimov x Franklin
O texto defende que a publicação de Franklin em 1752 mostrou que o relâmpago era um fenômeno elétrico e abriu caminho para o para-raios, que levou a usos práticos da eletricidade.
Throttling Calls to Azure Functions from Azure Service Bus
The post shows that Azure Functions triggered from Service Bus can be throttled by setting maxConcurrentCalls in host.json, limiting concurrent executions without custom sleep logic.
Automatically Format your code on Git Commit using Husky, ESLint, Prettier in 9 minutes
The article shows how to automate code formatting on commit with Husky, ESLint, Prettier, and lint-staged so a project keeps a consistent style when developers commit code.
8 techniques to write cleaner JavaScript code
The article lists eight ways to make JavaScript easier to read and maintain: pure functions, named or object parameters, destructuring, constants for hard-coded values, method chaining, promises, and async/await.
The trick is to fix the problem you have, rather than the problem you want.
Atribuída a Bram Cohen, criador do BitTorrent. Consistente com sua filosofia documentada de design pragmático — construir para o problema real, não para o problema idealizado ou futuro.
So if you want to go fast, if you want to get done quickly, if you want your code to be easy to write, make it easy to read.
O argumento em Clean Code: a proporção entre tempo lendo código e tempo escrevendo é maior que 10:1. Toda vez que você escreve uma linha, você já leu dezenas de linhas ao redor. Facilitar a leitura é…
Por que não uso MediatR para CQRS
Cezary Piatek argumenta que MediatR é uma boa implementação do padrão mediator — mas o mediator pattern resolve um problema diferente do CQRS. Usar MediatR para CQRS introduz fricção desnecessária em…
It's just like planning a dinner. You have to plan ahead and schedule everything so it's ready when you need it. Programming requires patience and the ability to handle detail. Women are naturals at computer programming.
Grace Hopper, entrevistada por Lois Mandel para a Cosmopolitan em abril de 1967. O artigo — "The Computer Girls" — argumentava que programação era uma carreira natural para mulheres numa época em que…
It always seems impossible until it's done.
Atribuída a Nelson Mandela.
If you like doing something, do it regularly; if you don't like doing something, make a habit of doing something different.
Paráfrase dos Discursos de Epictetus (registrados por Arriano, ~108 d.C.). O contexto completo trata da formação de hábitos: toda faculdade se fortalece pelo ato correspondente — caminhar melhora o…
I never lose. I either win or I learn.
Atribuída a Nelson Mandela.
I am the master of my fate, I am the captain of my soul.
Os versos finais de Invictus são de Henley, não de Mandela — embora a associação com Mandela seja genuína.
I am fundamentally an optimist. Whether that comes from nature or nurture, I cannot say. Part of being optimistic is keeping one's head pointed toward the sun, one's feet moving forward. There were many dark moments when my faith in humanity was sorely tested, but I would not and could not give myself up to despair. That way lays defeat and death.
Nelson Mandela, Long Walk to Freedom: The Autobiography of Nelson Mandela (Little, Brown, 1994).
Estamos à beira de uma mudança radical?
Noah Smith contra o catastrofismo de esquerda e direita: é possível que estejamos à beira de uma ruptura histórica — mas é igualmente possível que simplesmente "atravessemos o pântano" como já…
Complexity is not a goal. I don't want to be remembered as an engineer of complex systems.
David Parnas, em entrevista ao perfil ACM Fellows. O contexto: Parnas critica engenheiros que se orgulham de construir sistemas grandes e complexos. Sua contribuição conhecida é o oposto — o…
Coding tests obrigatórios — por que parei
Bradston Henry não é contra coding tests em geral — é contra empresas que os tornam obrigatórios sem alternativa, usando-os como único portão de entrada.
A ship in harbor is safe, but that is not what ships are built for.
A frase pertence a John A. Shedd, do livro Salt from My Attic (1928) — não a Grace Hopper. Hopper a adotou como lema pessoal e a citou frequentemente, o que causou a atribuição errônea generalizada.…
A leader is like a shepherd. He stays behind the flock, letting the most nimble go out ahead, whereupon the others follow, not realizing that all along they are being directed from behind.
Nelson Mandela, Long Walk to Freedom (1994). A formulação condensada "Lead from the back — and let others believe they are in front" circula amplamente como variante editorial desta passagem.

The 8 Most Important Soft Skills to Include on Resume
Infographic listing eight soft skills for a resume (communication, leadership, adaptability, teamwork, problem-solving, time management, interpersonal skills and creativity), each with four related abilities.
A Dark Mode Toggle with React and ThemeProvider
The tutorial shows how to build a React dark mode toggle with styled-components, persist the chosen theme in localStorage, and default to the user’s OS color scheme when available.
Using Express.js Routes for Promise-based Error Handling
The article compares three ways to handle promise-based responses and errors in Express routes, then proposes a promise middleware that centralizes response handling while still allowing special cases like redirects and streams.
Build serverless real-time chat application with Web PubSub and Static Web Apps
The post explains how Chatr uses Azure Web PubSub and Azure Static Web Apps to deliver a serverless, real-time chat app with group chats, private chats, authentication, and idle detection.
10 Awesome JavaScript Shorthands
The article collects ten JavaScript shorthands that reduce boilerplate in array handling, string interpolation, loops, object lookup, type conversion, and default values.

Good decision x Outcomes
Tira em quatro quadros em que dois colegas diante de um painel de gráficos discutem que uma boa decisão pode ter um resultado ruim.

O que pode um gato fazer?
Tira em três quadros em preto e branco em que um gato na cidade à noite se pergunta o que pode contra um mundo de horror e injustiça e vai se aninhar junto a um menino que dorme sob uma marquise.
Everything You Ever Wanted to Know About WebRTC
The post explains WebRTC as direct peer-to-peer real-time communication, with signaling still handled by a server, and walks through MediaStream, RTCPeerConnection, and RTCDataChannel basics.
Stop using Behaviour to define interfaces, use Protocol!
The post argues that Behaviour fits impure interfaces with shared logic, while Protocol is the right tool for pure interfaces. It also proposes growing pure interfaces into richer ones and introduces Objext.
Pure functions
A pure function is deterministic and has no side effects. The post explains how mutable state, input streams, argument mutation, and output streams break purity, and why isolation matters.

Já faz 3 dias
Tira em quatro quadros em que uma menina come pipoca no sofá enquanto uma figura assombrosa se aproxima por trás, e a figura, com cabeça de chuveiro, diz que já faz três dias.
Machine Learning for Beginners - A Curriculum
A 12-week, 24-lesson machine learning curriculum focused on classic ML with Scikit-learn, project-based lessons, frequent quizzes, and topics from introduction to reinforcement learning.
How to create your personal blog with Gatsby & Azure Static Web Apps
The post explains how Gatsby and Azure Static Web Apps can be used to publish a personal blog, using built-in CI/CD, deployment options, and template resources to get started.
My 7 Tips on How to Manage Stress as a Developer
The post says stress can affect health, motivation, sleep, and focus, then gives seven habits that may help: stay positive, move, eat well, use the phone less, sleep enough, meditate, and be easier on yourself.
How to Be Lazy and Stay Calm
The post argues that, when a bug sits in unfamiliar legacy code, developers should avoid self-blame, report the codebase’s weaknesses through tickets, and narrow the scope until the work fits a short paid task.

O que derruba um presidente?
Tira em seis quadros em que várias pessoas sugerem o que derruba um presidente, até que um homem de óculos escuros numa espreguiçadeira atende o telefone e responde que não.
Read and Write Excel Spreadsheets With C#
The post shows how ExcelMapper lets .NET developers read Excel rows into POCOs or records, edit the data, and save it back to a spreadsheet with a few lines of C# 9.
Temporal: getting started with JavaScript’s new date time API
The post introduces Temporal as a newer JavaScript date time API, explains its time zone and calendar model, and shows how its classes handle exact time, wall-clock time, and arithmetic.
Create Real-Time Twitter Banner using Node.js
The post explains how to build a Twitter banner that updates with the three most recent followers, using Twitter API credentials, image downloading, Jimp compositing, and a looped update script.

Types of Brains
Tira em quatro quadros em que dinossauros de cores diferentes, cada um atrás de uma caixa rotulada brain, depression, anxiety e adhd, dão respostas diferentes sobre foco a um dinossauro azul.
