Welcome to WittCode where not one line of code goes unexplained! My goal is to teach you programming through building practical applications such as log in forms, client server programs, keyloggers, and much more!
Great tutorial Witt. Will your server throw an error when 6 or more clients try to connect? Also, in real life, if I can’t guess the maximum number of clients, is there a better way than socket.listen(5)? Just wondering if there is a dynamic way to receive more indefinite number of client connections. Thanks for your video and your time!
Hey there thanks for watching! And I believe it will refuse the connection as opposed to throwing an error. As for a real life scenario I would say it depends on the strength of the system the program is on i.e. how many clients can it take until it impacts performance? Hope that helps!
Thanks for watching! Good question but I'm not too sure if one is better than the other. Personally I've always made backups using volumes as everything I run is always Dockerized but I don't see the harm in using pg_dump instead!
Nice Tutorial. I have OpenProject Container at one server with data. Now I got another server 2 I was able to backup multiple volumes from server 1 of Open Project in tar file. But on other server, when I run command to restore then it shows no container exists. Do I Need To host OpenProject again on server 2, then replace the volumes? Could you pls guide? Thanks
Hey there thanks! The backups should work even if used on a second server. Were you trying to convert the tar to a volume? Convert the tar to a volume on the second server and then attach it to your container!
@@noodledealer7447 I'd have to look at your code to see why it's not working but try running docker ps in the console and look at the port mappings and container names! See if something doesn't seem right
so.. this is a live stream.. what about if you just want to serve a youtube like service, on-demand videos ?.. and how many dockers should I create then ? one for each video ?
That's a fully loaded question! I wouldn't spin up a container per video though. You would just have multiple streams at once. You containerize each process not each video!
great tutorial, thank you , just a question with the part "scripts": { "start": "PORT=5001 NODE_ENV=development nodemon ." }, you mentioned windows users need to do something and it should be straight forward. can you point me in the right direction i don't digging trough text explaining the how and why i just need to know i am in the right place. thank you
Hey there! Actually you can watch the video I made here which will show you how to use environment variables with Windows: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YVuwBgciW8M.html
Thanks for this. I set up a mySql database with python a year ago and my computer crashed. This video was fantastic. In 10 minutes you showed me clearly how to get things back up and running so thanks a bunch mate.
Thank you! I have been experimenting with deploying Azure Functions to my local instance of Kubernetes. The deployment command needs a Docker registry and with your video I was able to create my own local registry. Awesome thank you, that's a subscribe for me!
Very useful indeed. One minor problem I had was that when I tried to run I got a complaint about missing @babel/core but adding that as a dev dependency fixed it.
Hello, good afternoon! I found your video very interesting. I came across it because I need to create a solution for the following: I want to use a server from CONTABO and set up a procedure to re-broadcast an .m3u8 link so that I can share this link with multiple people. For example, something like 235.654.1.89:8000/channel/premiere1. The goal is to make the original m3u/IPTV link recognize only a single access to the .m3u8 link, rather than multiple accesses. Do you understand what I’m trying to achieve?
You have such an awesome way of explaining that I understood everything instantly. Kindly, increase your volume or pitch, your voice sounds low even when on boosting my amplifier. Best wishes from India.
I got your course and am immediately disappointed. You start by talking about the manifest.json file but you never discuss where it goes. Is there a folder it is put in? Is the folder name the extension name? What is the layout of the folder's child files and folders? I believe that you are very talented with developing Chrome extensions, but I cannot vouch for you as a teacher of such material.
Hey sorry about that. In each lesson there should be a folder structure at the top of the page. You can also download the code for the lesson. You also should have gotten an email with a Discord link. Feel free to join the Discord server and I can help you with any questions/concerns.
Ah are you talking about the templates for env substitution? Yeah that's true. I guess just take parts from the original entrypoint script that you need.
@@bmwolfe2786 Good question! So in the case of the Immutables, if you swapped let with const for myNum2 and myString2 then you would get an error because we are reassigning both of those variables (const can't be reassigned). The mutables at 3:30 would work with both let and const. However, you can't reassign them because they are const. You can only modify them. Hope this helps!
Good topic. Another perspective: I recently experienced issues with various opentelemetry tooling that hooked into imports that broke because of bundling. Fixing this (externalizing the modules that were hooked into by OT) really made question the added complexity that you get with bundling.
Thanks for sharing! I haven't used OT, just been using Grafana. Haven't had any issues yet. Some modules are certainly more friendly than others when it comes to bundling. One that came to mind for me was Sequelize. Caused me a lot of issues...
great tutorial. I do have a question if possible :) So, you stream the video file live. But how is it possible to stream live while allowing viewers to rewind? For example, RU-vid offers the ability to watch a live stream from an earlier timestamp. As I can guess, it somehow related to your backend implementation rather than to NGINX configuration. So, an ingester will stream its video using RTMP, then our backend will assemble it to a video file and then forward the stream to NGINX/CDN over HLS/DASH? Hope the question is clear.
Yeah I think that could actually be implemented through the HTML Video element. You could use the currentTime attribute or something along those lines?