Jerod, Nick & Ali partake in a few rounds of Story of the Week, TIL, and Iām Excited about $X. Oh, and is TypeScript the new Java? Nick responds and emotes all over the place! š
Featuring
Sponsors
Raygun ā Never miss another mission-critical issue again ā Raygun Alerting is now available for Crash Reporting and Real User Monitoring, to make sure you are quickly notified of the errors, crashes, and front-end performance issues that matter most to you and your business. Set thresholds for your alert based on an increase in error count, a spike in load time, or new issues introduced in the latest deployment. Start your free 14-day trial at Raygun.com
Sourcegraph ā Transform your code into a queryable database to create customizable visual dashboards in seconds. Sourcegraph recently launched Code Insights ā now you can track what really matters to you and your team in your codebase. See how other teams are using this awesome feature at about.sourcegraph.com/code-insights
Square ā Develop on the platform that sellers trust. There is a massive opportunity for developers to support Square sellers by building apps for todayās business needs. Learn more at changelog.com/square to dive into the docs, APIs, SDKs and to create your Square Developer account ā tell them Changelog sent you.
Notes & Links
Story of the Week
- Deno raises $21m
- GitHub Copilot pricing announced
- Amazon Codewhisperer
- Brave Search Goggles
- RIP Atom
- hello, Zed
Today I Learned
Iām Excited About $X
Chapters
Chapter Number | Chapter Start Time | Chapter Title | Chapter Duration |
1 | 00:00 | Opener | 01:00 |
2 | 01:00 | Sponsor: Raygun | 01:32 |
3 | 02:32 | Intro | 00:44 |
4 | 03:16 | Story of the Week | 21:31 |
5 | 24:47 | Sponsor: Sourcegraph | 01:22 |
6 | 26:09 | Today I Learned | 12:50 |
7 | 38:58 | Sponsor: Square | 01:15 |
8 | 40:14 | I'm Excited About $X | 12:59 |
9 | 53:13 | Goodbye | 00:36 |
10 | 53:49 | Outro | 03:09 |
Transcript
Play the audio to listen along while you enjoy the transcript. š§
Hello, friends. Jerod Santo here, your internet friend, and I am excited to have a fun segments show for you today. Joining me are JS Party regulars, Ali - whatās up, Ali?
Hey.
And Nick. Whatās up, Nick?
Hoy-hoy. Glad to be here.
Glad to have the both of you. Today we are playing Story of the Week, we are playing Today I Learned, and Iām excited about X, where X is literally anything. Should we hop right into it?
Definitely.
Here we go.
Just when you think that jingleās over, thereās a little coup de grĆ¢ceā¦ Story of the Week. This is where we share various news stories, discuss them, and then rank them by best to worst, or ā I just made that last part up. We just move on after weāre done. We donāt do the ranking part. Nonetheless, we shall judge your submissions, even if I may have collected the most of these, and just handed them out to people to talk about. So Nick, what did I hand you to talk about today?
Well, Jerod, thereās this Deno project, and it raised $21 million in funding, so congratulations to them. Letās discuss.
Congrats to Deno. So weāve talked about Deno previously, weāve had shows with Deno folks, go back in the feedā¦ Ryan Dahl on the Changelog Podcast, andā¦
Kitson Kelly.
Yes, Kitson Kelly on the JS Party podcastā¦ Weāve also used Deno a little bitā¦ Iāve used it a little bit. Have either of you tried Deno out?
Yes, a little bit.
Ali?
I have not, but I did see a conference talk about it at Remix Conf and it was really interesting, especially ā it was on Deno deploy, and the speed at which you can deploy stuff on there is like unreal. Itās like basically instant to get something relatively small deployed, which is wild-wild.
That is wild. And I think that is part of their commercial offering, or their planned commercial offering, is deploy service. But then also other thingsā¦ Maybe Iām wrong on that. Is the deploy stuff part of their commercial offering, Ali?
Yeah, definitely. That to me seems like their big business model. From all that I can tell is that they have this serverless function deployment platform, and that seems to be their big business model. But it seems like people are already using it, too. I think Netlify is using them for their serverless functions.
Netlify also listed on the group of people who invested in this round of funding. So 21 million from Sequoia Capital, Nat Friedman, former CEO of GitHub on the list, Netlify on the list, Automattic, creators and purveyors of Wordpress.com, amongst other things. Tumblrā¦ Tumblr ownersā¦ What else? Pocket Casts?
Are they really? Thatās so funny.
Yeah, Automattic owns tons of stuff.
Wait, they own Pocket Casts?
They own Pocket Casts, yes.
Interestingā¦
Yeah. Itās a conglomerate now. Weird times.
Wow, thatās so funny.
So Ali, one thing you were saying before we started was that Deno kind of had the initial hype cycle and a lot of interest, because of course the pedigree, the fact that Ryan Dahl had these regrets about what he did with Node to begin with, and now it was like his chance for the big rewrite, rearrange the letters, change things up, have it be similar, but different in many crucial waysā¦ And that, of course, generated a lot of interest and a lot of early use, and people checking it outā¦ And it seemed like for a little while things got quiet, and people kind of quit, kind of went back to just ā well, it was nice. I mean, I checked it out, but Node and Deno, at a surface level - Iām not building big, complex applications; thereās not too much different between the two. But here they are, theyāre still raising money, theyāre still doing stuffā¦ So what do we think? Are people going to start to use this in real life soon, or are they? Thoughts?
It seems like the serverless thing is a compelling use case for it, and itās just really fast. Iām excited about that. I think that thatās where they can stay afloat with things. Iām also really excited about specifically the way that you can compile Deno into executables, that you donāt need a runtime forā¦ Kind of like Go in that way. So itās like a JavaScript solution to a runtimeless binary that you can ship. So you can write your command line scripts in it without having to āHereās the script. Go npm-install 10 million dependencies, and then run it.ā
Right. So you just install all the dependencies first, and then ship those to them as one big blob.
Yeah. I think it says a lot that the Twitter hype cycle doesnāt really mirror everything, right?
Yeah.
People arenāt tweeting about it 24/7, so it falls out of the front of your brain, I guess. But then theyāre still doing stuff, theyāre still building a tool thatās clearly going to help in some facet of the industryā¦ And maybe itās not going to be overnight that everybodyās moving from their Node Express apps to Deno, but it seems like for building really complex things, that need to be really performant, like deployment pipelines, maybe Denoās a really great option.
Noteworthy that Deno did just receive one of its first big full-stack frameworks in the open source world, Fresh. A next-gen web framework for Deno. So some of the stuff that Node has, of course, because of the years and years of community building things, itās just like all these tools that you can just get going with. Anytime you start brand new, fresh, you have to go ā oh, I didnāt mean to call it fresh again, but itās called Fresh. Anytime you start fresh, you need some fresh tooling, and so people are starting to build things, and get inspired by Deno, and do frameworks etc. So thatās a starting place.
What was interesting to me is like in this tech scene, which you all talked about recently with Kball - the downturn, right? All of a sudden money is expensive and scarce, and here comes $21 million thrown at Deno. So thatās kind of impressive. They convinced people to invest in them now. My guess is what Iāve learned a lot with these startups and announcing rounds is that a lot of that - maybe all of it, Iām not sure; this is just conjecture - was probably locked up, an already invested. A lot of times these rounds are closed for a while, but the companies just wait for like a strategic moment to make their announcement. So quite possibly, this money was all dedicated prior to the downturn. Maybe not, but likely.
Yeah. Thereās a pretty good chance, I would say. Normally, these announcements come after they get all the legal approvals and all that, and it was already on paper quite a few months ago. At least thatās been my experience working at different startups, is that you hear about these things way after they happen internally.
Which is great timing for the team, and it hopefully gives them a good runway to continue to build new stuffā¦ Because they are consistently putting stuff out, and so thisāll probably carry them through.
Alright, there you have it, Deno raising money, building cool stuff, and time will tell. Are you using Deno? Are you checking it out? Holler at us, @JSPartyFM on Twitter, or reply in the comments. Weād love to hear from people who are actually using it. Maybe theyāve left Node, and now they just reach for Deno every time. Weād love to hear from you.
Alright. Ali, what have you got? Story the week.
GitHub Copilot is no longer just a free beta type of product; they introduced the pricing model, so itās a real thing now. Itās going to be $10 a month, or $100 per year. And they do have free tiers for big open source projects and for students.
I think this is interesting in making waves on the internet, because itās basically a model thatās trained on the code thatās hosted on GitHub. So all the code thatās kind of uploaded by not GitHub themselves, but all these different contributors. And then theyāre charging for it.
So I think in general, Iām a very big proponent of like charging for developer tools, because I think people get locked into this like free open source model, and then it becomes that ā open source is just something that people do on nights and weekendsā¦ But there are actually a lot of companies doing this. But then on the other hand, thereās this kind of ethical, weird, gray area of ā itās basically just a model trained on everybody elseās code, and theyāre charging for it.
[11:58] Yeah. Well, I think you probably win this time, because I think this has been the story, as we record, June 23 - this has been the biggest story of this week, with everybody commenting and sounding off their thoughts, whether or not they think itās worth the money, whether or not they think itās ethical of what GitHub/Microsoft have done here etc. Nick, where do you stand?
Yeah, it is also kind of an interesting place, because this is a tool that is ā itās not really behind the scenes at all for a developer. Itās right there, in your face, all the time, suggesting things to you once you get it set up. So theyāve been pretty much auto-approving everyone who wants to join the betaā¦ And I think that itās free until August, sometime, as well. Itās the classic like drug model - you get a free taste, and itās right thereā¦
Yeah, the first oneās free.
Yeah. And thereās still a 60-day free trial, even after they start billing for it.
And free for students, I think.
Oh, yeah.
Yes, students and big open source projects are gonna continue to be free.
Itās something that once you get used to it, and you get used to the way that it suggests things to you, or like how to prompt it in certain waysā¦ For me, it solves the blank canvas problem of just like I need to do something, I donāt really know how to do it, Iāll start at Stack Overflow and maybe think about how I do this. I can just write a comment, see if it gives me anything goodā¦ But itās something; itās not a blank canvas to go from. Itās something.
So on the whole training on open source codeā¦ So go back in the feed, we have a whole episode; we asked a lawyer about GitHub Copilot, so we have like the legal ramifications coveredā¦ And itās very fuzzy in that regard. He doesnāt actually think theyāre doing anything thatās illegal. That was my summation of Louiseās take on that. But definitely go listen to the detailed conversation.
In terms of just like ā I mean, thereās legal and then thereās ethical. And these things overlap, but theyāre not one-to-one.
Yeah.
And so weāre talking about whether or not itās ethical. So from my perspective, I think they should have limited it to permissive licenses. I think they opened up a can of worms by training against GPL licenses. That being said, I donāt personally have a problem with āLetās train a model on all the open source code and create a cool tool around that.ā I feel like theyāre adding a lot of value. Theyāre not simply reusing. And as an open source denizen, I canāt get worked up about this. I know, thereās lots of people that are worked upā¦ It just doesnāt really bug me that much.
I kind of agree too, especially since so many GitHub projects are on the free tier, that people are not paying for GitHub to host their code in the first placeā¦ So I think thatās another argument as well.
Iāve worked at companies that have had like GitHub Enterprise, or a professional GitHub instance, or whatever, and I think that thatās something that a lot of companies are doing, but a lot of these projects that itās training off of might not to fall under that, too.
Right. And something I learned from Natalie Pistunovich on Go Time is that because itās OpenAIās model, and GitHub is creating the tooling using OpenAI Codex, a bunch of other companies can build their own Copilots, and are building them, using the same data, the same models. And so that is not going to be like a GitHub/Microsoft competitive advantage. Thatās like, everybody can have that, build from there, and then compete on integration, compete on the way it works, etc. And so we should be seeing maybe compete on price, come out with free/cheaper. And so I think thatās going to be good for all of us, is to have that competition.
Yeah. Itās probably not that hard to build either, to be honest.
I could do it in a weekend. [laughter]
I feel like youāre teeing up my next one there, Jerod.
Alright, go.
Along those lines, AWS has announced now in preview Amazon Code Whisperer, an ML-powered coding companion, as of today.
Thatās just fresh today. I havenāt heard of this.
Yeah.
So disclaimer, Ali works for AWS, so put that out thereā¦ Opinions all your own, I assumeā¦
Yeah. And Iām also very removed. This is the first time Iām hearing about it too, soā¦
[16:08] So youāve just found out about it on this show. [laughs] You didnāt get the memo, okay. So Nick, is this using a OpenAI Codex as well?
I donāt know. I didnāt see that as I was scamming ā
You were scamming? Why are you out there scamming people, Nick?
Scanning the articleā¦ [laughs] As I was scanning it. I scanned quickly to see if it would support my workflow, which it does not, because unlike Copilot, it does not support Vim, or Neovim, so I wonāt be trying it anytime soonā¦ But the prompts and the way that it responds does look very similar.
So quite possible. We will try to follow up. Maybe if somebody knows the facts on that, let us know for a follow-up. One thought I had about for the people who are super-mad that all of this stuff is trained against open source publicly available code is couldnāt you react to that by creating some sort of a subterfuge campaign where you just upload thousands and millions of really bad programs to GitHub? Maybe write a bot that would just write bad code. Or you know, hire me. I can crank it out.
Iām Pretty sure thatās happening.
And then just upload all that and be like āTake that, Codex! Train on this.ā And then youāre just tanking the tool, arenāt you? I mean, couldnāt you do that?
Iām pretty sure that they donāt need a bot for that. Thereās plenty of bad code out there.
Yeah.
That would be awesome.
Bad code.
I prompted, I was writing a shell script just two days ago, and in the shell script I wrote a comment like āNow Iām going to clean up the home directoryā, with like all of the extra files added in there, and it suggested a function that was literally rm/rf$home So thereās lots of bad code out there.
So you ran that, and then what happened?
I started seeing the matrix. It was amazing.
That reminds me of that episode of The Office where Michael and Dwight are driving directly into that lake. Have you guys watched The Office? And the AI assistant, the car GPS was telling him to go straight. And Dwightās in the passenger seat, yelling like āStop, stop!ā and Michael just drives directly into a lake because the turn-by-turn directions just told him toā¦ So kudos to you for not actually running that thing against your home directoryā¦
Alright, moving onā¦ We have our third story. This one I thought was kind of cool. The Brave search engine ā the Brave browser now has a search engine. Thatās not news. Theyāve had it for a little while; itās been kind of experimental, trying to compete with Google, DuckDuckGo and friendsā¦ And I used it for a little while, it was kind of like ho-hum, itās thereā¦ Itās I think maybe the default in Brave now, but you can switch to the other onesā¦ Until I learned of Brave Search Goggles, which is a brand new offering, an open source deal where you can actually modify and filter and apply some sort of goggles, so to speak, to all your Brave searches. And not only can you create these filters, but then you can package them up, share them with the community, and then have like single-click buttons where you search Brave search function with these filters on. And so the examples that they have on the homepage is you can create a Brave search, where itās called āNo Pinterest.ā So you can basically rerank the results to remove all pages or threads hosted on Pinterest. Thatās just one example. You can have a search thatās focused around left-leaning sources, if you want to just continue an echo chamber. You could also do that on the right side, and you can only have right-leaning sources, by ranking results to boost content from one of these new sources.
Thereās another one that focuses in on tech blocks. Thereās one called One Case Short, where instead of showing like the 1000 biggest sites that it hits, it shows you the 1000 smallest sites.
And so all these different ways that you can tweak and change the results, and then save those off as sort of like bookmarks, to kind of invent your own little search engine each timeā¦ Which I thought was kind of interesting. What do you think about that?
[20:17] Yeah, thatās really cool.
Yeah. I have solved this in many ways, not like by tweaking what it returns, but just by hiding what gets returned in other search engines, with like extensions and such. I donāt want to name any websites, I guess, that start with W, or 3, or a combination of thatā¦
[laughs] Youāre pretty close now. Do you want to just close the loop on that?
W3schools.
Thank you.
Or Experts Exchange.
Expert Sex Change. I mean, sorry, Experts Exchange. Thatās literally how itās spelled; I mean, talk about a domain hackā¦ Itās like hacking yourself. Alright, so thatās Brave search goggles, check it out. We will link to the GitHub page that explains how it works, how you can create your own syntax, how you can share the goggles with the worldā¦ Itās kind of cool. Itās just like a custom URL that you pass in in front of the actual search query into the URL. So these things are very web friendly, the way they built this, which I think is kind of neat. You know, nobodyās really been able to chip away at the dominant search engine, even though their results are like demonstrably worse.
Iāve used DuckDuckGo for yearsā¦ Itās just kind of been like ā itās there, itās just not Google, so I appreciate it, but itās not like it wows me with its results. And I end up having to do the ~g quite a bit to get to a Google result, because I just know itās gonna be the first hit, and then it isā¦
So there hasnāt been much innovation. Like, that was privacy-focused, this oneās also privacy-focusedā¦ It feels like thatās becoming a thing thatās going to be needed to go up against Google search. But it seems like this, like hyper-customization, hackery, providing like a completely different experience than what Google is providing might be a way that we can get better searches in our lives. So I thought it was cool.
Okay. Should we do one more? Letās do one more. Ali, close us out here.
Yeah, so one fun oneā¦ Or I guess itās more nostalgic than anything, is that the Atom text editor is shutting down. I havenāt used it in the years and years since VS Code took over, but I used to use it as my primary text editor for years. And so itās a little bit bittersweet, it makes me feel old that my first text editor ā or it definitely wasnāt my first text editor either, but an old one is shutting down.
Yeah, this was kind of one of those things where itās obviously eventually going to happen, but the day it did, we are kind of like āOh, no.ā
Yeah, as soon as Microsoft acquired GitHub, it seemed inevitable that they werenāt going to keep developing VS Code and, at the same time. But Atom did lead the way for VS Code and for Atom Shell, which became Electronā¦ And Tree-sitter is another thing that came out of Atom, which is like a syntax tree for source code for like a single fileā¦ And thatās now built into Neovim. So the fruits of that labor have expanded beyond just that editor, which is fantasticā¦ And it was a great project.
Yeah. Super-innovative, leading the way, especially in like browser, or web tech-based native tools, and the fact that it gained a lot of interestā¦ It was used by many people. I used it for a little while. It was never quite as fast as Sublime Text, just like VS Code isnāt either. So it never stuck, but I super-appreciated all the work there. And I agree with you, Nick, as soon as we knew that Microsoft owned GitHub and VS Code was so, so dominant in terms of developer interest, it just didnāt really make sense to continue both.
[23:57] Yeah. But it does look like the team behind Atom have started a new editor written around Rust, and itās called Zed.
Yes. Zed is not dead, despite what hope fiction might tell youā¦ Itās also not ready for primetime yet. We had Nathan Sobo on the Changelog years ago talking about Adam, and heās agreed to come back on to talk about Zed when heās ready. And he says Zed is not quite ready yet, soā¦ Thatāll happen, but weāre always interested for people who are innovating in the editor space, because even if you donāt use it, that innovation ends up pushing other people to change, adapt, improve their editor, so it will be interesting to watch.
Alright, weāre back. Ali had to hop off during the break because she wasnāt feeling well, so feel better, Ali. I hope youāre not too sick, and if you can shoot Ali some kind words, sheās @aspittle on Twitter. See how sheās doing.
Nick and I are going to power through and weāre going to share things that weāve learned.
Do you wanna go first, or do you want me to go first?
You go first.
Okay. So today I learned - technically, yesterday - by way of Simon Willison, who actually shared this on his TIL subdomain of his blog, where he shares things heās learnedā¦ This is really cool. Itās a one-liner for running queries against CSV files with SQLite.
So Iām not going to share the entire one liner, but basically, as long as you pass to SQLite 3 the command line tool this argument for the mode to be CSV, and then take a CSV file and import it, you can then pass that in; without any sort of modifications, just pass the CSV file, and then just run an in-memory version of SQLite that will just store it in memory until the command executes and then disappear immediatelyā¦ And run arbitrary SQL queries against it. Just like it was a database.
And so it goes and makes all the tables in memory, and stuffā¦ And I donāt know, itās fancy-fancy. And then it just all disappears when youāre done, and it just gives you your results of running that query.
So Simon found that out, itās super-cool. Iāll share the actual link in the show notes, so you can see the one-liner itself, butā¦ Itās one of these things where I was like āDang, I wish I knew that before.ā Iām glad I know that now.
One thing I do often for ā is it JS Danger? No, itās for Frontend Feud, is we get all of the responses in via Typeform. And then Typeform allows you to export to CSV, or .xlsx, or whatever. Actually, I think it is a CSV. And then Iāll open that up with numbers, and I will clean it up and normalizeā¦ Because weāre trying to aggregate - in the case of a survey like that for Frontend Feud, weāre trying to aggregate the top answers. But itās always a text field. It has to be. Like if we say, āWhere do you go to code when youāre not at home?ā we canāt provide dropdowns. It has to be free text. And so we get back ridiculous differences. So thereās like this normalization step, where itās like maybe you said, āI go to the beachā and then somebody else just wrote ābeach.ā Itās like, well, those are both beach. But one of them said, āI go to the beachā, and the other one said āBeachā, right?
So thereās like this data cleansing process that I go through and just kind of like manually massage things into right order. And then I want to query it. Well, now itās a stinking numbers file, right? So I export that to CSV, and now I have everything clean in a CSV file, but I want to query it with SQLite. And so then I take the CSV and I convert it to a SQLite database, and then I open it in the SQLite command, and then I run my queries. And then I do this over and over for each column, because each column is a question. And so itās just too many steps. And TIL I donāt have to do all those steps. I can just take that CSV, I can run this one-liner and put my queries in there, and it just can immediately spit out the answers without having to go through conversion, enter a program, run a query, exit the program, conversion. So Iām kind of excited.
Yeah, thatās really cool. I love tools like this, that just make it easier to work with data in different ways.
100%. And SQLite is so versatile, and so old. I mean, itās been worked on for so many years that thereās all these little hidden features in it that you would never know, because theyāre hidden behind this command line flag, you know?
Yeah.
Thatās neat. So Iām very thankful for Simon Willison for exposing that to the world and teaching all of us, so that we can do things a little more productively, and share that with you all as well. Hopefully, itāll help you. So thatās mineā¦ What about you?
Mine is kind of along the same linesā¦ Tell me, Jerod, have you ever used a command line utility called fzf?
Fuzzy File Finder?
Yeah.
Yes, I have.
Fuzzy Finder. Yeah, I integrate that into everything. So I can hit anywhere to get like command ā as Iām typing, if I want to autocomplete like a path to a file, I just hit Ctrl+T, and then I just start typing the file name, and itāll fuzzy-find a list down to exactly what I want. And then just, once I hit Enter, paste the path to that file in right there. Or I can hit Ctrl+R, to search through my history, fuzzy-find through my history and find things.
Oh, okay. So you replace like where grep would be, or ā itās not even grep, because grep goes into files. Does fzf search inside the files, in this context, or just the file names?
It doesnāt do any of that, and it also kind of does all of that, because it doesnāt do any of thatā¦
Okay, Iām intrigued. [laughter] It does nothing at everything.
Yeah. [laughs] You can just take anything and pipe it to fzf and then fuzzy find through that.
I see
So you can take your grep results and fuzzy-find through that.
So if you take a directory list or a list of directories and then fzf it, youāre basically doing a file name search, or directory search. Gotcha.
Yeah, exactly.
But if you take the contents of your file, like if you cat a .ts file and send that to fzf, now youāre searching word for word, or whatever.
[32:14] Yeah, exactly. I do do that through ā I use a tool called ripgrep to find things. Itās like a Rust based, you know, ack, or Silver Searcher, or one of those variants; like a beyond grep, not better than grip. And you just pipe the results.
Well, theyāre trying to be better than grep though, right? Otherwise whatās the point.
Yeahā¦ I think xurl used to be better than grep.com, or something like thatā¦ And now itās beyond grep. Just aā
Yeah. Itās a little nicer.
Because it doesnāt need to have that rivalryā¦
Right.
Anyway, thatās just so cool. And my TIL is not fzf, because Iāve been using that for yearsā¦ But I was teeing that up as a way to visualize what Iām about to show you. Have you ever heard of another tool called jq ?
jq for searching in JSON?
Yeah.
Yes.
Itās like a query language, so it kind of ties into what you were talking about a little bitā¦ But itās for JSON files. And so you can type the syntax and search through a JSON file, and get out like a specific piece of ,that you could modify in the JSON file in different waysā¦ But when I use that, I constantly have to have the reference open to figure out what Iām actually doing. Thereās also online tools that let you like paste some JSON in one side, and then write a query, and itāll show you the results on the other side. Kind of like a tool that youād use for doing regular expressions. And thatās really cool, but kind of marrying the two of those together is a tool that I just found the other day called jqq. And it is a visual wrapper around jq, that kind of does the fzf type thing where as youāre writing out your query, itās live showing you like a preview in like virtual text of exactly what would get returned by what youāre querying as you go. So you can kind of use that as a nice tool to build out your jq syntax, or your jq query, and in real time get that feedback.
That sounds super-useful, because Iāve never found jq syntax to be good for meā¦ Or how do I say itā¦?
I didnāt want to say itā¦
Easyā¦? Well, just for me; itās not like blaming anybody. It just doesnāt make sense in my head. Iāll just cat my JSON and pipe it into grep and find what Iām looking for. Or open it up in Sublime Text, which handles JSON files quite easily, and do Command+F inside of there.
Yeah.
Because every time I have to use jq, I have to feel like Iām learning the query language for the first time, because I use it infrequently. I think if I used it daily, it would be less so. So it sounds like this is really great for discovering how that query language works more in a tactile way.
Absolutely.
So thatās cool, jqq. Alright, in lieu of Aliās TIL, I have another idea, which is today I responded to Mikeal Rogersā tweet. So Nick, I would like a live response from you, an admitted TypeScript fanboy, from a tweet by Mikeal Rogers, former JS Party panelist - maybe even future JS Party panelist, but he hasnāt been on a while - when he today said āTypeScript is the new Java. If that makes you happy, itās because itās true. If that makes you angry, itās because itās true.ā So first question is, does that make you happy or angry? Second question is do you agree or disagree? Hot takes. TypeScript is the new Java.
You put me on the spot like thisā¦
Your thoughts.
You know, when I first started learning TypeScript, or being forced to learn TypeScript, I thought the exact same thing. I was like āThis is Javafying my code, and I donāt like it, because itās too verbose, and Iām not being productive.ā And I was especially salty on it because you spend a lot of time writing this type of code that doesnāt actually get run, and it doesnāt have any effect.
Right.
But that said, I donāt know, I donāt have a healthy relationship with Java, if Iām honestā¦ So I donāt like comparing those, because I love TypeScript.
So this makes you angry.
It does.
The answer to the question is angry. Heās angry.
Because you like TypeScript, but you donāt have a healthy relationship with Java.
Yeah. My only Java experience is working on a struts 1 application, which was not fun. I quickly went over to the JavaScript side, because I didnāt want to ā I just did not like it at all.
I used Java just enough to know that I never want to use this language again, and I quickly went to other things, and stayed elsewhere, and have managed to avoid it my entire career since that point. And so thatās also my tactic with TypeScriptā¦ [laughter]
Okay, so thatās your hot take, it makes you a little angry. But you thought that yourself, so you think his comparison ā do you think him saying āTypeScript is new Javaā, do you think thatās inappropriate, or do you think that heās onto something there? Whether you like it or not, is there something to it?
I mean, I donāt knowā¦ You donāt have all of the baggage of Java, right? I donāt knowā¦ I donāt know.
Okay, so thereās your hot take. He doesnāt know. Heās angry, he doesnāt know.
You get the benefits of ā like, to write TypeScript, what do I have to know? I have to know how to use Node a lot. I have to know JavaScript. Itās not going to save you from learning JavaScript. You know what I donāt have to know? I donāt have to know Maven, I donāt have to know Gradle. I donāt have to public static void main, args string arrayā¦ I donāt have to know any of that. I just start writing a script, and if I want to add some types to it, I add some types, and it makes it better for me when I come back to it, for sureā¦ But all of those bad things arenāt there, soā¦ Iāve come around; I also think that TypeScript has gotten a lot better with its tooling. It was pretty rough in the 1.0 days, for sure.
Can you tell me what youād have to type in TypeScript in order to export a default function that has a certain return value, or something? What would that be?
It would be export default function, and then you can name it, or not name itā¦ And then you could just implicitly let it figure out the type of the return based on what you return. You donāt necessarily have to give it a return type.
So export default function main and then some sort of ā doesnāt that sound a lot like public static voidā¦
You forgot the in thereā¦ [laughter]
Yeah, yeahā¦ Alrightā¦
[laughs] But that public static void main is inside of some class that you have to have, right? Because everything has to be a class in Java.
Truth.
Alright, youāve acquitted yourself quite well. Take that, Mikeal Rogers. Theyāre different, okay? Nick Nisi says so. Alright, letās take the next break. Weāll be right back.
Alright, weāre gonna close up this conversation with a fun little segment where we just share things that excite us currently. So we call this āIām excited about Xā, where X is literally anything. Nick, what are you excited about these days?
Well, I just got back from Amsterdam, and the JS Nation and React Summit conferences, where I was there for JS Partyā¦ And one thing that was introduced there that was really cool - and itās out on YouTube now - is the Svelte Origins documentary. I think that itās a fantastic watch. These types of documentaries that are just like really high quality, interviewing people that weāve had on this showā¦ You know, Swyx is prominently interviewed in there, Amelia Wattenberger is also interviewed in thereā¦
Nice.
So thatās really cool. And itās just super well done, and it gets you excited about these things. And Iāve never used Svelte, but Iām excited about Svelte, and Iām happy that it exists, and I want to use itā¦ But even though Iāve never used it before, I was fascinated by watching this half-hour documentary, and I think you should check it out.
Yeah. Is this by the Honeypot team, or is this a different one?
So I donāt know the story, but yes, itās OfferZen, and I think that itās like theyāre now doing those documentaries for OfferZen instead of Honeypot, or something like that.
Yeah, super cool. I have been very impressed by these documentaries. I know there was one about Elixir, I think there was one about ā was it Node.js? I know theyāve done a handful. Vueā¦ Iām pretty sure Vue has one. Vue.js, the documentary.
Yup.
So they are practiced at this. Itās like a professional video team. This is like a documentary, right? I mean, you could throw it on Netflix. Netflix for programmersā¦ which is basically YouTube, I guess. [laughs]
And they go like all over the world for these, to put these together. As far as YouTube videos go, itās a high budget YouTube video. They went and interviewed Orta Therox, formerly of the TypeScript team, and they interviewed him in his office at home, and you could see how he works, you could see how other folks in their offices work, and itās just a really high-quality documentary.
And they take a long time to produce as well. I know when we had Rich Harris on the show last, which Iām just frantically searching to find out when it wasā¦ Back in December, episode 205, āSo much Svelty goodnessā, Amelia and Amal were on that episode. And when we were recording it, Amelia had already been interviewed for this.
Oh, really?
Yeah. So I just know that it takes a long time for these to finally get put together, especially if youāre traveling around the world getting these interviews. And I think Rich had already been interviewed for it back then as well, and that was like six months ago.
Oh, wow.
So who knows how much effort, time and thought have been put into these? A super-cool thing. How fun would it be to have an open source project thatās so beloved that somebody makes a documentary about it? It has to feel pretty good?
Absolutely.
We should start one. What should we do?
Iām thinking of something funnyā¦ [laughter]
Okay, letās not start one. That was our big chance, Nickā¦
Yeah, I knowā¦ [laughs] Kind of along these lines though, Iāll throw out another YouTube channel that does similar things, but not like developer-focused, although it is kind of very adjacentā¦ Itās Noclip. Have you ever watched any Noclip documentaries?
No, I donāt know about this.
These are video game documentaries, and they are fantastic. I watched one about Doom. Itās just called Doom Documentary, and thereās a couple of parts to it.
Okay.
[44:05] But they also have one thatās like the story of CD Projekt, Red, or a Half-Life documentaryā¦ And itās not just like them documenting themselves playing a gameā¦ For the Doom one, they went to id Software, and they interviewed John Romero, and talked about what went into it. And they talked to the composer of the music. I think Mick Gordon is his name. And just talked about what went into that.
And as Iāve been playing games, because Iām very late to the video game scene, Iāve been watching these Noclip documentaries for these games that have been out for years that Iām just now getting around to, and itās just a fun supplemental to it. And Iām just fascinated by the stories that go into how those games get made, how they get the voice actors that they wantā¦
Totally.
ā¦or things like that. And so, yeah, some of my favorites are the Doom one, the Hitman oneā¦ And thereās a fun paranormal game called Control that they have one on as well.
Definitely weāll have to check that out. Link that up for us, weāll get it into the show notes for folks. Noclip video game docs. Very cool. Well, I brought a couple of things that Iām excited about - one online, one offline. Letās start in meatspaceā¦ Iām excited about Kan Jam. Have you ever played this game?
Kan Jamā¦ Yes. Is that with a frisbee?
Yes. And the trash cans?
Yeah.
Itās so much fun.
I have that in my garage right now. Itās super-fun.
Yeah. Itās summertime here in the States, and people are starting to have barbecues, and here comes the 4th of July, so itāll be a lot of outdoor activities going on. And this Kan Jam game couldnāt be any simpler. Itās effectively two trash cans - theyāre not actual trash cans, theyāre just like plastic. But you could make it with a couple of trash cans. With a kind of a mailbox-looking slot cut out of the side of each, and you set them anywhere from like 15 to 25 feet, depending on how good you are frisbee, apart from each other, with the mailbox lats facing each other. And itās two teams, you stay on either side of the of the cans, and you have a Frisbee that youāre just throwing, and youāre trying to throw it either into the slot, which is an instant win, or into the top of the deal, the trashcanā¦ [laughs]
The canā¦
The canā¦ [laughter] I just forgot how to use wordsā¦ Which is like three points or something, or hit the outsideā¦ Anyway, thereās a point system. On the other side, youāre trying to work with your teammate to help direct it to the can. So like if the person misses with a Frisbee - because itās not very easy - you can like slap at the can to get points as well. Just one of these games that are so simple that you think āWhy didnāt I think of that?ā and yet so brilliant that youāre like āI want to play this all day long.ā
And so Kan Jam - weāll link up the main website, if you havenāt heard of it. Itās cheapā¦ Itās actually easy to travel with, because the plastic cans just like unconnect, and they can lay flat, and then youāre basically just carrying a Frisbee with you. So itās really portable. Take it to the beach, take it camping, what have you. Kan Jam, so fun. So exciting.
The sophisticated cornhole.
Yes. For people who prefer to throw at trash cansā¦
Yeah. [laughter]
The sophisticated folks. So Kan Jam is my offline, and Iām excited to play that here over the summer break. And then my online is lofi.co. Have you heard of this website, lofi.co?
I have not.
So if you are into LoFi music while youāre coding or while youāre writing or while youāre studying, or whatever youāre doing, thereās always playlists on Spotify, and thereās YouTube channels that are just like 12 hours of LoFi, right? Well, lofi.co is an in-browser experience where you can set up different circumstancesā¦ So itās like a cool coffee shop, and itās all hand-drawn and kind of animated, or itās like a street cornerā¦ And you can play LoFi music, as well as like turn on rain, and traffic, and people typingā¦ And just right there in a browser tab craft your own environment for productive work in the browser. You can also upgrade for like 20 more scenes, and sign up, and blah, blah, blahā¦ I havenāt done any of that. I just load up lofi.co, hit Play, turn on the rain, and forget about it. Very exciting.
[48:25] I think potentially they can turn this into a money-making endeavor. Pretty cheap, itās like three bucks a month, or $100 for lifetime access. It gets you like wallpapers, a Pomodoro timer, a notepadā¦ Stuff that I donāt really care about, but like cool add-ons to support their work. And itās just a really cool in-browser little web app that plays LoFi music for you.
Yeah, thatās really cool. I have never really coded to LoFi musicā¦
No? How about like rain sounds, and lightning, and stuff?
Yeah, occasionallyā¦ Although, I donāt knowā¦ Iām very random with my music. Lately, it seems like Iām ā
ABBA?
Iām never out of a meeting long enough for me to turn on anything like thisā¦
Thatās kind of sad. I have a similar struggle where, you know, Iām editing or producing podcasts so much that it requires me to actually be playing those sounds. So like Iām playing our music, or Iām listening to conversations and Iām editing and stuffā¦ And so thatās like very workflow similar to coding, in that you zone and get into it, and youāre engrossed, only it completely requires your ears to be the entire timeā¦ Whereas coding is kind of the opposite, right? You can disengage your ears if you want to. And so when I do have a coding session set up, Iām like āIām ready for somethingā because I miss my music. I donāt get to listen to music as often anymore because Iām so often producing a podcast that when it comes time to actually code, Iām ready for something like this.
Yeah, I love it. It seems worth checking out just for the wallpapers alone, even if youāre not going to you use that. You said that you can get these as wallpapers?
Yep. If you sign up, you can download them as wallpapers. Whatās cool about it is itās completely ad-free. Itās unlimited music streaming. So itās not the kind of thing where they really hold you hostage right away. I found another cool one a while back called maybe brain.fm, or something. And thereās a lot of studies that like this stuff actually does help you be productive and get in the zone. This kind of background noises, and music like thisā¦
Yeah.
And so brain.fm I think was like one that gets you ā but it was so much like always upselling you on buying the thingā¦ And I like how this oneās like āHey, just chill, listen to itā¦ā I mean, theyāre competing with ā thereās YouTube channels thatās just this all day long. Itās completely free. Maybe with ads. And then Spotify also free, but with ads, unless youāve upgradedā¦ This one is just like completely free, completely unlimitedā¦ Come, come hang out, listen to our tunes, and then like āHey, want some wallpapers?ā
You know, occasionally I listen to other podcastsā¦
How dare youā¦?
I know. [laughs] But one thing I did learn from one of them was like somebody ā I canāt remember exactly. Iāll try and find the link for the show notes, but on the podcast she mentioned that she puts on like a four-hour video from YouTube that is just a guy working at his desk. And itās just like if you were on a Zoom call.
Wow.
They donāt talk. He doesnāt talk, she doesnāt talk to him, but when he gets up to take a break, she stretches, or takes a breakā¦
So she takes a break when he takes a break?
Yeah, yeah. Itās just like theā
Like theyāre co-workers.
You know, theyāre working from home, but feeling like youāre actually there.
Gotcha.
Youāre maybe working with ā working alone, but with someone else, if that makes sense.
Yeah. What if you have to use the restroom and heās not ready to get up yet? I mean, you just kind of ā you donāt want to be rudeā¦ Hold it?
Yeah. Thatās the benefit, you can just pause.
Pause the video, yeah.
I wish I could do that in real meetings. [laughs]
Thatās kind of interesting. A little weird, Iām not gonna lie, a little bit weirdā¦ But you know, whatever floats your boat, whatever gets you productive, I guess.
[52:01] Thatās the thing though. I love that thereās so many different ways to, likeā¦
Cope?
ā¦fight the procrastination or the sense of feeling isolated or alone. Thereās different ways to do that, and thereās different ways to help you with your focus, whether thatās brain.fm, whether thatās LoFi, whether thatās heavy metal video game music. I mentioned Doom beforeā¦ Iāve been listening to the Doom 2016 soundtrack, which is like ā itās okay. Thereās a lot of cutscenes with like demons speaking, which is not super-great, butā¦
That might ruin your flow. I canāt go really high BPM when Iām thinking, because they tend to get me agitated, or too excited. I think I kind of need it a little bit more mellow.
Yeah, yeah.
And the demons - that I donāt like the demons while Iām trying to think either.
Yeah, yeah. Iāve mentioned it before, I know I have, but like my go-to soundtrack is the Westworld TV show soundtrack.
Oh, you have mentioned that, yeah.
Itās like piano versions of popular songs.
Yeah, thatās super-cool. Have you ever listened to the String Quartet?
Yesā¦
Itās the same thing, only itās all strings. Theyāre always doing popular songs. Very cool. Plus, most of the good songs, you take the lyrics out and the songās actually better. Thatās just my thatās my opinion.
Absolutely.
Very cool. Well, we will link up all the things. Kan Jam, LoFi, jqq, Svelte Documentary, other thingsā¦ I canāt remember, weāve talked about so much. And thatās what weāre into right now. If you are excited about something thatās an X, where X is literally anything, you can tell us about it. Weād love to hear from you. Let us know in the comments. You can tweet at us as well at jsparty.fm. Nick is @nicknisi, Iām @jerodsantoā¦ And thatās all Iāve got. Nick, do you have anything else?
Thatās it.
Alright, on behalf of Nick Nisi, Iām Jared Santo, this is JS Party, and weāll talk to you all next week.
Our transcripts are open source on GitHub. Improvements are welcome. š