Silicon-Info
buildx
Silicon-Info | buildx | |
---|---|---|
7 | 28 | |
279 | 3,239 | |
- | 1.7% | |
0.0 | 9.6 | |
over 3 years ago | 1 day ago | |
Swift | Go | |
MIT License | Apache License 2.0 |
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.
Silicon-Info
-
How do I know if I am using the M1 version of a program and not the Intel version?
It's a free, open-source utility that someone has generously released to the public. I find it useful. I often install and run lots of different apps and open-source things, and sometimes it's convenient to be able to just look at an icon in the menu bar to confirm whether something is running under Rosetta or not. Other people find it useful too. Just because you don't have a use for it, doesn't mean nobody else in the world does either.
-
Ask HN: How are you dealing with the M1/ARM migration?
> Curious to see what, if anything, is running under translation
There's a useful app called Silicon Info on Github (https://github.com/billycastelli/Silicon-Info) and also on the Mac App Store.
It adds a menu bar icon that switches according to the currently-focused app's architecture.
-
nix-build unsupported system
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs-channels/archive/b58ada326aa612ea1e2fb9a53d550999e94f1985.tar.gz") {} }: pkgs.stdenv.mkDerivation rec { pname = "silicon-info"; version = "1.0.3"; src = pkgs.fetchurl { url = "https://github.com/billycastelli/Silicon-Info/releases/download/1.0.3/Silicon.Info.app.zip"; sha256 = "raa6RmXiqilz4vrvWfMSzIKuaJUFI2xMLUErw64Y0Pk="; }; installPhase = '' mkdir -p $out/Applications mv "Silicon Info.app" $out/Applications ''; meta = with pkgs.lib; { description = "Silicon Info is a tiny menu bar application allows the user to quickly view the architecture of the currently running application."; license = licenses.mit; homepage = "https://github.com/billycastelli/Silicon-Info"; platforms = platforms.darwin; }; }
-
Welcome new Apple Silicon users! Check out my (tiny) menu bar app that displays if a running application is optimized for ARM
Of course, it is free and open source (check out the code on Github!).
-
Common Questions about Apple Silicon - Does It ARM
If you already own an Apple Silicon Mac and want to know which apps are running natively as opposed to via Rosetta 2 translation, you can download Silicon Info and see a report of the apps
-
Intel or Apple. Discover it directly using your MenuBar
I'm not sure OP is the developer, but moreso someone trying to just share.. mac app news. I feel the picture and description is self explanatory if you have one, but the full github release is here: https://github.com/billycastelli/Silicon-Info
buildx
-
BuildKit in depth: Docker's build engine explained
This is great! I’ve been waiting a long time for this and it seems like more debug features are in the pipeline too: https://github.com/docker/buildx/issues/1104
Docs: https://docs.docker.com/engine/reference/commandline/buildx_...
-
Nx + NextJS + Docker - The Nx way: Creating the NextJS application
Container engine: Docker v23.0.4 | Buildx v0.10.4
- Using Docker Buildx to Create Cross-Platform Docker Images for Seamless Compatibility
-
Cross-platform container images with buildx and colima
ARCH=amd64 # change to 'arm64' for M1 VERSION=v0.10.4 curl -LO https://github.com/docker/buildx/releases/download/${VERSION}/buildx-${VERSION}.darwin-${ARCH} mkdir -p ~/.docker/cli-plugins mv buildx-${VERSION}.darwin-${ARCH} ~/.docker/cli-plugins/docker-buildx chmod +x ~/.docker/cli-plugins/docker-buildx docker buildx version # verify installation
-
Help Downloading Buildx on Play-with-Docker Instance
wget -O /tmp/docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/tag/v0.10.4/buildx-v0.10.4.linux-amd64
-
docker-ce upgrade broke my builds
Your particular one looks somewhat like https://github.com/docker/buildx/issues/1595.
-
One Dockerfile is all it takes, falling in love with bake
Now, we have examples of the actual definitions for a single application’s docker container. Notice that we set the contexts key here which references the dependency targets we just defined. You can basically think of this like the depends_on block if you’ve used Terraform before. The args key let’s us populate the ARG variables in the Dockerfile. This is what is ultimately different between each of the containers. In the future, the buildx team might support using for_each loops like in Terraform but for now each block will have a bit of duplication.
-
Optimize your docker containers
Now as bonus we i will add how to use this techniques to build a multi arch build container. Maybe you have the same application but you need to run it in arm or riscv architecture. For this we can use the buildx plugin from docker https://github.com/docker/buildx.
-
Pushing Cutom Images to Docker Hub using GitHub Actions
Third step is docker/setup-buildx-action configures buildx, which is a Docker CLI plugin that provides enhanced build capabilities.
- How to build multi-architecture Docker images?
What are some alternatives?
doesitarm - 🦾 A list of reported app support for Apple Silicon as well as Apple M2 and M1 Ultra Macs
buildkit - concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
nixpkgs-channels - DEPRECATED! Use NixOS/nixpkgs repository instead.
ghaction-docker-meta - GitHub Action to extract metadata (tags, labels) for Docker [Moved to: https://github.com/docker/metadata-action]
CoolProp - Thermophysical properties for the masses
aws-graviton-getting-started - Helping developers to use AWS Graviton2 and Graviton3 processors which power the 6th and 7th generation of Amazon EC2 instances (C6g[d], M6g[d], R6g[d], T4g, X2gd, C6gn, I4g, Im4gn, Is4gen, G5g, C7g[d][n], M7g[d], R7g[d]).
rosetta-cli - Easily switch & run commands on Intel/ARM modes in M1-powered Macs with Rosetta 2.
crates.io-index - Registry index for crates.io
swift-composable-architecture - A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
build-push-action - GitHub Action to build and push Docker images with Buildx
arm64-to-sim - Transmogrify native iOS frameworks to run in iOS Simulator on Apple silicon.
multi-platform-docker-build - Using BuildKit and TARGETPLATFORM for cross-platform Dockerfiles