text
stringlengths
0
1.36k
[2122.42 --> 2130.02] You don't you just don't run into the same kind of problems that you run into when you're writing things for the web, which is probably why I like hardware so much.
[2130.02 --> 2132.16] What about like sequential actions?
[2132.16 --> 2135.38] Like you want some servo to do this, then this, then this, then this.
[2135.68 --> 2135.88] Yeah.
[2136.02 --> 2141.72] So you definitely will you the thing that you run into the most then is when you're like trying to run stuff on serial port.
[2141.72 --> 2159.90] So when you're getting data from multiple places at once and sometimes, you know, the stuff that you're waiting to happen from your sensor over Wi-Fi isn't going to happen as quickly or in sync as the stuff coming over your serial port cord.
[2160.32 --> 2166.28] So it is sort of an issue, but not that much.
[2166.34 --> 2168.64] I at least haven't run into it that often.
[2168.64 --> 2186.52] And plus, whenever I have to deal with a bunch of really intense, it usually happens whenever you have to rewrite more custom C to handle new kinds of chips and then have the C work with your own like Johnny five stuff on an Arduino or a TESOL.
[2187.00 --> 2189.60] Yeah, that's it's all like really low level callback stuff.
[2189.66 --> 2189.86] Right.
[2189.92 --> 2192.96] So you don't get a lot of like composition at that layer.
[2192.96 --> 2198.94] I'm trying to think of like anything that I've done recently that has been what I would refer to as callback hell.
[2199.18 --> 2204.68] And it probably would be like some node application that I utilized graphics magic with.
[2204.92 --> 2211.50] So I'm actually interested in going in and trying out the new node version with that kind of stuff.
[2211.50 --> 2220.34] It might I think it might be really helpful, helpful for people that do a lot of procedural art based stuff on the Web, actually.
[2221.68 --> 2225.40] Yeah, I mean, also, so there's these performance arguments right now.
[2225.48 --> 2231.22] And honestly, even though I'm not a huge promise advocate, I think most of the performance arguments are really dumb.
[2231.22 --> 2235.78] But in hardware, it actually makes sense.
[2236.06 --> 2248.36] So the reason why I think that the performance arguments are stupid is that you're talking about like point zero two milliseconds, I think is like the largest difference between Bluebird and promises and native promises.
[2248.36 --> 2261.30] And if you're talking to the network or the file system, that's really not a thing like your WebSocket delayed to local host is roughly like a three millisecond round trip time.
[2261.76 --> 2264.46] So like it's just it's just not ever going to be noticeable.
[2264.46 --> 2267.70] But with serial port, like you're talking to the hardware there.
[2267.80 --> 2270.32] I mean, it is asynchronous, but it is really, really fast.
[2270.38 --> 2273.50] And so you could actually see some of the performance stuff like stack up there.
[2273.84 --> 2275.02] You might actually like start to care.
[2275.38 --> 2278.30] I don't care about much, but we'll see.
[2278.36 --> 2286.00] How fast can I AI this cat photo to blink this?
[2286.00 --> 2290.34] OK, listen, don't pigeonhole me.
[2290.70 --> 2291.60] Yes, exactly.
[2292.14 --> 2294.72] I like I like other animals.
[2296.40 --> 2300.16] I thought you were going to say I do more than just cat images.
[2301.78 --> 2303.26] I wish I did.
[2305.58 --> 2306.44] That's awesome.
[2306.44 --> 2312.16] You know, I enjoy pigeons and raccoons and other various animals that love garbage.
[2314.56 --> 2317.30] We should have Isaac on so you guys could discuss.
[2317.86 --> 2320.42] Oh, I've already discussed raccoons with Isaac.
[2320.76 --> 2321.12] No, I know.
[2321.18 --> 2324.06] I just want that to be like a live voice thing.
[2324.42 --> 2327.34] I don't know if I ever want to have that conversation again.
[2327.34 --> 2329.42] Yeah, I made the mistake.
[2329.42 --> 2339.12] For anyone that's wondering, Isaac from NPM, if you ever see them, talk to them about how much they love raccoons.
[2340.26 --> 2340.72] They don't.
[2340.88 --> 2341.02] OK.
[2341.02 --> 2346.64] Oh, and on that note, we're about ready for another break.
[2346.74 --> 2350.58] And when we come back, we'll talk a little bit about the featured project of the week.
[2350.58 --> 2354.74] Our friends at Top Tower, longtime supporters of Change Log.
[2354.90 --> 2358.54] If you've ever had to quickly scale your team, you know how hard it is.
[2358.72 --> 2367.68] You have to go through all this hassle of writing job descriptions, adding them to your website, or maybe you have to hire somebody just to go out there and find the candidates for you.
[2367.68 --> 2372.32] That's a lot of work, a ton of work that you don't have to do if you call my friends at Top Tower.
[2372.70 --> 2375.60] They do all the work for you to find the right candidates for your positions.
[2376.14 --> 2384.04] Plus, because they have a very rigorous screening process to identify the best, you know you're only getting qualified candidates for your open positions.
[2384.60 --> 2386.42] Head to TopTile.com to learn more.
[2386.86 --> 2389.24] That's T-O-P-T-A-L.com.
[2389.58 --> 2391.34] Tell them Adam from the Change Log sent you.
[2391.76 --> 2396.12] If you'd like a more personal introduction, email me, Adam at ChangeLog.com.
[2396.12 --> 2397.48] And now back to the show.
[2397.68 --> 2401.62] And we are back.
[2402.06 --> 2402.44] All right.
[2402.66 --> 2406.60] We're going to get into Feature Project of the Week, ARJS.
[2407.02 --> 2410.54] Rachel's particularly stoked about this one, so I'm going to let you take this over.
[2410.86 --> 2412.30] Is it about assault rifles?
[2413.18 --> 2413.62] No.
[2414.66 --> 2415.00] No.
[2415.24 --> 2416.30] That's version 15.
[2417.62 --> 2418.78] ARJS V15.
[2418.88 --> 2419.06] Okay.
[2419.06 --> 2429.96] So ARJS is this really awesome library that you can use now that is augmented reality for the web using ARToolkit.
[2430.58 --> 2434.04] It's built of a couple other different technologies.
[2434.84 --> 2436.70] It's using 3.js.
[2436.70 --> 2438.70] It's using A-Frame from...
[2438.70 --> 2441.18] Who made A-Frame?
[2441.38 --> 2442.12] This is horrible.
[2442.30 --> 2443.54] It's Mozilla's A-Frame.
[2443.54 --> 2444.88] Which is...
[2444.88 --> 2449.54] If you haven't messed around with A-Frame, what it does is it allows you to do WebGL VR in the browser.
[2449.54 --> 2464.08] So you can either view things in the browser with a 3D appearance or if you have, you know, like a Google Cardboard or any other kind of virtual reality headset that phones go into.
[2464.08 --> 2471.10] It allows you to actually see the 3D object that you have developed in virtual reality with your phone.
[2471.60 --> 2478.58] And what ARJS does is it blends all of these things together and allows you to use digital markers.
[2479.34 --> 2484.92] They're using hero markers, which are these squares that have...
[2484.92 --> 2485.52] Little Greek burritos.
[2485.92 --> 2485.94] Yeah.
[2486.32 --> 2486.90] No.
[2489.18 --> 2491.58] They're like QR codes.
[2491.58 --> 2502.72] Basically, any kind of digital marker is just using image processing with, like, nearest neighbor type of mathy things.
[2503.24 --> 2505.42] I'm great at explaining things technically.
[2506.20 --> 2512.92] So basically, what ARJS does is, unfortunately, if you have an iOS phone, it doesn't work.
[2513.00 --> 2515.28] So I can't even test it, which bums me out.
[2515.28 --> 2523.94] But if you have an Android phone, you can set it up so that you have your 3D environment that you've crafted with A-Frame.
[2524.54 --> 2530.90] And A-Frame is built on top of 3.js because it allows for the 3D objects in the browser.
[2531.60 --> 2539.70] And then it uses the AR toolkit, which was originally a library in C, and they've made it work with JavaScript.
[2539.70 --> 2544.32] And it does that nearest neighbor processing of the hero marker.
[2544.92 --> 2551.84] And it assigns your 3D objects so that when you use your phone in a WebGL-supported browser,
[2551.84 --> 2558.46] and you point it at the marker either on, like, a computer screen or on a piece of paper that's printed out,
[2558.80 --> 2569.84] whatever 3D object you've assigned to that marker in your code will appear, like, on the phone or the device that you're viewing it through as a, like, hologram type thing.
[2570.66 --> 2571.88] It's really cool.
[2573.14 --> 2577.26] A-Frame is really accessible for people that are just starting out in JavaScript.
[2577.70 --> 2579.34] Their documentation is amazing.
[2579.34 --> 2585.34] And pretty much what this AR.js library does is it allows you to take...
[2585.96 --> 2592.48] They basically took all of the difficult part, the difficult steps out of the equation.