Search the archive

Full-text search across article titles and summaries. Refine with sector, year, content type, and reading-time filters.

Results

9,381 matches

CORRECTING THE RECORD FOR CONTINUE AND PEARAI

Garry Tan, president of Y Combinator, apologizes for initially defending PearAI's inappropriate use of open source code in its AI code editor and acknowledges Continue's positive contributions to the open source community.

2024.10.04
ycombinator.com1 min readTLDR Web Dev

GOOGLE RECOMMITS TO HYBRID WORK SCHEDULE UNLIKE AMAZON

Amazon and Salesforce have mandated full-time return to office work, but Google has reassured its employees that its current hybrid work policy, which allows staff to work remotely at least two days a week, will remain in place.

2024.10.04
entrepreneur.com2 min readTLDR Web Dev

TERMINAL COLORS ARE TRICKY

Terminal colors are tricky due to inconsistent color implementations, contrast issues, program-specific color conflicts, and the impact of different terminal types and color support levels.

2024.10.04
jvns.ca15 min readTLDR Web Dev

THE UNSPOKEN RULES OF REACT HOOKS

React's documentation inadequately explains the "unspoken rules" of useEffect dependencies, especially regarding the stability of return values from built-in and third-party hooks.

2024.10.04
macwright.com4 min readTLDR Web Dev

THE HARDEST BUG INVESTIGATION OF MY CAREER AND THE INSANE CODE THAT CAUSED IT

A weird bug in an augmented reality system caused disorienting visual glitches and interestingly, only happened every Wednesday. After an extensive, months-long investigation involving robotic arms, lasers, and a high-FPS camera, the root cause turned out to be due to a time-translation hack using day-of-week words in German and English neglecting to account for the German word for Wednesday, "Mittwoch." This oversight led to timestamp discrepancies, resulting in the weekly glitches and an unpredictable error correction mechanism.

2024.10.03
links.tldrnewsletter.com8 min readTLDR Web Dev

"WE RAN OUT OF COLUMNS" - THE BEST, WORST CODEBASE

This is the story of a massive, poorly designed legacy codebase with a chaotic database structure, including a table with a single column and row used for generating IDs and a manually-updated calendar table. The codebase itself was a mishmash of technologies, with a mix of VB and C#, various JavaScript frameworks, and even a shipping manager built in a weekend by a lone developer. Despite its flaws, developers found the chaotic nature of the system freeing, as they were forced to create isolated, independent solutions within the larger mess.

2024.10.03
jimmyhmiller.github.io11 min readTLDR Web Dev

SERIALIZATION IS THE SECRET

JavaScript is a mutable programming language, while Elixir leans towards immutability. While both languages appear to have similar variable assignment behavior, Elixir achieves this through "rebinding," creating new variables with new values instead of mutating existing ones. This immutable approach, along with Elixir's process-based concurrency, eliminates the possibility of race conditions and unexpected state changes that are common in mutable languages.

2024.10.03
zachdaniel.dev8 min readTLDR Web Dev

HASH ORDERING AND HYRUM'S LAW

Hyrum's Law states that any observable behavior in a system, even if undocumented, will be relied upon by some users. This has massive consequences, especially during large-scale migrations, as users might depend on seemingly insignificant details like hash iteration order. One example is the iteration order of hash tables in Java, which is technically unspecified but often remains stable for years. This can lead to users inadvertently writing code that depends on the order, causing problems during Java version upgrades.

2024.10.03
eaftan.github.io5 min readTLDR Web Dev

GOOD PROGRAMMERS WORRY ABOUT DATA STRUCTURES AND THEIR RELATIONSHIPS

Linus Torvalds (the creator of Git and Linux) says that data structures are more important than code in software development since good data structures lead to better code design and maintainability. This developer supports this view with personal experience, describing how restructuring data in a project allowed a team to move faster in the long run. The prioritization is also how Git grew to be the dominant version control system.

2024.10.03
read.engineerscodex.com4 min readTLDR Web Dev

TINYJS

TinyJS is a JavaScript library for dynamically creating HTML elements with deep property assignment. It makes DOM manipulation easier by allowing you to generate standard HTML tags programmatically, apply properties, append content, and select DOM elements.

2024.10.03
github.comGitHub repositoryTLDR Web Dev

