Zencastr
00:00:00
00:00:01
Speed1x
Format▸
Share
Embed
Report

f9526a8d1dfa Aditya Athalye

defn
defn

0 plays · Nov 23, 2026

Transcript

Speaker: Welcome to Defend. This is episode FA3476 or thereabouts. And we've got Adi on the line. Aditya.

Speaker: Welcome, Adi. How are you doing? ah Very, very good. Thank you so much. I am i'm nervous and also excited to be on the podcast because I've never been interviewed for something like this before.

Speaker: ah And I tend to ramble a lot when when i'm when I'm talking to people in person, which is why I tend to write a lot. And, you know, that's a way that's the way my my brain functions. so Rambling a lot is very on brand for this podcast. It is. I mean, this' like you're the perfect guest in that sense. Yes.

Speaker: yes Yeah. So don't worry about it. Let's just ah ramble as we go along. Yeah. Gravity is not my strong suit. Yeah. Right. Listeners strap in for a long one.

Speaker: I mean, why say in 10 words what you could say in 10,000, right? Yeah. And literally 10,000. Like some of my essays, they ended up being 10,000 words. And I'm like, ah who's going to read this? Nobody.

Speaker: Oh, well, I do. I read all of your blog posts and from beginning to end. Yeah. um Whenever I see. Yeah, sorry. I was just going to say when I when I see it a new post in your feed, i am both thrilled and also horrified because I know there's going to be two hours of my life.

Speaker: ah ah Yeah, totally worth it. Yeah, but I take that as a sign that your life is going really well because, I mean, you have a lot of you know time to time to spend on and potentially non-rewarding activities. let's Let's put it that way. I think what's happening there what's happening there, though, is there's a very high degree of trust that your content is gold. That's true.

Speaker: That's true. on. Yeah. thank Thank you. I always know you're going somewhere, even if it's not obvious, 5,000 words end into it, you know. yeah yeah um And I feel like it works. It probably works that way because, um um I mean, I actually made that the credo of the blog section of the website that writing equals thinking for me.

Speaker: yeah And like I have i have ah i have one one one slot of working memory, okay? So I can't keep context in my head. I have to externalize internalize everything. um And in the short in the short run, like it makes me look like a maniac typing into my computer, into my org mode, like at work especially. you and like Why is this guy writing so much? like I have to. I can't i can't i can't not not write. You're the James Joyce of Clojure. Makes a less stream of consciousness, I think.

Speaker: I don't know. That's what he's talking about, isn't it? It's just total stream of consciousness. Yeah, it's bullet points, like bullet points getting structured and restructured and I make tables and then, you know, reorder those tables and stuff like that.

Speaker: um okay bit But in the long run, in the long run, everybody thinks that I'm a genius because I don't forget stuff. But I'm supposed to remember because I noted because i i noted it down because i was going to forget it right away. Like five seconds later, I'm going to forget it, right? ah So it it's it's it's not genius at all. It's just like,

Speaker: literally spooling bits to disk as fast as I can manage. And I've discovered like 60 words per minute is more than good enough for that for me. and And so my typing speed hasn't improved beyond that.

Speaker: Yeah, I'm actually a complete shit typist. Ray, how many words per minute do you do roughly? Three or four. Yeah. I mean, I'm terrible. Like, because I'm an Emacs user, you know, I have, like, the claw. So I don't even, like, I don't keep my fingers on the home row and all of that shit. I have one of my hands, like, turned a little so that control and alt are more comfortable. So might my typing is not great.

Speaker: who Okay. So, I mean, my... ah my My great discovery was like, you know, I started with people telling me that, okay, remap, yeah caps lock to control and this and that and whatnot. And then my pinky started hurting. And then I discovered this phenomenon of Emacs pinky.

Speaker: And I was like, this can't be right. Okay. And then another thread of looking at the old school list machine things, you know, and that brought me to the Symbolics space cadet keyboard.

Speaker: i And that keyboard has control and meta underneath the thumbs. Oh, cool. Which is what I do now. I just remap everything to be under my thumbs.

Speaker: Huh. Okay. So, the space bar. Just next to the space bar, right next to the space bar, right? Yeah. Okay. My fingers are on the home row. um And it it took a bit of mental rewiring, but now I'm ambidextrous with control on both thumbs and meta on both thumbs.

Speaker: Oh, cool. And so it's it's quite it's very comfortable to type stuff, right? Yeah. So um I lived in Japan for a while. So Emacs or other shit. has been Oh, yeah. Yeah. and unfortunate Yeah. yeah fuck yeah Obviously, it's Emacs. So we've gotten there. But we'll we'll come back to that because I really want to bottom out this keyboard thread because I'm so excited here. Right.

Speaker: yeah So a Japanese keyboard, it has a very small space bar because they have the um keys on the other side for hinkan. It's like the character conversion. So you can switch between like um Latin mode and hiragana, katakana and kanji mode, right?

Speaker: But those keys are bullshit. You don't need them. So I also remap them to more interesting things. But it's kind of perfect because then if your hands are on the home row, your thumbs are actually kind of lying right on those keys, which could be control or alt.

Speaker: So maybe I got to try that without a Japanese keyboard and get to work. So Emacs or some other shit. ah Emacs and Emacs key bindings with some other shit. so So like Emacs key bindings everywhere in IntelliJ, in VS Code, and it might in in my shell and yeah. And enough Vim to be dangerous. yeah So like it's it's yeah it's it's good to be poly that way.

Speaker: um got Oh, okay. sort of poly. Oh, I thought you meant polyleth. I thought we were going there. Okay. Yeah, we could we got we could come to that. There's polylots. We've gone back to that one. Polymath, polyleth.

Speaker: Polygon. Yeah. Polygon. Yeah. Polywants a cracker. Poly the baddest. yeah anywhere okay Anyway. We're already rambling. It's a good form. It's a good start. so I love how an inch you guys are, man. This is this my favorite. What do you mean? david it's so nice It all makes sense. Sorry, you're normal. You're normal. We're normal. My kind of thing is normal. Okay, and so Adi, tell us a little bit about like how you came to Clojure, what you're doing with it.

Speaker: Give us a bit of background about like, your sort of closure journey before we we dig into some of the wonders that you're... Okay. so like That was not meant to be a troll, by the way. Come on. ah the The reason I'm laugh ah laughing is ah um I want to present you with two options. Like, do you want the short answer or do you want the answer in limericks?

Speaker: Because i actually wrote something on on Reddit. Do the limericks. Do the limericks. Come on. Holy shit. I mean, this is not that. Don't threaten us with a good time. Come on You can't make this shit up. Like yesterday, somebody meant like asked a question on on um ah our closure. Why closure and what led you to closure?

Speaker: So I started typing, you know, like a one-liner. And then I was like, oh, hang on. ah So I teach this introductory closure workshop um where i ended up writing the introduction as a bunch of limericks, which rift off a t-shirt that they printed for the first enclosure conference in 2016.

Speaker: And so um it's, I mean, the the t-shirt is just Helvetica. Helvetica was um like Helvetica, you know, the, the, the, um That was sort of like the design trend at that time for t-shirts where people would do this like, what is that?

Speaker: Not Lord of the Rings. the The other show with a lot of blood and gore. Game of Thrones. Game Thrones. So like this and that and that and that. in So somebody had done a similar thing.

Speaker: And so they had done what? Church, McCarthy, um Guy Steele, Church McCarthy Steele, Friedman, Friedman Steele and Rich Hickey. Okay. So they tried to construct this...

Speaker: this history of like paths to how Clojure itself happened. And so I ended up like using that to set up some limericks. And then I was like, oh, maybe I can start from there and ri and see where it goes. And so that's what happened over here. um yeah it' like like it Usually, you know, you know when when somebody asks you a question, like, how did you get here?

Speaker: I always remember like ah Carl Sagan, you know, you're all made of star stuff. And so everybody everybody started at the same place with a big man. And so like a series of events happened. And so so ah here we go.

Speaker: It all began with darkness, cold, unforgiving starkness. Life evolved and creatures crawled till church did lambda calculus. Then came John McCarthy, eyebrows thick and swarthy.

Speaker: whose S expressions made lasting impressions as Lisp before he was 40. Friedman appeared left field, plus a guy who steeled.

Speaker: They not only schemed their virtual machine, for with Java also they dealed.

Speaker: in In continuation, arrived Rich Higley. A fellow fairly tricky and errant C-sharp composer, who since invented Clojure, and now Java keeps taking the Mickey.

Speaker: And so, like, you know, at some point, I was gone. This is a round of applause. Come on. We've got the soundboard here. Oh, yeah, wait. Hang on. Oh, no.

Speaker: That was the wrong one. Wait, here we go. No. No, Jesus Christ. Walter, Walter. That's for wonderful

Speaker: Yeah, it is. It is. Fix it up. We do something awesome here. Yeah, that is wonderful. And so along this, you know, this amazing history of closure, I was born at some point. I'm in, you my mid-40s now, so it was a while ago.

Speaker: And and and so so, meanwhile, a boy from Pune grew up with many lacunae. A quarter-life crisis made him revise his life as a decadal MBA.

Speaker: So follow far and wide did he, lessons.py and JavaScripty. But he had to surrender to methods double dunder, forlorn that he wasn't so classy.

Speaker: Trolling HN in great despondence, he read PG's Lisp propagandons. In a desperate flail, he stalked and called email local Lisp nerds seeking correspondence.

Speaker: Some emails caused others, you see, which further caused SICP. And his mind chose to blow at page 70 or so, thinking, hey, where's my X equals to 43?

Speaker: There's no assignment till chapter three in SICP. And somehow it occurred So it's like, yeah. ah Somehow this lisp fit his brain after considerable pain.

Speaker: from chasing his tail through recursive entrails until his demon he'd slain blah blah blah and then you know then i was like okay i'm done i can't keep going yeah come on this is that was celebrate that's all that's well that's already fantastic way okay yeah employees yeah it is a great that's great and you know to fast forward through everything um I spammed more people saying that I want internships and this and that. ah Because like backstory is in the 10 years prior. So this was around 2012 or 2013.

Speaker: ah For the 10 years prior, I was like hardwired into the local like startup slash small business ecosystem in Pune. um um i was ah I was deep into like knowing everything about venture capital and how funding works and this and that. I tried a company and failed and all of that stuff had happened.

Speaker: um And so... um So I was looking for people who were slightly nuts. all right um because i could have I could have landed a regular job at a regular services company. I could have you know, fangled my way in some or the other.

Speaker: um And so ah at the time, infinitely beta, which was started by some common list hackers and like a guy called Abhinash Sipathi, who was the CEO, who for sort of put in the seed money and whatnot.

Speaker: ah And ah they they apparently they had picked Clojure for its merits at the time. um And at the time I joined, at the time I was talking them, it was like infinitely beta.

Speaker: And then when I joined, sort of I landed the internship. it was It was called Help Shift, which sort of became the the company eventually. ah And they decided, the you know, after pivots and after to like working through a bunch of other very cool products, which didn't really get traction, they found this place where ah customer support on mobile devices was a big like open gaping hole that nobody had really addressed, where you would be able to deliver like customer support inside the application itself.

Speaker: um you know So in practice, it meant making software development kits for iOS and for Android, which you know which like error reception or Crashlytics or any of these other SDKs people would embed into their applications.

Speaker: um And then we'd also provide a se like a so software service dashboard for for agents of our customers to respond to questions and whatnot. so These were like human agents. Back in the old days when agents were human. Yeah. So anyway,

