/r/ProgrammerTIL

Photograph via snooOG

Learn something new? Wanna share? Post here along with the language/framework you learned it in.

This is a great place for novice and advanced programmers alike to come and discover all the interesting things they could learn tomorrow ;)

Learn something new? Wanna share? Post here along with the language/framework you learned it in.

This is a great place for novice and advanced programmers alike to come and discover all the interesting things they could learn tomorrow


  Sort by language C# Java Javascript PHP .NET C++ Python C Objective-C R Swift VBA Visual Basic Matlab Ruby Perl ScalaDelphi lua SQL Other Languages Other

 

Remove filter


  Learn something about technology? Post it on r/technologytil

Learn something about real life or something not programming? Post it on the original /r/todayilearned


  Rules

  1. TIL posts should be made in the following format:

[programming language] TIL rest of post...

If you don't you'll need to flair your post manually.

  • Refrain from putting two languages in between the brackets in the title.

  • Don't post suggestion threads, message the moderators instead.

  • This isn't an AskProgrammers sub, ask questions on /r/learnprogramming

  • Don't use the code as the title.


  •  

    Guidelines

    1. Try not to post vague titles, if possible, provide the name of the feature in the title so people aren't clicking on your post because of "this fast and clever way to do x" that they already knew but didn't realize it's what you where going to show.

    2. Don't criticize posts because they're "too obvious", not everyone here is a level 100 master champion Assembly programmer that made their own OS from scratch.

    3. General programming TILs should be tagged with [General].

    4. Be nice to your fellow programmers. :)

    /r/ProgrammerTIL

    38,572 Subscribers

    0

    Engineering managers: Hit me with good advices (or horror stories) about working with SW agencies.

    Hey all, I’m curious about your experiences working with software agencies. What’s worked well? What hasn’t? How do you manage communication, team alignment, and project expectations? Any red flags you’ve noticed or tips for a smoother partnership?

    0 Comments
    2024/10/08
    09:46 UTC

    0

    Spotify Recommendations System

    Howdy Reddit!!

    i made my spotify recommendations system which is a huggingface spaces app allowing you to generate recommendations based on the music taste you have, steps on how to use it :-

    https://huggingface.co/spaces/krishnendughosh/Spotify-Recommendations-System (heres the link)

    a)first you need to login to your spotify account after which you will get a callback url which you need to copy paste in the interface to initiate the app

    b)you get 5 songs on which u can base the generations off, minimum songs you can add is 1 maximum is 5

    c)after this step you can choose on how many songs generated playlist you want, the default or minimum is set to 5 songs

    c)then you click the generate recommendations button creating the playlist which will be shown first to you where you can overview all the songs (generated+added) in the form of spotify preview letting you listen to all the songs for a amount of time.

    d) you can name it a designated playlist name you want which will form a spotify playlist whose link will be provided after all the above steps

    e) enjoy your musical adventure

    i have also provided a video demo which you can view on youtube the link is given on this (ps: the choosing number of recommendations feature is yet not added in the video meanwhile it is present now)

    https://youtu.be/OAxsvKLg0BM?si=QnznFqE8dIGyjUUn

    drop down suggestions and queries in comments

    hmu if you guys are interested in my newsletter containing weekly updates about this and more stuff

    here's my github profile if you wanna see it
    https://github.com/6069krish

    2 Comments
    2024/10/07
    16:00 UTC

    0

    Software Testing Podcasts in 2024 - Guide

    The guide below provides a software testing podcast collection, providing expert insights to stay up to date on the latest trends on different aspects of testing: Best 10 Software Testing Podcasts in 2024

    • Functional Testing Podcasts (Test & Code, The Testing Show)
    • Automation Testing Podcasts (Automation Awesomeness, TestGuild)
    • Performance Testing Podcasts (PerfBytes, STP Radio)
    • Quality Assurance and Best Practices Podcasts (The QA Lead, Testing Peers)
    • Security Testing Podcasts (Application Security, Security Weekly)
    0 Comments
    2024/09/23
    18:56 UTC

    0

    Top Coding AI Copilots Compared - CodiumAI, GitHub Copilot, Replit, Cursor

    The comparison below discusses the best coding AI copilots for 2024 - as advanced tools that assist developers throughout the software development lifecycle by providing real-time code suggestions and completions (which distinguishes them from regular coding AI assistants that may only offer task-specific support): 4 Best Coding AI Copilots for 2024

    It explains the key benefits of these copilots as increased efficiency, error reduction, consistent code quality, and natural language processing.

    2 Comments
    2024/09/18
    12:42 UTC

    1

    Software Testing Best Practices Checklist: Guide & Templates

    The article discusses best practices and various aspects of software testing, to provide a comprehensive checklist to ensure effective testing processes: Software Testing Best Practices Checklist

    • Test Planning
    • Test Design
    • Test Execution
    • Defect Management
    • Continuous Improvement
    0 Comments
    2024/09/17
    21:01 UTC

    0

    Pujo Atlas Developer Call-The Ultimate Pandal Hopping Guide to Durga pujo in Kolkata!

    Join the Pujo Atlas Project: Calling Flutter, Django, and Web Developers!

    At r/kolkata, we’re building Pujo Atlas—an app that will be a go-to resource for Pujo enthusiasts and pandal hoppers. This app will guide users to notable Durga Puja pandals across the city, helping them explore Kolkata's rich cultural heritage during the festivities.

    Current Challenge

    While we’ve made significant progress on the UI/UX front, our frontend and backend development is lagging due to a lack of dedicated developers. We need contributors with expertise in Flutter (frontend) and Django (backend) to help push the project forward.

    What We’re Looking For

    Backend (Django, Python):

    • Strong knowledge of Django and Python for backend services.

    Frontend (Flutter/Dart):

    • Experience building cross-platform mobile apps using Flutter.

    DevOps (AWS):

    • Familiarity with setting up and maintaining services on AWS.

    UI/UX:

    • Experience working with Figma, Material 3 Design, and optionally Apple Human Interface Guidelines.

    Web Development (React & TypeScript):

    • Tech stack: React, TypeScript
    • Nice-to-have: Familiarity with Git, Astro, Tailwind, and Leaflet
    • Level: Beginner in React & TypeScript, but with a solid understanding of JavaScript. Should have experience building mobile-responsive web apps with React.

    Incentives

    Pujo Atlas is an FOSS project, so while we cannot provide monetary compensation, we will offer recognition and credits for your contributions. In the future, we hope to distribute physical tokens to contributors, which can be showcased in various social settings to acknowledge your affiliation with the project.

    GitHub Repo: Pujo Atlas Frontend

    Interested?

    If this project resonates with you and you’d like to be part of this journey, feel free to DM me for an invite link! Also, if you have any questions, don’t hesitate to ask in the comments.

    Signing off,
    u/suspicious-tooth-93

    1 Comment
    2024/09/16
    06:09 UTC

    3

    FetchPHP – A Simple, Open Source HTTP Library for PHP Inspired by JavaScript’s `fetch`

    Hey everyone!

    I’m excited to introduce FetchPHP, a lightweight and open source HTTP library for PHP, directly inspired by JavaScript’s fetch API. It simplifies making HTTP requests in PHP while providing both synchronous and asynchronous support, making it perfect for API requests, file uploads, and more.

    Key Features:

    • Synchronous and Asynchronous Support
    • Simple API, inspired by JavaScript’s fetch
    • Handles JSON, Multipart, Form Data with ease
    • Status Helpers like ok(), isClientError(), and isServerError()

    Check it out on GitHub! I’d love your feedback and suggestions. If you find it useful, consider giving the project a ⭐️ to support further development. 🙌

    🔗 GitHub Repository: Link to the project

    Thanks for reading 😊

    0 Comments
    2024/09/14
    08:52 UTC

    4

    Python Testing Automation Tools Compared

    This article provides an overview of various tools that can help developers improve their testing processes - it covers eight different automation tools, each with its own strengths and use cases: Python Automation Tools for Testing Compared - Guide

    • Pytest
    • Selenium WebDriver
    • Robot Framework
    • Behave
    • TestComplete
    • PyAutoGUI
    • Locust
    • Faker
    0 Comments
    2024/09/10
    05:41 UTC

    2

    Enhancing Software Testing Methodologies - Guide

    The article discusses strategies to improve software testing methodologies by adopting modern testing practices, integrating automation, and utilizing advanced tools to enhance efficiency and accuracy in the testing process. It also highlights the ways for collaboration among development and testing teams, as well as the significance of continuous testing in agile environments: Enhancing Software Testing Methodologies for Optimal Results

    The functional and non-functional testing methods analysed include the following:

    • Unit testing
    • Integration testing
    • System testing
    • Acceptance testing
    • Performance testing
    • Security testing
    • Usability testing
    • Compatibility testing
    0 Comments
    2024/09/09
    08:37 UTC

    0

    Alpha Testing vs. Beta Testing: Key Differences Analyzed

    The article below discusses the differences between alpha testing and beta testing - the goals, processes, and importance of both testing phases in ensuring software quality. It explains how alpha testing is typically conducted by internal teams to identify bugs before the product is released to external users, while beta testing involves a limited release to external users to gather feedback and identify any remaining issues: Alpha Testing vs. Beta Testing: Understanding Key Differences and Benefits

    0 Comments
    2024/09/05
    07:47 UTC

    0

    Did you know that you can transform any website into a Mobile App?

    It's pretty simple actually. You can basically transform any website into a Progressive Web App that can later be distributed on App Store and Google Play. It's awesome, you can send push notifications, pre cache assets, fetch data in the background and hook into native APIs of the devices. Here is a Laravel tutorial that can be applied in any stack: https://youtu.be/xA9B2hwA1-w?si=qv8rmQDUGtiN8Dtt

    4 Comments
    2024/09/03
    20:33 UTC

    5

    9 Top DevOps Testing Tools For 2024 Compared

    The article discusses various testing tools that are commonly used in DevOps workflows. It provides an overview of the following popular tools for different types of testing (unit, integration, performance, security, monitoring) to help choose the right testing tools for their specific needs and integrate them: 9 Best DevOps Testing Tools For 2024

    • QA Wolf
    • k6
    • Opkey
    • Parasoft
    • Typemock
    • EMMA
    • SimpleTest
    • Tricentis Tosca
    • AppVerify
    0 Comments
    2024/08/26
    14:10 UTC

    4

    Ways to Reduce Test Automation Execution Times - Guide

    This article discusses various strategies and best practices for reducing test automation execution times: Best Ways to Reduce Test Automation Execution Times

    It covers techniques such as parallel test execution, test prioritization, and optimizing test environments to improve the overall speed and effectiveness of automated testing workflows, etc.

    0 Comments
    2024/08/21
    19:13 UTC

    0

    Top Test Management Tools Compared

    The article discusses the best test management tools available for software development and quality assurance. It provides an overview of the following tools - how they help teams plan, execute, and track testing processes efficiently: 10 Best Test Management Tools For 2024

    1. TestRail
    2. Xray
    3. Tricentis qTest
    4. Tuskr
    5. Testiny
    6. TestMonitor
    7. aqua ALM
    8. Micro Focus Silk Central
    9. QMetry
    10. Katalon
    0 Comments
    2024/08/20
    09:37 UTC

    2

    Mastering Conformance Testing for Software: Guide

    The article below provides an in-depth overview of conformance testing for ensuring that software systems adhere to specified standards and requirements: Conformance Testing for Software

    It outlines the various approaches to conformance testing, including formal methods, model-based testing, and automated testing techniques as well as discusses its best practices, such as creating a clear testing strategy, utilizing appropriate tools, and ensuring thorough documentation.

    0 Comments
    2024/08/19
    12:51 UTC

    0

    CI/CD Tools For DevOps - Comparison

    The article discusses the best CI/CD tools for DevOps, its role in automating the software development process, improving code quality, and accelerating the release cycles - their features, benefits, and use cases, providing insights into how they can enhance DevOps practices: The 11 Best CI/CD Tools For DevOps

    1. Jenkins
    2. GitLab
    3. CircleCI
    4. TravisCI
    5. Bamboo
    6. TeamCity
    7. Azure Pipelines
    8. AWS CodePipeline
    9. GitHub Actions
    10. ArgoCD
    11. CodeShip
    2 Comments
    2024/08/15
    13:46 UTC

    1

    Testing Documentation: Benefits, Use Cases, and Best Practices

    The guide explores common use cases for testing documentation, such as verifying API documentation, testing installation guides, and validating user manuals as well as best practices for testing documentation, including using automated tools, conducting regular reviews, and involving cross-functional teams: Testing Documentation: Benefits, Use Cases, and Best Practices

    0 Comments
    2024/08/09
    13:25 UTC

    0

    Open-source implementation of Meta’s TestGen–LLM - CodiumAI

    In Feb 2024, Meta published a paper introducing TestGen-LLM, a tool for automated unit test generation using LLMs, but didn’t release the TestGen-LLM code.The following blog shows how CodiumAI created the first open-source implementation - Cover-Agent, based on Meta's approach: We created the first open-source implementation of Meta’s TestGen–LLM

    The tool is implemented as follows:

    1. Receive the following user inputs (Source File for code under test, Existing Test Suite to enhance, Coverage Report, Build/Test Command

    Code coverage target and maximum iterations to run, Additional context and prompting options) 2. Generate more tests in the same style 3. Validate those tests using your runtime environment - Do they build and pass? 4. Ensure that the tests add value by reviewing metrics such as increased code coverage 5. Update existing Test Suite and Coverage Report 6. Repeat until code reaches criteria: either code coverage threshold met, or reached the maximum number of iterations

    0 Comments
    2024/08/08
    16:54 UTC

    9

    Phantom Menace: memory leak that wasn't there

    I wrote down the story https://flakm.com/posts/phantom_leak/ of a frustrating debugging journey with a rust application that was migrated to Kubernetes.

    Everything seemed fine until a suspected memory leak caused our application to scale uncontrollably. I dove deep into tracing memory usage with eBPF, heaptrack, and jemalloc profiling tools.

    The real twist came when I discovered that the memory leak was a phantom menace - a misinterpretation of Kubernetes memory metrics rather than a genuine issue.

    This post details the steps I took, the tools I used, and the lessons I learned about problem-solving, metric accuracy, and effective debugging in containerized environments.

    0 Comments
    2024/08/06
    04:29 UTC

    2

    8 Web Apps Testing Tools Compared

    The article below highlights various tools that can help ensure the functionality, performance, and security of web applications - their features, and how they can be utilized in the development process to improve software quality: 8 Best Web Apps Testing Tools

    • TestComplete
    • Selenium
    • Katalon Studio
    • Ranorex Studio
    • BugBug
    • Mabl
    • Zed Attack Proxy
    • Tricentis Testim
    0 Comments
    2024/08/05
    08:50 UTC

    0

    5 QA Automation Tools Compared

    The article explains the importance of QA automation in the software development process as well as delves into a detailed analysis of five popular Ai-driven automation tools, highlighting their features, advantages, and potential drawbacks: 5 Best QA Automation Tools For Software Testing

    • CodiumAI
    • TestRigor
    • Tricentis Tosca
    • Avo Assure
    • EndTest
    0 Comments
    2024/08/02
    08:44 UTC

    0

    Building a Code Review Checklist - Guide

    The guide below presents a detailed code review checklist covering various aspects such as code functionality, readability, maintainability, security, and performance - to help developers and teams improve their code review process: Elevating Code Quality: The Ultimate Code Review Checklist

    0 Comments
    2024/08/01
    19:43 UTC

    1

    Web Apps Testing Tools Compared - Guide

    The article below highlights various tools that can help ensure the functionality, performance, and security of web applications - their features, and how they can be utilized in the development process to improve software quality: 8 Best Web Apps Testing Tools

    • TestComplete
    • Selenium
    • Katalon Studio
    • Ranorex Studio
    • BugBug
    • Mabl
    • Zed Attack Proxy
    • Tricentis Testim
    2 Comments
    2024/07/31
    07:52 UTC

    0

    Top Code Review Tools For 2024 - Comparison

    The article explores the importance of code reviews in software development, outlines the advantages of conducting code reviews, such as early bug detection, compliance with coding standards, and improved team communication as well as introduces top code review tools for 2024: Code Review Tools For 2024 - Guide

    • PR-Agent
    • GitHub
    • Bitbucket
    • Collaborator
    • Crucible
    • JetBrains Space
    • Gerrit
    • GitLab
    • RhodeCode
    0 Comments
    2024/07/23
    09:00 UTC

    0

    Building code generation that makes sense for the enterprise

    The guide discusses the development and implementation of code generation tools tailored for enterprise environments as well as the specific challenges enterprises face when adopting code generation, such as maintaining code quality, ensuring security, and integrating with existing systems: Building code generation that makes sense for the enterprise

    0 Comments
    2024/07/20
    06:08 UTC

    0

    Static Code Analysis Tools Compared

    This article discusses the top 8 static code analysis tools for 2024 - how they examine source code without executing it, helping developers identify potential bugs, security vulnerabilities, and code quality issues early in the development process: 8 Best Static Code Analysis Tools For 2024

    • CodiumAI
    • PVS Studio
    • ESlint
    • SonarQube
    • Fortify Static Code Analyzer
    • Coverity
    • Codacy
    • ReSharper
    2 Comments
    2024/07/16
    09:50 UTC

    0

    SOC 2 Coding Compliance - Guide

    The guide provides a comprehensive SOC 2 compliance checklist that includes secure coding practices, change management, vulnerability management, access controls, and data security, as well as how it gives an opportunity for organizations to elevate standards, fortify security postures, and enhance software development practices: SOC 2 Compliance Guide

    2 Comments
    2024/07/02
    10:17 UTC

    0

    GitHub Pull Requests vs. GitLab Merge Requests Compared

    The article below explains the key distinctions and workflows associated with pull requests (PRs) on GitHub and merge requests (MRs) on GitLab: Pull Request vs. Merge Request: Essential Differences

    It is highlighting their roles in facilitating collaborative software development. It outlines how both PRs and MRs serve to integrate changes into the main codebase through a structured process involving branch creation, code changes, commits, and review, as well as emphasizes the benefits of using PRs and MRs, such as streamlined workflows, enhanced communication, and transparent version history.

    It also introduces how AI-powered tools simplify code review processes, offering features like automatic PR descriptions, test suggestions, and code improvement recommendations.

    1 Comment
    2024/06/25
    14:55 UTC

    19

    Developers’ reality check, according to Gergely Orosz: More work, ‘boring’ tech, and less promotions

    Everyday work and career oppurtunities of software developers have changed drastically in the last two years.

    https://shiftmag.dev/developer-careers-gergely-orosz-3512/

    1 Comment
    2024/06/11
    10:25 UTC

    0

    Will AI Take Over Programming Jobs - Analysis

    The article explores how integrating AI into your workflow can dramatically increase your productivity and allow you to focus on the creative and complex aspects of software development: Will AI Take Over Your Programming Job?

    Continuous learning and adaptation are crucial in staying relevant and making the most of the AI revolution in tech. AI in software development is less about replacing developers and more about enhancing their capabilities, allowing them to achieve more with their unique human insights. As AI handles the mundane, the creative and complex aspects of programming will come to the forefront.

    2 Comments
    2024/05/30
    13:06 UTC

    Back To Top