ULTIMATE EXPRESS

Ultimate Express is a drop-in replacement for Express.js that offers faster performance using µWebSockets while maintaining full Express compatibility.

2024.10.03
github.comGitHub repositoryTLDR Web Dev

THE FASTEST MUTEXES

Cosmopolitan Libc's new mutex implementation is much faster than other popular libraries. One of the secrets behind the implementation is nsync, a C library written by a distinguished engineer at Google.

2024.10.03
justine.lol10 min readTLDR Web Dev

IN THE LAND OF LLMS, CAN WE DO BETTER MOCK DATA GENERATION?

Using LLMs to generate mock data has proven to be much harder than expected. A team explored using LLMs to generate Rust code for dynamic INSERT queries for their database platform, but found the generated code bad. Eventually, the team developed a hybrid approach, using LLMs to predict faker (Python package) methods for data generation while using topological sorting for accurate insertion order.

2024.10.03
neurelo.substack.com16 min readTLDR Web Dev

OFFLINE UX PATTERNS

Expensify's offline UX patterns prioritize "optimistic responses," assuming API requests will succeed when the user is back online and allowing them to proceed as if the action is complete. These responses can be incorporated with or without feedback, where the user is either aware or not aware that a request is pending and/or sent.

2024.10.03
github.com10 min readTLDR Web Dev

WEB SCRAPING WITH YOUR WEB BROWSER: WHY NOT?

Web scraping can be effectively done directly within a web browser, despite the widespread reliance on Python and other external tools. While limitations like CORS restrictions exist, they can be overcome with the use of proxy servers. This article shows a simple web scraper built entirely within a web browser using just a few lines of JavaScript code.

2024.10.03
8chananon.github.io13 min readTLDR Web Dev

DON'T SLEEP ON ABORTCONTROLLER

AbortController is a JavaScript API that allows you to abort various operations like network requests, event listeners, and streams in a clean way.

2024.10.03
kettanaito.com7 min readTLDR Web Dev

WHY TCP NEEDS 3 HANDSHAKES

TCP requires three handshakes to establish a connection because it makes sure both parties confirm their ability to send and receive data.

2024.10.03
pixelstech.net12 min readTLDR Web Dev

A LOCAL-FIRST CASE STUDY

This developer created a local-first web app for trip planning. It was designed to address shortcomings in existing trip planning tools by offering quick data entry, easy comparison features, and support for both structured and unstructured data. The app was built using a local-first architecture using CRDTs and the Yjs library for real-time collaboration and offline functionality.

2024.10.02
jakelazaroff.com14 min readTLDR Web Dev

A GUIDE TO DESTRUCTURING IN JAVASCRIPT

Destructuring in JavaScript allows you to extract values from arrays and objects into separate variables. The ellipsis (...) in destructuring represents a "rest property," which captures remaining elements or properties into a new array or object. It also acts as the "spread operator," which expands iterables like arrays, objects, and strings into individual elements.

2024.10.02
piccalil.li13 min readTLDR Web Dev

OPENAI DEVDAY 2024 LIVE BLOG

OpenAI DevDay 2024 included announcements about a real-time API enabling voice interaction with AI models, improved model customization with fine-tuning for vision models, and cost reductions through prompt caching and model distillation. The company highlighted the importance of structured outputs for building reliable applications by unveiling its new Structured Outputs API, which guarantees accurate JSON schema adherence.

2024.10.02
simonwillison.net36 min readTLDR Web Dev

DO ALL PROBLEMS HAVE TECHNICAL FIXES?

The "tech imperative” is the idea that all problems can be solved with technology. While the underlying assumption is that technology itself is inherently good, the promotion of technology stems from a pro-attitude rather than a reasoned argument.

2024.10.02
cacm.acm.org6 min readTLDR Web Dev

WEB COMPONENTS ARE NOT THE FUTURE

Web Components introduce unnecessary overhead and complexity due to their reliance on the DOM. They are a compromise that sacrifices flexibility and efficiency for the sake of standardization.

2024.10.02
dev.to5 min readTLDR Web Dev

Sponsored

SOME RISKS ARE EASY TO OVERLOOK. DON'T LET THEM SINK YOUR NEXT FEATURE RELEASE