Speaker: oh BG was the guy who put me onto SICP. um And then then I landed an internship that he... oh i I basically asked if I could come and sit in office and study SICP while everybody else was doing their stuff.

Speaker: And he quite graciously agreed. so um So I went and I hung out for a bit. And then he was like, oh, what are you doing? i was like, well, I'm just studying. um Would you like to work? Yes.

Speaker: You want to pay me money to study? Sure. I will i would say yes. um And I could only do this stuff because at the time, my then wife had supported me.

Speaker: she She had picked up a job and like she's a filmmaker, but she had picked up a job. And I was on like this quarter-life crisis of articles. I tried a whole bunch of things, okay? Type setting and copywriting and, you know, blah and this and that and whatnot. so ah But but the programming stuck. I realized basically that I couldn't write for money.

Speaker: And I also could not type set for money. because that was was just it was just too hard to get people to see what went into that work. Whereas the programming seemed like magic and whatever. So yeah, yeah so sort of that's sort of how i I fell into the company and they happened to be using Clojure.

Speaker: And so Clojure happened to me. um okay And yeah, and the in in the first ah year, year and a half, i was I and ah another colleague of mine, we were writing QA tools and QA software with Clojure.

Speaker: um And like the the kind of stuff that people did was quite sophisticated. So Mayank, my colleague, he wrote like a model checker because the the business side of the application, the business end of the application had a lot of rules.

Speaker: business groups and with, you know, yeah filter this type of customer to that type of agent or, you know, like if they're a paying person, then put them on, if they've got a premium service track, then put them on this team, blah, whatnot, like a thousand other things.

Speaker: And so so, yeah, this guy wrote a model checker and ultimately he got it to a point where he could send ah a reduced test case, ah emulating like a bunch of actions that the backend would take.

Speaker: ah And he'd basically ask the backend developer to run the thing on their side and and figure out at what point it was breaking.

Speaker: And then they they basically like they'd basically communicate over over Slack. And before that, we had IRC. We had our own IRC, hosted IRC. um And so they they'd basically be emailing maps to each other.

Speaker: And that's how they debug stuff. right you don't have to like it's The rules are self-evident. The documentation is good. so um So Clojure made a lot of this kind of stuff. like It's almost like a cheat.

Speaker: most Most other QA teams really cannot do this stuff. So so yeah. so I mean, then there a lot of manual setting up of a whole lot of clusters of but ah Elasticsearch, MongoDB,

Speaker: bla is that you know the the The grant work where I learned some bash. so So yeah, so that's that's sort of what happened. but And that was, you said it helped shift, right? Yeah. this So you actually wrote a blog post just a couple of days ago or last week or something about the secretary problem.

Speaker: yeah And I think that was from the same era in your life, right? Like, I think that would be really interesting, just like briefly, if you can explain your kind of innovation and hiring that you did there.

Speaker: A very, very crucial approach, I would say. Make it simple. That's very kind of you. But but um it was honestly, it was like a copy paste of. ah So like in in in my earlier life as a suit slash MBA, I I had chosen to work with the small companies and with small businesses particularly because MBA, like internships, they sort of turned me off to fancy spreadsheet jockeying and, you know, just give a presentation and, you know, now it's your problem kind of thing. So so I did a bunch of strategy consulting and whatnot, but we would propose stuff and help the help the executive team also get shit done. types um

Speaker: And so when you work with people like that, then, the see, you know, um Most people, I think most engineers, especially software developers, become kind of bottom up to hiring because the the HR or the human resources department or you know the recruiter or whoever, they are sort of setting the the tone or setting the bar for what hiring should look like.

Speaker: And their hiring tends to be process oriented for structural reasons, for organizational reasons and whatnot. And that's what software developers end up learning from from you know the management side. yeah ah But ah one of the it's sometimes some some sometimes somebody writes something and that really gets you.

Speaker: So you know over the years, I'd been working with hired interns. I'd hired a bunch of people at from time to time, run some teams and this and that, um and experienced a few different ways in which people figured out whether i would fit the organization or not. Right.

Speaker: ah and um All of that sort of crystallized by the kayak.com CEO, Paul English. Okay. So he he had written um a blog post or an essay back then. It's not on the internet anymore, but he was interviewed. So it's like his opinion is that a CEO's hiring is a CEO's number one job.

Speaker: That's a CEO's fiduciary responsibility because... ah culture beats, you know, there's there another fun saying called ah culture eats strategy for breakfast, which I kind of believe in. ah And so like getting the right people in is essential to keeping the culture and or changing it because changing culture, like organization change is very painful because you have to change. People have to agree to change habits. And, you know, it's it's just, it's a lot of squishy human stuff.

Speaker: um um And their view of hiring is that they They're all operating on very, very different signals. Like they're operating on um intuition, which is sort of like crystallized experience over a period of time. They know what the industry needs or not. Like they have pulse on things.

Speaker: So this this Paul English essay said that his timer from hearing a person's name favorably right would be seven days and not seven business days, seven days.

Speaker: So his deal was that as soon as I hear someone's name, I want to make a final offer within seven days. Right. And that's a tight hiring loop. Yeah.

Speaker: Right. And so he would relentlessly just pursue, pursue, pursue until he he got stuff. And so like when you start thinking like that, then you have to ah figure out a very different way to engineer. And it is an engineering problem, by the way.

Speaker: It's an information architecture problem. It's a information theory problem. And all of these things like sort of come in. I mean, you can get intellectual about it, but very simply, you have to manage your cues well. at at the pace at which you want to want to want to do it. And very, very basic, very, very simple checklist work.

Speaker: And the reason that one has to do this is optimal stopping theory, which is the set like the secretary problem is a formulation of the optimal stopping theory. It's that if I have to, for example, hire Clojure programmers, then I know there is a universe of people who would be good at writing Clojure. They are not necessarily people who know Clojure.

Speaker: right right So it's always a trade-off between how quickly word gets out to ah how quickly my message gets out to people, how quickly they are able to respond with some application, how quickly am I able to bring them into my ah my hiring loop, and how quickly are we able to fill the position.

Speaker: So these are all like, I would argue, i would guess that a lot of these things fall on either Pareto curves or PowerLaw curves. that the the odds of me hiring someone whom I've seen in the first three days is very high.

Speaker: Because by then, I've already started sinking a lot of effort and you know doing a lot of sunk cost stuff. Right, right. ah Into like filtering people into this pipeline, that pipeline, whatno what not what.

Speaker: And so ah if i if I accept that is the way that is the only way my my hiring loop will work, then I'm going to be hostage to this this optimal stopping theory problem or security problem. right So one way to escape that or one way to defend against that is a to always have an open door policy.

Speaker: right to confess that I'm going to be making mistakes because of structural reasons, not because I'm bad at hiring. Because Pareto rules work against me. Society is to blame. Capitalism, I like less think you'll find. fine okay Too early in the show. Sorry, iha I'll hold back on that one. The the the sidebar on that is, well, with capitalism, though the flavor that I appreciate a lot is...

Speaker: um There's a book called um ah Economics as if People Mattered. so but's so That's the subtitle of the book.

Speaker: Small is Beautiful. Okay. So it was, I think, written by the former minister of coal of the the British, the then Britain. And he sort of outlined his view of what economics ought to look like. Okay.

Speaker: And it's it's not anti-capitalist and it's not pro-socialist. or like it's not It's not particularly any of these. I wouldn't characterize it as any of these flavors, but it recognizes that finance, economics, money is part of life. ah And how do we do it so that, i like you know as the book title says, as if people matter.

Speaker: um And so ah it's funny that that comes up because that's also a message that that I carry. I read that book a while ago. And hiring ought to also happen as if people matter. and Rejection is very hard.

Speaker: It's a good, I mean, it's a good motto, if nothing else. yeah yeah yeah yeah And so, so um what prevents organizations from keeping an open-door policy is typically there is some ah legal or HR president or whatnot, like um might, I don't know what like different jurisdictions might do, but um um in litigious societies, I guess people don't want to get sued saying that, oh, you know you said you would consider my application if I applied six months later, but you're not talking to me anymore.

Speaker: So going sue you. right So it becomes almost like a contractual promise. If you can fly under the radar with that, it's great. um Because I feel that's a ah much more humane way of doing it. And long term, it helps both parties optimize for the right stuff. right um And again, these are second, third order effects, which are very, very hard to predict, understand, guarantee any of these things that um if I hire three or four people who are really good at, let's say, writing things down and writing good code and doing code reviews well and blah, then I don't need to hire people at that rate.

Speaker: like even though even if my Even if my business is going like gangbusters, I don't need so many people to do that to to do it because we are organized like bosses.

Speaker: So it it's you know it it flows into all sorts of things like organization design and ah the kind of thinking that one puts in into hiring people. going Coming back to the Clojure example, and specific to the QA thing, we wanted people In India, in my city in Pune, which is mostly ah IT services like hub, we wanted people who would be okay to, who would have first of all experience having seen enough, done enough QA, manual QA and other kinds of things also, which is really important, which a lot of stuff can't be automated, but who would be willing to learn to program.

Speaker: Now there's a huge resistance to learning to program because that's like a sunk cost, which doesn't help people get hired into other QA roles. And the other thing that works against people is the the normal order of progression or promotion is people want to become managers because that's the only way they get they get more money, this, that, whatnot, right?

Speaker: And so you have all of these things acting against you. When you're trying to hire for people who would be willing to learn how to write a programming language, which happens to be Clojure, which has no market.

Speaker: Like in 20, 30, 30, 40, nobody's going to hire you like just because you know Clojure. and So you you want to filter for people who are ah curiosity oriented, who care about, the they are auto-tellic and auto-didactic to a great extent.

Speaker: And I think these are very weak signals that get lost in resume resumes and in portfolios. They're all like marketing documents ultimately. and And programmers are really bad at marketing themselves. Let's be honest. So it's it's important from the from the hiring manager and or hiring person's point of view, it's really important for them to create the space and the time, time especially, right? Time is space in hiring. Like you need volume and you need four-dimensional volume ah for like for the weak signal to percolate through.

Speaker: Okay. then you need a bunch of GPUs to do matrix transformations. and forth oh that That's all right. My brain consumes 20 watts of power a day and it it does you know it does a bang up job. I don't i don't need to need math for that. It's compressed mathematics.

Speaker: Absolutely. yeah so and I mean, I've gone around long long enough, but this is the the specific tactics and the way a person might implement their particular hiring loop in the context of the organization is organization specific.

Speaker: But, and I mean, I've detailed the way Mayank and I ended up doing so. a lot of ah Some of these things were um like self-looking that how would we like to be treated in ah in a hiring group.

Speaker: yeah yeah yeah um And the reason we could do it was because there was no supervision. Like management and C-suite was busy doing their management e C-suite things. And we were like, you know, some QA people in some corner of the office, like, we,

Speaker: yeah we just did it We didn't have any real HR. We had admin people. So so it was, again, it's it's a particular set of circumstances which can't be replicated in most organizations, which is why I'm caveating the specific tactics or techniques.

Speaker: but But big picture, I think, you know, culturally, if the if the organization approaches um hiring as a as a constructive activity, as opposed to a um filtering activity, which is what most hiring pipelines are.

Speaker: So you want forward feedback loops, which means that you want to keep the door open for people. The way we did it was ah when we said no to anybody, our email, depending on how much information we had at that time, we would say that, okay, you know, um ah we hear you. ah We are interested in, you know, these one, two, three, four skills.

