2

Streak redemption, vectors are the new JSON, CommonJS is hurting JavaScript &...

 1 year ago
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.
neoserver,ios ssh client

Transcript

šŸ“ Edit 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. šŸ’š


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK