TLDR Web Dev

TLDR WEB DEV 2024-03-19

6 sections19 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

6 REASONS TO ATTEND POST/CON

POST/CON 24 will be an unforgettable experience! Connect with peers who are as enthusiastic about APIs as you are, all as you come together to: 1️⃣ Learn [5]: Get first-hand knowledge from Postman experts and global tech leaders.

postman.comSponsor

02ARTICLES & TUTORIALS

WEBSOCKETS VS SERVER-SENT-EVENTS VS LONG-POLLING VS WEBRTC VS WEBTRANSPORT

There are many options for sending updates from the server to clients for real-time web applications such as Long-Polling, WebSockets, Server-Sent Events, and WebTransport. Long-Polling is outdated and inefficient, while WebTransport is new and promising but lacks widespread support. WebSockets are ideal for two-way communication in scenarios like chats and games, while Server-Sent Events are great for server-to-client updates.

rxdb.info13 min read

IS AWS LAMBDA COLD START STILL AN ISSUE?

A Lambda cold start refers to the initial delay experienced when an AWS Lambda function is invoked after being idle. The duration of a cold start varies from under 100 ms to over one second, the latter of which occurs in about 1% of all invocations. This article goes into detail on ways you can optimize cold start latency, such as fine-tuning memory for your function, using ARM64 CPU architecture, optimizing function creation methods, and more.

dev.to8 min read

THE MECHANICS OF ASYNC AWAIT

Under the hood, async/await is built on promises, where the async function returns a promise that represents the eventual result. The event loop handles promise resolution by tracking promises and resuming suspended processes when promises are fulfilled. There’s a notion that async/await is inherently non-blocking, but that’s not true, as shown by a code example within this article.

blog.resonatehq.io10 min read

03OPINIONS & ADVICE

THOUGHTS ON THE FUTURE OF SOFTWARE DEVELOPMENT

Software development is more than just coding. AI tools like ChatGPT help with specific tasks, but they can't replace the full range of developer responsibilities, which include design, deployment, gathering requirements, and more. Engineering is also about managing complexity - AI may not be able to translate business problems into software solutions properly. The market for technology is expanding, so while AI may automate some tasks, the overall demand to solve business problems will continue to grow.

sheshbabu.com7 min read

WHAT I WISH I KNEW ABOUT ESPP AND RSUS SOONER

ESPPs (Employee Stock Purchase Plans) let you buy company stock at a discount, which can be profitable if the stock price rises. RSUs (Restricted Stock Units) are promised shares that vest over time. When they vest, their value becomes taxable income. Use the ESPP discount to buy shares, then immediately sell for a profit if you don't believe in the stock's long-term growth. For RSUs, if you don’t want the stock, sell them immediately upon vesting. This avoids price fluctuations and the tax implications of holding the stock.

blog.demofox.org10 min read

WHY AMAZON'S CULTURE MAKES ME A BETTER ENGINEER

Amazon's leadership principles create shared expectations across roles and ensure that everyone is working toward common goals. The company prioritizes a single obsession to create a focused direction, with the goal of becoming the best in the chosen area. This allows for clear guidelines of success for both products created and for clearer role guidelines on an individual level, removing ambiguity from performance evaluations.

strategizeyourcareer.com5 min read

04LAUNCHES & TOOLS

Sponsored

LEARN AI IN 2 WEEKS — AN INTENSIVE COURSE FOR PRACTICING SOFTWARE ENGINEERS

Join a class of experienced software engineers and level up your machine learning skills. After two intensive weeks [18], you’ll have a first-principles understanding of ML from concept to production and be ready for the future of software development. This course is deeply technical [18], requires a full time commitment, and is only open to

deepatlas.aiSponsor

TEAMCITY PIPELINES

JetBrains has released TeamCity Pipelines, which offers self-tuning CI/CD pipelines to help developers stay in flow.

jetbrains.comTool

SHIKI

Shiki is a syntax highlighter that runs on any JavaScript runtime and works with VS Code.

shiki.styleTool

PLANKA

Planka is a real-time Kanban board built with React and Redux. It can be used to create projects, boards, lists, labels, cards, and more. Planka supports Markdown, filtering, real-time updates, and internal notifications.

github.comGitHub repository

05MISCELLANEOUS

OH SH*T, MY APP IS SUCCESSFUL AND I DIDN’T THINK ABOUT ACCESSIBILITY

Apps built without considering accessibility can miss out on a significant portion of users. Retrofitting accessibility can be difficult. This article shows how to improve accessibility within a SwiftUI iOS app. The process involved auditing the app, fixing text scaling, implementing views when necessary, improving accessibility for screen readers, and using native components when possible. In general, it’s easier to develop while keeping accessibility in mind than to rehaul applications to be more accessible after the fact.

jacobbartlett.substack.com17 min read

BEFORE THE CROWD SHOWS UP

Success often comes from being among the first to engage with new opportunities or "arenas". Arenas can be communities, platforms, movements, technologies, or even physical spaces like coffee shops or cities. Early arrivals in a new arena enjoy advantages like easier networking, access to important figures, insider knowledge, and professional opportunities. However, new arenas are also inherently risky. Developers should focus on identifying a niche within an “arena” regardless of when they arrive and focus on contributing as much value as possible.

workingtheorys.com7 min read

LOOK MA, I WROTE A NEW JIT COMPILER FOR POSTGRESQL

pg-copyjit is a new experimental PostgreSQL JIT compiler designed to be faster than the existing LLVM JIT. The compiler has reduced overhead as it prioritizes producing "fast enough" code quickly and uses a "copy-and-patch" method that stitches together pre-compiled code snippets for speed.

pinaraf.info9 min read