Advertisement · 728 × 90

Posts by Cam Hunt

I think that competent journalists — like those at The Verge — could do a better job at critically interrogating these “conscious” claims rather than taking them at face value

1 week ago 1 0 0 0

One of my biggest pet peeves is people who entertain the idea that LLMs are “conscious” or “alive” in any way. It’s a big box of statistical weights.

If you ask it if it’s alive it will harness the power of the thousands of reddit short stories about skynet to generate a bad short story

1 week ago 1 0 1 0

Of course you think the immutable statistical language model is conscious. You’re twelve

1 week ago 1 0 0 0

Yeah but doesn’t that happen with the built-in start page? I don’t know, I removed all the favorites so it’s blank

2 weeks ago 0 0 1 0

Oh I mean the address bar. I noticed the option to “Show Keyboard Automatically” in “New Tabs” disappears when you select “On Homepage”. Now that I think about it, it might be intentional, but it’d be cool to keep the option to automatically focus the address field if you have a homepage

2 weeks ago 0 0 1 0

Fantastic! App Store Review times have been real rough lately, glad you got lucky!

2 weeks ago 1 0 0 0

Ah, got it! It seems to disappear if you select a home page, though!

2 weeks ago 0 0 1 0

My bad: .local does work, just not https. But typing “domain.local” into the address bar without “http://“ will perform a search on the search engine of choice

2 weeks ago 1 0 1 0

Oh also I’d love an option to focus the address field after opening a new tab! I love all the customizability.

2 weeks ago 1 0 2 0

Question: I’ve noticed that sometimes the password auto-fill doesn’t get displayed for LAN servers (Unraid, router) by IP address. I’m not sure that’s controllable with WKWebView (which I assume you’re using) but I wanted to raise it anyway. And .local doesn’t seem to load at all.

2 weeks ago 0 0 1 0
Advertisement

I found Quiche via DF and I have really been loving it. I subscribed after a couple of days. Excited for the upcoming swipe gestures!

2 weeks ago 2 0 2 0

april 1st is the best day to go offline and ignore the entire internet for one day

1 year ago 1 0 0 0
Swift allows including trailing commas in collection literals to make it easy to append, remove, reorder, or comment out the last element as any other element.

Swift 6.1 extends trailing comma support to tuples, parameter and argument lists, generic parameter lists, closure capture lists, and string interpolations.

Swift allows including trailing commas in collection literals to make it easy to append, remove, reorder, or comment out the last element as any other element. Swift 6.1 extends trailing comma support to tuples, parameter and argument lists, generic parameter lists, closure capture lists, and string interpolations.

most exciting feature of Swift 6.1

1 year ago 3 0 0 0

Ooooo what’s the enum trick?

1 year ago 0 0 1 0
Code showing a bunch of Swift typealiases assigning codable corollaries of SwiftUI views to their corresponding SwiftUI namespace. Text = TextCodable, Image = ImageCodable, and so on and so forth. Below is a declaration of a view that perfectly resembles a SwiftUI declaration.

Code showing a bunch of Swift typealiases assigning codable corollaries of SwiftUI views to their corresponding SwiftUI namespace. Text = TextCodable, Image = ImageCodable, and so on and so forth. Below is a declaration of a view that perfectly resembles a SwiftUI declaration.

A full imitation of a SwiftUI view on a Vapor server, fully Codable and ready to be sent via JSON.

1 year ago 8 0 0 0
Video

This iOS app displays CodableUI from a Vapor server. Then it listens for actions from the CodableViews. If it gets an action with a path, it displays a new screen that loads that path and displays the returned CodableView.

1 year ago 2 0 0 0
A screenshot of an iOS Simulator in the foreground and Xcode in the background. The simulator is displaying a list of breweries and Xcode is displaying a Vapor route for a list of breweries and a debug console printing requests as they are requested.

