- 175
- 223 328
Code Tour
เข้าร่วมเมื่อ 13 เม.ย. 2019
Hi, I'm Chris, a Senior Software Engineer from New Jersey.
beacons.ai/codetour
beacons.ai/codetour
Resume Review - Jose - Software Engineer
In this video I review Jose's (anonymized for their personal security) resume as they are looking for their first big time software engineering role. Jose is a bootcamp grad and is looking to make their resume convey more "I am a problem solver" and less "I am someone who will need a lot of training and hand-holding on the job".
มุมมอง: 303
วีดีโอ
Resume Review - Samson Jamson - Software Engineer
มุมมอง 3475 หลายเดือนก่อน
In this video I do a resume review of a real person, who has been struggling to get initial phone screens, even though they have an extremely technically impressive resume. For security, I have anonymized their personal information.
Train your first machine learning model with Python, Tensorflow, Google CoLab
มุมมอง 1.4K7 หลายเดือนก่อน
In this video we build an extremely simple machine learning model in Google CoLab using the Keras API from Tensorflow library. The model will be able to recognize patterns in sequences of numbers. This example is from the book "AI and Machine Learning for Coders" which I highly recommend. It's a great into to the ML world if you already understand how coding works, generally.
Where is my Redux, React Context, graphQL data?
มุมมอง 5257 หลายเดือนก่อน
AAHHHH!! Help! I've lost my Redux, React Context, graphQL data and I can't find it. Where the heck is it? How does browser memory work? What is a rendering engine? What is a javascript engine? And more!
Intro to Frontend Performance: Infinite Scrolling
มุมมอง 1.1K8 หลายเดือนก่อน
In this video we talk about what happens if we're building a web app that needs to display a loooooooooooot of items. We can paginate these items, and make it appear as though those items truly appear to extend infinitely downward as we're scrolling.
Intro to Code Splitting for Web Apps
มุมมอง 1.1K8 หลายเดือนก่อน
In this video we explore: - What is code splitting? - What is code "below or above the fold"? - How does facebook load certain content at certain times? - What are pure css skeleton loaders?
Should I store data "In Memory" or "On Disk"?
มุมมอง 8499 หลายเดือนก่อน
We're building Facebook. Which features should store data in memory, and which features should store data on disk?
Networking System Design 101: What is a Subnet?
มุมมอง 7099 หลายเดือนก่อน
In this video I explain: - How do devices in a network communicate? - What is an IP Address? - What is a Subnet (Sub-network?) - What components exist in an AWS virtual network? I hope you enjoy, and please share with a friend! Comments and suggestions are appreciated.
System Design: Design an AutoComplete Component like Google
มุมมอง 3.3K9 หลายเดือนก่อน
Let's see how to build a frontend system for an AutoComplete Component. If a user starts typing, they should immediately see a list of results relevant to their search keyword. This video borrows heavily from GreatFrontend.com, which is a fantastic resource for learning about frontend systems and interviews. This video is not sponsored by GreatFrontend in any way, I just really really like this...
Frontend Performance: Virtualized List
มุมมอง 1.6K9 หลายเดือนก่อน
What is a Virtualized List (or as some call it, Windowing) ? This is a frontend strategy we can use when we want to render a long list of many (hundreds or thousands) of items in the UI. Enjoy and leave a comment!
System Design: Design a URL Shortener like TinyURL
มุมมอง 90K10 หลายเดือนก่อน
If you're looking for a URL shortener which looks IMO to be in several ways slightly better than TinyURL etc., (link analytics, QR codes, API integration etc) I recommend checking out TLY, and if you do end up signing up for an account, please use my referral link so I can get a commission: t.ly/register?via=christopher-flannery See Sandeep Verma's article for more info: medium.com/@sandeep4.ve...
Sports Betting Application System Design: Pub Sub vs. Queue pattern
มุมมอง 1.7K10 หลายเดือนก่อน
Exploring a couple different options for how we might propogate data through a sports betting system. I hope you enjoy, and please share with a friend! Comments and suggestions are appreciated.
TinyURL System design mini-lesson: Caching
มุมมอง 61010 หลายเดือนก่อน
If you're looking for a URL shortener which looks IMO to be in several ways slightly better than TinyURL etc., (link analytics, QR codes, API integration etc) I recommend checking out TLY, and if you do end up signing up for an account, please use my referral link so I can get a commission: t.ly/register?via=christopher-flannery How would we build a caching system in a TinyURL generator? I hope...
Spotify's System Design Update - 2 apps in one
มุมมอง 81610 หลายเดือนก่อน
Explaining Spotify's architecture, from this blog: engineering.atspotify.com/2021/04/building-the-future-of-our-desktop-apps/ I hope you enjoy, and please share with a friend! Comments and suggestions are appreciated.
Amazon Marketplace System Design Interview - Explained with simple terms and diagram
มุมมอง 985ปีที่แล้ว
Amazon Marketplace System Design Interview - Explained with simple terms and diagram
How to SQL JOIN with 3 tables? Explained with simple terms and diagram
มุมมอง 2.6Kปีที่แล้ว
How to SQL JOIN with 3 tables? Explained with simple terms and diagram
Are Kafka and Websockets the same thing? Explained with simple terms and diagram
มุมมอง 3Kปีที่แล้ว
Are Kafka and Websockets the same thing? Explained with simple terms and diagram
What are Web Sockets? Explained with simple terms and diagram
มุมมอง 3.9Kปีที่แล้ว
What are Web Sockets? Explained with simple terms and diagram
What is a Load Balancer? Explained with simple terms & diagram
มุมมอง 767ปีที่แล้ว
What is a Load Balancer? Explained with simple terms & diagram
What are Webhooks? Explained with simple terms & diagram
มุมมอง 1.6Kปีที่แล้ว
What are Webhooks? Explained with simple terms & diagram
TypeScript Front-End interview question explained: useFetch React Hook
มุมมอง 838ปีที่แล้ว
TypeScript Front-End interview question explained: useFetch React Hook
Intro to TypeScript Generics (with Avatar)
มุมมอง 416ปีที่แล้ว
Intro to TypeScript Generics (with Avatar)
Senior Software Development Process - TypeScript, React, GraphQL
มุมมอง 525ปีที่แล้ว
Senior Software Development Process - TypeScript, React, GraphQL
myHobbies - Closures Algorithm (solution)
มุมมอง 90ปีที่แล้ว
myHobbies - Closures Algorithm (solution)
Snow Crash, ChatGPT, MidJourney and the Future of Research
มุมมอง 154ปีที่แล้ว
Snow Crash, ChatGPT, MidJourney and the Future of Research
Your first GitHub repo and ignoring Node Modules
มุมมอง 11Kปีที่แล้ว
Your first GitHub repo and ignoring Node Modules
DNA Parsing Algorithm [Beginner JavaScript] - Blade Runner 2049
มุมมอง 6653 ปีที่แล้ว
DNA Parsing Algorithm [Beginner JavaScript] - Blade Runner 2049
Declaring Variables without Var, Let, Const - What Would Happen?
มุมมอง 9K3 ปีที่แล้ว
Declaring Variables without Var, Let, Const - What Would Happen?
8. Classes | Object-Oriented Programming in JavaScript
มุมมอง 1K3 ปีที่แล้ว
8. Classes | Object-Oriented Programming in JavaScript
var, let or what now?
Such an elegant example !
Thank you for this legendary content! ❤
I am not contained in my own brain after hearing this. Bzzzzz
I'm surprised this video doesn't have thousands of views. This was really helpful in helping me understand what in memory actually means
If S={ X | X does not belongs to X } , S belongs to S ?
nice video thanks mate
Hi there, I really loved the way you explain, excellent video! Do you mind to share the tools you used to record this video and create this presentation?
Perú 🫵😸
You made the visualization of global context and window object very easy! Thanks
Rock broo
That set which contains the sets inside it coulde be a category and so the sets falling in this category only 'belong' to that category and is not necessarily the whole category itself right?
That set which contains the sets inside it coulde be a category and so the sets falling in this category only 'belong' to that category and is not necessarily the whole category itself right?
Let R = the set of all sets that don't contain themselves. If R is inside of R, then by definition, R is NOT inside of R, as R is only composed of sets that don't contain themselves. If we go the other way, and first assume R is not inside of R, then by definition R is inside of R, as R not being inside of R means it is a set that does not contain itself, and since R is the set that contains all sets that do not contain themselves, R contains R. The crux of the paradox is that if we first assume R isn't inside R, we arrive at the strange result that R is inside of R. If we then assume R is inside of R, we then arrive at the equally strange result that R isn't inside of R. Hence why it is a paradox, as it is hard to make heads or tails of the status of R.
U R THE BEST! 🔥
Sounds like God.
Thanks for the great video! It covers many important points. However, I think the SQL vs. NoSQL explanation isn't entirely accurate. Eventual consistency isn't exclusive to NoSQL databases; both relational (SQL) and NoSQL databases can typically be configured to replicate writes either synchronously or asynchronously. The ACID properties relate to transaction management and do not address data consistency across database replicas. Word "Consistency" in case of ACID means "DB ensures that a transaction can only bring the database from one consistent state to another, preserving database invariants like key uniqueness etc"
"slightly inspired" by Sandeep's article 🤔
Finally a straight explanation without the usual bullshit received by videos from publishers in a certain place in south Asia.
🎉 thank you bro, I just solved a problem with this video
@Codetour very clear explaination. Could you share which tool you are using for drawing?
Great video, I was practicing on my browser's console. That's my personal solution using some of the builtin array functions from Javascript: (() => { "use strict"; const personsArrayInput = [ "TAGC GTCA GACT TCAG ATCG CGTA TGAC ACTG", "GCTA ACTG TGCA CGAT TCGT AGTC TGAC CTAG", "GTCA ACTG TGAC TCGT AGCT AGTC GCTA CGAT", "CTAG TGAC GCTA TAGC ATCG TCGT AGTC ACTG", "ACTG GCTA ACGT TCGA TGAC CTAG TCGT AGCT", "GATC AGCT TGCA CTAG TCGT AGCA GTAC CGAT", "CGAT TGAC AGCT GACT TCGA TAGC TCGT AGTC", "ACTG GCTA ACGT TCGA TGAC CTAG TCGT AGCT", // Duplicate sequence (1) "ACTG GCTA ACGT TCGA TGAC CTAG TCGT AGCT", // Duplicate sequence (1.5) "TCGA TGAC CTAG GACT AGTC TGCA GCTA ACTG", "AGCT TGAC CGTA TCGT ATCG TGCA GACT CTAG", "GACT TCGG ATCG AGTC TGCA CGAT AGTC CGTA", "GATC AGCT TGCA CTAG TCGT AGCA GTAC CGAT", // Duplicate sequence (2) ]; function findMatchingPair(personsArray) { const cache = {}; personsArray.forEach((dna, key) => { if (dna in cache) return cache[dna].push(key); cache[dna] = [key]; }); return Object.values(cache) .filter((matches) => matches.length > 1); } const result = findMatchingPair(personsArrayInput); console.log(result); })();
Subscribed 😅😅
Thanks mate
Hey loved your video if you are planning to do something similar where can i send my resume 😅
found you from Instagram, I been really enjoying the content!
Heisenberg laughing in the background😂😂😂😂
Nicely done! I knew nothing about websockets before this. Now I feel like I have a basic understanding. You could read some documentation and articles for 10-20 minutes or you could watch this 2 minute video. I'll go with the video.
Nice visual explanation!
Thank you
the challenge here is counting bets, hits and misses, querying all that could turn out very taxing so there has to be a smart implementation to achieve that
thank u!
Insightful
This guy has been doing javascript for over 85 years.
why is the set of all sets a paradox, i dont see the problem if it can contain itself
If it contains itself it is no longer a set of sets that does not contain itself. But it is a set that does not contain itself since its a set that contains sets that dies not contain themselves so it kust also contain itself but it contains itself its no longer a set that contains sets that doesn't contain themselves.
Summarized: Intro (00:00:00) Creating a URL shortener, similar to TinyURL. Users input a long URL and receive a shortened version. Requirements (00:00:10) Short URL expiration: Set to 100 years (effectively permanent). Custom URLs: Allowed, with a maximum length of 16 characters. Expected requests: 100 million shorten requests per month. Functional Requirements Shorten URLs. Redirect short URLs to their original long URLs. Shortened links should be seven characters long. Users can create custom short URLs up to 16 characters. Short links remain in the system for 100 years. Non-functional Requirements Continuous service uptime. Fast URL redirection, even during high traffic. REST API exposure for external application integration. Facts and Figures (00:01:42) Read-to-write ratio: Approximately 200:1 (200 lookups for every short URL created). Expected short URLs generated per month: 100 million. New short URLs created per second: 40. Expected reads or redirects per second: 8,000. Total objects in the system (assuming 100-year storage and 100 million new URLs per month): 120 billion. Storage (00:02:27) Each object is 500 bytes, requiring a total of 60 terabytes of storage. 700 million read requests per day, with 80% of requests for 20% of data. 20% of requests require 70 gigabytes of memory. 40 URLs generated per second. 120 billion short URLs generated in 100 years. 8,000 URL reads per second. Server Requirements (00:05:45) URL generation service must produce unique short URLs that do not point to the same long URL. URL encoding solutions like Base62 or key generation services can be used to achieve this. Security concerns exist with certain techniques, such as MD5, which is vulnerable to collision attacks. Best practices for URL encoding are constantly changing, so research is necessary for enterprise-level solutions. Best Practices (00:06:33) Keep short links as short as possible, ideally no more than seven characters. The application should be resilient to load spikes for both URL generation and redirections. Following a short link should be fast. NoSQL (00:09:07) A NoSQL database might be better suited for this system due to its huge storage size (60 terabytes) and high amount of reads and writes (8,000 URL reads per second, 40 URL writes per second). NoSQL databases are easier to scale compared to relational databases. NoSQL databases provide features like sharding and replication by default, making it easier to distribute data across multiple machines. Using a hashing strategy to generate short URLs is preferred over using a key generation service, as it eliminates the need for a dedicated database to store already generated random seven-character strings. Caching (00:10:48) To optimize performance, use a caching mechanism like Memcached or Redis to cache 20% of daily traffic, as 80% of clicks are on 20% of links. Implement a linked hash map to store URLs by hash, allowing for constant time lookup and preserving insertion order, and use a least recently used (LRU) policy to manage cache size and replace old entries. Place load balancers between clients and application servers, application servers and database servers, and application servers and cache servers to distribute requests and manage traffic. Use a round-robin strategy initially to distribute requests evenly among servers, then implement health checks to adjust load distribution based on server performance. Require custom URLs to be at least eight characters long to minimize conflicts with randomly generated URLs. Consider a dedicated database instance and web servers for custom URLs if they are a paid service.
Hey i like your system design videos can you make more of that if possible
Yes, but they are a lot of effort
Priceless video, please keep sharing! Appreciate it!
I think you mean priceless :) Thank you!!
@@codetour lol dude you’re right. Forgive my typo😂
Simple and just deep enough for non coder to understand. Awsome !
Hands down top 2 system design vid on TinyURL on this site.
*Promo sm*
1 year experiences SDE , currenlty unemployed struggling for 3 months. Strugglin for a job. Have been learning DSA, MERN from past 4 months, system design and SQL is only subjects that are left now, after that will be ready to approach decent companies. Found no free good precise resource for system desigin but then came acorss your videos. I request to kindly create system design crash course playlist which precise to the point in biref information, helpful to crack SDE1 interviews.
The estimation of cache size would be good enough? I think we should estimate cache size based on shorten urls that are more getting heated then others url. So, If it's only 20% of shorten urls that are created with in a month, we can roughly expect that it would be ((500 bytes * 100 mil) / 100) * 20 = around 9 GB.
Hi In article with base64 conversion there is a problem to address. We have a counter that is shared across servers, so that counter is critical section and race condition might arrive as diff servers can read same value and generate same short-url. We must ensure mutual exclucion in that case. Correct me if i am wrong :)
15 mins of video and hours of value, great video Loved it👍 Would love to see more videos like this on designing systems
When talking about choosing between RDS vs NoSQL, IMO I was a little uncertain when it mentioned strong (RDS) vs eventual consistency (NoSQL). To RDS with a single instance, it might be confident to state that it can align with strong consistency, but when comes with replication nodes, RDS may also not guarantee consistency
I can't stress this enough: your content is super valuable.
Great one, mate! 👏A video on when to use cache, local storage and in memory would be appreciated! 😊
hornpub😂😂
Thank you so much for the quality content. Please make a series of system design! I feel so struggle and inefficient when designing complex system.
one of those videos where you get most from viewing time - very concise, effective, no side bs, covers edge cases etc 💜