There is a rotating cube on the screen. There is also a magic block that enables us to view inside the Cube. The block is a plane with a thickness that always cuts through the center of the Cube. The two shapes rotates around a fixed center point during the entire effect (although the view frustum movies up and beyond). There are some of the usual pixel dust on screen as well, that interacts with the alpha channel but besides that nothing special. The focus of my analysis is of course on the magic block itself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is how we usually do things. | |
| FROM alpine:latest AS t1 | |
| RUN <<EOF | |
| find /var/cache/apk | |
| apk add --no-cache build-base | |
| find /var/cache/apk | |
| EOF | |
| # This won't actually do anything. Cache needs to be enabled. |
6 ⌘ ✔ sudo dnf upgrade azure-cli 30s ~
Last metadata expiration check: 0:28:42 ago on lör 8 jan 2022 11:47:32.
Dependencies resolved.
Problem: problem with installed package python3-azure-cli-telemetry-2.30.0-5.fc35.noarch
- package python3-azure-cli-telemetry-2.30.0-5.fc35.noarch requires azure-cli = 2.30.0-5.fc35, but none of the providers can be installed
- cannot install both azure-cli-2.32.0-1.el7.x86_64 and azure-cli-2.30.0-5.fc35.noarch
- cannot install both azure-cli-2.30.0-5.fc35.noarch and azure-cli-2.32.0-1.el7.x86_64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import queue | |
| import threading | |
| import time | |
| import datetime | |
| import uuid | |
| from concurrent.futures import ThreadPoolExecutor | |
| import flask |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import queue | |
| from concurrent.futures import ThreadPoolExecutor | |
| import flask | |
| app = flask.Flask(__name__) | |
| executor = ThreadPoolExecutor(max_workers=3) | |
| def format_sse(data, event=None): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3 as base | |
| FROM base as target2 | |
| COPY main2.py / | |
| CMD python3 -u main2.py | |
| FROM base as target1 | |
| COPY main.py / | |
| CMD python3 -u main.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| K = 100; | |
| A = zeros(K); | |
| B = zeros(K); | |
| for x = 2:K | |
| for y = 2:K | |
| A(x,y) = x + y; | |
| B(x,y) = x * y; | |
| end | |
| end |