In short
The Changelog: Software Development, Open Source
Episode Summary
Antirez Returns to Redis!
Podcast Overview
- Podcast Title: The Changelog
- Description: Weekly news brief and technical interviews regarding software development and open source.
- Episode Title: Antirez Returns to Redis!
- Episode Description: Salvatore Sanfilippo (Antirez), the founder of Redis, discusses his return to Redis, the journey of the technology, licensing changes, AI integration, and future prospects.
---
Key Points and Discussions
Introduction
- Salvatore Sanfilippo ("Antirez") returns to discuss Redis after a long hiatus.
- Reflects on how the tech landscape has changed since Redis’s inception.
Redis Backstory
- Redis was built during a challenging time in Sanfilippo's life, fueled by a need for focus and a desire to create effective software.
- Redis is based on old ideas compiled in new ways, emphasizing the importance of community in its success.
- Initial motivation stemmed from a background in security and embedded systems.
Evolution of Redis
- Redis started as an open-source project but faced challenges transitioning to a business model.
- Sanfilippo's commitment to the community and early users laid the foundation for Redis’s growth.
- Redis's initial popularity grew through word of mouth and a supportive community.
Licensing Changes
- Discussion on the transition from BSD to SSPL (Server Side Public License) and the implications on open source.
- Sanfilippo expresses a desire to explore moving back to open-source licensing, particularly AGPL, due to community feedback.
- The tension between business interests and open source principles is highlighted.
AI and Vector Embeddings
- Sanfilippo discusses the integration of AI and vector embeddings into Redis, opening new possibilities for data handling and analysis.
- Emphasizes the need for Redis to adapt to the changing tech landscape, particularly with AI advancements.
- The upcoming release of vector sets is positioned as a significant enhancement to Redis capabilities.
Community and Company Dynamics
- Redis has grown to a considerable size, with around 1,000 employees, primarily in Israel, passionate about the project.
- Sanfilippo notes that many developers within the company share a deep commitment to improving Redis and engaging with the community.
- Innovations and contributions from the community are crucial for Redis's ongoing development.
Future Prospects
- Anticipation of Redis's future direction with a focus on AI and open-source principles.
- Discussion on the importance of simplicity and utility in software development practices.
- Sanfilippo reflects on the overwhelming complexity in current software systems and advocates for streamlined processes.
---
Key Takeaways
- Community Importance: The success of Redis is intrinsically linked to its community, which fosters trust and contributes to innovation.
- Licensing Debate: The conversation surrounding Redis's licensing reflects broader tensions in the open-source community about monetization and accessibility.
- AI Integration: AI and vector embeddings represent a new frontier in data manipulation and processing for Redis.
- Company Culture: The current Redis team is characterized by a deep commitment to the project's ethos and user engagement.
- Simplicity in Software: A recurring theme is the need to reduce complexity in software development to enhance productivity and maintain software quality.
---
Closing Thoughts Salvatore Sanfilippo's return to Redis represents a significant moment for the open-source community, as he aims to reinvigorate the project with a focus on community engagement, AI capabilities, and a potential return to open-source principles. The conversation underscores the evolving landscape of software development and the challenges of balancing innovation with simplicity.
Episode Links
- [Redis Official Website](https://redis.io/)
- [Augment Code](https://augmentcode.com)
- [Retool](https://retool.com)
- [Temporal](https://temporal.io)
Note For more in-depth discussions and insights, listen to the full episode of The Changelog.
Written by AI. May contain mistakes. Listen to the episode to check what was said.
Transcript
Automatic transcript. May contain errors.0:03what's up friends welcome back this is the change log we feature the hackers the leaders and those building redis yes salvatore sanfilippo is joining the show today the maker of redis so cool salvatore shares the backstory on redis how it came to be how he left how it was open source how it was not open source how he came back and honestly how it might be open source once again we'll see and yes we could not leave artificial intelligence ai out of this conversation vector embeddings fun things happening in Redis and AI is obviously a part of the story. A massive thank you to our friends and our partners over at fly.io.
0:48That's the home of changelog.com. Fly is the public cloud built for developers who ship. That's you. That's me. That's us. Developers shipping software. So amazing. Go to fly.io to pull your app in five minutes. Again, fly.io. Okay, let's talk Redis.
1:17well friends i'm here with scott deaton ceo of augment code augment is the first ai coding assistant that is built for professional software engineers and large code bases that means context aware not novice but senior level engineering abilities scott flex for me who are you working with who's getting real value from using Augment code? So we've had the opportunity to go into hundreds of customers over the course of the past year and show them how much more AI could do for them. Companies like Lemonade, companies like Kodem, companies like Lineage and Webflow, all of these companies have complex code bases.
1:56If I take Kodem, for example, they help their customers modernize their e-commerce infrastructure. They're showing up and having to digest code they've never seen before in order to go through and make these essential changes to it, we cut their migration time in half because they're able to much more rapidly ramp, find the areas of the code base, the customer code base that they need to perfect and update in order to take advantage of their new features. And that work gets done dramatically more quickly and predictably as a result. Okay. That sounds like not novice, right? Sounds like senior level engineering abilities.
2:30sounds like serious coding ability required from this type of AI to be that effective. 100%. You know, these large code bases, when you've got tens of millions of lines in a code base, you're not going to pass that along as context to a model, right? That would be so horrifically inefficient. Being able to mine the correct subsets of that code base in order to deliver AI insight to help tackle the problems at hand. How much better can we make software? How much wealth can we release and productivity can we improve if we can deliver on the promise of all these feature gaps and tech debt? AIs love to add code into existing software.
3:10You know, our dream is an AI that wants to delete code, make the software more reliable rather than bigger. I think we can improve software quality, liberate ourselves from tech debt and security gaps and software being hacked and software being fragile and brittle. There's a huge opportunity to make software dramatically better, but it's going to take an AI that understands your software, not one that's a novice. Well, friends, Augment taps into your team's collective knowledge, your code base, your documentation, dependencies, the full context. You don't have to prompt it with context. It just knows.
3:43Ask it the unknown unknowns and be surprised. It is the most context aware developer AI that you can even tap into today. So you won't just write code faster. or you'll build smarter. It is truly an ask me anything for your code. It's your deep thinking buddy. It is your stay in flow antidote. And the first step is to go to augmentcode.com. That's A-U-G-M-E-N-T-C-O-D-E.com. Create your account today. Start your free 30-day trial. No credit card required. Once again, augmentcode.com.
4:35today we are catching up with salvatore san filipo you may know him as anti-res you may also know him as the creator of redis i say catching up because you have not been on the show since 2011 gosh that's a long time welcome back thank you thanks for inviting me let's say forever ago, Jared. It's the beginning almost. Different times. Those are different times for sure. Different times for sure. Not mainstream tech, underground tech, as you said. We were younger. We were all much younger. Yeah, like 13 years younger. Yeah, it was a different environment with there was still the spirit, you know, even maybe IRC news groups were starting to fade.
5:20There was still this spirit of like community what you made uh it's cool let's uh collaborate about that it was a lot of underground thing uh and uh you know i i believe that uh on the average programmers are very nice to each other are very good at communicating with uh with each other and And in general, I believe it was a very nice environment. And in some way, I miss that, but maybe it's just that I am old. Rose colored glasses, we all put them on from time to time and look back at the old days. Well, we're still talking Redis though. I mean, 15 years later, and we're still talking Redis. Had it been a few years back with you on the show, we probably would not have been talking about Redis so much.
6:11That's part of the story. but can you go back to the beginning for us and why you built redis in the first place first of all thank you so much for building that piece of software it's been so influential i've used it for many years you know dozens hundreds thousands hundreds of thousands of people have also deployed it and you know helped improve their lives so thank you for creating it but can you go back to us go back to the beginning and and tell us why and how and when where actually thank you for for using it because if you think at Redis, even if it compiles certain ideas in new ways, they are old ideas.
6:50So I believe that software is mainly a platform for people to communicate concepts. And without a community, Redis was so resilient, it lasted so much time because the community created a mental framework about fixing problems with such tools that are inside Redis. So basically the community is Redis in some way. And the way it started was because my first days as a programmer were all about security. I worked in security for a couple of years. Then what happened in security is what is happening right now to software. It started to be cool. it started to be business, a lot of business. And security was no longer research.
7:42It was a product. And I grown immediately tired of this industry. So I started to write embedded systems. And then I started to get a bigger project because I was in a very bad situation in my life. I had struggles with my relationships. I had a son that was like three years ago. And I was, I could say depressed, but I am, it's impossible for me to get depressed physiologically because the kind of attitude I have in general. But I was low in my life. And I needed a project to focus my energies. So the first weeks I just watched the Star Trek Voyager no stop and South Park. And then I started to work to an interpreter for the TQL programming language for embedded systems.
8:48And much of this code was the foundation to make Redis one year later. So basically, with this interpreter, which was not just a toy interpreter, was compatible with all the TCL programming language set, extended it in many ways, it added continuations and other stuff, and was in some way, in some things, even faster and so forth. Finally, it clicked something in my mind about how to design bigger systems. but then I forgot about this and since I had no money I remember that in this period in my life I often looked under the in my car to see if maybe one, two euros was around and then I asked even for money to the girlfriend I had at the time so I said, okay, that's not possible I need to do something and so a friend of mine from Licata went and said, do you want to collaborate?
9:53Let's do something together. And this was the start of Web 2.0 in the United States. But in Italy, there was still what was Alta Vista, basically, in the US. So these portals, static portals, no user-generated content. So we said, probably, if we just copy what they are doing, we will have an edge. And we created two services. One was exactly like Delicious, and another one was an improved dig, much more like Reddit now, basically. So there was complex moderation. There was a TCL program that did advanced filtering in order to avoid that friends voting themselves. And this became popular in Italy.
10:42And so Telecom Italia, which is the biggest ISP here in Italy and telephone company, called us like from the, no, they didn't know in any way us. Called and said, why do you don't join the Telecom Italia network and with your services? Okay, so we get a contract. I remember when we went in Milan, I was dressed so badly that they didn't want to let me at the hotel in. Because they, are you sure that you have a reservation in this hotel? I said, call this number. They called, okay, you can end. Because we were underground people. In Palermo, we had Linux systems with cables in order to pay, and we had illegal greens to connect to the telephone, to internet.
11:35We did this kind of thing. So this was our mood. They were business people. So there was a cultural gap in some way. And so we entered the network. And from one day to the other, we had to sustain the traffic of a lot of users, all the Italy connected. And our systems were not ready. So the first thing that I did was in PHP, the system was written in PHP, to write a memoization function that basically whatever you could call inside this function, it was stored, serialized. The return value was stored, serialized into some kind of Bt that I created on the disk. And this way we had some kind of cache in order to avoid stressing MySQL too much.
12:28And this worked the first weeks. But then we created a new service that was a real-time log analyzer. And the use case was not static caching. You know, till this point, I didn't know even that Memcached existed. So I could not use it just because of lack of knowledge of existence. but even if I had memcached that was not enough for me because I needed a cache with data structure where I could add items and remove all the items so I took TCL and wrote a prototype and I tested it and it worked so well and I said okay that's good but it's not a scripting language thing I want an actual daemon in background with a low memory footprint.
13:23And especially I realized that I wanted fork in order to persist on disk with the other child. Since in the past I had a background in security and low-level programming for cryptography, I studied very in-depth the Stevens books on the system call of Unix, the implementation of small Unix systems like Minix, provided a few patches to the TCP IP stack of Linux. So I was very low level already. And I realized that with Fork, this is an interesting story because Fork after 15 years still is the best way to do the reddest thing from the point of view of persistence, this magical thing of copy and write of the kernel pages.
14:12So this fundamental idea back then survived the tilt to these days. And so I started to write this thing, and it took me two weeks to have the basic core in order to apply it in our system. And since I had a long story of releasing open source software, HPing device drivers for the Canon cameras, web log analyzers, many projects that were in Debian and in other Linux distributions, I said, you know what? If I release Redis, this will not impact in any way our business because the other application was closed source. So I released it on the Hacker News because Hacker News was very, very new when I released Redis in Hacker News.
15:07There were like 10 upvotes, a few people commended, but basically nobody cared at all. But Ezra, Ezra Mobius. Mobius. Yeah. Yeah. that unfortunately now he is no longer with us. He was a very smart guy, and I want to take a minute in order to remember him because then when I went the first time in San Francisco, he interviewed me, and we did a talk. And basically, he realized, engineered, exactly, because back then... I just found this recently because I was in his office. Exactly. I just found that recently. He was doing the operations for GitHub. So basically Ezra said to the GitHub, you know, you have this delayed jobs thing, you could use Redis.
15:59He started to talk. But for six months, one year, I continued to work to Redis just because I liked it. And also there was the contract with Telecom Italia, so I received money in order to pay the bill. So who cares about the actual work? I want to do Redis. And I did Redis. And actually, as a kind of person, I am so erratic from the point of view of doing only what I want, that it's a miracle that I was able to work at so many years to read this. And the trick was to just focus every time in a subsystem that in a given moment interested me. So it's like if you have many projects, basically. So thanks to this start of conversation and I continued and then I posted again the news.
16:52And also one thing that I did was that every open source user that I had, I handled it as a customer. Like didn't matter if he or she is not paying me. I offered basically premium customer service. So people started to trust me and this trust that they had in me started to migrate to Redis because I believe you never trust just systems. You want to trust also the people that are behind a given system. And everybody started to use Redis more and more. But after like two years, it looked like it was inflating like there was a very strong movement about very consistent systems serializable systems and I was very against it in the sense that I thought that's great that you have systems that have very strong form of consistencies but not all the kind of problems are made the same so I believe it's a good idea We also have other kinds of systems because my motto was the system usefulness is the sum of what happens when the system works without failures and when the system works with failures.
18:18It's true that during severe failures, if you make complex partitions, redis may lose brights and so forth. However, on the other side, because of this sacrifice, you have things that otherwise are impossible to achieve from the point of view of latency, the kind of data structure you can support and so forth. But many, many follow with this path. For example, like I don't want to tell names, but they failed because they were so compelled. you know at the same time instead for example MongoDB prospered with inferior initially now I believe they are very strong initially technically infrastructure because sometimes people want things that work and not that work in the worst situation so basically the thing inflated to the point that one of the people that was contributing with me back then wrote me one night and said save yourself and run away from redis because it's a ship that is uh sinking you didn't listen no no i said okay i understand he can listen but he can he can uh maybe he can inflate but then i will find a new project i it's i i you know i will not die if this is no longer but instead after this stage especially in the San Francisco area to use Redis was worse than saying I vote for Trump or something like that it was impossible to say I use Redis without people watching you it was even worse than not having kitchen in your house because in that moment it was very big to have kitchen you know and so people like run away from this Redis thing but then for example there were very important companies that in the wave of this feeling switched away from Redis and then six months again they were back to Redis because they created a lot of issues trying to do to serve with other services and so I continued and at this point I said okay this thing didn't didn't die because In this moment, so it's worth to, you know, to also I was with VMware at that point and they paid me a good amount of money.
20:54So I was no longer working for free. And then I switched to Pivotal and then to Redis Labs. And it was a good setup. And basically, this was the start of the story. And then the story continued with incremental improvements to different subsystems of Redis, always trying to avoid making it too much complicated. So we started off talking about how times have changed. And you mentioned that when you first started it or those first couple of years, you treated every new user like a customer. And that's part of its success story. Would you advise that today for people who are starting open source projects?
21:37Or do you think that was foolish, but it happened to work for you? What are your thoughts on that strategy today? I believe it is very important to don't fall in the trap of saying, this is an open source project. I put it on GitHub and then you don't ask me anything because, you know, I already am providing this work for free. But actually, the involvement of the users that try to use your system is not inferior to your involvement. They do things for work. When they use your system, they are exposing themselves to you faking up in some way or the other. So it's a big gift that they are doing to you.
22:22and I believe that minimum that you can do is to be as helpful as possible as long as you maintain the project then if you don't want to maintain it anyway you say okay I'm done with this I'm doing some other stuff so absolutely I believe also the first users are not the users that came the mass users that you have in the next years they often are extremely bright persons that will provide you very valuable ideas and there is so much value in in that community in that initial community so i absolutely will do this again so you had a couple of jobs along the way you mentioned vmware there's one in between that and redis labs what was the one between uh it was uh vmware pivotal and redis labs okay so pivotal right and so these organizations employed you full-time to work on redis at your discretion or was there strings attached and then how did you get all that going because back then that was pretty rare i think it happens now and again now but that was pretty rare so how did that work out and in practice uh okay i believe that this is like one of the best sides of capitalism.
23:42I believe that inside VMware, there were two persons, basically Derek Collison was one and Mark Lukoski was another one that realized that I did some good work and they just did this for me without return. I believe it was like a gift. I will be always, you know, thank you to them. I don't know if I ever said clearly thank you to these two persons because they didn't reason back then in terms of just what's better for our company. But our company is big and this money don't change anything. and what's a good thing for the software landscape, for the underground software landscape that we can do.
24:39Sure, there was also a cloud strategy about VMware and stuff like that, but I was free to do everything. That's amazing. And Pivotal was similar? Initially, yes, but they were probably a bit less happy about this setup. And so because Pivotal and Redis Labs had the same VC, they talked and said, if somebody has to pay this guy, let's pay you that this Redis Labs and not us that do something. And so I switched. I see. So the Redis Labs one is the confusing one because Redis is your baby. And this is a third party that named themselves Redis Labs and hired you, or did you start it? And can you explain that, how that worked?
25:28Basically, they started the company and approached me immediately after starting the company in Germany. We were in Germany. There was some kind of conference about NoSQL conference of some kind. And they asked if I wanted to join the effort earlier. But I was in a too good situation, basically taking money for free and working on my system. So I said, it's okay for me if you do business with this thing, the license allows it. But eventually it was the most obvious thing that they were trying to make money with Redis would also pay me. So all three pretty good setups, some better than others. Obviously the VMware one was the most, I don't know, philanthropic or less capitalist.
26:22They just decided to do that and let you do your thing, which is awesome. Eventually, you grew tired of Redis? I mean, you left, was it 2020 as lead maintainer? Not of the system. I was very happy of the work that I was doing. However, till the very last day, even if I had inside Redis, the company, there are many gifted people in the Tel Aviv side. There are very strong programmers that are in the company. as long as I started, since I started Redis, they never left. And they have a very detailed understanding of the core of Redis. So they helped me with the most complicated bugs and stuff like that.
27:12However, many of the user-facing features were still developed 80 % from myself. and after 11 years of all these users, I, for example, remember that even when I took vacations, vacations of any kind, I always had my bag with my computer and oftentimes I had to open it every day because there was some issue that could be critical, some bug report from crash. And since a lot of systems run on Redis, For me, the stability of Redis was the most important thing, absolutely the most important thing. So every bug was investigated in details with even weeks of efforts in order to replicate it, track the bug, to the point that after some time we realized that many of the bug reports were broken memory.
28:10So when Redis crashed, now it performs for 10 years or even more, a memory check of the system it is running on in order to report broken memory. And now it's of no use because most memories are protected. But back then, a lot of chip memory created problems. So basically, it was a life completely dedicated to this system. And I said, I want to stop. Also, when I saw GPT-2 and then GPT-3, I said that this is going to change everything. So I wanted to write a novel about this thing. And I started to write while working, but I realized that the writing thing was a full-time stuff. So I said I need to retire some time in order to write this.
29:03What's happening? For example, in the novel, there is, I believe, the first description to date of prompt engineering, because it was written in a novel before ChatGPT, and there was just GPT-3 without the instruction tuning models. But it was obvious that, you know, we were headed in this direction. So I had the urge of doing this thing. i stepped back so along the way redis went through some license changes with various feedback from community members and non-community members uh from open source to sspl and ag there's lots of stuff we could talk about here how interesting is licensing to you salvatore do you like this topic do you dislike it i believe that we that formed ourselves in the in the 90s were extremely aware of the licensing stuff.
30:07Now I see younger developers not really caring about this. But we basically started to write code and started to be mini-lawyers understanding all the subtle things about GPL, BSD, MIT. So yes, I care about license because the way that you express your willing about what others can do or cannot do with your code. Also, I think that without the copyleft idea, the computer's technology could not accelerate to the point that it accelerated. Because when open source was created, basically in order to create a startup, you had to buy complicated workstations, Unix licenses, database licenses. So it was impossible to have the landscape that then it was created by the open source movement.
31:05So for me, licensing is very important. And initially, what I did with my software was to use GPL. Then I started to realize that GPL had two problems. It created problems to myself because sometimes I thought, And if this becomes big, I want to have a business model, and I don't want to get some paper signaled by all the contributors that I had so far. So I started to switch to BSD, saying this is a protection for me. Also, it's a protection for other people based on the environment they use, my software. sometimes it can be a problem, even if I don't want to violate the license. And when I started Redis, I was very into this BSD stage of my life.
32:03So I released Redis as BSD, also because there is also behind that an idea about accelerating society, improving society to be more important than basically what is going to happen to me in some way. However, then it must be said that the cloud situation changed the landscape because even if it was very complicated to create a product business model even before, basically Red Hat was the only one that really succeeded in this kind of game in the open source and a few more, at SIL if you wanted to sell services, you were the to-go person as a creator of the software. And then after AWS, everything changed because there was no longer need of somebody supporting you because it was handled for you.
33:10And also you could even not selling it, not even compete with the others because in order to compete in cloud services, you have to pay for the instances and they have them for free and also even the billing is complicated. There are many companies that just because of billing will just get what AWS has and stuff like that. So I understood at some point that the BSD license that I picked with the changing world of the software created serious issues to create business. Now we can go a step back and say, but why it should create business? It's an open source software. And I believe that more or less every complicated open source software has in one way or the other an economic system behind it.
34:06because it's a lot of hard work for many years. Either people are paid very well or they will not afford to do all this kind of work. So I believe that both things are needed to redistribute to the community and also. And inside Redis, they didn't want to change the license I didn't want for a long time. But there was this discussion, but it was some kind of taboo. So it never happened as long as I was there that somebody asked me, but what do you think we want to change the license? It's a conversation that didn't happen. I just created the module system, and Redis, the company, started to have the modules that were enhancing Redis capabilities, and that was it.
35:00Then when they changed the license, I understood that it was basically some kind of a forced move in some way, because with BSD, it was too complicated to compete in this market. However, now we are realizing, me and also inside Redis, that SSPL was not accepted by the community in some part. And we care about this thing because, you know, I don't believe that SSPL is a terrible license because it's very similar to other GNU licenses. It's just a couple of sentences. But the reality is that culturally it's not accepted. And so we are starting to discuss inside the company about this problem. And also, one important thing is that because of that, we are going to add in Redis a lot of the features that are now only for the paying users.
36:04For example, now I'm working a lot to vector sets, which is the first fundamental data type that Redis gets after many years. And it will be released in the community edition like normal Redis. And it's like everything I did in the past. It's no dependencies, so it compiles because the data structure, like the HNSW data structure for vector similarity I wrote from scratch, the quantization I wrote from scratch, the hybrid search. So it's some code. It's like 6 ,000 lines of code in total, like the other Redis data structure. You can open the code and understand how it works. And it was impossible before to do that because, but still, maybe there are setups that make everybody happy, enough protection and the community will be more happy.
Read the full transcript
36:58So there is an ongoing discussion inside the company right now. I'm not sure what will happen, but we are focused on the problem. So you've probably heard that Elastic went there and back again. They are fully open source with Elasticsearch specifically once again. And we had Shea Bannon on the show last year talking about that decision. And he says that he thinks nowadays in today's culture, the AGPL license, which is accepted from the OSI as an open source license, gives entities enough of a foothold or legal precedence or holding that you can safely, in his opinion, use that and not be too worried about the rehosting scenario.
37:42Now, he detailed some of that in that show. I don't know all of his reasoning why he thinks that's the case, but it's possible that because SSPL and AGPL are very similar, are they not? Exactly. I believe so as well. There was, I believe some, I was not part of the company when this happened, but I believe that this was a consideration. But then, you know, sometimes also the legal advice that you get, you know, I will say something a bit maybe unpopular, but I think that the legal offices in companies sometimes create the worst possible setups for companies because the legal offices don't really try to usually balance the risk, the legal risk with the company potential.
38:30but they are mostly going away to err on the safe part in order to be right later. You know, if you are super conservative, you never do anything wrong from your point of view. However, you are paralyzing the company. You know, many times when I had to do contracts, I skipped lawyers that were in the between. We could not understand each other and said, okay, I will write the contract. This is the contract. If you want, you can fix the form. And immediately the thing started to work the conversation. And I believe that sometimes it can happen that choices are... But if you read the IGPL license very, very well, you actually discover that also the form is not extremely clear.
39:27You know, it's not very well written. So I believe that it's very hard that somebody will authorize to use it in a software as a service setup without any kind of signet paper, but the folks that have the copyright. And this could be a good... I think that they did a good thing. Switching back. It was, you know, basically in this kind of changing setup, you try. and you believe that this is very similar to a GPL, people will accept it. Instead, you find the cultural assistance and then you step back. It makes sense. I can understand that.
40:25Well, friends, I'm here with a good friend of mine, David Hsu, the founder and CEO of Retool. So David, I know so many developers who use Retool to solve problems, but I'm curious, help me to understand the specific user, the particular developer who is just loving Retool. Who's your ideal user? Yeah, so for us, the ideal user of Retool is someone whose goal first and foremost is to either deliver value to the business or to be effective. Where we candidly have a little bit less success is with people that are extremely opinionated about their tools. If, for example, you're like, hey, I need to go use WebAssembly, and if I'm not using WebAssembly, I'm quitting my job, you're probably not the best Retool user, honestly.
41:11However, if you're like, hey, I see problems in the business, and I want to have an impact, and I want to solve those problems, Retool is right up your alley. And the reason for that is Retool allows you to have an impact so quickly. You could go from an idea, you go from a meeting, like, hey, you know, this is an app that we need to literally having the app built in 30 minutes, which is super, super impactful on the business. So I think that's the kind of partnership or that's the kind of impact that we'd like to see with our customers. You know, from my perspective, my thought is that, well, Retool is well known.
41:41Retool is somewhat even saturated. I know a lot of people who know Retool, but you've said this before. What makes you think that Retool is not that well known? Retool today is really quite well known amongst a certain crowd. Like I think if you had to pull like engineers in San Francisco or engineers in Silicon Valley, even, I think you'd probably get like a 50, 60, 70 % recognition of Retool. I think where you're less likely to have heard of Retool is if you're a random developer at a random company in a random location, like the Midwest, for example, or like a developer in Argentina, for example, you're probably less likely.
42:16And the reason is, I think we have a lot of really strong word of mouth from a lot of Silicon Valley companies like the Brex's, Coinbase's, DoorDash's, Stripes, et cetera, of the world. There's a lot of chat. Airbnb is another customer. NVIDIA is another customer. There's a lot of chatter about Retool in the Valley. But I think outside of the Valley, I think we're not as well known. And that's one goal of ours to go change that. Well, friends, now you know what Retool is. You know who they are. You're aware that Retool exists. And if you're trying to solve problems for your company, you're in a meeting, as David mentioned, and someone mentions something where a problem exists and you can easily go and solve that problem in 30 minutes, an hour or some margin of time that is basically a nominal amount of time.
43:01And you go and use Retool to solve that problem. That's amazing. Go to Retool.com and get started for free or book a demo. It is too easy to use Retool. And now you know. So go and try it. Once again, retool.com.
43:22So you said that you guys are considering licensing updates, let's just say, to paraphrase it. Is AGPL back on the possible table since the SSPL and the AGPL is so similar? do you think like to be culturally fit again, let's just say, that's a wise consideration? There is, I believe, a part of the company that wants to do some change in this direction. However, there is to basically to find an agreement about that. But I am personally, for myself, I am positive about doing this switch. And I will keep the conversation going about this. Yeah, I think it'd be a win. I mean, we started off with, you know, basically 15 years ago and your journey to create it and the process, you know, how it prospered in the community.
44:18Obviously, BSD license, open source thrived, beloved to this day. And many mourned its license change because it limited their ability to use it as it was prior to be open source. And I get it. You got the Goliaths and the behemoths and you got the challenges and license changes are sometimes necessary to protect all of your work and the company you built and the customers you've gained that pay you. and then we kind of forget in a way this open source land, this thriving free ecosystem that's not just free in dollars but also free in freedoms. I can feel that tension there, obviously, but I think it'd be super cool if you guys went back to open source.
45:05Could you imagine, Jared? That'd be awesome. Redis, open source again. There you go. To be honest, I will invest my time. I'm investing my time both in creating the cultural conditions inside the company, but I don't want to stop there. Also, with the vector sets, with a coding act, I want to, in some way, show the company also back the Redis way from the point of view of simplicity. Also, one important thing about the vector set data, the API compared to the other systems that do vector similarity is the trust to the user using them. Instead of exposing a system that is an index, we expose the data structure because Redis users have shown us in the past that they are very smart, they are very capable, and they know how to use building blocks in order to shape them exactly for the kind of problem they want to fix.
46:13So this kind of thing is also part of... So pressing about the license, pressing about the different vibe in the community. In general, all this change, this is what I want to do to be some way the flag of this new revolution inside the Resis company. And I see that I have many, many people that are aligned with this vision. For example, today I received the second pull request from the CEO of Redis Labs that hacked the C code in vector sets in order to fix a bug. So in this moment, Rowan, which is the new CEO, is hacking to the code that I'm showing to my colleagues and sending pull requests.
47:03And since I see he's really a community person that had this kind of basically background, I believe that the company can be aligned towards this vision. Was this one of the reasons for your return? Or did you find this once you got back that you wanted to make this cultural change inside? Or did you see it as a reason to come back to Redis and Redis Labs? Honestly, I started to think that my comeback could be useful from the point of view of recovering what was created in so many years. And I didn't want, you know, after I left Redis, I didn't watch again the comments, whatever, zero. Because I said, okay, during my term, I tried to take the direction straight.
47:54But then now it's too simple to look at the comments, at the commits and saying, you know, this is wrong. If other people are working to the system, you have to let them work. But then when I saw the community in some way, the conflict inside the community, I thought that since I know a lot of people inside the company and I was sure that many of the technical staff, for example, it's not what they wanted happening, I said maybe I can return and I can return also without feeling too much stress. If I, from the point of the code, I focus on only a subsystem each time. And from the point of the other work, do I focus on the community?
48:44That was the idea. Let's paint a picture because you keep saying the company. And I imagine you got Salvatore here. you enter as the person we've known since the beginning and then you say the company. Can you quantify what that means, the company? How many people who's involved? Is there a lot of open source lovers or purists there that really appreciated or loved the days when Redis was fully open source? Help us understand what you mean when you say the company. Okay, that's a very cool question because I believe that Redis is one of the worst communicated companies in the world. Okay. Because it's much better in the inside than it looks in the outside.
49:34Basically, we are 1 ,000. 1 ,000 people. Yeah. That's a lot. Holy moly, that's a lot of people. Okay, the company's big. That's big. A lot of people. It's not Google big, but it's big. That's a lot of people. It's a lot of people and the development part is almost completely in Israel. A lot of remote workers inside Israel, in many places of Israel, in the north, in the small cities, small villages. And there are truly talented people there. Incredible persons, also very loyal persons to the company that understand the project and understand it is very important. Also, there are people that kind of fight for the AGPL thing because they thought it was a good thing.
50:24So people are interested in the project. And I believe it is a very strong pool of talented people in Tel Aviv. Also, another thing that happened that I believe is extremely cool is that we are acquiring new people that are like that. What happened is that one of my colleagues, Oran, which is truly a genius of programming, together with Yossi, they are two really superstars that nobody knows. For example, Yossi was the one that wrote the abstraction layer in order to make Redis SSL as a module. So you load a module and it is SSL, otherwise you don't have the complexity and stuff like that. For example, this Chinese person started starting to do pull requests only on comments.
51:16This comment is... And another guy, which is Portuguese, for example, also doing initially simple pull requests. But he recognized that they were smart and started to help them to create more complex pull requests. and since Oran works a lot, since he's responsible of all the developments of Redis on Flash, which is the way that we have to offload part of the data from run to Flash. It's a complicated fork of Redis. You know, he had to do a true investment and now these two persons are very strong core contributors of Redis making complicated stuff. Also, another guy, which is the one that implemented, expires in the hash type elements, single elements, is a very talented that optimizes this thing to a so low level.
52:15And, for example, one thing that I still love about Redis, and I think that we have an edge here compared to, for example, Valky, is the design idea. in Valky there are a bunch of people and they do a lot of you know agreement design which is a way of working that I don't believe to be optimal and why I hope that you know Valky is going to be great because in some way this was you know the thing about the BSD is that whatever happens to the company to myself the codes in some way can go forward because it takes other streets like Amazon or Google forking and putting people. However, from the point of view of the softer idea, I don't think that Valky can do a better job than us.
53:12And one thing that I would love is to go back to a GPL to be also OSI approved again and then compete on the quality of the ideas and the quality of the developments. And, you know, because Redis is going to diverge a lot. For example, one of the leaders of the project said to me, after some in my blog post, the vector sets thing, we will never do something like that. Because they don't trust in this line of, you know, AI is the hype that is this terrible hype. For example, this is one way to approach the problem. I am, for example, an AI enthusiast. And this already creates a different take on the project.
54:00So I believe they will diverge a lot. That's really interesting. And you're happy about that because now you have basically, like, Redis gets pushed forward, but also Valky gets pushed forward in different directions. And, you know, different things work for different people in different circumstances. So it's kind of spurring some innovation. Did you see Redka? Is that one that crossed your radar? Because there's a bunch of forks that came out back when Redis was first announced that the license changed. Redka is not a fork. It was like a re-implementation. Are you familiar with this one, Salvatore?
54:32No, no. I heard about it, but I didn't want to check what they have done. You didn't check it out? This was just a re-implementation with a SQLite backend trying to just get the Redis API up and running with a different backend. And it was kind of a greenfield thing that was inspired by the re-license. But I thought it was pretty cool how many, the explosion of new projects and ideas that happened, which is kind of like open source working in a sense, right? Like this is the spirit of hackers hacking and starting new things. And it's kind of cool that all of this has inspired you to come back to Redis and like push it forward in new directions.
55:08I think it's pretty cool. Yeah, it's like if we, all the teams together optimize to search the space of potential possibilities, basically. well said yeah that's cool so where do you take it from here ai it sounds like huh i think that uh vectors i mean learned embed embeddings because vectors okay the way i am implementing vector sets is one way that allows the user to also use vectors outside the ai so So, for example, I implemented binary quantization. And if you want, you can put binary vectors where just each bit is a product that a user got in an e-commerce system and you still can do cosine similarity and takes similar products to this user.
56:05But, of course, the main thing is learned vectors created by models that compress something, some object, Bingit, text, image, whatever, in a embedding that captures the semantic. value of the initial object. I believe this is going to be useful in the future, even if I'm not a fan of RAG, because I believe that RAG created a lot of issues. For example, one of the reasons I believe Claude Sonnet is often in the real world so strong for programmers is that when you attach a file there, the model sees all the file, they don't use RAG. instead when you attach a file in the open ai systems it uses rag so you don't see it but the model is just seeing fragments of the code so in some time some in some way cloud looks magical because of that so do you know what technique cloud sonnet is using to get that information that's not rag they just just put everything in the prompt oh they put all i mean does that do they have a huge prompt i guess big context exactly that's the reason why claude sonnet after you fiddle with it a little bit says returning five hours because uh my experience with claude so far has been just that like you they almost they start to yell at you essentially um when you have too many back and forths i'm like that's the whole point is to have the back and forths essentially like the the prompt the response the prompt response and you iterate and massage and form whatever it is you're forming and it's like well that's the whole point of this chat system and we've can we can debate the usefulness of chat if we'd like to but like they discourage long chats essentially i agree but i believe this is a feature and the way why so many programmers speak at the cloud.
58:06Why I'm saying this? Basically, like Redis, they are putting you face-to-face with the limitation of the system. Instead, what OpenAI does is to implement two things. One is memory, which is after the context is too long, the model will summarize it in some way or use lag itself in the history. And so you believe that the model is still aware of all your chats, but the model is no longer seeing the full details, and it starts to act erratic. They do. That's true. So I believe... I experienced that as well. I am more happy with the limitations, but they can understand very well what's happening.
58:45And also DeepSeq v3 and R1 does the same, that when you attach a file, it is put... The prompt is completely... The file is completely inside the prompt. And since attention is quadratic, it burns a lot of GPU compared to not using RAG. How much are you studying this? Because this is something that I'm still sort of catching up to how the GPU interacts with a model. And you've got, let's just say you've got an off-the-shelf one, 24 gigs of VRAM. How does that translate to the model being in the VRAM to consuming the GPU's ability to compute? How are they different? Like memory and compute on a GPU is not one of the same.
59:29Because you may say, well, I've got one or two GPUs and I can consume, you know, 24 to 48 gigs of VRAM, but you still have compute on that GPU. Can you explain? Do you know much about that? Are you becoming more familiar with that? Basically, what is happening right now is that all the Frontier models are MOE, mixture of experts. They are no longer like, for example, LAMA 3.3 or the initial models, dense models. Starting with GPT-4, OpenAI started with the idea of using a mixture of experts. Basically, the model is partitioned inside, like a cluster. and then there is a layer which is the routing layer which selects at each layer for each token which part of the model to activate.
1:00:25In this way, a subset of the model becomes expert in the English grammar, another subset in Python and so forth. However, this division is not so clear. The model learns how to split the knowledge and it's very mixed and under-leveled inside. So basically, with Moes, you still need the VRAM to contain all the model in your RAM. So for example, if you have, let's talk about DeepSeq version 3, which is more or less as big as Cloud, and we have the actual data public for DeepSeq. It's 6 ,600 billion parameters model. Oof, that's big. Yeah, it's very big. and since it is 8-bit for parameter, you need 600 gigabytes just for the model.
1:01:25And then you have the cache for the key vCache for the attention. And for very long context, you need more RAM. So basically, with a mixture of experts, you need less GPU and you need more VRAM. so this is changing the GPU is becoming the GPU power is becoming in some way for inference at least less important than VRAM to the point that I can I have a MacBook M3 Max with 128 gigabyte of memory and I can run I can run DeepSeq in my computer not the distillated versions, the actual thing extremely quantized to 1.5 bits per but still because I have enough RAM even if GPU inference it's able to run this beast so basically what will be the dream for all us will be computers with like one terabyte of RAM and even if the GPU is not so powerful we could run Frontier models inside our machine let's let's uh clarify runs uh tell me tokens per second four tokens per second in my computer right now which is so slow it's very slow but it runs out of it runs yes i know i'm just i want to be clear though because like 100 gigabytes he said yes no i get it but i mean like you got people who are dabbling more and more into this and runs and is usable as potentially two different things because it can run, and I do agree with that.
1:03:09Your hypothesis that more RAM and less GPU makes sense because the Mac, the M1 systems or the M systems, allow you to essentially allocate this RAM as VRAM, as what would normally be VRAM for a GPU. So you can utilize that 128GB that you have available and maybe a less powerful GPU and still run the inference. However, you won't have super fast tokens. And if you want to program a Python program with that, you're going to spend a couple of days. A serious amount of patience and potentially a ton of errors. Who knows? Also, a lot of people don't realize that if you are talking in English with the model, often a single word is one token.
1:04:00However, because of how the tokenization work of large language models, if you talk with them in Italian, for example, since the Italian was very underrepresented in the dataset, or even if it's writing Python, and often for each parenthesis and you know new line is a token, this means basically that you have to generate a lot more tokens for each sentence, and it becomes incredible slow because every two characters are one token, not one single word. It really makes you weigh your words that you put into the prompt too, right? Because like the weight and the structure, it almost kind of brings back prompt engineering in a way because you want to, not so much engineer, but you want to be particular with how you prompt the LLM in this scenario.
1:04:55When you have resource constrained systems, whereas if you've got clod you just realize that oh you can't have long chat histories or if you're on open apis chat gpt 4.0 or whatever model you can go to infinity basically but it's it's not it's not like i had said before it's not real it's faking the scenario it's ragging it later on which is just like retrieving stuff and fragments so you're saying adam is don't waste precious tokens by thanking your models when you're done precisely i'm no longer that's a that's a that's a deep cut precious time because i am the person that says thank you or is generous with my words let's just say i you know can we please you know might be like or let's do this versus generate which is me too but this is nothing the trick the trick is when you start to have a mid mid longer chat to start a new one because since attention is quadratic and once the god okay there is the key vcache but still you are accumulating a too much longer chat and instead you start new fresh also sometimes the model can focus much better on the latest version of the code when you start fresh it becomes more selective and it gets less confusing so my trick is this one Yeah, I like that.
1:06:22So you pull out the latest, you may have like a 10 minute session, let's just say a couple back and forth, but then you take the final artifact you're liking from that session, sort of whole brand new session and bring that latest version of whatever you're liking to that new session and allow it to begin again to have that new finalized context versus all the different bifurcations you could have taken along. Exactly. Okay. That's a pro tip right there. There you go. Prompt engineering is back. It's back. until we have sufficient VRAM that we don't need these things. So, Salvatore, when do you think this new Redis vector set stuff you're working on will be baked?
1:07:02When will people begin using it? Is it out there? It's somewhat open source? What's the status? I think it will be released in one month or one or two months, something like that. And what are some use cases or some people that are currently using Redis that they would be, what would this unlock for certain folks? Okay. An example. Sometimes when I take weight, I want to lose this weight. Normally I do calorie tracking with my fitness polo, all the applications, stuff like that. However, it's so boring. I do that for 10 years at this point, but still it's boring. So I'm writing to a Telegram bot where I just say, I'm eating 10 grams of honey and one slice of bread of 40 grams and it will do it for me.
1:07:52However, you cannot trust the model to have accurate informations about the calories of each kind of food. So basically what I did was to create a vector set inside Redis where it has each line of a very big database where there is each food with the macronutrients, the calories and whatever. So what the bot does is that based on my query, it computes Redis for similar items. Then I take the similar items of foods that are similar, and it takes that in the context of the LLM when asking the question. The user reported eating this thing. Based on this table, don't invent macronutrients. Please tell me what are the total calories and proteins and carbohydrates and fats.
1:08:45This is one use case that works very well. Key phrase there, or key word there, Joe, is please. He did say please, yes. He did say please. the debate is still out okay it's only one token in english you know i don't know about in italian but it's only one token in english okay that's cool that's very cool i'm sure there'll be countless other people with ideas on how they can leverage this to do cool stuff whether it's commercially or you know healthily in their own time to track their calories i think that's pretty sweet
1:09:32Well, friends, I'm here with Samar Abbas, co-founder and CEO of Temporal. Temporal is the platform developers use to build invincible applications. So, Samar, I want you to tell me the story of Snapchat. I know they're one of your big customers, well-known, obviously operating at scale. But how did they find you? Did they start with open source? Then moved to cloud? What's their story? Yes, Snapchat has a very interesting story. So first of all, the thing which attracted them to the platform was the awesome developer experience it brings in for building reliable applications. One of the use cases for Snap was Snap Discover Team, where every time you post a Snap story, there is a lot of background processing that needs to happen before that story starts showing up in other people's timelines.
1:10:19And all of that architecture was built, composing, using queues, databases, timers, and all sorts of other glue that people kind of deal with while building these large scale asynchronous applications. And with Temporal, the developer model, the programming model is what attracted them to the technology. So they start using our open source first, but then eventually start running into issues because you can imagine how many snap stories are being posted every second, especially, let's say, on a New Year's Eve. So this is where Temporal Cloud was a differentiated place for them to power those core mission critical workloads, which has very, very high scalability needs.
1:11:01Although they started with open source, but then very quickly moved to Temporal Cloud and then start leveraging our cloud platform. And they've been running on top of Temporal Cloud for the last two, three years and then a pretty happy customer. OK, so maybe your application doesn't require the scale and resilience that Snapchat requires, but there are certain things that your application may need. And that's where Temporal can come in. So if you're ready to leave the 90s and develop like it's 2025, and you're ready to learn why companies like Netflix, DoorDash, and Stripe trust Temporal as their secure, scalable way to build invincible applications, go to Temporal.io.
1:11:38Once again, Temporal.io. You can try their cloud for free or get started with open source. It all starts at Temporal.io.
1:11:51you know i don't know if this maps to this but there's a particular problem i'm trying to solve for me so i often so as you may know salvatore we are a sponsored podcast and so we have brands like redis but you've never sponsored us that we would happily partner and share with the world the developer world, what you're doing, let's just say. And our ability to win these relationships is really predicated on my ability to be fast with accurately quoting people, what we can do for them. For the most part, we have packages, but sometimes people are asking for this or for that. And so it's not always just here's package one and here's package two.
1:12:38And so what I've done recently is I've gone into opening eyes, chat GPT, and I've created my own GPT. And it sounds like what you're talking about with this vector embeddings is like, give me truths, particulars, like this ad spot costs this much. And when you multiply it by 12, it costs this much. That will never change because it's like a row in a database. The value is X. And so quantify it by Y, for example however in my experience with this even though i've made this gpt and i've told it how i want to format the response and i just say generate it it's driving me crazy because it's doing the math wrong like like i so bad i just want to spend my own ruby app just to like generate like my like this basic text is all i really need but i want to ask i want to prompt and just say give me 12 weeks of the change law give me 12 weeks of this and then generate this thing i would normally handwrite, which I already did.
1:13:37I formatted it, but just do all the word math for me, do the word calculator stuff for me because I'm lazy and I'm, I can be slow and I want you to be fast and I want it to be accurate every single time. So I feel like what you're talking about with this vector embeddings is like, okay, in that world, building my own GPT or my own thing like that is possible because you've got these embeddings in there. And whenever I prompt the LLM, it's going back to those embeddings and saying okay i know this costs y and we're multiplying it and the word calculators might generate my prompt essentially say give me this and it gives me all my words back but all the math is done is that does that map onto what you're talking about with is that an application of vector embeddings yeah yeah in generally if you want to retrieve anything for For example, another example that for your use cases is particularly one of those systems that have a very large context window like Cloud Sonnet and that don't use RUG and see all the files in the context could be the best spot for you.
1:14:46If you want to try, you can take some document, put all the information needed, and then you do few shot learning. So you make examples. Okay. And then if you upload this file to Claude and you ask a question, it should be able to reply in a perfect way. I want that. I want that. I want that so bad. The math being off is just like driving me crazy. I just did it today. I was like, it's accurate 95 % of the time. And then one time it's like, it does terrible math. I'm like, I could never charge our customer that or our partner that. Cause like, that's not the real number. And so I've got to check it every single time.
1:15:30I'm like, I just want the work calculator part of it. Another thing that you can do is to specify to the model that you want to alter calculations performed using a program. This also is a trick that works. And Cloud, unfortunately, cannot run Python, but it writes JavaScript and executes it inside your window of your browser and then takes the calculation back. So, but to make another example of vector sets, imagine that you want to do something like Face ID. So basically, the iPhone Face ID works with an embedding. The dot matrix in your face is provided to a given model that outputs a fixed vector.
1:16:14And imagine an evil government that wants to track you in every second, and it has a database of all the faces in a vector set. And then when you scan yourself, it locates that it's you, for example, or you are similar. Or if you have doors, automatic doors that look at your face and open the door. So it's not just text embeddings. You can use it for every application when you can turn an object into a set of features and you want similar items. So it's possible to use a lot. And as I said, also, it works very well. For example, when you don't have, even outside the AI, a few years ago, there was one guy that did this in Hacker News.
1:17:07It downloaded all the data, all the comments of all the users and created vectors with the most used 10 ,000 words, setting the number of occurrences for each word. So in a given vector, there were many zeros, but other things valorized. And using this and cosine similarity, he was able to extract all the fake accounts that were actually cloned. You know, when you write with a throwaway account, because the cosine similarity is very similar. So also you can use this in order to spot similar texts and other stuff like that. There are many, many use cases. And basically, I have a very active YouTube channel right now talking about AI, mostly.
1:18:01And when Vector Sets will be released, I will write a lot of toy applications showing use cases. Cool. What's your YouTube channel called? Salvador Sanfilippo. Keep it simple. And the videos are, the coding videos are in English. A lot of talking videos are in Italian. But what I do is to take the transcript, pass it to Claude Sonnet, and it cleans up the Italian. And then the auto-translate to English works very well. So there are other people that don't talk Italian following me on the channel. So it sounds like you're a Claude Sonnet fan over OpenAI's models. Like you're hanging out in there.
1:18:48Okay. And how do you get around this limitation of, you know, what we talked about before when you volley back and forth? I don't know. You have a long chat history. How do you get around that? You just restart it? That's your way? Yeah, in general, I use AI a lot for coding, but really big time. But in a strange way. Most of the time I am in my terminal writing my code myself. When I got a problem, I go there and often my prompt is like, don't write any code. Let's discuss about this because I use it like an improved duck in order to create more ideas or explore mathematical concepts that are at the edge of my mathematical skills or stuff like that.
1:19:36for example, or if I have to do some complicated optimization and there are tricks that I don't know or stuff like that. So basically, I'm very conservative. I avoid basically the brute force way of coding, of continuing trying to refine, because I discovered that this often leads to losing too much time to get short, not great results. So either I spend a lot of time writing the code, the prompt in a very subtle way in order to influence the way the design ideas of the model, giving a lot of hints, but positive hints. And also don't use that because I already understand it's not going to work very well.
1:20:19So my chats are usually not super long. And otherwise I start from scratch. So are you using this outside of your editor or inside of your editor? Not integrated, because for me, this is a way to avoid becoming lazy, basically. I want to be sure that 100 % of the code that I use, even if some code is written by the LLM, I understand what's happening. But I use a lot more to track bugs. Like I have a bug. oftentimes if I post the code what's happening it can debug it immediately so good, yeah incredible, like 5 hours of debugging 5 minutes because it will say you did when you like after refactoring a few days ago I forgot a statement, I removed a statement but the statement removal didn't cause any error in the compilation but just created a memory error.
1:21:25And what I do in this case, which is I see that many people don't do that. You have to send the file and the commit diff so that it can see the difference. And then it becomes extremely smart and understanding what you messed up. Well, I'm going to have to try Cloud Sonnet now. I've never tried it. I've been happily doing the other things. I don't know if happily is the right word, but I've been doing other things. And that's one that I've just happily ignored so far, but you've convinced me. I need to give this one a shot. Maybe a few shots. I can toot it a little bit, the horn of Claude, a little bit.
1:22:02So I saw somewhere, I think it was on YouTube or something like that, someone was saying it's really great for building documents. And so I needed to create an agreement. And I knew what I wanted to say, but the way Claude works is it will have a file created, and it's open on the side. let's say like you have your chat thread and then on the side the document is open and it would just update parts of the document and so from a user experience standpoint you see not a regeneration of the whole document that you now have to be like well what changed what did not change and you've got to scan it you waste your time but you literally see Claude pull the document out that you're iterating towards you see the little by little change in a clause or a heading or they're very specifics and as a user i'm so much more comfortable with the process because i'm like i'm i'm working it through and it's it's generating what i want to and it's not like generating this legalese kind of stuff but it's only updating the parts that i want like let's focus on this clause i want to cover this this this and this and here's what i want it to say and it goes and just updates that one part so from a user standpoint you see it removing the lines like pressing the cancel key because it uses the artifact as a tool yeah so i can remove edit change parts and also between three cloud 3.5 at 3 and 3.7 the generation output length was increased like 10 times so now it can can generate like one thousand line of code in one shot or even more, which is pretty impressive.
1:23:43That is impressive. It's a very great system. Also, when Dario Amodei started the company, they were also extremely focused on the ethical part, you know, the safety part, which is also a plus. Even if I believe that what they released a couple of days ago, CloudCode, which is a gen decoding, I believe this will start to To ignite, it's the right word. Ignite, yeah. A lot of firing or missing the hiring of programmers. Because it's like, it's not. Yeah, it's, it's, Cloud Code is the first thing I see, which is not conceived to empower the programmer that wants to do more, but to replace. Ah. Ah, so much for ethics.
1:24:41I'm just kidding. I understand it is inevitable that sooner or later it's going to happen, but what is my interest is that if we have to go for a world like that, that governments in all the world understand that they have to find ways for the people to pay their bills. And then it's okay if machines want to code. As soon as people are safe, I am okay with it. Well, on that demure note, anything that we haven't talked about that doesn't include the career extinction of us software developers. Anything else you want to mention, Salvatore, before we let you go? Just that I see that in some way, even if we say that our field in some way in these 15 years changed.
1:25:36However, imagine something as big as AI in the hands of other industries. For example, pharmaceutical industry or finance. It will never be like that, that we have most of these tools for free. We have front-end models under the open source. A lot of other models and all the information available. So I believe that still for IT, there is hope. because we are in the environment that created the most incredible revolution is creating after the industrial revolution. And still there is this idea of sharing, of making the tools accessible. Also, if you think at the price of OpenAI and Anthropic right now, $20 per month is very low.
1:26:33is very democratizing this tool. So in some way, I continue to be optimistic. I am more about the Hinton side, which I believe that in the short run, the problem that we will face with AI as a society, we will be able to overcome them. But I will focus on the existential threat because the agentic nature of these models, as they become stronger and stronger, Even if superintelligence can be achieved without consciousness, still an agent that breaks all the computers around. This is the worrying part for me, that we will survive social change, but we may not survive some extreme event due to AI.
1:27:24Well, we're excited that you're back at Redis. we're excited for the subtle changes the incremental changes that you're making to help redis be more useful to more people thank you once again for creating such an awesome system and for open sourcing it so that the world can take advantage and benefit i know i've benefited greatly from it in my career even though i only used it for a relatively short time i think the api and the way it works and the way you designed it has influenced my thinking as a programmer so uh you know you can't go back from that that's like fundamental change so i appreciate you for that reason thanks thank you salvatore thank you it was very great to talk with you and thanks for the hospitality oh yes glad to have you back yeah
1:28:16so will redis be open source once again salvatore is back so that means the chances of that being true just increased. I don't know about you, but this conversation, this episode kind of dated me a bit, you know, dated me and Jared a bit because, wow, it's been a while since we've had Salvatore on the show. 15 years of doing this podcast is a long time. And that means we've had the chance to track so much ups, downs, trends, fads, bubbles, et cetera. That's kind of cool. I don't know about you, but I'm kind of excited about the reddest to come, Salvatore being back, the opportunity to rethink the licensing to consider AGPL and what that might mean for the future of Redis.
1:29:01Only time will tell. But I do want to say that I'm very excited about what Augment Code is doing. Scott Dietzen, so cool. Talking to him, these conversations I've had with him behind the scenes have been so much fun and I'm so happy to share some of those with you via the ad spots we produce. And I do plan to get Scott on a full length show sometime soon. Also our friends over at Retool David Hsu and team Love Retool They're doing some cool stuff Just pay attention If you're not already using them to build out your internal tools What's stopping you? Number one, retool.com Check it out And to our friends over at Temporal Samar and team Scaling Snapchat was a fun conversation to have with Samar And just glad to share Those little snippets here In the ad spots of the show That's good stuff.
1:29:52Check them out, Temporal.io. Of course, the Beat Freak in residence, Breakmaster Cylinder, bringing the beats, always banging, always banging. We do have a bonus on this episode, so if you're not a Plus Plus subscriber, changelog.com slash Plus Plus. It's better. That never gets old. It is better, okay? It's better because you get closer to the metal, that cool changelog metal. number one number two you directly support us which is we just love that you know you've earned yourself a virtual hug if not a physical hug in IRL sometime soon and of course you also get a sticker pack in your inbox not your virtual inbox your literal mailbox we will ship you some stickers and you get bonus content like today that's four awesome great points that make it better so changelog.com slash plus plus 10 bucks a month 100 bucks a year and the joy of supporting us and this indie media company we're running and we thank you okay that's it the show's done it's over we'll see you on friday
1:31:24Thank you.
1:31:52so you recently wrote a post called we are destroying software which you know that but i'm telling you that as a setup uh which was almost a poetic piece of maybe a little bit of a rant with like 19 things that we're doing roughly i didn't count one by one but ways that we are destroying software, for instance, with complex build systems, with absurd chains of dependencies, with rewrites of things that already work. Curious, what were you doing the half hour before you decided to write that thing? What happened in your life? It's like, you know what? Because you probably thought this way for a while, but finally you're like, I'm writing it.
1:32:32What inspired this? In general, everybody I look, I see that the complexity is increasing without a proportional utility, usefulness of the systems. For example, one of the most important things that we have right now, which are LLMs, are like 3 ,000 lines of code for the inference. And even if you look at DeepSeek today, released all the training code of distributed training of mixed of experts models. And it's a simple code. So why the Facebook Android application has one million lines of code? They are rewriting it from Java to Kotlin and it's one million lines. And everything is like that.
1:33:23We have the same forms, the same buttons, the same likes of 10 years ago. However, if I check every tab, now recent Chromium tabs show you the memory usage. And the cloud tab, the chat, is 419 megabytes. Just a single tab. And everything is like that. And then also software developers. Plot plot! It's better!
From the publisher
Antirez has returned to Redis! Yes, Salvatore Sanfilippo (aka Antirez), the creator of Redis has returned to Redis and he joined us to share the backstory on Redis, what's going on with the tech and the company, the possible (likely) move back to open source via the AGPL license, the new possibilities of AI and vector embeddings in Redis, and some good 'ol LLM inference discussions.
