BogdanBudaca
BogdanBudaca
  • Видео 22
  • Просмотров 141 986
Introduction to TDD - Test Driven Development
Running a couple of TDD examples with a basic Spring Boot and Kotlin app, with the help of JUnit and Mockito.
Please Like & Subscribe if you found this interesting.
Looking forward to your comments below.
Code: github.com/BudacaB/yt/tree/master/tdd
0:00 Intro and walk-through
2:10 Spec 1 - Function to join two strings
07:10 Spec 2 - Function to add cars
Resources:
developer.ibm.com/developer/default/articles/5-steps-of-test-driven-development/images/tdd-red-green-refactoring-v3.png
#kotlin #springboot #gradle #programming #testing #junit #mockito #coding #howto #tutorial #cs #bogdanbudaca
Просмотров: 162

Видео

Introduction to Docker Compose - containerizing an application
Просмотров 1823 года назад
Running an Angular app, a Java/SpringBoot app and a Cassandra DB with the help of Docker Compose. Please Like & Subscribe if you found this interesting. Looking forward to your comments below. Code BE (also with master docker-compose file renamed): github.com/BudacaB/yt/tree/master/fullstack-be Code FE: github.com/BudacaB/yt/tree/master/fullstack-fe 0:00 Intro and walk-through 4:00 Demo - DB 10...
Introduction to Messaging - MQTT, Spring Boot, Docker, Kotlin, Eclipse Mosquitto
Просмотров 3,2 тыс.3 года назад
Running a subscriber app and a publisher app for MQTT Messaging with the help of Eclipse Mosquitto, Spring Boot, Docker and Kotlin. Please Like & Subscribe if you found this interesting. Looking forward to your comments below. Code: github.com/BudacaB/yt/tree/master/mqtt 0:00 Intro and walk-through 4:00 Demo - Docker 5:15 Demo - Code 8:22 Fire up the apps Resources: en.wikipedia.org/wiki/Messag...
Introduction to Consumer Driven Pact Testing - Angular, Spring Boot, Docker, Jest, Junit and Mockito
Просмотров 4,4 тыс.3 года назад
Running a consumer app and a provider app for Pact Testing with the help of Angular, Spring Boot, Docker, Jest, Junit and Mockito. Please Like & Subscribe if you found this interesting. Looking forward to your comments below. Code: github.com/BudacaB/yt/tree/master/pact P.S.: My camera froze half way for some reason, but the screen capture was fine :) 0:00 Intro and walk-through 6:00 Angular in...
Introduction to DevOps - AWS // CI/CD // CD pipelines
Просмотров 1774 года назад
Getting an understanding on DevOps via CD Pipelines and how Cloud providers can help. Please Like & Subscribe if you found this interesting. Looking forward to your comments below. Code: github.com/BudacaB/yt/tree/master/devops #devops #pipeline #softwaredelivery #softwaredeployment #aws #cicd #cicdpipelines #codepipeline #codedeploy #codebuild #introduction #intro #programming #coding #develop...
How to run a Tideman election - C Programming
Просмотров 10 тыс.4 года назад
Going over a coding problem which requires us to run a Tideman election and solving it with the help of the C programming language. Please Like & Subscribe if you found this interesting. Looking forward to your comments below. Sorry about the audio interruptions, had the AC on and I think my mic was fighting that background noise. Code: github.com/BudacaB/yt/tree/master/tideman CS50: cs50.harva...
How to run a runoff election - C Programming
Просмотров 9 тыс.4 года назад
Going over a coding problem which requires us to run a runoff election and solving it with the help of the C programming language. Please Like & Subscribe if you found this interesting. Looking forward to your comments below. Code: github.com/BudacaB/yt/tree/master/runoff Runoff voting: en.wikipedia.org/wiki/Two-round_system #cprogramming #cprogrammingtutorial #cprogrammingforbeginners #program...
How to run a plurality election - C Programming
Просмотров 5 тыс.4 года назад
Going over a coding problem which requires us to run a plurality election and solving it with the help of the C programming language. Please Like & Subscribe if you found this interesting. Looking forward to your comments below. Code: github.com/BudacaB/yt/tree/master/plurality Plurality (voting): en.wikipedia.org/wiki/Plurality_(voting) #cprogramming #cprogrammingtutorial #cprogrammingforbegin...
How to encrypt messages (Substitution cipher) - C Programming
Просмотров 13 тыс.4 года назад
Going over a coding problem which requires us to encrypt text using a Substitution cipher, and solving it with the help of the C programming language. Please Like & Subscribe if you found this interesting. Looking forward to your comments below. Code: github.com/BudacaB/yt/tree/master/substitution Caesar cipher: en.wikipedia.org/wiki/Substitution_cipher #cprogramming #cprogrammingtutorial #cpro...
How to make a FullStack App - Using Cassandra DB with Docker, Angular, and Spring Boot
Просмотров 1,6 тыс.4 года назад
Making a small fullstack application with the help of Docker, Cassandra DB, Angular and Spring Boot. Please Like & Subscribe if you found this interesting. Looking forward to your comments below. Code FE: github.com/BudacaB/yt/tree/master/fullstack-fe Code BE: github.com/BudacaB/yt/tree/master/fullstack-be #java #javaprogramming #javaprogrammingtutorial #javaprogrammingforbeginners #typescript ...
How to encrypt messages (Caesar cipher) - C Programming
Просмотров 24 тыс.4 года назад
Going over a coding problem which requires us to encrypt text using a Caesar cipher, and solving it with the help of the C programming language. Please Like & Subscribe if you found this interesting. Looking forward to your comments below. Code: github.com/BudacaB/yt/tree/master/caesar Caesar cipher: en.wikipedia.org/wiki/Caesar_cipher #cprogramming #cprogrammingtutorial #cprogrammingforbeginne...
How to compute readability (Coleman-Liau index) - C Programming
Просмотров 8 тыс.4 года назад
Going over a coding problem which requires us to compute the readability of a text, and solving it with the help of the C programming language. Please Like & Subscribe if you found this interesting. Looking forward to your comments below. Code: github.com/BudacaB/yt/tree/master/readability #cprogramming #cprogrammingtutorial #cprogrammingforbeginners #programming #coding #developer #howto #tuto...
How to check if two strings are anagrams - Java Programming
Просмотров 2 тыс.4 года назад
How to check if two strings are anagrams - Java Programming
How to reverse an integer - C Programming
Просмотров 2,3 тыс.4 года назад
How to reverse an integer - C Programming
How to validate a Credit Card number (Luhn algorithm | checksum) - C Programming
Просмотров 50 тыс.4 года назад
How to validate a Credit Card number (Luhn algorithm | checksum) - C Programming
How to return change (greedy algorithm) - Java Programming
Просмотров 4,4 тыс.4 года назад
How to return change (greedy algorithm) - Java Programming
How to reverse a string - JavaScript Programming
Просмотров 2184 года назад
How to reverse a string - JavaScript Programming
How to render a volcano in the console - C Programming
Просмотров 3774 года назад
How to render a volcano in the console - C Programming
How to render a staircase in the console - C Programming
Просмотров 2,3 тыс.4 года назад
How to render a staircase in the console - C Programming