Speaker: ah And we'd like to help you get there. ah So if you wish, tell us. We will send a follow-up email with a list of recommendations. And you can, and we will offer an office hours guide cadence for you to check in with us weekly.

Speaker: Right? And we will tell them that if you say, yes, you're on the hook. You have to do this. Because you committed. Right? Because I'm making time commitments. And the funny thing is like, so, ah numbers wise, we ended up, between the two of us, we ended up screening about 300 people in about a year. We ended up making a four hias of for final hires out of that, which is sort of very standard for any sort of a hiring a loop. But the outcome was that um they all became tenured in the context of a startup. Everybody remained in the company for five plus years.

Speaker: okay um And that credit doesn't come to us as people who picked the right people. A lot of that credit goes to my other colleagues who built the culture where it was possible.

Speaker: i know I think it's bit of both, isn't it? Yeah. love And symbol just just quickly to close that bit about outcomes was like, um in my reckoning, so I was there for four years, four plus years from like 2013 to 2017. I would I measure 10. Yeah.

Speaker: one point four to one point eight or something ah yeah i measure i i just can let him but yeah yeah yeah so And I remember Clojure 1.8 because that was a painful migration because the JVM broke and not Clojure and blah, whatever it is. Some string thing broke. I forget details. It was apparently a very traumatic migration. So people forget traumas like that.

Speaker: Anyway, um where was I? Yeah, I was saying that um that kind of stuff ended up creating a culture where now think about this. Our engineering team ran everything in-house.

Speaker: We ran our own MongoDB clusters. We ran our own Postgres, Kafka, Redis, Elasticsearch. Most of our like business-facing, SaaS-facing thing was Elasticsearch clusters.

Speaker: And these are not like really giant clusters, but these are not tiny either. A few terabyte kind of indexes and whatnot. um And all of this stuff was run in-house by an operations team of six people.

Speaker: which I happened to fall into. So I was part of operations for like couple of years. i was a release manager and, you know, all sorts of stuff. But but yeah, so six six to eight people at any given point in time in operations. And I think not more than 50 people in all of engineering, counting everybody, like product managers, project managers, um developers of iOS SDKs, Android SDKs, blah, this, that, whatnot.

Speaker: And at the time I left the company, we were doing something like, ah I think we were doing 30 or 40,000 queries per second at our Elastic Load Balancer. Oh, and we were operating our own infrastructure in AWS and in Azure in parallel.

Speaker: Because Microsoft was a customer, Microsoft Outlook for mobile was a customer, and their contracts said that you have to run this stuff in in our data centers. so So a lot of these things, and it that's why i'm saying like it's a the The sum of these, you know, like after 50 people, i think about maybe eight or 10 people put in like a lot of good design thinking upfront because of which things just worked.

Speaker: And it's common sense. A lot of that is common sense stuff. Like you read the manual, you read Kafka's manual, you you read Elaxis search manual, you tune the damn thing according to the manual and it works.

Speaker: AWS people would keep coming and trying to upsell to us and we'd be like, no, but we're doing like a billion events a day in our Kafka cluster and they're like, huh, how are you doing it at this cost and whatnot? We're like, we're doing it.

Speaker: Because we just tweaked it. There's no special thing, right? Nobody did any kernel hacking. Nobody went down to like WhatsApp level um software engineering. Like those guys on their Erlang boxes, they were they were getting like two or three million concurrent active users.

Speaker: or box. Right. And they, they ran vertical monoliths everywhere. Yeah. Cause it's airline best programming. or just go So word length Erlang was good up to a point, but to actually get performance, they did a lot of kernel tuning.

Speaker: Yeah, sure. They went down to the TCP IP stack and then they, you know, they, they specialized, they did a whole vertical systems integration for themselves. Yeah. Right. And the closure monoliths in our case was, I think, you know,

Speaker: Now it must be like close to half a million lines of closure accumulated over the years because you know it's it's like it's it's doing a lot of different kinds of work. We take that monolith and build it into many, many different services.

Speaker: And then there were a lot of trade-offs. So the HelpShift engineering blog is pretty good. I wish we had written a lot more because people did some really m really intelligent, careful engineering work that ought to get spoken about more.

Speaker: um Because you know these scale numbers are like big, like whatever. like the SDK was installed on 2 billion devices worldwide. our our Our backend would see like 300 million because this is like mobile. So we are a B2B to CSAS company.

Speaker: Our end customers, like, you know, a game like Clash of Clients, it wants to do a new rollout. Boom. You're going to see like 50 million new users in one week. So our capacity, our server capacity planning would have to be according to their launches.

Speaker: right So like all ah a lot of that stuff would would happen. And oh again, I don't think like any of this thing can be planned in advance. But it can happen if people are very, very clear about keeping the culture a certain way.

Speaker: And the outcome happens. It's something like that. so So yeah, and and you know this hiring bit is one part of that. it It can't exist in isolation. It can't exist just like that.

Speaker: ah So yeah. But it's a virtuous cycle, right? Because the yeah culture created that opportunity for you to do the hiring that way, which perpetuated the culture. So yeah yeah. Awesome. And in my estimation, we weren't even like, we were kind of okay at doing this stuff.

Speaker: One of my previous employers, a small design agency based in Goa, 25, 30 people or whatever. It's a service company. All right. They were really good at running an organization.

Speaker: Very good. It's a private limited company. Again, very capitalist, very like profit oriented, revenue oriented, blah, this, that, whatnot. But so so that's what, right? Like the the legal entity and the way ah something is structured doesn't have to dictate how it works.

Speaker: right So in-house, we had very clear, so there was a technical track and there was a managerial track of promotions. Because they were design people who were technical people. Copywriters were technical people. They would choose to remain ic in that sense.

Speaker: These are all terms that I picked up in software. But I still have the hiring docket that they gave to me on the on the day I showed up at the office. They flew me in. They gave me this hiring docket.

Speaker: And they said, okay, right now, until lunch, you read this. Make notes of any questions that you have. All the things that you may need to know about how organization works. And it's a beautiful infographic. It's like somewhere in my... in my archives and I still have it because it's a masterclass on how to communicate things to a new person and help them situate themselves in in your organization ah with information that they would figure out six months later.

Speaker: But you can give it to them right now.

Speaker: Can I just... ah yeah oh know sorry I guess you're close to the finish of that particular point. yeah so you i mean ah make me t talk like it It was very long. so its the the This is like a bit of an aside. We might cut this out, okay? yeah But we might not. well But we'll see where it goes. There's...

Speaker: Something that you said there, which i kind of always take a little bit of umbrage with, which is you said there were ICs at this point. And I hate this concept of something, or of a person being called an individual contributor.

Speaker: I kind of like this this notion that if you're going to be, if you're in an organization, it's kind of an isolated, the reason I mention it is because I feel like it's an isolating, atomizing thing.

Speaker: kind of term a dehumanizing term actually and they're sort of like separating you out and sort of like from the herd with this herd doesn't know like society doesn't exist herds don't exist organizations don't exist individual contributors exist and management exists to herd no to guide to the individual contributors the individual contributors are are either good or bad on their own merits.

Speaker: There's no concept of any teams or any symbiosis between people. And yeah, I'm banging on a bit now, so I'll shut up. But do you get my point? I mean, I don't know if you ever think about that kind of stuff. Yes, yes, yes.

Speaker: And again, the solution, this is saying that that company was really good, really mindful at doing all this stuff. Because some people wish to be like copywriters. They want to get really great at copywriting.

Speaker: Some people want to become very good designers. So they they need to progress. So what we would have to, to it again, it has to work from the ground up.

Speaker: the Their review cycles and their review culture was different from our review cycle and review culture. Okay. The director of the company would sit down with these people every three months and review with them the creative work that they've done individually, like each person, because now you're in IC, right?

Speaker: So you're an IC, so you get reviewed in terms of an IC thing. And management will make sure that people are talking to each other. Like the ICs are not sitting in isolation. They're individual contributors in the sense that a person will say, oh, you know what?

Speaker: This kind of copy I like to write, so i will write this copy. Or I'm good at writing this copy, so I will write this copy. I guess i'm taking I'm taking a bit of issue with the term, really. Yes, yes. I mean, I'm using IC because that's sort of the software term.

Speaker: Yeah, it is a term of art. Like, I actually struggle with this a lot um because I am a manager. And so when I'm talking to like, when when I'm talking about creating career letters or I'm talking about hiring, like that is the term that you know, modern and HR organizations use.

Speaker: But i I agree with you, Ray. I don't like the term for pretty much the same reasons that you do because it contains the word individual. Yes. And, you know, all of the good companies I've been at, you know, we've had teams or, you know, teams, pairs, et cetera, et cetera.

Speaker: So, but it is a tricky one because this is kind of the term that's used. So, I occasionally say it myself, even though I really don't like the term.

Speaker: yeah So i I see where you're coming from, Ray, or I agree with the kind of sentiment behind your coverage. Yeah. As long as you're not going to end up talking about human capital, maybe we can move on.

Speaker: Yeah. ah So let me let me just drop the fact that they actually call these people specialists. ah That's a better one. Specialist is actually a very prominent term for this, right? Like yeah you want to specialize in something.

Speaker: yeah And managers can also specialize. You can be a management specialist. sure man And they were formal, by the way, they were formal parts in the organization to switch from being a specialist to being ah what they called a project manager.

Speaker: okay So a project manager did a lot of things. like i I was a project manager. So in that role, I had to sell our work to clients. I had to take the client brief and then translate it for the various functions in the in the company. i to make sure that all of these things, you know, communication was flowing, that people knew what they were working on, blah, blah, blah, all of that stuff, um which is, again, not traditional for a for classic marketing or advertising agency because they'll have functions like,

Speaker: fine-grained functions. There's somebody for client servicing, there's somebody for project management, there's somebody for this, there's somebody for that, blah, blah, blah. Like, you know, super specialized management functions. This was a generalist management function with different ah different um criteria for promotions, for getting bonuses, for like, you know, and it was laid out, like you are opting in. So, for example, one of the criteria was that as a specialist,

Speaker: the specialist role tends not to be so stressful because you're not on the hook to pick up a call at any given point in time from your client. but You have to be present and you have to be available immediately. That's client servicing is your number one priority as a project manager.

Speaker: And it tends to be that, ah um I guess it's become popular to say, you know, maker's time and manager's time. and order on Manager's time tends to be very cut up.

Speaker: So it's psychologically ah very, very demanding, very stressful, very unsettling. um And these these people are also on the hook to bring business in.

Speaker: um And they carried a lot more risk in both ways, like risk but risk reward in terms of earning a bigger profit share because, and again, these were spelled out in clear terms. um The specialist groups would Because they had ah again, it's an opt-in thing, right? Because you can switch from specialist to manager, ah project manager kind of tracks, which eventually goes to business head of the organization.

Speaker: yeah you know You're running like a whole portfolio of things and whatnot. And you could go the other way.

Speaker: Okay. I'm just thinking we... we yeah Secretary problem. Yeah. Okay. Yeah. Yeah. The secretary problem and management problem and all of these things are, yeah but actually in software or in engineering and tech, if you see some of the old school companies like Texas Instruments, National Instruments, they have MTS tracks and they have managed um but member of technical staff tracks and they have engineering tracks, which have very different criteria.

Speaker: Right. Right. Right. And they have formal systems of mentoring of a skip level, Skip, skip level mentoring, like the responsibilities are completely different. Yeah.

Speaker: And that's something like and in the old school system, they assumed a much longer tenure, right? So they they actively invested in people because they assumed, you know, this person might join at age whatever, 21 and then retire from this company at age 65 whatever.

