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
- ๐ป C / C++ / Python
- ๐ฅ๏ธ Rust / Cython / Java
- ๐๏ธ Object-Oriented Programming
- โ๏ธ C++ Programming
- โ๏ธ Python Programming
- โ๏ธ Object-Oriented Programming
- โ๏ธ Object-Oriented Data Structures in C++
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.
โค๏ธ 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>;
}