Begin Secure
Begin Secure
  • 188
  • 629 331
The FASTEST Way to Learn Java in 2024!
Looking to learn Java quickly? This video will show you the fastest way to learn Java in 2024! Perfect for beginners or those looking to brush up on their coding skills.
Переглядів: 141

Відео

Hackers Are Controlling Your Device With Command Injection
Переглядів 560Місяць тому
Hackers Are Controlling Your Device With Command Injection
The Simple SQL Mistake Destroying Your Database!
Переглядів 1 тис.Місяць тому
The Simple SQL Mistake Destroying Your Database!
STOP Wasting Time on These Common Errors Installing MySQL
Переглядів 653 місяці тому
STOP Wasting Time on These Common Errors Installing MySQL
The Tiny Script That Could Take Over Your WebSite
Переглядів 1,1 тис.4 місяці тому
The Tiny Script That Could Take Over Your WebSite
How to Compile Python Files Into EXE!
Переглядів 10 тис.7 місяців тому
How to Compile Python Files Into EXE!
Empower Your Tech Skills: How to Effectively Install Kali Linux on Windows
Переглядів 2067 місяців тому
Empower Your Tech Skills: How to Effectively Install Kali Linux on Windows
Effortless PDF to Word Conversion: A Free & Secure Method
Переглядів 2227 місяців тому
Effortless PDF to Word Conversion: A Free & Secure Method
Why Python apps are becoming less secure
Переглядів 1357 місяців тому
Why Python apps are becoming less secure
How to setup a virtual environment in Visual Studio Code for Python.
Переглядів 1,7 тис.7 місяців тому
How to setup a virtual environment in Visual Studio Code for Python.
How to Compile Python Apps to Windows Executables [2024]
Переглядів 1 тис.8 місяців тому
How to Compile Python Apps to Windows Executables [2024]
Install Go On Windows 11 Like A Pro - Feel Like a Tech Genius!
Переглядів 2049 місяців тому
Install Go On Windows 11 Like A Pro - Feel Like a Tech Genius!
Master JavaFX App Development with Maven and IntelliJ
Переглядів 1 тис.10 місяців тому
Master JavaFX App Development with Maven and IntelliJ
Create Multi-Module Maven Projects
Переглядів 73311 місяців тому
Create Multi-Module Maven Projects
Code to Container: The Spring Boot Leap!
Переглядів 16011 місяців тому
Code to Container: The Spring Boot Leap!
Crear un JAR ejecutable con Maven en IntelliJ IDEA
Переглядів 1,6 тис.11 місяців тому
Crear un JAR ejecutable con Maven en IntelliJ IDEA
How to CREATE an EXECUTABLE JAR With Dependencies Using Maven
Переглядів 2,8 тис.Рік тому
How to CREATE an EXECUTABLE JAR With Dependencies Using Maven
How to run Unit Tests with JaCoCo, Maven and IntelliJ IDEA
Переглядів 6 тис.Рік тому
How to run Unit Tests with JaCoCo, Maven and IntelliJ IDEA
How to ADD a NEW PROJECT to GitHub
Переглядів 115Рік тому
How to ADD a NEW PROJECT to GitHub
JPA & Spring Boot 3: Code Like a Pro!
Переглядів 178Рік тому
JPA & Spring Boot 3: Code Like a Pro!
Spring Boot 3: Bootstrap Projects Like a Pro!
Переглядів 194Рік тому
Spring Boot 3: Bootstrap Projects Like a Pro!
Understand IntelliJ Safe Mode
Переглядів 247Рік тому
Understand IntelliJ Safe Mode
Install NodeJS and NPM on Windows 11
Переглядів 2,2 тис.Рік тому
Install NodeJS and NPM on Windows 11
How to Install FREE Visual Studio 2022 for C++ Programming
Переглядів 2,8 тис.Рік тому
How to Install FREE Visual Studio 2022 for C Programming
Did Spring Boot Just Replace Developers with AI?
Переглядів 802Рік тому
Did Spring Boot Just Replace Developers with AI?
Install the PyCharm on Windows 11: Unleash Your Python Potential
Переглядів 425Рік тому
Install the PyCharm on Windows 11: Unleash Your Python Potential
ChatGPT Beats the Market?
Переглядів 141Рік тому
ChatGPT Beats the Market?
Checked a SECRET into Git? Learn how to FIX IT!
Переглядів 107Рік тому
Checked a SECRET into Git? Learn how to FIX IT!
Can you make Spring Boot Even Better?
Переглядів 210Рік тому
Can you make Spring Boot Even Better?
Create and Run a JavaFX App with Gradle and IntelliJ
Переглядів 4,1 тис.Рік тому
Create and Run a JavaFX App with Gradle and IntelliJ