Комментарии

  • @f4r4g
    @f4r4g 3 месяца назад

    It was fun to watch, especially where you made mistakes, thank you for this informative video.

  • @md.shorifulislamfahim9406
    @md.shorifulislamfahim9406 5 месяцев назад

    who is here from CS50 ???

  • @ougininja8412
    @ougininja8412 6 месяцев назад

    Great explanation

  • @stantonreddy6276
    @stantonreddy6276 6 месяцев назад

    @BogdanBudaca i appreciate yr videos, but what set u aside from the others, is the way you explain things, unfortunately in this video, the audio is bad, yes i can see the code, but its missing yr explanation which is the most important part😞

  • @dasyphan2472
    @dasyphan2472 7 месяцев назад

    THIS IS WHAT I NEED!! THE PSEUDOCODE IS JUST AWESOME!! THANK YOUUU❤❤

  • @ngozinoel4024
    @ngozinoel4024 9 месяцев назад

    I really appreciate

  • @lilacisblue8300
    @lilacisblue8300 11 месяцев назад

    This was truly helpful. Thank you so much!

  • @abuonsumastudios
    @abuonsumastudios Год назад

    Great content man... your page deserves more recognition than it has

  • @guilhermerosa955
    @guilhermerosa955 Год назад

    I know that it needs to be like this in order to work, but can someone please explain to me the logic behind why does the divisor int needs to be initially declared as 10 and not 1? In my head it makes sense because if the do-while loop divided the ccnumber for the first time, shouldn't it be 10? Why does it already begin with 100 in the first loop. I know that I'm wrong but I can't wrap my head around why it is wrong lol

  • @anishacini762
    @anishacini762 Год назад

    why don't you just turn your long into a string and use strlen to get the length of your CC number, and then from the math library use pow, to get the first two degits : devide the cc number by 10 to the power of length - 2 ? i wanted to do it this way but i need to use pointers which i don't know how to use properly :')

    • @BogdanBudaca
      @BogdanBudaca Год назад

      Oh that's an interesting solution, cheers

  • @LouisPinoPercussion
    @LouisPinoPercussion Год назад

    Thanks so much!!! I just wanted to point out that you can slightly simplify the addition of the 2 digit numbers by just subtracting 9 rather than using %. Adding digits of 14 is 5, 14-9 is also 5. This works for any number 10-19, then you subtract by 18 for numbers 20-29, 27 for 30-39, 36 for 40-49 and so on.

    • @BogdanBudaca
      @BogdanBudaca Год назад

      Wouldn't this bring on too many 'if's I wonder?

  • @gardenvariety-
    @gardenvariety- Год назад

    another way: #include <cs50.h> #include<stdio.h> #include<math.h> int main(void) { long n; long cardn; int i; int sum1=0; int sum2=0; int lastn; int d; int count; long power; // request the card numner cardn= get_long("What is the card number? " ); printf(" "); n=cardn; while(cardn<10) { cardn=get_long("What is the card number? "); } //Do addition of every other digit starting from the last digit n=cardn; do { lastn=n%10; sum1=sum1+lastn; n=n/100; } while(n>0); //Do addition of every other number starting from the number second to last after multiplying by 2 n=cardn/10; sum2=0; while(n>0) { lastn=n%10; d=lastn*2; if (d>9) { sum2=sum2+d%10+d/10; } else { sum2=sum2+d; } n=n/100; } int f=sum1+sum2; printf("the last digit in the sum is %i ",f); //know the number of digits n=cardn; for (count=0; n>=1; count++) { n=n/10; } printf("Total number of digits %i ", count); power=count-2; //just to know it is working printf("power is %li ", power); //know the first two digits//know invalid card n=cardn; power=count-2; long divisor=pow(10,power); printf("the divisor is %li ",divisor); printf("the remainder after dividing by 10 is %i ",f%10); if(f%10==0) { if (count==15 && (n/divisor==34||n/divisor==37)) { printf("AMEX "); } else if(count==16 && (n/divisor>50 && n/divisor<56)) { printf("MASTERCARD"); } else if((count==13 || count==16 )&& n/divisor/10==4) { printf("VISA "); } else { printf("UNKNOWN "); } } else { printf("INVALID "); } }

  • @gmfischbach
    @gmfischbach Год назад

    Hello, thanks for the video for starters, could i ask you something tho. Before i watched your video i was getting +2 in some of the testing texts of cs50, i had it a little different than you: instead of creating a variable grade an then round it with the index, i had round ( L - S - 15.8). Would you know why that wasnt working ?, it shouldnt it be the same ?

  • @guilhermefernandes9497
    @guilhermefernandes9497 Год назад

    Really good explanation man, keep it up : -)

  • @babatundekalejaiye7046
    @babatundekalejaiye7046 Год назад

    Great Video. I was initially getting a floating point exception error. I Had to change the divisor to a float data type, initialise it to 1 and count to minus 1, and all problems were solved. (c++)

  • @sophiamarie1656
    @sophiamarie1656 Год назад

    Hello everybody, just for future references: While making the cs50 Algorithms problem set, the system showed me an error. This is because the tabulate function is not completely right. I changed the i < candidate_count into j < candidate_count. Then everything worked just fine.

  • @bhawanthachamod5521
    @bhawanthachamod5521 Год назад

    Thanks man, became very helpful.

  • @youtubejproasters1224
    @youtubejproasters1224 Год назад

    so i can follow up the logic behind your notes 100% , but when it goes to apply it to code , i start getting lost after the do while loop , i am full beginner , will it be okay to skip this problem till i reach better knowledge ? Or it will impact my studies further if i cant solve it and understand the mechanism after the do while loop in my mind ..

    • @BogdanBudaca
      @BogdanBudaca Год назад

      I would say my advice is to try some more, it's normal for things to take a while until they fall into place

  • @_Silviu
    @_Silviu Год назад

    Plâng de 2 zile la problema asta😂 Sper că e cea mai grea de la CS50, fiindca altfel îl termin la anul😜 Dacă nu reușesc pana la finalul săptămânii, revin😁

    • @BogdanBudaca
      @BogdanBudaca Год назад

      Da, a fost f dificila si pt mine, inca ma bantuie 😆

  • @twopaypal_f1
    @twopaypal_f1 Год назад

    just finished this problem all on my own. first time coding. so fucking proud of myself. your code is way cleaner than mine, but i'm still happy i was able to get everything to work and all the green smiley faces. keep the faith guys. you can do this even if you've never coded before. just don't give up.

  • @NikolasMihalopoulos
    @NikolasMihalopoulos 2 года назад

    ive followed all the steps but for some reason when type my number then press enter it just goes down a line and doesnt say invalid or anything

  • @juniors3275
    @juniors3275 2 года назад

    After watching the highest viewed videos @8:29 this guy is literally the only person on youtube that i watched who explained this section as if you were a student and didn't assume you know every single detail and process. well done and god bless you, i am now subscribed!!!

  • @raneemyanes3468
    @raneemyanes3468 2 года назад

    thank you 🥰

  • @bigk9000
    @bigk9000 2 года назад

    I'm still trying to wrap my head around contract testing. What's different between this with Pact and integration tests with Mock Service Worker?

    • @BogdanBudaca
      @BogdanBudaca 2 года назад

      I think the gist of Pact is having a contract in place and knowing as soon as something changes and it breaks, and also serve as an indication of what's expected.

  • @sandamn85
    @sandamn85 2 года назад

    Hi there, "public class Main { " can result in compiler error, for the purposes of this tutorial, leave out "public" and your code should run.

  • @abirsonet925
    @abirsonet925 2 года назад

    nice, really helpful

  • @victorgarciarubio7284
    @victorgarciarubio7284 2 года назад

    Amazing tutorial, just what I was looking for!❤

  • @lukasz070485
    @lukasz070485 2 года назад

    Hi Bogdan, thank you for the video. I am having the problem understanding the logic in around 23 min. For loop is quite complicated, why -2 and how is that divisor work ?? thx in advance

    • @BogdanBudaca
      @BogdanBudaca 2 года назад

      Hey, Lukasz, maybe it might help if you come at it from trying to get the first digit of the number? This was one approach (maybe a bit weird I agree), for example start the divisor from 10, if you have 12345 - so length 5, if you start from 0 and up to 5 - 2, you get three iterations of 10 * 10 -> 10000, so 12345 / 10000 will give you the first digit.

  • @matheusrocha8037
    @matheusrocha8037 2 года назад

    Tanks for helping

  • @itsacademytime9775
    @itsacademytime9775 2 года назад

    I need this in python

  • @thecryptographer55
    @thecryptographer55 2 года назад

    2:43 second step : I think in doubling must starting with 4 not 1 ??

  • @UGH_ZEREF3431
    @UGH_ZEREF3431 2 года назад

    thank you sir

  • @osmanyobregon805
    @osmanyobregon805 2 года назад

    Muy buena tu forma de explicar,no entiendo como alguien tan genial tiene tan poco reconocimiento,te deseo éxitos y muchas gracias por la explicación :)

  • @boluemmanuel8999
    @boluemmanuel8999 2 года назад

    Thank you so much you explained really well and detailed 👍🏽

  • @smarterthinks
    @smarterthinks 2 года назад

    bro do we get fake cc

  • @ChristmasSpirit23
    @ChristmasSpirit23 2 года назад

    De la ce vârstă ai început să programezi?

  • @agutanful
    @agutanful 2 года назад

    Thank you so much! I was able to complete the task thanks to your initial explanation.

  • @daniruzsa1751
    @daniruzsa1751 2 года назад

    It s pretty nice to see someone experienced does it :D i managged to complate is in 3hour without help Just started cs50

  • @naveenthayyil8768
    @naveenthayyil8768 2 года назад

    legend

  • @Girlwithherownwings
    @Girlwithherownwings 2 года назад

    Can you share the report pdf of this

  • @yousefali652
    @yousefali652 2 года назад

    why we use return 1 ????????????

  • @sanketgoti
    @sanketgoti 2 года назад

    Great👍

  • @VinnieMarchisio
    @VinnieMarchisio 2 года назад

    I really love the way you explain your logic, and then don't assume it is obvious. I like how you hope we were able to follow along instead. You seem like a genuinely nice guy. Thanks, Bogdan.

    • @juniors3275
      @juniors3275 2 года назад

      honestly!!! best explanation i've seen. ppl explain things on youtube and assume you know everything, dude if i knew everything why would i need an explanation?

  • @ammanchhetri6716
    @ammanchhetri6716 2 года назад

    Very good explanation 👌..thank u very much ... 🙂

  • @aiden4609
    @aiden4609 2 года назад

    ρгό𝔪σŞm

  • @VinnieMarchisio
    @VinnieMarchisio 2 года назад

    I really appreciate the way you went through the problem. It was by far the easiest video for me to follow and understand the logic. Thank you for sharing it with us.

  • @2snish
    @2snish 2 года назад

    Thank you this helped me better understand the problem !

  • @MagdaleneAlchemist
    @MagdaleneAlchemist 2 года назад

    Darling, i've walked to Mordor and beyond trying to find something like this! Thank you! this is just what i needed!

  • @alibe4582
    @alibe4582 2 года назад

    please in this part // check validity of the key for (int i = 0; i < strlen(argv[1]); i++) { if (isdigit(argv[1][i])) { valid_key = true; he gives [Error] Initial 'for' loop declarations are only allowed in C99 or C11 mode

    • @BogdanBudaca
      @BogdanBudaca 2 года назад

      Hey there, please google your error, stackoverflow should be the first result, with a fix 🤙

  • @karthikeyan.ganapathy
    @karthikeyan.ganapathy 2 года назад

    Thanks for the good explanation and documentations