andrewjl

Joined 15 years ago

Karma
712
Submissions
701
Member since
Sep 29
Trying to get the basics right.

"Just so, I maintain, does a given undivided portion of experience, taken in one context of associates, play the part of a knower, of a state of mind, of 'consciousness'; while in a different context the same undivided bit of experience plays the part of a thing known, of an objective 'content.' In a word, in one group it figures as a thought, in another group as a thing. And, since it can figure in both groups simultaneously we have every right to speak of it as subjective and objective, both at once." - William James, Essays in Radical Empiricism

“Civilization advances by extending the number of important operations which we can perform without thinking about them.” - A. N. Whitehead, An Introduction to Mathematics

"Das Ende der Melodie ist nicht deren Ziel" - Der Wanderer und sein Schatten

View on Hacker News

Recent submissions

Comment · 1 year ago
As long as the Obj-C and Swift are in separate source or binary targets, SPM supports them being in the same package.

There was a Swift Evolution proposal at one point to go all the way and bring in support for mixed Obj-C and Swift targets [1] but it was returned for revision. It talks about the multiple target workarounds:

> Distribute binary frameworks via binary targets. Drawbacks include that the package will be less portable as it can only support platforms that the binaries support, binary dependencies are only available on Apple platforms, customers cannot view or easily debug the source in their project workspace, and tooling is required to generate the binaries for release.

> Separate a target’s implementation into sub-targets based on language type, adding dependencies where necessary. For example, a target Foo may have Swift-only sources that can call into an underlying target FooObjc that contains Clang-only sources. Drawbacks include needing to depend on the public API surfaces between the targets, increasing the complexity of the package’s manifest and organization for both maintainers and clients, and preventing package developers from incrementally migrating internal implementation from one language to another (e.g. Objective-C to Swift) since there is still a separation across targets based on language.

The upshot is that SPM has a better interoperability story with Swift and C++ [2] and maybe that can serve as a foundation for getting to the same level of interop for Obj-C.

[1]: https://github.com/swiftlang/swift-evolution/blob/main/propo...

[2]: https://www.swift.org/documentation/cxx-interop/

Comment · 1 year ago
Comment · 1 year ago
Comment · 1 year ago
> How do you suppose we do that in the US?

Exempt or lighten planning requirements for affordable housing construction. California is going in this direction now.

There are other levers like subsidized financing for developers building homes targeting a certain price range as well as favorable tax treatment of those profits.

A lot of these have would probably have some bipartisan support.

Comment · 2 years ago
Is there a plausible experiment that can falsify dark matter? The study here used observational data and it didn't do that. (Deducing that non-existence of dark matter is plausible given what else was observed isn't the same thing.)

> “There are several papers that question the existence of dark matter, but mine is the first one, to my knowledge, that eliminates its cosmological existence while being consistent with key cosmological observations that we have had time to confirm,” Gupta confidently concludes.

Comment · 2 years ago
Comment · 2 years ago
Comment · 2 years ago
I guess they could. Is that a worse outcome than the on net additional expense of dealing with patent litigation?
Comment · 2 years ago
Comment · 2 years ago
How would they get around crowd sourced prior art?
Comment · 2 years ago
It'd be nice right? Too bad the maritime shipping industry is an oligopoly.
Comment · 2 years ago
Property markets are usually segmented locally. A real estate portfolio with that valuation can move the needle in a city or neighborhood.
Comment · 2 years ago
Comment · 2 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton