Syntax Video
We Want Local AI Agents ⟡ Desktop Apps w/ Deno ⟡ Nub replaces Bun ⟡ Is WFH Fraud? ⌁ Syntax Weekly ⌁
We Want Local AI Agents
something happened. But we are back. What we were talking about before we left was uh like running these agents, right? You want to be able to like pipe all of your stuff through. And I was saying like, yeah, I'm like my email is personally a really sore spot for me right now because I get so much of it and and like spam detection is no longer no longer works, right? like it every I get all these emails that are like cold intros or um just people like writing like sales pitches. They all they all slip through and it's so obnoxious because they they put me through these like ringers where they'll follow up and in 3 days whatever. So, I need something that's going to parse every single email. And I had it hooked up. I use missive as like an email client. And I had it hooked up with like an API where every single email that came through it would like parse it. But it's just it's too expensive to put put all of your email through it. I get way too much.
So, we're talking about like what do you do with that? You can you run it through a local or uh could you put it through a cheaper LLM? Like I I don't necessarily want to be piping all of my email through like a Chinese LLM. So I think the local is the move there, isn't it, CJ? I'm sorry. I'm just I'm trying I'm not listening. [laughter] Okay. You know what? I I'm trying to include CJ for once. We keep cutting him off. We're not letting him talk.
This is why CJ is not paying attention. Scott, do you do you agree? No, I'm trying to fix it. Yeah. You You fix it. I'll talk to Scott here. Yeah, as long the local stuff does feel like that's the the key for a lot of this stuff for me, especially uh if you have personal assistance stuff. I certainly don't want to be sending every single thing that you know uh you want to be able to use these tools for what they're good at without them sending your social security number and whatever to um Open AAI. Not like they already don't have it, but yeah. This is why why I'm so interested in getting CJ's take on these and getting him him do it because like like are they going to be faster? Because like I was using there's this like model for Flux for generating um image to image transformation. I was taking like a video of myself and then transforming it to like me with muscles.
And if you host it on if you use like the API, websocket API, and stream it, you can get like 20 frames a second. Um, and it's it's subsecond generation, meaning that you're able to give it an image and say, "Put muscles on me." And it gives you an image back in like I don't know 4 500 milliseconds, which is super fast. And I was like, I wonder how fast I could run that on my MacBook Pro M1 Pro Max, 64 gigs of RAM. So, yeah, 5 years old, but four or five years old, but still a pretty beefy machine, right?
And that went from using the API 400 milliseconds to myself 18 seconds, you know, like like probably 40 times slower to run it on my own hardware. And it made it made me think like are we are we anywhere near and I if I had like maybe the newest MacBook Pro maybe it would be even faster. If I have $4,000 graphics card, could I ever get that to be that fast?
Yeah, it's early days and I think especially for image generation and video generation like for local you need really beefy setups. But uh for instance like running the Jimma 27B or the uh Quinn 3.6 6 30b I can get between like 40 and 60 tokens per second um running those things locally and that's slightly faster than even chatbt or Gemini in a lot of cases. So we're we're closer with text and for smaller models um for even so if my rig has 128 GB of unified memory and so these 30B model 30B and 27B models are anywhere from 20 to 30 gigabytes but if I want to run like a 70B model um that I'm usually only getting like 10 tokens per second. Like it still runs but it's a lot slower. So, I don't I don't see it happening anytime soon, especially because hardware is more expensive like
and um to to get the same speeds, you really do need so much more hardware. [snorts] So, using smaller models, maybe not have using or be being able to do image generation locally, I think that's where we're at right now. Um, yeah, I don't see it happening anytime soon of getting like uh cloud level speeds from your local home. Yeah, you know what is one interesting Well, I this is kind of related. You let me let me show you. I'm sharing my screen.
Randy, you throw that up. Um, and and beware. I think that this is a lot of crypto bro stuff, which is not my intention here. So, please be careful. But this Acurist has this like app that you can install on your phone and it lets people run compute on your phone.
Mhm. And if you're thinking like if you're doing like weird stuff and you need like like clean IPs or you need like just like a whole bunch of like compute very quickly like I know this is like the the plot of Silicon Valley but it's kind of interesting to think like yeah I need to run a whole bunch of compute right now. I need to I need to maybe run it in some sort of private sandbox. Um, is it better to to to run it on a hundred people's random Android phones that are in their pockets? And I don't know that what the answer to that is, but I thought it was kind of an interesting take to see that this is actually possible.
I think there's a number of these [clears throat] things uh that are are being announced like this or released for either sharing compute or hosting your own models or hosting your own compute um and then making money off of it. So you can uh if you have G beefy GPUs, you can essentially rent out that compute and um essentially get some of that money back that you spend. I'm actually very upset cuz I was going to be getting a beefy GPU and then it was 8 grand. Uh so beefy and um then I then it went up to like nine grand and I was like, "Okay, I'll just wait for it to go back down to eight." Obviously, it's not going to do that. And it's now like what? $12,000 for a an RTX 6000 Blackwell.
Oh my gosh. That same GPU was $8,000. And I was thinking that was a little, you know, that was a little crazy. I could have had I could have been selling that compute, Wes. Yeah. Cashing in. Eventually, it's got to get cheaper. And then like will people be putting like compute boxes on their house and then when power is cheap overnight like selling that compute?
I'd love to see it. I mean that's kind of what people do with electricity already like if you get solar solar panels or whatever else you can feed back into the grid. I think if we can figure out a nice and secure way to do it. Um, I mean, I'm sure Acuras or whatever this company is, um, has encryption or like you also if if you're running your workloads on regular people's phones in this case or whatever computers they've made available.
Yeah. As somebody that gets added onto this network, I also don't want to be liable if somebody is doing some weird weird stuff [laughter] on the network, right? So if if they're distributing the compute and then it just so happens that [laughter] my computer is used to do nefarious things, that's not great. So yeah, you you think about that like where are all of these agents getting like how are they all bypassing these like captures and stuff and and one of the ways they're doing is they're using residential proxies and they're running it and they're running it on like your TV when you're not using it. you know, you install these sketchy apps on your TV to get free compute or you have like a you go to the convenience store and the guy sells you a $100 IP TV box.
Those things are for sure um also using your residential IP uh to like proxy nefarious traffic through not necessarily even nefarious but like scraping, right? Yeah. So there's a really good dark debt diaries episode that talks about exactly that bas and I think even so Jack Cider his dad I think even bought the box and like put it in their house that gives you a bunch of free TV but a whole bunch of people did research into it and yes it gives you free TV but it also becomes a residential proxy and it tries to hack all the devices on your on your home network. So like it's a thing. It's definitely a thing.
Too good to be true, huh? Yeah. put it on a subnet or like a like not even a subnet but like a private network. Yeah. Would you do that for free TV? Maybe. I think your ISP would probably start getting complaints. Yeah. I think if if you're technically savvy enough to set that up, great. And and I've just been learning how to do that. Like I've got an access point and I'm setting up VLANs and I'm trying to isolate my networks like my home automation network from my in my cameras. I'm not trying to isolate that from um my main network. Um, but it's not easy. You have to like settings menus.
This everything we talk about on this podcast always comes back to regular people ain't going to do that. Yeah. Yes. Sick. All right, CJ. What do you got for us? I got some things I'll just mention to everybody that's watching. This is Syntax Weekly. Welcome in. Sorry the stream went down, but I see a lot of people have trickled back in. So, welcome. Welcome. Um, we've got uh I've got one more thing for you and then we're just going to bounce back and forth. We have a bunch of various news and stuffs like that. But what I have for you today is Dino Desktop. Let me share my screen real quick.
Deno Desktop
So, if you're familiar with Electron or Tari or any of these ways to create crossplatform desktop apps using web technologies, Dino has released currently in Canary Dino Desktop. Um, and so if you're not familiar, Dino is a JavaScript runtime, essentially like a replacement for Node.js or replacement for bun. Uh, but it's from the original creator of Node.js. And, uh, they've been working on this a very long time.
And they try to position themselves as like the more secure NodeJS. There's a lot more, uh, ways that you essentially have to opt into network access or access to your env. And they're also uh, Node.js. JS compatible. So they've been working really hard to make it so that you can run apps within Dino, but you can use all of the same Node.js APIs that you're used to. So Dino desktop is one more thing that's just built in. So from the command line, you can do Dino desktop and it can turn any project into a desktop application. Um, if you want to try it out right now, you do have to install their Canary build because uh right now Dino is version 2.8 and desktop won't be available until version 2.9.
Uh but the idea is you can have a very simple entry point. So I have an example app here just a very simple main.ts and it's a dino serve that serves up some HTML. That's literally all the code that I need here. And then from the command line I can do uh Dino desktop and it will launch a desktop app. Let me drag it over here. And so now this is the experience you're probably used to if you've used anything like Electron.
And so I can go back. I can edit the codes. Let's make this uh font color white. CJ loved me saying the word codes. I do. Um I used to not say codes like because it sounds weird. Um but in the research community they say codes a lot and so that's why I started saying it.
Yeah. Um so you get you get hot reloading. You can edit the text here. Um this example is super contrived because I literally have an HTML string that's being served up in the desktop app. But the cool things about this are out of the box it can use just the system web view. Um and so these are known as backends. And this is one of the reason something like Tari got really popular is they ship with the system um web view by default. I think in the latest version maybe Scott you know are they switching to Chrome embedded? You can change it now. Okay.
But Dino is shipping with that by default. Essentially if you're on a Mac it'll use the Safari web view. If you're on Windows, it'll use the Edge web view. If you're on Linux, I think you have to install like Chrome embedded framework or something like that. Uh, but you can do that, but you also can use the Chromium embedded framework, which makes it so that on every system it uses Chrome and it it'll automatically bundle that in. Um, and so this is nice because then you know every desktop that's running your app is running Chrome. So you can be uh sure that for the most part everything is going to that works in Chrome is going to work on everywhere you're deploying your app to. But it's nice that they're shipping this on day one. You basically get to choose your backend. Um and the other aspect of this is you can use frameworks as well. So I just showed a super simple example where you just have an HTML string and you're serving that up with the dino serve. It also has framework detection. So if you're in a folder that has an Nex.js JS
app or an Astro app. Um the docs here say that they support others. Right now in testing with Canary, I could only get it working with Nex.js and Astro. But the idea is if you already have a SpeltKit app, let's say you want to turn that into a desktop app, you can literally just CD into that directory, do dino desktop, and it will detect what your framework is and automatically set it up so that it has like the uh embedded local view and it starts up the server whenever the desktop app runs.
Um, so this is something else that I I feel like where Dino has gone with a lot of these things is um is trying to be allin-one and require way less config. Right? If you wanted to do the same thing with let's say Electron, there's a million in one starter kits. Like there is like the Electron build framework, but that doesn't come by default and you have to find the docs on it to figure out how to build for different platforms or if you want to get V going with Dino.
They're shipping out of the box framework support uh choose your backend. And so this kind of seems like another great unifier of being able to build desktop apps. Um, so yeah, curious your guys' thoughts on this and maybe we can dive into it a bit more. I can show you some of the stuff that I've seen. My first thought was like like why do we need another one of these? Um, but I'm just going through the documentation and it says bindings. So like bindings are you're able to call backend code from the front end and that's really cool because you can like have like a database save method on the server but you can just call it from the client you know like every every framework has that um but it says bindings are not IPC that's what you use in electron um the dino runtime and the rendering backend run as threads and processes inside of the same address space or coordinated Ed process groups web view calls go through the same process channels and the backend dispatches them
from the run. In practical terms, bindings are fast enough that you do not need to worry about call frequency for typical app workload. So there's no um like there's no socket where things are are being called back and forth. Um I guess they run in the exact same process. I'm not exactly sure how that how that works. It would be kind of interesting to talk to Ryan about this, but that is interesting.
Yeah, I think that's one of the other selling points. So, they do have a comparison table that talks about all these other frameworks. So you would compare this to electron or tre or dioxysis but all of the other ones um have like a multipprocess model or like an IPC model which is interprocess communication where you have one process that's the renderer that's the thing that people see and then one process that's the backend that's the actual thing running that you can maybe like write custom rest code or custom NodeJS code and then what we're saying here with Dino is it's all in process so you can use their bindings API that basically makes it so that you can define functions that can be called from your front end, but when it's running all of this, it's all happening in the same process. Those those things, it's going to be faster communication because it doesn't have to hop between processes. Um, potentially easier sharing of like large amounts of data.
Um, and be also being able to use native things like um like a Node.js JS worker thread or sorry like a dino thread um and have all the benefits of that but still be able to communicate from your front-end codes. So aside from all the nicities and built-ins I think they've they've they've settled on a pretty cool architecture as well.
I wonder does this also like it just doesn't share memory does it? like like imagine you had a massive JSON object and then you need to send that to the front end to like display one thing is that oh now now you have duplicated that object in memory right it lives on your server and on the uh on the front end is is that something that can be done with this I know people were looking into that with um web workers where like there the memory is shared like if you have a again if you have an object in a worker and you have an object in uh in the browser DOM, then you're simply you're duplicating it twice. And that that can be that's usually not a big deal if it's just an object or whatever. But if you have very big payloads, um that can certainly be an issue. Now the browser has this idea of like a shared memory array or shared buffer. I forget what the exact name of it is. So I'm wondering if that plays in to this
as well. Yeah, I'm curious about how it connects to Mac OS APIs directly. Like the Tori space is always kind of crazy because you're needing somebody to create some kind of translation layer between Rust and uh the Apple ecosystem. Like things like inapp payments and Tori and stuff for Mac OS are are just a a giant pain in the ass. Um, so I like wonder what that story is like because those are the things that nobody thinks about when they think about like oh the electron system is so the electron ecosystem is so mature. They have those things all figured out like if you want to connect directly to Apple's inapp payments etc. then it just works. So like what is that story the deployments and stuff? I I since this is my first time looking at it. I mean, they do have um stuff about deployment and and things inside of here, bundling and all that stuff. So, I would love to dive into this. I I had no idea this was a thing,
but man, I I love um I love options in here because I certainly don't love Electron. It's just the best of the experience given the ecosystems of it all. Uh, and that's the crazy thing about AI right now is that people can spin up these things fairly quickly because they have ideas of how this should be implemented. Um, and you have we have all of these learnings from Electron. So like I don't I think like probably the days of Electron are are likely numbered because the reason why so many people are on Electron, everybody says it.
I I hate Electron, but the ecosystem is the best. it's the most battle tested, you know, etc., etc. Those are maybe not benefits anymore now that you can use an agent for a lot of this stuff. Yeah. And people saying that they want to use the inapp browser or the um the Safari, the CF, what the people want to use the the browser that comes onto the machine. I would urge you to think very carefully about that because if you don't control the environment that your front-end code is running in, then it makes debugging and testing very difficult because even the version of Safari that ships with my computer is different than the version of Safari that's on Wes's computer right now.
Sounds like web development, Scott. It's but [laughter] it doesn't have to be because with Chrome Wes you can bundle it all together in a nice packaged version of the version of Chromium you want to use and or like a custom build as well like you want to turn HTML and canvas on because you're doing some cool thing like Remotion does that. Remotion has a custom build of Chromium with all the flags and every all the knobs turned exactly how they need it for their product.
Yes. Yeah. I will say uh Leo is in the chat. So Leo worked on this feature over at Dino. He's eating he's eating dinner so he can't follow along closely, [laughter] but he he did say that there is no shared memory. So I I I'd have to dig deeper to see how really all of this is working because I guess technically Chrome is running as a separate process.
But I guess maybe what they mean is like the code to actually communicate with that Chrome is still inside of Dino. I I don't know how all of that would work, but apparently the memory isn't shared directly. So there is going to be some some hot potatoing of of data in between which maybe you also want like shared memory is is probably one of the biggest vectors for attack as well.
Yeah. And there is a question from acid spark that says how is the built size or bundled size? If you look at their comparison table, you can see that um if you're using the system web view, then it's about 40 megabytes. And that is because they bundle Dino with it. So like the actual Dino binary is going to ship with this. So that doesn't have to be installed on people's machines. Um and then like because if you compare that with Tari, they basically ship completely built apps. So like they're not shipping the Dino runtime or anything like that. They're they're your your built app is being shipped with like Rust modules themselves. So it's definitely going to be a little smaller.
Yeah. Compiled to to native codes. Yeah. So this is like a good middle ground, right? It's not the by by default that 40 megabytes is not going to be the same 100 megabyte payload. Little bit bigger than Tari, but if you do use Chrome embedded framework, you're looking more so like electron sizes like 150 megabytes or so.
I like that. This gives me a lot of hope. Yes. Yeah. And uh I would say check out their docs, install the Canary to give it a try. Um but they have all the APIs that you would expect. So they have ways of opening new browser windows. Like I said, they support frameworks. So out of the box, you can get like hot reloading with Vit and things like that. Um this was always hard for me to find in the world of Electron, but they have ways of creating app menus and status bars, uh status bar icons. Um, and also have you have control over what's in the dock on a Mac or in the tray um on Windows. So, they've thought about all this stuff. I'm excited to to dig deeper into it.
You know what I don't see, CJ? The same thing that we had an issue with in Tori when we were building the syntax production assistant in Tori was deep link support and we had to do all this crazy hacky stuff to get GitHub O working inside of the app and YouTube off working inside the app. that might actually be platform specific. So for yeah, yeah, if Leo is listening, that's a f feature request is we want deep links.
Um otherwise, you're probably going to have to add platform specific code for like Windows or or or Mac to support deep linking. Yeah, because especially like ooth flows like you want somebody to lo like open the browser, but then that should relaunch your app so they can be logged in. We had to jump through a lot of hoops to get that going, that's for sure.
Um, should we get into some of the other news because I have another one that's that's related to this. Um, yeah, Colin Hacks, he's he's the guy who created Zod. He's the guy who created standard schema, TRPC, also a guy, I didn't realize this, he worked on bun.
Nub Replaces Bun
Um, he's released nub, which if you are keen, you will realize that that is bun backwards. Um, so he's releasing I I know you love a nub, Scott. Um, he's released this thing that is essentially adding all of the bun like dino nicity features to Node.js. So what it does is it augments Node.js by adding in everything instead of having a separate runtime. Um, so Nub uses these to add Bun's best feature on top of stock Node.js, like non- erasable TypeScript syntax, meaning that like yes, Node has TypeScript right now, but it only has like type stripping. It doesn't have um like enums, which I know jury's out whether you should want that or not, but [laughter] has it uh TypeScript friendly module resolution, JSX, you know, like that's another thing about the Node.js JS
TypeScript support is that type JSX is is nowhere to be seen. So you just you simply can't use it. Uh decorators envoing that is something that node has but you have to throw a flag in there right uh YAML toml using etc etc and he claims it is what 24 times faster. So it also includes like a just one of the items it includes is a PNPM replacement. Seems like everybody's building uh um what do you call package manager these days. So nub run. Oh I guess I wonder if if it uses like I wonder if when you say run does it use pnpm instead like is it almost like a Frankenstein of like but why is nub install no nub install is three times faster than pnpm install.
doesn't right and I think I read somewhere its own installer with a PNPMshaped CLI. A PNPM shaped CLI. Yes. NPM PNPM bun round trip yarn. He slop forked it. He slopped PNPM and said make it faster. Um and uh I mean that with all like like this is this is really interesting to me, right?
Obviously, he he releases something, I I pay attention because he's a super smart guy and has changed so much, you know, like a lot of this AI stuff is all built on top of of uh Zod. So, this is pretty interesting. Yeah, this showed up on my TL and it's one of those things. It's like I ain't got time for this right now, but I do think it looks interesting.
What are you doing? Are we throwing that out there now? Yes, thrown on my TL. My timeline. Yes. My FYP. Yes. No, it's exciting. I think anything that unifies the ecosystem and and the idea here being that still use Node for all the stuff it's good at, but then give all the extra little features that Node hasn't taken the time to add. I think it's I think it's a good direction.
So, we nubbing. That's what we're doing. It's a version manager. This This kind of also encroaches in the like the V+ area as well, right? Like it's a it's a version manager. Um, everybody's competing for that CLI script. So, it's it's not a total replacement for V+, but it does overlap quite a bit of the the features.
Yeah. No uh uh no uh linting or that kind of stuff that you get. No, none of that formatting and like no front end either, right? This is just a node thing. I probably stick with ah it's hard. Can I V plus a nub? Like can you can you nub to V+ to node? You know, can I go three levels deep? Is that possible?
Yeah. All right. What else we got? Well, first of all, shout out to Zeba Zella in the YouTube chat who says, "I've been listening to the podcast for years, but never watched any videos before. None of you look anything like the images I built in my head of your voices." [laughter] So, hello. Welcome in. Oh, that's great.
ForsightJS Predicts User Intent
Cool. All right. I I've got something to share. Um, I don't know. Have you guys heard of ForesightJS? It essentially uh predicts user intent from mouse and keyboard cues. So, oh yes, if you're just on their landing page, so it's foresightjs.com. As you move your mouse around, you can see that it projects this vector of like where your mouse is headed to.
I think that's cool as hell. So, but that information can be used to say, "Oh, the user is like uh 10 pixels away from this button and the mouse is headed in the direction of this button. So, I'm going to go ahead and preload the content uh for that that link that they're about to click on."
So, yeah. Yeah, their their uh tagline is prefetch smarter. So, Foresight predicts uh ForesightJS predicts user intent to prefetch content before it's needed. It's fully configurable and traceable using different strategies for desktop and mobile users. So like on mobile you would care more about like touch and so you can tap into things like onouch start. Um and wow. Okay.
Yeah. So there's this playground down here. You can see it happening like as I start to to scroll like move my mouse to the left or to the right like these individual elements are are being fetched um according to like where my mouse is moving before it gets there. Yeah. So this is one way to make your site feel faster. Um, and the the reason this is news is they just released version 4 a couple of weeks ago and they added uh React and Vue components. So on their homepage, you can see you can install the React or the Vue version. Um, and that will let you do this stuff directly inside of React. And then if you are using any other framework like SpeltKit, you can still use their um their engine. They basically just give you events that you can tap into. like you subscribe to specific events and then you can set it up for whatever framework. But uh fascinating stuff.
Slap porcus felt version. This looks dope. Yeah. Here, let me let me show you a place where this will be killer cuz like the pre-fetching stuff very cool. Uh but the simple mouse trajectory stuff needs to be in the browser. I I think so. So like look at this. I'm on maker world and this happens all the time.
to your browser. Oh, no, wait. Sorry. We do. I'm done. No, I'm done. I'm looking at the wrong screen. So, Maker World has this like little drop down where you can like click on your user profile. And if I want to go to my likes, I got to like click here and then for audio listeners, I'm just like hovering to a nested dropdown. Oh, that sucks. And and I want to go to my likes. And like what you have to do is you have to like like make sure your mouse doesn't go outside the button. And then there's a little bit of gap in between which will trigger off.
Oh no. So because there Oh, sorry. There's margin in between it. So that that trigger that triggers the mouse off, right? So you got to like move very quickly. And like like famously Amazon did this like probably 10 years ago is they figured out what the like hover triangle will be. Um, but this is this is even one step further of like if I just want to go very quickly to a nested menu.
You shouldn't. Ah, it's so frustrating that I have to like like walk the plank to get to the button that I want. Whereas this foresightJS likew like it knows exactly where I want to go and just fetching. Yes, but like not closing the menu if something if if you have the foresight to think that somebody is going to hover over top of it.
That [snorts] makes perfect sense. So like instead of having like a hit area, it's more so like a hit area plus mouse direction plus a certain uh amount of time and easy enough. Now the uh bottle just stays open instead of autoc closing. So yeah, love it. This will be very expensive. Um who who does this? The McMaster car. I did a video on this. McMaster car aggressively preloads and pre-rennders a lot of their pages, which is why the McMaster car feels so fast, and they only do it on hover. And the other options are you can do them when the links get into the like within the viewport. You can you can figure out what are commonly used ones.
Um there's a whole specification for preloading links based on if the browser thinks you're going to visit them. Um, but all of these things aggressively prefetch and if if you're using bandwidth or compute anytime those are you may be just throwing that in the garbage. So it's a it's a delicate balance of like am I okay with my hosting bill going up as if if it means like I'm selling more widgets or or people are having a better experience.
You see, you see this um this get predicted events from uh AlcatV posted get predicted of events was in baseline 2024. A method on the pointer event interface returns a sequence of pointer event instances that are estimated future pointer positions.
What? I have it open on my screen. Yeah, it's baseline 2024. I have never heard of this. Never heard of this. Ala, thank you. This is crazy. Thanks, Ala. Shout out Yeah, get predicted events it. And they even have a little demo on MDN if you scroll to the bottom that will show you kind of similar where it shows you.
It doesn't It's not as cool as the little arrow example. They need MDN. You do the little arrow example. I thought that was pretty pretty nice way to say. You got to move faster than [snorts] Well, interesting. Mine looks different. Mine has like red circles on it. Yeah, mine's fire. Oh, okay. Interesting.
It doesn't work as well as I think thought it would. That's the frustrating part about a lot of these specs is like, yeah, that's what we want. But that doesn't actually look very good. I don't think you know cuz you haven't tried it. You just I should try it. But like I'm looking at where the circles are and it it just puts a bunch of random circles up or below my cursor.
I'll try it. This is I had no idea that this was an API and I and I love obscure APIs and this is in every single one. Yeah, AlatV, this is crazy that you knew this. Uh, shout out. Nice. I [snorts] wonder if if foresight is using some of that under the hood. I I did a search for this API in the repo and I didn't see anything, but it could have just been me searching poorly.
I could have had a a typo. Who knows? Interesting. It's a and it's pointer as well, meaning that it's will likely work for touch as well or game pad, you know, it's everything. Yes. Okay. Sick. What else we got?
We got for us, Wes, you got something? Uh, what do we got here? Flexport CEO calls work from home fraud or white collar fraud. [laughter] That's stupid. I I want So if you didn't didn't see this, the Flexport CEO, which is like um shipping logistics company, um he says like like I can't work from home. I have a huge house, too. And I I'm not able to like do work cuz I have my three and 5-year-old just come in and bug me. I can't get any work done. It's And so he he obviously doesn't want any of his employees doing work from home.
Is WFH Fraud?
Um, obviously that's a dumb take, but in the same breath, I also think a lot of people working from home are are just [ __ ] around. Um, and doing as much. People who work from home are lazy and he thinks [laughter] they know. Not everybody, but I I don't think that a lot of people I can I can work from home very well. I've done it my entire career. I've never not worked from home, but I know a lot of people are just like not as productive as as a hand. And yes, it is very frustrating to like have to commute in and it's very soul crushing, but I'm curious what you guys think.
Like, can you be productive doing work from home? Yeah, I think that I think the right people can. Absolutely. I I've been working from home for a very long time. I do miss things about working in an office, but um I think people like this guy uh should just shut up. I I mean like I think that's for maybe you know it's like people who are actually in the the management of directly interacting with employees and connecting with them and working remotely like I feel like I feel like that is the the type of opinion I value more in this instance.
But uh yes, there are certainly people who dick around uh when they work from home and that are probably not cut out for it. Yeah. Yeah. Yeah. Exactly. Like work.js and it keeps your screen going. Um but I I Is that what you use CJ? I do. Yeah. Because that's what I was going to say. Like there's new waiting on your AI video to come out, CJ. So exactly. This is what [laughter] I just I'm basically not doing any work.
No, I'm working hard. That's coming out soon. It really is. Um, but I think comes down to the person and also the environment, right? Like I I have a separate workspace in my house. Like my wife doesn't bother me when it's work hours. Um, and I am working from home. Um, I have worked at places that had a work from home policy, but people working there didn't treat it in the right way. Like one time a dev was like, um, uh, I have to run to do some laundry. I'll be back later. And just because you're at home, like so like maybe you could throw some stuff in the dryer because it's like you're on the way, it's near your desk or or something, but I mean I think taking time out of your workday to do chores isn't like the definition of work from home. I think sometimes you can make that happen because it's like easier or maybe you are going to take like a 10-minute break, [snorts] but um
there are people that don't understand that work from home means sitting down and working at home. I think it means to be like super flexible or whatever else. So, I I see the argument, but there is nuance. There are people like us, like our entire team is remote and we get stuff done. So, somebody asked my wife the other day. She's like, "It must be so nice to have lunch with your husband every day." And she's like, "I never see him, my husband." And like even when I first started, like we were first moved in together, she thought like, "Yeah, we'll have like a lunch hour. You have a lunch hour and you sit down and you you hang out." I was like, I like one hand a sandwich on the stairs back down to my uh to my my computer. I don't take a lunch break, you know? I'm just like when I'm on especially now with kids, you know, like the eight hours that I get to work is is sacred to me. And I don't have I don't work weekends. I I don't work evenings. Um I need when I have that time, I just want
to go go. I don't I'm not taking a lunch hour and hanging out with people or doing laundry or whatever. Yep. I'm a little gollum in my office on my computer like get my work done and then again like my lights have to shut off at 5 o'clock otherwise I would would not even go in the house. So I you know I I'm [laughter] actually do I have them shut off cuz I was like I would like look down and be like oh shoot it's time for me to leave work.
Oh I need to do that. My wife will often text me be like it's 5 o'clock 5:05. Can you please come up? Yeah. Kids are killing each other. I I get the uh the you know the neck around the the or the thing around the neck from my my lights in my office from my home assistant. All right, time to get out of here. [laughter] Yeah. [snorts] And um I I actually did talk to some people at JS Nation like in person that talked about like they really prefer going into the office because um they can't focus at home. And I think for certain people that's that's that's fine. That that seems to be the way it is. Like they can't find quiet or because they spend all their time at home, it doesn't feel like they can get work done there. So yeah, there absolutely people that like need to go into the office to be productive, but again, there's nuance. I don't think it should be a blanket rule.
Yeah, I mean I personally prefer to be in an office even though I have worked from home for the past 10 years. Um but there's benefits either. I mean, know my kids get sick or whatever, I can go get them. So, I mean, there's a and certainly being in the the the realm of audio recording 247, being in an office is just not practical to me unless I did have an office that was just a studio.
So, in that point, might as well just work for my studio. Yeah. That's all that's that's all the links I have. What? Scott, CJ, do you guys have other stuff? I have one fun thing to end on if that's Let's get it. Get some fun stuff. This this was shared over on r/webdev by user cookie delivery. Uh they built a 3D bookshop experience. You can walk around, pick up books, read the cover, a sample or [laughter] the full book.
3D Book Store Explorer
And I've thought about building something like this before, but for like for movies, like imagine tapping into like the IMDb API or open movie database and then making it look like a blockbuster. Imagine that's your Plex is just a Blockbuster. Exactly. So So this is the app. You can you can um you can walk around and for any book that you you stumble on, you can Whoa. Got to got to control it here.
But any book you stumble on, you can click on it. It's got uh the summary on the back of the book and then you can click in to uh read the preview. So this is like a similar sample that you might get on Amazon how sometimes it shows you like the first few pages or whatever. Um but then for some books that are like in the public domain, um you can read their full contents like this uh Pride and Prejudice.
See, I don't even like books and I like going into a bookstore to pick up the book. So, yeah. Exactly. Like, it's it's a fun little experience. Um, so yeah, this is fun. I think, like I said, I want to build this for movies. I think like like what you were saying, um, Scott is like this could have like your Plex library or your jellyf library.
Yeah. But then also like you could tap into some um categorization APIs that give you like like I would probably tap into letter box because letter box people create custom list lists of like [snorts] uh top movies with aliens or like if they have like very specific lists. So that'd be cool to see.
Imagine this CJ. Imagine you tap into the Prowlar or Radar or whatever and then you see something directly from there and you say, "Oo, I would like to uh download this Linux ISO and then have that in my personal library." Exactly. This reminds me of I think it was Shopify has an internal like poster board or like a utility pole where you can like staple like a poster to it.
And I I just look for it. I can't find it. I think it was just a video I saw on Twitter at one point. But I love those things where it's like real time and like anybody can go in and staple up a poster. I just love those. Like the cursor camp was another one where you could just like walk around and see out all the other people. I I need to build something like that. I think those are so fun.
Yes. The other thing I'll say here, so I actually went to the Van Go Museum when I was in Amsterdam and they have one of Vincent's paintings that I saw there. Yes, they have the fly. Yes, I did see that painting as well. That museum was fantastic if anybody's ever Yeah. I think having an experience like this I I guess people have probably built a virtual museum that you can go through, but I would almost prefer it cuz like I don't like crowds and like I was in the museum was great to [laughter] to be able to to be able to see the paintings up close. Awesome. But there are literally like 30 people all standing around with their phones out taking a picture of a picture.
Oh yeah. Yes. Yes. Yes. Give me this digital. Yeah. don't want a picture of a picture, but allow me to have my VR experience. And then I can like zoom in 50x times and like see the actual paint strokes and stuff. You can get your nose up in there. You could add some smellvision and smell the the oils, ancient oils. Yes. Yes. Yes. Yes. I I I actually really like this idea as a person who does like uh VR and AR experiences. So, for me, this this kind of uh hit something for me that I'm like, this is this is kind of sick. So, uh nice.
So, this was fun. Great. That's all I got. Cool. Well, now I'm I'm really inspired to go build my uh my Blockbuster store because I I do think that would be fun. Definitely sick. All right. Well, anybody else have anything, folks? That's it. You want to wrap it up, Scott?
Yes. The Thank you so much for joining us for Syntax Live. We are here every single week, every single Monday. Next time we will not have any technical difficulties. I can promise you that. Uh, and then check us out on uh we have a podcast every single week. It's coming out on Wednesday and then we do videos on Friday. And CJ has a banger of a video coming up that I'm going to mention here just so he gets it out. Uh, but that's all I got. Check it out.
Quote it with credit and a link. Quoting Syntax