Hey April 👋
In this month’s update on OpenAI’s LLMs and their counterparts, we’re looking at Google’s new LLM, Bard, which recently entered beta testing in the United States. It’s been compared to BingAI, and early reviews suggest that Bard may be the better search engine, providing concise and timely information. Meanwhile, BingAI (or GPT-4) appears to excel at creative writing and coding tasks.
This month, the Future of Life Institute, a non-profit organization backed by Elon Musk, released an Open Letter urging AI companies to halt any enhancements beyond GPT-4. Prominent figures like Elon Musk and Steve Wozniak have signed the letter. However, I believe that stopping progress on GPT-4 is unlikely. If OpenAI ceases development, another organization will undoubtedly step in, given the financial incentives at stake.
People seem to be divided into two basic camps regarding this issue:
Instead of advocating for the ban of LLMs, we should focus on enhancing our processes with their help. Concerns about students cheating with ChatGPT should prompt us to reevaluate our testing methods. We are on the verge of a time when each student could receive individual attention from a teacher, even if it’s through an AI tool. Should we discard this potential due to the fear of cheating?
There is still a lot of AI that I want to talk about, more of that coming up In the Spotlight section.
/* From */
@media (min-width: 400px) and (max-width: 900px) { ... }
/* To */
@media (400px <= width < 900px) { ... }
From my perspective, Firefox’s latest release isn’t particularly exciting. However, if you were hoping for specific features, feel free to let me know.
The annual accessibility report from WebAIM has just been released. The project aims to test one million web pages and assess the level of accessibility errors found on those pages. Here’s a teaser:
Across the one million home pages, 49,991,225 distinct accessibility errors were detected—an average of 50.0 errors per page.
The NPM registry is rife with scams and typosquat packages, which can make it challenging to ensure the safety and integrity of your codebase. Socket, the company behind dependency scanners on GitHub, has released a new package that can be run on the terminal to scan NPM package scripts and warn you about potential scams and security threats.
Socket has also successfully implemented GPT-4 to help scan NPM packages for security threats. Instead of manually reviewing every package, they are using AI-generated code snippets to identify potential vulnerabilities more efficiently.
The new documentation site for ReactJS has finally gone live after a long wait. Even during its beta phase, the site was impressive, and the addition of live examples to many pages makes it even more useful.
However, it’s worth noting that the ReactJS documentation no longer recommends using Create React App. Instead, they suggest using meta-frameworks like NextJS, GatsbyJS, Remix, and others. It remains to be seen how this shift will impact the React ecosystem, but according to a recent analysis by Netlify, frameworks built on Create React App still make up 40% of the platform’s usage.
MidJourney upgraded to their newest model on March 15, 2023. From the release docs:
This model has very high Coherency, excels at interpreting natural language prompts, is higher resolution, and supports advanced features like repeating patterns with –tile
I checked out the model close to when it was released and the experience is surreal. I feel like I wouldn’t need the camera if I could just describe the scene in detail. After some deepfake images came out to be viral (involving the Pope), Midjourney has cancelled their free plan and now requires a subscription.
Introduces several new features and improvements such as inline overlays, consistent events emissions, and simplified form control syntax. Something that caught my eye with the release is the 70% performance improvement with Ionic Tabs - that is massive. If you have an idea on what the fix was, please do let me know.
PlayWright now includes a UI that lets you explore, run and debug tests similar to Cypress.
Github is introducing enhancements made through GPT-4 with Copilot X. The experience consists of different features:
In this month’s Spotlight, I take a look at evolving stories from the world of Large Language Models and how it affects us.
This has been something I think about a lot. In the age of UIs that are getting more and more complicated, ChatGPT has brought the UI down to a basic chat interface. There aren’t buttons for you to click around (yet), and everyone can use an interface simpler than WhatsApp. I have read how interface with a lot of buttons is going to win the game, but I keep coming back to the ChatGPT interface because it can do everything and I don’t have to remember the shortcuts.
Here’s some highlights from the podcast:
LLMs hallucinate, it’s something we have accepted as normal but often forget. From personal experience, I tried making a prototype customer service agent using GPT-4 last month and even displayed the result as GPT-4 came up with answers for all of my questions. Then someone pointed out that the answers were all nonsense, pure hallucinations. So, the basic rule for Internet also applies to LLMs - check. then double check.
The article argues that the term hallucination is just not enough. Confabulation is the one that fits the card.
LLMs are a world dominated by paid APIs like GPT-4 and Claude. We are still waiting for the Stable Diffusion moment for text APIs. But the leak of LLaMa (Meta’s research only model) has lead to rise of intermediate models from many Universities.
It’s surprising how image generating AIs can run on lesser memory than the ones generating text. Check out running LLaMa with M1 Mac
Keeping up with TypeScript on a small project can be quite challenging. However, Jim Nielsen has offered a helpful solution by demonstrating how to use JSDoc types across multiple files. Additionally, there’s a Zod tutorial that explains how to use types at runtime. Although it may not be the most enjoyable experience, I’ve personally found it to be a worthwhile practice for many of my projects.
Design is hard! I have tried and failed multiple times. Adam Dannaway has published a helpful tutorial that can improve your designs by providing a simple checklist of rules to follow.
If you find this approach helpful, you might want to check out Refactoring UI, a book written by the founders of Tailwind CSS. It offers a wealth of insights and techniques for improving your design skills.
The Web Authentication API is something that I have wanted to check out for long. It’s our (pass)key to a password less future and who doesn’t want that. There is still a lot of theory behind it and it’s not easy to use as importing passport
. But the tech is solid and browser support is ramping up.
In our previous newsletter, we discussed signals, and now Angular is taking the initiative to implement them by conducting a livestream RFC discussion on YouTube.
It is exhilarating to witness the deployment of these models in the browser. Although they cannot be used in production at present due to the time taken by these models to generate information. Furthermore, as ChatGPT has become so pervasive, people would anticipate similar output from these smaller models. However, this does not diminish my excitement in any way.
Twitter has open-sourced their algorithm to uphold their commitment to transparency. However, apart from the officially released code, there have been leaks of other parts of the source code, which are speculated to be the work of disgruntled laid-off developers.
In a related development, Twitter has reportedly restricted retweets and likes on tweets containing SubStack links. This move appears to be a retaliation from Twitter after SubStack launched a competing product called Notes.
There’s been a lot of concern lately about the potential loss of jobs in frontend development. It’s possible that this anxiety stems from the fact that frontend development is often used to demonstrate an LLM’s ability to write code. For instance, an LLM might be asked to create a game or toy app and then showcase it on CodePen. It’s not always as straightforward to demonstrate the functionality of a backend API in the same way.
However, Josh W Comeau argues that these kinds of applications were already obsolete. After all, we live in a world where Wix and Squarespace exist. Ideally, we should be building much more complex applications than anything those platforms can offer. That being said, it’s wonderful that LLMs can help us augment our skills and improve our ability to develop sophisticated frontend applications.
This month’s series on User Interfaces by The Verge is a fascinating read. It explores the importance of UI and UX across various platforms, with each article focusing on a single facet. Some of these facets may go unnoticed, such as the shuffle button, while others, like website popups, can be quite intrusive.
There’s a funny conflict to the idea of user interfaces: a good one tends to go unnoticed, the thoughtful design decisions too subtle to notice; a bad UX or UI is one that makes you want to scream.
We were initially concerned about ChatGPT’s impact on SEO, but it turns out that the real challenge came from NPM packages.
Ken Thompson was one of the developers of MULTICS, the ancestor and inspiration for Unix. He is one of the pioneers of the industry that we work on today. He came on as a keynote speaker for Scale and revealed a project he has been working on for 75 years. Spoiler: It’s music not Unix.
Electron has emerged as one of the most widely used frameworks for developing desktop applications today. Personally, I use several Electron-based apps such as Slack, VS Code, and many more that I may not have peeked under the hood yet.
Also this month, the news of Teams moving off Electron to Edge WebView2
Samsung’s Ultra series advertisements showcased moon shots as a prominent feature, highlighting their 100x zoom capability. A user tested this by capturing a blurred printed moon picture, and the camera returned an image with better details than the original. Samsung addressed these allegations by explaining that an AI process called Scene Optimiser works behind the scenes and can be disabled in the settings.
However, this incident raises questions about the nature of photographs. While we claim that smartphone cameras have improved significantly over the years, it is primarily the photo processing that has made leaps and bounds. In contrast, camera hardware advancements have been comparatively slower. Interestingly, we desire photos that not only look normal but also resemble what we perceive, which, ironically, involves neural processing as well.