Search the archive

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

Results

30,788 matches

REACT ANTI-PATTERN: STOP PASSING SETTERS DOWN THE COMPONENTS TREE

Passing `useState` setter functions as props to child components is a React anti-pattern. This creates an abstraction leak, tightly coupling the child to the parent's internal state management and making the code fragile and less reusable. The solution is to instead pass a callback function that encapsulates the state change, allowing the child to update the parent's state without knowing the specific implementation details.

2024.11.20
matanbobi.dev4 min readTLDR Web Dev

CONDITIONAL PROPS IN REACT USING TYPE DISCRIMINATION

TypeScript's type discrimination can be used to manage conditional props in React components, making sure props are type-safe and mutually exclusive when required. This article shows practical examples, like defining components that accept either one prop or another but not both.

2024.11.20
elanmed.dev7 min readTLDR Web Dev

ONCALL SHIFT SHOULD BE TUESDAY TO TUESDAY

A Tuesday-to-Tuesday on-call rotation is better than Monday-to-Monday because it accommodates weekend issue resolution and holiday scheduling, allowing for a more thorough follow-up on problems. It's a simple, low-cost improvement to overall team efficiency.

2024.11.20
arthur-johnston.com5 min readTLDR Web Dev

HOW I SHIP PROJECTS AT BIG TECH COMPANIES

Engineers should prioritize impact over optics and focus on delivering meaningful results that improve metrics and benefit users. Trust and recognition are gained through impactful work and should not be the primary goal.

2024.11.20
developing.dev3 min readTLDR Web Dev

Sponsored

HOW TO SECURE LIVEBLOCKS ROOMS IN NEXT.JS

Learn how to secure real-time collaborative apps by integrating Liveblocks with Clerk in a Next.js setup. This guide addresses unauthorized access risks by ensuring only authenticated users can access Liveblocks rooms, enhancing security in apps like team-based task managers. Perfect for developers prioritizing data protection in collaborative environments.

2024.11.20
go.clerk.comSponsorTLDR Web Dev

REACT SCAN

React Scan is a tool that automatically detects and highlights performance issues in React applications. Unlike other tools, it requires minimal code changes and provides clear visual cues to pinpoint problematic components.

2024.11.20
github.comGitHub repositoryTLDR Web Dev

PGLITE-FUSION

Pglite-fusion lets users embed SQLite databases into their PostgreSQL tables.

2024.11.20
github.comGitHub repositoryTLDR Web Dev

UNDERSTANDING THE BM25 FULL TEXT SEARCH ALGORITHM

The BM25 algorithm is a full-text search algorithm widely used in systems like Lucene/Elasticsearch and SQLite. This post goes over the algorithm's mathematical components - inverse document frequency (IDF), term frequency, and document length normalization - showing how they contribute to a relevance score.

2024.11.20
emschwartz.me14 min readTLDR Web Dev

GO TURNS 15

Go recently celebrated its 15th anniversary as an open-source project. Its user base has more than tripled in the last five years. Recent Go releases (1.22 and 1.23) were focused on improving for loops, iterators, and generics, along with improvements to the standard library, including the HTTP router and execution traces.

2024.11.20
go.dev6 min readTLDR Web Dev

DATA ENGINEER HANDBOOK

A collection of data engineering resources, including projects, interview guides, roadmaps, books, and more.

2024.11.20
github.comGitHub repositoryTLDR Web Dev

PLEASE JUST STOP SAYING "JUST"

The word "just," when used to describe a software engineering solution, minimizes the complexity of the task, discourages critical thinking and alternative solutions, and contributes to imposter syndrome.

2024.11.20
sgringwe.com5 min readTLDR Web Dev

Sponsored

LATEST AI FEATURES

TeamViewer is the industry standard for remote IT support [4]. Now's your chance to get your business on board by taking advantage of TeamViewer's Black Friday discounts.

2024.11.19
kqzyfj.comSponsorTLDR

DOJ WILL PUSH GOOGLE TO SELL CHROME TO BREAK SEARCH MONOPOLY

Justice Department antitrust officials will ask federal judge Amit Mehta to force Alphabet to sell Google's Chrome browser as part of the ruling that Google illegally monopolized the search market. They will also ask to implement measures related to artificial intelligence and Google's Android smartphone operating system. The proposals have the potential to reshape the online search market and AI industry. States are still considering adding some proposals and some details could change. Google has plans to appeal the antitrust ruling.

