HN user

timsneath

2,572 karma

Developer technologies at Apple.

In former lives I worked on Flutter (Google) and Windows (Microsoft).

Posts37
Comments136
View on HN
github.com 1mo ago

macOS Container Machines

timsneath
1269pts437
www.swift.org 6mo ago

Improving the usability of C libraries in Swift

timsneath
147pts35
news.play.date 10mo ago

Four Corners: the first Playdate game written in Swift

timsneath
2pts0
blog.mikeswanson.com 1y ago

Immersive Video Production Tips

timsneath
1pts0
twitter.com 1y ago

Swift/Java interoperability tools and libraries

timsneath
83pts21
blog.mikeswanson.com 2y ago

Spatial Video Tool

timsneath
4pts0
www.swift.org 2y ago

Swift Everywhere: Using Interoperability to Build on Windows

timsneath
3pts0
www.learndmarc.com 2y ago

Learn and Test DMARC

timsneath
374pts58
www.platformonomics.com 3y ago

A New Antitrust Doctrine

timsneath
32pts13
twitter.com 4y ago

Unboxing a $100 Chromebook

timsneath
244pts178
fuchsia.dev 4y ago

Fuchsia Workstation

timsneath
367pts445
medium.com 4y ago

Flutter for Windows

timsneath
32pts5
blog.whidev.com 4y ago

Using Flutter to build a native-looking desktop app for macOS and Windows

timsneath
167pts115
medium.com 4y ago

What's New in Flutter 2.5

timsneath
6pts1
new.jrpn.jovial.com 5y ago

HP-16C “Computer Scientist” calculator simulator

timsneath
10pts1
medium.com 5y ago

The performance benefits of sound null types

timsneath
1pts0
static.sched.com 5y ago

Graphical User Interface Using Flutter in Embedded Systems [pdf]

timsneath
378pts197
medium.com 5y ago

Flutter for Windows Alpha

timsneath
23pts2
medium.com 5y ago

Windows Fun with Dart FFI

timsneath
7pts0
flutter.dev 5y ago

Flutter Architectural Overview

timsneath
4pts0
medium.com 5y ago

Flutter 1.20

timsneath
7pts0
dart.dev 5y ago

Understanding null safety in Dart

timsneath
96pts89
medium.com 6y ago

Managing issues in a large-scale open-source project

timsneath
1pts0
medium.com 6y ago

Flutter and Desktop Apps

timsneath
5pts0
medium.com 6y ago

Announcing Flutter 1.17

timsneath
13pts0
medium.com 6y ago

Managing feedback in a large open-source project

timsneath
1pts0
hackernoon.com 7y ago

Today I shut down the servers at the startup I cofounded

timsneath
2pts0
medium.com 7y ago

Pedantic Dart

timsneath
1pts0
medium.com 7y ago

Making Dart a Better Language for UI

timsneath
19pts0
medium.com 7y ago

Flutter on Raspberry Pi (mostly) from scratch

timsneath
6pts0

Swift goes further down the stack than you might at first imagine -- there's a lot of Swift written at Apple even in places where you might expect C.

The container CLI tool wraps the underlying Containerization framework, which in turn vends packages for things like EXT4 file system support -- all written in Swift. Here's one example as a jumping off point. https://github.com/apple/containerization/blob/main/Sources/...

In macOS 26, you can see every Rosetta app that has recently run on your machine by going to System Information and then Software / Rosetta Software. It includes the "Fallback Reason" (e.g. if you manually forced the app under Rosetta or if it was an Intel-only binary).

Ha! But that's not semantically meaningful Swift code in any normal context, nor is it idiomatic. `self` is equivalent to `this` in C++, and is never normally null.

You use this construct for unwrapping nullable fields, for example something like this:

guard let httpResult else { return }

Note that you don't need to assign the value to itself in modern Swift. This line takes an optional (httpResult?) and returns early if null. If not, you can use it with strong guarantees that it's not nullable, so no need for ? or ! to unwrap it later in the scope.

It's worth noting that this doesn't add any expectations for how your UI is built. The example shown in the screenshot continues to use Jetpack Compose (Android's native UI) with Kotlin invoking Swift business logic. You can also use other UI frameworks on Android, of course, including some that are written in Swift.

One nice thing about this implementation is that it shares many of the same characteristics as Swift on other platforms: unlike some common alternatives, it's not garbage collected but uses reference counting; it uses the same underlying libraries, concurrency primitives and memory model.

Excited to see how folk use it... it's technology that will hopefully springboard some other interesting innovations.

[Disclosure: I work on developer tools and frameworks at Apple.]

I didn't understand the introduction here, which says both:

The well-maintained NTFS driver in the Linux kernel enhances interoperability with Windows devices

and

Currently, ntfs support in Linux was the long-neglected NTFS Classic (read-only), which has been removed from the Linux kernel, leaving the poorly maintained ntfs3.

Is it well-maintained or long-neglected? Or am I misunderstanding this?

OPA solves the problem of defining and enforcing policies across a system. Some examples:

- How do I enforce that inbound API requests come only from trusted sources?

- How do I enforce fine-grained access to user records?

- How do I enforce a set of naming conventions for a data update?

Many such policies may come from regulatory requirements, may be regional in nature, and may change in otherwise stable codebases. And it's even harder when you're applying this to a highly-scalable production internet service. As a result, defining policy at an organizational level with auditing is a challenge for large enterprises. OPA helps enterprises administer and enforce policies.

More details on what OPA does here: https://www.openpolicyagent.org/docs/philosophy

And you can see some examples of Rego (the policy language) here: https://play.openpolicyagent.org

It used to be that Hacker News was a place for the inventors, the technologists, and the futurists. What happened to our optimism and excitement for firsts?

Airfares have dropped precipitously over the last fifty years: https://simpleflying.com/50-years-airfares/, and it's quite possible that the trend will continue.

Conversely, the speed of commercial flight has barely changed over that time (with the exception of longer flights reducing stops). Boom is innovating in this area and bringing supersonic flight within reach again -- I for one think that's something to be celebrated.

More on homomorphic encryption here: https://www.swift.org/blog/announcing-swift-homomorphic-encr...

Summary: "Homomorphic encryption (HE) is a cryptographic technique that enables computation on encrypted data without revealing the underlying unencrypted data to the operating process. It provides a means for clients to send encrypted data to a server, which operates on that encrypted data and returns a result that the client can decrypt. During the execution of the request, the server itself never decrypts the original data or even has access to the decryption key. Such an approach presents new opportunities for cloud services to operate while protecting the privacy and security of a user’s data, which is obviously highly attractive for many scenarios."

Azure existed long before ScottGu took over. It started with dueling projects from Ray Ozzie’s world and Bob Muglia’s world. Ray had great ideas but no idea how to run something like Azure at scale. Bob brought the enterprise mindset and retooled it, and of course Scott owns the lion’s share of the credit for its growth and technical qualities.

Lox must have the highest ratio of (implementations : production usage) of any language on the planet. And I mean that as the highest praise -- it's proven a fantastic teaching language, and your book is infectious at encouraging others to jump in and follow along in various different languages.

I've also found the exercise of implementing Lox in another language as highly instructive in learning how to write idiomatic code in that language. I continue to learn more about the best way to express patterns as I work on my own implementation. I'd recommend the journey to any professional developer for this side-benefit alone.

Apple | Sr Product Manager, Swift & SwiftUI | Cupertino | Onsite

Hiring manager here. Looking for a skilled product manager to focus on developer technologies like Swift and app frameworks like SwiftUI. To be successful at this role, you'll have a mixture of hands-on skills as a developer as well as proven experience as a storyteller and communicator. You'll work with other Apple engineers to define the features of Apple’s next generation of tools, and then launch these products at WWDC.

More details and application link at the link below: https://jobs.apple.com/en-us/details/200553741/product-manag...