rosettaboy VS osxphotos

Compare rosettaboy vs osxphotos and see what are their differences.

rosettaboy

A gameboy emulator in several different languages (by shish)

osxphotos

Python app to work with pictures and associated metadata from Apple Photos on macOS. Also includes a package to provide programmatic access to the Photos library, pictures, and metadata. (by RhetTbull)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
rosettaboy osxphotos
11 96
465 1,699
- -
8.6 9.4
26 days ago 5 days ago
C++ Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

rosettaboy

Posts with mentions or reviews of rosettaboy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-18.
  • When Zig Outshines Rust – Memory Efficient Enum Arrays
    7 projects | news.ycombinator.com | 18 Sep 2023
    As somebody who has written the same gameboy emulator in C++, Rust, and Zig (as well as C, Go, Nim, PHP, and Python) - I have yet to find a place where language affected emulation correctness.

    Gameboy audio is kind of a pain in the ass (at least compared to CPU, which is fairly easy, and GPU, which is easy to get "good enough” if you don’t care about things like palette colours being swapped mid-scanline) - and some languages take more or less code to do the same thing (eg languages which allow one block of memory to be interpreted in several different ways concurrently will make the “interpret audio RAM as a bunch of registers” code much shorter with less copying) - but in my case at least, each one of my implementations actually has the same audio distortions, presumably because I’m misreading some part of the hardware spec :P

    https://github.com/shish/rosettaboy/

    (Also yes, the zig version is currently failing because every time I look at it the build system has had breaking changes...)

  • Ask HN: Why did Nim not catch-on like wild fire as Rust did?
    16 projects | news.ycombinator.com | 25 Jun 2023
    Niceness is subjective, but Nim is just as valid an addition to that group. Nim compiles to C and has had an --os=standalone mode for like 10 years from its git history, and as mentioned else-thread (https://news.ycombinator.com/item?id=36506087) can be used for Linux kernel modules. Multiple people have written "stub OSes" in it (https://github.com/dom96/nimkernel & further along https://github.com/khaledh/axiom).

    While it can use clang as a backend, Nim does not rely upon LLVM support like Zig or Rust (pre-gcc-rust working). Use on embedded devices is fairly popular: https://forum.nim-lang.org/search?q=embedded (or web search).

    Latency-wise, for a time, video game programming was a perceived "adoption niche" or maybe "hook" for Nim and games often have stringent frame rendering deadlines. If you are interested in video games, you might appreciate https://github.com/shish/rosettaboy which covers all but Ada in your list with Nim being fastest (on one CPU/version/compiler/etc). Note, however, that cross-PL comparisons are often done by those with much "porting energy" but limited familiarity with any but a few of the PLs. A better way to view it is that "Nim responds well to optimization effort" (like C/Ada/C++/Rust/Zig).

  • Finished building a working Game Boy Color emulator using React and WebAssembly 🎮🕹️
    5 projects | /r/webdev | 20 Jun 2023
  • Ask HN: What have you created that deserves a second chance on HN?
    44 projects | news.ycombinator.com | 26 Jan 2023
    https://github.com/shish/rosettaboy

    The same gameboy emulator rewritten in C++, Go, Nim, PHP, Cython, Python, Rust, and Zig (and WIP typescript); mostly to teach myself the languages and to compare and contrast their idioms.

    Also, when taken with a very large grain of salt, usable as a language benchmark (As with all benchmarks, there are lots of caveats - but as far as I’m aware this is unique in being “the same code in multiple languages” and “several thousand lines of code”):

      $ ./utils/bench.py
  • Zig 0.10.0 Release Notes
    1 project | news.ycombinator.com | 31 Oct 2022
  • Python 3.11 is much faster than 3.8
    11 projects | news.ycombinator.com | 26 Oct 2022
  • Writing a Game Boy Emulator in OCaml
    1 project | news.ycombinator.com | 12 Jan 2022
    Looks very polished, but major disappointment that it's not showcasing OCaml as part of RosettaBoy (https://github.com/shish/rosettaboy)
  • Which programming language or compiler is faster
    7 projects | news.ycombinator.com | 18 Dec 2021
    I’m working on it :) https://github.com/shish/rosettaboy

    (Ok it’s 5-10k lines rather than a million, but it’s non-trivial enough that the differences between languages are noticable)

  • RosettaBoy – the same Gameboy emulator in Rust, Python, and C++
    1 project | /r/opensource | 8 Oct 2021
    2 projects | /r/programming | 8 Oct 2021

osxphotos

Posts with mentions or reviews of osxphotos. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-05.
  • Cleaning up my 200GB iCloud with some JavaScript
    8 projects | news.ycombinator.com | 5 Jan 2024
    > Any method that I've found to clean them up (exporting the originals, deleting them from the library, and then re-importing the JPEGs only seems easiest) will lose all of the years of metadata that I've built up in the library.

    The open source tool osxphotos (https://github.com/RhetTbull/osxphotos) can help with this. You can export the JPEG images while preserving metadata using the thrid-party exiftool utility:

    `osxphotos export /path/to/export --has-raw --skip-raw --exiftool`

    This exports all images that have a raw pair but skips the raw component then uses exiftool (https://exiftool.org/) to write the metadata (keywords, etc.) to the exported JPEG files. You can then re-import these into photos either by dragging them or by running `osxphotos import /path/to/export/*`

    Both the export and import commands have many other options for controlling export directory, etc. `osxphotos help export` or `osxphotos docs` to open docs in browser. (Disclaimer: I'm the author of osxphotos)

  • pipx install osxphotos fails
    1 project | /r/osxphotos | 10 Dec 2023
    See the issue tracker if you want to follow along. Hopefully this is an easy fix and I can push a patch today.
  • Delete empty albums
    1 project | /r/osxphotos | 7 Dec 2023
    In response to a question on the osxphotos GitHub Discussions page, I wrote a quick script to do prune empty albums and folders from Photos that can be run with osxphotos (version 0.65.0 and later). You can run the script directly from GitHub without downloading it first via:
  • Library backup
    1 project | /r/ApplePhotos | 5 Dec 2023
    You could try opening the library with PowerPhotos, a commercial app that can manage multiple Photos libraries, to see if it can read it. You could also try my free open source command line tool, osxphotos. Install it then run this command in the Terminal: osxphotos info --library /path/to/the/library This should print out a list of information about the library: number of photos, number of albums, keywords in the library, etc. If that works, then osxphotos can read the library and can likely export the photos for you so you could re-import into a new library.
  • Exploring EXIF
    5 projects | news.ycombinator.com | 6 Sep 2023
    I'm the author of the osxphotos[0] tool mentioned in the article. For photos in an Apple Photos library, osxphotos gives you access to a rich set of metadata beyond what's in the actual EXIF/IPTC/XMP of the image. Apple performs object classification and other AI techniques on your images but generally doesn't expose this to the user. For example, photos are categorized as to object in them (dog, cat, breed of dog, etc.), rich reverse geolocation info (neighborhood, landmarks, etc.) and an interesting set of scores such as "overall aesthetic", "pleasant camera tilt", "harmonious colors", etc. These can be queried using osxphotos, either from the command line, or in your own python code. (Ref API docs[1])

    For example, to find your "best" photos based on overall aesthetic score and add them to the album "Best Photos" you could run:

    osxphotos query --query-eval "photo.score.overall > 0.8" --add-to-album "Best Photos"

    To find good photos with trees in them you could try something like:

    osxphotos query --query-eval "photo.score.overall > 0.5" --label Tree --add-to-album "Good Tree Photos"

    There's quite a bit of other interesting data in Photos that you can explore with osxphotos. Run `osxphotos inspect` and it will show you all the metadata for whichever photo is currently selected in the Photos app.

    [0] https://github.com/RhetTbull/osxphotos

  • Third Party Apps that work with Apple Photos Library
    1 project | /r/ApplePhotos | 27 Aug 2023
    osxphotos is my own tool for power users to interact with Photos from the command line: export, batch edit, sync metadata, import, etc.
  • Alpha support for macOS Sonoma
    1 project | /r/osxphotos | 19 Jul 2023
    osxphotos v0.60.8 adds initial alpha support for macOS Sonoma (macOS 14.0.0 / Photos 9.0). Everything seems to be working but if you are beta testing Sonoma and use osxphotos I'd welcome any feedback you have!
  • How can I export my iCloud photo library to Amazon Photos on Mac OS?
    1 project | /r/DataHoarder | 5 Jun 2023
  • Shared Library: Albums Aren’t Shared
    1 project | /r/ApplePhotos | 16 May 2023
    I'm the author of the free/open source tool osxphotos which provides several utilities fo working with Photos and exporting your photos. You can use the batch-edit feature to automatically add the album name as a keyword and I believe keywords are shared across users. (I don't use shared libraries so can't confirm this). I am working on a feature to then automatically re-create the albums from the keywords on the target library. For now the keywords is a partial work around.
  • any program for MACOS or for Ubuntu that is free that allows you to edit the meta tags of photos en masse. Thanks!
    2 projects | /r/MacOS | 8 May 2023
    If you want to edit batch metadata of photos that are in the Apple Photos app on a Mac, I'm the author of a free tool, osxphotos that includes a batch-edit command that will edit the metadata in the Photos library.

What are some alternatives?

When comparing rosettaboy and osxphotos you can also consider the following projects:

procs - Unix process&system query&format lib&multi-command CLI in Nim

exiftool - ExifTool meta information reader/writer

shumai - Fast Differentiable Tensor Library in JavaScript and TypeScript with Bun + Flashlight

icloud-drive-docker - Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.

Programming-Language-Benchmark

photos_time_warp - Batch adjust the date, time, or timezone of photos in Apple Photos from the Mac command line.

axiom - A 64-bit kernel implemented in Nim

icloud_photos_downloader - A command-line tool to download photos from iCloud

awesome-python-typing - Collection of awesome Python types, stubs, plugins, and tools to work with them.

ipyflow - A reactive Python kernel for Jupyter notebooks.

KaithemAutomation - Pure Python, GUI-focused home automation/consumer grade SCADA

Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.