- 167
- 437 273
Dave Kirkwood
United Kingdom
เข้าร่วมเมื่อ 12 พ.ย. 2006
This channel contains Java tutorial and other computer science videos.
I am a professional Java programmer, with a first class degree in computer science and a PhD in algorithm development for railways. The videos here mostly cover Java topics for beginner and intermediate programmers.
I am a professional Java programmer, with a first class degree in computer science and a PhD in algorithm development for railways. The videos here mostly cover Java topics for beginner and intermediate programmers.
Leetcode Zigzag conversion
Zigzag conversion is a Leetcode exercise where a string is given and a number of rows. The aim is to create the string in a zig zag pattern, with the given number of rows, and return the rows of the pattern concatenated together.
If you find it helpful and want to support me, you can buy me a coffee. Don't feel obliged though... buymeacoffee.com/davekirkwood
If you find it helpful and want to support me, you can buy me a coffee. Don't feel obliged though... buymeacoffee.com/davekirkwood
มุมมอง: 40
วีดีโอ
Leetcode Longest Palindromic string Java solution
มุมมอง 64วันที่ผ่านมา
Finding the longest Palindrome in a string of characters. If you find it helpful and want to support me, you can buy me a coffee. Don't feel obliged though... buymeacoffee.com/davekirkwood
Prometheus and Grafana
มุมมอง 6014 วันที่ผ่านมา
I show the installation of Prometheus and Grafana into Kubernetes, modify my spring boot application for monitoring and add a custom metric, and create 3 dashboards in Grafana - one for Springboot, one for the custom metric and one for MySQL. 00:00 Introduction 00:30 Installing Prometheus and Grafana into Kubernetes 01:35 Viewing Prometheus 02:40 Viewing Grafana 04:20 Building custom dashboards...
Leetcode Median of 2 sorted arrays (Java)
มุมมอง 6721 วันที่ผ่านมา
This solution finds the median of two sorted array. I use a binary search to find an intersection point in one of the arrays and equivalent intersection point in the other array. This enables the median to be found very quickly. It's quite a tricky problem and is classified as Hard by Leetcode.
Jenkins
มุมมอง 4321 วันที่ผ่านมา
In this video, I build, package and deploy my spring boot application using Jenkins. First, I show how to install Jenkins, then I create a Jenkins pipeline that does a maven build, creates a docker image and deploys the application to Kubernetes with HELM. 00:00 Jenkins Introduction 01:23 Jenkins Installation 03:18 Creating a Jenkinsfile 04:45 Credentials 05:38 Creating a pipeline job 07:15 Run...
Leetcode: Longest substring without repeating characters.
มุมมอง 6228 วันที่ผ่านมา
Leetcode's problem number 3 solution in Java. The objective is to find the longest substring within a given string, without any characters repeating. I do this by keeping a map of characters along with their index and then loop through the characters in the string and refer back to the map to see if we've seen that character before.
Helm (Kubernetes package manager)
มุมมอง 46หลายเดือนก่อน
Helm is a package manager. I convert my microservice YAML installation files to a HELM chart and show how HELM charts can be customized, including inserting values into the YAML and templating. I then add all project dependencies and reinstall my HELM chart on a fresh Kubernetes cluster. 00:00 HELM Introduction 01:00 Creating a HELM chart 02:12 Structure of HELM chart 02:44 Configuring HELM cha...
Leetcode: Add Two Numbers (Java)
มุมมอง 92หลายเดือนก่อน
Solution to Add Two Numbers, Leetcode problem number 2. This problem uses linked list nodes to add numbers together with reversing order of digits. It's like primary school addition, where the digits are added together and numbers over 10 carry over to the next digit.
Dockerhub
มุมมอง 44หลายเดือนก่อน
Dockerhub is a container registry for docker images. It allows us to share docker images with others and by using it, we can share YAML files with the pull image policy set to download images from docker hub if we don't have them locally. In this video, I upload my microservice images to dockerhub and redeploy my application using docker hub images, instead of local images.
Leetcode Sudoku Solver
มุมมอง 68หลายเดือนก่อน
Solution to Leetcodes Sudoku Solver. The solution uses a brute force recursive method, using back tracking to try all combinations of numbers to solve a Sudoku board.
MySQL, Springboot and Kubernetes
มุมมอง 68หลายเดือนก่อน
In this video I add MySQL to my springboot microservices application. I do it in three steps: 1) I install MySQL to my local machine and get springboot to talk to it in my local development environment; 2) I install the microservice in Kubernetes and have it talk to my local MySQL service; and 3) I install a MySQL pod in Kubernetes and get the microservice talking to that. This video is part of...
Springboot and Kubernetes: Multiple microservices
มุมมอง 37หลายเดือนก่อน
In this video, I take a spring boot Microservice and add a second microservice to it and install it to Kubernetes. I demonstrate how to make microservices talk to each other, which is an important step in building a microservice application.
Kubernetes Persistent Volumes
มุมมอง 742 หลายเดือนก่อน
In this video, I create an NFS server in linux and use it as a Kubernetes persistent volume in my Spring boot microservices application.
Kuberenetes Volumes
มุมมอง 352 หลายเดือนก่อน
In this video, I demonstrate two types of Kuberenetes volumes for persisting data between microservice calls. The first type is an emptyDir. This works on a single Kubernetes Pod but has limited value because if the Pod is restarted, the persisted value is lost. The second demonstration uses a HostPath. This is better than the emptyDir but still has problems as the persisted data exists on the ...
How to remove background noise from youtube videos
มุมมอง 292 หลายเดือนก่อน
I've been struggling to get the sound quality on my channel good because of background humming noise in my room. I've found a way to remove the background noise without using filters or noise gates - which for me, didn't do the trick. If you're a youtuber with the same problem, here is how I fixed it - with free software.
Kubernetes ConfigMaps and Spring boot
มุมมอง 1622 หลายเดือนก่อน
Kubernetes ConfigMaps and Spring boot
Microservices "Hello World" Application Build
มุมมอง 2323 หลายเดือนก่อน
Microservices "Hello World" Application Build
Spring Boot Microservices with Kubernetes: Introduction
มุมมอง 1.2K3 หลายเดือนก่อน
Spring Boot Microservices with Kubernetes: Introduction
Dockerize Your Spring Boot Application in 10 Minutes
มุมมอง 8682 ปีที่แล้ว
Dockerize Your Spring Boot Application in 10 Minutes
Hi sir, I use only 1 loop Could you please see my code and judge if it's correct Thank you very much I solve the problem in Javascript const permCheck = (arr) => { let length = arr.length; let middle = length % 2 === 0 ? 0 : (length + 1) / 2; let sum = (length + 1) * parseInt(length / 2) + middle; console.log("sum: ", sum); for (let i = 0; i < length; i++) { sum -= arr[i]; } return sum === 0 ? 1 : 0; }
Hi, it's a good idea working out the sum and then subtracting it from the total, but what would happen if you had [ 1,3,3,3,5 ]. I think it would think it was ok? I'm not sure what you're doing with middle and in the case of an even number of digits, you are setting middle to 0. I think you can forget about middle and do sum = (length * (length + 1)) / 2; But I still think you have the 1,3,3,3,5 problem.
amazing video , loved it sir
Thanks for saying so. It's always great to hear someone got value from my efforts. Makes it all worth it :)
make all elements +ve and add it to set and return size of set
Thanks for the comment. Yes, I agree returning the size of the set would have saved counting.
It is a good step by step Jenkins instruction! Thank you! 👍
Thanks for saying so.
🎉🎉
You're a very reliable commenter!
🙂🙏🏻
😌🙏🏻👍🏻
Will AI destroy programming profession?
Hi. I've been thinking about this a lot and will make a video about it when I've reached more conclusions. My initial thoughts are that programming has already been through many paradigm shifts. Years ago, we used to do low level programming and there has been a gradual shift to higher level languages that require less understanding of the hardware but are still equally complicated. These shifts never put anyone out of work in the past. At the moment, AI can do bits of the job but require human supervision. It also gets things wrong a lot. Combine this with the fact that a good programmer is usually the bridge between the customer and the software specification - which requires an understanding of the customer, the limitations and the domain, I think our jobs are safe for now. I am fully confident that the current crop of AI could never approach the work that I do. But I find it to be a great help - particularly if I'm working with a language or technology that I'm learning. I am not entirely sure about the distant future - but I would say its still some time away. I am 50 years old and to be honest, I am glad I am approaching the end of my career. I do think that programmers are a lot safer than doctors, artists, musicians, and pretty much anyone who works with their brains. Programmers also have some chance of transitioning to testing AI generated code, or somehow working alongside the AI. I hope you weren't expecting a one word yes or no. I understand the concern.
Hi Dave, how come i can't access the web app on port 30000, set as the NodePort just as you have it. I have to go into the docker desktop gui and do a port forwarding then it works. any suggestions? not using ingress. Excellent videos by the way.
Hi Dr Scooby. Thanks for the comment and compliment. Not sure if this is correct, but did you check docker desktop/settings/Resources/network, and check "Enable host networking"? I think when I made these first few videos, it was checked by default and I didn't notice.
@@javadave Hi Dave, tried that , still didn't work. apologies, I'm using the LENS gui for kubernetes, and do the port forwarding in there to work. Minor inconvenience, but as long as it works. thanks, Keep up the good tutorials.
Thanks. Glad you've found a way to make it work. It can be fiddly.
Great work
Thanks for saying so.
Thank you for this wonderful knowledge free .Keep going 🤗
Thank you, I will.
I came here from your ad that showed up, I definitely am going to watch your content as I am a computer science undergrad
Thanks J4va and welcome. I was thinking about what my target audience is, and I think CS undergrads is exactly the level I'm trying to help. I love doing my undergrad degree - it was a while ago now.
thank you
You're welcome
Thanks!
You're welcome
Hi Dave i was wondering if there was a way to get edge back after using your scipt. Thanks !
Hi. If you google download edge, the installer should repair the installation.
I can't see your codes because it's so small
Hi, I get this. Other people have asked me to zoom in on the code but it takes much more time to edit if I do that. As the videos are designed for people who are working on a computer, I kind of thought that it would be ok to hope that it was only watched on computers with standard HD resolution. Thanks for letting me know. It's noted and it helps me a lot to get feedback.
@@javadave I am watching it on my pc.
@@ShehryCoding Ok, thanks. I'm going to up the size of my font to 12 point instead of 10. I hope this helps.
great solution!
Thanks for saying so. Better than a sort anyway :)
Thank you for this!
You're welcome!
how does this vedio has comments.but the logic is straightforward and simple thanks bro 😄
Thanks :)
Thank u sir❤
Thanks for watching. I hope it was helpful.
🙂👍🏻
Hi Rishiraj!
Great thanks
You are welcome Rishiraj!
🙂👍🏻
Hi Rishiraj!
🙂👍🏻
Hi Rishiraj, thanks for the comment.
Thanks Dave, this playlist helped me a lot..
That's great to hear. Thanks for letting me know! :)
😌👍🏻
Hi Rishiraj, are you following along? I hope it works for you.
Thank you for making a one click solution
I don't think this is for grade 5😢
It's not an easy one.
How old are grade 5 students?
I saw your ad and I am here to watch your tutorials.
That's great Felix. Let me know if you have any comments or questions.
Hello Dave!
Hi Roma
🙂👍🏻
Thanks :)
Mano, eu tive um sonho premonitório. Eu sonhei que o avião do ministro Alexandre de Moraes tinha caído.
No idea if Minister Alexandre de Moraes is a goody or a baddy, but I wish him a safe flight either way.
Hello Dave!, I'm interested learning Java since you are my role model for learning java. however, is java still relevant this days or is it more like hobby thing? Also I'm from philippines and currently first year college
Hi, thanks for saying so. Java is definitely still relevant, its massive and its not going away any time soon. In my opinion Java teaches good programming practices and most programming skill are transferrable anyway. As an early career developer, I'd make sure you also know the basics of Python and Javascript, but I think specialising in Java is not a bad idea as its still widely used and will be for possibly your whole career. When I started, it wasn't like this, as old programming languages like Assembly, COBOL and Pascal were becoming obsolete and being replaced with newer languages. I don't think its quite like this any more. Anyway, good luck in your college - if you love your subject you will do well at it.
Hello Dave!!! , google blocked youtube in my country , we have rutube :) , anyway, I wish you all happiness and health, especially you, from Russian with love
Привет, Рома! Я тоже желаю тебе счастья и здоровья! Я думаю, у тебя VPN. Из России с любовью - мой любимый Джеймс Бонд фильм.
Great!🙂👍🏻
Thank you!
let's go 🫡
Yes, lets go :) I should have the first video up by the end of today. Let me know if its good or not.
looking forward to this
Thanks Monika. I'm going to try to get the first video up later today. I'm then on holiday for a week, but I'll try to add at least a video per week.
Awesome!!
Thanks!
love this! usally beginner classes are crazy at leat for me this some real beginner stuff right there dave tysm!!!
My pleasure.
You're awesome Dave! Your story is inspiring and your passion for software programming is commendable! Cheers.
Thanks for saying so :)