2024.11.19
bloomberg.com4 min readTLDR

NVIDIA'S DELAYED BLACKWELL AI CHIPS ARE OVERHEATING IN SERVERS

Nvidia's upcoming Blackwell GPUs are prone to overheating when connected to each other on server racks. The issue is due to the server rack designed for Blackwell, which can connect up to 72 GPUs at a time. The racks have been redesigned, but this could cause further delays. Nvidia originally said that the GPUs could ship as soon as Q2 2024 before it encountered challenges.

2024.11.19
links.tldrnewsletter.com3 min readTLDR

A.I. CHATBOTS DEFEATED DOCTORS AT DIAGNOSING ILLNESS

ChatGPT outperformed doctors in diagnosing disease in a study that looked at whether the chatbot could help doctors diagnose illnesses. Doctors who had help from the chatbot performed only slightly better than doctors without the tool, showing how doctors sometimes will stick to their diagnoses even when presented with a potentially better option. Many of the doctors didn't know how to use chatbots and treated ChatGPT like a search engine for direct questions, which could have affected results. Only a small fraction of the doctors copied the entire case history into the chatbot and asked it to answer the entire question.

2024.11.19
links.tldrnewsletter.com8 min readTLDR

SPACEX POISED FOR NEXT STARSHIP FLIGHT TEST NOV. 19

SpaceX launched three Falcon 9 rockets in less than 24 hours on November 17-18 ahead of a planned flight test of its Starship-Super Heavy vehicle today. Falcon 9 has reached 113 launches this year and 398 since it debuted in June 2010. Starship Flight 6 is slated to launch at around 5-5:30 PM from SpaceX's Starbase complex at Boca Chica Beach, Texas. SpaceX is hoping to catch the Super Heavy booster again using a pair of mechanical arms on its launch gantry and relight a Raptor engine in flight. Starship will not reach orbital velocity and will make a targeted splashdown in the Indian Ocean.

2024.11.19
aviationweek.com3 min readTLDR

Sponsored

HAVE A TEST BUDGET? REACH OVER 5 MILLION TECH PROFESSIONALS WITH AN AD IN TLDR

Rather than targeting the same tired audience on social media and seeing incremental gains at best, why not reach a fresh audience? Reach software developers, product managers, marketers, executives and other tech professionals reading TLDR every day. TLDR offers 10 interest-based newsletters to help you get in front of your target audience. Learn more [9] about running your first campaign with us.

2024.11.19
advertise.tldr.techSponsorTLDR

RUST FOUNDATION RELEASES PROBLEM STATEMENT ON C++/RUST INTEROPERABILITY

The Rust Foundation's problem statement on the challenges and opportunities in C++ and Rust interoperability outlines three key strategic approaches: improve existing tools and address tactical issues within Rust to reduce interoperability friction and risk in the short term, build consensus around long-term goals and develop the tactical approaches to begin pursuing them, and engage with the C++ community and committee to improve the quality of interoperation for both languages to help realize the mutual goals of safety and performance. The 'interop initiative' was launched earlier this year to make cross-language development more accessible and approachable for the wider programming community.

2024.11.19
foundation.rust-lang.org3 min readTLDR

DOCUMIND

Documind is a document processing tool that uses AI to extract structured data from PDFs. It can handle PDF conversions, extract information, and format results as specified by customizable schemas. Documind is designed for flexible deployment on local or cloud environments.

2024.11.19
github.comGitHub repositoryTLDR

ELON MUSK WANTED TO BUY SUBSTACK AFTER TWITTER PURCHASE

Elon Musk reportedly had plans to combine Twitter and Substack. He saw acquiring Substack as a way to aid Twitter's subscription service. Substack executive Chris Best declined the acquisition despite Musk offering him a chief executive position at the combined company. Substack pivoted to politics soon after the offer as some of the largest election pundits found a home on the platform.

2024.11.19
newsweek.com2 min readTLDR

FILE OVER APP: A PHILOSOPHY FOR DIGITAL LONGEVITY

Creating digital artifacts that last requires using open file formats that are easy to retrieve and read. This means using tools that give people this freedom. While it isn't always possible to choose 'file over app', there are almost always options that allow users to export their data, which can later be scraped into usable formats. This post provides links to tools and projects that align with the 'file over app' philosophy.

2024.11.19
rishikeshs.com6 min readTLDR

AMD DOMINATES CHIP SALES ON AMAZON

