Potluck - Moist code Memoization Ready for full-time? Deadlines Design ethics React components Video hosting Local fonts More!

Published: Aug. 18, 2021, 1 p.m.

It\u2019s another Potluck! In this episode, Scott and Wes answer your questions about memoization, how to know when you\u2019re ready for a full-time dev job, what to do when you underestimate projects, design ethics, local fonts, and more!

Linode - Sponsor

Whether you\u2019re working on a personal project or managing enterprise infrastructure, you deserve simple, affordable, and accessible cloud computing solutions that allow you to take your project to the next level. Simplify your cloud infrastructure with Linode\u2019s Linux virtual machines and develop, deploy, and scale your modern applications faster and easier. Get started on Linode today with a $100 in free credit for listeners of Syntax. You can find all the details at\xa0linode.com/syntax. Linode has 11 global data centers and provides 24/7/365 human support with no tiers or hand-offs regardless of your plan size. In addition to shared and dedicated compute instances, you can use your $100 in credit on S3-compatible object storage, Managed Kubernetes, and more. Visit\xa0linode.com/syntax\xa0and click on the \u201cCreate Free Account\u201d button to get started.

LogRocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It\u2019s an exception tracker, a session re-player and a performance monitor. Get 14 days free at\xa0logrocket.com/syntax.

Cloudinary - Sponsor

Cloudinary\xa0is the best way to manage images and videos in the cloud. Edit and transform for any use case, from performance to personalization, using Cloudinary\u2019s APIs, SDKs, widgets, and integrations.

Show Notes

04:07 - Can you explain the concept of memoization in JS?

07:27 - I\u2019ve been developing for a while now and I was wanting to know if there is some sort of catalyst that I should be aware of that screams \u201cyou\u2019re ready for a full-time job\u201d?

09:26 - I have an ethics question for you. I recently took on a freelance gig that requires a custom admin dashboard, and I wasn\u2019t really sure how to design one of those. My solution was to look up a pre-made Bootstrap dashboard template that can be purchased for $50-$500, and just re-create it myself. I looked at their live demo and reconstructed a very similar dashboard myself, using the same UI library. The outcome is not a perfect copy, although it\u2019s very close, and I never looked at their code base, so there\u2019s probably many differences there. But still, I can understand why some people might be upset by my attempt to copy someone else\u2019s design. I\u2019m not reselling it as a theme, just using it my freelance project with one client. What are your thoughts on this?

16:36 - How do you decide how specific a (React) component should be?

22:03 - My question is about the\xa0npm run eject\xa0feature of React. Is there a place where I should be using this feature or can I keep on ignoring that it exists?

24:04 - My question is for Scott. In one of the episodes in the past, you mentioned that you use YouTube private videos on\xa0leveluptutorials.com\xa0using some kind of authentication. If I am not mistaken, you use a different platform to host videos now. Was there any reason to stop using that technique?

31:13 - I\u2019m setting up a webinar. I\u2019m going to require an iLok drive to access the FTP site, so I head over to Ali Baba, and I\u2019m on Ali Baba to buy the things, and I should mention my main concern would be data miners. I mean they\u2019re just like cyber-crackheads, really. So, I would imagine that any latency issues could be compensated through a registrar handshake with the firmware, and I\u2019d love to see a combination of both flash and HTML5, so my question is, would the eCommerce piece embed on the host platform, as well as the dialogue field for user names? Or, would the gateway socket extension be full duplex, as well as the packet switchover?

33:33 - How do you allow users to edit text to their profile or to messages they send to other users, without sacrificing the safety and security of your site?

38:07 - Any tips on how should I use npm packages in Netlify functions? I read that I could commit node_modules (which for me sounds absolutely barbaric) and I also read that I could install netlify-lambda package with an additional postinstall script in the package.json. What\u2019s your approach?

41:07 - Can you disable local fonts from the OS and check if the site actually loads them?

46:02 - I have a question related to freelancing. Yesterday I took on a new client project. Price is locked in and contract is signed. Thing is, I am new to web dev freelancing and I now realise I have totally miscalculated the complexity and size of this project. What I initially estimated I could do in 3-4 weeks suddenly looks more like 6-8 weeks of work for me. Do I break the bad news for the client and ask to extend the deadline, outsource part of the work (which might lead to more hassle), or just buckle up and prepare to pull several all nighters to get on top of it? What would you do?

49:09 - Question to Scott: Have you ever thought of calling your students Scott\u2019s Tots?

Links \xd7\xd7\xd7 SIIIIICK \xd7\xd7\xd7 PIIIICKS \xd7\xd7\xd7 Shameless Plugs Tweet us your tasty treats!