Speaker: So that yeah it's kind of a shame that we don't do that much anymore. You know, like with at least when I became a manager at a pretty big company, um there was no training whatsoever for new managers. It was just like, yeah okay, you're an engineering manager, you'll figure it out.

Speaker: yeah And then they wonder why so many first time engineering managers are really terrible at their yeah job. Yeah. yeah like I liken like the the software industry, like ah you know engineering nerd turned entrepreneur kind of like that that kind of set.

Speaker: Typically, the Silicon Valley set, which is like no flat organizations, this, that, whatnot. First, they should read Joe Freeman's The Terrania Structuralessness. It should be required reading for those people. And second, they should be required to work in a service business, in a service industry for five years before being allowed to ship a line of code.

Speaker: Because that tells that gets you close to the people who you are building this stuff for. it like there's no there's no the Empathy doesn't come magically. It comes by putting yourself in that position. Yeah, but hold on.

Speaker: Don't you know that empathy is ah toxic nowadays? True. Yes, that is true. I mean, but this is like, people you know, people at the highest level of society say this kind of shit.

Speaker: um it's really worrying. You know, mean, I kind of like, I think we're talking to normal human beings on this podcast. So i think that the audience will understand what you mean.

Speaker: Yeah. ah I do want to put it out there that people like are getting very, and you know, we'll talk about, um, artificial intelligence later in terms of like empathy killing.

Speaker: But, um, but I think a lot of these startups, uh, they start up with the grand vision of an individual's ego and, and, and that that's, that's the culture that that's set, you know, um, um,

Speaker: Anyway, anyway, we've got you on close. We've got the secretary problem. Yeah. um what what kind of What kind of stuff, Adi, are you kind of, what what I know you write a lot of blogs, so what kind of like technical stuff um are you focusing on recently?

Speaker: Yeah. So um ah

Speaker: for a lot of reasons, um I ended up I've ended up at a place where, you know, all signs are telling me to focus on building my own stuff myself.

Speaker: Like it's forcing me to want to live the indie hacker dream. and And, one of the things that I abhor doing is like managing dependencies.

Speaker: And, um and ah repeating things in the sense that repeating structure, like I can use a framework and make, you know, 20 applications which are similar but different.

Speaker: moving But that's, that's a in my book, that's a lot of rework. So, and also, I'm very averse to ah taking on like cognitive complexity. I don't mind writing, you know, a thousand, ten thousand lines of code extra, provided the complexity surface area for me as one person with one slot of working memory.

Speaker: is something that I can put in one org mode file. right that That's stuff I can manage. And which basically means, like the way I try to explain it to people is, I try to design by subtraction.

Speaker: I say no to everything. okay why Why do I need something that talks to a database over a network? ah Because the network is the reason why databases face this you know n plus one problem.

Speaker: Tiger Beetle has taken a very interesting design position, which we will see echoed in the Clojure community saying that there is one transactor. Like all processing is linear and serialized.

Speaker: And that, wow, that gives you extremely high throughput in most systems because most systems are... ah ah they are read heavy. read heavy yeah They tend to be read heavy systems.

Speaker: right and And I love the way Joran Grief, he's done this amazing talk. He frames it saying that ah instead of moving the codes to the data, which is what we do, like we ship SQL over, the we serialize it over the wire, send it to the Postgres thingy.

Speaker: And the Postgres thingy is supposed to, or whatever, not to, Postgres is amazing, like whatever, database thingy. It's the same clients of architecture. the the server bit of the database has to interpret that SQL and has to somehow trust that SQL injection has not have blah, blah, you know, 50,000 things. And now ah it has to manage process because it's getting code from, you know, many, many different clients trying to modify the same data in place.

Speaker: So it, it, it faces concurrency problem at the point of committing information to disk. right And the the architecture for handling that tends to become, is basically a you have to take some sort of a persistent data structure and approach or a MVCC approach with Postgres. So like a lot of ah computing complexity gets concentrated, loaded onto the database because we chose to ship code to the data.

Speaker: and whereas Tetomic or XCDB or Rama or Tiger Beetle, they all took the exact opposite. We'll ship data to the code. yeah yeah hey So so you look you run all the transactions, bi bind it with the application.

Speaker: Run it in shared memory space with the application. And fetch whatever data you need to compute locally. right And I don't know what Tiger Beetle is doing about like versioning of data and stuff like that. i don't know what they're doing. I've not looked too deeply into that.

Speaker: But the way the Clojure ecosystem has solved it is by saying, well, we'll have just a giant hash map over the network.

Speaker: Right? And so ah they they by so-called inverting the database, that's what they say, they've said that, you know, we're going to push all the problems apart from each other.

Speaker: So the problem for computing a materialized view is the application's problem because it wants to see something. It's not the database's problem. and The data stores problem is to make sure that the data is going to be available when the application wants it.

Speaker: Therefore, it must commit information, it must provide these ACID, whichever bits of guarantees it can provide. and that you know that By removing one of these like let's say availability or whatever from ah when when when queries are happening at the application side, I don't really care about Like no other application has to care about availability of this application thing. It can die.

Speaker: But they will still be able to run their own queries. right yeah um And if if they already have all the information cached locally, they don't care if the cluster is dead. Like your S3 is not available or you your data make transactor is not available. They don't really care because you're doing only read-only queries.

Speaker: and everything is cached locally. right So by splitting the responsibility of the a the C, and the I, and the D ah across like whatever permutations that makes with consistency, availability, and partisan tolerance, or whatever it is, um it's it's a very so different set of design choices that people have to make. its ah So this this I gave you this background because that occupies my head a lot because I don't want to do any of that stuff.

Speaker: either, right? Because I don't want to run a Deatomic cluster, I don't want to run a XEDB cluster, I don't want to run Rama system, because it is built with a lot of moving parts. There is a Kafka there, there's a there's a over the network, something over there, all of that stuff, right?

Speaker: Yeah, broker here, broker there, broker everywhere. yeah ah Yeah, all of that stuff, right? And yes, we can run single node configurations, but I don't know if I want to take on that kind of like parts complexity. It's just ah the bill of materials is huge.

Speaker: Software bill of materials. for that right um And I was like, well, what what other thing could give me um a lot of that stuff, ah which also I can safely run on pretty much any machine I think of running at SQLite.

Speaker: right And the other thing is ah machines have become ridiculously fast. So there is a performance budget. I can drop performance budget. by running a Kubernetes cluster across like a thousand machines.

Speaker: right So it's basically, is basically um if you really like go down the stack, it's ah it's it's bare metal, which is running some operating system, on top of which is running a hypervisor, on top of which is running a whole other scheduler, like a whole other distributed scheduler infrastructure, which this Kubernetes thing has.

Speaker: And inside that, you're running like ah don like and container images, which are zip files, which contain a jar, which is itself a zip file, which is like, you know, so so the point is that we have a surplus of compute.

Speaker: That is true. That's the facts, right? Networks are crazy fast. Servers crazy fast. Mobile devices are crazy fast. And we are choosing to throw complexity budget somewhere, throw burn compute cycles somewhere, right?

Speaker: So Electron makes it very easy to make like whatever, code once and distribute everywhere kind of applications. So people are, and you know, it doesn't take so much time to download a one gig chat application with a browser embedded. So you do it. Yeah. Yeah. right And it it consumes like, you know, a gigabyte of memory and it slows everything else down.

Speaker: And it's, people are like, well, this is how the world works. No, it shouldn't work like that. Yeah. yeah So all of this is a very good point, by the way. Yeah. It shouldn't work like that. Why should it? Right.

Speaker: resisting this, um, this kind of concept that, that this performance that we have is a thing of nature rather than a thing of, yeah yeah um, construction or like you say, people call it pragmatic, but at the end of the day, it's really just shortcuts.

Speaker: Yeah. Yeah. They're just taking... They're making things work with what they've already got. They're just you know piling on stuff rather than um actually yeah going back to the the basics. yeah Which is what... I mean, I think, isn't this the case that a lot of like people these days, they're picking up 1980s papers because they say... you know i mean, The Atomic was like that and XTDB was like that. They're kind of saying, well...

Speaker: We couldn't do it then, but now we've got all of this hardware. Now we've got all the speed. Yes. It means we can do it. But of course, if you don't take that perspective, if you just take the perspective of everything just sitting on top of some kludged tower of Babel, not a tower of Babel even, just a tower, tower of junk, really.

Speaker: Yeah, yeah, yeah. And so, like, closure itself. So, again, so... the For me, Clojure and the Clojure ecosystem is not really about languages the language or the libraries or whatnot. For me, it's more like a community of ideas because I can learn or pick these ideas and they tend to be very, very general purpose.

Speaker: And they can be translated into like reified into engineering solutions for things. So for my system, um a lot of like different things have ah have informed it. It's like if I've written a routing table once in my application, that routing table is going to be standard for all applications. Like everybody's going to have a user, everybody's going to have a login path, this path, that path. I never ever want to write that routing table again. Right? Because then I can write tests against the routing table.

Speaker: And then there is a other part of the routing table which is very domain-specific and very application-specific.

Speaker: Right. Because what does a framework do? A framework automates these patterns of organizing code, organizing architecture, organizing software. And a framework does this at the level of the software, ah the the files on disk, as much as it does with the modules that one writes in code. right That's how we get the MVC pattern or the MVCC pattern, where you put stuff in a particular directory. And you just get segregated by folders and stuff. yeah yeah Yeah. And so um their are method of management is to write tools from outside

Speaker: which will do all the work of, let's say, you know Ruby on Rails has been a very successful and well-loved, and you know people have built really big businesses with Ruby on Rails.

Speaker: Laravel is another phenomenal ecosystem where they've done, like their developer experience is killer. LXZ has done an amazing job with developers. um However, all of these are framework oriented. They will say that, okay, we...

Speaker: v by virtue of a particular pattern becoming popular in the community, and of which a particular implementation has become almost de facto, which most people know, ah we are going to build all our assumptions around managing projects that look like that. yeah right And ah from a release engineer point, I feel like i was doing a lot of release management on our monolith, which was, were building like 12, 13 services.

Speaker: We had 12, 13 main entry points from the same Closure base and we'd start the jar with, you know, main this, main that, blah, whatnot, right? The lining and directives would be used for that. Again and again. So coming from there, we used to face this problem that, you know what, there's actually a lot of repeated code here and there.

Speaker: And somebody wants to make a new service. So they don't want to start the new service inside this repo. So they make a separate repo. But, oh, everybody wants to do the same kind of crypto. Everybody needs to do the same kind of, ah I don't know, like, a consistent hashing or this or that. So then, okay, now let's write libraries for that.

Speaker: So you have Inhouse libraries and this creates the diamond, what is called the diamond dependency problem. Yeah. Like your dependent density trees get pretty crazy because of that. right um And um from yet another angle, like we know that ah monolithic, there there are actually multiple design ah things that are getting mixed ah over here. One is like,

Speaker: ah administrative access to source code. Right. So people who are doing the microservice thing will typically start new repositories for every microservice because it's sliced along the team.

Speaker: It doesn't have to be that. right now Practically what happens is ah small teams are running lots of different services in production. um But it trust that that that element of trust is there, that element of like you can apply enough software-defined rules in your repository, in your merge rules, in your this, in your that, whatever it is, right ah so that people don't accidentally like step on each other's toes inside the same repository, provided you have a sane organization. right And all of this boils down to the the other problem, which is the expression problem, ah which is what ah like software like polylet ultimately ends up solving.

