Streak redemption, vectors are the new JSON, CommonJS is hurting JavaScript &...
source link: https://changelog.com/news/51
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Transcript
Changelog
Click here to listen along while you enjoy the transcript. š§
What up nerds, Iām Jerod and this is Changelog News for the week of July 3rd, 2023.
Did you catch our conversation with Kelsey Hightower on Changelog & Friends over the weekend? One of my favorite parts was when we were talking about the beauty of a 1.0 and the bloat that occurs when you just keep adding features to software.
We have so much fun on that show. Give it a listen if you havenāt yet. And if you dig it, tell your friends about Changelog & Friends.
Ok letās get into the news.
Lukas Mathis (author of Designed For Use, one of my favorite design-focused writers) takes up one of the problems with using streaks as a motivator:
losing a streak can be so demoralizing that it can be difficult to start from scratch, and get going again.
Iām in a glass case of emotion!
Iāve certainly experienced that myself. The worst part: the longer the streak, the harder the fallā¦ enter the concept of āstreak redemptionā
if your app has a streak feature, provide some way to recover from a streak loss after it has happened.
This could be a harder task that makes up for a lost day, or maybe a lost day is redeemed if the user manages to continue the streak for a certain amount of days, or perhaps itās something else.
I would love the opportunity to double my exercise ring for a day to reclaim yesterdayās failure! Letās start working this concept into every piece of software that tracks streaks.
Maybe youāve heard Craig Kerstiens tell us about JSON in Postgres and how the NoSQL movement came along and had something Postgres didnāt have until they added proper JSON support and then Postgres was pretty much back on par with the newer databases.
Looks like itās time to swap out the subject, rinse, and repeat. Hereās Jonathan Katz:
Vectors are the new JSON.
That in itself is an interesting statement, given vectors are a well-studied mathematical structure, and JSON is a data interchange format. And yet in the world of data storage and retrieval, both of these data representations have become the lingua franca of their domains and are either essential, or soon-to-be-essential, ingredients in modern application development. And if current trends continue (I think they will), vectors will be as crucial as JSON is for building applications.
There are a bunch of new vector databases on the market, but Postgres junkies should have no fear because pgvector is hereā¦
Similar to the PostgreSQL 9.2 days of JSON, weāre in the earlier stages of how we store vector data in PostgreSQL ā and while a lot of what we see in both PostgreSQL and pgvector is very good, itās about to get a whole lot better.
If finding errors in your backend project is like searching for a needle in a code haystack, Sentry can be your metal detector.
Not so sure about that? Join this FREE 20-minute session where two Sentry experts walk you through setting it up for your backend project in minutes. Plus, theyāre giving a sneak peak of some upcoming error monitoring features.
Sign up here to learn how you can reduce resolution time down from days to minutes in your backend project. What do you have to lose?!
Thanks to our friends at Sentry for sponsoring Changelog News.
Andy Jiang from Deno argues that CommonJS is hurting JavaScript. āJavaScript, the undisputed king of web development, is being sabotaged ā not by a rival language or a revolutionary new technology, but by its own baggage from the past. This insidious saboteur is none other than CommonJS, the antique module system that weāve tolerated for far too long.ā
He goes on to tell the history of CommonJS and how it was born before ES Modules were a thing but now he thinks it needs to go away.
Is it (already) time to scratch āPrompt Engineerā off your resumĆ©? Swyx thinks so:
We are observing a once in a generation āshift rightā of applied AI, fueled by the emergent capabilities and open source/API availability of Foundation Modelsā¦
I take this seriously and literally. I think it is a full time job. I think software engineering will spawn a new subdiscipline, specializing in applications of AI and wielding the emerging stack effectively, just as āsite reliability engineerā, ādevops engineerā, ādata engineerā and āanalytics engineerā emerged.
Check Swyxās full article to see why he thinks this is the rise of the āAI Engineerā and why āThis will likely be the highest-demand engineering job of the decadeā
Thatās the news for now! Of course, the companion email newsletter features many more stories and links, including: advanced macOS commands, GPT-Migrate, how NASA writes space-proof code, the deep history of who killed Google Reader, and much more.
If youāre not subscribed to the newsletter pop in your email at changelog.com/news. No spam, no tracking, just the freshens.
We have a great interview episode of The Changelog for you coming out on Wednesday. Adam and I are talkinā Efficient Linux at the Command Line with Daniel J. Barrett. Iāve been using Linux for 20+ years and I still learned a lot. Hopefully you will too!
Have a great week, forward this to a friend who might dig it, and Iāll talk to you again real soon.
Changelog
Our transcripts are open source on GitHub. Improvements are welcome. š
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK