Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
View XuhuaHuang's full-sized avatar
๐Ÿ’ป
focusing
๐Ÿ’ป
focusing

Organizations

@united-earth-government

Block or report XuhuaHuang

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this userโ€™s behavior. Learn more about reporting abuse.

Report abuse
XuhuaHuang/README.md

Hi there ๐Ÿ‘‹, this is Xuhua

wakatime

From: 21 November 2025 - To: 21 December 2025

Total Time: 4 hrs 27 mins

Python       3 hrs 22 mins   >>>>>>>>>>>>>>>>>>>------   75.76 %
CSV          1 hr 3 mins     >>>>>>-------------------   23.77 %
JSON         1 min           -------------------------   00.47 %
Git Config   0 secs          -------------------------   00.00 %


Skills and badges

Skills

  • ๐Ÿ’ป C / C++ / Python
  • ๐Ÿ–ฅ๏ธ Rust / Cython / Java
  • ๐Ÿ—ƒ๏ธ Object-Oriented Programming

LinkedIn Skill Assessment Badges

More about me
  • ๐Ÿ”ญ Iโ€™m currently working on learning OpenCV4 with Python3 and Qt5.
  • ๐ŸŒฑ Iโ€™m currently learning Rust.
  • ๐Ÿ“ค Most used line of code git commit -m "Initial Commit".
  • ๐Ÿค” Iโ€™m looking for help with advanced Python and Machine Learning.
  • ๐Ÿ“ซ How to reach me: [email protected]
  • โšก Fun fact: code blooded animal std::code_blooded.
GitHub profile status

Overview

Top Languages

XuhuaHuang's Top Languages

Summary of Coding Activities

XuhuaHuang's Stats

XuhuaHuang's Streak

โค๏ธ Modern C++
/*****************************************************************//**
* \file   trimstr.hpp
* \brief  Demonstration of handy constant expressions that trim
*         `std::string` at compile time with `std::ranges`
*
* $ g++ trimstr.hpp -o trimstr.o -std=c++23 -Wall -Wextra -Wpedantic
*
* \author Xuhua Huang
* \date   March 2022
*********************************************************************/

#if defined __has_include
#if __has_include(<ranges>) && __has_include(<string>)
#include <ranges>
#include <string>
#else
#error "Require std::ranges and std::string library!"
#endif
#endif

inline constexpr auto trim_front = std::views::drop_while(::isspace);
inline constexpr auto trim_back = std::views::reverse
    | std::views::drop_while(::isspace)
    | std::views::reverse;

inline constexpr auto trim_spaces = trim_front | trim_back;

std::string trim_str(const std::string& str) {
    // std::rangesnext::to in C++23 proposal
    // that converts ranges to a container
    return str | trim_spaces | std::rangesnext::to<std::string>;
}

Pinned Loading

  1. EmbeddedProgramming EmbeddedProgramming Public

    Applied modern C/C++ in calculus, discrete mathematics, robotics and machine learning with CMake.

    C++ 11

  2. data-structures-algorithms data-structures-algorithms Public

    Learning Data Structures and Algorithms in C/C++ with Makefile and Python.

    C++

  3. LearnRust LearnRust Public

    Learn programming in Rust.

    Rust 5 2

  4. LearnPython LearnPython Public

    This repository contains code written in Python and Cython.

    Python

  5. String trim operation with C++20 views. String trim operation with C++20 views.
    1
    inline constexpr auto trim_front = views::drop_while(::isspace);
    2
    inline constexpr auto trim_back = views::reverse
    3
      | views::drop_while(::isspace)
    4
      | views::reverse;
    5
    
                  
  6. Single-header linear algebra library. Single-header linear algebra library.
    1
    // This is free and unencumbered software released into the public domain.
    2
    //
    3
    // Anyone is free to copy, modify, publish, use, compile, sell, or
    4
    // distribute this software, either in source code form or as a compiled
    5
    // binary, for any purpose, commercial or non-commercial, and by any