Тёмный
Begin Secure
Begin Secure
Begin Secure
Подписаться
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.
How to Compile Python Files Into EXE!
4:47
6 месяцев назад
Why Python apps are becoming less secure
6:00
6 месяцев назад
Create Multi-Module Maven Projects
9:57
10 месяцев назад
Code to Container: The Spring Boot Leap!
5:05
10 месяцев назад
How to ADD a NEW PROJECT to GitHub
5:03
11 месяцев назад
JPA & Spring Boot 3: Code Like a Pro!
8:19
11 месяцев назад
Spring Boot 3: Bootstrap Projects Like a Pro!
3:54
11 месяцев назад
Understand IntelliJ Safe Mode
5:17
Год назад
ChatGPT Beats the Market?
7:17
Год назад
Комментарии
@Z-YT937
@Z-YT937 6 часов назад
The linux penguin: am i replaced?
@terabhaininja9
@terabhaininja9 9 часов назад
can't just do this? if user in {primary, backup}: print ("success.") else: print("failure.")
@srepinS
@srepinS 10 часов назад
And how is this better? Unless your doing some only this many lines to write this program challenge
@udbhavshrivastava
@udbhavshrivastava 10 часов назад
I really like the name because its just so memorable lol
@hebestreitfan6973
@hebestreitfan6973 11 часов назад
unreadable
@CollectorDuck
@CollectorDuck 11 часов назад
"easier to read"
@keneola
@keneola 12 часов назад
Man! C#'s coalesce operator (?? or ??=) seems so much cleaner.
@memovilmx6239
@memovilmx6239 13 часов назад
The good ol' Pascal look
@beezow7113
@beezow7113 19 часов назад
Bad code IMO
@ZackWhitbord
@ZackWhitbord 16 часов назад
I agree. How does this make it more readable? It does the opposite
@Naegimaggu
@Naegimaggu 22 часа назад
I've never understood what's the point of writing this kind of esoteric syntax to avoid a very basic, fast to read and easy to understand control structure, unless it's for performance gains.
@francescomoretti-sd9nb
@francescomoretti-sd9nb 17 часов назад
I believe, once compiled to bytecode, there will be zero difference in performance. So I agree with the "what's the point" feeling about this
@wartem
@wartem День назад
"if user := (primary or backup or None):" to make it the same as the original solution
@farahelfish
@farahelfish 2 дня назад
Thank you, you save my career :')
@beginsecure
@beginsecure День назад
Your comment made my day! 🙌 Thrilled the video was useful for you!!
@s1l3nttt
@s1l3nttt 4 дня назад
well that's another thing i'll never use
@beginsecure
@beginsecure День назад
Totally understandable. Appreciate you checking it out!
@HTownsend
@HTownsend 5 дней назад
I dunno, it seems like a super niche feature to me. I have literally never needed that. I have, however, needed a for loop where I have direct control over the iterator, rather than being forced to rely on a pre-defined series. I know I can just use a while loop but this feels like a way more mainstream case than a while loop else clause.
@beginsecure
@beginsecure День назад
You're right, it’s not something you'll see every day. Direct iterator control in for loops would definitely be more mainstream. Thanks for the thoughtful comment!
@tcfs
@tcfs 5 дней назад
But why the hell is it called "else"? I would find better keywords for that with less confusion...
@beginsecure
@beginsecure 5 дней назад
Thanks for your comment! 😊 I get that the else keyword can seem confusing in this context. In Python, it's used here to execute code only if the loop wasn't broken out of. While the naming might not feel intuitive, it's part of how Python handles loops. Appreciate your feedback!
@pianoman6216
@pianoman6216 5 дней назад
You must be new to programming, I'm glad you're finding out new little neat features of the python language, keep it up! I don't enjoy python personally, there are just so many dumb little things that I run into whenever I have to use it- like for example in your code python makes you append one to a variable the verbose way instead of the common ++ syntax you see in most c based languages
@beginsecure
@beginsecure 5 дней назад
Thanks for your comment! 😊 Python does handle some things differently compared to C-based languages, like using i += 1 instead of i++. Each language has its quirks and strengths. I'm glad you found the feature interesting, and I appreciate you sharing your perspective!
@kbsanders
@kbsanders 5 дней назад
so it should be while then or while finally .. not while else
@davidfranz5215
@davidfranz5215 5 дней назад
Not while finally. Finally in programming implies that that block will always be run, this won't if the loop is broken out of.
@kbsanders
@kbsanders 5 дней назад
@@davidfranz5215 Good point.
@beginsecure
@beginsecure 5 дней назад
Thanks for your comment! 😊 I understand that the else keyword in loops can seem a bit unintuitive. In Python, it's used to run code only if the loop completes without a break. While the naming might feel unexpected, that's just how Python handles it. Appreciate you sharing your thoughts!
@P0T0N
@P0T0N 6 дней назад
Never heard of an else block before lol? This behaves the exact same with a "for" or "while" as long as there is no "break". Definitely not a secret. This is basic python
@beginsecure
@beginsecure 6 дней назад
Thanks for pointing that out! 😊 You're right-the else block works the same with for and while loops without a break. Just sharing for those who might not know!
@ProfRoxas
@ProfRoxas 7 дней назад
It's not the prettiest, but i usually use this when i iterate over something and set up values and use the else block for default when nothing was found Works with for loops too
@beginsecure
@beginsecure 7 дней назад
Absolutely! 😊 Using the else block in loops is great for handling the "nothing found" scenario after iterating. It's a neat way to set up default values when an item isn't found, and it works with both for and while loops. Thanks for sharing how you use it!
@greenxano8333
@greenxano8333 7 дней назад
won't lie i thought that was pretty obv. I don't really use python a lot i script more in lua but im suprised at how many devs overlook that since it feels pretty obv in my opinion atleast
@beginsecure
@beginsecure 7 дней назад
Thanks for sharing your thoughts! 😊 What seems obvious to some might be new to others. I'm glad you found it straightforward!
@david-nb5ug
@david-nb5ug 8 дней назад
Whats the use case for this? If it breaks nornally wouldn't it always go to the next line If it errors in the while loop it will throw and not go tonthe next line?
@jesustyronechrist2330
@jesustyronechrist2330 7 дней назад
Yeah I was wondering too. Maybe it's kinda like ".finally" when Async shenanigans in Javascript
@beginsecure
@beginsecure 7 дней назад
Appreciate your comment! The else in a while loop runs only if the loop wasn't exited by a break. If the loop ends naturally, it goes to the else. If an exception is thrown, it won't execute the else block. Hope this helps!
@david-nb5ug
@david-nb5ug 7 дней назад
@@beginsecure oh cool thanks! Not exiting from a break makes sense and is a pretty unique use! Appreciate it
@ycombinator765
@ycombinator765 8 дней назад
Redundant
@beginsecure
@beginsecure 7 дней назад
I understand it might seem unnecessary. The else block in loops can be a bit confusing, but it has its unique uses. Thanks for watching and sharing your perspective!
@emirozdemir9060
@emirozdemir9060 8 дней назад
Great video bro 👍
@beginsecure
@beginsecure 8 дней назад
Thank you and thanks for watching
@homerdhalor377
@homerdhalor377 8 дней назад
Be careful though, because the .exe is recognized afterwards by viruses with 7 virus declarations, these are false positives, but it is to be taken into account :) unless you add a certificate, but it is chargeable
@beginsecure
@beginsecure 8 дней назад
Great point! False positives can happen when creating .exe files from Python scripts. I'll look into adding a section about code signing in a future video. Thanks for the suggestion!
@manuelmm4158
@manuelmm4158 9 дней назад
Useful info, thanks 🙏🙏
@beginsecure
@beginsecure 9 дней назад
Glad it was helpful! Thanks for watching!
@KDrizzz
@KDrizzz 9 дней назад
Holy shit
@beginsecure
@beginsecure 9 дней назад
Cool stuff, right?
@РобертКейн-н6ф
@РобертКейн-н6ф 9 дней назад
Nice, just like SQL injection, but much stronger
@beginsecure
@beginsecure 9 дней назад
Thanks for watching!
@uno_king
@uno_king 10 дней назад
Weird feature. It acts as a "someone DIDN'T break out of the loop" detector? What if there's stuff I want to do IF I break out? Is there an "else-else" block?
@beginsecure
@beginsecure 9 дней назад
Great question! 😊 You're right-the else block runs only if the loop completes without a break, acting like a "no break occurred" detector. If you want to execute code specifically when the loop does break, you can place that code right after the loop or use a flag variable to check if a break happened. There's no built-in "else-else" block, but you can structure your code to handle both scenarios effectively!
@raphaelfranzen9623
@raphaelfranzen9623 8 дней назад
set a "fail" variable to 0 before entering the loop and in the else block. Set it to I inside the loop. That way you know that it broke and where. i = 0 fail = 0 while i < 2: fail = i print(i) i +=1 else: fail = 0 if fail>0: print("failure detected")
@Oskar628
@Oskar628 10 дней назад
🐧
@beginsecure
@beginsecure 10 дней назад
Tux approves! 🐧 Appreciate your support.
@talesmasoero
@talesmasoero 13 дней назад
Light mode
@beginsecure
@beginsecure 10 дней назад
Awesome, another fan of light mode! Appreciate your input.
@Kayak4
@Kayak4 15 дней назад
Try this command, man df
@beginsecure
@beginsecure 10 дней назад
Great suggestion! Checking the manual with man df provides so much more detail. Thanks for sharing!
@Kayak4
@Kayak4 10 дней назад
@@beginsecure man is there for a reason why not use it?
@poufpanda1127
@poufpanda1127 15 дней назад
as a beginner into Linux, this helped, ty bro
@beginsecure
@beginsecure 15 дней назад
Glad to hear it! Thanks so much for watching!
@JoeyScripts
@JoeyScripts 18 дней назад
Dark mode. Eye strain happens quicker making me want to stop. Hence I couldn't deal with Python's IDE.
@beginsecure
@beginsecure 18 дней назад
Good point! Dark mode isn’t for everyone. It’s all about what feels comfortable for your eyes. Have you tried customizing the theme in your IDE to see if that helps?
@aryangupta4372
@aryangupta4372 18 дней назад
Nice vid, i see you're looking up to FireShip ;)
@beginsecure
@beginsecure 18 дней назад
Fireship is the man and quite successful, just giving folks what they seem to like.
@sargismartirosyan9946
@sargismartirosyan9946 18 дней назад
Wait so xargs does the same thing but does it all at the same time ?
@beginsecure
@beginsecure 18 дней назад
Exactly! xargs lets you run commands in parallel, so instead of downloading files one by one, it speeds things up by handling multiple downloads at once.
@salman_3833
@salman_3833 19 дней назад
great video
@beginsecure
@beginsecure 19 дней назад
Thank you so much! I'm glad you enjoyed it!
@ellego_oficialtechnology293
@ellego_oficialtechnology293 19 дней назад
Eric Cartman?
@beginsecure
@beginsecure 18 дней назад
Yep, you caught it! Eric Cartman making a cameo in the world of Java.
@ellego_oficialtechnology293
@ellego_oficialtechnology293 17 дней назад
@@beginsecure Eric Cartman is from south park?
@robertmcnerney6040
@robertmcnerney6040 20 дней назад
Dark mode
@beginsecure
@beginsecure 18 дней назад
Solid choice! Dark mode is definitely popular with a lot of developers for a reason.
@coolcodingcat
@coolcodingcat 22 дня назад
This is easier then using pushd
@beginsecure
@beginsecure 18 дней назад
True! cd - is definitely quicker for jumping back. Pushd has its perks, though, if you need a stack of directories!
@vohrameghank1158
@vohrameghank1158 22 дня назад
Linux is Linux 🎉 Useful concept in linux Rare to find in YT
@beginsecure
@beginsecure 18 дней назад
Glad you found it useful! 🎉 Linux really does have some powerful tricks that aren't always talked about on RU-vid.
@chickenbobbobba
@chickenbobbobba 22 дня назад
can also use "cd .." to do the same thing
@edwardpacman7082
@edwardpacman7082 23 дня назад
I use “popd“
@beginsecure
@beginsecure 18 дней назад
Nice! popd is a solid choice if you're working with a directory stack. Great tool for juggling multiple paths!
@distortions1
@distortions1 23 дня назад
ls -lahtr
@submaryne3518
@submaryne3518 24 дня назад
Soodoo
@beginsecure
@beginsecure 18 дней назад
😄 Pronunciation can be tricky with command names.