Feed aggregator

Show HN: Duck – Making DuckDB feel like Swift

Hacker News - Thu, 11/12/2026 - 6:13pm

I was looking for a new database solution for my iOS and macOS apps. The original idea was pretty simple: bring the power O love about postgres onto the client side.

I never liked CoreData. A long time ago I was using Realm because it solved my problem with slow batch insertions and brought reactivity. Nowadays there's SwiftData too, but I'm honestly not a fan of it at all.

I'm in love with the server-side approach of working with SQL, like what I use with Vapor and what I originally built my SwifQL for.

Then I found DuckDB, which kind of shares my love for postgres-style SQL and gives you a looooooot more power to play with on the client side.

SuckDB already has an official Swift client, but it wasn't the application-level API I wanted to use in my apps. So I decided to build my own Swift layer around it.

I'd already doing similar things with Bridges and SwifQL on the server side, so I brought a lot of those ideas with me.

And here's what we have now: a beautiful, very Swiftly way of working with Duck and writing SQL:

``` import Duck

struct Todo: Table { @Column("id") var id: UUID

@Column("name") var name: String }

let todos = try await Todo.all(on: .app) ```

There are more examples in the repo's readme, together with SwiftUI and UIKit example apps you can immediately play with.

This is the first stable 1.0.0 release and it includes Codable integration, async/await, reactive queries, migrations, transactions, reusable prepared statements, connection pooling, bulk ingestion through DuckDB's Appender, native LIST/STRUCT values, and the SwiftStream/SQL DSL.

Underneath it is the real, fresh DuckDB 2.0.0 engine.

Right now Duck targets iOS15+ and macOS12+. I've also tested it on Linux. The engine itself supports many more platforms, but I haven't validated the Duck on those yet.

I wanted a richer SQL engine with a beautiful Swift DSL, and I got it.

I you also want to try something different on the client side, welcome to the Duck club.

And since this is HN, here's a problem I haven't solved to my satisfaction yet.

If you want to hear about any problems... I haven't found a silver bullet for the server-side migrations approach problem yet, so I kept migrations at the foundation level, and I'm going to experiment with one or more higher-level approaches on to of that. If you've dealt with the same problem, I'd genuinely love to hear how you approached it.

Comments URL: https://news.ycombinator.com/item?id=50475773

Points: 1

# Comments: 0

Categories: Hacker News

5QL: Reflective Declarative Prompting

Hacker News - Thu, 11/12/2026 - 6:07pm

Article URL: https://fiveql.com

Comments URL: https://news.ycombinator.com/item?id=50475722

Points: 1

# Comments: 1

Categories: Hacker News

Cisco BroadWorks Out-of-Band Blind XML External Entity Injection Vulnerability

Cisco Security Advisories - Thu, 11/12/2026 - 5:25pm

A vulnerability in the Open Client Interface (OCI) XML Parser of Cisco BroadWorks could allow an unauthenticated, remote attacker to read sensitive configuration information on an affected system. 

This vulnerability exists because XML entries are improperly parsed due to external entity resolution being allowed by default. An attacker could exploit this vulnerability by sending a crafted XML message to the Open Client Interface – Provisioning (OCI-P) service. A successful exploit could allow the attacker to view sensitive files from the filesystem with the privileges of the Cisco BroadWorks user.

Cisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.

This advisory is available at the following link:
https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-bworks-xxe-uwUd7CEt

<br/>Security Impact Rating: High <br/>CVE: CVE-2026-20320
Categories: Cisco

Microsoft 365 Outage Disrupts Outlook, Exchange Online and Teams

Security Week - Thu, 11/12/2026 - 3:55pm

Microsoft says failed server health checks disrupted Outlook and other Microsoft 365 services. The company is still investigating the cause and has disclosed no evidence of a cyberattack.

The post Microsoft 365 Outage Disrupts Outlook, Exchange Online and Teams appeared first on SecurityWeek.

Categories: SecurityWeek

Claude Meetings

Hacker News - Thu, 11/12/2026 - 3:32pm
Categories: Hacker News

Werner Jacobi

Hacker News - Thu, 11/12/2026 - 3:32pm
Categories: Hacker News

Ask HN: What % of HN is now AI-generated?

Hacker News - Thu, 11/12/2026 - 3:31pm

I promise you that the title was not AI-generated. And also, I promise you (but most of you won't believe me) that all the comments and submissions I did so far have been typed by hand. But besides this, the question remains: I have a sense that the % is non-zero, and perhaps it is higher than 50%. What do you think?

Comments URL: https://news.ycombinator.com/item?id=50473788

Points: 1

# Comments: 0

Categories: Hacker News

Agentic Commits

Hacker News - Thu, 11/12/2026 - 3:27pm
Categories: Hacker News

Looking for people who want test my OS

Hacker News - Thu, 11/12/2026 - 3:25pm

Article URL: https://github.com/exagonx/EX_OS

Comments URL: https://news.ycombinator.com/item?id=50473685

Points: 1

# Comments: 1

Categories: Hacker News

Pages