JEM - Web in September - JavaScript Every Month Newsletter
Sorry for being a little late this month. I was in Goa for the beginning of the month for React India 2023. I spoke about Accessibility at the conference and discussed some common pitfalls. Besides mine, there were some amazing talks worth checking out and I had so much fun interacting with other speakers and attendees.
The full talk is now available on YouTube.
Releases
Browsers
Firefox 118
search
HTML element replaces the need forrole=search
.- Whole barrage of math functions are now supported:
abs()
,sign()
,round()
,mod()
,rem()
,pow()
,sqrt()
,hypot()
,log()
, andexp()
.
Chrome 117-118
subgrid
value is here and supported everywhere.transition-behavior
allows you to add entry and exit animations for dialogs and popovers.- The trend of lodash/underscore utilities coming to JavaScript continues with
groupBy
@scope
supports basic CSS modules in CSS.
Chrome team is making releases faster resulting in the next release to be available in 3 weeks.
Safari 17
- Support for
@counter-style
,overflow-block
andoverflow-inline
media queries. - Support for
popover
attribute andsearch
element.
AI Updates
There are so many updates with AI that I'm listing them in bullets here.
Dall-E-3
OpenAI's image generation system, DALL-E, was a pioneer in the field of AI, setting the stage for subsequent developments. Over time, it faced competition from other AI systems, such as Midjourney and the open-source project Stable Diffusion, which advanced the technology significantly.
However, DALL-E has made a remarkable return with enhanced text recreation capabilities that surpass those of its AI counterparts, establishing itself as a leader in this domain.
ChatGPT can now see, hear, and speak. Rolling out over next two weeks, Plus users will be able to have voice conversations with ChatGPT (iOS & Android) and to include images in conversations (all platforms). https://t.co/uNZjgbR5Bm pic.twitter.com/paG0hMshXb
— OpenAI (@OpenAI) September 25, 2023
Adobe MAX AI Updates
- Project Fast Fill removes objects or change background elements in videos.
- Turn doodles or scribbles into polished sketches with Project Draw & Delight.
- Project Neo enables designers to create 2D content by using 3D shapes without having to learn traditional 3D creation tools and methods.
- Project Primrose, displayed at MAX as an interactive dress, makes this possible with wearable and flexible, non-emissive textiles which allow an entire surface to display content.
- Project Dub Dub Dub uses generative AI to auto-dub videos or audio clips in more than 70 languages and over 140 dialects.
Microsoft Copilot Event
- The next Windows update will bring AI to apps like Paint, Photos, Clipchamp and more.
- Copilot is integrated into Windows so you will be able to use Bing chat and even more integrated actions.
Made in Youtube Event
- Dream Screen feature creates AI generated video from a prompt.
- Get AI generated insights and topics to create more videos.
- AI powered dubbing tool (just like Adobe)
- Soundtrack search which works with AI prompts.
Remix v2
- Remix has a routing API that aligns with Remix Router.
defer
feature is "promises over the wire" if you want to prioritise component loading.- Improved support for PostCSS, CSS modules, Vanilla Extract etc.
The release notes also point to an explanation for when React Server Components will be coming to Remix and why it's not here yet.
Next 13.5
- Performance improvements with faster local server startup, faster HMR and lesser memory usage.
- Optimised package imports now gives you optimised imports for many major libraries like
lodash
,date-fns
etc. - Improvements with
next/image
and support forpicture
npm provenance is not generally available
npm packages built on a supported cloud CI/CD system can publish with provenance. Today this includes GitHub Actions and GitLab CI/CD.
PS: Amazon is investing $4 billion in Anthropic.
In the Spotlight 🔦
The search
element is supported everywhere on modern browsers with this months releases. Most apps have a search area where users can search through contents of the site. Earlier this was fulfilled by form role=search
, this will be replaced by search
landmark.
<search title="Media">
<form>
<label>Search media</label>
<input type="search" id="media" name="q" />
</form>
</search>
Note that search
landmark is not for providing search result contents - that should go into main content of website. But if you have auto-complete suggestions that go into the search bar, they can be nested inside search
element.
Tutorials
State of HTML 2023
State of HTML 2023 is now out, do fill it out for some HTML numbers goodness.
Photoshop is now on the Web
Addy Osmani writes a Medium blog about the list of technologies that contributed to bringing Photoshop to the Web.
- Local file access with Origin Private File system.
- Web Assembly
- Wide P3 Color Gamut
- Web Components
The web.dev post on the same is also an excellent read.
A (more) Modern CSS Reset
Andy bell creates a modern CSS reset and explains the reasoning behind his choices. It's apparent that we don't require ironing out all elements and "fixing" them as we did earlier but there are some quirks to be looked into.
If that's not enough, Chris Coyier adds his comments on the modern reset as well, on his blog.
Best packages you have discovered - Reddit
One of the most remarkable aspects of ReactJS is its robust and supportive community. This dedicated community consistently contributes to the ecosystem by creating exceptional packages. In a recent React thread, you can discover a selection of outstanding packages that users have developed, and there's a good chance you'll find something worth starring on the list.
My favourites:
An Interactive Intro to CRDTs
CRDTs (Conflict-free Replicated Data Types) are extensively employed in the creation of collaborative multi-user experiences on the web. If you're interested in learning more about CRDTs, this interactive guide serves as an excellent starting point, complete with insightful explanations and compelling examples.
In Other News
The FTX jury suffers through a code review
The SBF trial is presently underway in court. One significant aspect of the trial revolves around the code change for allow_negative, a modification that could potentially permit Alameda Research to maintain a negative account balance on FTX. Amidst the legal proceedings, numerous intriguing details have emerged, but a particular passage has piqued my interest:
But FTX lied about how much money was in the backstop fund, Wang said. In court we saw the code that generated the fake number published on the website: it took the daily trading volume on FTX, multiplied it by a random number, divided it by a billion, and added it to the existing number displayed on the site. It had nothing to do with the actual amount of money in the insurance fund.
TypeScript Origins: The Documentary
This hour-long documentary provides a fascinating look into the TypeScript team at Microsoft HQ. It features personal interviews and narratives that delve into the origins of TypeScript, exploring the 'why' and 'how' behind its development.
Engage a Wider Audience With ActivityPub on WordPress.com
WordPress.com sites are seamlessly integrated into the Fediverse, allowing users to engage with articles on platforms like Mastodon. This integration facilitates the creation of content that can be shared across multiple platforms, even appearing as comments on your WordPress.com site.
Looking Ahead
- Vite Conf Replay - October 5-6
- DjangoCon - October 16-20
- MagnoliaJS - October 17-18
- reactjs day - October 27