Speaker: The expression problem for software on disk, software on code, is you have some bits that are functions-like and some bits that are objects-like. The objects-like things are your actual applications that run somewhere, which are managing state, which are very domain-specific, which contain intelligence about the the thing that you're trying to do for some something else across the network.

Speaker: right But they end up using a lot of very similar things. Like everybody will use, i don't know, let's say they take re-attit and they'll write re-attit tables in a certain way. Maybe they take Mali or they take Clojure spec or whatever, and they'll have specifications for user objects in a certain way.

Speaker: And inside an organization, you don't want like 20,000 ways of doing, explaining what a user looks like or what a foo object or a file looks like or whatever it is, right? So this information needs to be shared.

Speaker: But this is a specification, and specifications are agnostic to the state of the database. Right. and so like if we Again, if we map these, like if let's say we put ah a microservice ah in in in the table of an expression problem, let's say the column, the the the rows, each row is like a function or a method, and each column header is like a class or a type name.

Speaker: right And so the expression problem states that in a um In a functional programming system, it's very easy to extend multiple functions over one type.

Speaker: Right. But it's really hard to extend functions to new types because then you have to go inside every function and fix it.

Speaker: You have to open the function, unless you control the function, unless you have access to the function. Let's say I've written map for an array. array right And somebody else makes a list. And somebody else puts in a hash map. And now say that map has to work on all of these things.

Speaker: So map should know how to iterate over an an array. Map should also know how iterate over a list. depending It has to detect all of these things first. So somebody has to change how a map works, which in Clojure has been sort of ah provided for by the sequence abstraction.

Speaker: Anything that participates in the sequence abstraction gets access to these these these facilities. threaten And again, Clojure protocols are like the polymorphic dispatch, but it's not open-ended, it's type-based, and multi-methods are open-ended polymorphic dispatch, which essentially solve the expression problem.

Speaker: yeah There's a 2012 talk, which is great. right so but so yeah Sorry, i'm I'm coming to this point. He's cooking, Josh. Let him do it. hey I was just throwing in some old-school stuff. It's cool. it's cool ah On disk, it's exactly the same thing.

Speaker: The reason we have a framework is there are these competing priorities that are fighting for space, but it's all getting like squishy mixed up in where the file is put on disk, what the file contains, what it's talking to, how it is related, like what the call graph is inside the inside the project.

Speaker: All of that stuff gets confused. right And PolyLets has proposed general-purpose architecture with two different implementations, one for Python and one for the Clojure world, ah using their concept of bricks and um that There are four terms. I keep forgetting those four terms.

Speaker: Yeah, they have cladders or something. I forget what they're called. yeah So I sort of i i tried, honest to goodness, to use polyliths and I succeeded to some point. But then I had one more requirement saying that I do not, again, dependency allergy. right I do not ever want to rely or need to have my repo manager tool, some separate repo manager tool be upgraded so that I can do something with it.

Speaker: With my project. right right So Through a lot of trial and error, i it eventually dawned on me, I need to solve this table problem, but in my repo. right And it's it's on my GitHub, like aditya.akle.closure multi-project example.

Speaker: the read mes I'll send you the link. The readme is quite ah detailed. It explains the design decisions. And I have ultimately um ah done the XY thing. that There is a directory called parts, and there's a directory called projects.

Speaker: right so And what I'm using ah to do the dependency injection bit of parts into projects is I'm using Integrant. But you could use anything else.

Speaker: and so yeah so And it's also an open system that tomorrow if I want to not use any of my stuff, I can just create a separate project directory with a standard Deps new app command and be off to the races. right But everything else I get, I can just wire it in based on namespaces, based on directory paths and whatnot. It's a bit of work.

Speaker: ah Yeah, polyolith calls it bases and projects and bricks and like there's there's a whole like colored things and whatnot. And they have this like you know grid display that they do.

Speaker: um I control everything with one... For me, again, one slot of working memory, I want to open one file. And in one glass glance, let it be a thousand-line file as long as it's well organized.

Speaker: And as long as it follows a well-defined convention of parts and associations, I can i can i just need to read. Like i need to take a coffee mug, sit down for five minutes, go line by line, and then, ah, oh yeah, this is how it works, right?

Speaker: So that's sort of the thing that I've optimized. for And everything gets controlled with the Deps.Eden, which is at the top of the project. um And I'm at a place right now where I can run i run all my repels over the Unix domain socket.

Speaker: Again, everything is namespaced at the repel level also. And so i can I can build the common infrastructure, which is in parts. Like I want to modify a bunch of functions there, which are doing, I don't know, pooling for Postgres, or which are doing providing some common um jetty services.

Speaker: right And then I develop that independently of the application.

Speaker: While I'm also mixed up on the application. All of this, right? Just to interject. So that is the polyleth versus multiproject. Okay. Just to interject slightly.

Speaker: what from From your perspective, what's the difference between parts and libraries?

Speaker: Yeah. They are analogous. So for me, i so the way I wrote my project is that I should be able to vendor in a library directly into my my my project path, which is ln-s. Clone it somewhere, symlink it here, right and I'm done. No Git submodule nonsense, no nothing like that. right And in the distribution on the distribution side, I should also be able to, ah like let's say for IP reasons, I'm working with a client or I'm working with a customer, and they say, ah you should be able to ship me this

Speaker: ah source code anytime. right So I don't want to, I want to reuse my parts, but I do not ever want to mix the source history together.

Speaker: and And I do not want to do the submodule business and this and that. right So I need a physically separate tree of commits. But bundling, like, you know, if they say, ok okay, contract over, give us all the source code.

Speaker: um The bundle step should be like a mechanical copy. or these it's using This is using that. Let me just copy these subdirectories into one directory. Let me copy copy the project into the thing.

Speaker: And boom, it works. Because it's following the same the exact same architecture. This is where architecture comes in. right it's it's all it It elevates the architecture to almost almost the level of a protocol.

Speaker: And as long as independent things follow the same protocol, you're you're fine.

Speaker: um yeah I actually sent out a bunch of emails and people did reply to me, people who are doing like serious production systems. They replied back saying that, yeah, we do exactly this for exactly the same reasons.

Speaker: Because we need to ship a demo to someone. And so ah so then they are able to have a public GitHub right with a directory which is a symlink to something ah which has permissions, like which has Unix permissions or whatever that I can't access. So I can clone the repo. I can see the you know some we are the sim linky thing but i can never access it but the person who has rights to clone all of that stuff and they they have all of that stuff on their disk right yes interesting yeah i mean i think it's interesting for a bunch of reasons i mean like uh

Speaker: one of the things that we yeah um

Speaker: Maven kind of came around, you know, don't know, 15 years ago, 20 years ago, um and sort of essentially made dependency management tractable. um And since then, I think everyone is, at that point, you know, at that point in time, there wasn't that many, you know, you would download was use Maven, you might download a hundred dependencies.

Speaker: yeah But now you're downloading thousands. yeah Even in the Clojure program, you know, you might download a few hundred. yeah Um, which is, which I get, I get your point. Cause that is a bit, you know, we're sometimes, sometimes these ideas become a kind of pest essentially, you know, yeah they're, they're sort of in the end, they don't scale.

Speaker: yeah Um, yeah they don't actually, they end up causing us more harm than good. Yeah. Yeah. At a certain point, it's like, it's some relief from the annoyance of having to worry about where to find your stuff.

Speaker: yeah Now it becomes a kind of like menace because actually yeah we're getting supply, supply side chain attacks. We're getting all this other stuff and that's going on in terms of people just changing stuff underneath us that will just break things because this dependency isn't exactly specified in the perfect way that correct the build system wants you to build it.

Speaker: So yeah I mean, you can get all kinds of, um security problems that way. but on the other hand, know, conversely, um you get this sort of like, there's a whole bunch of tooling on top of that system now in terms of like CVEs, security management, you know, it's broken in this but fixed in that.

Speaker: um And I guess the point that you're making is if you vendor those libraries, you can still benefit from that. Correct. Correct. And more like, so this, I mean, I've documented all of this stuff in the readme of that that repo because I,

Speaker: I wanted to solve these problems for myself because I don't want to have these problems again and again. i Like it really bothers me that I'm going to have to keep running whatever NPM audit or you know whatever fix this blah that every single time.

Speaker: um And it it squarely comes down to the fact that ah the way libraries are written are written in terms of being used in a certain application context which is framework driven blah this that what it's like a it this it's a whole mess.

Speaker: um And so with this multi-project business, I actually don't even use the system-wide M2. I use the repo-specific M2, local M2. So if somebody is security conscious, in their build system, they can run a clone, they can run a depth, I forget the depth command, but they can run it and they can do a checksum and on the M2.

Speaker: and And if the M2 checksums to a well good known, well-known checksum where you are, where you know that, you know, you've at least reasonably ordered, you know what's there in your, in your application.

Speaker: So you need to checksum just a directory. there There's no, there's no, and again, there's no business of maintaining a VNV or a RBNV or a NVM. No, it's just a directory. The directory is a.M2 local to my project.

Speaker: It's very simple. And all of that stuff is controlled by, ah without needing, and ah so this is the really important point without needing any third-party tool. All I'm doing is I had to spend a lot of time wrapping my head around how Deps works.

Speaker: But now it works. And I have to do nothing more. I figured out how it works. And you know it's got the build command and this command and that command. And maybe tomorrow I'll do some Babashka tasks out of that. I don't know.

Speaker: But the thing that orchestrates my workflows is a shell script, ah which... you know which reads the depth seed in, because again, this conventional, it reads the depth seed in and gives me a readout saying, oh, these are the five projects.

Speaker: ah Which one would you like to run the REPL for? Type 1, 2, 3, or whatever, right? And it starts the REPL and it puts the Unix domain socket file properly named in a you know constant, always known location.

Speaker: So I just need to LS and whatever, like metaX and back, back and enter. And this is like dumb one slot of memory, one task, one task, one task, one task. It's just engineered like that.

Speaker: I think that's really nice. yeah I mean, taking advantage of what's lying around rather than making something new. yeah yeah Change the concepts rather than making a new tool. It's really powerful. And they're all there, like namespacing. All I've done is I've weaponized namespacing to project. artist Yeah, weaponized. like it's like Maybe it was not intended, but I feel like it was intended because Unix file paths are namespaces. They are namespaces. Like the whole concept is namespaces.

Speaker: Of course. yeah And which which is very analogous to how our browser, um our web URL paths are. It's exactly the same. There's no difference. It's just the protocol that changes.

Speaker: At the prepender protocol and whatever, right? And you have access to the same thing. So it is an addressing scheme. namespaces are and an addressing scheme. Unfortunately, there's an impedance in splash between how Java class paths work and how, you know, Closure namespaces work. So we have to do files in a certain way. But you can actually take a note from that and organize your project, your whole repository in that in that kind of format.

Speaker: Which is, again, this this is, I know this very abstract and there are too many moving parts here, um but they're all documented in the readme. And I put in screenshots and I put in like this whole explanation that I've given.

Speaker: But yeah. And so this this is the source management bit. And for the data management bit, I again want to never ever migrate, do ah run an SQL migration for any of my applications.

Speaker: Like I took that as a constraint, one of my constraints. And the other constraint came from the project that I want to ship, which is like a submission it's a that way it's a trivial like you could vibe code that uh in a day no you could really no really you really could do it ah you know steal from everywhere and then make the application um but uh which is what you know lms are uh but uh so when you mean vibe coding you mean you could write it yeah i mean it's it's just ah it's a it's a

Speaker: It's like a CFP. It's a conference proposal submission software. The equivalent of that for literary magazines. But the constraint here is that literary magazines don't have money. here So they they they they they can't really pay. And it's inhumane to ask them to pay for like subscriptions, ah for SaaS applications. But they need SaaS software for like editors sitting here and there to like collaborate over the same database.

Speaker: But they also need archival value, which a lot of other software don't give them. And all of this stuff, like it also ties into my interest in what we talked about sovereign sovereign software architectures.

Speaker: like Things that we can explain to each other and ourselves all the way down to the data. And there is evidence like from the Clojure community itself. I love the the Netflix guys talk this time in in in the conch where they they had this slide with a datomic version number bumps and closure version number bumps and they're like, in 10 years, we haven't run a single DB migration.

Speaker: Yeah. but Why? You have to really ask why. Because the data, the way it is stored on disk, the format, that itself has not changed. yeah And you've separated the view, that is the responsibility for constructing materialized views away from the database.

Speaker: So you can your migration is the way you rewrite the application. You write a new Datalog query and you've got a new view. right yeah The Rama guys have done the same thing.

Speaker: Except they're using Spectre. Everything is a Spectre query. right And on the other side, like you don't really care like because the XEDB guys are trying to do the same thing.

Speaker: So if you really step back and look at the architecture of these people, whether they're using EAV, transaction time, um semantics or whatever, the design choice they are moving to is like this datum ought to be like a fixed format.

Speaker: friend because we can let it be a fixed format because our it ah a a a traditional RDBMS complex, it really, really hardwires the materialized view with the data storage engine, with the query. All of this is a monolith.

Speaker: But isn't there a sort of, mean as far as I know, things like um Rama and things like XTDB don't enforce a schema, but Atomic does.

Speaker: ah But it's an open schema. Yeah. Like it's not an info, like the application gets to register the schema. Like if you look at the data query things, you register the schema and you, see it the the point is that I, as the person who wants to query the data in a certain way, I say, I want to look at the data in this shape.

Speaker: Sure. sure Right. But the database, the data storage bit, ah does not have to store the data in that shape. It stores the data in the the the datum, whatever, I don't know what format they use. the attributes, basically. Yeah, whatever, the EAV. Essentially, the EA bit is the thing which kind of gets potentially replicated or remade in certain ways, yeah.

Speaker: And I suppose it's like very interesting problems with database design because it changes how you deal with pages on disk, how you do compaction, how you like, you know, a lot of that stuff is, there's going to be like cool computer science problems there. um But you can also say, I don't want to solve it because I'm going to gzip a blob and stuff it into a S3 bucket and I'm done. yeah yeah You could do that, right? and So I'm sort of trying to collapse all of this stuff into SQLite.

Speaker: So I'm saying I never want to talk over a network. I'm okay burning CPU cycles on garbage queries, like six normal form ah SQL schemas, which are not optimized for joins. I will never do a join.

Speaker: ah The only operation I'm going to be doing is a write operation and a read operation. But I'm going to be like dumping gobs of data and reading gobs of data from disk. And I'm going to be doing all the map filter reduce in my application.

Speaker: And so for me, data migration, and I'm using Spectre for this. Spectre, it's taken me a while to get around the the API of Spectre, but it's phenomenal. It's like, I'm going to Spectre all the things now. um isn't that Isn't that kind of a Nathan Mars special? It takes you a long time to understand the tools, but then once you understand them, they they work pretty well.

Speaker: Yeah, yeah. And it's fast. Like, it's crazy fast, right? So I love it. like it's it's

Speaker: It's the kind of effort that I like to take. I took the effort. Like I, I mean, I bought into the Kool-Aid, right. I bought into the idea that Nathan says, you know, Nathan knows his stuff. So Nathan says that you do this and you know, great things that happen. And I say, okay, like you're Nathan, I believe you.

Speaker: Right. And it happens like that. It's, rich Rich says that ah that ah you buy into this idea of decomplecting stuff and good things that happen to you. And it takes a year to wrap your hand head around closure and concurrency. And you never end up using agents or refs or no any of those things and in in production.

Speaker: But atoms are great and you just need one atom in the system. Exactly. In a whole system. The atomic itself is ah like three or four atoms, I guess. Yeah. um It's actual closure atoms that they're using to manage.

Speaker: So the... the I'm going to jump in with a quick tangent here because please i so I took a holiday in Croatia last year and I i did a bunch of hiking on my own.

Speaker: And um ah my brain was running while I was doing this. And one of the things that, speaking of sovereign systems, um I really like running and hiking and all of this stuff. And so I had been using like RunKeeper whatever to track these things because you know I'm a nerd. I like data and stuff. But I don't want that fucking data going to the cloud and having... you know RunKeeper in the beginning was some cool startup and then it got bought by ASICS and then it got by... it

Speaker: bought by Google. So now through no fault of my own, you know, my my lovely data is all belongs to Google, right? So I was thinking, one thing I really like to do for record keeping, all I really need is a REPL and some Eden and I can write the Eden to disk or to your point, like throw it in S3, whatever, it doesn't matter. yeah And then I started being like, yeah, but wouldn't it be cool if I had some kind of schemas so I couldn't write garbage data?

Speaker: And I realized, okay, all I need is an atom. And then, you know, I have a watch on the atom and blah, blah, blah, blah. blah And I realized after a few hours of thinking, I think I'm inventing Datomic here.

Speaker: And it's just so amazing how, to your point, by decomplecting, good things happen. Because this simple idea of yeah the whole system is one atom, and all of a sudden, just atomic falls out of that so naturally.

Speaker: yeah And so if you learn to think that way, like of course you land on a good design, because it's the only design that makes sense. Yeah. yeah so So in a way, um I sort of realized that I

Speaker: None of this stuff that I'm doing. So I have a blog post called The Poor Man's Bitemporal Data System. Yeah, I read it. Copying everything from Datomic, this, that, that.

Speaker: And the I think I reverse engineered my way ah into what I hoped. So it was like a marriage of things that I dreamt of and things that i actually made sense to do it.

Speaker: And not just because I wanted to do it. Because I reverse engineered based on my constraints. like So the archival property, like sovereign data systems for me, means that I should be able to zip the database and email it to you and delete it from my servers if you ask me to.

Speaker: Like the moment you ask me to do that, right? This is extremely hard in a multi-tenant database architecture. Because it's leaked into your backups, it's leaked into like 50,000 different things. Like it's it's in logs and it's that and blah, blah, blah, right?

Speaker: um And so the solution to that, you want to be GDPR compliant and you want to be this and you're like as as a solo person, if I want to uphold the law, I want to offer like like like a SaaS application.

Speaker: So like GDPR seems to be great on the surface, but it's extremely anti-consumer and extremely anti-business because it doesn't let me ah use simple parts to offer simple services to people.

Speaker: The intent, the there's that intent there, right? But to comply with GDPR using the software parts that are commonly available, using the frameworks that are taught in college and, you know, whatever, it's nearly impossible for a single person to do.

Speaker: Yeah. It's really, really hard to run these systems, copies of these systems on, like, different clouds and different thises and different thates, right? It's very hard. Unless you think of, so you have to think of the architecture from, like, the vertical systems architecture, like, all the way from I don't want containers because I can just use like a cheap virtual machine.

Speaker: And instead of having one large client server database containing data for 100 users, I make a database per user because SQLite makes that really cheap.

Speaker: Database per tenant, you mean? Yeah, database per tenant. Yes, exactly. Not for a user, I hope. No, no, for user also. If the tenant is a user in a B2C application. Okay. and And I have 10,000 users. It's just 10,000 files on disk.

Speaker: Right. It's nothing. Yeah. And very rarely, I guess, I guess a lot of this stuff, I mean, it goes back to the original like reasons for databases because that's how it used to be anyway.

Speaker: Yeah. um It's for querying across stuff. So if you want to like query across like a thousand customers, you then now you've got to open 1,000 files.

Speaker: But again, who cares? you know Who cares? Yeah. This is the kind of thing... It's not just who, it's when. Yeah, exactly. Yeah. And actually, if you think about it, that's, I mean, the way I...

Speaker: The last couple of jobs, a job before last, that's how they ran there there a lot of their stuff was just by hitting a bunch of stuff, putting Parquet files on S3 and then doing queries using Athena. It's like for fucking ever, but it kind of worked, you know? Yeah. yeah um which is Which is a horrible solution. i mean, i I really think that's a horrible but compared compared to your solution, you know, which is much nicer, you know?

Speaker: Sort of, yeah. And so again, this creates other problems. Like how do how do I handle database schema migrations? I never, so then I'm like, I never ever want to do a database migration. Because like migrating something across, you know, even 10 DB files is going to be a night. I'm going to fuck up.

Speaker: Like I cannot write, i'm I'm pretty good at writing like failsafe automation, but even I can't make sure it works reliably over like 10 years or whatever it is. right I can't.

Speaker: So the solution is to figure out some format where I don't touch the format at all. right like title You have a triple and then you're done basically. Yeah, you're done, right? yeah And SQLite also imposes another interesting constraint saying that ah typically in-place migrations are difficult in SQLite because of the way ah the migration works. Like if you look inside the SQLite database file, your your DDL statements are actual queries that get stored in a particular table like a

Speaker: administrative table managed by SQLite inside SQLite. And those get replayed. So the the migration is, you know you run those queries, like create table, add index, this, that, blah, blah, what not.

Speaker: And so while that design choice makes it really simple to to architect SQLite as a piece of software, it says that, well, now if you want to do an in-place migration,

Speaker: then the database has no mechanism to like splice the row or column in between or blah, whatever it is. right so So it's typically like, if youre to do if you want to rename a column and do something, something, then typically you want to copy it to a new column, name something, and you drop the whole column.

Speaker: like It's sort of that sort of. So it is, um ultimately, it's accrete-only migrations are hygienic or simple in SQLite, which is a good constraint, provided you are up that constraint.

Speaker: And the other thing that makes SQLite ideal for this is the ah the way ah they are again flexibly typed, as they call it. And a lot of people give them, you know, like, well, types are one thing that the database should in like impose on the the the customer. If it's an int, then it should reject a string or you know whatever it is.

Speaker: But SQLite is like, well, if a column is an integer column, it's a suggestion. thank I will typically store everything as an integer in um and it will it will store it in the most memory efficient way for that datum.

Speaker: yeah So if I send a string one to that integer column, it's going to not just store it as an integer. It's going to say, oh this is actually a one. I can store it as bit. A bit, yeah. Nice.

Speaker: and And so this, again, makes it ideal for from ah from a data representation point of view for an entity attribute value system. Because um now I can be reasonably sure that if I store, let's say, a nippy serialized... ah blog inside a cell is going to be an APC-reless blog.

Speaker: My value thing. But if my value thing is a Boolean, it's going to be a bit. SQLite will take care of it for me. right And all I need to do is I call the column numeric.

Speaker: And I sort of, you know, so like little, little things like this can, I've not, I've actually not cared. The benchmark I ran was assuming Addy fucks up and Addy makes like really bad design decisions and stores everything as strings using PR, STR and reads using read, you know, and ah does all sorts of code injection exposure.

Speaker: um And then I said, okay, you know, like i' poor mindset, I guess, right? So I'm going to do the most poor manly thing possible. So I store everything. I, I store everything as strings. I use UUID 7s for primary keys. right let's see Nobody starts to do that.

Speaker: And so then I tried this benchmark. I wrote... ah And so also, transactions are append-only. The table is an append-only table. And it is trigger-updating the current view. The materialized view is trigger-updated from the append-only table.

Speaker: So in terms of SQL, like it's mind-blowingly expensive. like The database is doing a lot of work. right So I say, okay, um this is let me just see how far it it goes, right?

Speaker: So then I end up ah with a 10 million record database where it's the most pathological case I can think of. Like the same same five records, there is no there's no there's no um batching, there is no ah prepared statement caching, none of that shit, okay? None of the the creature comforts. It's just dumb, write, read, write, read.

Speaker: So I'm doing assert-redact, assert-redact, assert-redact. That's the transaction of the same set of data. It's pathological. Nobody does this. um Or it happens in a vanishingly small set of cases.

Speaker: ah So I do this on a 10 million record database. And I'm getting... like in know you know ah So I do assert-read-redact-read loop.

Speaker: and So essentially what is happening is because the same same information is being asserted and redacted, asserted and redacted, the materialized view is flipping from it contains something and it doesn't contain anything. It contains something and does because it's it's just getting deleted. Like it's getting asserted, redacted, and it's reflecting there.

Speaker: So the read should either return me exactly those values or it should return me nothing.

Speaker: So when I assert read and redact read, so it's it's a pathological case, right? So i first I... It's a Jepson case, I would say. It's ah it sort of a Jepson case. And I actually looked at the Jepson documentation. Jepson, Afira has a beautiful page on the the consistency models of distributed systems.

Speaker: yeah And if you look at this, like it's close, it hews close to one of the best consistency guarantees that you can get. with... ah So what's the throughput, right? so So I first populate this database with pathological like assert redact, assert redact, blah, blah, blah, blah.

Speaker: And then I start hammering it. So once I have 10 million records and I have that's like a 4 gig database because everything is a string. um Then I rerun this thing and now I measure it, I time it, right?

Speaker: And on that database, I'm getting um with serial one single threaded write and read, I get something like... ah ah but where each of these is an independent transaction, I get close to 1,200 transactions a second on that database.

Speaker: right Postgres struggles with this. yeah yeah oh the like right right Yeah, yeah. Then the the next thing I do is I repeat the same thing on the same data set. But this time I say writes are going through one one single thread right and reads are concurrent.

Speaker: right Now I'm getting um about ah

Speaker: ah In the first case, I'm getting close to 1,600 read-write-read-write transactions per like ah per but second. And in the second case, I'm getting 900 to 1,000 writes and 40,000 reads. and forty thousand reads Right. Okay. And this is unoptimized.

Speaker: If you look at the work Anders Murphy has done with SQLite, he did this insane project. We want to speak to him. We've got we' got him in the queue. Yeah. I mean, if you if you hang out on the Datastar Discord, he's there always. There's a very active ah Datastar closure like channel over there.

Speaker: And most of the time, we are like shooting, dropping memes and leg off topic. which is a great place to do. Off-topic is my favorite channel in all like discords and Zulubs. I live there. so So like I'm, so my friend this you know I'm doing the most stupid shit possible. Right. And I'm getting reasonable, like per tenant. now if you think of a scaling problem, right.

Speaker: If ah like tenants also follow power lockouts. So maybe I have one pathological tenant, which is, 10 gigs worth of data in a multi-tenant database, but I have a single file.

Speaker: If I want to isolate this this this user from this tenant from anybody else, I spin up a new VM. I run the same version of my Clojure application.

Speaker: And ah by the way, I've copy-pasted the one SQLite file from here to there, and I'm off to the races. like Scaling problem is over. I'm just running two servers now, independent of each other, right?

Speaker: And to the problem that Ray mentioned about doing like cross database joins and cross database queries, these are typically analytics use cases. These are like yes over there. yeah They're not here.

Speaker: They're not OLTP. They're OLAP. Yeah, definitely. definitely yeah And here, this is again where the the the data, datum, the way it is stored becomes really important. Where datumic profits from it. Why you can cache this stuff, that the individual unit of data ah infinitely is because it's never going to change underneath you.

Speaker: Right. and In SQLite, I can't do that, so I'm doing the poor man's version of that. But the way I've done it is, if I want to create one giant database of 1,000 people, I can just copy this, copy that, copy that, copy that, copy that, copy that.

Speaker: And because, again, this is where the bitemporal architecture, entity attribute value, namespacing, all of this stuff like joins together. And it's like, so now you can think of it as each database is just a hash map of namespaced key value pairs.

Speaker: where the namespace is the tenant namespace. right The top of the thing is the tenant. the So now if I have the tenant something, let's say I have Ray.name or Ray slash name, and I have Adi slash name, and I have Josh slash name, right?

Speaker: Or i I inverted, I say name slash Adi, name slash Josh, or whatever it is. like So what do I need to do? I need to do like a map merge, which is what an analytics query requires, right?

Speaker: Yes. yeah so and and And SQLite is really fast. like um The second thing I did was I took this 10 million record database and I said, okay, let's say um I have the analytic scenario where I want to create the materialized view from scratch. How long does it take?

Speaker: It takes under 12 seconds to build a snapshot view from 10 million records. right And the reason is because um like I have to do like a window query ah because it's a bitemporal um index.

Speaker: like Getting the indexes correct is it's kind of hard. like Part of the indices get shadowed and it ends up at some point it ends up having to construct a temp Btree which is expensive, blah, this, that. But it's a one-time activity. like If I want to do a scenario, I can make like three copies.

Speaker: um Scenario 1, boom, bust, and base. right I inject, I keep the base scenario with like kosher data. I put optimistic information in the boom scenario database, and I put pessimistic.

Speaker: right And I make these rebuild indices in parallel, 12 seconds. right I've got three different scenarios, three different materialized views. I'm off to the races. so So SQLite an amazing piece of technology. And so it's like, you know just trying to collapse all of this stuff, take steel ideas from everywhere, like um Spectre is great because I'm going to do the anti-pattern of doing all joins in memory in the application space, yeah not in my SQL space, right?

Speaker: This would horrify horify a Postgres programmer.

Speaker: So yeah you've been doing some, ah or you talked about some really cool stuff with technology. um When we were talking a little before we hit record, you also had some nice things to say about the Clojure community and and what yeah you know what keeps you with Clojure. So why why don't you lay that out for us? Because I think that's a very you know that's something i' close to our hearts, for sure. Yeah. yeah And it's it's sort of it's sort of something that i ended up noticing in hindsight.

Speaker: um And I also ended up realizing that maybe there's been an element of luck and Apart from intention, which I guess core team set in the beginning in like the etiquette message on ah the Clojurians mailing list, how you ought to, what you ought to speak about and how you ought to speak about that, et cetera, et cetera. That's very important culture setting ah without enforcement, right? Like nobody's holding a gun to my head to be like that.

Speaker: um And considering that, Possibly a bunch of people have come from other programming communities where um either discourse is very blunt or is very personal or very, you know, it's like, it's not,

Speaker: um it gets contentious. People also identify, self-identify with the smogless weenie archetype. And they always argue from a me position versus from the, oh, this is the thing position. is the idea position.

Speaker: and um and And so that, I mean, that is very attractive over the long run because it ah it leads to kind of fruitful discussions. And um I think I mentioned that, you know, fancy term calm technology, like calm technology comes when people are calm.

Speaker: yeah hey me When you're like, you know, just chilling the fuck out, like you're in a hammock, you're you're taking a time to think about things, you're not reacting in the moment, um there's no pressure to like ship or perish, you're not you're not always on the upgrade cycle, you're not on the dependency fix or this audit cycle. So like it's it's like the the the antithesis of that is death by a thousand cuts where like all of this stuff adds to the stress budget of an individual. It's not like we don't, like you know I don't have kids, but a lot of people have kids.

Speaker: They have elder care they have responsibility they're like you have 50,000 things going on in life right maybe you're in a region which is suddenly become hostile to your way of life which has happened to a lot of people and we get to talk to and again being a global community as McLoan says the world is a village kind of thing so yeah so it's great to be in a place in ah in a in a group of people where um

Speaker: people are not default reactive. People process stuff and then hold a conversation. and So that's that's one aspect of it. um And a the like it manifests in small things like Melody started the gratitude channel in in the closure in Slack and met a gratitude to Melody for doing that because it's it's a simple act. it Somebody made a gratitude channel.

Speaker: right And the the the Second, third order effect of that is it gives explicit permission for people to say right things to people like how you've helped me.

Speaker: Right. And again, gratitude tends to not be reactive. Anger is reactive.

Speaker: That's well said. yeah right Gratitude tends to be processed. And if there is no explicit channel for allowing gratitude to flow in a community, it will not flow.

Speaker: It's interesting. Yeah, creates a permission structure, as you said. permission system. like It's an explicit permission to participate. And then it's monkey see, monkey do. Like we love, yeah we like everybody hopes, right?

Speaker: Someday someone will come in gratitude and say nice things about them. I'm still waiting, man. I'm holding my breath. The survey is another thing, right? This is, again, culture setting. Like you do it once a year.

Speaker: But you say you have an open-ended question saying, please tell us whose work you appreciate in the Clojure community the most. Right? And of course, there's the usual suspects.

Speaker: Yeah, exactly. There's the usual suspects. But then you get to hear nameset, one name in a thousand answers, right? Yeah, you're right. yeah Who is this person? Like, then you Google this person like, wow, they're doing this work and they're doing that work and blah and this and that and whatnot, right?

Speaker: Clojure is together is another amazing thing. Yeah. that literally ah Again, the the the core team, again, clarity helps, right? The core team is very, very clear that ah they own decisions, but they do not own agency.

Speaker: Right? You retain your agency, but what goes into Closure Core is what we decide. And you have to live them the facts if you live with it. Right? And the way to participate in this one way is namespacing is a way to participate in something like this.

Speaker: Software architecture is another way to participate in something like this. right And because they've taken this position, I think the core team ah on the balance, like, you know, there are Clojure spec has been in Alpha for like since forever, but it inspired Malik.

Speaker: but and But it inspired some other solution. i And you... ah you you could use lose the plot and it's fine.

Speaker: It's totally fine. Because, again, if someone approaches or ties their identity to the JVM implementation of Clojure, then they are fucked.

Speaker: Because you're not going to get past Rich's table because he's got his i identity he's got his ah he's his agenda. You need to work with Rich. That's the other thing. That core team is actually a team now. it's not Richieki.

Speaker: It's great. Right? it's It's a bunch of, like the design decision rests with him. He says what goes in and what doesn't go in. But the point is that if Rich falls sick, there's Focus, there's Alex Miller, there's like a bunch of other people, there's Boktude who's off doing his own stuff. They deeply understand the Clojure compiler, right?

Speaker: In a pinch, anybody can come and fix the core machinery of the whole ecosystem. And they're not tied at the hip to each other. Yeah, I mean, that's right. There is a bit of a bigger bus factor in terms of maintainability now. There is BDFL. And I think for Clojure Core, it it's a constraint.

Speaker: Constraints have ah positive and negative externality externalities, depending on who you are, like what place you're facing it from. and For me, it's great. And for, I think, the vast majority of programmers who rely on the stability of Clojure, it's great.

Speaker: yeah Because they know that, you know, when, when I think about the work that went into the latest version of closure where you're trying to put in virtual threads on the sub in the substrate of code or async and you come up with some either, you know, signals and other kinds of stuff that you'd like to put in the language, but you're doing it in a way that doesn't break anybody's existing code.

