Better HN
topnewbestaskshowjobs
Log inSign up

jpsim

128 karma · joined Nov 11, 2011 (15y ago) · 71 submissions

Submissions

1.

Mobile Development in the Age of AI(jpsim.com ↗)

3 points · by jpsim · 10mo ago · discuss

2.

Building an NFC Music Box(jpsim.com ↗)

2 points · by jpsim · 3y ago · discuss

3.

Celebrating Black History Month(swift.org ↗)

1 points · by jpsim · 5y ago · discuss

comment 6y ago · link · parent

Is there a list of supported languages or environments for this yet?

comment 8y ago · link · parent

This might have something to do with how data on GCP will be encrypted at rest. US law treats encryption effectively as a weapon and restricts where products that include encryption can be shared.

6.

Show HN: Yams – Parse and Emit YAML from Swift(jpsim.com ↗)

1 points · by jpsim · 8y ago · discuss

comment 8y ago · link · parent

Anyone know of an equivalent for Ruby? I’d love to add this as an integration test for jazzy[0].

Separately, it’d be awesome if this also checked that anchor links resolve to id values to validate linking to specific elements on a page.

[0]: https://github.com/realm/jazzy

comment 8y ago · link · parent

It’s a shame iOS just doesn’t seem to provide this level of data using public APIs as far as I can tell. I’d love to be proven wrong, or for Apple to be a bit more transparent regarding how they perform similar enhancements to location data.

comment 8y ago · link · parent

Someone should make a collection of these for all languages. I’d love to see an equivalent for Swift.

comment 8y ago · link · parent

Very similar to Realm (also syncing CRDTs), though this seems more lightweight and works in client-side web apps. https://realm.io

comment 9y ago · link · parent

My comment wasn't a question, but rather highlighting that a major part of their stack wasn't so much as mentioned in an article about their stack.

comment 9y ago · link · parent

Turns out it's two, not four VMs. From macOS Sierra's EULA[0]:

> (iii) to install, use and run up to two (2) additional copies or instances of the Apple Software within virtual operating system environments on each Mac Computer you own or control that is already running the Apple Software, for purposes of: (a) software development; (b) testing during software development; (c) using macOS Server; or (d) personal, non-commercial use.

[0]: http://images.apple.com/legal/sla/docs/macOS1012.pdf

comment 9y ago · link · parent

This post makes no mention of the macOS part of the CircleCI infrastructure, which is one of the trickiest parts of infrastructure IMHO. Tricky because Apple's EULA prevents virtualizing on anything other than its hardware, never more than 4 VMs per host, and not for commercial purposes...

comment 9y ago · link · parent

Is there a write-up somewhere explaining why this was a technical hurdle compared to base domain certs? Very curious.

comment 9y ago · link · parent

I can 100% vouch for Peter and his team. They got me my EB1A which led to my green card. Thanks Peter!

16.

Building a serverless password-protected photo gallery(jpsim.com ↗)

4 points · by jpsim · 9y ago · discuss

comment 9y ago · link · parent

llvm-diff is indeed pretty great, but having the IR structure as an AST that you could programmatically access and manipulate would allow more semantic diffing, or integration into workflows that would benefit from structured representations of a diff.

comment 9y ago · link · parent

Maybe this would lend itself well to parsing bitcode slices (serialized LLVM IR). I've often wanted to diff bitcode produced by different compiler versions.

comment 9y ago · link · parent

Curious choice to name a company & product with a name that sounds like "Liar Bird" when spoken. To me, that looks like they're fully embracing the concept that this can be used for nefarious purposes. If one of their goals is to bring attention that this technology exists and can be misused, the name reinforces that.

20.

Swift Syntax Structured Editing Library(lists.swift.org ↗)

16 points · by jpsim · 9y ago · discuss

comment 9y ago · link · parent

It's a little funny that GVFS itself is hosted on GitHub which means you won't be able to pull it as a GVFS repo.

22.

Object Notifications in Realm Objective-C and Swift 2.4(realm.io ↗)

2 points · by jpsim · 9y ago · discuss

23.

How Whole Module Optimization Works in Swift(swift.org ↗)

2 points · by jpsim · 10y ago · discuss

comment 10y ago · link · parent

Came here to say this. I wasn't sure about the steadicam approach at first, but after watching one of the videos, it felt like I was there! Looking forward to seeing the upcoming ones.

comment 10y ago · link · parent

(JP from Realm here)

It certainly forces you to think about threading (which is a good thing IMO). I just responded to a similar comment[0], and there are always our docs on threading[1] which I'd encourage you to read.

[0]: https://news.ycombinator.com/item?id=11771558 [1]: https://realm.io/docs/swift/latest#threading

comment 10y ago · link · parent

(JP from Realm here)

Realm's transactions are entirely ACID, and all transactions are thread safe. This means you can't get "faults" like you would in Core Data if one thread deletes an object being accessed in another.

On the flip side of this, it makes it difficult to share mutable object graphs across threads, mostly because then you'd need to know which Realm and which object is at what version of the db. Realm's underlying db engine supports this, but it's difficult to expose/enforce at the API level.

We have some designs in mind to allow scoping around passing objects between threads (see #3136[0]), and some other ideas for passing immutable Realms across threads, so you can expect to see some improvements there in the future.

About improving our documentation around threading, we're always open to feedback. I'd appreciate if you could read through the "Threading" section of our docs[1] and share how you think it could be improved.

[0]: https://github.com/realm/realm-cocoa/issues/3136 [1]: https://realm.io/docs/swift/latest#threading

comment 10y ago · link · parent

I'm not sure what you mean here. If you mean "why would I ever use Int8 or Int32, etc. if Int64 won't take up more space in the file" the answer would be memory considerations when you take that data out of the Realm... you should just use the size you need and you'll be ok.

comment 10y ago · link · parent

don't forget watchOS ;)

comment 10y ago · link · parent

FWIW you can use Realm Objective-C or Realm Swift on Mac OS X.

I'll let someone else clarify why Java outside Android isn't supported.

comment 10y ago · link · parent

(JP from Realm here)

Unless I'm missing something, what you're describing could easily be done by having the version number or branch in the Realm path, or whatever identifier you want. You should open an issue[0] so we can explore that more.

Strings are indexed, but I think you're referring to something like "full text search"? That's on the roadmap[1].

[0]: https://github.com/realm/realm-cocoa/issues/new [1]: https://github.com/realm/realm-cocoa/issues/3650

123