Common mistakes devs make when using the Next.js App Router include using Route Handlers with Server Components, handling Route Handlers incorrectly, using Suspense with Server Components, and integrating Server and Client Components incorrectly. This article covers topics like using context providers with App Router and revalidating data after mutations.
React Server Components allow developers to perform server-side data fetching and UI rendering in the same place. Some advantages of server components include the ability to pass them as props to client components and revalidate server HTML without losing client state. However, there are some drawbacks, such as the complexity introduced when handling advanced cases and the limitations in the depth of async components.
The usefulness of a test is determined by whether it fulfills its intended purpose. Tests should validate the intention behind the system, focusing on what the code is supposed to do (the intention) rather than how it does it (the implementation).
The "Hierarchy of Career Priorities" framework includes layers like employability, compensation, growth, well-being, and meaning. It’s important to stay up-to-date with technology stacks, avoid highly specialized domain projects, and be cautious about chasing trends. Professionals should continuously evaluate their career progression against this hierarchy of priorities to make informed decisions.
The key to becoming unstuck is to take action, even if it's something small, as movement and momentum are crucial. One way to do this is by temporarily shifting focus to other projects to regain confidence and clarity. Not every situation of stuckness requires a drastic action plan and experience is a valuable teacher in learning how to respond appropriately.
Despite the rough year, there will be a strong need for software developers, with US labor statistics predicting a 26% increase in devs (compared to 3% for other jobs). There will be an increased demand for both generalists and specialists, like AI developers, cybersecurity analysts, and cloud engineers. However, the search process and hiring will become even more selective.
CopilotKit offers two main features: CopilotPortal and CopilotTextarea. CopilotPortal enables the creation of in-app AI chatbots that can interact with your app's frontend, backend, and third-party services via plugins. CopilotTextarea is an AI-assisted text generation tool that can be used as a replacement for a regular textarea element, providing autocompletions, AI editing, and content generation from scratch.
Vue-concurrency provides an abstraction for performing async operations in Vue. It helps reduce boilerplate code and allows new approaches to techniques like throttling, debouncing, and polling.
Nitro is an open-source engine that enables the creation of web servers that can run anywhere. It offers features like rapid development with Hot Module Replacement (HMR), provider-agnostic deployments with over 15 built-in presets, code-splitting, TypeScript support, universal storage, route caching, and more.
Two programmers named Jack and Irving worked at a small company that developed productivity software. Jack wanted his name to come first in the About box. In a petty move, Jack hid code in the program that would move his name to come first in the About box on the first day of the new year. However, this code caused a critical bug that crashed older Amiga machines, leading to customer complaints. The scenario reinforces the lesson of always testing code on the lowest-spec machine your users have.
In a recent benchmark comparing MongoDB and ScyllaDB, ScyllaDB outperformed MongoDB in 132 out of 133 measurements. ScyllaDB is particularly well-suited for applications dealing with terabyte-sized datasets that require high throughput and low latency for read and write operations.
A Progressive Web App (PWA) is a website that can be installed on your device to provide an app-like experience. Today, PWAs support media capture, background fetching, Bluetooth, and more.
The architectures covered in this article include single-machine PostgreSQL, network-attached block storage, read replicas, DBMS-optimized cloud storage, active-active, transparent sharding, and distributed key-value storage with SQL.
Apple reportedly plans to announce a series of new tools based on generative AI and WWDC as part of iOS 18. The new tools will include a revamped version of Siri, a new version of Xcode, and a tool in Apple Music for automatic playlist creation. The technology will also be used for troubleshooting problems with AppleCare. Apple's generative AI vision will likely take until 2025 to fully scale.
Alphabet's Isomorphic's latest deal will add significant weight to Google DeepMind's AlphaFold AI tech, which predicts protein structures to enable potentially faster target discovery and compound construction. The deals involve identifying small molecule therapies for use against undisclosed targets. The announcements are the first to emerge from the J.P. Morgan Healthcare Conference. The conference will go on until January 11.
Figure 01 is a commercially viable autonomous humanoid robot. At 5'6" and 60kg, it can carry a payload of 20kg and move at a speed of 1.2m/s for around 5 hours of runtime. Its human form factor allows it to perform dexterous tasks and lend support across manufacturing, logistics, warehousing, and retail. This thread contains a video showing Figure 01 making a coffee - it learned the task just by watching humans make coffee.
Peregrine mission one aims to put a US lander on the moon on February 23. It is the first mission to fly under NASA's Commercial Lunar Payload Services (CLPs) initiative. The mission will carry five NASA payloads and 15 others. It is bound for an ancient lava flow called Sinus Viscositatis, or the Bay of Stickiness. The next mission under the CLPs scheme is due to launch in mid-February and may touch down before Peregrine.
The container landscape is changing, with many organizations exploring innovative technologies such as serverless containers and GPU-based computing. Datadog [9] examined more than 2.4 billion containers [9] run by tens of thousands of customers. This report distills their 10 key findings on container usage, security, and implementation patterns. Download 10 Insights On Real-World Container Usage (PDF) from Datadog
Many web developers have ideas about browsers and the Web that can be a bit dubious. For example, they assume that web browser engineers, web developers, and the people who make Web specifications know the Web really well. Other dubious ideas include the myth that browsers aren't meant to run SPAs, that MPAs will replace SPAs, that all sites should work without JavaScript, that web development shouldn't need a build step, and that what they know is representative of web development at large. It's easy to assume what you know is representative of web development in general, but the field is much broader and deeper than most people know.
CSS in 2024 has cross-browser support for nesting, :has(), container queries, and more. There are now many frameworks and compilers that help optimize CSS loading performance and powerful and fast new CSS tools. This post is a collection of notes and thoughts about the CSS ecosystem. It covers the many changes and provides recommendations for helpful tools.
CES 2024 is a show for just about any kind of tech. The event will deliver more tech news than any other event this year. It starts tomorrow and runs through until Friday. Companies have been trickling out announcements as excitement about the show ramps up. This article contains some of the biggest announcements expected this year. Some of the tech expected this year includes smart TVs centered around AI processing, new electric vehicles, bigger laptops, and new OLED monitors for PC gaming.
Most successful outcomes in tech often take many years to mature. The future is unpredictable and the macro environment can not be controlled. Several big shifts will drive founders and investors to pursue profit-sharing models in 2024 and beyond. Profit-sharing startups will become more popular as people look to diversify their net worth and capture liquidity sooner. This will not preclude founders from raising traditional venture capital - some businesses will still need VC to scale and win a market.
The FDA has received reports of patients using drugs like semaglutide suffering from a form of hair loss known as alopecia, suicidal ideation, and instances of aspiration in which food and liquids accidentally enter the lungs.
One of Carta's customers revealed last week that the FinTech platform is doing cold outreach to the customer's angel investors about selling its shares to their buyers.
Open Interpreter is a great project that emulates OpenAI's interpreter. It now also has an OS mode and a visual mode so it can control your computer with a language model by clicking buttons and viewing the screen.
Apple is set to introduce generative AI-based tools, including an enhanced Siri, at its Worldwide Developers Conference in June as part of iOS 18. These innovations are based on Apple's Ajax large language model and may include features like auto-completion and summarization for core and productivity apps, AI-assisted coding in Xcode, and automated playlist creation in Apple Music
There are lots of ways to align a language model, for example, SFT, LoRa, RLHF, DPO, Prompting, and Threatening. This work suggests using negative embeddings added to the bias terms to push model generations towards a desired outcome.
Great research that shows that adding new blocks to a language model and then tuning it on an additional task prevents losing knowledge. This is demonstrated in both code and language tasks.
A framework called GUESS has been introduced for creating human motion from text. It simplifies complex human poses into more abstract forms at various levels, making the synthesis of motion from text more concise and stable.
DiffusionEdge is a novel edge detection model that outperforms existing methods. By integrating a diffusion probabilistic model, DiffusionEdge delivers more accurate and crisp edge maps while being resource-efficient.
This project introduces a method to adapt CLIP-like vision-language models for various tasks while retaining its generalization ability. The approach learns prompts from LLM data, avoiding the need for labeled images.
LLaVA-Phi is an innovative multi-modal assistant that uses the Phi-2 language model. Despite its small size of 2.7B parameters, LLaVA-Phi excels in multi-modal dialogues, combining text and visuals.
The "2023 Expert Survey on Progress in AI" reveals a scientific community divided on the pace and impact of AI development. Predictions of significant milestones have been reached earlier than expected. Over half of the respondents are optimistic about AI's impact on humanity, but concerns remain about its potential misuse, highlighting the need for research on risk mitigation.
Discover the capabilities of Hugging Face models for question answering, Q&A architectures, and hands-on coding tips. DATE & TIME: Jan 10 at 6:30 PM PST.
Two nonfiction authors filed a class action lawsuit against Microsoft and OpenAI, alleging copyright infringement in the creation of AI systems like ChatGPT. The lawsuit follows a similar case by The New York Times and includes claims that the defendants used copyrighted works without permission. The authors are seeking to represent a broad class of impacted writers and damages of up to $150,000 per infringed work.