A screenshot of an iOS Simulator in the foreground and Xcode in the background. The simulator is displaying a list of breweries and Xcode is displaying a Vapor route for a list of breweries and a debug console printing requests as they are requested.

Can you use CodableUI to display entire screens in an iOS app from, say, a Vapor server? Yup!

1 year ago 1 0 0 0
Advertisement

it’s rough out there. even WWDC didn’t have enough money for another V

1 year ago 0 0 0 0
Preview
GitHub - camh/CodableUI: A proof-of-concept to represent native SwiftUI views in a Codable structure. A proof-of-concept to represent native SwiftUI views in a Codable structure. - camh/CodableUI

Fun weekend project. One day I woke up and thought "wait, SwiftUI views are just structs, right? Can it be Codable? Could you create a native SwiftUI view with JSON?"

The answer is yes.

github.com/camh/CodableUI

1 year ago 3 1 0 1
A screenshot from Xcode showing a JSON string that defines a SwiftUI body.

A screenshot from Xcode showing a JSON string that defines a SwiftUI body.

A preview of the resulting SwiftUI body rendered from JSON.

A preview of the resulting SwiftUI body rendered from JSON.

Getting even more cursed …

1 year ago 0 0 0 0
A block of code declaring a JSON string and a Swift UI preview to render that JSON as SwiftUI views.

A block of code declaring a JSON string and a Swift UI preview to render that JSON as SwiftUI views.

A SwiftUI preview showing the result of rendering a SwiftUI view using JSON.

A SwiftUI preview showing the result of rendering a SwiftUI view using JSON.

Doing something extremely cursed

1 year ago 0 0 0 0

Bluesky’s implementation of a federated protocol is a lot more complex than Mastodon/ActivityPub. I’d check out Mastodon’s API if you’re interested in a simpler federated API because it doesn’t employ some of the more complex concepts of atproto

1 year ago 0 0 0 0
Preview
Federation Architecture | Bluesky The AT Protocol is made up of a bunch of pieces that stack together. Federation means that anyone can run the parts that make up the AT Protocol themselves, such as their own server.

I’ve found the Bluesky documentation to be much more approachable than the documentation on atproto.com. This page (and the page before) are pretty good overviews of the concepts: docs.bsky.app/docs/advance...

1 year ago 1 0 1 0

Yup aside from complex OAuth, the API is just really complex because it’s a decentralized protocol. But it’s also polymorphic so consuming it with a statically-typed language like Kotlin is gonna be pretty advanced

1 year ago 0 0 2 0
Advertisement

Showing a new draft on launch (with the ability to go back to the draft list) is much different than, for example, making an entirely separate UX where the compose screen is the root and the list of drafts is shown on top of that. That I will not do. Because I do not want to make two apps.

1 year ago 2 0 0 0

I'll almost certainly add the ability to open my app to the compose screen. But unlike a lot of the apps you mentioned, I'm just one developer with limited resources.

1 year ago 1 0 1 0

I'm not saying allowing people to choose preferences is bad. But all software is opinionated and behaves the way the developer decides. Even your example of Obsidian doesn't have a way to create a new note on launch. (Although it does have a LOT of options)

1 year ago 0 0 1 0

I think if people want the inverted flow of Compose>Drafts then good news: every draft app or feature already works like that. I'm making an alternative that centers drafting.

I honestly can't think of an app that provides a feature set and allows a user to configure the flow.

1 year ago 0 0 1 0

I see the feature set and the UX as intrinsically linked. Either drafts are important enough to be the main screen of your app or … well, it's not really a drafting app, is it? Croissant is a composing app with a cache, it's not a drafting app IMO

1 year ago 0 0 1 0

Many note taking apps have the option to display a compose screen on open. But if they do, there's a back button to see the list of notes. Have you used Croissant? Draft list opens in a modal, no search, ordering, etc. Nothing that would allow you to navigate or organize more than a couple drafts

1 year ago 0 0 1 0