|4 months ago||5 days ago|
|MIT License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Show HN: CLI text processing with GNU sed (eBook)
3 projects | news.ycombinator.com | 29 Jun 2023
I am pleased to announce a new version of my "CLI text processing with GNU sed" ebook. This book heavily leans on examples to present features one by one. In addition to sed commands and options, regular expressions are also discussed in detail.
* PDF/EPUB versions: https://learnbyexample.gumroad.com/l/gnu_sed (free for a few days)
* Web version: https://learnbyexample.github.io/learn_gnused/ (always free)
* Markdown source, example files, etc: https://github.com/learnbyexample/learn_gnused
* Interactive TUI app for exercises: https://github.com/learnbyexample/TUI-apps/blob/main/SedExercises
I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.
Happy learning :)
Learn GNU grep and ripgrep with hundreds of examples and exercises
3 projects | /r/commandline | 10 May 2023
I also wrote an interactive TUI app based on some of the exercises from the ebook. Reference solutions are provided for both GNU grep and ripgrep.
What are some good online resources with regex problems (and solutions)?
2 projects | /r/regex | 24 Apr 2023
This year I started updating my existing books and I'm also creating interactive apps. Here's one for Python regex: https://github.com/learnbyexample/TUI-apps/blob/main/PyRegexExercises. Next is grep.
TUI app with 100+ interactive Python Regex exercises
2 projects | /r/Python | 22 Mar 2023
Having an interactive program that automatically loads questions and checks the solution is wonderful to have while learning a topic. I wrote a TUI app that has beginner to advanced level exercises for Python regular expressions. There are more than 100 exercises covering both the builtin re and third-party regex modules.
Show HN: Interactive Exercises for Python Regular Expressions
2 projects | news.ycombinator.com | 21 Mar 2023
Textual (TUI framework) widget gallery
3 projects | /r/programming | 7 Mar 2023
My first app with Textual was a board game. Like Tic Tac Toe but make a square on a 4x4 board: https://github.com/learnbyexample/TUI-apps/tree/main/SquareTicTacToe
Understanding Python re(gex)? with hundreds of examples and exercises (free till Feb 5)
3 projects | /r/Python | 31 Jan 2023
To make it easier to experiment, I'm currently working on an interactive app. See PyRegexPlayground repo for installation instructions and usage guide. A sample screenshot is shown below:
What are you guys using for making GUIs nowadays?
12 projects | /r/Python | 26 Jan 2023
Python regex playground
Are there any online classes/practice problems that focus on solidifying knowledge of bash
3 projects | /r/linuxquestions | 10 Jan 2023
I also made an interactive TUI app with 40 cli text processing exercises - I plan to cover all the 200+ exercises sometime later this year.
Bored with terminal but like the cli? Try my hybrid graphical shell
3 projects | /r/commandline | 23 Dec 2022
I wrote an interactive CLI exercises TUI with textual a few weeks back. Having a fixed location to play with commands interactively felt nice and I did wonder if something like could be expanded to make a nice terminal alternative for some tasks.
4 projects | news.ycombinator.com | 28 Nov 2023
I did not expect anything interesting, but this is actually cool.
> A full implementation of the NumPy API. Not something "NumPy-like" — just literally the NumPy API, with the same functions and the same arguments.
I suppose it's like https://cupy.dev/
Progress on No-GIL CPython
5 projects | news.ycombinator.com | 20 Oct 2023
What's the best thing/library you learned this year ?
12 projects | /r/Python | 16 Dec 2022
Cupy replicates the numpy and scipy APIs but runs on the GPU.
Making Python fast for free – adventures with mypyc
6 projects | news.ycombinator.com | 27 Sep 2022
For that, you can use cupy, PyTorch or Tensorflow. They all mimic the numpy's API with the possibility to use your GPU.
Is there a multi regression model that works on GPU?
2 projects | /r/learnmachinelearning | 4 Aug 2022
You can look into using CUPy to build some classical algorithms.
Examples of PyTorch usages NOT pertaining to Deep Learning?
2 projects | /r/pytorch | 29 Apr 2022
I never used it outside of DL. Why would you need that (I'm just curious)? There are projects like CuPy (or even just numba) which are adding the power of a gpu to numpy.
Update on my Python, C++ and Rust Library
2 projects | /r/Python | 29 Oct 2021
Fast Array Manipulation in Python: Since Numpy is the de facto standard for storing multi-dimensional data, any performance gain you see using librapid math kernels will need to be realized on data which probably started its life as a numpy array, and needs to be passed to another tool as a numpy array. Hopefully there will be (or already is?) a way to build a librapid array out of a numpy array without copying the data and vice versa. In fact I might suggest that librapid focus on the fast math operations and simply become an accelerator for numpy arrays. For instance, look at CuPy which provides GPU-implemented operations within a numpy-compatible API, and Bottleneck which simply provides fast C-based implementations of some otherwise slow parts of Numpy. Also note that numpy *can* be multi-threaded depending on the operation and some environment variables. Single-threaded to Single-threaded I think you will be hard-pressed to beat Numpy on general math operations, but that doesn't mean there aren't specific "kernels" that are more specialized that can be greatly improved with a C++ back-end.
What is the best programming language to use to create a high performance backtesting framework?
4 projects | /r/algotrading | 15 Jun 2021
Inspired by hudsmith's previous post, here are the first 50 eigenstates in a potential that consists of four inverted Gaussian wells
5 projects | /r/Physics | 30 Mar 2021
Curious, have you looked into CuPy or Numba to help speed up your calculations? They are both relatively easy to implement.
Cache compiled version of package
2 projects | /r/learnpython | 25 Mar 2021
pip install wheel git clone --recursive https://github.com/cupy/cupy.git cd cupy python setup.py bdist_wheel
What are some alternatives?
cunumeric - An Aspiring Drop-In Replacement for NumPy at Scale
Numba - NumPy aware dynamic Python compiler using LLVM
scikit-cuda - Python interface to GPU-powered libraries
TensorFlow-object-detection-tutorial - The purpose of this tutorial is to learn how to install and prepare TensorFlow framework to train your own convolutional neural network object detection classifier for multiple objects, starting from scratch
bottleneck - Fast NumPy array functions written in C
Poetry - Python packaging and dependency management made easy
python-performance - Repository for the book Fast Python - published by Manning
dpnp - Data Parallel Extension for NumPy
3d-ken-burns - an implementation of 3D Ken Burns Effect from a Single Image using PyTorch
opt_einsum - ⚡️Optimizing einsum functions in NumPy, Tensorflow, Dask, and more with contraction order optimization.
textual - The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
CUDA.jl - CUDA programming in Julia.