Speaker: yeah Like it's entirely different. Right. Code or async. Historical had nothing to do with virtual design. And you discover, oh my God, there's a problem with the CPU pinning and it turns to be a really bad design decision.

Speaker: So you roll it back and nothing breaks for anybody.

Speaker: Right. And for me, I think it's it's great to be slow in this sense because when then people change things from underneath, ah like it's it's a rug pull in many ways.

Speaker: So it's it's a trade-off, right? So, I mean, I know that ah it's ah it's very unpleasant for a lot of people because they might want the cutting edge of something in there and blah and blah and whatnot. yeah ah Which is where my hope for Clojure 2.0 comes, right? Where the community expressly says that please break us.

Speaker: But break us in a way that, you know, like keep the 1.x line going until the the the Java virtual machine underneath falls off. Because that's sort of tied to the JVM or the.NET CLR or the underlying host, the the support cycle of that.

Speaker: And the JVM is really great at saying, okay, you know five years you can use this, don't think about it. Five years is it's okay. you know It's like after five years, if you have to do like a significant rewrite from X to Y, because you want to move from the 1.X line to the 2.X line, then do it.

Speaker: right But if you choose not to do it, your code is just going to run forever. That JVM is not going to die. The closure dependency tree is not going to die. Your M2 can be cached infinitely.

Speaker: And if you wish to run your application well, you can write your own libraries. like it it Again, it's a trade-off. right There is a lot of work that somebody will have to do. To indefinitely run 1.x mainline.

Speaker: If they have done like some you know deep surgery on the compiler which simply can't like manage array map trees the way it manages right now, maybe transients. I don't know what what changes.

Speaker: right But they're able to maybe rewrite the compiler in a way that becomes much more friendly to um full, like whole program optimization. Grawl compile binaries and this and that. right Maybe startup ah times are better.

Speaker: Although that doesn't really matter with Babashka now, I think it's it's an amazing project. So like a lot of these things, right which is sort of my hope that

Speaker: you know rich Rich and Alex and Stu and Fogus, they say that these are design choices that we cannot walk back in the 1.x line just because we we can't. like If we have to touch it, if we have to put protocols at the base of everything, then it's going to break, subtly break, like PQR, stuff, which I don't know.

Speaker: But in 2.0, I want to do that. i' want to break stuff so that the language, like the the the everything becomes smaller, like a whole... chunk of complexity is cut away.

Speaker: Because that's the debt that's going to be carried on. Like if they refuse to do this, then 2.0 is going to be really sucky compared to 1.10. The only problem is...

Speaker: Yeah, but you're not allowed to call it Closure 2.0, right? According to Rich's philosophy that if you break it, you have to give it a new name. Because actually, and that was a flippant point. But I think that's a good point because the Python people really fucked everything up with their... They called it Python still.

Speaker: But it's like... Python 3, yeah. Python 3. It's not Python because I can't run my existing Python code on your bullshit Python 3. Yeah. And they do stuff like, it's insane. like it's It's really hard for me to make a case for Python, the language, forget the ecosystem, right?

Speaker: The ecosystem is a garbage fire. It's yeah geographic it's a problem. But if the language core is going to break how Decorators work, the machinery of decorators work between 3.12 and 3.13.

Speaker: Yeah, that is outrageous. Yeah. Yeah. what about that like like how how Why do you do that?

Speaker: I don't know. I don't know. So, Ray, yeah ray you better yeah you better take us home. it it It hasn't been three hours and 15 minutes, but it's been two hours and 15 It's been a long time. Yeah. yeah yeah Yeah. Sorry, I'll just wrap up here Gratitude, calm technology.

Speaker: um And the other bit is um what it allows for me personally, and I think which allows for a lot of people to just have fun projects, right? There's a weekend hack that I do, which is half complete, but...

Speaker: Maybe I have time next quarter or you know next year to get back to it. I open it up and I never have to worry that I'll have to run an NPM audit, fix this, that, blah. I can be creative slowly over a long period of time.

Speaker: And I can have like a you know, there's this Austin Kleon thing that surround yourself with the mess of the things that you love. Like my hard disk looks like that, like half-ass, half-finished projects.

Speaker: yeah yeah yeah But they all contain a speed of something, something, right? um Maybe 95% of them are going to be abandoned where, which which I'm totally fine with. But i can't you can't a priori predict which 95% is going to be abandoned where.

Speaker: It gives you permission. it's It's a permission, right? It's a permission to do stuff at your own pace. ands sometimes you yeah Sometimes you don't abandon it. You just like don't finish it. yeah But if you don't finish it, that doesn't mean to say it's useless because like the next two or three projects you do, you've probably tried out some ideas in those projects. Even if you couldn't bring them to completion because you got bored or yeah or because it didn't work out for whatever reason in the particular thing they were thinking about.

Speaker: it's there in your brain and you can, you can repurpose it maybe, um, yeah or learn from it. So yeah, I think humans trying things out and humans learning things is what I'd like to see in the world.

Speaker: definitely I mean, I, the analogy is like Lego because Lego has kept the way parts fit, not the shape of the parts per se, but the way parts fit consistent for decades.

Speaker: Which means um if they made they if they fucked up with the engineering tolerance of, you know, plus minus 0.5 micrometers, they're going to that's the API. That's that's literally the API.

Speaker: The way one part is from the other, right? And so they're going to promise that all parts for forever, although your machinery could be more precision machinery or this or that or whatever it is, you you respect or you honor that That API. Yeah. and but And look at the insane stuff that Lego communities come up with. yeah yeah And so that's, I mean, I liken it that way, right? So yes, it's very frustrating. It's very annoying that half of the language, it seems to be perpetually in alpha and whatever, but the other half is amazing. Like,

Speaker: I wish they did. I wish they shipped, you know, Clojure spec, whatever it is. But I can run with Mali, right? I don't i don't care. like It's fine. It's definitely not half the language, it? Yeah.

Speaker: Yeah, yeah it's it's enough of a language. It's like, it's a lot. yeah yeah yeah all right mate well um like you say two and a bit hours uh yeah i think we've asked we've already asked the the the nonsense question that uh that vj likes yeah so shout out to vj i know you miss him i did yeah but yeah yeah but i don't actually miss him because like he he comes in the opening credits and the closing credits so we're like oh that's true yeah and yeah yeah a allow entertainment

Speaker: Yeah, he's supposed to record us the new closing credits, but I think Ray is supposed to write the scripts. And so like just like Clojure, we move glacially over here. at you know hey It'll be um done one of these days. One of these days, sometimes. One of these days, yeah. but Whenever Vijay comes back into like internet connection.

Speaker: He has an internet connection. I'm telling you, the north of Sweden is cold as shit, but it's wired. Yeah. Yeah. Yeah. All right, mate. So, um, yeah. So what is, um, what kind of things would you like to finish up with? Um, as a sort of wrap up to this, to this pretty, uh, wide ranging conversation.

Speaker: You said, you you said you'd ramble and you rambled. I mean, i did it's being absolutely glorious, you know? Yeah. it's ah i thought I thought that I had dosed myself with just the correct amount of coffee, but I think I overdid it. and No, it was absolutely glorious. Thanks so much. I think I'd also psych myself out because, ah you know, in in a blog post, I can... why Some of my blog posts are in draft for like five years. Yeah. Right, right. So two or three of them, is that they've just been like... And when I... the do though The point when I decide to publish it is like, you know what?

Speaker: I've actually... ranted at so many people in email or like in coffee shops or like put walls of text on some slack or discord it's as good as published right so copy past it and then send it on the blog so yeah um i don't know i think i'd just say be calm and carry on because uh there's actually a wonderful quote that uh i'm i'm I wish I could have gotten into a lot of the Miklovan stuff.

Speaker: Art can be a tool with which to combat some of our worst mental afflictions. When it shows us pretty and inspiring things, and even especially when it shows us melancholy ones, it fortifies us against nihilism and hardness of heart.

Speaker: This quote is from the book A Therapeutic Journey by Alain Desbatons. and Art-related stuff.

Speaker: McLuhan has some very, very... Marshall McLuhan in Understanding Media, which also I'm reading right now, has a ah related quote. You can cut this space out in the edit.

Speaker: Page 147. I actually made notes because I wanted to bring this up. So this was on page 145 of your notes. No, of the book, of the book.

Speaker: ah Sorry, that this is... You should have shared your notes with us ahead of time so we could have... Yeah. No society has ever known enough about its actions to have developed immunity to its new extensions or technologies, where LLM is also like, they're a new kind of media that we are ah we're dealing with.

Speaker: um So no society has ever known enough about its actions to have developed immunity to its new extensions or technologies. Today, we have begun to sense that art may be able to provide such immunity.

Speaker: mean And I'll close out out this bit with this thing. hu Yeah, page 18. This is how it closes out. Yeah. like The effects of technology do not occur the level of opinions or concepts, but alter sense ratios or patterns of perception steadily and without any resistance.

Speaker: The serious artist is the only person able to encounter technology with impunity just because he is an expert aware of the changes in sense perception. So I think, you know, being calm, carrying on and making art and doing art crimes is like crime whatever like in in in the eyes of the powers that be is is I guess the mantra and I think Clojure is a great place to do that because it lets you play everything like the ripple the different tools and you know whether it's music whether it's visual arts whether it's

Speaker: doing some subversive f like stuff with how programs themselves work. um Yeah. I think that art, let's do more art.

Speaker: I don't know what else to say. Let's do more art. Yeah. yeah yeah We love it. yeah Okay. Adi, thank you very much. Thank you so much. Yeah. It's been absolute treat.

Speaker: Yeah. Okay. Yeah. Fantastic. Finally getting to talk to you, uh, not on typey typey. So likewise, likewise. Yeah.

Speaker: It's going to be quite a bunch of footnotes on this episode, I think. Yeah. Thank you for listening to this episode of deaf and and the awesome vegetarian music or the track is melon hamburger by Pizzeri.

Speaker: And the show's audio is mixed by Walter Dullard. I'm pretty sure I butchered his name. Maybe you should insert your own name here, Dalit. If you'd like to support us, please do check out our can also catch up with either Ray, with me, for some unexplainable reason.

Speaker: You want to interact with us, then do check us out on Slack. Or just at us on Twitter. Enjoy your day. See you in the next episode.

Speaker: shit bollocks. Let's test it. Fuck shit. Fuck. can't even say fuck shit bollocks. Fuck shit bollocks. Fuck shit bollocks.

Speaker: Fuck shit bollocks. fuck shit boley

Speaker

Speaker

Speaker

Speaker

Speaker

Speaker

Speaker

Speaker

Speaker

Speaker

Speaker

Speaker

Recommended

ed1f0d5f66f6 Joanne Cheng1:22:27
ed1f0d5f66f6 Joanne Chengdefn

876 plays · Sep 18, 2026

b8c570464f67 Siyoung1:29:13
b8c570464f67 Siyoungdefn

1,298 plays · Mar 22, 2026

2aba8aeedf7d Polylith1:43:06
2aba8aeedf7d Polylithdefn

1,399 plays · Jan 2, 2026

95a74d1e2f4d Bobbi Towers1:19:09
95a74d1e2f4d Bobbi Towersdefn

1,221 plays · Nov 12, 2025

7df1b8716726 Anna Colom49:56
7df1b8716726 Anna Colomdefn

1,349 plays · Aug 3, 2025

876b4c306172 Cora Sutton1:29:30
876b4c306172 Cora Suttondefn

1,294 plays · Jul 9, 2025