Google Cloud and Stack Overflow have formed a strategic partnership to integrate their platforms, bringing AI-powered code assistance and trusted developer knowledge directly to both the Google Cloud Console and Gemini.
In-depth, technically detailed chapters about CSS layout.
An all-in-one OSINT tool for analyzing any website.
This author devised a system that allows readers to view their blog posts as Linux manual pages. The system generates roff formatted Linux manual pages, which users can specifically request using HTTP headers.
This tutorial explores forms in Next.js 14 using Next’s App Router, React Server Components (RSC), and Server Actions. It covers React/Next native aspects like useFormStatus, useFormState, and revalidatePath. It also gives insights into form validation using Zod, error handling on a fine- and coarse-grained level, and staying functional without JavaScript in the browser.
The CSS :has() selector is a method for targeting and styling elements based on the presence of specific descendants. It opens up a wide range of new possibilities that weren't possible with traditional CSS selectors. For example, it can be used to customize file icons based on their extension without JavaScript and change a modal’s appearance based on certain actions.
This post dives into the internals of scheduling and concurrency, showing readers how to handle millions of clients concurrently with just a single thread. It begins by exploring the challenges of creating a server that can handle multiple clients concurrently using threads, going over concepts like stack allocation, performance, and resource management. It then introduces the concept of async I/O, demonstrating how non-blocking sockets can be utilized to achieve concurrency without threads. Code examples are provided to demonstrate the points made.
A Meta engineer, who also happens to be the creator of Excalidraw, reflects on their 12 years at Meta. They transformed image tagging on Facebook and championed open-source, leading to the creation and adoption of projects like React and Docusaurus. The engineer is currently focused on client-side performance tooling and AI-powered assistance for internal developers at Meta.
Joining a startup for financial upside is generally not worthwhile compared to staying in Big Tech, since you only get the cash equity if the startup goes public or gets bought out, which takes a long time. Founding engineers usually receive 0.5% equity, which means it takes a $200 million company exit to get $1 million personally. However, joining a startup is great for personal growth. This article includes tips on how to pick the right startup to join.
SQL Workbench allows you to run and test your SQL queries in the browser.
pgs.sh is a zero-install static site hosting service. It supports unlimited projects, custom domains, custom headers, asset storage, and more. Client-side installation is not required.
Ingestr is a command-line application that allows you to ingest data from any source into any destination using command-line flags. It supports multiple sources and destinations, including Postgres, BigQuery, Snowflake, Redshift, and more.
This author shares the lessons he learned from working on an LLM-based pair programmer called GPT Pilot. It is important to have a clear initial project description, detailed logging, modular code, and focused prompts. AI-driven coding is iterative in nature. The AI copilot was useful when making decisions.
LUTs are simple data tables that remap colors or values. They offer a powerful and efficient way to manipulate how images and videos are displayed. For example, in video games, they can be used to efficiently add color variations to objects in a scene. LUTs can also be used to optimize performance by precalculating expensive operations.
A Reddit user who used Netlify to host their static site received a $104,500 bill due to a DDoS attack.
MDN (Mozilla) has launched a curriculum for learning front-end development.
pql is an open-source pipelined query language that translates to SQL.
Organizations and individuals are protesting Apple's decision to remove Progressive Web Apps from iOS and Safari in the EU, claiming it violates the Digital Markets Act by harming users, developers, and businesses.
2024.02.29·letter.open-web-advocacy.org·2 min read·TLDR Web Dev Discord successfully transitioned to a Linux-based Cloud Development Environment (CDE) to address the challenges of a growing remote engineering team. Its initial Kubernetes-based CDE solution proved problematic, and switching to a VM-based offering provided a stable and performant experience. The migration involved careful planning, early feedback, and a phased rollout.
Deno, a JavaScript/TypeScript runtime, has launched a new package registry called JSR to address perceived shortcomings in the dominant npm registry. JSR offers a TypeScript-first environment, integrated workspaces, and a focus on security and usability. Early reviews are mixed, with some praising its potential for streamlining TypeScript development and improving security, while others question the need for yet another registry and express concerns about ecosystem fragmentation.
Netflix's Java architecture has evolved significantly from its Groovy-based backend-for-frontend model. The company transitioned to a GraphQL Federation architecture, eliminating the need for reactive programming paradigms like RxJava. This shift simplified development, as GraphQL's explicit field selection reduces the complexity of creating device-specific APIs. Netflix heavily utilizes Java, currently on version 17 with active testing of version 21, and is looking forward to using virtual threads to scale easier.
This author shares three instances where they nearly quit their tech job due to challenges such as budget frustrations, boredom, and exhaustion. Each time, they chose to stay and found value in doing so by reframing the situation. They focused on goals instead of perceived injustices, looked for challenges both inside and outside of work, and built relationships with others in the company. They found that a longer tenure in a company increased their influence.
The creator of Ruby on Rails is surprised and impressed by the recent advancements in Windows for web development. VSCode combined with WSL offers a seamless Linux development environment within Windows. Intel’s latest chips are able to build Docker images faster than Apple’s M3 Max chips. Windows is quickly becoming a viable alternative for web developers compared to macOS.
Files are powerful because they serve as a universal medium of data exchange between applications. They liberate your data, allowing it to be accessed and manipulated by any app. This is in contrast to "app first" organization, where data is often trapped within specific applications in their private databases. While modern documents might function like folders filled with links, genuine files offer greater interoperability and protect against being locked into a single software provider.
Sponsored
For 40 years, MESCIUS [11] has been building award-winning tools:
Mountaineer is a framework for building web apps with Python and React. It provides typehints throughout the entire stack (frontend, backend, and database), has easy client/server communication and optimized server rendering, and performs static analysis of web pages for strong validation.
np is a better npm publish. It has an interactive UI, ensures your working directory is clean, and keeps your package.json up to date.
Google’s Gemini Advanced was tested against ChatGPT with three coding challenges - Gemini performed poorly comparatively. The first challenge had both AI tools create a WordPress plugin - Gemini failed to create a functional one. The second challenge had both tools rewrite a function, but Gemini produced code containing subtle errors. Lastly, both ChatGPT and Gemini were tasked with finding a bug within some code, but Gemini gave vague advice.
It is crucial to prioritize making actual games alongside the development process when building a game engine. This will expose you to the pain points and limitations of your engine from a game developer’s perspective. There should be a focus on identifying areas where your engine hinders the game creation process.
A common approach to observability focuses on the distinction between logs, metrics, and traces. A simpler approach is to focus on "Wide Events". Wide Events are essentially flexible data structures (similar to JSON objects) that can store any relevant information. Meta has a system called Scuba that demonstrates Wide Events. It has an intuitive interface that allows for easy exploration and filtering of data, empowering users to uncover unknown problems and quickly narrow down the scope of issues.
2024.02.28·isburmistrov.substack.com·8 min read·TLDR Web Dev The official Node account unveiled the result of the Node.js mascot design contest that ran recently, and Node’s new mascot is… Rocket Turtle.
While code optimization is valuable, it should rarely become the sole focus, as it potentially leads to sacrifices in code readability, maintainability, or even functionality.
There are parallels between the struggles of dependency management in software development and the imposed societal expectations that often lead to burnout in life.
The 'Requests' Python library is known for its user-friendly interface that simplifies HTTP interactions, but it can be a pain to work with for more complex use cases.
2024.02.28·blog.ian.stapletoncordas.co·21 min read·TLDR Web Dev The White House Office of the National Cyber Director (ONCD) released a report emphasizing the need to shift cybersecurity responsibility to large tech companies and the government. The report urges the adoption of memory-safe programming languages to prevent common vulnerabilities and calls for better tools to measure software security. It uses C#, Go, Java, Python, Rust, and Swift as examples of memory-safe languages. C and C++ are considered non-memory-safe languages.
A service mesh is a software layer that manages communication between services in applications. It is a configurable infrastructure layer that makes communication between microservice applications possible, structured, and observable. Quora implemented a service mesh in its backend to improve observability, reliability, and developer productivity. Since the deployment of the service mesh, Quora has successfully integrated hundreds of services, using features like canary deployments and load balancing with precise traffic controls.
A new technique can discover the AWS Account ID associated with any S3 bucket regardless of whether it is public or private. The technique leverages the fact that CloudTrail logs will record requests permitted by a VPC Endpoint policy but blocked by other policies. Whether AWS account IDs are considered sensitive information is still up in the air, but this technique could potentially be used to uncover other resource identifiers beyond AWS account IDs.
Software engineering prioritizes collaboration and communication over isolated technical work. Success in engineering relies heavily on teamwork, alignment, and knowledge sharing. Developing strong interpersonal skills like empathy, active listening, and communication is key to becoming a truly effective engineer.
2024.02.27·newsletter.eng-leadership.com·6 min read·TLDR Web Dev Meetings are often dreaded by engineers because they tend to be time-wasting and unproductive. However, by taking proactive steps to lead effective meetings, you can transform them into valuable experiences that advance your career. The key to effective meetings is meticulous preparation (defining goals, inviting the right people, and clarifying expectations), skillful facilitation during the meeting (stating the outcome, managing tangents, and ensuring everyone is heard), and diligent follow-up (documenting decisions and summarizing action items with deadlines).
Deno's core team has taken on the monumental task of building Deno-specific versions of common web development tools along with implementing compatibility with the massive Node/npm ecosystem. This strategy is unsustainable, as it leaves Deno perpetually behind Node and fails to incentivize developers to create Deno-native packages. Node.js is still the most viable long-term bet for backend development in JavaScript as it is adopting Deno's best features and accounting for the rise of non-JavaScript alternatives built on technologies like WebAssembly.
Sponsored
Discover how Vercel and JavaScript frameworks like Next.js significantly improve your website's Core Web Vitals [11], boosting search engine rankings and enhancing the overall user experience. Get actionable insights on optimizing key metrics for a faster, smoother, and more successful website. Read the article [11].
Skeleton is a fully featured UI Toolkit for building reactive interfaces quickly using Svelte and Tailwind CSS. It comes with customizable actions, components, and utilities.
A free service that uses RSS to monitor TLS certificate expiry. No sign-up is required.
Redwood is a full-stack web framework that brings together React, GraphQL, Prisma, and TypeScript with a focus on building complete apps rapidly. v7 includes a new observability tool called Redwood Studio, real-time GraphQL features, and more.
This author explored alternative monetization strategies for their educational tool, wanting to balance accessibility with the need to generate income. Rejecting traditional models like ad-supported freemium, donations, or constant updates, they opted for "frugly pricing" – intentionally downgrading the UI's aesthetics for free users while offering a paid option to remove the unappealing elements.