- 46
- 52 902
Agile Coding mit Elmar Brauch
Germany
Приєднався 2 кві 2012
In Agile Coding Channel I share my knowledge about Software development.
Mostly the videos are about:
* Java,
* Kotlin,
* Spring,
* Clean Code,
* Test automation,
* Microservices and the Cloud.
I work as Software Developer and Architect at Deutsche Telekom in Darmstadt.
In many projects I developed Software, designed Architecture and automated Processes.
I am sharing about these topics in my blog:
agile-coding.blogspot.com/
More detailed Trainings about Spring, Java, Kotlin and Clean Code can be found at Udemy.
Mostly the videos are about:
* Java,
* Kotlin,
* Spring,
* Clean Code,
* Test automation,
* Microservices and the Cloud.
I work as Software Developer and Architect at Deutsche Telekom in Darmstadt.
In many projects I developed Software, designed Architecture and automated Processes.
I am sharing about these topics in my blog:
agile-coding.blogspot.com/
More detailed Trainings about Spring, Java, Kotlin and Clean Code can be found at Udemy.
Spring AI: Smart processes with AI connected to Backend functions
My blog article about how to use Spring AI with Spring Boot:
agile-coding.blogspot.com/2024/05/spring-ai-rag.html
Code at GitHub:
github.com/elmar-brauch/azure-gpt-rag
Training about AI for Coding in German language:
www.udemy.com/course/ai4coding/?referralCode=90FF563948A59AC5CFBB
agile-coding.blogspot.com/2024/05/spring-ai-rag.html
Code at GitHub:
github.com/elmar-brauch/azure-gpt-rag
Training about AI for Coding in German language:
www.udemy.com/course/ai4coding/?referralCode=90FF563948A59AC5CFBB
Переглядів: 179
Відео
Wie hilft KI Kunden und Business? Mein Chatbot für Telekom Geschäftskunden zeigt es.
Переглядів 157Місяць тому
In diesem Video zeige ich den KI Chatbot, der im letzten halben Jahr in meinem Team entwickelt wurde. Konkret zeige ich: * Chat in ChatGPT-Quanlität mit dem LLM GPT-4o * Zugriff auf Firmenwissen (Festnetztarife, AGBs usw.) mit einer Vektor-Datenbank * Eine KI die den Kontext des Benutzers sieht - also das was auch der Kunde im Browser sieht * Eine KI die selbstständig Backend-Funktionen aufruft...
AI with company knowledge - build RAG with Spring AI
Переглядів 2902 місяці тому
My blog article about how to use Spring AI with Spring Boot: agile-coding.blogspot.com/2024/05/spring-ai-rag.html Code at GitHub: github.com/elmar-brauch/azure-gpt-rag Training about AI for Coding in German language: www.udemy.com/course/ai4coding/?referralCode=90FF563948A59AC5CFBB
Amazon Q Developer - Copilot alternative with best AWS knowledge!
Переглядів 1222 місяці тому
More information about AI, Java & Spring applications: agile-coding.blogspot.com AWS lambda & Spring Boot: www.baeldung.com/spring-boot-aws-lambda Training about AI for Coding in German language: www.udemy.com/course/ai4coding/?referralCode=90FF563948A59AC5CFBB
AI for Business applications with LangChain4j and Spring Boot
Переглядів 2563 місяці тому
My blog article about how to use LangChain4j with Spring Boot: agile-coding.blogspot.com/2024/07/langchain4j.html Training about AI for Coding in German language: www.udemy.com/course/ai4coding/?referralCode=90FF563948A59AC5CFBB
Codeium - (free) AI coding assistant as alternative to GitHub Copilot
Переглядів 1475 місяців тому
More information about AI, Java & Spring applications: agile-coding.blogspot.com Training about AI for Coding in German language: www.udemy.com/course/ai4coding/?referralCode=90FF563948A59AC5CFBB
IT Stability Health Radar - proper priorities for non functional requirements in agile Scrum teams
Переглядів 665 місяців тому
IT stability health radar: agile-coding.blogspot.com/2024/03/it-stability-health-radar.html Test from developers point of view: agile-coding.blogspot.com/2022/01/microservice-test.html Training about AI for coding in German language: www.udemy.com/course/ai4coding/?referralCode=90FF563948A59AC5CFBB Training about Clean Code in German language: www.udemy.com/course/clean-code-kickstart/?referral...
Complains & Critics about GitHub Copilot and AI - my reactions
Переглядів 2456 місяців тому
More information about AI, Java & Spring applications: agile-coding.blogspot.com Training about AI for Coding in German language: www.udemy.com/course/ai4coding/?referralCode=90FF563948A59AC5CFBB
GitHub Copilot survey - what Developers think about it
Переглядів 2046 місяців тому
More information about AI, Java & Spring applications: agile-coding.blogspot.com Training about AI for Coding in German language: www.udemy.com/course/ai4coding/?referralCode=90FF563948A59AC5CFBB
More stability in production with well-structured deployments.
Переглядів 1679 місяців тому
I was surprised by the number of production incidents caused by deployments. Most of my deployments went pretty well and I did many. In this video I show how I deployment and talk about why I do this in a very structured way. Training about AI for coding in German language: www.udemy.com/course/ai4coding/?referralCode=90FF563948A59AC5CFBB Training about Clean Code in German language: www.udemy....
Custom GPT creates UserStories . How helpful is ChatGPT+ for Business Analysts and Architects?
Переглядів 4509 місяців тому
I did a exploration about how good can AI write UserStories, if it know Definition of Done, Definition of ready and more team rules. So in this video you will see how to build a Custom GPT with your team's document. Then we will check how helpful it was for Business Analyst or Architect role of my team. More about coding with AI at Udemy: www.udemy.com/course/ai4coding/?referralCode=90FF563948A...
Clean Code produced by AI - ChatGPT refactors poor code quality at Codewars!
Переглядів 14010 місяців тому
More information about Java & Spring applications: agile-coding.blogspot.com Training about Clean Code in German language: www.udemy.com/course/clean-code-kickstart/?referralCode=3DF6321540B6ECC6A4BB
Java 21 most important features: Pattern Matching for switch & Sequenced Collections
Переглядів 60611 місяців тому
In this video I show how to use Java 21 features: - Pattern Matching for switch - Sequenced Collections Java 21 blog article: agile-coding.blogspot.com/2023/09/java-21.html Free Java 21 training: www.udemy.com/course/java_17_features/?referralCode=56AA2D304F964694C264 More about Spring: agile-coding.blogspot.com/2022/02/spring-session.html agile-coding.blogspot.com Trainings about Spring Reacti...
AI assisted Copilot developer vs. copy & paste coding - What is faster?
Переглядів 34211 місяців тому
Management feedback to my last AI assisted coding presentation was: * But how much faster is it exactly? * Why is it not just the next tool? This triggered me to do "speed coding". In this video I will code a REST endpoint as fast as I can by using all dirty copy & paste tricks. Then I will use AI assistance and let Copilot do the job. The difference in coding time will surprise you! Blog artic...
Virtual Threads of Java 21 in Spring 3.1 Web Application - Performance test killed my video...
Переглядів 2,1 тис.Рік тому
In this video I show how to use Java 21 virtual threads in Spring Boot 3.1 and 3.2 web applications. This boosts the performance of your web application. See a performance test, which compares classic and virtual threads. Sorry for the video issues at the end of the video, the high performance of virtual threads was too much for my video recording software. Java 21 blog article: agile-coding.bl...
CronJobs in Spring 3 applications: Execute Java methods time-controlled.
Переглядів 205Рік тому
CronJobs in Spring 3 applications: Execute Java methods time-controlled.
Coding with Tabnine - an AI assistant similar to GitHub Copilot.
Переглядів 324Рік тому
Coding with Tabnine - an AI assistant similar to GitHub Copilot.
Performance Tuning of Web Applications and REST Services: My best strategies and tricks.
Переглядів 220Рік тому
Performance Tuning of Web Applications and REST Services: My best strategies and tricks.
Is GitHub Copilot helpful for enterprise developers? See evaluation results at Deutsche Telekom.
Переглядів 191Рік тому
Is GitHub Copilot helpful for enterprise developers? See evaluation results at Deutsche Telekom.
Spring Retry for resilient database or REST API access with simple annotation in Spring Boot.
Переглядів 901Рік тому
Spring Retry for resilient database or REST API access with simple annotation in Spring Boot.
Coding with Copilot. I develop Spring REST API with MongoDB in pair programming with GitHub Copilot.
Переглядів 2,9 тис.Рік тому
Coding with Copilot. I develop Spring REST API with MongoDB in pair programming with GitHub Copilot.
Spring WebFlux und WebClient in reaktiven Microservices mit REST-API.
Переглядів 160Рік тому
Spring WebFlux und WebClient in reaktiven Microservices mit REST-API.
My agile software development process: Scrum, CICD, Code Review and Test.
Переглядів 210Рік тому
My agile software development process: Scrum, CICD, Code Review and Test.
Classic Spring MVC Web-Application converted to reactive Spring WebFlux REST API
Переглядів 802Рік тому
Classic Spring MVC Web-Application converted to reactive Spring WebFlux REST API
From Junior to Senior Developer just with AI! How Senior Developer uses ChatGPT to write Java code.
Переглядів 359Рік тому
From Junior to Senior Developer just with AI! How Senior Developer uses ChatGPT to write Java code.
Java code to call OpenAI's Chat API. ChatBot uses GPT 3.5 Turbo AI model as in ChatGPT.
Переглядів 2,1 тис.Рік тому
Java code to call OpenAI's Chat API. ChatBot uses GPT 3.5 Turbo AI model as in ChatGPT.
Native Docker Image with Spring Boot 3 and GraalVM for quick scaling in Cloud. Demo for beginners.
Переглядів 3,1 тис.Рік тому
Native Docker Image with Spring Boot 3 and GraalVM for quick scaling in Cloud. Demo for beginners.
Spring Boot 3 Update of a real world application - my challenges with Security, Web-Flow and OpenAPI
Переглядів 667Рік тому
Spring Boot 3 Update of a real world application - my challenges with Security, Web-Flow and OpenAPI
OpenID Connect with Spring Boot 3 as Single Sign-On solution for your Web-application.
Переглядів 9 тис.Рік тому
OpenID Connect with Spring Boot 3 as Single Sign-On solution for your Web-application.
ChatGPT solves Coding Challenges at CodeWars! See AI programming exercises in Kotlin and Java...
Переглядів 574Рік тому
ChatGPT solves Coding Challenges at CodeWars! See AI programming exercises in Kotlin and Java...
In world where JetBrains exists there are people using eclipse. Just why
Source code i need it urgently sir
Hi, follow the link to my blog in the description. In the description you find the link to the source code at GitHub.
I always learn a lot from your videos
Most welcome sir and thank you very much your video is very nice video I support you make your youtube channel big good luck upload more videos
very nice video thank you very much sir i always watch your video i subscribe and like your youtube channel i am a regular viewer of your youtube channel
I am happy to read this - thanks for letting me know!
But isn’t the main complaint about copilot introducing bugs in the code that seem right at the first glance? Also it’s good when you need to add a lot of general known code but bad when you need some specific stuff. I’ve used it for a few months but it was much faster to write code right a wait and don’t way for a suggestion that may be incorrect or just not suitable for current solution
I would like to use copilot like an enhanced code styler. Eg. there are suggestions around too long code, deprecated functions, etc. And copilot can add some other things like “this part of code may result in infinite loop” or “this part may throw error you don’t handle”
@@roronosekai4886 Sounds like a nice feature idea. I hope we will get this some day.
Thanks for sharing this. I did not face this so far, but I am also not using every code Copilot suggests. When I write mappers form one data type to another one I made bugs, which I did not spot. Since Copilot is not just doing copy and paste, it is very strong in the write a mapper task. So this is some kind of opposite example. How works the Copilot chat feature for you?
In Spring Security 6.1 formLogin and logout is deprecated. How it can be replaced?
I have no demo code ready for this. You can look in Spring documentation: docs.spring.io/spring-security/reference/servlet/authentication/logout.html
You have switched threads to virtual, but you haven't added any number of threads to the pool. Each request would still take ~2 seconds and the number of threads working in parallel is the same. Why the speed difference?
The number of kernel threads is still the same. But by using virtual threads you can create an "infinite" number of virtual threads, which are carried by the kernel threads. So the difference is, that I could start all virtual threads very early, because there is no limitation.
These are simple algorithms. Please do a demo with production code
My demo is about doing a safe refactoring, because the logic is covered by Unit-Tests. In case you have production code and it is covered by Unit-Tests you can give it also to AI and request clean code refactorings. With the existing Unit-Tests you can check, if AI did a proper job. You can also add the Unit-Tests to the chat-context to get better results. So for me it is not about demo or production code, it is about have code under test coverage.
Thank you very much
My only beef with this method is that this depends on docker. Installing docker on windows and that too a work machine is a nightmare. I would build the native directly using the command line.
Fair point. I recommend to build the native image in the team's CICD pipeline. In that case you would just code on your windows computer and have no need for Docker.
Hallo, danke für das Video, allerdings hat es bei mir nicht ganz funktioniert ich bekomme das Error:Error in communication with OpenAI ChatGPT API, obwohl ich das API key gerneriert habe und in properties hinzugefügt
Steht noch etwas mehr in den Logs der Konsole?
Problem gelöst, der API Key war am Anfang nicht richtig aktiviert, danke schön fürs Video @@elmarbrauch
Amazing.
keep it. up good going
*promo sm* 😒
Hi Elmar, thanks for the nice informative video I have implemented by following the step and I am able to login using my SSO provider. But on Successful, authentication application is not redirecting to /process-login endpoint or homepage (/) It stays on the sso page and does not come out of loop.Please help
Did you set proper redirect-uri in application.properties or -.yml file? That could be something to check. On the other hand on your SSO provider there might be also some config required to do the redirect. So I would check first those things.
@@elmarbrauch Thanks for your reply.. I will check them again.
Thank you sir. You really teach well
Amazing, do you know witch imagen docker container use to deploy in Azure or GCP ? with kubernetes instancies as a serverless product?
Check this for more information about Spring and serverless : spring.io/serverless/
@@elmarbrauch why you call serverless..
@@47lokeshkumar74 Maybe I did not understand the original question. So I thought that might help.
Thank you for this
Interesting
Do you know also Copilot? There you have AI integrated in your IDE, see ua-cam.com/video/h4wXW8VQGdA/v-deo.html
@@elmarbrauch thanks, these AIs are evolving so fast. Can't wait to see how things will be in 2 years.
formLogin() is depricated, what's the next alternative ? When I set the configuration It works but it doesn't give the form to insert username and password ? any solution ? Thank's for your website it's beneficial
Are You using Spring Boot 3.1.X ? If you clone my GitHub project the login page with username and password input should be shown as presented in this video.
@@elmarbrauch Yes, It's working with (.formLogin(Customizer.withDefaults())) !! TNX!! My question is if I used older version of spring security does it influence the level of security of the project ?
Mein deutscher Spring WebFlux Kurs bei Udemy 5 Tage kostenlos einschreiben: www.udemy.com/course/reactive-spring/?couponCode=TECH-TALK
Thanks Elmar. Great video will try this out. Any thoughts how we can stream the reply back and display on the UI? Just like in ChatGPT UI?
I did not try this so far. Maybe in the OpenAI API documentation something is written about that.
Is Spring Webflux gaining popularity ?
It is the better choice. But many existing software has still the classic Spring MVC. Changing this in the mass will take some time. In my latest projects I use WebFlux. Also in older big Spring MVC projects I add it at least, so that I can use at least WebClient.
Hi sir, thx for this video. I've tried to download the project, and inserti my api key, but when I hit the send button I get this error: "Error in communication with OpenAI ChatGPT API.", I've also tried to disable firewall but it still doesn't work. Do u have any idea? Thank you.
This can have several causes, because the error handling in my demo code is not very detailed. If you changed some code like switch to different GPT-model, revert this. Otherwise check my blog-article: agile-coding.blogspot.com/2023/01/gpt-3.html. It shows simpler code only about calling the API, this might help you to see, if your API key is correct or not.
@@elmarbrauch Thx, I fixed the problem. I notice that the response of the api is cut (it is not the complete response but it is partical) do you know if I can fix it? Thank you
@@DanChen-m9q This question was asked before. Search for max_tokens value and increase it to get longer answers.
You are my IDOL..love your channel
hey, i want to know by any chance can we get complete response from chatgpt using the code. The code is limited to give max 5 lines of statement result.
Hi, you have to edit this class: github.com/elmar-brauch/openai-api/blob/master/src/main/java/de/bsi/openai/chatgpt/CompletionRequest.java It has 100 as constant value for max_tokens. If you increase 100 to a bigger value, you will get more often complete answers. (But you will have to pay more, because you consume more tokens)
thank you so so so much man!
ty so much sir!
i wanted like this video for add GPT to Spring And java. Thank you! ;-)
Cools video danke für das tutorial 🫶 was ich ganz cool finde wie die Deutsche Sprache teils rein rutscht 🙃 macht das video voll sympathisch 👍✌️
Ich habe in letzter Zeit weniger deutsche Versionen meiner Videos aufgenommen - irgendwo muss es dann ja hin 😀
Thank you so much for the video. It helped me a lot! :)
looks great but it does not working.. so sad
Hi. After downloading the Code from GitHub, you have to set the OpenAI API-Key in application.properties file. Then it should work.
@@elmarbrauch thank you so much for your great work. you saved me!!!
Hi Elmar, thanks for the nice informative video I have a question, what is this /process-login that you are using? Is it generic or related to your provider? If I am using Spring Boot just as a backend and I want it to handle the auth process, should the provider redirect to backend or frontend?
Hi. The process is called OpenID Connect, it is a standard. My provider in this video implements the standard and Spring Boot also supports this standard. Check the picture in my video or in the linked blog-article, it should explain the target of the redirect: agile-coding.blogspot.com/2022/10/openid.html
Thank you so much Sir, you saved my day :)
hey there, since @WebSecurityConfigurerAdapter deprecated, i couldn't find any tutorial on the internet except yours. i don't know single of it. also the antMatchers, etc., lots of deprecated. where do i start? can you help?
Hi. I wrote 3 articles with 3 videos about Spring Security. This one is the 2nd in the series of 3, so I recommend that you start with my video for beginners. It starts from the scratch based on Spring 3, see this blog article: agile-coding.blogspot.com/2020/12/spring-security-starter.html or the video here: ua-cam.com/video/E6P7V5vvkus/v-deo.html
Hi Elmar , in my case after authenticating i am getting the page isnt working it get stuck on redirect uri
Hi, you can increase logging level to see more details by adapting application.properties/.yml like this: logging: level.org.springframework: security: DEBUG web.client: DEBUG This might help you to better understand what worked as expected before your problem and maybe you see also more details about the problem beside the stacktraces.
Hey, why can't I use the gpt-3.5-turbo model? It gives me Error in communication with OpenAI ChatGPT API
It is not just the model to be changed. It is different URL and different request body. Here is a sample from API reference: curl api.openai.com/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $OPENAI_API_KEY" \ -d '{ "model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Hello!"}] }'
Хорошее видео, спасибо вам. Раньше filterchain был void метод, но не так давно он стал deprecated. Видео по новым правилам не много на Ютуб
Hey, ich studiere jetzt seit diesem Semeser Software Entwicklung an einer Fernuni und ich fange gerade über Udemy Kurse an mir Java beizubringen. Hättest du sonst noch Tipps wie ich am besten ins Softwareentwickeln reinkomme? Im 2ten Semester ist sowieso Java dran daher habe ich damit angefangen aber vielleicht gibt es auch besser optionen? Ab Wann würdest du empfehlen auch mit Seiten wie Codewar zu arbeiten? Ich bedanke mich im Voraus für die tollen Videos und freue mich auf eine Antwort.
Hallo. Ich empfehle "Learning by coding", programmiere so viel wie möglich selbst. Also nicht nur anderen in Udemy Kursen beim Programmieren zuschauen und den Code verstehen, sondern direkt mit programmieren. Codewars würde ich Dir empfehlen, sobald Du in Java Hello World, Schleifen und If-Statements kannst. Ich habe meine Meinung dazu auch in einem Blog-Artikel aufgeschrieben: agile-coding.blogspot.com/2022/05/codewars.html
hi, can i use your app in a java project for a disability course?
Sure, you can download my code at GitHub and use it. My code is anyways just a demo.
incredibly useful video! thanks!
Man erkennt die Deutschen halt einfach an der Stimme
Das Video gibt es auch in deutscher Sprache mit englischem Akzent in meinem Kanal. 😄
keep rocking dude...
Sir, I'm having trouble with Jackson, no serializer found. What exactly is the version of Jackson databind? Thank you so much.
Spring Boot defines the Jackson library. So it is not specified in my code. Open pom.xml in my linked GitHub project and compare it with your Maven or Gradle config.
nice presentation. I would like to ask, what would change if there was a react/angular/etc frontend instead of thymeleaf?
Thi video is about a stateful Spring Boot backend with a session. If the react, angular or Vue.js frontend is a single page application with a stateless Spring Boot backend it is different. Maybe a topic for a future video.
Cannot see the source code of chatmessageDTO?
I optimized the Git project, when I added DALL-E API. This class is now here: github.com/elmar-brauch/openai-api/blob/master/src/main/java/de/bsi/openai/chatgpt/CompletionRequest.java
thanks for your sharing,i run your code project well,but i find the response from api only include one part of answered content.i don't know why
To get bigger or the full answer, you have to increase the parameter max_tokens, which I set for demo reasons to 100. Open class CompletionRequest to adapt it to your needs.
@@elmarbrauch thank you veru much !
thank you
Thank you very much for this, it was very helpful if possible could you do another one integrating with one of the 2 endpoints for images, either image edit or image variations
I am happy, that my video was helpful. I do not know yet, if I will make videos about the other image APIs.