- 188
- 629 331
Begin Secure
United States
Приєднався 24 жов 2020
Welcome to Begin Secure
My name is Brian. With 20+ years in software development, from startups to Fortune 500s, I now focus on application security in finance. My background in computer science drives the essence of this channel.
Our Focus
Begin Secure emphasizes security in software development. We delve into Java, Spring, Python, and DevOps, but our core is a security-first coding approach.
Why Us?
Security isn't an afterthought-it's vital. We bridge software development and application security, equipping developers for secure coding.
For Whom?
From seasoned developers to newcomers, our content is universally relevant.
Join discussions in comments, our community tab, or on Discord.
My name is Brian. With 20+ years in software development, from startups to Fortune 500s, I now focus on application security in finance. My background in computer science drives the essence of this channel.
Our Focus
Begin Secure emphasizes security in software development. We delve into Java, Spring, Python, and DevOps, but our core is a security-first coding approach.
Why Us?
Security isn't an afterthought-it's vital. We bridge software development and application security, equipping developers for secure coding.
For Whom?
From seasoned developers to newcomers, our content is universally relevant.
Join discussions in comments, our community tab, or on Discord.
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
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
Spring Boot 3: Bootstrap Projects Like a Pro!
Переглядів 194Рік тому
Spring Boot 3: Bootstrap Projects Like a Pro!
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
Checked a SECRET into Git? Learn how to FIX IT!
Переглядів 107Рік тому
Checked a SECRET into Git? Learn how to FIX IT!
Create and Run a JavaFX App with Gradle and IntelliJ
Переглядів 4,1 тис.Рік тому
Create and Run a JavaFX App with Gradle and IntelliJ
interesting but i dont see me remembering to use this lol
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? 😉
Add __dict__ to __slots__
fastest way to learn java: ⬆️ best way to learn java: don‘t
It certainly doesn't fit every scenario.
@karbonaterol4966 bro don't hold such opinions. Learn what the market demands. Java has a lot of demands, atleast JVM does.
Great Video! Can you do a video like this but with kotlin instead of groovy?
its great how the entirety of speeding up your python code is just making the compiler use more c
None of the functions takes a parameter. How come they are being passed a "number=1000" argument?
you can use list comprehension
Ngl, this is what I was expecting.
Very good. But please allow 2 symbols to the left, because Samsung s got blind spot and first 1.5 symbols not visible
Greetings 👏🏻
Hello. Glad you're here.
Don't!
And those "secrets" render python code unreadable
It’s true that Python’s else in a loop can feel a bit unusual if you’re not used to it!
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.
My favourite way is to use Go, Zit or C. Those speed up my code a lot
If you want to speed up your code DONT USE FREAKING PYTHON
It's slower but hard to beat the library ecosystem. I have another performance enhancement video coming later this week.
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.
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++.
I have something coming up this weekend that's a really simple and very cool way to increase performance and reduce memory usage.
@@beginsecure I’m ready for it brother
What about side effects? If the funcion has any, the second time it won't, right?
This method is only really feasible if you only use it on pure functions
Here's an even simpler trick : rewrite it in c++ 😊
How rewriting on c++ speed-up waiting for 2 seconds?)
Eeeerm ackshually, it's a better idea to remove "time.sleep(2)"
@@jadencorr6897 c++ is like a significantly faster language... though my comment is a joke
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.
Ternary operators are the opposite of “less clutter”
If it’s looking messy, sticking to a standard if-else can definitely be clearer!
Best Performance optimization: stop using Python
It's slower, but hard to beat when it comes to the library ecosystem.
important to use it only for deterministic functions
Great point.
also the intentional delay/ waiting is removed now
at this point just switch the language
Who doesn't want us to know???
"they" it's just a curiosity hook
What happend to assigning none?
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.
Do your coworkers a favor and ignore this „feature“.
Haha, fair point! The else in loops is definitely a love-it-or-hate-it feature.
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
Thanks for your comment! I appreciate the real-world perspective!
@@beginsecure Still, good video!
Usually i write it as bool User = primary or secondary
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!
@@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.
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!!
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!
@@beginsecure- It would be much appreciated. Thanks in Advance!!
Don't ever use this, it's one of the worst features of the language
it’s definitely a controversial feature!
I like Ben, suprised by the collab lol.
Ben? Not sure I understand.
@@beginsecureWait, this supposed to be on another video, I don't know how it end up here, sr.
very interesting, teacher u are the best, easy too understand any you teach, thank you !
I’m glad you found it helpful! Thanks for watching.
so else runs if !while? and you can use it to run just after the while ends naturally and not by break? not horrible
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.
I have another solution , just use C
People getting mad they cant understand simple logic
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!
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.
Is it like ternary operator on other languages?
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)
Backwards try catching
Thanks for the comment. The else just runs if the while loop completes normally.
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)
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!
Nice. Just move ur captions higher. YT covers them with the shorts controls
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!
Neat!
Python is full of a lot of gems like this. Thanks for watching!!