Notas
Índice cronológico de todas as notas do Scholion.
5359 notas · última:
Debug Your .NET Core Apps in WSL 2 with Visual Studio
The .NET Core Debugging with WSL 2 – Preview extension lets you run and debug .NET Core apps in WSL 2 from Visual Studio, with launch profiles for the default or a chosen distribution.
A huge productivity boost in git with a single alias
The post suggests using a shell alias so `g` runs `git`, then shares a few Git config tweaks: global ignore files, `pull --rebase`, autocorrect, and reusable aliases.
Replace axios with a simple custom fetch wrapper
The page argues that, in the browser, a small custom wrapper around fetch can replace axios for most needs while keeping the API simpler, smaller, and easier to maintain.
API Versioning In ASP.NET Core
The article explains why API versioning matters in ASP.NET Core Web API and shows three approaches to route requests by version: query string, URL, and HTTP header.
Node.js Best Practices — Caching and REST
The page recommends Redis caching for Express apps, monitoring and logging at the server level, setting NODE_ENV to production for caching and template performance, and using REST-style HTTP routes and methods.
How to Cultivate Agile Servant Leadership
The page explains how servant leadership fits Agile and how project managers can use listening, empathy, persuasion, and stewardship to guide organizational change and support team autonomy.
Why you should have ditched IE support long ago...
The post argues that IE support is no longer worth the cost because IE lacks key JavaScript, Web API, CSS, and HTML features, and many sites already break or refuse to support it.
C# to C# Communication: REST, gRPC and everything in between
The article compares REST, ReFit, Swagger, and gRPC for C# client-server communication, focusing on contracts, IntelliSense, payload size, performance, and versioning tradeoffs.
Using Mnesia in an Elixir Application
The post explains what Mnesia is, how it fits soft real-time and fault-tolerant use cases, when to prefer it over PostgreSQL or Redis, and shows an Elixir banking app built with Amnesia.
PWA - Why should you use it and not use it?
The page explains what a Progressive Web App is, how service workers support speed and offline use, and why PWAs can feel like mobile apps while staying web-based. It also lists limits such as HTTPS requirements, setup complexity, and no app store presence.
10 HTML Elements You Didn't Know You Needed
The page presents ten lesser-known HTML elements and explains how each one supports structure, accessibility, media handling, and better browser behavior in web applications.
Why did we choose Elixir for the backend development of MoodleNet?
The post says MoodleNet chose Elixir and Phoenix for backend development because of performance, scalability, concurrency, reliability, simplicity, flexibility, correctness, and developer productivity.
Extract Functions Arguments using Destructure in JavaScript
The page shows how to collect function arguments with rest parameters and unpack them with array destructuring, while distinguishing parameters, arguments, and the `arguments` object.
Communicating between LiveViews on the same page
The post compares ways for multiple LiveViews on one page to communicate: via parent and child PIDs, sibling routing through a shared ancestor, or PubSub scoped by root PID or page ID.
Package by component and architecturally-aligned testing
Simon Brown proposes package by component as a hybrid between layer and feature, with public component interfaces, package-protected internals, and tests aligned to architectural boundaries.
DDD, Hexagonal, Onion, Clean, CQRS, … How I put it all together
Herberto Graca explains how he combines Ports & Adapters, Onion, DDD layers, and CQRS into an explicit architecture with inward dependencies, ports, adapters, components, and buses.
DDD, Hexagonal, Onion, Clean, CQRS, … How I put it all together
The post groups Ports & Adapters, Onion, DDD layers, and CQRS into an explicit architecture centered on the application core, with inward-pointing dependencies and decoupled components.
20 ideas of things to write on postcards!
The post gives 20 postcard-writing prompts, from daily life and local facts to quotes, memories, weather, drawings, poems, traditions, and school topics, to help fill the space on the back.
Concurrency basics
The page says a server has state, uses a main loop, and can handle synchronous or asynchronous requests, so concurrency should be treated as a generic property of server behavior.
Iteration: A Gentle Introduction to Functional Programming
The page shows how to move from loops to reusable functional tools like forEach, map, prop, curry, and compose, making dependencies explicit and code easier to test and combine.
Bad habits we get when coding and how to break them
The post lists common coding habits like long sitting, poor food routines, weak work structure, bad posture, and too much work, then suggests changing them through systems, Pomodoro, habit stacking, and exercise.
4 Tips for Mastering Test-Driven Development
The article explains TDD basics and four practical techniques: isolate external calls, test rollbackable migrations, watch code coverage, and use property-based testing to catch bugs earlier.
Scott Hanselman on remote podcast recording (Skype NDI + OBS)
Hanselman describes a remote podcast setup using Skype with NDI into OBS, Sony A6000 cameras, ring lights, Elgato capture dongles, and OBS recording to MKV with isolated audio tracks.
Um exemplo prático da importância da lei de Conway
A lei de Conway mostra que a arquitetura de software tende a refletir a estrutura de comunicação da empresa. O texto liga organização de times, base de dados, deploy e acoplamento entre componentes.
The most important step you can take to grow your blog today
Monica Lent argues that blog growth comes from consistency, not a one-time trick. She urges readers to build a recurring habit of publishing and keep doing the work.
A Guide for Contributing to Any Open Source JavaScript Project Ever
The guide suggests choosing a project you use, starting with easier issues or documentation, reading CONTRIBUTING.md, and focusing only on the code tied to the issue you picked.
My website now loads in less than 2 sec! Here's how I did it! ⚡
The author says the portfolio loads in 1.8 seconds with a 94 Lighthouse score, and lists ten performance tips focused on DOM size, payloads, images, redirects, preloading, preconnecting, and minification.
Dependency Injection in Elixir
The post compares two ways to apply dependency injection in Elixir: through application config with Application.get_env/3, or by passing collaborators as function parameters, with trade-offs in visibility and flexibility.
Constructors or Static Factory Methods?
The page argues that static factory methods only look better when the design is already wrong. It favors constructors, polymorphism, and separate objects over static creation helpers.
7 practices to follow for a successful code handover
The note lists seven handover practices: keep everything in version control, secure management support, have new developers write documentation, use tests to learn the system, and avoid goal-less refactoring.
Stranger Things, JavaScript Edition
The post explains several surprising JavaScript behaviors, including map with parseInt, string coercion that produces 'banana', truthy and falsy values, loose array equality, and arithmetic coercion rules.
How to Build a PWA in Vanilla JavaScript
The post outlines a basic PWA built with plain JavaScript, a manifest, a service worker and an Express server. It ends with a cached app that can be accessed offline and checked with Lighthouse.
How to Use the JavaScript Fetch API to Get Data
The article shows how fetch() makes GET requests simpler than XMLHttpRequest, then demonstrates turning JSON into a list of Random User results and using Request objects for POST-style calls.
You might not need the Calendar or Timex libraries
Elixir’s standard library now covers most date, time, and timezone needs. Third-party libraries still matter for missing features, but many projects can avoid them.
Linear Regression with Elixir, Phoenix and LiveView. Part I
The post builds a simple linear regression model in Elixir, stores training points, and updates weights with gradient descent over multiple epochs to improve predictions.
Using FOR XML EXPLICIT
FOR XML EXPLICIT lets a query define XML nesting and column treatment through Tag and Parent metadata columns, plus directives such as hide, element, xml, and cdata.
Moebius sends Batman to the shrink for Penthouse Comix, 1995
The page recounts how a Moebius Batman parody was rejected by DC, then published in Penthouse Comix in 1995 under several disclaimer-heavy titles and a plot built around a supertherapist.
Pragmatic Thinking and Learning: Three takeaways
The post says this book links learning and programming, explains skill stages, contrasts focus and diffuse thinking, and suggests practical habits like writing ideas down, taking walks, and learning by doing.
Setting up a Jitsi Meet Server on Azure
The page explains why someone might host Jitsi Meet themselves and outlines the basic Azure setup, Jitsi installation steps, and SSL setup with Let’s Encrypt.
Jitsi Videobridge Performance Evaluation
The page reports load tests on Jitsi Videobridge, showing that a single conference with 1056 streams reached about 550 Mbps while using about 20% CPU on a Xeon server.
