Original goal:
- open a web page and automate the process of selecting "export to PDF..." from that page.
Resources that helped significantly:
Original goal:
Resources that helped significantly:
// Via Tim Condon | |
@discardableResult | |
func shell(_ args: String..., returnStdOut: Bool = false, stdIn: Pipe? = nil) throws -> (Int32, Pipe) { | |
return try shell(args, returnStdOut: returnStdOut, stdIn: stdIn) | |
} | |
@discardableResult | |
func shell(_ args: [String], returnStdOut: Bool = false, stdIn: Pipe? = nil) throws -> (Int32, Pipe) { | |
let task = Process() |
VisionOS notes | |
Q: Curious what tools or workflows designers are using to mock up things like volumes or immersive spaces considering things like Sketch and Figma are 2D or "window" based? | |
A: Great question! We find a lot of people start with our visionOS Apple Design Resources especially on Figma (https://www.figma.com/community/file/1253443272911187215) and animate flat views to sell the ideas to partners. Then we've seen folks move to tools like Spline (https://spline.design), Blender, etc. for 3D workflows. In particular, Spline has a visionOS mirror app (https://docs.spline.design/doc/spline-mirror-for-visionos/docaQJC8SwTF) that makes it much more efficient to prototype 3d environments! | |
Q: I'm generating mesh data in code and then programmatically creating objects in a volume. As the app progresses, I need to switch out some of those meshes. If this is happening fairly rapidly (multiple times per second), would it generally be better to keep a reference to the entity to be able to update it, or sho |
master
and the first commit from fireblade-engine/ecs#47 (2b51eeea6e379d4c66e04dc9103b199886993694
)Host 'MacBookPro' with 8 'arm64' processors with 16 GB memory, running:
Darwin Kernel Version 24.0.0: Tue Sep 24 23:36:26 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T8103
// Content expanded from Form reference documentation at | |
// https://developer.apple.com/documentation/swiftui/form | |
import SwiftUI | |
enum ProfileImageSize { | |
case large | |
case medium | |
case small | |
} |
Translated Report (Full Report Below) | |
------------------------------------- | |
Process: Safari [2490] | |
Path: /Volumes/VOLUME/*/Safari.app/Contents/MacOS/Safari | |
Identifier: com.apple.Safari | |
Version: 16.5 (18615.2.9.11.4) | |
Build Info: Safari-7615002009011004~2 | |
Code Type: ARM-64 (Native) | |
Parent Process: launchd [1] |
#! /usr/bin/swift | |
// | |
// - This is just some AppKit boilerplate to launch a window. | |
// | |
import AppKit | |
@available(OSX 10.15, *) | |
class AppDelegate: NSObject, NSApplicationDelegate { | |
let window = NSWindow() | |
let windowDelegate = WindowDelegate() |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <net/if.h> | |
#include <ifaddrs.h> | |
#include <errno.h> | |
#include <net/if_dl.h> |
#!/usr/bin/env python | |
from __future__ import with_statement # needed for python 2.5 | |
from fabric.api import * | |
from fabric.contrib.console import confirm | |
# ================================================================ | |
# NOTE: | |
# using this fabfile expects that you have the python utility | |
# fabric installed locally, ssh access to reamea.com, and your | |
# ssh public key associated with the account 'mboza@reamea.com' |