Best of PythonJune 2023

  1. 1
    Article
    Avatar of dzDZone·3y

    Best Practices for Writing Unit Tests

    Unit tests are crucial in software development as they aid in bug detection, code refactoring, documentation, and regression prevention. They allow developers to verify the correctness of individual code units, such as functions, methods, or classes. Join the DZone community and get the full member experience.

  2. 2
    Article
    Avatar of gopenaiGoPenAI·3y

    The Strange Death of Stack Overflow

    From the founding of Stack Overflow in 2008 to the first quarter of 2014, the number of new questions and answers posted grew steadily. From 2013 to 2015, the growth has been stagnant, then accelerated from 2015 to 2017. From 2019 to 2021 was a sharp spike in the growth of new users.

  3. 3
    Article
    Avatar of kdnuggetsKDnuggets·3y

    GPT4All is the Local ChatGPT for your Documents and it is Free!

    GPT4All is the Local ChatGPT for your Documents and it is Free! It is a free-to-use, locally running, privacy-aware chatbot. The process is really simple (when you know it) and can be repeated with other models too.

  4. 4
    Article
    Avatar of pointerPointer·3y

    Making Python 100x faster with less than 100 lines of Rust

    A while ago at $work, we had a performance issue with one of our core Python libraries. We had to make our system at least 50 times faster to handle the increased workload. The key difficulty (performance wise) is this mix of Python objects and numpy arrays. We are going to analyze this in depth in a minute.

  5. 5
    Article
    Avatar of stackovStack Overflow Blog·3y

    2023 Developer Survey results are in: the latest trends in technology and work from the Stack Overflow community

    2023 Developer Survey results are in: the latest trends in technology and work from the Stack Overflow community. Approximately 90,000 people from all over the world submitted their top picks for tools and programming languages they are using. We also took a look at the real sentiments behind this year’s surge in AI popularity.

  6. 6
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    Intro to Generative AI – 10 Free Courses by Google

    Google has released a free set of training courses for generative AI. There are 10 courses aimed at beginners with no prerequisite knowledge. All of them deliver content through a combination of videos, articles, labs and quizzes. Some courses also have online labs to complete in a certain amount of time.

  7. 7
    Article
    Avatar of vscodeVisual Studio Code·3y

    VS Code and WebAssemblies

    VS Code and WebAssemblies run Web assemblies in VS Code for the Web. WebAssembly virtual machines ship in modern browsers today and there are tool chains to compile C/C++ to WebAssembly code. This is relatively easy for languages like JavaScript and TypeScript since browsers ship with a JavaScript execution engine.

  8. 8
    Article
    Avatar of aiplainenglishAI in Plain English·3y

    🦜️ LangChain + Streamlit🔥+ Llama 🦙: Bringing Conversational AI to Your Local Machine 🤯

    Large Language Models (LLMs) refer to machine learning models capable of producing text that closely resembles human language. These models have created exciting prospects, especially for developers working on chatbots, personal assistants, and content creation. LLaMA is a new large language model designed by Meta AI, which is Facebook’s parent company.

  9. 9
    Article
    Avatar of hackernoonHacker Noon·3y

    116 Stories To Learn About Web Scraping

    The amount of data available on the internet nowadays is practically limitless, with much of it no more than a few clicks away. Learn how to scrape the web using scripts written in node.js to automate scraping data off of the website and using it for whatever purpose.

  10. 10
    Article
    Avatar of gopenaiGoPenAI·3y

    Roadmap to Becoming a Data Scientist in Python: A Beginner’s Guide.

    Roadmap to Becoming a Data Scientist in Python: A Beginner’s Guide. Learn the Fundamentals of Python: To start your data science journey, it's crucial to have a solid foundation in Python programming. Dive into Data Manipulation and Analysis: Python provides several powerful libraries for data manipulation and analysis.

  11. 11
    Article
    Avatar of pointerPointer·3y

    zigzap/zap: blazingly fast backends in zig

    Zigzap/zap: blazingly fast backends in zig ⚡ zap Zap is intended to become the zig replacement for the kind of REST APIs I used to write in python with Flask and mongodb. Zap wraps and patches facil.io - the C web application framework.

  12. 12
    Article
    Avatar of kdnuggetsKDnuggets·3y

    5 Free Books on Natural Language Processing to Read in 2023

    Large language models are getting released left right and center, and if you want to understand them better you need to know about NLP. NLP is a subfield of artificial intelligence that helps models process, understand and output the human language. The field has advanced applications such as chatbots, text summarization, and more.

  13. 13
    Article
    Avatar of gopenaiGoPenAI·3y

    Building a Trading Strategy with Machine Learning Models and Yahoo Finance in Python.

    Building a Trading Strategy with Machine Learning Models and Yahoo Finance in Python. The first step in building a trading strategy is collecting historical stock market data. Yahoo Finance provides a convenient and reliable data source through its yfinance library.

  14. 14
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How to Create a Simple Calculator App in Django

    Django is a free and open-source Python web framework that helps you quickly develop secure and maintainable web applications. In this tutorial, I will guide you step by step as we create a calculator app using django. This is a beginner-friendly tutorial, so if you are new to Django, you can follow along.

  15. 15
    Article
    Avatar of cloudnativedailyCloud Native Daily·3y

    Top Tools for Python Monitoring

    Helios is a powerful observability platform that provides actionable insight into your Python application flow. New Relic is a complete monitoring platform that allows you to monitor, troubleshoot, and optimize software applications and infrastructure. Prometheus is a widely used open-source monitoring and alerting toolkit for monitoring Python applications.

  16. 16
    Article
    Avatar of kdnuggetsKDnuggets·3y

    Getting Started with ReactPy

    ReactPy gives users a simple, declarative view framework that efficiently scales applications to complex use cases. The interfaces of ReactPy are built using components that offer a similar experience to that found in ReactJS. In this blog post, we will explore ReactPy, learning how to build a simple application and run it both within a web browser and a Jupyter Notebook.

  17. 17
    Article
    Avatar of kdnuggetsKDnuggets·3y

    Stop Hard Coding in a Data Science Project – Use Config Files Instead

    Stop Hard Coding in a Data Science Project - Use Configuration Files Instead. Use Config Files Instead to efficiently interact with config files in Python. Use config files instead to avoid hard-coding because it can give rise to various issues. Maintainability: If values are scattered throughout the codebase, updating them consistently becomes harder.

  18. 18
    Article
    Avatar of colkgirlCode Like A Girl·3y

    Ports and adapters in Python-Domain Driven Design patterns

    Ports and Adapters in Python-Domain Driven Design patterns are an architectural pattern for building loosely coupled and maintainable applications. The application core consists of the business logic, which can be tested independently of the infrastructure. The adapters provide the interfaces to connect the core with the external world.