Better HN
topnewbestaskshowjobs
Log inSign up

joshfarrant

99 karma · joined Jan 2, 2015 (11y ago) · 57 submissions

https://farrant.me https://github.com/joshfarrant
Submissions

comment 10mo ago · link · parent

Tangentially related — on my website I track coffees I’ve enjoyed and show their origin on an interactive globe.

https://farrant.me/coffees/

The tilt of the globe on that page changes throughout the year to match The Earth’s tilt when viewed from from The Sun. The initial rotation of Earth is correct for the time of day too. This means that, when you load the page, you see The Earth as The Sun currently sees it.

I’m not sure anyone has ever noticed, and I’m sure my calculation isn’t perfect, but I enjoy watching it change over the course of the year.

comment 10mo ago · link · parent

https://farrant.me

I’ve been having a lot of fun with the site in the last year-or-so. I’ve had a personal site for well over a decade now, but this is the iteration I like the most. Probably because this is the first time I’ve just built a playground for myself, and not tried to conform to what a site “should” be.

3.

Setting Up an AT Protocol PDS on Coolify(farrant.me ↗)

3 points · by joshfarrant · 1y ago · discuss

comment 1y ago · link · parent

The author has also written a book which I’ve read a couple of times and enjoyed.

A Skeptic’s Guide To Functional Programming With JavaScript

https://jrsinclair.com/skeptics-guide

I’d recommend it for functional-curious JS devs like myself.

comment 2y ago · link · parent

Imagine being under siege and dropping pitch on someone.

Give it 8-or-so years and they'll be in real trouble

comment 2y ago · link · parent

Finally, a Hacker News comment I can relate to.

7.

A Global Design System(bradfrost.com ↗)

1 points · by joshfarrant · 2y ago · discuss

8.

How to Fix the Internet(technologyreview.com ↗)

3 points · by joshfarrant · 3y ago · discuss

comment 3y ago · link · parent

Sorry, those with disabilities don’t actually have the right to enjoy art. This article just isn’t for you. /s

I hate how ableism is so prevalent on the web and amongst engineers. This website is a beautiful way to let users explore the data interactively. There’s absolutely no reason it couldn’t also be made accessible so everyone could appreciate it and explore the timeline of the page and the messages communicated therein.

As nice as the page is, the lack of accessibility comes down to laziness and complacency on the side of the author imo.

comment 3y ago · link · parent

YouTube charge different amounts for Premium in different currencies.

If you appear to be purchasing from Turkey (Türkiye), for example, then you’ll only be paying 29.99 Turkish Lira, or about £0.90, per month.

Well worth it for an ad-free experience (and picture-in-picture) in the native app imo.

comment 3y ago · link · parent

Whilst reading about notable people who share my surname, I discovered this bizarre article on the Highgate Vampire media sensation of the 1970s.

> There was more publicity about Farrant and Manchester when rumours spread that they would meet in a "magicians' duel" on Parliament Hill on Friday 13 April 1973, which never occurred.

12.

Highgate Vampire(en.wikipedia.org ↗)

6 points · by joshfarrant · 3y ago · 2 comments

comment 4y ago · link · parent

I’ve historically used Shortcuts on iOS to pipe articles through Siri, but the experience isn’t great.

I’m sure services must exist which consume articles and can read them aloud with high quality test-to-speech, tracking of how far through an article you’ve listened, and so on.

14.

Ask HN: Best service which reads online articles out loud?

2 points · by joshfarrant · 4y ago · 1 comment

15.

Documenting React Hooks with Storybook(farrant.me ↗)

3 points · by joshfarrant · 4y ago · discuss

16.

Ask HN: What (if any) analytics provider do you use on your websites?

2 points · by joshfarrant · 6y ago · 2 comments

17.

Ask HN: As a white male developer, what can I do to support Black Lives Matter?

3 points · by joshfarrant · 6y ago · 2 comments

comment 6y ago · link · parent

My particular use-case is that I'm not a Swift/Objective-C developer, I'm a JavaScript developer.

