PythonProgrammingPuzzles
busybox
Our great sponsors
PythonProgrammingPuzzles | busybox | |
---|---|---|
11 | 6 | |
948 | 55 | |
0.6% | - | |
5.4 | 0.0 | |
6 days ago | about 5 years ago | |
Python | C | |
MIT License | GNU General Public License v3.0 or later |
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.
PythonProgrammingPuzzles
- Programming Puzzles
- A Dataset of Python Challenges for AI Research
-
Hacker News top posts: Sep 18, 2021
Python Programming Puzzles\ (3 comments)
- Python Programming Puzzles
- GitHub - microsoft/PythonProgrammingPuzzles: A Dataset of Python Challenges for AI Research
- Python Programming Puzzles for AI
- MIT, Microsoft & Allen AI Open-Source A Suite Of AI Programming Puzzles (P3: Python Programming Puzzles)
- microsoft/PythonProgrammingPuzzles
busybox
-
Sorry if this is too political.
Well.
- Guide: Hush Shell-Scripting Language
-
There's a tool to produce a diff-like output from c code?
Maybe you have better luck with the Busybox diff: https://github.com/brgl/busybox/blob/master/editors/diff.c
-
How could /dev/mem Linux directory be used in order to control the peripherals (MM/IO) ?
You can use busybox devmem to debug. The source code gives you an idea of how it works to write your own code.
-
Programming Puzzles
You can fairly easily spot things like recursive search tree implementations in the wild.
Also, compilers and interpreters often recursion, and that goes to as many levels as the program requires.
Have you heard of a "recursive descent parser"? GNU C++ uses one (a huge source file written in C++, well over a megabyte long). This will recurse as deeply as the program's nesting goes; C++ programs often go to more than three levels of nesting. (There are some non-recursive hacks mixed in there, like some operator precedence parsing involving an explicit stack: Shunting-Yard or similar?)
https://github.com/gcc-mirror/gcc/blob/master/gcc/cp/parser....
Let's switch over to embedded. Have you heard of BusyBox? BusyBox provides scaled down system utilities for embedded systems. It is very widely used.
BusyBox's "libb" internal library contains a function called "recursive_action" for walking file system trees. This is actually recursive, and frequently goes more than three levels deep in actual use:
https://github.com/brgl/busybox/blob/master/libbb/recursive_...
This is used by BusyBox programs like mdev (udev replacement) lsusb, lspci, chmod, ...
Also, HN isn't a good place to exhibit Lisp condescension/ignorance.
-
Go & secondary groups: a kaniko adventure!
This is almost the same implementation you see in busybox's id command source
What are some alternatives?
borb - borb is a library for reading, creating and manipulating PDF files in python.
barebox - The barebox bootloader - Mirror of ssh://[email protected]/barebox
headscale - An open source, self-hosted implementation of the Tailscale control server
gcc
doslinux - Run Linux programs on DOS
kaniko - Build Container Images In Kubernetes
busybox - BusyBox mirror
stshell
hush - Hush is a unix shell based on the Lua programming language
Popper - An inductive logic programming system
hush - hush (a Bourne-style shell) for the GNO multitasking environment on the Apple IIgs