Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts

Monday, 16 September 2024

How GitHub Advanced Security for Azure DevOps Saves the Day (and Your Reputation)

Let's face it, developers: we've all accidentally committed a secret (or two) to our code repository at some point. Maybe it was an API key, a database password, or that super-secret encryption key you swore you'd never forget. ‍♂️



The problem?  Those exposed secrets can be a hacker's dream come true. A leaked secret can bring your entire application crashing down, wreaking havoc on your data and reputation. Shuddersville.  Many good developers do not pay attention to this critical aspect while working on the code, behaviour which most of the time becomes very costly and painful.

That's where GitHub Advanced Security for Azure DevOps swoops in like a superhero with a cape (well, maybe more like a shield, but you get the idea). This powerful integration brings the muscle of GitHub's security features into your Azure DevOps workflow, so you can identify and squash those secret leaks before they become a disaster.


Here's how GitHub Advanced Security for Azure DevOps saves your bacon:

  • Secret Scanning: It acts like a super-sleuth, scouring your code for any exposed secrets like passwords, tokens, and keys. No more accidental oopsies making it past your commit.
  • Dependency Scanning: Those third-party libraries you love? They can have hidden vulnerabilities. Advanced Security scans your dependencies to expose any weak spots so you can patch them up before they get exploited.
  • CodeQL Code Scanning: This built-in code analysis tool is like a security X-ray for your codebase. It hunts for potential vulnerabilities and coding errors, so you can fix them before they become a problem.

The best part? This security suite integrates seamlessly into your Azure DevOps workflow. No need to jump through hoops or learn a whole new platform. You can find, fix, and prevent security issues all within your familiar Azure DevOps environment. Win-win!

So, ditch the stress of exposed secrets and vulnerable code. Embrace the power of GitHub Advanced Security for Azure DevOps. Your future self (and your security team) will thank you for it.

P.S. Looking for more info? Check out the official documentation to see how to get started with GitHub Advanced Security for Azure DevOps and start building more secure software today!

Thursday, 29 August 2024

How to Stay Ahead in 2024: Avoid These 10 Dying Programming Languages 🚫

In the ever-evolving world of technology, staying ahead of the curve is crucial. As new programming languages emerge, others fall by the wayside. If you’re a developer or aspiring coder, it’s important to know which languages are becoming obsolete so you can focus your learning on skills that will be relevant in the future. Here’s a guide on the top 10 programming languages to avoid in 2024—and what you should be learning instead! 💻



1. Visual Basic 6 🛑

Once a powerhouse for building Windows desktop applications, Visual Basic 6 has seen its day. Developed by Microsoft in the 1990s, this language was known for its easy-to-use IDE and GUI. However, with the rise of modern frameworks like .NET and the shift towards web-based applications, Visual Basic 6 has become largely outdated.

💡 Learn Instead: Explore C# and .NET for building modern desktop and web applications.


2. Assembly Language 🛠️

Assembly, a low-level programming language, was once crucial for developing operating systems and device drivers. Its ability to produce highly efficient code made it invaluable. However, its complexity and the rise of higher-level languages like C and C++ have led to a significant decline in its use.

💡 Learn Instead: Get started with C++ for a blend of efficiency and ease of use.


3. Fortran 📉

Fortran, developed in the 1950s for scientific computing, is another language that’s losing relevance. Despite its past glory in handling large-scale computations, its complex syntax is no match for modern alternatives like Python and R.

💡 Learn Instead: Dive into Python for a versatile and intuitive approach to scientific computing.


4. Classic ASP ⚠️

Once popular for server-side scripting, Classic ASP has been overshadowed by newer web technologies. Developed by Microsoft in the 1990s, it’s been largely replaced by more modern frameworks like PHP, JSP, and Ruby on Rails.

💡 Learn Instead: Check out PHP or Ruby on Rails for robust web development.


5. Objective C++ 💤

Objective C++ allowed developers to use the best of both Objective C and C++ in a single codebase. However, with Apple’s introduction of Swift, a modern and more efficient language, Objective C++ has faded into obscurity.

💡 Learn Instead: Start learning Swift to develop apps for iOS and macOS with ease.


6. Haskell 🤔

Haskell, known for its pure functional programming paradigm, was once favored for scientific computing. Despite its powerful type system, its complexity and niche appeal have made it less popular than languages like Python and R.

💡 Learn Instead: Explore functional programming in Python or get started with R for data analysis.


7. Smalltalk 🧑‍🏫

Smalltalk, an object-oriented language developed in the 1970s, was revolutionary in its time. Known for its support of the model-view-controller (MVC) architecture, it’s now overshadowed by more modern OOP languages like Java and Python.

💡 Learn Instead: Get familiar with Java or Python for modern OOP development.


8. Perl 📝

Perl, with its powerful text manipulation capabilities, was a go-to for web developers in the early 2000s. However, the rise of Python, with its concise and readable syntax, has pushed Perl into the background.

💡 Learn Instead: Master Python for modern web and software development.


9. Objective C 🕒

Objective C, once the backbone of iOS and Mac development, is now being replaced by Swift. Although it still has a niche following, most new projects are being built with Swift, which offers a more modern and efficient development experience.

💡 Learn Instead: Begin your journey with Swift to stay current in Apple development.


10. COBOL 🏛️

COBOL, one of the earliest programming languages, was designed for business applications in the 1950s. Despite its historical significance, its cryptic syntax and lack of support for modern programming models have led to its decline.

💡 Learn Instead: Transition to Java or Python for more intuitive and flexible programming.


Why Staying Updated Matters 🧠

Keeping your programming skills current is essential in today’s fast-paced tech landscape. While these languages had their time in the spotlight, the shift towards more modern, flexible, and user-friendly languages is undeniable. By focusing on learning the right skills, you can ensure that you remain competitive and relevant in your career.

🚀 Ready to Upgrade Your Skills?
Explore certification programs in cutting-edge domains like Data Science, Cloud Computing, Cybersecurity, AI, Machine Learning, or Digital Marketing. These programs are designed by industry experts and can help you stay ahead of the curve in 2024 and beyond.

👍 Like What You See?
If you found this guide helpful, don’t forget to subscribe to our blog and follow us for more tips on navigating the ever-changing world of programming. Happy coding!

Saturday, 6 July 2024

The Ultimate List of Python YouTube Channels – Real Python

 These are materials which can be used when learning to code in Python


The Ultimate List of Python YouTube Channels

Table of Contents


We couldn’t find a good, up-to-date list of Python developer or Python programming YouTube channels online.

Learning Python on YouTube is a viable option these days, and we’re excited about what this new medium can do for programming education.

There are some really good YouTube channels that focus on Python development out there, but we just couldn’t find a list that was both comprehensive and up-to-date. So we created our own with the best and most Pythonic YouTubers.

We initially wrote this list based on information we gathered by reading forum posts and searching YouTube for Python channels directly. We’ll continue to add to the list with your feedback. We plan to keep this list updated, so feel free to leave a comment at the end of the page or tweet at us if you think anything is missing or if you’d like to see your own YouTube Python tutorials added.

In order for a channel to be included in our list, it must:

  • Focus on Python tutorials
  • Not be brand-new (> 2,000 subscribers)
  • Be active (new videos are coming out) OR have an interesting archive with old content worth watching
Enjoy the Python goodness!

Al Sweigart

“Tons of sweet computer related tutorials and some other awesome videos too!”

Anaconda Inc.

“With over 4.5 million users, Anaconda is the world’s most popular Python data science platform. Anaconda, Inc. continues to lead open source projects like Anaconda, NumPy and SciPy that form the foundation of modern data science. Anaconda’s flagship product, Anaconda Enterprise, allows organizations to secure, govern, scale and extend Anaconda to deliver actionable insights that drive businesses and industries forward.”
In addition to their company developed videos, including a fun lego-mation and Pyception short, Anaconda’s YouTube channel contains all the videos from AnacondaCon, a gathering of the passionate community of data scientists, IT professionals, analysts, developers, and business leaders all using the Anaconda distribution.

Christian Thompson

“A little bit about me and a lot about Python programming for beginners. I am a middle and high school teacher who uses Python as my teaching language. I firmly believe anyone can (and should) learn to program a computer and that Python is the perfect language for doing so.”

Clever Programmer

“You can find awesome programming lessons here! Also, expect programming tips and tricks that will take your coding skills to the next level.”

CodingEntrepreneurs

“Coding for Entrepreneurs is a Programming Series for Non-Technical Founders. Learn Django, Python, APIs, Accepting Payments, Stripe, jQuery, Twitter Bootstrap, and much more.”

Corey Schafer

“This channel is focused on creating tutorials and walkthroughs for software developers, programmers, and engineers. We cover topics for all different skill levels, so whether you are a beginner or have many years of experience, this channel will have something for you.”

Chris Hawkes

“We’re going to learn about programming, web design, responsive web design, Reactjs, Django, Python, web scraping, games, forms applications and more!”

CS Dojo

“Hey everyone! My name is YK, and I make videos mostly about programming and computer science here.”

Data School (Kevin Markham)

“You’re trying to launch your career in data science, and I want to help you reach that goal! My in-depth tutorials will help you to master crucial data science topics using open source tools like Python and R.”

David Beazley

“An archive of David Beazley’s conference, user group, and training talks.”

Enthought

“For more than 15 years, Enthought has built AI solutions with science and engineering at the core. We accelerate digital transformation by enabling companies and their people to leverage the benefits of Artificial Intelligence and Machine Learning.”
Additionally, Enthought is best known for the early development, maintenance, and continued support of SciPy, as well as the primary sponsor for the SciPy US and EuroSciPy Conferences. In addition to the company developed content, this channel provides all the video recordings from the SciPy US and EuroScipy (before 2016) Conferences, talks and tutorials specifically focused on the advancement of scientific computing through open source Python software for mathematics, science, and engineering.

Michael Kennedy (Talk Python)

