Skip to content
Code_Underscored_logo
  • Python
  • Django
  • Web Development
  • Machine Learning
  • C++
  • Java
Code_Underscored_logo
  • Binary Search program
    Python

    Binary Search program in Python

    ByHumphrey February 18, 2022March 2, 2024

    In a sorted array, binary search is a searching technique that divides the search interval in half periodically. The goal behind binary search is to use the fact that the array is sorted to reduce the time complexity to O(log n).

    Read More Binary Search program in PythonContinue

  • download YouTube videos using Python
    Python

    How to download YouTube videos using Python

    ByHumphrey February 18, 2022March 2, 2024

    YouTube is a well-known video-sharing platform. You will be required to download a third-party downloader and use it to obtain the video or go to any other website that will get the video and store it on your PC. However, this task is simple to accomplish with Python.

    Read More How to download YouTube videos using PythonContinue

  • toString with examples
    Java

    Java toString – How to use it?

    ByLucy February 17, 2022March 2, 2024

    ToString() is a Java built-in method that returns a string representation of the value sent to it. As a result, any object on which this method is called will be returned as a string object.

    Read More Java toString – How to use it?Continue

  • Strings in JavaScript
    JavaScript

    Strings in JavaScript

    ByLucy February 14, 2022March 2, 2024

    A sequence of characters is represented and manipulated using the String object. You can use Strings to store data that can be represented as text. Checking the length of a string, building and concatenating it with the plus and += string operators, checking for substrings’ existence or location with the indexOf() method, and extracting substrings with the substring() method are some of the most common operations on strings.

    Read More Strings in JavaScriptContinue

  • Converting bytes to a string
    Python

    How to convert bytes to a string in Python

    ByHumphrey February 14, 2022March 2, 2024

    Data types are the classification or categorizing of data elements. The latter denotes the kind of value that specifies which operations are performed on a given data set. Data types are classes, and variables are instances (objects) of these classes because everything in Python programming is an object.

    Read More How to convert bytes to a string in PythonContinue

  • fairness machine learning
    Machine Learning

    Fairness in machine learning systems

    ByLucy February 13, 2022March 2, 2024

    The term “fairness” is used frequently in artificial intelligence (AI) and machine learning (ML). “Fairness” is a critical component of most responsible and ethical AI principles. But what does that imply in practice, and what constitutes a “fair” machine learning system?

    Read More Fairness in machine learning systemsContinue

  • Single Object Mixins
    Django

    SingleObjectMixin in Django

    ByHumphrey February 13, 2022March 2, 2024

    Many capabilities are built-in to Django’s class-based view, but you may need to use some of them individually. You could want to construct a view that renders a template for an HTTP response, but you can’t use TemplateView; Maybe you need to render the template POST on it and get the GET to accomplish what you want.

    Read More SingleObjectMixin in DjangoContinue

  • TemplateView in Django
    Django

    TemplateView in Django

    ByHumphrey February 10, 2022March 2, 2024

    A view is a callable that receives a request and responds. Django gives an example of several classes you can use like views, so this can be more than just a function. You may arrange your views and reuse code by utilizing inheritance and mixins.

    Read More TemplateView in DjangoContinue

  • ListView in Django
    Django

    ListView in Django

    ByHumphrey February 10, 2022March 2, 2024

    Function-based Views Django, one of the core fundamentals is the ListView. Views can be implemented as Python objects instead of functions using class-based views.

    Read More ListView in DjangoContinue

  • Heapq in Python
    Python

    Heapq in Python (with examples)

    ByHumphrey February 9, 2022March 2, 2024

    Heapq is an abbreviation for heap and queues. They’re notable for tackling various challenges, including finding the best element in a dataset. We can optionally sort the smallest item first or vice versa when dealing with data collections. Python’s heapq belongs to the standard library. For the formation of a heap, this function uses a conventional Python list.

    Read More Heapq in Python (with examples)Continue

  • Model Formsets in Django
    Django

    Model Formsets in Django

    ByHumphrey February 8, 2022March 2, 2024

    ModelFormsets are a more advanced approach of dealing with numerous forms built using a model and using them to construct model instances in Django. In other words, ModelFormsets are a collection of Django forms. For example, you might want to create many forms on a single page, each of which may require multiple POST requests.

    Read More Model Formsets in DjangoContinue

  • write to file in Java
    Java

    8 Ways to Write to File in Java

    ByLucy February 8, 2022March 2, 2024

    We’ll look at many methods for writing to a file in Java. These include BufferedWriter, PrintWriter, FileOutputStream, DataOutputStream, RandomAccessFile, FileChannel, and the Java 7 Files utility class used in this example. We’ll also discuss locking the file while writing and several other aspects of writing to file.

    Read More 8 Ways to Write to File in JavaContinue

Page navigation

Previous PagePrevious 1 … 11 12 13 14 15 … 32 Next PageNext
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy

© 2025 Code Underscored. All Rights Reserved.

A PART OF VIBRANT LEAF MEDIA COMPANY.

  • Python
  • Django
  • Web Development
  • Machine Learning
  • C++
  • Java
Search