Тёмный
WittCode
WittCode
WittCode
Подписаться
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!
Dockerizing Loki
3:33
День назад
Speed Up Your Website by 300%!
3:43
День назад
package.json Variables
1:53
День назад
Connect a Node App to Prometheus
7:30
День назад
Dockerizing Grafana
5:48
14 дней назад
Saving Express Apps with Docker
1:20
14 дней назад
Docker Alpine
1:47
14 дней назад
Will Your Express App Crash?
2:45
14 дней назад
Bundling Server Side Code
2:25
14 дней назад
What is the Node Event Loop? #nodejs
5:08
21 день назад
Useless Load Balancers
3:33
21 день назад
Why Your Production Bundles Are Huge!
4:15
21 день назад
Scaling Services with Docker Compose
2:19
21 день назад
setTimeout of 0? #javascript
5:05
21 день назад
Linux How To Check For Low Memory
2:39
Месяц назад
Blocking Open Ports with Firewalls
3:36
Месяц назад
Ping of Death Attack
3:56
Месяц назад
Kubernetes - What is a Pod?
4:33
Месяц назад
Комментарии
@joseleflores4591
@joseleflores4591 21 час назад
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!
@WittCode
@WittCode 21 час назад
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!
@D3naiLabs
@D3naiLabs День назад
Merci pour les tips que tu partage. Quel est la meilleure restauration pour une base de données? Restaurer le volume ou utiliser pg_dump selon vous
@WittCode
@WittCode День назад
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!
@mehmetyilmaz001
@mehmetyilmaz001 День назад
This a very helpful video many thanks! I did the same but got the error "MongoDB connection error: MongoServerError: Authentication failed."
@WittCode
@WittCode День назад
No worries thanks for watching! Did you check your environment variables for the Mongo image? They set the Mongo auth!
@AlbertZiegler069
@AlbertZiegler069 2 дня назад
Thank you for this.
@WittCode
@WittCode День назад
Thanks for watching!
@reliceleo
@reliceleo 3 дня назад
Спасибо)
@WittCode
@WittCode 3 дня назад
No problem! Thanks for watching!
@elthetruth2362
@elthetruth2362 4 дня назад
Omg this worked. Thanks!!!!!
@WittCode
@WittCode 3 дня назад
Woo! Great to hear!
@sumukhak1074
@sumukhak1074 5 дней назад
can you please share the link to the code. the link in the description did not work. Much needed. Thank you
@WittCode
@WittCode 3 дня назад
Sadly I don't have this code anymore as I lost it on my old PC. When you say the link didn't work do you mean my website was down?
@sumukhak1074
@sumukhak1074 3 дня назад
@@WittCode ohh that's fine. No i meant i didn't find the code which i needed that's it
@DepuDev-o6u
@DepuDev-o6u 5 дней назад
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
@WittCode
@WittCode 3 дня назад
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
@noodledealer7447 5 дней назад
is there a link to the code? i'm facing errors. Loki, localhost:3100 gives an 404 page
@WittCode
@WittCode 3 дня назад
Loki isn't accessible in the browser like that. I think I talk about it in the video. You would have to use the Loki HTTP API
@noodledealer7447
@noodledealer7447 3 дня назад
@@WittCode i see, thanks for the reply! When I tried testing the connection in Grafana it didnt work too for me though.
@WittCode
@WittCode 3 дня назад
@@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
@SaifulIslam-wo7os
@SaifulIslam-wo7os 5 дней назад
great
@WittCode
@WittCode 3 дня назад
Woo!
@terfy
@terfy 5 дней назад
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 ?
@WittCode
@WittCode 3 дня назад
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!
@Babycheeks-xd9mb
@Babycheeks-xd9mb 6 дней назад
Much Appreciated it's very helpful
@WittCode
@WittCode 6 дней назад
Great to hear! Thanks for watching!
@stephanekiss
@stephanekiss 7 дней назад
I agree with the other comments, you do a great job explaining the important points in a concise and clear way
@WittCode
@WittCode 6 дней назад
Excellent! Thanks for watching!
@Wo-oj2sq
@Wo-oj2sq 7 дней назад
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
@WittCode
@WittCode 6 дней назад
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
@localhost5000Leo
@localhost5000Leo 7 дней назад
Why mongodb ? why not mongoose ?
@WittCode
@WittCode 6 дней назад
🤷
@soorazdai
@soorazdai 7 дней назад
great stuff, short n sweet
@WittCode
@WittCode 6 дней назад
Awesome! Thanks for the feedback
@Vignesh_786
@Vignesh_786 8 дней назад
I was breaking my head for last few months in remembering this C name Record, now it is clear in less than 5 mins. Thank youu 😇
@WittCode
@WittCode 6 дней назад
Glad I could help! Thanks for watching!
@davethinkingsystems
@davethinkingsystems 8 дней назад
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.
@WittCode
@WittCode 6 дней назад
Glad it helped! Thanks for the kind words!
@MNasir-ob4jd
@MNasir-ob4jd 9 дней назад
I'm unable to find code on given link, @anyone ?
@WittCode
@WittCode 9 дней назад
It should be on my blog website! blog.wittcode.com
@MDeeecent
@MDeeecent 10 дней назад
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!
@WittCode
@WittCode 10 дней назад
Glad it helped! I use it for Kubernetes locally as well. Thanks for watching!
@JohnCampbell-n7h
@JohnCampbell-n7h 11 дней назад
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.
@WittCode
@WittCode 11 дней назад
Ah did I forget to add that library in the video? If so thanks! But yeah that should be a development dependency.
@naveendx1707
@naveendx1707 12 дней назад
Some help to node.js file
@WittCode
@WittCode 12 дней назад
Sorry what do you mean?
@pabloqp7929
@pabloqp7929 12 дней назад
yay!
@WittCode
@WittCode 12 дней назад
@OpenDeepLearning
@OpenDeepLearning 12 дней назад
Oh... no shout out...
@WittCode
@WittCode 12 дней назад
It's all a ploy to keep you coming back and watching 🤭
@johanakerblad
@johanakerblad 12 дней назад
So clever and simple ! Thanks you for the help !
@WittCode
@WittCode 12 дней назад
No problem! Thanks for watching! 😃
@offgridvince
@offgridvince 13 дней назад
Awesome!! Thx 4 the content
@WittCode
@WittCode 13 дней назад
Thanks for watching! 😀
@kleberpereira8503
@kleberpereira8503 13 дней назад
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?
@abc_cba
@abc_cba 14 дней назад
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.
@WittCode
@WittCode 14 дней назад
Thanks so much! I'll look into my volume issue. In my more recent videos I try to be closer to the mic
@abc_cba
@abc_cba 14 дней назад
@@WittCode subbed.
@WittCode
@WittCode 14 дней назад
@@abc_cba 😀
@NimaqAlizadeh
@NimaqAlizadeh 14 дней назад
Nice🎉
@WittCode
@WittCode 14 дней назад
😀
@myboringdesktop
@myboringdesktop 15 дней назад
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.
@WittCode
@WittCode 15 дней назад
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.
@VarrowsOnTop
@VarrowsOnTop 15 дней назад
You should have literal milllions of subs!
@WittCode
@WittCode 15 дней назад
Thank you for your kind words!
@kingu6513
@kingu6513 15 дней назад
by that way you are skipping the original entrypoint script, templates will be unusable
@WittCode
@WittCode 15 дней назад
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.
@lvutodeath
@lvutodeath 16 дней назад
Your lighting on mobile is like a evil villain. Subscribe
@WittCode
@WittCode 16 дней назад
lol I think on any platform it looks like that 😂
@shateq
@shateq 16 дней назад
How to say good without using the g word? Very practical example and a good (here it is) explanation sir
@WittCode
@WittCode 16 дней назад
Haha nothing wrong with the word good! Thanks for watching
@MasonGelosotech
@MasonGelosotech 16 дней назад
Pretty interesting actually. Thanks for the video!
@WittCode
@WittCode 16 дней назад
Great to hear! Thanks for watching!
@Abdullah-Madi
@Abdullah-Madi 16 дней назад
Thanks your explanation is very clear
@WittCode
@WittCode 16 дней назад
Great to hear! Thanks for watching!
@bmwolfe2786
@bmwolfe2786 16 дней назад
Why did you use let for immutable example and const for mutable example. Was it on purpose?
@WittCode
@WittCode 16 дней назад
Most likely no it wasn't on purpose but what timestamp is it?
@bmwolfe2786
@bmwolfe2786 16 дней назад
@@WittCode 3:30 and 5:30. (ish) just curious if there was a deeper purpose. thanks for the response!
@WittCode
@WittCode 16 дней назад
​@@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!
@OpenDeepLearning
@OpenDeepLearning 17 дней назад
I was hoping that in the outro I will get a small shout out....
@WittCode
@WittCode 16 дней назад
Maybe some day!
@OpenDeepLearning
@OpenDeepLearning 16 дней назад
@@WittCode Thank you Mr WittCode!
@OpenDeepLearning
@OpenDeepLearning 16 дней назад
Something like: "A small shout out to my subscribers, especially Open Deep Learning"
@DerLuukee
@DerLuukee 16 дней назад
Lol 😂
@davidyoder5890
@davidyoder5890 13 дней назад
What?
@raviverma8458
@raviverma8458 17 дней назад
very useful!
@WittCode
@WittCode 17 дней назад
Great to hear! Thanks for watching!
@custerrich2339
@custerrich2339 17 дней назад
For your information: The code download for this video and for the video before does not work. The .zip file seems to be corrupted.
@WittCode
@WittCode 17 дней назад
Yeah I have a notification system alerting me about it. Just haven't been bothered to fix it... Thanks for letting me known though!
@custerrich2339
@custerrich2339 17 дней назад
You‘re welcome ☺️ Is there any other way to download it? Especially from this video?
@AngeloMartinez-s9n
@AngeloMartinez-s9n 18 дней назад
Great video thanks!
@WittCode
@WittCode 18 дней назад
Glad it helped! Thanks for watching!
@MrAzulay
@MrAzulay 18 дней назад
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.
@WittCode
@WittCode 18 дней назад
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...
@stevennevins4520
@stevennevins4520 18 дней назад
Can you publish your example to gh and link the the description?
@WittCode
@WittCode 18 дней назад
I have a video coming out soon where I go over bundling a Node app for development and production. It'll have the code linked in it!
@OpenDeepLearning
@OpenDeepLearning 18 дней назад
first
@WittCode
@WittCode 18 дней назад
👋
@OpenDeepLearning
@OpenDeepLearning 18 дней назад
@@WittCode When can I get a mention in a video?
@WittCode
@WittCode 18 дней назад
@@OpenDeepLearning 🗣
@FaizaSaleem-d9l
@FaizaSaleem-d9l 19 дней назад
Hi, can I have your professional email please? I have a project to work on we can earn alot
@habibosaye
@habibosaye 20 дней назад
Informative as always. Could you do a video on service discovery?
@WittCode
@WittCode 20 дней назад
Thanks for the continued support! Im actually not sure what that is but sounds interesting
20 дней назад
Excellent
@WittCode
@WittCode 20 дней назад
Thanks for watching!
@juancarlospastillo7417
@juancarlospastillo7417 20 дней назад
Buen video .. quiero sacar un backup y me sale el error ... Pg_dump: el esquema 2201 no existe... Portgresql-11.?
@WittCode
@WittCode 20 дней назад
Thanks! I would need a bit more context. What is the command you're running?
@pabloqp7929
@pabloqp7929 20 дней назад
pretty cool thanks for sharing mate
@WittCode
@WittCode 20 дней назад
Sweet! Thanks for watching!
@matthewdraevich4214
@matthewdraevich4214 20 дней назад
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.
@WittCode
@WittCode 20 дней назад
Yeah I think that could actually be implemented through the HTML Video element. You could use the currentTime attribute or something along those lines?