How did you optimize your home set up for productivity?
@MattGodbolt7 күн бұрын
@@BenjaminOwenSlattery I'm not sure I have particularly! My house is very open plan and my "office" is the kids' play room end of the one downstairs room. Luckily they're grown up and mostly hide on their computers in the basement... I suppose the one thing is noise cancelling headphones!
@BenjaminOwenSlattery7 күн бұрын
@ That’s fair haha. I though in the podcast one of you two said that during the pandemic you optimized your home office for software productivity.
@marcwinner5679 күн бұрын
Also I really loved that clarification that amount of code generated is definately not equal to productivity. A problem solved by a minimal amount of code (while still keeping it maintainable) is indeed more valuable than someone sitting remote spitting out hundreds of LOC, even if it was done faster because of home office.
@milesrout8 күн бұрын
What a trite observation.
@marcwinner5679 күн бұрын
Great episode Matt and Ben. I really reasonated with your views on this one. It would be interesting though to know how employers who do fully remote handle things like planning, brainstorming etc to mitigate the drawback of not being in person. Care to share your thoughts?
@minirop9 күн бұрын
You can circle the question back to you. Would you be more """productive""" on that podcast if it was done in person? (whatever "productive" means in that context)
@wurlin_murlin24 күн бұрын
Thanks for the episode fellas. In an SRE role atm, another way I interpret "dirty hands are right" is that what gets implemented is the ground truth. No matter what your objections and beautiful ideas are, what gets done is real and what doesn't get done is not. The trick in SRE is never be a completely separate team from the guys building the core things, getting stuck in with them helps with skin in the game in both directions and prevents the extremes of Conway's Law of long hallways. Without a social and technical nearness it devolves into whinging and gatekeeping from the operational side like in that one KRAZAM sketch, and dev becomes the villains of circumstance unwittingly creating the accidental sleep deprivation water torture nightmare pain zone. That note about "collectively having dirty hands that are right" around 27:24 is applicable I think. "Free as in free goldfish" is a clapper, stealing that immediately. It's free as in free aphorisms.
@marcwinner567Ай бұрын
Great episode! Love these kind of discussions
@waeliscАй бұрын
Rather than essentially "don't backseat drive", I think the original idea is basically that "your opinion doesn't count unless it's the product of experience" - the person who's actually been in the trenches will always know better than the person back at home.
@thegibusguy4969Ай бұрын
12:45 I just realized something huge, coming back to this with a better understanding of vector math. (I also had to rewrite this comment because KZbin insta-deleted it?) In Roblox I would approach this by using the dot product on two vectors I'd call "direction" and "lookVector". direction = (Δx, Δy) lookVector = (cos(β), sin(β)) direction ⋅ lookVector = Δx cos(β) * Δy sin(β) = p Much simpler! Although it is interesting to see how the trig rules hold up and can also be used to calculate p. I made a thing in Desmos to prove it and I was going to link it directly, but I think the link might have been what was getting the comment nuked. Open the Desmos graphing calculator and put slash b1htugmdki at the end of the url if you want to see it.
@spacewad8745Ай бұрын
hey folks! just wanna let y'all know that i appreciate all the hard work you've done to produce this podcast. the views seem to be low at the moment but I'm sure these videos will catch on over time 💜
@JustJustSidАй бұрын
I can totally sympathize with Matt's excitement here. I feel the same way when I come across something really neat and beautiful, but incredibly specific and potentially even heavily foot-gunned.
@MattGodboltАй бұрын
Hahah thanks :)
@grim5iАй бұрын
You guys are great. Can you do an episode on gpu programming on things other than graphics?
@MattGodboltАй бұрын
We'd love to but I do'nt think either of us know anything about that :)
@suvetarАй бұрын
Absolutely fascinating stuff, not just the code tricks but it gives a kind of insight into the brain of John Carmack too! ... That guys brain has got so many groves it has its own Hausdorff dimension! I would love to see a Javascript simulation of these algorithms working, especially that cunning Square-Root hack!
@raigami_san2 ай бұрын
Hey Matt, I love your content. I've learned a lot of things on your podcasts, and I'd like to see while coding. This is very educational for me. Please consider coming back! Take care!
@MattGodbolt2 ай бұрын
Thank you so much! I've been super busy but I'm hoping to get some free time to do some more streaming!
@jbrains2 ай бұрын
Hello! I've listened to the first 8 minutes and I would like to express my gratitude for you recording this episode. Now I'm going to download the episode to my podcast player and listen to it at my leisure. And maybe some more episodes, because you two sound like lovely folks. Cheers! UPDATE: Oh, no! This episode is not in your RSS feed. Oversight? or did I just learn that you don't always publish episodes to both KZbin and the feed? UPDATE UPDATE: Oh, no! I acted carelessly and got it wrong. The episode is _right there_ in the feed. Sorry.
@MattGodbolt2 ай бұрын
@@jbrains our KZbin channel pulls from the RSS feed. I just confirmed it's in our RSS feed too. I don't know what's happening with your reader there, sorry! :(. Thanks for the heads-up, I'll check the RSS is valid
@jbrains2 ай бұрын
@@MattGodbolt Aha! I looked at the wrong date!! Thank you for pointing me in the right direction and I'm sorry for not looking a little more carefully. :)
@MattGodbolt2 ай бұрын
@@jbrains also! wow I hadn't even noticed you're the actual JB :D Thank you!!
@Prof._indika_walimuni3 ай бұрын
Great tool. Thanks a lot for providing it for free! I use it heavily in my college CS classes mainly because it allows embedding into my LMS especially in course forums. Unfortunately, UX of stdin is still poor specially among beginners. Would you be able to improve it? I can also ask it as a feature request. Also can we build it as a browser based tool-Just for a couple of languages like Python, C++ and Java? - just wanted to use it in collage classes for only academic purpose.
@MattGodbolt3 ай бұрын
@@Prof._indika_walimuni thanks! If you file an issue on GitHub about stdin then we can take a look. I don't understand what you mean for a browser-based tool...it /is/ a browser-based tool already, right?
@ji10463 ай бұрын
bro moves +dy slight to the right, and calls it -dy, f'in brilliant... what a garbage explanation
@MattGodbolt3 ай бұрын
Thanks for the feedback; I wish I could easily correct these things :\
@Rockyzach883 ай бұрын
I wish I could get addicted to video games again. That's how I know it's really good. I still enjoy them but right now I'm more interested in making them.
@sanderbos42433 ай бұрын
Loved this!
@pmcgee0033 ай бұрын
Flow state - understanding research papers; writers; vehicle mechanic; boat-buiilding; carpentry; prob eg some Olympic sports like rock climbing
@francisco44933 ай бұрын
whoa i just stumbled upon this randomly, what a great episode. I have never seen people discuss the addictive side of programming until now... But it absolutely exists.
@naikrovek3 ай бұрын
I have been in a flow state in conversation, and I have been in a flow state when programming, but I can not imagine how anyone could be in a flow state while doing both at once. That's just not possible for me. I have to stop talking and stop listening in order to get into that flow state, where your short term memory is doubled and you can hold all of the context at once. the instant I hear my name or any other keyword that awakens that part of my brain, it's over.
@jasnarmstrng3 ай бұрын
Best episode yet!
@sphark-f6y4 ай бұрын
Given how bad these CPU speculations are, how is the CPU ever meant to be performant, no hyper threating, no cache.
@morwar_4 ай бұрын
I wish optimization was seen as a good thing. Going from 1s to 100ms should be encouraged. Going from 100ms to 1ms could be encouraged depending on the kind of software. I don't understand why this topic is seen as a waste of time. Many meetings where nothing was decided could have been an optimization session. In my experience software evolves in "waves" because of the above. You will only notice the improvement when the process is migrated to a new tool, architecture or platform, etc. For example, you mentioned the order of sets or lists. If you require that the collection need to be sorted, in older python versions you would need to implement that. In new python versions that was added to the language. If you update you can get rid of some code and trust the python implementation.
@Ver2ion4 ай бұрын
11:00 you lost me
@MattGodbolt4 ай бұрын
I'm sorry; I'll have to have a rethink. I admit this is complex! And ideally I'd like a better way to explain :)
@Ver2ion4 ай бұрын
@@MattGodbolt haha it was a awesome tutorial it wasnt you i just got lost there lol super cool
@alskidan5 ай бұрын
Look bud, the video title plays music. Under pressure 🎶
@717Fang5 ай бұрын
I wonder if it is possible to save exe /obj/ file after the compilation? Thank you.
@MattGodbolt5 ай бұрын
@@717Fang it's not possible currently, no. It's a feature request; we have to consider us not becoming a CI service for everyone. also some of our compilers are proprietary and we don't have a license to allow that feature for them.
@giovanni.tirloni5 ай бұрын
great show. is the opening music available somewhere? it's great!
@MattGodbolt5 ай бұрын
It's not, at least currently! It's by InversePhase; you can check out similar things by then by searching for on bandcamp or going to the obvious URL :)
@sanderbos42436 ай бұрын
Loved it
@monad_tcp6 ай бұрын
17:53 talk that to the W3C group cramming everything under the Sun into a browser, making it more complex than Windows 98, browsers are operating systems and virtual machines, instead of mere document visualizers.
@hotmultimedia6 ай бұрын
how did the pushwalls work?
@BurkenProductions6 ай бұрын
This was just lame
@monad_tcp6 ай бұрын
no, it was actually good, you're just too young and excited for the technical part , this was about the management part of the software
@minirop6 ай бұрын
thanks to Matt, I now know that the middle of nowhere is in Nebraska.
@MattGodbolt6 ай бұрын
Geography is not my strong suit
@grim5i7 ай бұрын
This was fascinating. I am very grateful you uploaded this.
@WesleyCSJ7 ай бұрын
Love this game on my playstation 2, for no reason I searched for a making of(i always do this to learn more about gamedev), and found this video series, but unfortunately incomplete, please finish this series, it's a pretty important media to document history from a time where information where not available as nowadays. Btw, there are 4 prototypes(sep, jun and aug 2003) for playstation 2 of this game available at hidden palace and some videos of Swat II : Global Strike Team prototypes on youtube. Cheers!
@MattGodbolt7 ай бұрын
Thanks! I should really finish this off...
@salim4447 ай бұрын
17:46 Have you tried TLA for proving thread safety? or what are you thoughts on mathematical proves if you have tried any
@minirop7 ай бұрын
one of the best examples I know about stable vs unstable sorts is a list of cities. You might want to sort by country and have each country sorted by city name. You need a stable sort for that (if you do it in two passes, like when sorting columns in Excel by clicking on their header for instance).
@juvenal12287 ай бұрын
The old intro was well better
@grim5i7 ай бұрын
Just saw that you did a rust episode and clicked it right away. This podcast is great!
@grim5i7 ай бұрын
This podcast is a great find. I am mostly a rust and python guy but I've been dabbling in C++ since most "grown-up" programming is done there.
@grim5i7 ай бұрын
Just found this podcast. Such a treasure.
@mmakidful7 ай бұрын
Great explanation!
@MattGodbolt7 ай бұрын
Thank you!
@aprilmeowmeow8 ай бұрын
AMD is now known to have spectre vulnerabilities of its own, now, right?
@aprilmeowmeow8 ай бұрын
❤ thank you for this!
@krozareq8 ай бұрын
It ran well on my IBM Clone 8088. Well, until I used the map editor to create a room full of bosses... that brought it to its knees.
@sanderbos42438 ай бұрын
Great episode! You could look into what Andrew Kelley has done in order to make the Zig Foundation charity a thing, cause he has talked about it loads in YT interviews and on websites.
@sanderbos42438 ай бұрын
Its Discord server is also a great place to ask for more details
@MattGodbolt8 ай бұрын
Thanks!
@jacoblister8 ай бұрын
Love your work - been working on a hobby source to source compiler recently and try things out in Compiler Explorer all the time
@MattGodbolt8 ай бұрын
Thanks so much! Hearing this always puts a smile on my face. Appreciate it!
@OnlyBadJoke8 ай бұрын
Thanks man it helps a lot
@steubens79 ай бұрын
do people know there are 44 other episodes 👀
@steubens79 ай бұрын
apple gets' their own OS too, that's the bigger part of making it fast in unusual places. they can come up with new memory models and stuff, not have things be cache coherent where they are on other architectures (free cache!)
@monad_tcp9 ай бұрын
rewrites C into Java . yeah, that happens a lot . "C is fast" its a dead myth