The top 10 best-selling CPUs on Amazon are AMD processes from the Ryzen 5000, 7000, and 9000 processor series.

2024.11.19
tomshardware.com2 min readTLDR

SECURITY MEANS SECURING PEOPLE WHERE THEY ARE

Security at scale means deciding how to divide a limited pool of engineering resources such that the largest demographic of users benefits from a security initiative.

2024.11.19
blog.yossarian.net14 min readTLDR

CHATGPT IS SLIPPING

Production code that utilized gpt-4o and gpt-4o-mini suddenly stopped working on November 13, suggesting there was an update to the model that made them incapable of doing the previous task.

2024.11.19
adriano.fyi6 min readTLDR

INSIDE ELON MUSK'S MESSY BREAKUP WITH OPENAI

Elon Musk's suit against Sam Altman has given Musk a chance to reveal how Altman secured power in the company's early days and his willingness to go toe-to-toe with for-profit competitors from the beginning.

2024.11.19
theverge.com13 min readTLDR

Abstraction

→ Check out pgai on GitHub [5]: a framework for developing RAG, semantic search, and other AI applications directly in PostgreSQL

2024.11.19
timescale.comTLDR AI

PIXTRAL LARGE

Pixtral Large is a 124B open-weights multimodal model built on top of Mistral Large 2. It is the second model in the multimodal family and demonstrates frontier-level image understanding. The model is able to understand documents, charts, and natural images while maintaining the leading text-only understanding of Mistral Large 2.

2024.11.19
mistral.ai7 min readTLDR AI

PERPLEXITY INTRODUCES A SHOPPING FEATURE

Perplexity has introduced a shopping feature for Pro users in the US, making it a one-stop solution where you can research and purchase products.

2024.11.19
links.tldrnewsletter.com4 min readTLDR AI

LLAVA-O1: REASONING VLMS

While this is not an actual replication of the process used to train o1, it is still a strong VLM trained on reasoning traces.

2024.11.19
arxiv.org25 min readTLDR AI

CASE STUDY OF SONNET 3.5 COMPUTER USE

This work aims to systematically test the ability of new autonomous computer use agents. It finds Claude quite powerful at traditional linear tasks.

2024.11.19
arxiv.org40 min readTLDR AI

Sponsored

BEYOND WORDS: THE NEXT GENERATION OF AI CHATBOTS CAN SEE 👀

Sendbird's AI chatbot now supports Vision AI [13]. Powered by multimodal RAG technology, Vision brings a new level of understanding to conversations. You can now leverage vision language models and process inputs like images and files.

2024.11.19
sendbird.comSponsorTLDR AI

LLAMA 3 405B INFERENCE

Cerebras has the largest Llama model, running 12x faster than comparable systems and 18x faster than some closed model API providers. It can run at almost 1k tokens per second. It will be available via API at the beginning of next year.

2024.11.19
cerebras.ai4 min readTLDR AI

CLIP FOR SEMANTIC SEGMENTATION

Despite CLIP's success in open-vocabulary tasks, it struggles with semantic segmentation due to noisy features and limited resolution. Trident addresses the resolution issue with a training-free framework that combines CLIP and DINO features from sub-images and uses SAM's encoder for global feature aggregation.

2024.11.19
github.comGitHub repositoryTLDR AI

CERTIFIED ROBUSTNESS

This work focuses on improving the certified robustness of smoothed classifiers by fine-tuning off-the-shelf models.

2024.11.19
github.comGitHub repositoryTLDR AI

RECAPTURE

This paper from Google shows how you can change the camera viewpoint of an existing video.

2024.11.19
generative-video-camera-controls.github.io7 min readTLDR AI

NOUS RESEARCH FORGE

The Forge Reasoning API allows you to take any popular model and superpower it with a code interpreter and advanced reasoning capabilities. This has been shown to increase model performance.

2024.11.19
nousresearch.com11 min readTLDR AI

WHERE'S MY ROBOT BUTLER?

Advancements in AI and robotics are accelerating the development of humanoid robots such as Atlas, Optimus, and Neo, robots aimed at fulfilling domestic tasks akin to Rosie from "The Jetsons." Challenges persist in creating cost-effective, safe, and efficient actuators. AI models are crucial for training robots to perform complex tasks autonomously. Despite progress, these humanoid robots are currently more suited for industrial settings. They may eventually transition into home environments if significant breakthroughs occur.

2024.11.19
spectrum.ieee.org40 min readTLDR AI