Readit News logoReadit News
timsneath commented on OPA maintainers and Styra employees hired by Apple   blog.openpolicyagent.org/... · Posted by u/crcsmnky
ambentzen · 17 days ago
I was left with the somewhat opposite feeling. I still don’t know what OPA actually is or does. It has a nice paragraph describing it without saying anything at all.
timsneath · 17 days ago
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

timsneath commented on Apple announces Foundation Models and Containerization frameworks, etc   apple.com/newsroom/2025/0... · Posted by u/thm
mmcnl · 3 months ago
It's cool but also not as revolutionary as you make it sound. You can already install Podman, Orbstack or Colima right? Not sure which open-source framework they are using, but to me it seems like an OS-level integration of one of these tools. That's definitely a big win and will make things easier for developers, but I'm not sure if it's a gamechanger.
timsneath · 3 months ago
The framework that container uses is built in Swift and also open sourced today, along with the CLI tool itself: https://github.com/apple/containerization
timsneath commented on Redesigned Swift.org is now live   swift.org/... · Posted by u/lawgimenez
belmont_sup · 3 months ago
What about a formatter? I recall having to figure out which library to install as binary just to do formatting. What do you do?
timsneath · 3 months ago
That's built in now -- the default VSCode "Format Document" / "Format Selection" commands work with just the Swift extension installed.
timsneath commented on Redesigned Swift.org is now live   swift.org/... · Posted by u/lawgimenez
SwiftyBug · 3 months ago
I would love to try Swift for things other than iOS if it had nice development tools. I don't ask for much. A decent LSP and code formatter are all I want. I refuse to use Xcode, so being able to code Swift in my code editor of preference would be great.
timsneath commented on Swift at Apple: Migrating the Password Monitoring Service from Java   swift.org/blog/swift-at-a... · Posted by u/fidotron
YooLi · 3 months ago
Any idea of what the server platform is? Linux?
timsneath · 3 months ago
It runs on Linux-based infrastructure. We've updated the blog post to clarify this. Thanks!
timsneath commented on Swiftly 1.0   swift.org/blog/introducin... · Posted by u/todsacerdoti
kamil55555 · 5 months ago
I wish using Swift for development outside Apple world would be feasible.
timsneath commented on Apple is open sourcing Swift Build   swift.org/blog/the-next-c... · Posted by u/dayanruben
o11c · 7 months ago
And until packages are actually shipped for all mainstream distros, the stigma is completely accurate.

No, neither "just install a tarball" nor "just install this docker image" count.

timsneath commented on Apple is open sourcing Swift Build   swift.org/blog/the-next-c... · Posted by u/dayanruben
sgt · 7 months ago
Is Swift actually serious about embedded?
timsneath · 7 months ago
Of course! Tons of examples here: https://github.com/apple/swift-embedded-examples

At WWDC24, we shared a session on embedded Swift, which is available on YouTube: https://www.youtube.com/watch?v=LqxbsADqDI4

More documentation on embedded Swift tooling here: https://github.com/swiftlang/swift/blob/main/docs/EmbeddedSw...

(Disclosure: I work at Apple.)

timsneath commented on Boom XB-1 First Supersonic Flight [video]   youtube.com/watch?v=-qisI... · Posted by u/rayhaanj
timsneath · 7 months ago
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.

u/timsneath

KarmaCake day1890February 16, 2011
About
Developer technologies at Apple.

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

View Original