Great video! Thank you! Just a heads up, the video has some weird muffled sounds here and there that seems to be coming from taps to the microphone or something else.
Hello, I was looking at your video channel. We may be helping a company that uses secure images to increase supply chain security and help cloud native development. Would you be willing to help try their software, make a video, and help show devs how to use their tools? This is not an offer, but just to start a conversation about your willingness to take on sponsorship. The video can be from 5 to 10 minutes long. You'd have a chance to look at their technology and decide if it's the type of software that you'd be interested in covering in your channel. Please provide us with your pricing. Respectfully,
Love this topic and your video but would be helpful if you could share some examples of using web components instead of React functional components being imported into another React project.
Heard about this for the first time. I have a few questions. How would this work if 2 components are within the same window like the example of related products and the current product? Would we need to create a parent port that will run both the child ports/apps? And how efficient would it be as compared to making different components within the same structure and not different apps?
Hi, thanks for this great video. It was really very helpful. But the reason why I came to this video is to see how this transfer of files happen after docker-compose. Issue I am facing is, when I save my code, it does not reflect in docker container. I need to manually perform everything. Can you please help me resolve it.
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { internal class PNG : ICompressor { public void Compress() { Console.WriteLine("Compressing .png image."); } } } using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { internal class JPEG : ICompressor { public void Compress() { Console.WriteLine("Compressing .jpeg image."); } } } using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { internal enum ImageTypes { JPEGs, PNGs } } using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { internal class ImageStorage { public ICompressor instance; public void SelectImage(ImageTypes type) { try { switch (type) { case ImageTypes.JPEGs: instance = new JPEG(); break; case ImageTypes.PNGs: instance = new PNG(); break; default: Console.WriteLine("Image extension not in catalog."); break; } } catch (Exception) { Console.WriteLine("Image catalog doesn't support the specified format."); } instance.Compress(); } } } using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { internal interface ICompressor { void Compress(); } } using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { internal class Program { static void Main(string[] args) { var imageGallery = new ImageStorage(); imageGallery.SelectImage(ImageTypes.PNGs); } } }
Thank you so much. Really showed concise example for the monitor pattern that I was looking for without spending an hour talking. This was so helpful! Thanks!
The code not works. Firstly - there must be a call of the method 'client.connect()' and exists methods can be corrected - because a new redis library has differences.
Why does the highlighter has write and erase if neither is related to what we expect of a highlighter? It seems you have made yourself an anti pattern instead of an example of the open/close principle.
Nice project, sorry for being an ass just wanted to correct one speaking mistake which I observed in all your videos. Instead of “can be able to” - “are able to” OR “can”
considering he is only at google for just coupl eof weeks only, this video should have been more on "how did he get the job starting as a staff software engineer at google?" or wait like a year before then sharing what is it like..anyways good video regardless
This is a nitpick, but I think the interviewees and audience would appreciate seeing your face in the video as well as the guests so it seems like we're watching a conversation. Great video Eric!
Thanks for the clear explanation! Just out of curiosity, could we use Factory Method design pattern here to abstract that compression logic from the main class as well? I think we could have a factory that returns compression classes based on the given type (essentially we’d move switch to factory). Each compressors could use the same interface and that could allow factory to work with them and call their methods regardless of their implementation details. And this could be injected from outside just like how you do for strategy pattern. Would this approach be a viable alternative? Just trying to get a basic understanding of different patterns, sorry if this came across a little out of context.
This was a great talk! I loved what you said about the 4 categories of daily work for solutions architects, how do you typically go about minimizing the "unexpected work" of fixing bugs and other challenges that might derail your workflow?