The Changelog: Software Development, Open Source - How to write a good comment (News)
Episode Date: November 6, 2023David Hugh-Jones has a lot to say about what makes a good comment, Hugging Face released a distilled variant of Whisper for speech recognition, The New Stack reports on C++ creator Bjarne Stroustrup�...�s plan for bringing safety to the language, Jeff Sandberg declares that CSS is fun again & Jose M. Gilgado praises the beauty of finished software.
Transcript
Discussion (0)
What up nerds, I'm Jared, and this is Changelog News for the week of Monday, November 6th,
2023.
Elon Musk's XAI announced their first AI model over the weekend.
It's called Grok, and it's modeled after the Hitchhiker's Guide to the Galaxy. Musk's Grok joins Zuckerberg's Meta as now the second blatant attempt to destroy all my favorite words.
Okay, let's get into the news before I get even more upset.
David Hugh Jones has a lot to say about what makes a good comment.
He's not specifically talking about code comments, or commit message comments, or even issue comments, but online comments in general.
His advice, however, certainly applies in those contexts.
David says, quote,
Most comments are a waste of time to read and write.
Yet, online debate is now central to politics and culture.
So, making people better
at commenting would be a useful thing to do. End quote. What follows is a litany of actionable
things you can do to improve your online commenting. He starts with, know why you're
writing. Otherwise, you're the sucker. Understanding your venue is also important,
and brevity is the soul of wit okay that one's
shakespeare's but david agrees when he says quote short words sentences and paragraphs are easier to
read prose stuffed with long words will make stupid people think you're smart and vice versa
end quote there's so much good advice here i could could read you the entire article, but I'll stop right here to keep it brief
so as not to disappoint Bill Shakespeare.
Hey, Dad, I can't see real good.
Is that Bill Shakespeare over there?
Hugging Face released a distilled variant of Whisper
for speech recognition.
It's English only and optimized to the hilt,
which resulted in running six times faster
while being 49% smaller
and performing within 1% word error rate from the original model. It's designed to be a drop-in
replacement, and the Hugging Face team cites five reasons why you might use it. Faster inference,
robustness to noise, robustness to hallucinations, designed for specular decoding,
and permissively MIT-licensed.
This looks great, but I'm still waiting on speaker diarization.
The Newstack reports on C++ curator Bjarne Stroustrup's plans for bringing safety to the language.
Speaking at this year's CPPCon, Stroustrup addressed critics who say the problem is C++ itself
and that the solution is switching to another language.
He says, quote,
Often, the safety mentioned is just memory safety. That's not enough.
And the need to interoperate with other languages, including C++ and C, tend not to be mentioned.
Plus, the cost of conversion can be ferocious. That's rarely mentioned. End quote.
He then went on to lay out his plan for the future of C++,
which includes a new concept called profiles.
A profile is a set of rules which, when followed, achieves specific safety guarantees.
His suggested standard profiles start with type safety, range, and arithmetic.
This is very much a work in progress,
but he has a public GitHub repo called profiles that we'll link up where you can go to learn more and get involved.
It's now time for sponsored news.
AppRite helps you build secure and scalable applications with less code, add authentication, databases, storage, and more using AppRite's development platform.
And they just recently unveiled a completely overhauled brand,
website, and experience.
At the core of this redesign
is an upgraded website
and importantly,
enhanced docs featuring specialized tutorials
to guide you through project setup
and feature implementation step-by-step.
If it's been a while
since you've checked out
what AppRite is up to,
or if you've never heard of them,
there's no better time than now.
Take a look using the link in your show notes. It's also in your chapter data for easy click-ins. Thanks again to AppWrite for sponsoring this episode of Changelog News. Jeff Sanderson
declares that CSS is fun again. Quote, CSS has been undergoing a quiet renaissance lately. Lots
of big features, which previously required an external tool to use, are now native parts of End quote.
The big features he's referring to include custom properties, nesting, color mix, containment and style queries,
and many smaller features which he thinks really add up. So much so that pre and post processors
are no longer required even though he still uses them on larger projects. But for small,
simple projects, he doesn't use them at all. Just pure CSS. Bundle these CSS advancements with modern JavaScript features like ES modules
and HTTP3, and perhaps the days of web dev build steps are drawing to an end.
Jose M. Gilgado writes about WordStar 4.0, a popular word processor from the early 80s.
Quote, as old as it seems, George R.R. Martin used it to write A Song of Ice and Fire.
Why would someone use such an old piece of software to write over 5,000 pages?
I love how he puts it.
Quote, it does everything I want a word processing program to do, and it doesn't do anything else.
I don't want any help.
I hate some of these modern systems where you type up a lowercase letter and it becomes a capital.
I don't want a capital. If I'd wanted a capital, I would have typed a capital. End quote. End other quote.
Jose goes on to praise the beauty of finished software.
He says finished software is software that isn't expected to change.
And that's a feature because you can rely on it to do some real work.
For me, the stream of constant updates and changes to software are both virtuous and troublesome.
It's a beautiful thing when your tools improve overnight.
You don't wake up in the morning and expect your trusty old hammer to have some new functionality,
but this happens all the time in the software world.
On the other hand, you can also trust your hammer to work exactly the way it did yesterday.
How many times have you launched a software tool only to find its maker has rearranged things,
ruining your workflow in the process?
Jose finishes up by saying, quote,
In a world where constant change is the norm, finished software provides a breath of fresh air.
It's a reminder that reliability, consistency, and user satisfaction can coexist in the realm of software development.
So the next time you find yourself yearning for the latest update,
remember that sometimes the best software is the one that doesn't change at all.
That is the news for now, but don't forget to scan the companion newsletter
for more interesting bits that didn't make the audio.
If you aren't a subscriber, get in on it for $0
at changelog.com slash news. We have an awesome week of podcasts coming your way.
Cory Doctorow returns to the changelog for a very serious conversation about the future of the
internet. And Matt Ryer returns to changelog and friends for a very not serious conversation
about the history of internet worms. Have a great week. Tell your friends about changelog and friends for a very not serious conversation about the history of internet worms.
Have a great week.
Tell your friends about changelog news
if you dig it.
And I'll talk to you again real soon.