Signal-Agent Feature Development - Understanding where time is spent
| Feature | Name | Agent-1 | Agent-2 | Elapsed |
|---|---|---|---|---|
| F-1 | Event Schema and Types | ✅ | ✅ | ~29m |
| F-2 | Event Logging Library | ✅ | ✅ | ~28m |
generation_date: 2025-12-17 10:44 received_date: 2025-12-17 10:44 updated_date: 2025-12-24 tags:
Setup: These steps were performed OpenWRT 23.04.1.
Context: The goal of that manual is to create wireless SSID that will be connected to the Wireguard network as a client. Helpful link - that guide will create a Wireguard interface with kill switch (https://openwrt.org/docs/guide-user/services/vpn/wireguard/extras#kill_switch) In other words, that guide will help you create a deidated wireless SSID that will be connected directly to the wireguard.
| // | |
| // PagingView.swift | |
| // Wallaroo - https://wallaroo.app | |
| // | |
| // Created by Sean Heber (@BigZaphod) on 8/9/22. | |
| // | |
| import SwiftUI | |
| // This exists because SwiftUI's paging setup is kind of broken and/or wrong out of the box right now. |
| // UIApplicationMain accepts Swift.String in Swift apps; a C forward declaration is needed | |
| struct SwiftString { | |
| uint8_t reserved[16]; | |
| }; | |
| typedef struct SwiftString SwiftString; | |
| int (*orig_UIApplicationMain_objc)(int argc, char *argv[], NSString *_, NSString *delegateClassName) = nil; | |
| int (*orig_UIApplicationMain_swift)(int argc, char *argv[], SwiftString _, SwiftString delegateClassName) = nil; | |
| NSString *(*FoundationBridgeSwiftStringToObjC)(SwiftString str) = nil; |
Use these steps to debug components of the Swift toolchain. This allows you to see Swift's source code from the debugger – instead of disassembly. The debugger can also provide some variable names and values. This has been initially tested with libswiftCore.dylib.
These instructions were updated as of Swift 5.2.1.
| struct Contact: Decodable, CustomStringConvertible { | |
| var id: String | |
| @NestedKey | |
| var firstname: String | |
| @NestedKey | |
| var lastname: String | |
| @NestedKey | |
| var address: String | |
| enum CodingKeys: String, NestableCodingKey { |
| // How to: | |
| // 1. Open the Firebase Analytics Dashboard | |
| // 2. Scroll to bottom, where you see the "Users by Device model" widget | |
| // 3. Click "View device models" in that widget (this opens the "Tech details" Firebase Analytics page) | |
| // 4. Above the table shown in the new page, click on the “Device model” drop down menu and select “OS with Version” | |
| // 5. Make sure to select “OS with version” and not “OS Version” | |
| // 6. On the top right corner of the page, click on the “Share this report” icon (next to the date) | |
| // 7. Click “Download file” on the new side bar, then “Download CSV" | |
| // 8. Open the file and select the iOS/Android breakdown raw data | |
| // 9. Replace the sample data in this script with your data |
| fileprivate struct _CompletionPreferenceKey: PreferenceKey { | |
| typealias Value = CGFloat | |
| static let defaultValue: CGFloat = 0 | |
| static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) { | |
| value = nextValue() | |
| } | |
| } |
| // RxSwift signposts | |
| import os.signpost | |
| import RxSwift | |
| func signpost<T>(log: OSLog, name: StaticString, value: String, _ thing: () throws -> T) rethrows -> T { | |
| let signpostID = OSSignpostID(log: log) | |
| os_signpost( | |
| .begin, |