“Videos, demos, and lectures about programming - especially Python and web topics.”

PrettyPrinted

“I’m Anthony. I make programming videos.”

PyCon Session Recordings

These are all PyCon talk and session recordings made available on YouTube. There’s no single channel that combines these. Instead, you’ll access each year’s videos on a separate “PyCon 20…” channel. Alternatively, you can use PyVideo.org to watch the session recordings.

PyData

“PyData provides a forum for the international community of users and developers of data analysis tools to share ideas and learn from each other. The global PyData network promotes discussion of best practices, new approaches, and emerging technologies for data management, processing, analytics, and visualization. PyData communities approach data science using many languages, including (but not limited to) Python, Julia, and R.”

Real Python

“Python tutorials and training videos for Pythonistas that go beyond the basics. On this channel you’ll get new Python videos and screencasts every week. They’re bite-sized and to the point so you can fit them in with your day and pick up new Python skills on the side.”

Reuven Lerner

“I’m Reuven Lerner, and I teach Python and data science to companies around the world. On this YouTube channel, I publish videos that will help you with Python programming.”

Sentdex (Harrison Kinsley)

“Python Programming tutorials, going further than just the basics. Learn about machine learning, finance, data analysis, robotics, web development, game development and more.”

Socratica

“Socratica makes high-quality educational videos on math and science. New videos every week! We’re a couple of Caltech grads who believe you deserve better videos. You’ll learn more with us!”

TheNewBoston (Bucky Roberts)

“Tons of sweet computer related tutorials and some other awesome videos too!”

Smaller Python Conferences

The following channels provide the tutorials, talks, and session recordings from many of the smaller local Python conferences held throughout the world.

Though on their own, most of these channels do not meet the requirement for 2000 subscribers, we list them here as honorable mentions because they represent the diverse Python community throughout the world.

Note that some (maybe older) videos from these conferences are available (together with other non-Python content) on the Next Day Video and Engineers.SG channels. Alternatively, PyVideo.org can serve as a one-stop-shop where you can find most (but not all) of these session recordings.

If you think anything is missing from this list or if you’d like to see your own Python YouTube channel added, then please leave a comment below 

Friday, 29 September 2017

Working with PuppetLabs Using Vagrant


While working as DevOps Engineer one of the tools by definition that we use more, often is Puppet. Guess most people will think that you are 100% expert, which is not always the case. So, I need to create this post and track record of my own experiments with Puppet and (PuppetLabs + Vagrant)

You might as what is Vagrant ?
==> "Vagrant is an open-source software product for building and maintaining portable virtual software development environments, e.g. for VirtualBox, Hyper-V, Docker, VMware, and AWS. ... Vagrant simplifies the necessary software configuration management in order to increase development productivity. " read more here: https://www.vagrantup.com/intro/index.html

The initial indentation was to gain better understanding puppet file structure. So, I decided to use Puppetlabs for this ...
















So, basically. I did create installed

  • Installed Vagrant
  • Used the Vagrant init command to pull the puppetlabs ubuntu VM
  • Which created a file "Vagrantfile"
  • created a dir puppetlabs


And then started the Setup, so here are the Logs ..

Tdls-Air:puppetlabs psalms91$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'puppetlabs/ubuntu-16.04-32-puppet' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: 1.0.0
==> default: Loading metadata for box 'puppetlabs/ubuntu-16.04-32-puppet'
    default: URL: https://vagrantcloud.com/puppetlabs/ubuntu-16.04-32-puppet
==> default: Adding box 'puppetlabs/ubuntu-16.04-32-puppet' (v1.0.0) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/puppetlabs/boxes/ubuntu-16.04-32-puppet/versions/1.0.0/providers/virtualbox.box
==> default: Successfully added box 'puppetlabs/ubuntu-16.04-32-puppet' (v1.0.0) for 'virtualbox'!
==> default: Importing base box 'puppetlabs/ubuntu-16.04-32-puppet'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'puppetlabs/ubuntu-16.04-32-puppet' is up to date...
==> default: Setting the name of the VM: puppetlabs_default_1506687306250_65705
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 5.0.20
    default: VirtualBox Version: 5.1
==> default: Mounting shared folders...
    default: /vagrant => /Users/psalms91/Vagrant_VM/puppetlabs
Tdls-Air:puppetlabs psalms91$

Tdls-Air:puppetlabs psalms91$ vagrant ssh

Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.0-21-generic i686)

 * Documentation:  https://help.ubuntu.com/

vagrant@localhost:~$

After this I have my Puppet Labs VM running ... After this point was easy, I just needed to goo into the puppet installation dir and look into the dir structure.


done.. :-)

Tuesday, 21 May 2013

How to Code in Python 3 metaprogramming!

Some of the most significant changes in Python 3 are related to metaprogramming. In this tutorial, I'll cover decorators, class decorators, descriptors, and metaclasses. However, the focus will be on idioms and examples that are only....


How to check for open ports on Linux

Checking for open ports is among the first steps to secure your device. Listening services may be the entrance for attackers who may exploit...