text
stringlengths
0
2.46k
[2563.44 --> 2567.68] a cpu emulator in rust and so they compile that to web assembly and that's kind of how
[2568.32 --> 2572.40] they emulate the whole operating system and it boots up there's a bios there's everything
[2573.04 --> 2581.20] it's pretty wild that'd be kind of cool man you can uh can you stimulate any bios or just particular
[2581.20 --> 2590.56] bios i honestly don't know what a bios does okay so well it's a basic input output system except for i
[2590.56 --> 2596.08] know how to get there in most cases delete delete delete or maybe maybe one of the f's it could be an f11
[2596.08 --> 2600.48] it could be an f10 who knows just hit all the f's i mean if it's you gotta watch real fast which was
[2600.48 --> 2605.76] a delete right gosh i missed it you know it's like booted up already well i think of that because
[2605.76 --> 2611.44] if you can emulate those things you can kind of give something a playground to configure hardware or to
[2611.44 --> 2616.08] configure a bios or whatever it might be to be like okay this is how you change the boot order this is
[2616.08 --> 2622.56] how you set these two mvme drives to be the boot or to the usb or whatever it might be or this is how
[2622.56 --> 2627.68] you set up virtualization in you know this particular intel cpu for example those are the
[2627.68 --> 2631.92] kind of things that you kind of have to have the hardware to learn until you have the hardware you
[2631.92 --> 2635.52] can't learn it and then you're kind of by yourself you know what i mean if you could do it in an
[2635.52 --> 2640.00] environment like that there could be interactivity because you're because you're emulating it you know
[2640.56 --> 2646.48] i was mostly thinking like once you're logged in past boot time right yeah this is an interesting
[2646.48 --> 2650.24] use case for it yeah it's a black box i mean you go to the forums you'll find zillions
[2650.24 --> 2656.08] and i don't mean that like literally zillions but quite a lot of people saying how do you do this
[2656.08 --> 2660.96] with this bios or whatever am i you know all the bios out there and you got somebody showing
[2660.96 --> 2665.52] screenshots and that's just so like that's caveman knocking rocks together trying to make fire
[2665.52 --> 2671.04] you know you can have this emulator be like this is how it works that would be amazing you know
[2671.04 --> 2676.96] i'll send you the hardware it's just here in the browser to play with yeah yeah so once you're logged in
[2676.96 --> 2682.80] how uh how leaky is the abstraction right now meaning like right maybe you know what i mean
[2682.80 --> 2690.88] i do not know okay what do you mean by leak abstraction what i mean is so for instance a lot
[2690.88 --> 2697.20] of text editors have vim mode most vim users will use vim mode for about seven to 12 minutes and be
[2697.20 --> 2703.60] like this is not vim i can see all the places where this is not clearly not vim your leaky abstraction is
[2703.60 --> 2708.72] not the right term i'm just i just overused that term yeah your emulation ends maybe we call it the
[2708.72 --> 2712.72] uncanny valley of what you're actually trying to emulate where it's like yeah this is not good
[2712.72 --> 2719.84] enough yeah so if you're using some like cmd instructions that are too fancy that's that won't
[2719.84 --> 2725.76] be supported yeah if you're doing multi-threading the emulator doesn't really support that so you'll
[2725.76 --> 2732.96] just have to stick to one thread um that's those are kind of big ones you're also just limited by how
[2732.96 --> 2739.20] much ram you can use in the browser right um and also like more realistic limitations like if you're
[2739.20 --> 2747.92] trying to run some java program i tried this recently it works but it takes a few minutes yeah just slow
[2747.92 --> 2755.68] so you know practice not practical in that case right kind of the 80 20 rule yeah okay how big of a
[2755.68 --> 2762.64] performance hit boot up time or load time we'll just call that will it be to switch to this full linux
[2762.64 --> 2766.80] environment and is anybody else doing this currently like loading linux completely in the browser
[2767.60 --> 2774.80] yeah so there are there are projects that are using it i i'm not aware of people building tutorial sites
[2774.80 --> 2782.96] with it which is a shame because it's a really powerful tool um most tutorial platforms i'm aware
[2782.96 --> 2788.96] of tend to do the whole like we'll spin up a container yeah shut it down after a while which is super
[2788.96 --> 2795.60] expensive um expensive for them to run for their users yeah yeah and typically what you'll see is
[2795.60 --> 2802.16] they'll start hey we have a free tier they'll be like hey uh maybe just you can use it for a few hours
[2803.20 --> 2808.48] and then it turns into there's no free tier because we can't support you can't support it long term
[2809.04 --> 2814.16] i think about debian debian just released a new version and they're i believe the install process
[2814.16 --> 2820.08] changed enough to be talked about so it'd be cool to emulate for debian when they launch like here's
[2820.08 --> 2825.52] how the new installation process works here's the screens that have changed if you're doing like a
[2825.52 --> 2830.80] unique disk set and this is how you need to do you know raid or whatever or choose this or that or choose
[2830.80 --> 2835.84] zfs or whatever it might be then you can emulate it in the browser this this is like a great example
[2835.84 --> 2839.28] of that because you can see it before you actually have to install it or you can install it but you have
[2839.28 --> 2844.72] to have the hardware and enough hardware to expend on a tutorial right or at least be able to virtualize
[2844.72 --> 2848.80] with say proxbox but maybe proxbox can't support the latest debut which it can i'm just saying like
[2848.80 --> 2852.96] what if there's something there if you emulate it you can sort of just it's marketing in a way it's
[2852.96 --> 2857.12] almost like here's how it works right and if you don't know how it works this is how it works
[2857.76 --> 2863.20] i this sounds awesome i can't do these things i want this he's focused on bioinformatics right
[2863.20 --> 2867.20] you're teaching specifically those kind of tutorials but you're playing with xterm.js though right
[2867.20 --> 2870.96] right and your platform is beyond right like you could use this generally yeah you can use this
[2870.96 --> 2877.68] for anything really um now of course i i am going to add tutorials that are not bio specific like
[2877.68 --> 2885.28] git and greps and awk all these things that i think everybody's the basics yeah core utils so give an
[2885.28 --> 2891.44] example of how these tutorials would work then like let's say i have zero idea of how i would use awk or
[2891.44 --> 2896.72] grep yeah so there's an awk tutorial right now you can go to sandbox.bio
[2897.68 --> 2904.00] and click on the awk tutorial it basically shows you tutorial contents on the left and it shows you
[2904.00 --> 2911.04] some scenarios like let's say you want to analyze the tab separated file and filter out rows that have
[2912.00 --> 2915.36] a number greater than whatever in a column so you can do these sort of things
[2916.80 --> 2923.52] awk by the way is a whole programming language which is amazing you can you can launch processes
[2923.52 --> 2932.72] within it you can write to files you can like it's quite quite deep yes yeah uh but yeah so the tutorial
[2932.72 --> 2941.44] has these sorts of examples and then you have uh exercises and so you'll some of them i admit are a bit
[2941.44 --> 2948.00] probably too complicated like you're doing a bit too much math for awk but just to show you how like how
[2948.00 --> 2956.80] powerful it is and you're working in like a a emulated environment that is a terminal with an
[2956.80 --> 2962.64] emulated version of awk that's right yeah right it's using new awk version i don't know five point
[2962.64 --> 2971.04] something how do you author these tutorials so some of them i've made up some of them i work with others
[2971.04 --> 2978.08] who already wrote text-based tutorials and we kind of bring them into this interactive place and it kind
[2978.08 --> 2985.52] of brings them to life okay describe this interactive place oh i just mean like you know is it like the
[2985.52 --> 2993.84] good place the bad place it's a very good place it's a very good place um that that could be the sequel
[2993.84 --> 3002.24] very good there you go but yeah so basically we just take the the markdown put it into this sandbox.bio
[3002.24 --> 3008.72] kind of template and if it uses a tool that i've already compiled to web assembly
[3009.44 --> 3013.44] we can just use it directly if not then we have to bang our heads against the wall figure that out
[3013.44 --> 3019.76] first and then put it in are these we just had a conversation too what was that conversation about
[3019.76 --> 3027.92] jerry gosh uh a skinema kind of similar to this in a way i mean you're it's not tutorial but it's
[3027.92 --> 3033.68] recording what you did so it's almost it's a playback right in an emulation state i mean if
[3033.68 --> 3037.92] you can rewind and touch and feel and kind of like delete that'd be kind of cool too it's not quite the
[3037.92 --> 3043.28] same but it's got the similar fidelity yeah the fidelity is there like it's literally the an example
[3043.28 --> 3048.40] of what was recorded and so this is probably an example of what could be real life so they're very
[3048.40 --> 3054.08] similar in that way what am i trying to say though what are you trying to say is embeddings and like
[3054.08 --> 3061.12] using this thing to like is this something where you said it's uh sandbox.bio yes okay so that's the
[3061.12 --> 3066.48] url yes that's for the tutorial website and and so you're using this to show off tutorials you want
[3066.48 --> 3072.56] to show off right correct and can can i author my own tutorials and put them on there or take them and
[3072.56 --> 3077.12] do some like how can i if i believe in what you believe in with this thing and i want to do my own
[3077.12 --> 3083.60] things i want to show off whatever yeah i so we're not yet at the point where we can you know have an
[3083.60 --> 3088.48] automated system where you can log in and create tutorials but typically the way it works is you
[3088.48 --> 3096.32] email me you're like hey no way yeah okay classic collab could you fork the repo or something like
[3096.32 --> 3103.04] that and sure yeah yeah and like if you want to just play with having debian in the browser you could
[3103.04 --> 3110.00] also look at the v86 which is what i'm using right to emulate it um and you could you know run it
[3110.00 --> 3115.76] on your own site or if you want to embed it or all that's possible yeah well i was actually thinking
[3115.76 --> 3121.52] about this recently and i just did this with like screenshots i did a fresh install of because i've
[3121.52 --> 3131.20] been messing with ubuntu 2204 or sorry 2304 and i just did a you know i got a redundant os installation
[3131.20 --> 3136.16] i've got two discs i've got a swap i've got a boot you know i've got root all that stuff like that
[3136.16 --> 3141.12] and so rather than just choosing one drive i want to have the system be fully redundant by having
[3141.12 --> 3147.04] two drives in mirror and i want to i like to show that off either in written but the only way i could
[3147.04 --> 3152.08] do it really was like through screenshots and then right around those screenshots now will i do a full
[3152.08 --> 3156.96] emulation it'd be kind of cool to have all of what i already have but then at the end or somewhere
[3156.96 --> 3162.96] else a sidecar would be like here's literally the environment to go and do just that you've got two
[3162.96 --> 3167.52] disks so when you get to that part you can configure these disks and you can follow my instructions