HN user

drampelt

180 karma

[ my public key: https://keybase.io/drampelt; my proof: https://keybase.io/drampelt/sigs/UYVASpjcxIZYFXvrTrCQvYIqhrOABRYXwbLTaQOplKQ ]

Contact me: hn@dan.af

meet.hn/city/ca-Stratford

Interests: Mobile Development, Web Development, DevOps

---

Posts1
Comments58
View on HN

My biggest issues with homebrew were dealing with versions of dependencies. If major updates for a package came out and you ran a `brew upgrade` (or a new member joins the team and installs it for the first time), it often wasn't trivial to switch back to the old version. Or if two projects have conflicting dependencies, for example one project was updated for imagemagick 7 but another still needed 6, that was an absolute nightmare to manage when using homebrew.

With nix, each project can define its own dependencies that have no impact on other projects. Combined with direnv, all you need is to `cd` into your project and you have the all of the dependencies at the right versions in your PATH.

Additionally, while definitely more complicated, nix (with nix-darwin and home-manager) can do way more than homebrew does. You can declaratively define pretty much the entire configuration for your machine.

I got a new Mac last week and with just a `git clone` and a few commands I had all my CLI tools installed, dotfiles setup, desktop apps installed, and even all of my macOS system settings configured.

That's what I'm curious about too.

If it does manage to do a good job imitating what an actual iPhone would do though - is there any way Apple even could shut it down without breaking iMessage on old iPhones or forcing people to update?

I have an Android phone and have every single one of my credit and debit cards from 7 different banks in Google Pay. Don't need to use the bank app for any of them.

EDIT: to be clear, currently on Android any app can handle NFC payments, not just Google Pay. Banks could easily force people to user their apps, but that's not happening.

Something to keep in mind is most core apps (Maps, Gmail, Messages, etc) aren't baked into the Android OS and are updated with new features regularly throughout the year. Apple often mentions core app updates as new OS features.

Even Nearby Sharing (Android's Airdrop clone) was released as a Google Play Services update and is not part of the OS: https://blog.google/products/android/nearby-share/

I've been having similar issues with one of our apps, the reviewer can't seem to log in and keeps getting network error messages. No customers have had any issues, I've tried logging in to multiple accounts including the apple reviewer account on multiple networks and I have no issues whatsoever. It's really frustrating.

I've been using https://ktor.io (by Jetbrains, same company behind Kotlin) but there are others like Micronaut and Quarkus. A few more options at: https://kotlinlang.org/lp/server-side/

As far as I'm aware there's no native server side framework available at the moment, but ktor could potentially support it in the future given the ktor client libraries work on native. You could also use GraalVM native image to build a JVM-free binary of your server, Quarkus has built-in support for it.

I've been exploring Kotlin as a "rule them all" language. With Kotlin native/multiplatform you can already cover all platforms today since it can compile to JVM, JS, and native code for iOS/macOS.

You still need to write the iOS/macOS UI in Swift but you can very easily have your data layer and business logic shared across platforms. I actually like that approach better than other cross-platform solutions since you keep the native platform UI.

Yeah, it's awesome having regular < 100mb updates for their IDEs and Android Studio compared to 7+ GB Xcode downloads :(

Sure. I started with Reddit, for a very basic setup you'll need:

1. A website agent that parses the Reddit JSON api (just add .json to a subreddit URL)

2. A trigger agent to filter based on your criteria (ex. minimum 50 points) and transform the JSON to a nicer message

3. An email digest agent to bundle the messages into a single email

Each one of these feed into the next so you go from the raw JSON to a nice email. Then you can easily just feed more things into the email digest agent to add more to it.

Let me know if you have any other questions, my email's in my profile. It was pretty confusing for me to get started but I'm getting the hang of it now.

How will the mandatory implementation of this affect apps that rely on a third party as the data storage system? For example https://moo.do stores everything in Google Drive, if they have to implement Sign in with Apple the app won't function