repairwheel
VideoFlashingReduction | repairwheel | |
---|---|---|
8 | 3 | |
175 | 27 | |
2.3% | - | |
1.9 | 8.1 | |
about 1 year ago | 3 months ago | |
Mathematica | Python | |
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.
VideoFlashingReduction
-
Ask HN: What rabbit hole(s) did you dive into recently?
Apple also worked on reducing seizures:
https://github.com/apple/VideoFlashingReduction
https://developer.apple.com/documentation/mediaaccessibility...
Apple users can dim flashing lights in settings
-
tvOS 16.4 & iOS 16.4 have a new safety feature to protect epileptics
For those that are interested in the technical detail, Apple has posted some code on GitHub, along with a paper describing the algorithm and approach.
- Is anyone getting the new 16.4 “Dim Flashing Lights” accessibility feature only on the iPhone and not on the iPad? (More in text.)
- Apple opened algorithm for dimming flashing lights
- Dim Flashing Lights in latest iOS/tvOS
- Apple Detection of Flashing Lights
repairwheel
-
Ask HN: What rabbit hole(s) did you dive into recently?
I got into cross-compiling Python wheels (e.g., building macos wheels on linux and vice versa). Zig's `zig cc` does much of the heavy lifting, but one step in building a portable wheel is the "repair" process which vends native library dependencies into the wheel, necessitating binary patching (auditwheel does this for linux, delocate for macos).
I wanted to be able to do this cross platform, so I re-implemented ELF patching and Mach-O patching and adhoc signing in Python, and wrapped them into a tool called repairwheel: https://github.com/jvolkman/repairwheel
-
Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
I'll plug some work I've been doing to (attempt to) enable cross compilation of Python wheels. I put together a small example [1] that builds the zstandard wheel, and can build macos wheels on linux and linux wheels on macos using zig cc.
macos wheels must still be adhoc signed (codesign) and binary patched (install_name_tool), so I re-implemented those functions in Python [2].
[1] https://github.com/jvolkman/bazel-pycross-zstandard-example
[2] https://github.com/jvolkman/repairwheel/tree/main/src/repair...
-
Sunday Daily Thread: What's everyone working on this week?
I mixed auditwheel, delocate, and delvewheel into a single tool called repairwheel and reimplemented all of the required external tools (patchelf, otool, codesign, etc.) in pure python.
What are some alternatives?
tensorflow-windows-wheel - Tensorflow prebuilt binary for Windows
cibuildwheel - 🎡 Build Python wheels for all the platforms with minimal configuration.
twine - Utilities for interacting with PyPI
py2exe - Create standalone Windows programs from Python code