React Native opened the door to allow me to build apps and, realistically, I'm not going to spend the time battling through trying to get native git working through React Native. If there's a native developer out there that wants to tackle this problem and wrap it up in a nice JS module then I'd be in your debt!

comment 6y ago · link · parent

I’d love to see some work put in to making this work with React Native. I spent a day trying to get this to work a few weeks ago with no joy, and I couldn’t find any indication that anyone else had managed to make it work either.

comment 7y ago · link · parent

No plans currently, but the more libraries pop up around Shortcuts the more likely it is that knowledge can be shared between them, and that things may be able to be reconciled in the future. 10 different libraries all working to implement the same thing is needlessly wasteful.

comment 7y ago · link · parent

Thank you!

I’ll be honest, I didn’t spend too much time with Workflow before Apple acquired them. I’m hoping that the community that’s grown around Shortcuts, and the ever more interesting things that people are doing with them, will help convince Apple to continue adding more and more powerful features to the app. Full control over system-level features would be incredible for power users.

comment 7y ago · link · parent

I really hope so. I've submitted a radar, but as of yet there's been no progress on it.

I've not explored importing a Shortcut from a URL to be honest, I may look into that later.

EDIT: That doesn't work either.

comment 7y ago · link · parent

Sorry, I'm not sure I completely understand your question. Would you mind clarifying slightly please?

comment 7y ago · link · parent

Unfortunately it doesn't look like that works. I've been testing periodically as new betas are released, but I'm still seeing this every time I try to AirDrop a .shortcut over.

https://imgur.com/a/NmHcPY2

comment 7y ago · link · parent

I don’t believe so, unfortunately. Regardless of what you use to trigger the Shortcut (a QR code, NFC, running it manually) the actual .shortcut file needs to be on the device so that it can actually be run. This means that you still need to find a way to import your generated .shortcut file onto your iOS device.

There is an ‘Allow Untrusted Shortcuts’ option in the Shortcuts section of the Settings app, but as far as I can tell this currently has no effect. Hopefully enabling that toggle will, in the future, allow the import of .shortcut files directly into the app.

comment 7y ago · link · parent

I agree, it made life significantly easier than just using regular JS. I’d not built anything from scratch with TS before this, but it seemed such a great fit for the project I decided to take the time to familiarise myself with it. No regrets whatsoever.

comment 7y ago · link · parent

Developer of Shortcuts JS here, happy to answer any questions!

At the moment the future of Shortcuts JS is uncertain. In the latest (iOS 13) betas of the Shortcuts app Apple have removed the ability to import Shortcuts from a file, only allowing them to be installed from the iCloud Shortcut sharing service. I’m hopeful that this feature will be added back in when the Shortcuts app comes out of beta in a few months. If not, then unfortunately Shortcuts JS may be dead in the water.

If you want to read a bit more about how Shortcuts JS came to be, then take a look at the medium post I wrote when I launched it. https://medium.com/@JoshFarrant/creating-ios-12-shortcuts-wi...

comment 7y ago · link · parent

Hey HN!

I'm happy to announce that Shortcuts JS finally has a proper home! The only real source of information on the library before now was the README on GitHub, so it's nice to have a better looking place to learn more about the library.

I've also spent a bit of time building a Playground into the site, so you can now play around with Shortcuts JS right in your browser! Downloading a Shortcut from the Playground doesn't currently work on iOS. I'll be adding support for that in the near future.

Any feedback on the site would be greatly appreciated!

As you'll see, we're about 10% of the way through implementing all of Apple's built-in actions into Shortcuts JS. If you'd like to help us get just a bit closer to 100% then I'd love to have you as a contributor! Adding an action only takes a few minutes and I'm more than happy to help you get started. Plus, you'll get pride-of-place in the Contributors section!

Any questions let me know!

29.

Shortcuts JS has a new home(shortcuts.fun ↗)

1 points · by joshfarrant · 7y ago · 1 comment

30.

Show HN: Shortcuts JavaScript - Build iOS Shortcuts Programmatically(github.com ↗)

2 points · by joshfarrant · 8y ago · discuss

12