Outages, degraded user experience, and lost revenue are just some of the bad outcomes of a mismanaged release process. Think this can never happen to you? Take LaunchDarkly's Software Release Risk Assessment [11] to find out what can go wrong in your upcoming feature releases - and what to do about it. Answer 8 questions to get your risk score

2024.10.02
launchdarkly.comSponsorTLDR Web Dev

EVOLVING GITHUB ISSUES (PUBLIC PREVIEW)

GitHub Issues has been revamped with several new features, including sub-issues, issue types, and advanced search. The interface has also been updated, and the project item limit has been increased to 50,000 items. These features are now available in public preview.

2024.10.02
github.blog3 min readTLDR Web Dev

SLATEDB

SlateDB is an embedded database that uses object storage for data persistence. Unlike traditional databases, it operates without physical disks and uses the object store's replication capabilities for high availability.

2024.10.02
slatedb.ioToolTLDR Web Dev

SOURCEBOT

Sourcebot is a code search tool that indexes and searches multiple repositories hosted on GitHub or GitLab. It has features like one-command deployment, multi-repo search, full file visualization, and more.

2024.10.02
github.comGitHub repositoryTLDR Web Dev

2024 RUBY ON RAILS COMMUNITY SURVEY RESULTS

The 2024 Ruby on Rails Community Survey gathered responses from over 2,700 developers across 106 countries, showing that Rails is still relevant in 2024. Stimulus.js has overtaken React as the most popular JavaScript library used with Rails, while PostgreSQL remains the preferred relational database.

2024.10.02
railsdeveloper.com33 min readTLDR Web Dev

BOTS, SO MANY BOTS

ProductHunt has about 60% of user signups automated. This was discovered through a simple test, where an LLM prompt was injected into a product description, leading to a flood of automated comments.

2024.10.02
wakatime.com5 min readTLDR Web Dev

MULLENWEG THREATENS CORPORATE TAKEOVER OF WP ENGINE

Matt Mullenweg, CEO of Automattic, has escalated his conflict with WP Engine, demanding a more than 8% licensing deal for the use of WordPress and WooCommerce trademarks. This demand suggests a potential corporate takeover by Automattic, which is accusing WP Engine of perceived minimal contributions to the WordPress project. WP Engine has made counterclaims and attempts to mitigate the damage, but the conflict remains unresolved, with the possibility of a legal battle in the future.

2024.10.02
therepository.email10 min readTLDR Web Dev

HOW WE BUILT NGROK'S DATA PLATFORM

Ngrok built its data platform with an engineering team of just one person, using open-source tools and self-hosting on Kubernetes. They had challenges like complex schemas and large data volumes, which were addressed through code generation, schema normalization, and scaling Apache Flink with Protobuf messages.

2024.10.01
ngrok.com23 min readTLDR Web Dev

DATA SYNCHRONIZATION

React Query tackles the challenge of data synchronization by keeping the data displayed on the screen up-to-date with the server state. It uses a "Stale While Revalidate" strategy, where data is considered stale by default and refetched in the background when triggers like changes in query keys, new component mounts, window focus, or device going online occur. This allows for a smooth user experience with instant data delivery while still making sure the cache stays synchronized with the server.

2024.10.01
ui.dev8 min readTLDR Web Dev

PHRASE MATCHING IN MARGINALIA SEARCH

A search engine added phrase matching by transitioning from approximate word position storage to storing precise positions using compressed lists. This change required implementing a new way to store information about word occurrences within different document fields. The ranking algorithm was upgraded to take advantage of the new phrase matching capabilities, incorporating factors like phrase presence, keyword distance, and early occurrence.

2024.10.01
marginalia.nu18 min readTLDR Web Dev

WHEN TO DO WHAT YOU LOVE

If your main goal is to make money, you may have to compromise on your passion, as most people pay you for what they want, not what you want. However, if you are passionate about something that is also in high demand, like a niche market, you can potentially earn a living from it. Building a startup can be a viable option here, but mostly if it arises from your own passions and interests.

2024.10.01
paulgraham.com8 min readTLDR Web Dev

THE GRUG BRAINED DEVELOPER

This is a list of various pieces of advice on writing good software. For example, good devs fight against complexity, say "no" to unnecessary features, and embrace simple solutions. They are also patient and refactor thoughtfully.

2024.10.01
grugbrain.dev24 min readTLDR Web Dev