Interesting video! This will definitely help me with writing my own terminal emulator.
@JustSomeAussie1Күн бұрын
looks like you wrote the c-word at 9:55 😳
@ophelloКүн бұрын
Out of the loop… but are you abandoning the Google maps project or just taking a break?
@sphaerophoria11 сағат бұрын
who knows :D
@ArnabJhaYTКүн бұрын
Could you make more videos related to Qt?
@aidennwitz3 күн бұрын
but who debugs the debuggers?
@andrewdunbar8283 күн бұрын
You never told us you used to be sane.
@sphaerophoria3 күн бұрын
The theory at the end of the video is (maybe) right. If I build Qt by hand with zig cc and zig c++, I can build a sample application that changes the QML displayed content from a Zig app. See github.com/sphaerophoria/qtzig
@galactic_fx3 күн бұрын
24:32 this is why you itch your nose with your knuckle
@galactic_fx3 күн бұрын
these chapters are hilarious 😭😭😭
@goodboiadvsp32974 күн бұрын
Gods work
@brod5155 күн бұрын
@7:53 got you my like.
@fanying-coding5 күн бұрын
I learned a lot from this series, it's amazing!
@paliszarok5 күн бұрын
Zig tsoding is not real, he can't hurt you. Zig tsoding:
@MorthisSfg5 күн бұрын
I am interested, are you a swe for a day job?
@galactic_fx5 күн бұрын
as far as i’m aware, sphaero quit their job temporarily to pursue streaming. i’m not completely in the loop though
@nathanaelmoh58485 күн бұрын
Bro you're the Primitive Technology of computer science videos and that's the highest honour I can give. You're the reason I don't know if I should continue coding and the reason I keep on coding at the same time. I love how you explain everything to us.
@sphaerophoria11 сағат бұрын
Continue!
@johanavril16915 күн бұрын
funny I saw another "bot like" message on another small dev stream and it was really similar maybe even the same, wonder what the goal is
@ethical-not-evil5 күн бұрын
i got a midnight idea for you so impl your self hpsted google maps into your own os i mean extend your os and add these into your os bins
@alang.20545 күн бұрын
What are you smoking bro 😂
@cvabds5 күн бұрын
What game is this?
@sphaerophoria5 күн бұрын
Uh.... "writing code for fun real life the game"
@Accanfo6 күн бұрын
Fascinating
@MendoukseNa-t3v6 күн бұрын
Will you do a oriansj stage0 like bootstrap
@sphaerophoria5 күн бұрын
I'm sorry I don't understand what you're asking
@paulyz85347 күн бұрын
Google maps doesn't have any issues. They've solved it already. You're wasting your time.
@sphaerophoria7 күн бұрын
I shouldn't even bother answering this, but learning and having fun isn't a waste of time
@sphaerophoria8 күн бұрын
I think ~90% of the times I've ever said "bad boy" in my entire life were recorded in this 2 hour video
@Dje43218 күн бұрын
Out of context this statement is bizarre
@ghoflyer8 күн бұрын
One of the anti debugging techniques is to hash your code and see if it's changed because an int has been inserted
@hwhat9 күн бұрын
here before ai thumbnail guy
@creator-link9 күн бұрын
I mean AI does suck but it doesn’t really matter I guess
@zgglmc9 күн бұрын
🎉
@aze430810 күн бұрын
can you make shorter versions of these videos
@Dje432110 күн бұрын
Don't know of your aware, there is @breakpoint and @trap builtins that might be useful for debugging
@sphaerophoria10 күн бұрын
Yeah someone pointed those out, but I intentionally dodged them because if i'm binary re-writing i wanna be sure which asm instructions are being executed
@twenty-fifth42011 күн бұрын
7:10 "My name comes from a bug" I mean, when I came here, my mind wandered to blitzball from Final Fantasy 10 lmao Neat little lore bit though.
@ScibbieGames12 күн бұрын
I hope Zig get's it's own debugger, actually, considering the fuzzer is served via HTML with Webassembly, maybe a debugger could too! :D
@sphaerophoria11 күн бұрын
I don't think there's anything fundamentally different about debugging zig vs c. Existing tools should be fine?
@rogo733012 күн бұрын
If this is how it works on Windows as well, I can see now how malware can set its own sighandlers and avoid debuggers completly. Unless there is something in OS that stops process from setting handler for a signal twice.
@hypno569012 күн бұрын
king sh*t
@sphaerophoria12 күн бұрын
Re: end of video bug, I had addr/data swapped in my PTRACE_CONT and was sending an undefined value to the child process as a signal 🤦🤦🤦🤦🤦
@andrewkraevskii12 күн бұрын
I had same issue with my debugger attempt. Ptrace is just too confusing
@Dje432112 күн бұрын
Even after having learned all of this stuff in the past, its still wild to me that you can run both my code and the debugger code at the same time while the debugger has surgical precision to go in there and modify the code while somehow getting the source code back out. This is clearly the work of the devil
@sphaerophoria12 күн бұрын
🦹
@proton..12 күн бұрын
I love men
@sphaerophoria12 күн бұрын
sir, this is a programming channel
@creator-link12 күн бұрын
@proton..->love = men;
@proton..11 күн бұрын
@@sphaerophoria yes
@Jake-ij5nt14 күн бұрын
glob
@andreialdea607214 күн бұрын
I'm a bit confused, why are you not using the classical DFAs for regex matching? They are way easier to implement and are guaranteed to finish execution. The hardest part is transforming the automata described by the regex into a DFA, but it's just the application of a well known algorithm
@sphaerophoria14 күн бұрын
Looking up the answer is cheating
@Diamonddrake14 күн бұрын
I had a homework assignment to use NFAs to create a regex matcher. All problems are easy when you already know the answer!
@amityagov14 күн бұрын
first
@beyondcatastrophe_15 күн бұрын
16:45 In C, if you specify at least one member, all other members are initialized to 0, search for "c partial initialization". What you tried first `{0}` is not some compiler magic, but just initializing the first member to 0, and making all others 0 by this rule
@Zach010ROBLOX15 күн бұрын
I haven't gotten to the end yet, so I've probably missed some stuff, but I wonder if another approach could be making single direction ways between all stops on a trip to future stops, then attaching the time between stops as the heuristic for the ways for A* to look at. I feel like this might be similar to what the original super long approach was because that one looks at all the trips and stops, but for some reason I feel like it might not have taken into account some of those connections, so there was extra minute stop changes A* was considering instead of stops that were already close to the node like the OSM pathfinder. Did that make sense? Idk the gpu accel and pre-calc heat map is another cool approach that worked out well. Lots of ways to skin a cat
@Zach010ROBLOX15 күн бұрын
Also since I've been making a lot of these comments I wanted to say that I'm writing them out of curiosity and trying to solve the problem in my own way and learning how or why my approach could work or could be less ideal, cause I think that's fun!
@potatopassingby15 күн бұрын
yo yo yo what's up what's up what's up everybody, welcome back
@Maratreason15 күн бұрын
Thank you man! Great job!
@masoom-theproudvegan721215 күн бұрын
this is the best channel , hands down
@Zach010ROBLOX15 күн бұрын
I read "visualizing" as "Vandalizing". Close enough xD
@sphaerophoria15 күн бұрын
Someone in chat at some point said "one span per character?". Initially I didn't want to do that, but changed my mind after stream. All that span slicing stuff was too much work and I think doesn't play nicely with future features of having multiple matchers match the same character
@Maratreason15 күн бұрын
Eh, all that’s left is to create a graphical interface for the operating system. It's a shame that the project is not being developed further. In any case, thank you so much for sharing your knowledge!!! A lot of work has been done. The Rust language is simply great.
@xabhax17 күн бұрын
Regex didn’t cause the problem. The module was passed 21 arguments. It expected 20.
@andrewdunbar82817 күн бұрын
pseudo linux is the best distro
@chromosundrift17 күн бұрын
my favourite bit was when it worked and then... we're chillin'.
@frontforumfocus17 күн бұрын
Let's goo
@Zach010ROBLOX17 күн бұрын
Ahh I just made a comment on the previous video about adding metadata to the route/trip info during preprocess, I guess it just wasn't in the scope of the last video, but now he's adding it in to the flow because it's finally time for visualizing route info and maybe factoring it into pathfinding. Very fun, so much cool expansions and great philosophies for programming