КОМЕНТАРІ

  • @s1l3nttt
    @s1l3nttt 7 годин тому

    interesting but i dont see me remembering to use this lol

    • @beginsecure
      @beginsecure 7 годин тому

      Haha, totally get that! Sometimes the best tricks are the hardest to remember. Maybe jot it down in your 'future-you will thank you' list? 😉

  • @mattmess1221
    @mattmess1221 8 годин тому

    Add __dict__ to __slots__

  • @karbonaterol4966
    @karbonaterol4966 11 годин тому

    fastest way to learn java: ⬆️ best way to learn java: don‘t

    • @beginsecure
      @beginsecure 9 годин тому

      It certainly doesn't fit every scenario.

    • @snehanshuphukon728
      @snehanshuphukon728 5 годин тому

      @karbonaterol4966 bro don't hold such opinions. Learn what the market demands. Java has a lot of demands, atleast JVM does.

  • @GavinD.B.
    @GavinD.B. День тому

    Great Video! Can you do a video like this but with kotlin instead of groovy?

  • @pearl911
    @pearl911 День тому

    its great how the entirety of speeding up your python code is just making the compiler use more c

  • @mhalton
    @mhalton День тому

    None of the functions takes a parameter. How come they are being passed a "number=1000" argument?

  • @abderrahmanelagab-l7x
    @abderrahmanelagab-l7x День тому

    you can use list comprehension

  • @audr
    @audr 2 дні тому

    Very good. But please allow 2 symbols to the left, because Samsung s got blind spot and first 1.5 symbols not visible

  • @mariterebarranco7794
    @mariterebarranco7794 2 дні тому

    Greetings 👏🏻

  • @mhalton
    @mhalton 3 дні тому

    Don't!

  • @MrS-kv1ko
    @MrS-kv1ko 3 дні тому

    And those "secrets" render python code unreadable

    • @beginsecure
      @beginsecure 3 дні тому

      It’s true that Python’s else in a loop can feel a bit unusual if you’re not used to it!

  • @spinnenente
    @spinnenente 4 дні тому

    this has nothing to do with efficiency. terrnary operators are neat but computation wise there is little difference. ternary operators are neat for smaller lines but they are not as readable and cannot be extended to include more logic like if else statements.

  • @roccociccone597
    @roccociccone597 5 днів тому

    My favourite way is to use Go, Zit or C. Those speed up my code a lot

  • @ЯрославГилев-м5д
    @ЯрославГилев-м5д 6 днів тому

    If you want to speed up your code DONT USE FREAKING PYTHON

    • @beginsecure
      @beginsecure 3 дні тому

      It's slower but hard to beat the library ecosystem. I have another performance enhancement video coming later this week.

    • @wilkesreid
      @wilkesreid 2 дні тому

      Bad take. Sometimes you have stuff in python, and sometimes you want it to be faster. It’s like telling someone who lives in Chicago and wants to be warm to just move somewhere else instead of letting them buy a coat.

  • @Roundedlime806
    @Roundedlime806 6 днів тому

    This would work for low level scripts, but for constant running complex scripts, this would eat up the ram. Maybe set a TTL for the cache or just code in C++.

    • @beginsecure
      @beginsecure 4 дні тому

      I have something coming up this weekend that's a really simple and very cool way to increase performance and reduce memory usage.

    • @Roundedlime806
      @Roundedlime806 4 дні тому

      @@beginsecure I’m ready for it brother

  • @kishtarn555
    @kishtarn555 6 днів тому

    What about side effects? If the funcion has any, the second time it won't, right?

    • @wilkesreid
      @wilkesreid 2 дні тому

      This method is only really feasible if you only use it on pure functions

  • @skeleton_craftGaming
    @skeleton_craftGaming 6 днів тому

    Here's an even simpler trick : rewrite it in c++ 😊

    • @jadencorr6897
      @jadencorr6897 6 днів тому

      How rewriting on c++ speed-up waiting for 2 seconds?)

    • @pianoman5259
      @pianoman5259 6 днів тому

      Eeeerm ackshually, it's a better idea to remove "time.sleep(2)"

    • @skeleton_craftGaming
      @skeleton_craftGaming 6 днів тому

      @@jadencorr6897 c++ is like a significantly faster language... though my comment is a joke

    • @beginsecure
      @beginsecure 4 дні тому

      Yes, definitely not a good idea to sleep in your code. In the example it's just a stand in for a long running bit of code.

  • @miodekonero
    @miodekonero 6 днів тому

    Ternary operators are the opposite of “less clutter”

    • @beginsecure
      @beginsecure 3 дні тому

      If it’s looking messy, sticking to a standard if-else can definitely be clearer!

  • @karbonaterol4966
    @karbonaterol4966 6 днів тому

    Best Performance optimization: stop using Python

    • @beginsecure
      @beginsecure 3 дні тому

      It's slower, but hard to beat when it comes to the library ecosystem.

  • @vorkutavorkutlag
    @vorkutavorkutlag 7 днів тому

    important to use it only for deterministic functions

    • @beginsecure
      @beginsecure 6 днів тому

      Great point.

    • @mpty2022
      @mpty2022 6 днів тому

      also the intentional delay/ waiting is removed now

  • @penewoldahh
    @penewoldahh 7 днів тому

    at this point just switch the language

  • @strixhooligan2347
    @strixhooligan2347 7 днів тому

    Who doesn't want us to know???

    • @beginsecure
      @beginsecure 7 днів тому

      "they" it's just a curiosity hook

  • @LukusGraham
    @LukusGraham 7 днів тому

    What happend to assigning none?

    • @beginsecure
      @beginsecure 3 дні тому

      The walrus operator (:=) is typically used when you want to assign a value and use it in an expression immediately, which is why it’s not really aimed at assigning None. Assigning None usually doesn’t need the walrus operator, as it’s not meant to be used in conditional expressions like other values are.

  • @R1a9W
    @R1a9W 8 днів тому

    Do your coworkers a favor and ignore this „feature“.

    • @beginsecure
      @beginsecure 3 дні тому

      Haha, fair point! The else in loops is definitely a love-it-or-hate-it feature.

  • @sleepystew1184
    @sleepystew1184 8 днів тому

    Not real world applicable imo. I mean youd get the exact same functionality just not using the else block and putting print after (since while is blocking). Only real use I suppose is that it only runs when the while finishes by its condition failing (not break), but some seriously niche stuff

    • @beginsecure
      @beginsecure 3 дні тому

      Thanks for your comment! I appreciate the real-world perspective!

    • @sleepystew1184
      @sleepystew1184 2 дні тому

      @@beginsecure Still, good video!

  • @josephvictory9536
    @josephvictory9536 9 днів тому

    Usually i write it as bool User = primary or secondary

    • @beginsecure
      @beginsecure 3 дні тому

      The walrus operator offers a bit more flexibility for cases where you want to assign and use the result in expressions, especially within conditions. But for simple logic like yours, your method is clean and effective!

    • @josephvictory9536
      @josephvictory9536 3 дні тому

      ​@@beginsecure Yes you are right also walrus is good with generators! Now instead of looping as if generator is an array, you can yield till null. Which is better for memory and more functional overall.

  • @mariterebarranco7794
    @mariterebarranco7794 9 днів тому

    GOD; thanks your effort in sharing your knowledge… you deserve more subs & views… pardon my english! Please, continue with the Java serie for newbies like myself!!

    • @beginsecure
      @beginsecure 7 днів тому

      Wow, thanks for the kind words. It's tough to make stuff that doesn't get a lot of views. I'll see if I can make something a bit more engaging and continue on. Take care!

    • @mariterebarranco7794
      @mariterebarranco7794 2 дні тому

      @@beginsecure- It would be much appreciated. Thanks in Advance!!

  • @SuperGoys
    @SuperGoys 9 днів тому

    Don't ever use this, it's one of the worst features of the language

    • @beginsecure
      @beginsecure 3 дні тому

      it’s definitely a controversial feature!

  • @trietang2304
    @trietang2304 10 днів тому

    I like Ben, suprised by the collab lol.

    • @beginsecure
      @beginsecure 7 днів тому

      Ben? Not sure I understand.

    • @trietang2304
      @trietang2304 7 днів тому

      ​@@beginsecureWait, this supposed to be on another video, I don't know how it end up here, sr.

  • @SadLife-RIN
    @SadLife-RIN 10 днів тому

    very interesting, teacher u are the best, easy too understand any you teach, thank you !

    • @beginsecure
      @beginsecure 7 днів тому

      I’m glad you found it helpful! Thanks for watching.

  • @CharIie83
    @CharIie83 11 днів тому

    so else runs if !while? and you can use it to run just after the while ends naturally and not by break? not horrible

    • @beginsecure
      @beginsecure 3 дні тому

      Yep, you’ve got it! The else in a while loop only runs if the loop ends naturally-meaning it didn’t break out early.

  • @jumpjump-oz2pr
    @jumpjump-oz2pr 11 днів тому

    I have another solution , just use C

  • @JohnDoe-v9o8d
    @JohnDoe-v9o8d 12 днів тому

    People getting mad they cant understand simple logic

    • @beginsecure
      @beginsecure 3 дні тому

      Yeah, the walrus operator is new to a lot of developers, so it just takes a bit of getting used to. Once you get the hang of it, it’s actually pretty intuitive!

  • @ignorethechannelforcomment4174
    @ignorethechannelforcomment4174 12 днів тому

    The issue with the second approach is memory, need to be careful with big data, it does not release memory till the last execution. It's a trade off.

  • @ajhaykumar.n176
    @ajhaykumar.n176 12 днів тому

    Is it like ternary operator on other languages?

    • @beginsecure
      @beginsecure 12 днів тому

      Sort of, although Python has a ternary operator too. Here's a simple example: age = 18 status = "Adult" if age >= 18 else "Minor" print(status)

  • @krofnoops
    @krofnoops 12 днів тому

    Backwards try catching

    • @beginsecure
      @beginsecure 12 днів тому

      Thanks for the comment. The else just runs if the while loop completes normally.

  • @tomiboul5217
    @tomiboul5217 12 днів тому

    I have a problem…there is a difference between 2 files…What I suppose to do ( sorry for my bad English and thanks for your response)

    • @beginsecure
      @beginsecure 12 днів тому

      Hello, if I understand, the version I installed in the video is older than the version you found when you went to search for it, is that right? If so, that's fine, new releases are coming out all the time, so use the latest that works for your platform. If the question is something else, let me know. Thanks for watching!

  • @jamallama2544
    @jamallama2544 12 днів тому

    Nice. Just move ur captions higher. YT covers them with the shorts controls

    • @beginsecure
      @beginsecure 12 днів тому

      Hello, thanks and yes you are right. I need a quality control check to make sure I do that. I didn't realize it until after I'd published. Thanks for watching!

  • @oogaaboogie1637
    @oogaaboogie1637 12 днів тому

    Neat!

    • @beginsecure
      @beginsecure 12 днів тому

      Python is full of a lot of gems like this. Thanks for watching!!